GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Azure-Samples/managed-disk-java-create-virtual-machine-using-custom-image: Getting started with creating a virtual machine using a custom image using Java

This repository was archived by the owner on Jul 9, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
src/main/java/com/azure/resourcemanager
src/main/java/com/azure/resourcemanager
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

page_type sample
languages
java
products
azure
extensions
services platforms
Compute
java

Getting Started with Compute - Create Virtual Machine Using Custom Image From VM - in Java

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 the virtual machine
  • Create a second managed virtual machine using the custom image
  • Create a third 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:

See DefaultAzureCredential and prepare the authentication works best for you. For more details on authentication, please refer to AUTH.md.

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

cd managed-disk-java-create-virtual-machine-using-custom-image

mvn clean compile exec:java

More information

For general documentation as well as quickstarts on how to use Azure Management Libraries for Java, please see here.

If you find bug in the sample, please create an issue here.

Start to develop applications with Java on Azure here.

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.

About

Getting started with creating a virtual machine using a custom image using Java

docs.microsoft.com/java/azure

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

3 stars

Watchers

20 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.