NamespacesOperationsExtensions.CreateOrUpdateAsync 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.
Creates/Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. http://msdn.microsoft.com/en-us/library/windowsazure/jj856303.aspx
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.NamespaceResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.NotificationHubs.INamespacesOperations operations, string resourceGroupName, string namespaceName, Microsoft.Azure.Management.NotificationHubs.Models.NamespaceCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.NotificationHubs.INamespacesOperations * string * string * Microsoft.Azure.Management.NotificationHubs.Models.NamespaceCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.NamespaceResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As INamespacesOperations, resourceGroupName As String, namespaceName As String, parameters As NamespaceCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NamespaceResource)
Parameters
- operations
- INamespacesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- namespaceName
- String
The namespace name.
- parameters
- NamespaceCreateOrUpdateParameters
Parameters supplied to create a Namespace Resource.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET