Share via


WebSiteResource.MigrateMySqlAsync Method

Definition

Description for Migrates a local (in-app) MySql database to a remote MySql database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql
  • Operation Id: WebApps_MigrateMySql
  • Default Api Version: 2023-12-01
  • Resource: WebSiteResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.AppServiceOperation>> MigrateMySqlAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.MigrateMySqlContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MigrateMySqlAsync : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.MigrateMySqlContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.AppServiceOperation>>
override this.MigrateMySqlAsync : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.MigrateMySqlContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.AppServiceOperation>>
Public Overridable Function MigrateMySqlAsync (waitUntil As WaitUntil, content As MigrateMySqlContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AppServiceOperation))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
MigrateMySqlContent

MySql migration options.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to