Class ContainerResourceConfig
The resource configuration for a container. The resource configuration determines the amount of resources allocated to the container and the maximum allowed resources for a container.
Inherited Members
Namespace: Oci.ContainerinstancesService.Models
Assembly: OCI.DotNetSDK.Containerinstances.dll
Syntax
public class ContainerResourceConfig
Properties
MemoryLimitInGBs
Declaration
[JsonProperty(PropertyName = "memoryLimitInGBs")]
public float? MemoryLimitInGBs { get; set; }
Property Value
Type | Description |
---|---|
float? | The maximum amount of memory that can be consumed by the container's process. If you do not set a value, then the process may use all available memory on the instance. |
VcpusLimit
Declaration
[JsonProperty(PropertyName = "vcpusLimit")]
public float? VcpusLimit { get; set; }
Property Value
Type | Description |
---|---|
float? | The maximum amount of CPUs that can be consumed by the container's process.
|