Dela via


MigrationConfigsOperationsExtensions.CreateAndStartMigrationAsync Method

Definition

Creates Migration configuration and starts migration of entities from Standard to Premium namespace

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.MigrationConfigProperties> CreateAndStartMigrationAsync (this Microsoft.Azure.Management.ServiceBus.IMigrationConfigsOperations operations, string resourceGroupName, string namespaceName, Microsoft.Azure.Management.ServiceBus.Models.MigrationConfigProperties parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAndStartMigrationAsync : Microsoft.Azure.Management.ServiceBus.IMigrationConfigsOperations * string * string * Microsoft.Azure.Management.ServiceBus.Models.MigrationConfigProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.MigrationConfigProperties>
<Extension()>
Public Function CreateAndStartMigrationAsync (operations As IMigrationConfigsOperations, resourceGroupName As String, namespaceName As String, parameters As MigrationConfigProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MigrationConfigProperties)

Parameters

operations
IMigrationConfigsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

parameters
MigrationConfigProperties

Parameters required to create Migration Configuration

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to