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
# Getting Started with Compute - Create Virtual Machine Using Custom Image From VM - in Java #
12
-
13
-
14
-
Azure Compute sample for managing virtual machines -
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.
11
+
# 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.
23
23
24
24
25
-
## Running this Sample ##
25
+
## Running this sample
26
26
27
27
To run this sample:
28
28
29
29
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
34
+
mvn clean compile exec:java
35
+
```
34
36
35
-
mvn clean compile exec:java
36
-
37
-
## More information ##
37
+
## More information
38
38
39
39
[http://azure.com/java](http://azure.com/java)
40
40
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
-
43
-
---
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).
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 [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
0 commit comments