Compartir a través de


Usage Class

Definition

Usage of the quota resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.UsageTypeConverter))]
public class Usage : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IUsage, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.UsageTypeConverter))>]
type Usage = class
    interface IUsage
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class Usage
Implements IUsage, IValidates
Inheritance
Usage
Attributes
Implements

Constructors

Usage()

Creates an new Usage instance.

Properties

ComputeMode

Compute mode used for this usage.

CurrentValue

The current value of the resource counter.

DisplayName

Friendly name shown in the UI.

Id

Resource Id.

Kind

Kind of resource.

Limit

The resource limit.

Name

Resource Name.

NextResetTime

Next reset time for the resource counter.

ResourceName

Name of the quota resource.

SiteMode

Site mode used for this usage.

Type

Resource type.

Unit

Units of measurement for the quota resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Usage.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Usage.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IUsage.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Usage into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to