ResourcePolicyGroupPlacementPolicyArgs

data class ResourcePolicyGroupPlacementPolicyArgs(val availabilityDomainCount: Output<Int>? = null, val collocation: Output<ResourcePolicyGroupPlacementPolicyCollocation>? = null, val maxDistance: Output<Int>? = null, val vmCount: Output<Int>? = null) : ConvertibleToJava<ResourcePolicyGroupPlacementPolicyArgs>

A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality

Constructors

Link copied to clipboard
fun ResourcePolicyGroupPlacementPolicyArgs(availabilityDomainCount: Output<Int>? = null, collocation: Output<ResourcePolicyGroupPlacementPolicyCollocation>? = null, maxDistance: Output<Int>? = null, vmCount: Output<Int>? = null)

Functions

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

Properties

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

The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.

Link copied to clipboard

Specifies network collocation

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

Specifies the number of max logical switches.

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

Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.