ResourcePolicyGroupPlacementPolicyArgs

data class ResourcePolicyGroupPlacementPolicyArgs(val availabilityDomainCount: Output<Int>? = null, val collocation: Output<ResourcePolicyGroupPlacementPolicyCollocation>? = null, val locality: Output<ResourcePolicyGroupPlacementPolicyLocality>? = null, val maxDistance: Output<Int>? = null, val scope: Output<ResourcePolicyGroupPlacementPolicyScope>? = null, val style: Output<ResourcePolicyGroupPlacementPolicyStyle>? = null, val tpuTopology: Output<String>? = 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, locality: Output<ResourcePolicyGroupPlacementPolicyLocality>? = null, maxDistance: Output<Int>? = null, scope: Output<ResourcePolicyGroupPlacementPolicyScope>? = null, style: Output<ResourcePolicyGroupPlacementPolicyStyle>? = null, tpuTopology: Output<String>? = 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

Specifies network locality

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

Specifies the number of max logical switches.

Link copied to clipboard

Scope specifies the availability domain to which the VMs should be spread.

Link copied to clipboard

Specifies instances to hosts placement relationship

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

Specifies the shape of the TPU slice

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.