NamespacesOperationsExtensions.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.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
- operations
- INamespacesOperations
- resourceGroupName
- String
- namespaceName
- String
- authorizationRuleName
- String
- cancellationToken
- CancellationToken