편집

다음을 통해 공유


Stop-AzFrontDoorCdnProfileMigration

Abort classic cdn migrate to AFDx. Your new Front Door Profile will be deleted and your existing profile will remain active. WAF policies will not be deleted.

Syntax

Stop-AzFrontDoorCdnProfileMigration
    -ProfileName <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String>]
    [-DefaultProfile <PSObject>]
    [-AsJob]
    [-NoWait]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Abort classic cdn migrate to AFDx. Your new Front Door Profile will be deleted and your existing profile will remain active. WAF policies will not be deleted.

Examples

Example 1: Abort classic CDN migrate to AFDx

Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName

Abort classic CDN migrate to AFDx. This will delete all the AFD Standard or Premium configurations

Example 2: Abort classic CDN migrate to AFDx, when the subscription of the classic CDN is different from the local subscrition

Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01

Abort classic CDN migrate to AFDx. When the subscription of the classic CDN is different from the local subscrition, You need to set the value of the subscription parameter. This will delete all the AFD Standard or Premium configurations.

Parameters

-AsJob

Run the command as a job

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NoWait

Run the command asynchronously

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProfileName

Name of the new AFD Standard/Premium profile that created in AFDx.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Name of the Resource group within the Azure subscription.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The subscription ID that identifies an Azure subscription.

Type:String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Boolean