ResourceLocationDataContract Class

Definition

Resource location data properties.

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

Constructors

ResourceLocationDataContract(String)

Initializes a new instance of ResourceLocationDataContract.

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.

Explicit Interface Implementations

IJsonModel<ResourceLocationDataContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceLocationDataContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceLocationDataContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceLocationDataContract>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceLocationDataContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to