Skip to content

Commit 1815a44

Browse files
authored
Update README.md
1 parent 585fc7b commit 1815a44

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

README.md

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,40 @@ languages:
44
- java
55
products:
66
- azure
7-
description: "Getting Started with Compute - Create Virtual Machine Using Custom Image From VM - in Java"
7+
description: "Azure Compute sample for managing virtual machines."
88
urlFragment: managed-disk-java-create-virtual-machine-using-custom-image
99
---
1010

11-
# 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.
2323

2424

25-
## Running this Sample ##
25+
## Running this sample
2626

2727
To run this sample:
2828

2929
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).
3030

31-
git clone https://github.com/Azure-Samples/managed-disk-java-create-virtual-machine-using-custom-image.git
32-
33-
cd managed-disk-java-create-virtual-machine-using-custom-image
31+
```bash
32+
git clone https://github.com/Azure-Samples/managed-disk-java-create-virtual-machine-using-custom-image.git
33+
cd managed-disk-java-create-virtual-machine-using-custom-image
34+
mvn clean compile exec:java
35+
```
3436

35-
mvn clean compile exec:java
36-
37-
## More information ##
37+
## More information
3838

3939
[http://azure.com/java](http://azure.com/java)
4040

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).
4442

4543
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

Comments
 (0)