ArmContainerInstanceModelFactory.ContainerResourceLimits Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.ContainerInstance.Models.ContainerResourceLimits ContainerResourceLimits(double? memoryInGB = default, double? cpu = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGpuResourceInfo gpu = default);
static member ContainerResourceLimits : Nullable<double> * Nullable<double> * Azure.ResourceManager.ContainerInstance.Models.ContainerGpuResourceInfo -> Azure.ResourceManager.ContainerInstance.Models.ContainerResourceLimits
Public Shared Function ContainerResourceLimits (Optional memoryInGB As Nullable(Of Double) = Nothing, Optional cpu As Nullable(Of Double) = Nothing, Optional gpu As ContainerGpuResourceInfo = Nothing) As ContainerResourceLimits
Parameters
The GPU limit of this container instance.
Returns
A new ContainerResourceLimits instance for mocking.