Class ResourceRequirements
ResourceRequirements describes the compute resource requirements.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v1alpha1.Data
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class ResourceRequirements : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Limits
(Optional) Only memory and CPU are supported. Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
Declaration
[JsonProperty("limits")]
public virtual IDictionary<string, string> Limits { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> |
Requests
(Optional) Only memory and CPU are supported. Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
Declaration
[JsonProperty("requests")]
public virtual IDictionary<string, string> Requests { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> |