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 Specialized Disk From Snapshot - in Java #
11
+
# Create Virtual Machine Using Specialized Disk From Snapshot (Java)
12
12
13
+
Azure Compute sample for managing virtual machines.
13
14
14
-
Azure Compute sample for managing virtual machines -
15
-
- Create an managed virtual machine from PIR image with data disks
16
-
- Create snapshot from the virtual machine's OS and data disks
17
-
- Create managed disks from the snapshots
18
-
- Create virtual machine by attaching the managed disks
19
-
- Get SAS Uri to the virtual machine's managed disks.
20
-
15
+
- Create an managed virtual machine from PIR image with data disks
16
+
- Create snapshot from the virtual machine's OS and data disks
17
+
- Create managed disks from the snapshots
18
+
- Create virtual machine by attaching the managed disks
19
+
- Get SAS Uri to the virtual machine's managed disks.
21
20
22
-
## Running this Sample ##
21
+
## Running this sample
23
22
24
23
To run this sample:
25
24
26
25
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-specialized-disk-from-snapshot
30
+
mvn clean compile exec:java
31
+
```
29
32
30
-
cd managed-disk-java-create-virtual-machine-using-specialized-disk-from-snapshot
31
-
32
-
mvn clean compile exec:java
33
-
34
-
## More information ##
33
+
## More information
35
34
36
35
[http://azure.com/java](http://azure.com/java)
37
36
38
-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
39
-
40
-
---
37
+
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).
41
38
42
39
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