Share via


NamespacesOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Method

Definition

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

Returns

Applies to