Class ResourceLimit (2.4.0)

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

Contains information about amount of some resource in the cluster. For memory, value should be in GB.

Inheritance

Object > ResourceLimit

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

ResourceLimit()

public ResourceLimit()

ResourceLimit(ResourceLimit)

public ResourceLimit(ResourceLimit other)
Parameter
NameDescription
otherResourceLimit

Properties

Maximum

public long Maximum { get; set; }

Maximum amount of the resource in the cluster.

Property Value
TypeDescription
Int64

Minimum

public long Minimum { get; set; }

Minimum amount of the resource in the cluster.

Property Value
TypeDescription
Int64

ResourceType

public string ResourceType { get; set; }

Resource name "cpu", "memory" or gpu-specific string.

Property Value
TypeDescription
String