StatefulServiceTypeDescription
Describes a stateful service type defined in the service manifest of a provisioned application type.
Properties
Name | Type | Required |
---|---|---|
IsStateful |
boolean | No |
ServiceTypeName |
string | No |
PlacementConstraints |
string | No |
LoadMetrics |
array of ServiceLoadMetricDescription | No |
ServicePlacementPolicies |
array of ServicePlacementPolicyDescription | No |
Extensions |
array of ServiceTypeExtensionDescription | No |
HasPersistedState |
boolean | No |
IsStateful
Type: boolean
Required: No
Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise.
ServiceTypeName
Type: string
Required: No
Name of the service type as specified in the service manifest.
PlacementConstraints
Type: string
Required: No
The placement constraint to be used when instantiating this service in a Service Fabric cluster.
LoadMetrics
Type: array of ServiceLoadMetricDescription
Required: No
The service load metrics is given as an array of ServiceLoadMetricDescription objects.
ServicePlacementPolicies
Type: array of ServicePlacementPolicyDescription
Required: No
List of service placement policy descriptions.
Extensions
Type: array of ServiceTypeExtensionDescription
Required: No
List of service type extensions.
HasPersistedState
Type: boolean
Required: No
A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false.