ServiceResourcePropertiesBase Class
The common service resource properties.
- Inheritance
-
ServiceResourcePropertiesBase
Constructor
ServiceResourcePropertiesBase(*, placement_constraints: Optional[str] = None, correlation_scheme: Optional[List[azure.mgmt.servicefabric.models._models_py3.ServiceCorrelationDescription]] = None, service_load_metrics: Optional[List[azure.mgmt.servicefabric.models._models_py3.ServiceLoadMetricDescription]] = None, service_placement_policies: Optional[List[azure.mgmt.servicefabric.models._models_py3.ServicePlacementPolicyDescription]] = None, default_move_cost: Optional[Union[str, azure.mgmt.servicefabric.models._service_fabric_management_client_enums.MoveCost]] = None, **kwargs)
Parameters
- placement_constraints
- str
Required
The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
- correlation_scheme
- list[ServiceCorrelationDescription]
Required
A list that describes the correlation of the service with other services.
- service_load_metrics
- list[ServiceLoadMetricDescription]
Required
The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service_placement_policies
- list[ServicePlacementPolicyDescription]
Required
A list that describes the correlation of the service with other services.
Feedback
Submit and view feedback for