ResourcePolicyGroupPlacementPolicyArgs

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

Constructors

Link copied to clipboard
constructor(availabilityDomainCount: Output<Int>? = null, collocation: Output<String>? = null, maxDistance: Output<Int>? = null, vmCount: Output<Int>? = null)

Properties

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

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

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

Collocation specifies whether to place VMs inside the same availability domain on the same low-latency network. Specify COLLOCATED to enable collocation. Can only be specified with vm_count. If compute instances are created with a COLLOCATED policy, then exactly vm_count instances must be created at the same time with the resource policy attached. Possible values are: COLLOCATED.

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.

Functions

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