Share via


UsagesProperties Class

Definition

Usage properties for the specified resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.UsagesPropertiesTypeConverter))]
public class UsagesProperties : Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IUsagesProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.UsagesPropertiesTypeConverter))>]
type UsagesProperties = class
    interface IUsagesProperties
    interface IJsonSerializable
Public Class UsagesProperties
Implements IUsagesProperties
Inheritance
UsagesProperties
Attributes
Implements

Constructors

UsagesProperties()

Creates an new UsagesProperties instance.

Properties

IsQuotaApplicable

States if quota can be requested for this resource.

NameLocalizedValue

Resource display name.

NameValue

Resource name.

Property

Additional properties for the specific resource provider.

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.

ResourceType

The name of the resource type. Optional field.

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 UsagesProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UsagesProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UsagesProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to