DatabaseAccountKeysMetadata Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The metadata related to each access key for the given Cosmos DB database account.
public class DatabaseAccountKeysMetadata : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata>
type DatabaseAccountKeysMetadata = class
interface IJsonModel<DatabaseAccountKeysMetadata>
interface IPersistableModel<DatabaseAccountKeysMetadata>
Public Class DatabaseAccountKeysMetadata
Implements IJsonModel(Of DatabaseAccountKeysMetadata), IPersistableModel(Of DatabaseAccountKeysMetadata)
- Inheritance
-
DatabaseAccountKeysMetadata
- Implements
Properties
PrimaryMasterKeyGeneratedOn |
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. |
PrimaryReadonlyMasterKeyGeneratedOn |
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. |
SecondaryMasterKeyGeneratedOn |
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. |
SecondaryReadonlyMasterKeyGeneratedOn |
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. |
Explicit Interface Implementations
IJsonModel<DatabaseAccountKeysMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DatabaseAccountKeysMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DatabaseAccountKeysMetadata>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DatabaseAccountKeysMetadata>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DatabaseAccountKeysMetadata>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET