ReplicaInfo Class

Information about the identity, status, health, node name, uptime, and other details about the replica.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: StatefulServiceReplicaInfo, StatelessServiceInstanceInfo

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

Inheritance
ReplicaInfo

Constructor

ReplicaInfo(*, replica_status=None, health_state=None, node_name: Optional[str] = None, address: Optional[str] = None, last_in_build_duration_in_seconds: Optional[str] = None, **kwargs)

Parameters

replica_status
str or ReplicaStatus
Required

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

health_state
str or HealthState
Required

The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'

node_name
str
Required

The name of a Service Fabric node.

address
str
Required

The address the replica is listening on.

last_in_build_duration_in_seconds
str
Required

The last in build duration of the replica in seconds.

service_kind
str
Required

Required. Constant filled by server.