Partilhar via


DatabaseAccountListKeysResult Interface

Implements

public interface DatabaseAccountListKeysResult
extends HasInnerModel<DatabaseAccountListKeysResultInner>

An immutable client-side representation of an Azure Cosmos DB DatabaseAccountListKeysResult.

Method Summary

Modifier and Type Method and Description
abstract String primaryMasterKey()
abstract String primaryReadonlyMasterKey()
abstract String secondaryMasterKey()
abstract String secondaryReadonlyMasterKey()

Method Details

primaryMasterKey

public abstract String primaryMasterKey()

Returns:

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

primaryReadonlyMasterKey

public abstract String primaryReadonlyMasterKey()

Returns:

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

secondaryMasterKey

public abstract String secondaryMasterKey()

Returns:

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

secondaryReadonlyMasterKey

public abstract String secondaryReadonlyMasterKey()

Returns:

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

Applies to