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