ServiceInfo Class
Information about a Service Fabric service.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: StatefulServiceInfo, StatelessServiceInfo
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ServiceInfo
Constructor
ServiceInfo(*, 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
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.
- health_state
- str or HealthState
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
The status of the application. Possible values include: 'Unknown', 'Active', 'Upgrading', 'Deleting', 'Creating', 'Failed'
Feedback
Submit and view feedback for