Skip to content

Commit 0f46d62

Browse files
committed
Release azure-resourcemanager 2.0.0
1 parent 12c1419 commit 0f46d62

File tree

4 files changed

+1799
-1551
lines changed

4 files changed

+1799
-1551
lines changed

README.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,45 @@ 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 - Manage Internet Facing Load Balancer - in Java #
1313

1414

1515
Azure Network sample for managing Internet facing load balancers -
16-
16+
<p>
1717
High-level ...
18-
18+
<p>
1919
- Create an Internet facing load balancer that receives network traffic on
20-
port 80 &amp; 443 and sends load-balanced traffic to two virtual machines
21-
20+
port 80 &amp; 443 and sends load-balanced traffic to two virtual machines
21+
<p>
2222
- Create NAT rules for SSH and TELNET access to virtual
23-
machines behind the load balancer
24-
23+
machines behind the load balancer
24+
<p>
2525
- Create health probes
26-
26+
<p>
2727
Details ...
28-
28+
<p>
2929
Create an Internet facing load balancer with ...
3030
- A frontend public IP address
3131
- Two backend address pools which contain network interfaces for the virtual
32-
machines to receive HTTP and HTTPS network traffic from the load balancer
32+
machines to receive HTTP and HTTPS network traffic from the load balancer
3333
- Two load balancing rules for HTTP and HTTPS to map public ports on the load
34-
balancer to ports in the backend address pool
34+
balancer to ports in the backend address pool
3535
- Two probes which contain HTTP and HTTPS health probes used to check availability
36-
of virtual machines in the backend address pool
36+
of virtual machines in the backend address pool
3737
- Two inbound NAT rules which contain rules that map a public port on the load
38-
balancer to a port for a specific virtual machine in the backend address pool
38+
balancer to a port for a specific virtual machine in the backend address pool
3939
- this provides direct VM connectivity for SSH to port 22 and TELNET to port 23
40-
40+
<p>
4141
Create two network interfaces in the frontend subnet ...
4242
- And associate network interfaces to backend pools and NAT rules
43-
43+
<p>
4444
Create two virtual machines in the frontend subnet ...
4545
- And assign network interfaces
46-
46+
<p>
4747
Update an existing load balancer, configure TCP idle timeout
4848
Create another load balancer
4949
Remove an existing load balancer
@@ -53,7 +53,7 @@ extensions:
5353

5454
To run this sample:
5555

56-
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).
56+
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).
5757

5858
git clone https://github.com/Azure-Samples/network-java-manage-internet-facing-load-balancers.git
5959

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

6464
## More information ##
6565

66-
[http://azure.com/java](http://azure.com/java)
66+
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).
67+
68+
Start to develop applications with Java on Azure [here](http://azure.com/java).
6769

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

7072
---
7173

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.ManageInternetFacingLoadBalancer</mainClass>
18+
<mainClass>com.azure.resourcemanager.network.samples.ManageInternetFacingLoadBalancer</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.ManageInternetFacingLoadBalancer.java</mainClass>
44+
<mainClass>com.azure.resourcemanager.network.samples.ManageInternetFacingLoadBalancer.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)