public sealed class DistributionPolicy : IMessage<DistributionPolicy>, IEquatable<DistributionPolicy>, IDeepCloneable<DistributionPolicy>, IBufferMessage, IMessageImplements
IMessageDistributionPolicy, IEquatableDistributionPolicy, IDeepCloneableDistributionPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
DistributionPolicy()
public DistributionPolicy()DistributionPolicy(DistributionPolicy)
public DistributionPolicy(DistributionPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
DistributionPolicy |
Properties
HasTargetShape
public bool HasTargetShape { get; }Gets whether the "target_shape" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
TargetShape
public string TargetShape { get; set; }The distribution shape to which the group converges either proactively or on resize events (depending on the value set inupdatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Zones
public RepeatedField<DistributionPolicyZoneConfiguration> Zones { get; }Zones where the regional managed instance group will create and manage its instances. By default, a regional MIG doesn't automatically select an AI zone to create instances, even if an AI zone is available in the specified region. To create instances in an AI zone in the selected region, you must explicitly specify it in the distribution policy together with the other preferred zones.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldDistributionPolicyZoneConfiguration |
|