Compartir a través de


HybridConnectionsOperationsExtensions.GetAuthorizationRuleAsync Método

Definición

Autorización de HybridConnectionRule para una instancia de HybridConnection por nombre.

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

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos dentro de la suscripción de Azure.

namespaceName
String

El nombre del espacio de nombres

hybridConnectionName
String

El nombre de la conexión híbrida.

authorizationRuleName
String

Nombre de authorizationRule.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a