AppServiceUsage Class

Definition

Usage of the quota resource. Serialized Name: Usage

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

Name Description
AppServiceUsage()

Initializes a new instance of AppServiceUsage.

Properties

Name Description
ComputeMode

Compute mode used for this usage. Serialized Name: Usage.properties.computeMode

CurrentValue

The current value of the resource counter. Serialized Name: Usage.properties.currentValue

DisplayName

Friendly name shown in the UI. Serialized Name: Usage.properties.displayName

Id

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

(Inherited from ResourceData)
Kind

Kind of resource. Serialized Name: ProxyOnlyResource.kind

Limit

The resource limit. Serialized Name: Usage.properties.limit

Name

The name of the resource.

(Inherited from ResourceData)
NextResetOn

Next reset time for the resource counter. Serialized Name: Usage.properties.nextResetTime

ResourceName

Name of the quota resource. Serialized Name: Usage.properties.resourceName

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. Serialized Name: Usage.properties.siteMode

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Unit

Units of measurement for the quota resource. Serialized Name: Usage.properties.unit

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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