ResourcePolicyGroupPlacementPolicyResponse class
A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality
Constructors
-
ResourcePolicyGroupPlacementPolicyResponse({required Input<
int> availabilityDomainCount, required Input<String> collocation, required Input<String> locality, required Input<int> maxDistance, required Input<String> scope, required Input<int> sliceCount, required Input<String> style, required Input<String> tpuTopology, required Input<int> vmCount}) -
Creates a new ResourcePolicyGroupPlacementPolicyResponse.
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 collocationlocalitySpecifies network localitymaxDistanceSpecifies the number of max logical switches.scopeScope specifies the availability domain to which the VMs should be spread.sliceCountSpecifies the number of slices in a multislice workload.styleSpecifies instances to hosts placement relationshiptpuTopologySpecifies 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 -
ResourcePolicyGroupPlacementPolicyResponse.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<
String> -
Specifies network collocation
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
locality
→ Input<
String> -
Specifies network locality
final
-
maxDistance
→ Input<
int> -
Specifies the number of max logical switches.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scope
→ Input<
String> -
Scope specifies the availability domain to which the VMs should be spread.
final
-
sliceCount
→ Input<
int> -
Specifies the number of slices in a multislice workload.
final
-
style
→ Input<
String> -
Specifies instances to hosts placement relationship
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