Compartilhar via


HybridConnectionsOperationsExtensions.GetAuthorizationRuleAsync Método

Definição

HybridConnection authorizationRule para um HybridConnection por nome.

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)

Parâmetros

operations
IHybridConnectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos na assinatura do Azure.

namespaceName
String

O Nome do Namespace

hybridConnectionName
String

O nome da conexão híbrida.

authorizationRuleName
String

O nome authorizationRule.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a