Share via


Usage Constructors

Definition

Overloads

Usage()

Initializes a new instance of the Usage class.

Usage(String, Nullable<Int32>, Nullable<Int32>, UsageName)

Initializes a new instance of the Usage class.

Usage()

Initializes a new instance of the Usage class.

public Usage ();
Public Sub New ()

Applies to

Usage(String, Nullable<Int32>, Nullable<Int32>, UsageName)

Initializes a new instance of the Usage class.

public Usage (string unit = default, int? currentValue = default, int? limit = default, Microsoft.Azure.Management.ContainerInstance.Models.UsageName name = default);
new Microsoft.Azure.Management.ContainerInstance.Models.Usage : string * Nullable<int> * Nullable<int> * Microsoft.Azure.Management.ContainerInstance.Models.UsageName -> Microsoft.Azure.Management.ContainerInstance.Models.Usage
Public Sub New (Optional unit As String = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional name As UsageName = Nothing)

Parameters

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
UsageName

The name object of the resource

Applies to