다음을 통해 공유


Usage Constructors

Definition

Overloads

Usage()

Initializes a new instance of the Usage class.

Usage(String, MetricName, String, Nullable<Double>, Nullable<Double>, String, 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, MetricName, String, Nullable<Double>, Nullable<Double>, String, String)

Initializes a new instance of the Usage class.

public Usage (string unit = default, Microsoft.Azure.Management.CognitiveServices.Models.MetricName name = default, string quotaPeriod = default, double? limit = default, double? currentValue = default, string nextResetTime = default, string status = default);
new Microsoft.Azure.Management.CognitiveServices.Models.Usage : string * Microsoft.Azure.Management.CognitiveServices.Models.MetricName * string * Nullable<double> * Nullable<double> * string * string -> Microsoft.Azure.Management.CognitiveServices.Models.Usage
Public Sub New (Optional unit As String = Nothing, Optional name As MetricName = Nothing, Optional quotaPeriod As String = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional nextResetTime As String = Nothing, Optional status As String = Nothing)

Parameters

unit
String

The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'

name
MetricName

The name information for the metric.

quotaPeriod
String

The quota period used to summarize the usage values.

limit
Nullable<Double>

Maximum value for this metric.

currentValue
Nullable<Double>

Current value for this metric.

nextResetTime
String

Next reset time for current quota.

status
String

Cognitive Services account quota usage status. Possible values include: 'Included', 'Blocked', 'InOverage', 'Unknown'

Applies to