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.DeployedServiceReplicaInfoDeployedStatefulServiceReplicaInfo
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_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.
- replica_id
- str
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
The role of a replica of a stateful service. Possible values include: 'Unknown', 'None', 'Primary', 'IdleSecondary', 'ActiveSecondary', 'IdleAuxiliary', 'ActiveAuxiliary', 'PrimaryAuxiliary'
- reconfiguration_information
- ReconfigurationInformation
Information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.
Feedback
Submit and view feedback for