Share via


ResourceLimits Class

Definition

The resource limits.

public class ResourceLimits
type ResourceLimits = class
Public Class ResourceLimits
Inheritance
ResourceLimits

Constructors

ResourceLimits()

Initializes a new instance of the ResourceLimits class.

ResourceLimits(Nullable<Double>, Nullable<Double>, GpuResource)

Initializes a new instance of the ResourceLimits class.

Properties

Cpu

Gets or sets the CPU limit of this container instance.

Gpu

Gets or sets the GPU limit of this container instance.

MemoryInGB

Gets or sets the memory limit in GB of this container instance.

Methods

Validate()

Validate the object.

Applies to