Dela via


CosmosDBAccountKeyList Class

Definition

The access keys for the given database account.

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

Properties

PrimaryMasterKey

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

PrimaryReadonlyMasterKey

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

(Inherited from CosmosDBAccountReadOnlyKeyList)
SecondaryMasterKey

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

SecondaryReadonlyMasterKey

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

(Inherited from CosmosDBAccountReadOnlyKeyList)

Explicit Interface Implementations

IJsonModel<CosmosDBAccountKeyList>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBAccountKeyList>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<CosmosDBAccountReadOnlyKeyList>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from CosmosDBAccountReadOnlyKeyList)
IJsonModel<CosmosDBAccountReadOnlyKeyList>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CosmosDBAccountReadOnlyKeyList)
IPersistableModel<CosmosDBAccountKeyList>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBAccountKeyList>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBAccountKeyList>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<CosmosDBAccountReadOnlyKeyList>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CosmosDBAccountReadOnlyKeyList)
IPersistableModel<CosmosDBAccountReadOnlyKeyList>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from CosmosDBAccountReadOnlyKeyList)
IPersistableModel<CosmosDBAccountReadOnlyKeyList>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CosmosDBAccountReadOnlyKeyList)

Applies to