ServiceResourcePropertiesBase interface

The common service resource properties.

Properties

correlationScheme

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

defaultMoveCost

Specifies the move cost for the service.

placementConstraints

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

scalingPolicies

Scaling policies for this service.

serviceLoadMetrics

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

servicePlacementPolicies

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

Property Details

correlationScheme

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

correlationScheme?: ServiceCorrelation[]

Property Value

defaultMoveCost

Specifies the move cost for the service.

defaultMoveCost?: string

Property Value

string

placementConstraints

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

placementConstraints?: string

Property Value

string

scalingPolicies

Scaling policies for this service.

scalingPolicies?: ScalingPolicy[]

Property Value

serviceLoadMetrics

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

serviceLoadMetrics?: ServiceLoadMetric[]

Property Value

servicePlacementPolicies

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

servicePlacementPolicies?: ServicePlacementPolicyUnion[]

Property Value