Share via


CurrentUsagesBase Class

Definition

Resource usage.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.CurrentUsagesBaseTypeConverter))]
public class CurrentUsagesBase : Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ICurrentUsagesBase, Microsoft.Azure.PowerShell.Cmdlets.Quota.Runtime.IHeaderSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.CurrentUsagesBaseTypeConverter))>]
type CurrentUsagesBase = class
    interface ICurrentUsagesBase
    interface IJsonSerializable
    interface IHeaderSerializable
Public Class CurrentUsagesBase
Implements ICurrentUsagesBase, IHeaderSerializable
Inheritance
CurrentUsagesBase
Attributes
Implements

Constructors

CurrentUsagesBase()

Creates an new CurrentUsagesBase instance.

Properties

AnyProperty

Additional properties for the specific resource provider.

ETag
Id

The resource ID.

IsQuotaApplicable

States if quota can be requested for this resource.

Name

The resource name.

NameLocalizedValue

Resource display name.

NameValue

Resource name.

QuotaPeriod

The time period for the summary of the quota usage values. For example: *P1D (per one day) *PT1M (per one minute) *PT1S (per one second). This parameter is optional because it is not relevant for all resources such as compute.

ResourceGroupName

Gets the resource group name

ResourceType

The name of the resource type. Optional field.

Type

The resource type.

Unit

The units for the quota usage, such as Count and Bytes. When requesting quota, use the unit value returned in the GET response in the request body of your PUT operation.

UsageUsagesType

The quota or usages limit types.

UsageValue

The usages value.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CurrentUsagesBase.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CurrentUsagesBase.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.ICurrentUsagesBase.

FromJsonString(String)

Creates a new instance of CurrentUsagesBase, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CurrentUsagesBase into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to