DeployedStatelessServiceInstanceInfo

Information about a stateless service instance deployed on a node.

Properties

Name Type Required
ServiceKind string Yes
ServiceName string No
ServiceTypeName string No
ServiceManifestName string No
CodePackageName string No
PartitionId string (uuid) No
ReplicaStatus string (enum) No
Address string No
ServicePackageActivationId string No
HostProcessId string No
InstanceId string No

ServiceKind

Type: string
Required: Yes

A discriminator property. Its value must be 'Stateless' for objects of type 'DeployedStatelessServiceInstanceInfo'.


ServiceName

Type: string
Required: No

The full name of the service with 'fabric:' URI scheme.


ServiceTypeName

Type: string
Required: No

Name of the service type as specified in the service manifest.


ServiceManifestName

Type: string
Required: No

The name of the service manifest in which this service type is defined.


CodePackageName

Type: string
Required: No

The name of the code package that hosts this replica.


PartitionId

Type: string (uuid)
Required: No

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.


ReplicaStatus

Type: string (enum)
Required: No

The status of a replica of a service.

Possible values are:

  • Invalid - Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
  • InBuild - The replica is being built. This means that a primary replica is seeding this replica. The value is 1.
  • Standby - The replica is in standby. The value is 2.
  • Ready - The replica is ready. The value is 3.
  • Down - The replica is down. The value is 4.
  • Dropped - Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5.

Address

Type: string
Required: No

The last address returned by the replica in Open or ChangeRole.


ServicePackageActivationId

Type: string
Required: No

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.


HostProcessId

Type: string
Required: No

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.


InstanceId

Type: string
Required: No

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.