Compartilhar via


ArmEventHubsModelFactory.EventHubsRegenerateAccessKeyContent Method

Definition

Initializes a new instance of EventHubsRegenerateAccessKeyContent.

public static Azure.ResourceManager.EventHubs.Models.EventHubsRegenerateAccessKeyContent EventHubsRegenerateAccessKeyContent (Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeyType keyType = default, string key = default);
static member EventHubsRegenerateAccessKeyContent : Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeyType * string -> Azure.ResourceManager.EventHubs.Models.EventHubsRegenerateAccessKeyContent
Public Shared Function EventHubsRegenerateAccessKeyContent (Optional keyType As EventHubsAccessKeyType = Nothing, Optional key As String = Nothing) As EventHubsRegenerateAccessKeyContent

Parameters

keyType
EventHubsAccessKeyType

The access key to regenerate.

key
String

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

Returns

A new EventHubsRegenerateAccessKeyContent instance for mocking.

Applies to