ArmServiceBusModelFactory.ServiceBusRegenerateAccessKeyContent 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 ServiceBusRegenerateAccessKeyContent.
public static Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent ServiceBusRegenerateAccessKeyContent (Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeyType keyType = Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeyType.PrimaryKey, string key = default);
static member ServiceBusRegenerateAccessKeyContent : Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeyType * string -> Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent
Public Shared Function ServiceBusRegenerateAccessKeyContent (Optional keyType As ServiceBusAccessKeyType = Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeyType.PrimaryKey, Optional key As String = Nothing) As ServiceBusRegenerateAccessKeyContent
Parameters
- keyType
- ServiceBusAccessKeyType
The access key to regenerate.
- key
- String
Optional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType.
Returns
A new ServiceBusRegenerateAccessKeyContent 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