HybridConnectionsOperationsExtensions.GetAuthorizationRuleAsync(IHybridConnectionsOperations, String, String, String, String, CancellationToken) Method

Definition

HybridConnection authorizationRule for a HybridConnection by name.

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

Parameters

operations
IHybridConnectionsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the Resource group within the Azure subscription.

namespaceName
System.String

The Namespace Name

hybridConnectionName
System.String

The hybrid connection name.

authorizationRuleName
System.String

The authorizationRule name.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<AuthorizationRule>

Applies to