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_name
str
Required

The full name of the service with 'fabric:' URI scheme.

service_type_name
str
Required

Name of the service type as specified in the service manifest.

service_manifest_name
str
Required

The name of the service manifest in which this service type is defined.

code_package_name
str
Required

The name of the code package that hosts this replica.

partition_id
str
Required

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
Required

The status of a replica of a service. Possible values include: 'Invalid', 'InBuild', 'Standby', 'Ready', 'Down', 'Dropped'

address
str
Required

The last address returned by the replica in Open or ChangeRole.

service_package_activation_id
str
Required

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
Required

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.

service_kind
str
Required

Required. Constant filled by server.