ArmEventHubsModelFactory.EventHubsAccessKeys 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 EventHubsAccessKeys.
public static Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys EventHubsAccessKeys (string primaryConnectionString = default, string secondaryConnectionString = default, string aliasPrimaryConnectionString = default, string aliasSecondaryConnectionString = default, string primaryKey = default, string secondaryKey = default, string keyName = default);
static member EventHubsAccessKeys : string * string * string * string * string * string * string -> Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys
Public Shared Function EventHubsAccessKeys (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 EventHubsAccessKeys
Parameters
- primaryConnectionString
- String
Primary connection string of the created namespace AuthorizationRule.
- secondaryConnectionString
- String
Secondary connection string of the created namespace AuthorizationRule.
- 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 AuthorizationRule.
Returns
A new EventHubsAccessKeys instance for mocking.
Applies to
Azure SDK for .NET