You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Getting Started with Storage - Manage Storage Account Network Rules - in Java #
12
+
# Manage Storage Account Network Rules (Java)
12
13
14
+
Azure Storage sample for managing storage account network rules.
13
15
14
-
Azure Storage sample for managing storage account network rules -
15
-
- Create a virtual network and subnet with storage service subnet access enabled
16
-
- Create a storage account with access allowed only from the subnet
17
-
- Create a public IP address
18
-
- Create a virtual machine and associate the public IP address
19
-
- Update the storage account with access also allowed from the public IP address
20
-
- Update the storage account to restrict incoming traffic to HTTPS.
16
+
- Create a virtual network and subnet with storage service subnet access enabled
17
+
- Create a storage account with access allowed only from the subnet
18
+
- Create a public IP address
19
+
- Create a virtual machine and associate the public IP address
20
+
- Update the storage account with access also allowed from the public IP address
21
+
- Update the storage account to restrict incoming traffic to HTTPS.
21
22
22
23
23
-
## Running this Sample ##
24
+
## Running this sample
24
25
25
26
To run this sample:
26
27
27
28
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).
cd storage-java-manage-storage-account-network-rules
33
+
mvn clean compile exec:java
34
+
```
30
35
31
-
cd storage-java-manage-storage-account-network-rules
32
-
33
-
mvn clean compile exec:java
34
-
35
-
## More information ##
36
+
## More information
36
37
37
38
[http://azure.com/java](http://azure.com/java)
38
39
39
-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
40
-
41
-
---
40
+
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
41
43
42
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 [[email protected]](mailto:[email protected]) with any additional questions or comments.
0 commit comments