Skip to content

Commit

Permalink
Release azure-resourcemanager 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-Fluent committed Oct 26, 2020
1 parent 4a4ec3d commit 714bef2
Show file tree
Hide file tree
Showing 4 changed files with 1,707 additions and 1,459 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@ languages:
products:
- azure
extensions:
services: virtual-network,load-balancer
services: Network
platforms: java
---

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


Azure Network sample for creating a simple Internet facing load balancer -

<p>
Summary ...

<p>
- This sample creates a simple Internet facing load balancer that receives network traffic on
port 80 and sends load-balanced traffic to two virtual machines

port 80 and sends load-balanced traffic to two virtual machines
<p>
Details ...

<p>
1. Create two virtual machines for the backend...
- in the same availability set
- in the same virtual network

<p>
Create an Internet facing load balancer with ...
- A public IP address assigned to an implicitly created frontend
- One backend address pool with the two virtual machines to receive HTTP network traffic from the load balancer
- One load balancing rule for HTTP to map public ports on the load
balancer to ports in the backend address pool

balancer to ports in the backend address pool
<p>
Delete the load balancer


## Running this Sample ##

To run this sample:

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

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

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

## More information ##

[http://azure.com/java](http://azure.com/java)
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).

Start to develop applications with Java on Azure [here](http://azure.com/java).

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

---

Expand Down
29 changes: 15 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<configuration>
<mainClass>com.microsoft.azure.management.network.samples.CreateSimpleInternetFacingLoadBalancer</mainClass>
<mainClass>com.azure.resourcemanager.network.samples.CreateSimpleInternetFacingLoadBalancer</mainClass>
<cleanupDaemonThreads>false</cleanupDaemonThreads>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<version>3.8.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand All @@ -40,7 +41,7 @@
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.microsoft.azure.management.network.samples.CreateSimpleInternetFacingLoadBalancer.java</mainClass>
<mainClass>com.azure.resourcemanager.network.samples.CreateSimpleInternetFacingLoadBalancer.java</mainClass>
</manifest>
</archive>
</configuration>
Expand All @@ -51,24 +52,24 @@
</build>
<dependencies>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.36.3</version>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.1.3</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.3</version>
<version>3.6</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit 714bef2

Please sign in to comment.