< Back

Move-AzureService

Wed Jan 30, 2019 5:47 pm

NAME Move-AzureService



SYNOPSIS

Migrate a cloud service to Azure Resource Manager stack





SYNTAX

Move-AzureService [-Abort] [-ServiceName] <String> [-DeploymentName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

[-InformationVariable <String>] [<CommonParameters>]



Move-AzureService [-Commit] [-ServiceName] <String> [-DeploymentName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

[-InformationVariable <String>] [<CommonParameters>]



Move-AzureService [-Prepare] [-ServiceName] <String> [-DeploymentName] <String> [-CreateNewVirtualNetwork] [-Profile <AzureSMProfile>]

[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]



Move-AzureService [-Prepare] [-ServiceName] <String> [-DeploymentName] <String> [-UseExistingVirtualNetwork] [-VirtualNetworkResourceGroupName] <String>

[-VirtualNetworkName] <String> [-SubnetName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable

<String>] [<CommonParameters>]



Move-AzureService [-Validate] [-ServiceName] <String> [-DeploymentName] <String> [-CreateNewVirtualNetwork] [-Profile <AzureSMProfile>]

[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]



Move-AzureService [-Validate] [-ServiceName] <String> [-DeploymentName] <String> [-UseExistingVirtualNetwork] [-VirtualNetworkResourceGroupName]

<String> [-VirtualNetworkName] <String> [-SubnetName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable

<String>] [<CommonParameters>]





DESCRIPTION

This cmdlet allows you to migrate a cloud service and a deployment inside it to a resource group in the Azure Resource Manager stack.





PARAMETERS

-Abort [<SwitchParameter>]

Cancel the migration process



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ServiceName <String>

Name of the cloud service to migrate



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DeploymentName <String>

Name of the cloud service deployment to migrate



Required? true

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Profile <AzureSMProfile>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Commit [<SwitchParameter>]

Start the migration process



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Prepare [<SwitchParameter>]

Prepare the cloud service for migration



Required? true

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-CreateNewVirtualNetwork [<SwitchParameter>]

Used to specify when a new Virtual Network needs to be created in Azure Resource Manager stack



Required? true

Position? 3

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-UseExistingVirtualNetwork [<SwitchParameter>]

Used to migrate the cloud service to an existing Virtual Network in the Azure Resource Manager stack



Required? true

Position? 3

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-VirtualNetworkResourceGroupName <String>

Name of the Resource Group of the existing Virtual Network



Required? true

Position? 4

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VirtualNetworkName <String>

Name of the existing Virtual Network



Required? true

Position? 5

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SubnetName <String>

Name of the existing Subnet inside the existing Virtual Network



Required? true

Position? 6

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Validate [<SwitchParameter>]

Validate the cloud service for migration



Required? true

Position? 0

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- Example 1 --------------------------



Move-AzureService -Prepare -ServiceName "contosoService" -DeploymentName "contosoVM" -CreateNewVirtualNetwork





-------------------------- Example 2 --------------------------



Move-AzureService -Commit -ServiceName "contosoService" -DeploymentName "contosoVM"





-------------------------- Example 3 --------------------------



Move-AzureService -Abort -ServiceName "contosoService" -DeploymentName "contosoVM"





-------------------------- Example 4 --------------------------



Move-AzureService -Prepare -ServiceName "contosoService" -DeploymentName "contosoVM" -UseExistingVirtualNetwork -VirtualNetworkResourceGroupName

"vnetRG" -VirtualNetworkName "contosoVNET" -SubnetName "contosoSubnet"





-------------------------- Example 5 --------------------------



Move-AzureService -Validate -ServiceName "contosoService" -DeploymentName "contosoVM" -CreateNewVirtualNetwork





-------------------------- Example 6 --------------------------



Move-AzureService -Validate -ServiceName "contosoService" -DeploymentName "contosoVM" -UseExistingVirtualNetwork -VirtualNetworkResourceGroupName

"vnetRG" -VirtualNetworkName "contosoVNET" -SubnetName "contosoSubnet"







RELATED LINKS