StatelessServiceUpdateProperties Class
The properties of a stateless service resource for patch operations.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.servicefabric.models._models_py3.ServiceResourceUpdatePropertiesStatelessServiceUpdateProperties
Constructor
StatelessServiceUpdateProperties(*, 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, instance_count: Optional[int] = None, instance_close_delay_duration: Optional[str] = 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[ServiceCorrelationDescription]
A list that describes the correlation of the service with other services.
- service_load_metrics
- list[ServiceLoadMetricDescription]
The service load metrics is given as an array of ServiceLoadMetricDescription objects.
- service_placement_policies
- list[ServicePlacementPolicyDescription]
A list that describes the correlation of the service with other services.
Specifies the move cost for the service. Possible values include: "Zero", "Low", "Medium", "High".
- service_kind
- str or ServiceKind
Required. The kind of service (Stateless or Stateful).Constant filled by server. Possible values include: "Invalid", "Stateless", "Stateful".
- instance_close_delay_duration
- str
Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
Feedback
Submit and view feedback for