StatelessServiceInfo Class

Information about a stateless Service Fabric service.

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

Inheritance
azure.servicefabric.models._models_py3.ServiceInfo
StatelessServiceInfo

Constructor

StatelessServiceInfo(*, id: Optional[str] = None, name: Optional[str] = None, type_name: Optional[str] = None, manifest_version: Optional[str] = None, health_state=None, service_status=None, is_service_group: Optional[bool] = None, **kwargs)

Parameters

id
str
Required

The identity of the service. This ID is an encoded representation of the service name. This is used in the REST APIs to identify the service resource. Starting in version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.

name
str
Required

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

type_name
str
Required

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

manifest_version
str
Required

The version of the service manifest.

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'

service_status
str or ServiceStatus
Required

The status of the application. Possible values include: 'Unknown', 'Active', 'Upgrading', 'Deleting', 'Creating', 'Failed'

is_service_group
bool
Required

Whether the service is in a service group.

service_kind
str
Required

Required. Constant filled by server.