Share via


CosmosDBAccountRegenerateKeyContent Class

Definition

Parameters to regenerate the keys within the database account.

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

Constructors

CosmosDBAccountRegenerateKeyContent(CosmosDBAccountKeyKind)

Initializes a new instance of CosmosDBAccountRegenerateKeyContent.

Properties

KeyKind

The access key to regenerate.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBAccountRegenerateKeyContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBAccountRegenerateKeyContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBAccountRegenerateKeyContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBAccountRegenerateKeyContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBAccountRegenerateKeyContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to