Language

AccountKeyMetadata Class

Definition

The metadata related to an access key for a given database account.

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

Properties

Name Description
ApproximateLastUsageOn

Approximate time in UTC of the most recent usage of the key in ISO-8601 format. If the value is missing from the object, it means there is no recorded data plane usage for this key.

GeneratedOn

Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AccountKeyMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AccountKeyMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AccountKeyMetadata>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AccountKeyMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AccountKeyMetadata>.Write(ModelReaderWriterOptions)

Applies to