Share via


Usage Constructors

Definition

Overloads

Usage()

Initializes a new instance of the Usage class.

Usage(String, UsageCounterName, String, Nullable<Double>, Nullable<Int64>, String)

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, UsageCounterName, String, Nullable<Double>, Nullable<Int64>, String)

Initializes a new instance of the Usage class.

public Usage (string id = default, Microsoft.Azure.Management.Automation.Models.UsageCounterName name = default, string unit = default, double? currentValue = default, long? limit = default, string throttleStatus = default);
new Microsoft.Azure.Management.Automation.Models.Usage : string * Microsoft.Azure.Management.Automation.Models.UsageCounterName * string * Nullable<double> * Nullable<int64> * string -> Microsoft.Azure.Management.Automation.Models.Usage
Public Sub New (Optional id As String = Nothing, Optional name As UsageCounterName = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional throttleStatus As String = Nothing)

Parameters

id
String

Gets or sets the id of the resource.

name
UsageCounterName

Gets or sets the usage counter name.

unit
String

Gets or sets the usage unit name.

currentValue
Nullable<Double>

Gets or sets the current usage value.

limit
Nullable<Int64>

Gets or sets max limit. -1 for unlimited

throttleStatus
String

Gets or sets the throttle status.

Applies to