Compute Engine v1 API - Class LocationPolicyLocationConstraints (2.15.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
Name Description
other LocationPolicyLocationConstraints

Properties

HasMaxCount

public bool HasMaxCount { get; }

Gets whether the "max_count" field is set

Property Value
Type Description
bool

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
Type Description
int