Sdílet prostřednictvím


PirResourceData Class

Definition

The Resource model definition.

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

Properties

Location

Resource location.

Name

Resource name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PirResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PirResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PirResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PirResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PirResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to