GetResourcePolicyGroupPlacementPolicy

data class GetResourcePolicyGroupPlacementPolicy(val availabilityDomainCount: Int, val collocation: String, val gpuTopology: String, val maxDistance: Int, val tpuTopology: String, val vmCount: Int)

Constructors

Link copied to clipboard
constructor(availabilityDomainCount: Int, collocation: String, gpuTopology: String, maxDistance: Int, tpuTopology: String, vmCount: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

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: "COLLOCATED"

Link copied to clipboard

Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.

Link copied to clipboard

Specifies the number of max logical switches.

Link copied to clipboard

Specifies the shape of the TPU slice.

Link copied to clipboard

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.