Skip to content

Commit cb381bc

Browse files
committed
Updated sample
1 parent b1be142 commit cb381bc

File tree

4 files changed

+322
-29
lines changed

4 files changed

+322
-29
lines changed

README.md

+4-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
---
2-
services: compute
2+
services: Compute
33
platforms: java
44
author: selvasingh
55
---
66

77
#Getting Started with Compute - List Virtual Machine Images - in Java #
88

9-
Compute Manage Virtual Machine Sample (for 1.0.0-beta2) - demonstrates how to perform common tasks using the Microsoft Azure Compute service.
109

11-
12-
- List all virtual machine image publishers and
13-
- List all virtual machine images published by Canonical, Red Hat and SUSE by browsing through locations, publishers, offers, SKUs and images.
10+
List all virtual machine image publishers and
11+
list all virtual machine images published by Canonical, Red Hat and
12+
SUSE by browsing through locations, publishers, offers, SKUs and images.
1413

1514

1615
## Running this Sample ##
@@ -29,12 +28,6 @@ Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an aut
2928

3029
[http://azure.com/java] (http://azure.com/java)
3130

32-
[Virtual Machines](https://azure.microsoft.com/en-us/services/virtual-machines/)
33-
34-
[Virtual Machines - Learning Path](https://azure.microsoft.com/en-us/documentation/learning-paths/virtual-machines/)
35-
36-
[Virtual Machines Marketplace](https://azure.microsoft.com/en-us/marketplace/virtual-machines/)
37-
3831
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
3932

4033
---

pom.xml

+5-6
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>com.microsoft.azure</groupId>
44
<artifactId>compute-java-list-vm-images</artifactId>
5-
<version>1.0.0-beta2</version>
5+
<version>0.0.1-SNAPSHOT</version>
66
<name>ListVirtualMachineImages</name>
77
<description></description>
88
<url>https://github.com/Azure/compute-java-list-vm-images</url>
99
<dependencies>
1010
<dependency>
1111
<groupId>com.microsoft.azure</groupId>
1212
<artifactId>azure</artifactId>
13-
<version>1.0.0-beta2</version>
13+
<version>1.0.0-beta3</version>
1414
</dependency>
1515
</dependencies>
1616
<build>
@@ -27,16 +27,15 @@
2727
<version>1.4.0</version>
2828
<configuration>
2929
<mainClass>com.microsoft.azure.management.compute.samples.ListVirtualMachineImages</mainClass>
30-
<cleanupDaemonThreads>false</cleanupDaemonThreads>
3130
</configuration>
3231
</plugin>
3332
<plugin>
3433
<groupId>org.apache.maven.plugins</groupId>
3534
<artifactId>maven-compiler-plugin</artifactId>
3635
<version>3.0</version>
3736
<configuration>
38-
<source>1.8</source>
39-
<target>1.8</target>
37+
<source>1.7</source>
38+
<target>1.7</target>
4039
</configuration>
4140
</plugin>
4241
<plugin>
@@ -64,4 +63,4 @@
6463
</plugin>
6564
</plugins>
6665
</build>
67-
</project>
66+
</project>

src/main/java/com/microsoft/azure/management/compute/samples/ListVirtualMachineImages.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
package com.microsoft.azure.management.compute.samples;
88

9-
import com.microsoft.azure.Azure;
9+
import com.microsoft.azure.management.Azure;
1010
import com.microsoft.azure.management.compute.VirtualMachineOffer;
1111
import com.microsoft.azure.management.compute.VirtualMachinePublisher;
1212
import com.microsoft.azure.management.compute.VirtualMachineImage;

0 commit comments

Comments
 (0)