You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Create Virtual Machine Using Custom Image From VM (Java)
12
-
13
-
Azure Compute sample for managing virtual machines.
14
-
15
-
- Create an un-managed virtual machine from PIR image with data disks
16
-
- Deallocate the virtual machine
17
-
- Generalize the virtual machine
18
-
- Create a virtual machine custom image from the virtual machine
19
-
- Create a second managed virtual machine using the custom image
20
-
- Create a third virtual machine using the custom image and configure the data disks
21
-
- Deletes the custom image
22
-
- Get SAS Uri to the virtual machine's managed disks.
12
+
# Getting Started with Compute - Create Virtual Machine Using Custom Image From VM - in Java #
13
+
14
+
15
+
Azure Compute sample for managing virtual machines -
16
+
- Create an un-managed virtual machine from PIR image with data disks
17
+
- Deallocate the virtual machine
18
+
- Generalize the virtual machine
19
+
- Create a virtual machine custom image from the virtual machine
20
+
- Create a second managed virtual machine using the custom image
21
+
- Create a third virtual machine using the custom image and configure the data disks
22
+
- Deletes the custom image
23
+
- Get SAS Uri to the virtual machine's managed disks.
23
24
24
25
25
-
## Running this sample
26
+
## Running this Sample ##
26
27
27
28
To run this sample:
28
29
29
30
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-libraries-for-java/blob/master/AUTH.md).
cd managed-disk-java-create-virtual-machine-using-custom-image
36
35
37
-
## More information
36
+
mvn clean compile exec:java
37
+
38
+
## More information ##
38
39
39
40
[http://azure.com/java](http://azure.com/java)
40
41
41
-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).
42
+
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
43
+
44
+
---
42
45
43
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
46
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
0 commit comments