public sealed class ResourceLimit : IMessage<ResourceLimit>, IEquatable<ResourceLimit>, IDeepCloneable<ResourceLimit>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class ResourceLimit.
Contains information about amount of some resource in the cluster. For memory, value should be in GB.
Implements
IMessageResourceLimit, IEquatableResourceLimit, IDeepCloneableResourceLimit, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
ResourceLimit()
public ResourceLimit()
ResourceLimit(ResourceLimit)
public ResourceLimit(ResourceLimit other)
Parameter | |
---|---|
Name | Description |
other |
ResourceLimit |
Properties
Maximum
public long Maximum { get; set; }
Maximum amount of the resource in the cluster.
Property Value | |
---|---|
Type | Description |
long |
Minimum
public long Minimum { get; set; }
Minimum amount of the resource in the cluster.
Property Value | |
---|---|
Type | Description |
long |
ResourceType
public string ResourceType { get; set; }
Resource name "cpu", "memory" or gpu-specific string.
Property Value | |
---|---|
Type | Description |
string |