Compute Engine v1 API - Class DistributionPolicy (2.2.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
NameDescription
otherDistributionPolicy

Properties

HasTargetShape

public bool HasTargetShape { get; }

Gets whether the "target_shape" field is set

Property Value
TypeDescription
Boolean

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
TypeDescription
String

Zones

public RepeatedField<DistributionPolicyZoneConfiguration> Zones { get; }

Zones where the regional managed instance group will create and manage its instances.

Property Value
TypeDescription
RepeatedField<DistributionPolicyZoneConfiguration>