ArmContainerInstanceModelFactory.ContainerInstanceUsage Method

Definition

Initializes a new instance of ContainerInstanceUsage.

public static Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsage ContainerInstanceUsage (string id = default, string unit = default, int? currentValue = default, int? limit = default, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsageName name = default);
static member ContainerInstanceUsage : string * string * Nullable<int> * Nullable<int> * Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsageName -> Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsage
Public Shared Function ContainerInstanceUsage (Optional id As String = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional name As ContainerInstanceUsageName = Nothing) As ContainerInstanceUsage

Parameters

id
String

Id of the usage result.

unit
String

Unit of the usage result.

currentValue
Nullable<Int32>

The current usage of the resource.

limit
Nullable<Int32>

The maximum permitted usage of the resource.

name
ContainerInstanceUsageName

The name object of the resource.

Returns

A new ContainerInstanceUsage instance for mocking.

Applies to