DatabaseAccountKeysMetadata interface
The metadata related to each access key for the given Cosmos DB database account.
Properties
primary |
The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. NOTE: This property will not be serialized. It can only be populated by the server. |
primary |
The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. NOTE: This property will not be serialized. It can only be populated by the server. |
secondary |
The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. NOTE: This property will not be serialized. It can only be populated by the server. |
secondary |
The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
primaryMasterKey
The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. NOTE: This property will not be serialized. It can only be populated by the server.
primaryMasterKey?: AccountKeyMetadata
Property Value
primaryReadonlyMasterKey
The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. NOTE: This property will not be serialized. It can only be populated by the server.
primaryReadonlyMasterKey?: AccountKeyMetadata
Property Value
secondaryMasterKey
The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. NOTE: This property will not be serialized. It can only be populated by the server.
secondaryMasterKey?: AccountKeyMetadata
Property Value
secondaryReadonlyMasterKey
The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. NOTE: This property will not be serialized. It can only be populated by the server.
secondaryReadonlyMasterKey?: AccountKeyMetadata
Property Value
Azure SDK for JavaScript
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for