Share via


AppServiceUsage Class

Definition

Usage of the quota resource.

public class AppServiceUsage : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.AppServiceUsage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.AppServiceUsage>
type AppServiceUsage = class
    inherit ResourceData
    interface IJsonModel<AppServiceUsage>
    interface IPersistableModel<AppServiceUsage>
Public Class AppServiceUsage
Inherits ResourceData
Implements IJsonModel(Of AppServiceUsage), IPersistableModel(Of AppServiceUsage)
Inheritance
AppServiceUsage
Implements

Constructors

AppServiceUsage()

Initializes a new instance of AppServiceUsage.

Properties

ComputeMode

Compute mode used for this usage.

CurrentValue

The current value of the resource counter.

DisplayName

Friendly name shown in the UI.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Kind

Kind of resource.

Limit

The resource limit.

Name

The name of the resource.

(Inherited from ResourceData)
NextResetOn

Next reset time for the resource counter.

ResourceName

Name of the quota resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SiteMode

Site mode used for this usage.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Unit

Units of measurement for the quota resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppServiceUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AppServiceUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppServiceUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppServiceUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AppServiceUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to