共用方式為


NamespacesOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Method

Definition

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

Parameters

resourceGroupName
String
namespaceName
String
authorizationRuleName
String
cancellationToken
CancellationToken

Returns

Applies to