共用方式為


CosmosDBAccountReadOnlyKeyList Class

Definition

The read-only access keys for the given database account.

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

Properties

PrimaryReadonlyMasterKey

Base 64 encoded value of the primary read-only key.

SecondaryReadonlyMasterKey

Base 64 encoded value of the secondary read-only key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBAccountReadOnlyKeyList>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBAccountReadOnlyKeyList>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBAccountReadOnlyKeyList>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBAccountReadOnlyKeyList>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBAccountReadOnlyKeyList>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to