Share via


ResourceUsage Constructors

Definition

Overloads

ResourceUsage()

Initializes a new instance of the ResourceUsage class.

ResourceUsage(String, String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the ResourceUsage class.

ResourceUsage()

Initializes a new instance of the ResourceUsage class.

public ResourceUsage ();
Public Sub New ()

Applies to

ResourceUsage(String, String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the ResourceUsage class.

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

Parameters

resourceType
String

Resource type for which the usage is provided.

unit
String

Unit of the usage. e.g. Count.

currentValue
Nullable<Int32>

Actual value of usage on the specified resource type.

limit
Nullable<Int32>

Quota of the specified resource type.

Applies to