NotificationHubsOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operations
- INotificationHubsOperations
- resourceGroupName
- String
- namespaceName
- String
- notificationHubName
- String
- authorizationRuleName
- String
- cancellationToken
- CancellationToken