Partager via


MapsLinkedResource Class

Definition

Linked resource is reference to a resource deployed in an Azure subscription, add the linked resource uniqueName value as an optional parameter for operations on Azure Maps Geospatial REST APIs.

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

Constructors

MapsLinkedResource(String, String)

Initializes a new instance of MapsLinkedResource.

Properties

Id

ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'.

UniqueName

A provided name which uniquely identifies the linked resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MapsLinkedResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MapsLinkedResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MapsLinkedResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MapsLinkedResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MapsLinkedResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to