DeployedStatefulServiceReplicaInfo Class

Information about a stateful service replica deployed on a node.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.servicefabric.models._models_py3.DeployedServiceReplicaInfo
DeployedStatefulServiceReplicaInfo

Constructor

DeployedStatefulServiceReplicaInfo(*, 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, replica_id: Optional[str] = None, replica_role=None, reconfiguration_information=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.

replica_id
str
Required

Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id.

replica_role
str or ReplicaRole
Required

The role of a replica of a stateful service. Possible values include: 'Unknown', 'None', 'Primary', 'IdleSecondary', 'ActiveSecondary', 'IdleAuxiliary', 'ActiveAuxiliary', 'PrimaryAuxiliary'

reconfiguration_information
ReconfigurationInformation
Required

Information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.