NamespacesOperationsExtensions.BeginCreateOrUpdateAsync(INamespacesOperations, String, String, NamespaceModelInner, CancellationToken) Method

Definition

Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.NamespaceModelInner> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceBus.Fluent.INamespacesOperations operations, string resourceGroupName, string namespaceName, Microsoft.Azure.Management.ServiceBus.Fluent.Models.NamespaceModelInner parameters, System.Threading.CancellationToken cancellationToken = null);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.ServiceBus.Fluent.INamespacesOperations * string * string * Microsoft.Azure.Management.ServiceBus.Fluent.Models.NamespaceModelInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.Models.NamespaceModelInner>

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the Resource group within the Azure subscription.

namespaceName
System.String

The namespace name

parameters
NamespaceModelInner

Parameters supplied to create a namespace resource.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<NamespaceModelInner>

Applies to