StatefulServiceTypeDescription Class
Describes a stateful service type defined in the service manifest of a provisioned application type.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.servicefabric.models._models_py3.ServiceTypeDescriptionStatefulServiceTypeDescription
Constructor
StatefulServiceTypeDescription(*, is_stateful: Optional[bool] = None, service_type_name: Optional[str] = None, placement_constraints: Optional[str] = None, load_metrics=None, service_placement_policies=None, extensions=None, has_persisted_state: Optional[bool] = None, **kwargs)
Parameters
- is_stateful
- bool
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.
- placement_constraints
- str
The placement constraint to be used when instantiating this service in a Service Fabric cluster.
- load_metrics
- list[ServiceLoadMetricDescription]
The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service_placement_policies
- list[ServicePlacementPolicyDescription]
List of service placement policy descriptions.
- has_persisted_state
- bool
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.
Feedback
Submit and view feedback for