RegenerateAccessKeyParameters Class

Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.eventhub._serialization.Model
RegenerateAccessKeyParameters

Constructor

RegenerateAccessKeyParameters(*, key_type: str | _models.KeyType, key: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
key_type

The access key to regenerate. Required. Known values are: "PrimaryKey" and "SecondaryKey".

key
str

Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.

Variables

Name Description
key_type

The access key to regenerate. Required. Known values are: "PrimaryKey" and "SecondaryKey".

key
str

Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.