ServiceResourcePropertiesBase Class
The common service resource properties.
- Inheritance
-
ServiceResourcePropertiesBase
Constructor
ServiceResourcePropertiesBase(*, placement_constraints: Optional[str] = None, correlation_scheme: Optional[List[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ServiceCorrelation]] = None, service_load_metrics: Optional[List[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ServiceLoadMetric]] = None, service_placement_policies: Optional[List[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ServicePlacementPolicy]] = None, default_move_cost: Optional[Union[str, azure.mgmt.servicefabricmanagedclusters.models._service_fabric_managed_clusters_management_client_enums.MoveCost]] = None, scaling_policies: Optional[List[azure.mgmt.servicefabricmanagedclusters.models._models_py3.ScalingPolicy]] = None, **kwargs)
Parameters
- placement_constraints
- str
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[<xref:service_fabric_managed_clusters_management_client.models.ServiceCorrelation>]
A list that describes the correlation of the service with other services.
- service_load_metrics
- list[<xref:service_fabric_managed_clusters_management_client.models.ServiceLoadMetric>]
The service load metrics is given as an array of ServiceLoadMetric objects.
- service_placement_policies
- list[<xref:service_fabric_managed_clusters_management_client.models.ServicePlacementPolicy>]
A list that describes the correlation of the service with other services.
- default_move_cost
- str or <xref:service_fabric_managed_clusters_management_client.models.MoveCost>
Specifies the move cost for the service. Possible values include: "Zero", "Low", "Medium", "High".
- scaling_policies
- list[<xref:service_fabric_managed_clusters_management_client.models.ScalingPolicy>]
Scaling policies for this service.
Feedback
Submit and view feedback for