ServiceTypeDescription Class
Describes a service type defined in the service manifest of a provisioned application type. The properties the ones defined in the service manifest.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: StatefulServiceTypeDescription, StatelessServiceTypeDescription
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ServiceTypeDescription
Constructor
ServiceTypeDescription(*, 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, **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.
Feedback
Submit and view feedback for