Compartilhar via


MigrationConfigsOperationsExtensions.CreateAndStartMigrationAsync Método

Definição

Cria a configuração de migração e inicia a migração de entidades do namespace Standard para Premium

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)

Parâmetros

operations
IMigrationConfigsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos na assinatura do Azure.

namespaceName
String

O nome do namespace

parameters
MigrationConfigProperties

Parâmetros necessários para criar a Configuração de Migração

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a