Share via


Usage Constructors

Definition

Overloads

Usage()

Initializes a new instance of the Usage class.

Usage(String, String, String, String, String, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<DateTime>, Nullable<ComputeModeOptions>, 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, String, String, String, String, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<DateTime>, Nullable<ComputeModeOptions>, String)

Initializes a new instance of the Usage class.

public Usage (string id = default, string name = default, string type = default, string kind = default, string displayName = default, string resourceName = default, string unit = default, long? currentValue = default, long? limit = default, DateTime? nextResetTime = default, Microsoft.Azure.Management.AppService.Fluent.Models.ComputeModeOptions? computeMode = default, string siteMode = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.Usage : string * string * string * string * string * string * string * Nullable<int64> * Nullable<int64> * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.ComputeModeOptions> * string -> Microsoft.Azure.Management.AppService.Fluent.Models.Usage
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional displayName As String = Nothing, Optional resourceName As String = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Long) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional nextResetTime As Nullable(Of DateTime) = Nothing, Optional computeMode As Nullable(Of ComputeModeOptions) = Nothing, Optional siteMode As String = Nothing)

Parameters

id
String
name
String
type
String
kind
String

Kind of resource.

displayName
String

Friendly name shown in the UI.

resourceName
String

Name of the quota resource.

unit
String

Units of measurement for the quota resource.

currentValue
Nullable<Int64>

The current value of the resource counter.

limit
Nullable<Int64>

The resource limit.

nextResetTime
Nullable<DateTime>

Next reset time for the resource counter.

computeMode
Nullable<ComputeModeOptions>

Compute mode used for this usage. Possible values include: 'Shared', 'Dedicated', 'Dynamic'

siteMode
String

Site mode used for this usage.

Applies to