DeployedStatefulServiceReplicaDetailInfo Class

Information about a stateful replica running in a code package. Note DeployedServiceReplicaQueryResult will contain duplicate data like ServiceKind, ServiceName, PartitionId and replicaId.

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

Inheritance
azure.servicefabric.models._models_py3.DeployedServiceReplicaDetailInfo
DeployedStatefulServiceReplicaDetailInfo

Constructor

DeployedStatefulServiceReplicaDetailInfo(*, service_name: Optional[str] = None, partition_id: Optional[str] = None, current_service_operation=None, current_service_operation_start_time_utc=None, reported_load=None, replica_id: Optional[str] = None, current_replicator_operation=None, read_status=None, write_status=None, replicator_status=None, replica_status=None, deployed_service_replica_query_result=None, **kwargs)

Parameters

service_name
str
Required

Full hierarchical name of the service in URI format starting with fabric:.

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.

current_service_operation
str or ServiceOperationName
Required

Specifies the current active life-cycle operation on a stateful service replica or stateless service instance. Possible values include: 'Unknown', 'None', 'Open', 'ChangeRole', 'Close', 'Abort'

current_service_operation_start_time_utc
datetime
Required

The start time of the current service operation in UTC format.

reported_load
list[LoadMetricReportInfo]
Required

List of load reported by replica.

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.

current_replicator_operation
str or ReplicatorOperationName
Required

Specifies the operation currently being executed by the Replicator. Possible values include: 'Invalid', 'None', 'Open', 'ChangeRole', 'UpdateEpoch', 'Close', 'Abort', 'OnDataLoss', 'WaitForCatchup', 'Build'

read_status
str or PartitionAccessStatus
Required

Specifies the access status of the partition. Possible values include: 'Invalid', 'Granted', 'ReconfigurationPending', 'NotPrimary', 'NoWriteQuorum'

write_status
str or PartitionAccessStatus
Required

Specifies the access status of the partition. Possible values include: 'Invalid', 'Granted', 'ReconfigurationPending', 'NotPrimary', 'NoWriteQuorum'

replicator_status
ReplicatorStatus
Required

Represents a base class for primary or secondary replicator status. Contains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.

replica_status
KeyValueStoreReplicaStatus
Required

Key value store related information for the replica.

deployed_service_replica_query_result
DeployedStatefulServiceReplicaInfo
Required

Information about a stateful service replica deployed on a node.