Stateful Service Properties Args
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
fun StatefulServicePropertiesArgs(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)
Functions
Properties
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
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
Link copied to clipboard