HybridComputeLocation Class

Definition

Metadata pertaining to the geographic location of the resource.

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

Constructors

HybridComputeLocation(String)

Initializes a new instance of HybridComputeLocation.

Properties

City

The city or locality where the resource is located.

CountryOrRegion

The country or region where the resource is located.

District

The district, state, or province where the resource is located.

Name

A canonical name for the geographic or physical location.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HybridComputeLocation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HybridComputeLocation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HybridComputeLocation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HybridComputeLocation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HybridComputeLocation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to