Giter Site home page Giter Site logo

harveylink / managed-disk-dotnet-create-virtual-machine-using-custom-image-from-vhd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/managed-disk-dotnet-create-virtual-machine-using-custom-image-from-vhd

0.0 0.0 0.0 27.54 MB

Getting started with creating a virtual machine using a VHD, either OS or data disk VHD

Home Page: https://docs.microsoft.com/en-us/dotnet/azure

License: MIT License

C# 100.00%

managed-disk-dotnet-create-virtual-machine-using-custom-image-from-vhd's Introduction

page_type languages products extensions
sample
csharp
azure
services platforms
Compute
dotnet

Getting started with creating a virtual machine using a VHD, either OS or data disk VHD

Azure Compute sample for managing virtual machines -

  • Create an un-managed virtual machine from PIR image with data disks
  • Deallocate the virtual machine
  • Generalize the virtual machine
  • Create a virtual machine custom image from OS and Data disk VHDs of virtual machine
  • Create a second virtual machine using the custom image
  • Create a second virtual machine using the custom image and configure the data disks
  • Deletes the custom image
  • Get SAS Uri to the virtual machine's managed disks.

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/managed-disk-dotnet-create-virtual-machine-using-custom-image-from-VHD.git

cd managed-disk-dotnet-create-virtual-machine-using-custom-image-from-VHD

dotnet build

bin\Debug\net452\CreateVirtualMachineUsingCustomImageFromVHD.exe

More information

Azure Management Libraries for C# Azure .Net Developer Center If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

managed-disk-dotnet-create-virtual-machine-using-custom-image-from-vhd's People

Contributors

anuchandy avatar azure-fluent avatar harveylink avatar jianghaolu avatar lenala avatar selvasingh avatar supernova-eng avatar xseeseesee avatar yaohaizh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.