Class LocationPolicyLocationConstraints (2.1.0)

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

Per-zone constraints on location policy for this zone.

Inheritance

Object > LocationPolicyLocationConstraints

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

LocationPolicyLocationConstraints()

public LocationPolicyLocationConstraints()

LocationPolicyLocationConstraints(LocationPolicyLocationConstraints)

public LocationPolicyLocationConstraints(LocationPolicyLocationConstraints other)
Parameter
NameDescription
otherLocationPolicyLocationConstraints

Properties

HasMaxCount

public bool HasMaxCount { get; }

Gets whether the "max_count" field is set

Property Value
TypeDescription
Boolean

MaxCount

public int MaxCount { get; set; }

Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.

Property Value
TypeDescription
Int32