StatelessServiceInstanceInfo Class

Represents a stateless service instance. This includes information about the identity, status, health, node name, uptime, and other details about the instance.

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

Inheritance
azure.servicefabric.models._models_py3.ReplicaInfo
StatelessServiceInstanceInfo

Constructor

StatelessServiceInstanceInfo(*, replica_status=None, health_state=None, node_name: Optional[str] = None, address: Optional[str] = None, last_in_build_duration_in_seconds: Optional[str] = None, instance_id: 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.

instance_id
str
Required

Id of a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId.