StatefulServicePropertiesArgs

data class StatefulServicePropertiesArgs(val correlationScheme: Output<List<ServiceCorrelationArgs>>? = null, val defaultMoveCost: Output<Either<String, MoveCost>>? = null, val hasPersistedState: Output<Boolean>? = null, val minReplicaSetSize: Output<Int>? = null, val partitionDescription: Output<Any>, val placementConstraints: Output<String>? = null, val quorumLossWaitDuration: Output<String>? = null, val replicaRestartWaitDuration: Output<String>? = null, val scalingPolicies: Output<List<ScalingPolicyArgs>>? = null, val serviceDnsName: Output<String>? = null, val serviceKind: Output<String>, val serviceLoadMetrics: Output<List<ServiceLoadMetricArgs>>? = null, val servicePackageActivationMode: Output<Either<String, ServicePackageActivationMode>>? = null, val servicePlacementPolicies: Output<List<Any>>? = null, val servicePlacementTimeLimit: Output<String>? = null, val serviceTypeName: Output<String>, val standByReplicaKeepDuration: Output<String>? = null, val targetReplicaSetSize: Output<Int>? = null) : ConvertibleToJava<StatefulServicePropertiesArgs>

The properties of a stateful service resource.

Constructors

Link copied to clipboard
constructor(correlationScheme: Output<List<ServiceCorrelationArgs>>? = null, defaultMoveCost: Output<Either<String, MoveCost>>? = null, hasPersistedState: Output<Boolean>? = null, minReplicaSetSize: Output<Int>? = null, partitionDescription: Output<Any>, placementConstraints: Output<String>? = null, quorumLossWaitDuration: Output<String>? = null, replicaRestartWaitDuration: Output<String>? = null, scalingPolicies: Output<List<ScalingPolicyArgs>>? = null, serviceDnsName: Output<String>? = null, serviceKind: Output<String>, serviceLoadMetrics: Output<List<ServiceLoadMetricArgs>>? = null, servicePackageActivationMode: Output<Either<String, ServicePackageActivationMode>>? = null, servicePlacementPolicies: Output<List<Any>>? = null, servicePlacementTimeLimit: Output<String>? = null, serviceTypeName: Output<String>, standByReplicaKeepDuration: Output<String>? = null, targetReplicaSetSize: Output<Int>? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard
val defaultMoveCost: Output<Either<String, MoveCost>>? = null

Specifies the move cost for the service.

Link copied to clipboard
val hasPersistedState: Output<Boolean>? = null

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: Output<Int>? = null

The minimum replica set size as a number.

Link copied to clipboard

Describes how the service is partitioned.

Link copied to clipboard
val placementConstraints: Output<String>? = null

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
val quorumLossWaitDuration: Output<String>? = null

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
val replicaRestartWaitDuration: Output<String>? = null

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
val scalingPolicies: Output<List<ScalingPolicyArgs>>? = null

Scaling policies for this service.

Link copied to clipboard
val serviceDnsName: Output<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
val serviceKind: Output<String>

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
val servicePlacementPolicies: Output<List<Any>>? = null

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

Link copied to clipboard
val servicePlacementTimeLimit: Output<String>? = null

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
val serviceTypeName: Output<String>

The name of the service type

Link copied to clipboard
val standByReplicaKeepDuration: Output<String>? = null

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
val targetReplicaSetSize: Output<Int>? = null

The target replica set size as a number.

Functions

Link copied to clipboard
open override fun toJava(): StatefulServicePropertiesArgs