Share via


MockableCdnResourceGroupResource.MigrateProfile Method

Definition

Migrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/migrate
  • Operation Id: Profiles_Migrate
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.Models.MigrateResult> MigrateProfile (Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.MigrationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member MigrateProfile : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.MigrationContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.Models.MigrateResult>
override this.MigrateProfile : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.MigrationContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.Models.MigrateResult>
Public Overridable Function MigrateProfile (waitUntil As WaitUntil, content As MigrationContent, 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
MigrationContent

Properties needed to migrate the profile.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to