共用方式為


NotificationHubsOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Fluent.Models.SharedAccessAuthorizationRuleResourceInner> CreateOrUpdateAuthorizationRuleAsync (this Microsoft.Azure.Management.NotificationHubs.Fluent.INotificationHubsOperations operations, string resourceGroupName, string namespaceName, string notificationHubName, string authorizationRuleName, Microsoft.Azure.Management.NotificationHubs.Fluent.Models.SharedAccessAuthorizationRuleCreateOrUpdateParametersInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAuthorizationRuleAsync : Microsoft.Azure.Management.NotificationHubs.Fluent.INotificationHubsOperations * string * 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 INotificationHubsOperations, resourceGroupName As String, namespaceName As String, notificationHubName As String, authorizationRuleName As String, parameters As SharedAccessAuthorizationRuleCreateOrUpdateParametersInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharedAccessAuthorizationRuleResourceInner)

Parameters

resourceGroupName
String
namespaceName
String
notificationHubName
String
authorizationRuleName
String
cancellationToken
CancellationToken

Returns

Applies to