Class DatabaseAccountRegenerateKeyParameters
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Parameters to regenerate the keys within the database account.
public class DatabaseAccountRegenerateKeyParameters
- Inheritance
-
DatabaseAccountRegenerateKeyParameters
- Inherited Members
Constructors
DatabaseAccountRegenerateKeyParameters()
Initializes a new instance of the DatabaseAccountRegenerateKeyParameters class.
public DatabaseAccountRegenerateKeyParameters()
DatabaseAccountRegenerateKeyParameters(KeyKind)
Initializes a new instance of the DatabaseAccountRegenerateKeyParameters class.
public DatabaseAccountRegenerateKeyParameters(KeyKind keyKind)
Parameters
keyKind
KeyKindThe access key to regenerate. Possible values include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'
Properties
KeyKind
Gets or sets the access key to regenerate. Possible values include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'
public KeyKind KeyKind { get; set; }
Property Value
Methods
Validate()
Validate the object.
public virtual void Validate()
Exceptions
- Microsoft.Rest.ValidationException
Thrown if validation fails