public sealed class ResourcePolicyGroupPlacementPolicy : IMessage<ResourcePolicyGroupPlacementPolicy>, IEquatable<ResourcePolicyGroupPlacementPolicy>, IDeepCloneable<ResourcePolicyGroupPlacementPolicy>, IBufferMessage, IMessage
A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality
Implements
IMessage<ResourcePolicyGroupPlacementPolicy>, IEquatable<ResourcePolicyGroupPlacementPolicy>, IDeepCloneable<ResourcePolicyGroupPlacementPolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ResourcePolicyGroupPlacementPolicy()
public ResourcePolicyGroupPlacementPolicy()
ResourcePolicyGroupPlacementPolicy(ResourcePolicyGroupPlacementPolicy)
public ResourcePolicyGroupPlacementPolicy(ResourcePolicyGroupPlacementPolicy other)
Parameter | |
---|---|
Name | Description |
other | ResourcePolicyGroupPlacementPolicy |
Properties
AvailabilityDomainCount
public int AvailabilityDomainCount { get; set; }
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
Property Value | |
---|---|
Type | Description |
Int32 |
Collocation
public string Collocation { get; set; }
Specifies network collocation Check the Collocation enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
String |
HasAvailabilityDomainCount
public bool HasAvailabilityDomainCount { get; }
Gets whether the "availability_domain_count" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasCollocation
public bool HasCollocation { get; }
Gets whether the "collocation" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasVmCount
public bool HasVmCount { get; }
Gets whether the "vm_count" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
VmCount
public int VmCount { get; set; }
Number of vms in this placement group
Property Value | |
---|---|
Type | Description |
Int32 |