StatelessServicePropertiesArgs

data class StatelessServicePropertiesArgs(val correlationScheme: Output<List<ServiceCorrelationArgs>>? = null, val defaultMoveCost: Output<Either<String, MoveCost>>? = null, val instanceCount: Output<Int>, val minInstanceCount: Output<Int>? = null, val minInstancePercentage: Output<Int>? = null, val partitionDescription: Output<Any>, val placementConstraints: 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 serviceTypeName: Output<String>) : ConvertibleToJava<StatelessServicePropertiesArgs>

The properties of a stateless service resource.

Constructors

Link copied to clipboard
constructor(correlationScheme: Output<List<ServiceCorrelationArgs>>? = null, defaultMoveCost: Output<Either<String, MoveCost>>? = null, instanceCount: Output<Int>, minInstanceCount: Output<Int>? = null, minInstancePercentage: Output<Int>? = null, partitionDescription: Output<Any>, placementConstraints: 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, serviceTypeName: Output<String>)

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 instanceCount: Output<Int>

The instance count.

Link copied to clipboard
val minInstanceCount: Output<Int>? = null

MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.

Link copied to clipboard
val minInstancePercentage: Output<Int>? = null

MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.

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 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 'Stateless'.

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

The name of the service type

Functions

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