StatefulServicePropertiesResponse

data class StatefulServicePropertiesResponse(val correlationScheme: List<ServiceCorrelationResponse>? = null, val defaultMoveCost: String? = null, val hasPersistedState: Boolean? = null, val minReplicaSetSize: Int? = null, val partitionDescription: Any, val placementConstraints: String? = null, val provisioningState: String, val quorumLossWaitDuration: String? = null, val replicaRestartWaitDuration: String? = null, val scalingPolicies: List<ScalingPolicyResponse>? = null, val serviceDnsName: String? = null, val serviceKind: String, val serviceLoadMetrics: List<ServiceLoadMetricResponse>? = null, val servicePackageActivationMode: String? = null, val servicePlacementPolicies: List<Any>? = null, val servicePlacementTimeLimit: String? = null, val serviceTypeName: String, val standByReplicaKeepDuration: String? = null, val targetReplicaSetSize: Int? = null)

The properties of a stateful service resource.

Constructors

Link copied to clipboard
constructor(correlationScheme: List<ServiceCorrelationResponse>? = null, defaultMoveCost: String? = null, hasPersistedState: Boolean? = null, minReplicaSetSize: Int? = null, partitionDescription: Any, placementConstraints: String? = null, provisioningState: String, quorumLossWaitDuration: String? = null, replicaRestartWaitDuration: String? = null, scalingPolicies: List<ScalingPolicyResponse>? = null, serviceDnsName: String? = null, serviceKind: String, serviceLoadMetrics: List<ServiceLoadMetricResponse>? = null, servicePackageActivationMode: String? = null, servicePlacementPolicies: List<Any>? = null, servicePlacementTimeLimit: String? = null, serviceTypeName: String, standByReplicaKeepDuration: String? = null, targetReplicaSetSize: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard
val defaultMoveCost: String? = null

Specifies the move cost for the service.

Link copied to clipboard

A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false.

Link copied to clipboard
val minReplicaSetSize: Int? = null

The minimum replica set size as a number.

Link copied to clipboard

Describes how the service is partitioned.

Link copied to clipboard

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

Link copied to clipboard

The current deployment or provisioning state, which only appears in the response

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Scaling policies for this service.

Link copied to clipboard
val serviceDnsName: String? = null

Dns name used for the service. If this is specified, then the DNS name can be used to return the IP addresses of service endpoints for application layer protocols (e.g., HTTP). When updating serviceDnsName, old name may be temporarily resolvable. However, rely on new name. When removing serviceDnsName, removed name may temporarily be resolvable. Do not rely on the name being unresolvable.

Link copied to clipboard

The kind of service (Stateless or Stateful). Expected value is 'Stateful'.

Link copied to clipboard

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

Link copied to clipboard

The activation Mode of the service package

Link copied to clipboard

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

Link copied to clipboard

The duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format "hh:mm:ss".

Link copied to clipboard

The name of the service type

Link copied to clipboard

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

Link copied to clipboard

The target replica set size as a number.