Share via


NamespacesOperationsExtensions.BeginCreateOrUpdateAsync 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 = default);
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>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As INamespacesOperations, resourceGroupName As String, namespaceName As String, parameters As NamespaceModelInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NamespaceModelInner)

Parameters

operations
INamespacesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

parameters
NamespaceModelInner

Parameters supplied to create a namespace resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to