Compartir a través de


HybridConnectionsOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Método

Definición

Crea o Novedades una regla de autorización para una instancia de HybridConnection

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

Parámetros

operations
IHybridConnectionsOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

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

namespaceName
String

Nombre del espacio de nombres

hybridConnectionName
String

Nombre de la conexión híbrida.

authorizationRuleName
String

Nombre authorizationRule.

parameters
AuthorizationRule

Parámetros de la regla de autorización

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a