共用方式為


NamespacesOperationsExtensions.CreateOrUpdateAsync Method

Definition

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