< Back

Move-AzureRmExpressRouteCircuit

Tue Jan 29, 2019 9:55 pm

NAME Move-AzureRmExpressRouteCircuit



SYNOPSIS

Moves an ExpressRoute circuit from the classic deployment model to the Resource Manager deployment model.





SYNTAX

Move-AzureRmExpressRouteCircuit [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -Location <String> -Name <String> -ResourceGroupName

<String> -ServiceKey <String> [-Tag <Hashtable>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Move-AzureRmExpressRouteCircuit cmdlet moves an ExpressRoute circuit from the classic deployment model to the Resource Manager deployment

model. After the move, the ExpressRoute circuit behaves and performs like any other ExpressRoute circuit that is created in the Resource Manager

deployment model. Circuit links, virtual networks, and VPN gateways are not moved through this operation. Those resources need to be reconfigured

after the move.





PARAMETERS

-AsJob [<SwitchParameter>]

Run cmdlet in the background



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Location <String>

The name of the Azure location where the ExpressRoute circuit resides.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

The name of the ExpressRoute circuit to be moved.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

The name of the resource group that will contain the ExpressRoute circuit being moved.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ServiceKey <String>

The Service Key used by the ExpressRoute circuit in the classic deployment model.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <Hashtable>

Key-value pairs in the form of a hash table. For example:



@{key0="value0";key1=$null;key2="value2"}



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSExpressRouteCircuit







NOTES









Example 1: Move an ExpressRoute circuit to the Resource Manager deployment model



Move-AzureRmExpressRouteCircuit -Name $CircuitName -ResourceGroupName $RG -Location $Location -ServiceKey $ServiceKey











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... utecircuit

Get-AzureRmExpressRouteCircuit

New-AzureRmExpressRouteCircuit

Remove-AzureRmExpressRouteCircuit

Set-AzureRmExpressRouteCircuit