StatefulServiceUpdateProperties interface

The properties of a stateful service resource for patch operations.

Extends

Properties

minReplicaSetSize

The minimum replica set size as a number.

quorumLossWaitDuration

The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s).

replicaRestartWaitDuration

The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s).

serviceKind

Polymorphic discriminator, which specifies the different types this object can be

standByReplicaKeepDuration

The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s).

targetReplicaSetSize

The target replica set size as a number.

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

serviceLoadMetrics

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

servicePlacementPolicies

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

Property Details

minReplicaSetSize

The minimum replica set size as a number.

minReplicaSetSize?: number

Property Value

number

quorumLossWaitDuration

The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s).

quorumLossWaitDuration?: Date

Property Value

Date

replicaRestartWaitDuration

The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s).

replicaRestartWaitDuration?: Date

Property Value

Date

serviceKind

Polymorphic discriminator, which specifies the different types this object can be

serviceKind: "Stateful"

Property Value

"Stateful"

standByReplicaKeepDuration

The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s).

standByReplicaKeepDuration?: Date

Property Value

Date

targetReplicaSetSize

The target replica set size as a number.

targetReplicaSetSize?: number

Property Value

number

Inherited Property Details

correlationScheme

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

correlationScheme?: ServiceCorrelationDescription[]

Property Value

Inherited From ServiceResourceUpdateProperties.correlationScheme

defaultMoveCost

Specifies the move cost for the service.

defaultMoveCost?: string

Property Value

string

Inherited From ServiceResourceUpdateProperties.defaultMoveCost

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

Inherited From ServiceResourceUpdateProperties.placementConstraints

serviceLoadMetrics

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

serviceLoadMetrics?: ServiceLoadMetricDescription[]

Property Value

Inherited From ServiceResourceUpdateProperties.serviceLoadMetrics

servicePlacementPolicies

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

servicePlacementPolicies?: ServicePlacementPolicyDescription[]

Property Value

Inherited From ServiceResourceUpdateProperties.servicePlacementPolicies