ResourceUsage interface

The usage and limit (quota) for a resource.

Properties

currentValue

The current usage of this resource. NOTE: This property will not be serialized. It can only be populated by the server.

limit

The limit (quota) for this resource. NOTE: This property will not be serialized. It can only be populated by the server.

name

Naming information for this resource type. NOTE: This property will not be serialized. It can only be populated by the server.

unit

Unit that the limit and usages are expressed in, such as 'Count'. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

currentValue

The current usage of this resource. NOTE: This property will not be serialized. It can only be populated by the server.

currentValue?: number

Property Value

number

limit

The limit (quota) for this resource. NOTE: This property will not be serialized. It can only be populated by the server.

limit?: number

Property Value

number

name

Naming information for this resource type. NOTE: This property will not be serialized. It can only be populated by the server.

name?: ResourceUsageName

Property Value

unit

Unit that the limit and usages are expressed in, such as 'Count'. NOTE: This property will not be serialized. It can only be populated by the server.

unit?: string

Property Value

string