Edit

Share via


New-AzCdnMigrationEndpointMappingObject

Create an in-memory object for MigrationEndpointMapping.

Syntax

New-AzCdnMigrationEndpointMappingObject
   [-MigratedFrom <String>]
   [-MigratedTo <String>]
   [<CommonParameters>]

Description

Create an in-memory object for MigrationEndpointMapping.

Examples

Example 1: Create a Cdn Migration Endpoint Mapping Object

$map1 = New-AzCdnMigrationEndpointMappingObject -MigratedFrom maxtestendpointcli-test-profile1.azureedge.net -MigratedTo maxtestendpointcli-test-profile2

Generate a map for endpoint to be migrated

Parameters

-MigratedFrom

Name of the classic CDN profile endpoint.

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

-MigratedTo

Name of the newly created migrated Azure Frontdoor Standard/Premium profile endpoint. This name will replace the name of the classic CDN endpoint resource.

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

Outputs

MigrationEndpointMapping