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
RegenerateAccessKeyParameters

Constructor

RegenerateAccessKeyParameters(*, key_type: Union[str, azure.mgmt.eventhub.v2021_11_01.models._event_hub_management_client_enums.KeyType], key: Optional[str] = None, **kwargs)

Variables

key_type
str or KeyType

Required. The access key to regenerate. Possible values include: "PrimaryKey", "SecondaryKey".

key
str

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