In this post you will find code snippet to migrate your classic Azure VMs that is part of virtual networks. That is, you will learn Migrating Azure VMs on VNet from Azure Service Management (Classic or ASM) to Azure Resource Manager (Resource Manager or ARM). Without too much discussion, let's start step by step.
You need to have PowerShell installed. In the process of migration you first need to sign in your subscription using modern way that is ARM to prepare migration and then sign in your same subscription using classic approach that is ASM to perform migration and commit.
Let's login ARM
Store subscription id into a variable
$SubID = "1345e4-4561-1bd7-55c1-e3848012qw4r" Step 3.
Select subscription using above variable
Select-AzureRmSubscription -SubscriptionID $SubID
Now, let's prepare the migration on ARM, this operation may take few minutes.
this blog post I am going to cover some really interesting stuff which is very
useful today in web application developments. You will learn how to make jQuery
Ajax GET and POST calls to controller methods.