Udostępnij za pośrednictwem


HybridConnectionsOperationsExtensions.GetAuthorizationRuleAsync 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
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