Udostępnij za pośrednictwem


AccessKeys Constructors

Definition

Overloads

AccessKeys()

Initializes a new instance of the AccessKeys class.

AccessKeys(String, String, String, String, String, String, String)

Initializes a new instance of the AccessKeys class.

AccessKeys()

Initializes a new instance of the AccessKeys class.

public AccessKeys ();
Public Sub New ()

Applies to

AccessKeys(String, String, String, String, String, String, String)

Initializes a new instance of the AccessKeys class.

public AccessKeys (string primaryConnectionString = default, string secondaryConnectionString = default, string aliasPrimaryConnectionString = default, string aliasSecondaryConnectionString = default, string primaryKey = default, string secondaryKey = default, string keyName = default);
new Microsoft.Azure.Management.EventHub.Models.AccessKeys : string * string * string * string * string * string * string -> Microsoft.Azure.Management.EventHub.Models.AccessKeys
Public Sub New (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)

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.

Applies to