WebSiteResource.MigrateMySql 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.AppServiceOperation> MigrateMySql (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppService.Models.MigrateMySqlContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MigrateMySql : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.MigrateMySqlContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.AppServiceOperation>
override this.MigrateMySql : Azure.WaitUntil * Azure.ResourceManager.AppService.Models.MigrateMySqlContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppService.Models.AppServiceOperation>
Public Overridable Function MigrateMySql (waitUntil As WaitUntil, content As MigrateMySqlContent, Optional cancellationToken As CancellationToken = Nothing) As 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