Compute Engine v1 API - Class LocationPolicyLocationConstraints (2.6.0)

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

Reference documentation and code samples for the Compute Engine v1 API class LocationPolicyLocationConstraints.

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