Share via


ProfileResource.MigrateCdnToAfd Method

Definition

Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize the migration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/cdnMigrateToAfd
  • Operation Id: Profiles_CdnMigrateToAfd
  • Default Api Version: 2025-04-15
  • Resource: ProfileResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.Models.MigrateResult> MigrateCdnToAfd(Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.CdnMigrationToAfdContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MigrateCdnToAfd : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.CdnMigrationToAfdContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.Models.MigrateResult>
override this.MigrateCdnToAfd : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.CdnMigrationToAfdContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.Models.MigrateResult>
Public Overridable Function MigrateCdnToAfd (waitUntil As WaitUntil, content As CdnMigrationToAfdContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of MigrateResult)

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
CdnMigrationToAfdContent

Properties needed to migrate the profile.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to