ResourcePolicyGroupPlacementPolicyComputeBeta class
A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality
Constructors
-
ResourcePolicyGroupPlacementPolicyComputeBeta({Input<
int> ? availabilityDomainCount, Input<ResourcePolicyGroupPlacementPolicyCollocationComputeBeta> ? collocation, Input<int> ? maxDistance, Input<int> ? sliceCount, Input<String> ? tpuTopology, Input<int> ? vmCount}) -
Creates a new ResourcePolicyGroupPlacementPolicyComputeBeta.
availabilityDomainCountThe 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.collocationSpecifies network collocationmaxDistanceSpecifies the number of max logical switches.sliceCountSpecifies the number of slices in a multislice workload.tpuTopologySpecifies the shape of the TPU slicevmCountNumber 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.const -
ResourcePolicyGroupPlacementPolicyComputeBeta.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
availabilityDomainCount
→ Input<
int> ? -
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.
final
-
collocation
→ Input<
ResourcePolicyGroupPlacementPolicyCollocationComputeBeta> ? -
Specifies network collocation
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
-
sliceCount
→ Input<
int> ? -
Specifies the number of slices in a multislice workload.
final
-
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
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