ResourceLimits Constructors

Definition

Overloads

ResourceLimits()

Initializes a new instance of the ResourceLimits class.

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

Initializes a new instance of the ResourceLimits class.

ResourceLimits()

Initializes a new instance of the ResourceLimits class.

public ResourceLimits ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ResourceLimits class.

public ResourceLimits (double? memoryInGB = default, double? cpu = default, Microsoft.Azure.Management.ContainerInstance.Models.GpuResource gpu = default);
new Microsoft.Azure.Management.ContainerInstance.Models.ResourceLimits : Nullable<double> * Nullable<double> * Microsoft.Azure.Management.ContainerInstance.Models.GpuResource -> Microsoft.Azure.Management.ContainerInstance.Models.ResourceLimits
Public Sub New (Optional memoryInGB As Nullable(Of Double) = Nothing, Optional cpu As Nullable(Of Double) = Nothing, Optional gpu As GpuResource = Nothing)

Parameters

memoryInGB
System.Nullable<System.Double>

The memory limit in GB of this container instance.

cpu
System.Nullable<System.Double>

The CPU limit of this container instance.

gpu
GpuResource

The GPU limit of this container instance.

Applies to