다음을 통해 공유


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.Fluent.Models.GpuResource gpu = default);
new Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ResourceLimits : Nullable<double> * Nullable<double> * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.GpuResource -> Microsoft.Azure.Management.ContainerInstance.Fluent.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
Nullable<Double>

The memory limit in GB of this container instance.

cpu
Nullable<Double>

The CPU limit of this container instance.

gpu
GpuResource

The GPU limit of this container instance.

Applies to