GetResourcePolicyGroupPlacementPolicy class
Constructors
-
GetResourcePolicyGroupPlacementPolicy({required Input<int> availabilityDomainCount, required Input<String> collocation, required Input<String> gpuTopology, required Input<int> maxDistance, required Input<String> tpuTopology, required Input<int> vmCount})
-
Creates a new GetResourcePolicyGroupPlacementPolicy.
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 Specifies the number of max logical switches.
tpuTopology Specifies the shape of the TPU slice.
vmCount Number of VMs in this placement group. Google does not recommend that you use this field
const
-
GetResourcePolicyGroupPlacementPolicy.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 '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"
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>
-
Specifies the number of max logical switches.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
tpuTopology
→ Input<String>
-
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