Azure Code Samples

Learn to interact with Azure services through code

49 code samples match your filter

Getting Started with Compute - Manage Virtual Machines - in C# asynchronously

Getting Started with Compute - Manage Virtual Machines - in C# asynchronously

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Manage virtual machines in availability zones

Manage virtual machines in availability zones

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

This sample demonstrates how to manage your Azure virtual machines using a .NET client

This sample demonstrates how to manage your Azure virtual machines using a .NET client

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on managing virtual machines using vm extensions in C#

Getting started on managing virtual machines using vm extensions in C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on managing virtual machines in parallel in C#

Getting started on managing virtual machines in parallel in C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started with converting Virtual Machines to use Managed Disks

Getting started with converting Virtual Machines to use Managed Disks

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on creating virtual machines from generalized image or specialized VHD in C#

Getting started on creating virtual machines from generalized image or specialized VHD in C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on creating several virtual machines across regions in parallel in C#

Getting started on creating several virtual machines across regions in parallel in C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on managing virtual machines within subnets in parallel in C#

Getting started on managing virtual machines within subnets in parallel in C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Use network watcher to check connectivity between virtual machines in peered networks

Use network watcher to check connectivity between virtual machines in peered networks

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on listing virtual machine images in C#

Getting started on listing virtual machine images in C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on listing virtual machine extension images in C#

Getting started on listing virtual machine extension images in C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on managing Azure VM from a virtual machine using with managed service identity (MSI) credentials

Getting started on managing Azure VM from a virtual machine using with managed service identity (MSI) credentials

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on managing Azure resources from a virtual machine with managed service identity (MSI) using C#

Getting started on managing Azure resources from a virtual machine with managed service identity (MSI) using C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Getting started on managing Azure resources from a managed service identity (MSI) enabled virtual machine that belongs to an Azure Active Directory (AAD) security group using C#

Getting started on managing Azure resources from a managed service identity (MSI) enabled virtual machine that belongs to an Azure Active Directory (AAD) security group using C#

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Manage virtual networks in C# asynchronously - create a virtual network, create a virtual network with subnets, update a virtual network, list virtual networks, delete a virtual network

Manage virtual networks in C# asynchronously - create a virtual network, create a virtual network with subnets, update a virtual network, list virtual networks, delete a virtual network

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Manage virtual network to virtual network VPN connection

Manage virtual network to virtual network VPN connection

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019

Manage network peering between two virtual networks

Manage network peering between two virtual networks

yaohaizh by Yaohai Zheng,
Last updated: 6/18/2019