Class DatabaseAccountRegenerateKeyParameters
java.lang.Object
com.microsoft.azure.management.cosmosdb.DatabaseAccountRegenerateKeyParameters
Parameters to regenerate the keys within the database account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkeyKind()
Get the access key to regenerate.withKeyKind
(KeyKind keyKind) Set the access key to regenerate.
-
Constructor Details
-
DatabaseAccountRegenerateKeyParameters
public DatabaseAccountRegenerateKeyParameters()
-
-
Method Details
-
keyKind
Get the access key to regenerate. Possible values include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'.- Returns:
- the keyKind value
-
withKeyKind
Set the access key to regenerate. Possible values include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'.- Parameters:
keyKind
- the keyKind value to set- Returns:
- the DatabaseAccountRegenerateKeyParameters object itself.
-