DeployedServiceReplicaInfo Class
Information about a Service Fabric service replica deployed on a node.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: DeployedStatefulServiceReplicaInfo, DeployedStatelessServiceInstanceInfo
All required parameters must be populated in order to send to Azure.
- Inheritance
-
DeployedServiceReplicaInfo
Constructor
DeployedServiceReplicaInfo(*, service_name: Optional[str] = None, service_type_name: Optional[str] = None, service_manifest_name: Optional[str] = None, code_package_name: Optional[str] = None, partition_id: Optional[str] = None, replica_status=None, address: Optional[str] = None, service_package_activation_id: Optional[str] = None, host_process_id: Optional[str] = None, **kwargs)
Parameters
- service_manifest_name
- str
The name of the service manifest in which this service type is defined.
- partition_id
- str
An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.
- replica_status
- str or ReplicaStatus
The status of a replica of a service. Possible values include: 'Invalid', 'InBuild', 'Standby', 'Ready', 'Down', 'Dropped'
- service_package_activation_id
- str
The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId is always an empty string.
- host_process_id
- str
Host process ID of the process that is hosting the replica. This will be zero if the replica is down. In hyper-v containers this host process ID will be from different kernel.
Feedback
Submit and view feedback for