StatelessServiceUpdateProperties

The properties of a stateless service resource for patch operations.

Properties

Name Type Required
serviceKind string Yes
placementConstraints string No
correlationScheme array of ServiceCorrelationDescription No
serviceLoadMetrics array of ServiceLoadMetricDescription No
servicePlacementPolicies array of ServicePlacementPolicyDescription No
defaultMoveCost string (enum) No
instanceCount integer No

serviceKind

Type: string
Required: Yes

A discriminator property. Its value must be 'Stateless' for objects of type 'StatelessServiceUpdateProperties'.


placementConstraints

Type: string
Required: No

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)".


correlationScheme

Type: array of ServiceCorrelationDescription
Required: No

A list that describes the correlation of the service with other services.


serviceLoadMetrics

Type: array of ServiceLoadMetricDescription
Required: No

The service load metrics is given as an array of ServiceLoadMetricDescription objects.


servicePlacementPolicies

Type: array of ServicePlacementPolicyDescription
Required: No

A list that describes the correlation of the service with other services.


defaultMoveCost

Type: string (enum)
Required: No

Specifies the move cost for the service.

Possible values are:

  • Zero - Zero move cost. This value is zero.
  • Low - Specifies the move cost of the service as Low. The value is 1.
  • Medium - Specifies the move cost of the service as Medium. The value is 2.
  • High - Specifies the move cost of the service as High. The value is 3.

instanceCount

Type: integer
Required: No
InclusiveMinimum: -1

The instance count.