다음을 통해 공유


CdnExtensions.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 static Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.Models.MigrateResult> MigrateProfile (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.MigrationContent content, System.Threading.CancellationToken cancellationToken = default);
static member MigrateProfile : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.MigrationContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.Models.MigrateResult>
<Extension()>
Public Function MigrateProfile (resourceGroupResource As ResourceGroupResource, waitUntil As WaitUntil, content As MigrationContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of MigrateResult)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

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

resourceGroupResource or content is null.

Applies to