Compute Engine v1 API - Class DistributionPolicy (3.1.0)

public sealed class DistributionPolicy : IMessage<DistributionPolicy>, IEquatable<DistributionPolicy>, IDeepCloneable<DistributionPolicy>, IBufferMessage, IMessage

Inheritance

object > DistributionPolicy

Namespace

Google.Cloud.Compute.V1

Assembly

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 in updatePolicy.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.

Property Value
Type Description
RepeatedFieldDistributionPolicyZoneConfiguration