Dela via


ResourceAssociation Class

Definition

Information about resource association.

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

Constructors

ResourceAssociation()

Initializes a new instance of ResourceAssociation.

Properties

AccessMode

Access mode of the resource association.

Name

Name of the resource association.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ResourceAssociation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceAssociation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceAssociation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceAssociation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceAssociation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to