共用方式為


WCFRelaysOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Fluent.Models.AuthorizationRuleInner> CreateOrUpdateAuthorizationRuleAsync (this Microsoft.Azure.Management.Relay.Fluent.IWCFRelaysOperations operations, string resourceGroupName, string namespaceName, string relayName, 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.IWCFRelaysOperations * 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 IWCFRelaysOperations, resourceGroupName As String, namespaceName As String, relayName 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
relayName
String
authorizationRuleName
String
cancellationToken
CancellationToken

Returns

Applies to