Share via


HybridConnectionsOperationsExtensions.ListKeysAsync Method

Definition

Primary and Secondary ConnectionStrings to the HybridConnection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Models.AccessKeys> ListKeysAsync (this Microsoft.Azure.Management.Relay.IHybridConnectionsOperations operations, string resourceGroupName, string namespaceName, string hybridConnectionName, string authorizationRuleName, System.Threading.CancellationToken cancellationToken = default);
static member ListKeysAsync : Microsoft.Azure.Management.Relay.IHybridConnectionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Models.AccessKeys>
<Extension()>
Public Function ListKeysAsync (operations As IHybridConnectionsOperations, resourceGroupName As String, namespaceName As String, hybridConnectionName As String, authorizationRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AccessKeys)

Parameters

operations
IHybridConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The Namespace Name

hybridConnectionName
String

The hybrid connection name.

authorizationRuleName
String

The authorizationRule name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to