Skip to content

Commit

Permalink
Update storage-account.md
Browse files Browse the repository at this point in the history
Added documentation of ip and subnet restriction functionality, addressing CompositionalIT#951
  • Loading branch information
teknikal-wizard authored Sep 16, 2022
1 parent 3b1d08e commit ef578a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/content/api-overview/resources/storage-account.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ The Storage Account builder creates storage accounts and their associated contai
| add_cors_rules | Adds a list of CORS rules to the different storage services |
| add_policies | Adds a list of Policies to the different storage services |
| enable_versioning | Enabled versioning for different storage services |
| restrict_to_ip | Restrict access to a given ip address |
| restrict_to_subnet | Restrict access to a given virtual network subnet |
| use_static_website | Activates static website host, and uploads the provided local content as a post-deployment task to the storage with the specified index page |
| static_website_error_page | Specifies the 404 page to display for static website hosting |
| enable_data_lake | Enables Azure Data Lake Gen2 support on the storage account |
Expand Down Expand Up @@ -63,6 +65,9 @@ open Farmer.Storage
let storage = storageAccount {
name "isaacssuperstorage"
sku Storage.Sku.Premium_LRS
restrict_to_ip "11.22.33.44"
restrict_to_ip "12.23.45.78"
restrict_to_subnet "myvnet" "mysubnet"
add_public_container "mypubliccontainer"
add_private_container "myprivatecontainer"
add_blob_container "myblobcontainer"
Expand Down Expand Up @@ -94,4 +99,4 @@ let storage = storageAccount {
enable_versioning [ StorageService.Blobs, true ]
min_tls_version Tls12
}
```
```

0 comments on commit ef578a9

Please sign in to comment.