ArmServiceBusModelFactory.ServiceBusAccessKeys 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 ServiceBusAccessKeys.
public static Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys ServiceBusAccessKeys (string primaryConnectionString = default, string secondaryConnectionString = default, string aliasPrimaryConnectionString = default, string aliasSecondaryConnectionString = default, string primaryKey = default, string secondaryKey = default, string keyName = default);
static member ServiceBusAccessKeys : string * string * string * string * string * string * string -> Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys
Public Shared Function ServiceBusAccessKeys (Optional primaryConnectionString As String = Nothing, Optional secondaryConnectionString As String = Nothing, Optional aliasPrimaryConnectionString As String = Nothing, Optional aliasSecondaryConnectionString As String = Nothing, Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional keyName As String = Nothing) As ServiceBusAccessKeys
Parameters
- primaryConnectionString
- String
Primary connection string of the created namespace authorization rule.
- secondaryConnectionString
- String
Secondary connection string of the created namespace authorization rule.
- aliasPrimaryConnectionString
- String
Primary connection string of the alias if GEO DR is enabled.
- aliasSecondaryConnectionString
- String
Secondary connection string of the alias if GEO DR is enabled.
- primaryKey
- String
A base64-encoded 256-bit primary key for signing and validating the SAS token.
- secondaryKey
- String
A base64-encoded 256-bit primary key for signing and validating the SAS token.
- keyName
- String
A string that describes the authorization rule.
Returns
A new ServiceBusAccessKeys instance for mocking.
Applies to
Azure SDK for .NET