Skip to content

Commit 714bef2

Browse files
committed
Release azure-resourcemanager 2.0.0
1 parent 4a4ec3d commit 714bef2

File tree

4 files changed

+1707
-1459
lines changed

4 files changed

+1707
-1459
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,40 @@ languages:
55
products:
66
- azure
77
extensions:
8-
services: virtual-network,load-balancer
8+
services: Network
99
platforms: java
1010
---
1111

1212
# Getting Started with Network - Create Simple Internet Facing Load Balancer - in Java #
1313

1414

1515
Azure Network sample for creating a simple Internet facing load balancer -
16-
16+
<p>
1717
Summary ...
18-
18+
<p>
1919
- This sample creates a simple Internet facing load balancer that receives network traffic on
20-
port 80 and sends load-balanced traffic to two virtual machines
21-
20+
port 80 and sends load-balanced traffic to two virtual machines
21+
<p>
2222
Details ...
23-
23+
<p>
2424
1. Create two virtual machines for the backend...
2525
- in the same availability set
2626
- in the same virtual network
27-
27+
<p>
2828
Create an Internet facing load balancer with ...
2929
- A public IP address assigned to an implicitly created frontend
3030
- One backend address pool with the two virtual machines to receive HTTP network traffic from the load balancer
3131
- One load balancing rule for HTTP to map public ports on the load
32-
balancer to ports in the backend address pool
33-
32+
balancer to ports in the backend address pool
33+
<p>
3434
Delete the load balancer
3535

3636

3737
## Running this Sample ##
3838

3939
To run this sample:
4040

41-
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).
41+
See [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/identity/azure-identity#defaultazurecredential) and prepare the authentication works best for you. For more details on authentication, please refer to [AUTH.md](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/resourcemanager/docs/AUTH.md).
4242

4343
git clone https://github.com/Azure-Samples/network-java-create-simple-internet-facing-load-balancer.git
4444

@@ -48,9 +48,11 @@ Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an aut
4848

4949
## More information ##
5050

51-
[http://azure.com/java](http://azure.com/java)
51+
For general documentation as well as quickstarts on how to use Azure Management Libraries for Java, please see [here](https://aka.ms/azsdk/java/mgmt).
52+
53+
Start to develop applications with Java on Azure [here](http://azure.com/java).
5254

53-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
55+
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).
5456

5557
---
5658

pom.xml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515
<artifactId>exec-maven-plugin</artifactId>
1616
<version>1.4.0</version>
1717
<configuration>
18-
<mainClass>com.microsoft.azure.management.network.samples.CreateSimpleInternetFacingLoadBalancer</mainClass>
18+
<mainClass>com.azure.resourcemanager.network.samples.CreateSimpleInternetFacingLoadBalancer</mainClass>
19+
<cleanupDaemonThreads>false</cleanupDaemonThreads>
1920
</configuration>
2021
</plugin>
2122
<plugin>
2223
<artifactId>maven-compiler-plugin</artifactId>
23-
<version>3.0</version>
24+
<version>3.8.1</version>
2425
<configuration>
25-
<source>1.7</source>
26-
<target>1.7</target>
26+
<source>1.8</source>
27+
<target>1.8</target>
2728
</configuration>
2829
</plugin>
2930
<plugin>
@@ -40,7 +41,7 @@
4041
</descriptorRefs>
4142
<archive>
4243
<manifest>
43-
<mainClass>com.microsoft.azure.management.network.samples.CreateSimpleInternetFacingLoadBalancer.java</mainClass>
44+
<mainClass>com.azure.resourcemanager.network.samples.CreateSimpleInternetFacingLoadBalancer.java</mainClass>
4445
</manifest>
4546
</archive>
4647
</configuration>
@@ -51,24 +52,24 @@
5152
</build>
5253
<dependencies>
5354
<dependency>
54-
<groupId>com.microsoft.azure</groupId>
55-
<artifactId>azure</artifactId>
56-
<version>1.36.3</version>
55+
<groupId>com.azure.resourcemanager</groupId>
56+
<artifactId>azure-resourcemanager</artifactId>
57+
<version>2.0.0</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>com.azure</groupId>
61+
<artifactId>azure-identity</artifactId>
62+
<version>1.1.3</version>
5763
</dependency>
5864
<dependency>
5965
<groupId>commons-net</groupId>
6066
<artifactId>commons-net</artifactId>
61-
<version>3.3</version>
67+
<version>3.6</version>
6268
</dependency>
6369
<dependency>
6470
<groupId>commons-lang</groupId>
6571
<artifactId>commons-lang</artifactId>
6672
<version>2.6</version>
6773
</dependency>
68-
<dependency>
69-
<groupId>org.apache.commons</groupId>
70-
<artifactId>commons-lang3</artifactId>
71-
<version>3.7</version>
72-
</dependency>
7374
</dependencies>
7475
</project>

0 commit comments

Comments
 (0)