ResourcePolicyGroupPlacementPolicy class

Constructors

ResourcePolicyGroupPlacementPolicy({Input<int?>? availabilityDomainCount, Input<String?>? collocation, Input<String?>? gpuTopology, Input<int?>? maxDistance, Input<String?>? tpuTopology, Input<int?>? vmCount})
Creates a new ResourcePolicyGroupPlacementPolicy. availabilityDomainCount The number of availability domains instances will be spread across. If two instances are in different collocation Collocation specifies whether to place VMs inside the same availability domain on the same low-latency network. gpuTopology Specifies the shape of the GPU slice, in slice based GPU families eg. A4X. maxDistance (Optional, Beta) tpuTopology (Optional, Beta) vmCount Number of VMs in this placement group. Google does not recommend that you use this field
const
ResourcePolicyGroupPlacementPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

availabilityDomainCount → Input<int?>?
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
final
collocation → Input<String?>?
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 vmCount. If compute instances are created with a COLLOCATED policy, then exactly vmCount instances must be created at the same time with the resource policy attached. Possible values are: COLLOCATED.
final
gpuTopology → Input<String?>?
Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
final
hashCode → int
The hash code for this object.
no setterinherited
maxDistance → Input<int?>?
(Optional, Beta) Specifies the number of max logical switches.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tpuTopology → Input<String?>?
(Optional, Beta) Specifies the shape of the TPU slice.
final
vmCount → Input<int?>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited