Share via


Usage Class

Definition

The usage data for a usage request.

public class Usage
type Usage = class
Public Class Usage
Inheritance
Usage

Constructors

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.

Properties

CurrentValue

Gets or sets current value for this metric.

Limit

Gets or sets maximum value for this metric.

Name

Gets or sets the name information for the metric.

NextResetTime

Gets or sets next reset time for current quota.

QuotaPeriod

Gets or sets the quota period used to summarize the usage values.

Status

Gets or sets cognitive Services account quota usage status. Possible values include: 'Included', 'Blocked', 'InOverage', 'Unknown'

Unit

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

Applies to