public sealed class ResourcePolicyGroupPlacementPolicy : IMessage<ResourcePolicyGroupPlacementPolicy>, IEquatable<ResourcePolicyGroupPlacementPolicy>, IDeepCloneable<ResourcePolicyGroupPlacementPolicy>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class ResourcePolicyGroupPlacementPolicy.
A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation
Implements
IMessageResourcePolicyGroupPlacementPolicy, IEquatableResourcePolicyGroupPlacementPolicy, IDeepCloneableResourcePolicyGroupPlacementPolicy, 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 to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Collocation
public string Collocation { get; set; }Specifies network collocation Check the Collocation enum for the list of possible values.
| Property Value | |
|---|---|
| Type | Description |
string |
|
GpuTopology
public string GpuTopology { get; set; }Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasAvailabilityDomainCount
public bool HasAvailabilityDomainCount { get; }Gets whether the "availability_domain_count" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasCollocation
public bool HasCollocation { get; }Gets whether the "collocation" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasGpuTopology
public bool HasGpuTopology { get; }Gets whether the "gpu_topology" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasVmCount
public bool HasVmCount { get; }Gets whether the "vm_count" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
VmCount
public int VmCount { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
int |
|