ArmEventHubsModelFactory.EventHubsRegenerateAccessKeyContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET