Share via


AutomationUsage Class

Definition

Definition of Usage.

public class AutomationUsage : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Automation.Models.AutomationUsage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Automation.Models.AutomationUsage>
public class AutomationUsage
type AutomationUsage = class
    interface IJsonModel<AutomationUsage>
    interface IPersistableModel<AutomationUsage>
type AutomationUsage = class
Public Class AutomationUsage
Implements IJsonModel(Of AutomationUsage), IPersistableModel(Of AutomationUsage)
Public Class AutomationUsage
Inheritance
AutomationUsage
Implements

Properties

CurrentValue

Gets or sets the current usage value.

Id

Gets or sets the id of the resource.

Limit

Gets or sets max limit. -1 for unlimited.

Name

Gets or sets the usage counter name.

ThrottleStatus

Gets or sets the throttle status.

Unit

Gets or sets the usage unit name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutomationUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutomationUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutomationUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutomationUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutomationUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to