ResourcePolicyGroupPlacementPolicyComputeV1 class

A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality

Constructors

ResourcePolicyGroupPlacementPolicyComputeV1({Input<int>? availabilityDomainCount, Input<ResourcePolicyGroupPlacementPolicyCollocationComputeV1>? collocation, Input<int>? vmCount})
Creates a new ResourcePolicyGroupPlacementPolicyComputeV1. availabilityDomainCount 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. collocation Specifies network collocation vmCount 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.
const
ResourcePolicyGroupPlacementPolicyComputeV1.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<ResourcePolicyGroupPlacementPolicyCollocationComputeV1>?
Specifies network collocation
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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