Condividi tramite


ResourceRange Class

Definition

Describes the resource range.

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

Constructors

ResourceRange()

Initializes a new instance of ResourceRange.

Properties

Max

The maximum number of the resource.

Min

The minimum number of the resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ResourceRange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceRange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceRange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceRange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceRange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to