共用方式為


HybridConnectionsOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Fluent.Models.AuthorizationRuleInner> CreateOrUpdateAuthorizationRuleAsync (this Microsoft.Azure.Management.Relay.Fluent.IHybridConnectionsOperations operations, string resourceGroupName, string namespaceName, string hybridConnectionName, string authorizationRuleName, System.Collections.Generic.IList<Microsoft.Azure.Management.Relay.Fluent.Models.AccessRights?> rights = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAuthorizationRuleAsync : Microsoft.Azure.Management.Relay.Fluent.IHybridConnectionsOperations * string * string * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.Relay.Fluent.Models.AccessRights>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Fluent.Models.AuthorizationRuleInner>
<Extension()>
Public Function CreateOrUpdateAuthorizationRuleAsync (operations As IHybridConnectionsOperations, resourceGroupName As String, namespaceName As String, hybridConnectionName As String, authorizationRuleName As String, Optional rights As IList(Of Nullable(Of AccessRights)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AuthorizationRuleInner)

Parameters

resourceGroupName
String
namespaceName
String
hybridConnectionName
String
authorizationRuleName
String
cancellationToken
CancellationToken

Returns

Applies to