NamespacesOperationsExtensions.CreateOrUpdateAsync 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.Models.SBNamespace> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceBus.INamespacesOperations operations, string resourceGroupName, string namespaceName, Microsoft.Azure.Management.ServiceBus.Models.SBNamespace parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceBus.INamespacesOperations * string * string * Microsoft.Azure.Management.ServiceBus.Models.SBNamespace * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.SBNamespace>
<Extension()>
Public Function CreateOrUpdateAsync (operations As INamespacesOperations, resourceGroupName As String, namespaceName As String, parameters As SBNamespace, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SBNamespace)

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
SBNamespace

Parameters supplied to create a namespace resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to