forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#30 from calvinhzy/elastic-san2
Add command model for `az elastic-san`
- Loading branch information
Showing
36 changed files
with
10,946 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san create_ | ||
|
||
Create an Elastic SAN. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Create an Elastic SAN. | ||
```bash | ||
elastic-san create -n {san_name} -g {rg} --tags "{key1810:aaaa}" -l southcentralusstg --base-size-tib 23 --extended-capacity-size-tib 14 --sku "{name:Premium_LRS,tier:Premium}" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san delete_ | ||
|
||
Delete an Elastic SAN. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Delete an Elastic SAN. | ||
```bash | ||
elastic-san delete -g {rg} -n {san_name} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san list-sku_ | ||
|
||
Get a list of Elastic SAN skus. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.elasticsan/skus 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Get a list of Elastic SAN skus. | ||
```bash | ||
elastic-san list-sku | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# [Command] _elastic-san list_ | ||
|
||
Get a list of Elastic SANs in a subscription. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.elasticsan/elasticsans 2021-11-20-preview --> | ||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Get a list of Elastic SANs in a subscription. | ||
```bash | ||
elastic-san list -g {rg} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san show_ | ||
|
||
Get an Elastic SAN. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Get an Elastic SAN. | ||
```bash | ||
elastic-san show -g {rg} -n {san_name} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san update_ | ||
|
||
Update an Elastic SAN. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Update an Elastic SAN. | ||
```bash | ||
elastic-san update -n {san_name} -g {rg} --tags "{key1710:bbbb}" --base-size-tib 25 --extended-capacity-size-tib 15 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# [Group] _elastic-san_ | ||
|
||
Manage Elastic SAN. | ||
|
||
## Subgroups | ||
|
||
- [volume](/Commands/elastic-san/volume/readme.md) | ||
: Manage Elastic SAN Volume. | ||
|
||
- [volume-group](/Commands/elastic-san/volume-group/readme.md) | ||
: Manage Elastic SAN Volume Group. | ||
|
||
## Commands | ||
|
||
- [create](/Commands/elastic-san/_create.md) | ||
: Create an Elastic SAN. | ||
|
||
- [delete](/Commands/elastic-san/_delete.md) | ||
: Delete an Elastic SAN. | ||
|
||
- [list](/Commands/elastic-san/_list.md) | ||
: Get a list of Elastic SANs in a subscription. | ||
|
||
- [list-sku](/Commands/elastic-san/_list-sku.md) | ||
: Get a list of Elastic SAN skus. | ||
|
||
- [show](/Commands/elastic-san/_show.md) | ||
: Get an Elastic SAN. | ||
|
||
- [update](/Commands/elastic-san/_update.md) | ||
: Update an Elastic SAN. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume-group create_ | ||
|
||
Create a Volume Group. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Create a Volume Group. | ||
```bash | ||
elastic-san volume-group create -e {san_name} -n {vg_name} -g {rg} --tags "{key1910:bbbb}" --encryption EncryptionAtRestWithPlatformKey --protocol-type Iscsi --network-acls "{virtual-network-rules:["{id:{subnet_id},action:Allow}"]}" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume-group delete_ | ||
|
||
Delete a Volume Group. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Delete a Volume Group. | ||
```bash | ||
elastic-san volume-group delete -g {rg} -e {san_name} -n {vg_name} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume-group list_ | ||
|
||
List Volume Groups. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- List Volume Groups. | ||
```bash | ||
elastic-san volume-group list -g {rg} -e {san_name} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume-group show_ | ||
|
||
Get a Volume Group. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Get a Volume Group. | ||
```bash | ||
elastic-san volume-group show -g {rg} -e {san_name} -n {vg_name} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume-group update_ | ||
|
||
Update a Volume Group. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Update a Volume Group. | ||
```bash | ||
elastic-san volume-group update -e {san_name} -n {vg_name} -g {rg} --tags "{key2011:cccc}" --protocol-type None --network-acls "{virtual-network-rules:["{id:{subnet_id_2},action:Allow}"]}" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# [Group] _elastic-san volume-group_ | ||
|
||
Manage Elastic SAN Volume Group. | ||
|
||
## Commands | ||
|
||
- [create](/Commands/elastic-san/volume-group/_create.md) | ||
: Create a Volume Group. | ||
|
||
- [delete](/Commands/elastic-san/volume-group/_delete.md) | ||
: Delete a Volume Group. | ||
|
||
- [list](/Commands/elastic-san/volume-group/_list.md) | ||
: List Volume Groups. | ||
|
||
- [show](/Commands/elastic-san/volume-group/_show.md) | ||
: Get a Volume Group. | ||
|
||
- [update](/Commands/elastic-san/volume-group/_update.md) | ||
: Update a Volume Group. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume create_ | ||
|
||
Create a Volume. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Create a Volume. | ||
```bash | ||
elastic-san volume create -g {rg} -e {san_name} -v {vg_name} -n {volume_name} --size-gib 2 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume delete_ | ||
|
||
Delete a Volume. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Delete a Volume. | ||
```bash | ||
elastic-san volume delete -g {rg} -e {san_name} -v {vg_name} -n {volume_name} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume list_ | ||
|
||
List Volumes in a Volume Group. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- List Volumes in a Volume Group. | ||
```bash | ||
elastic-san volume list -g {rg} -e {san_name} -v {vg_name} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume show_ | ||
|
||
Get a Volume. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Get a Volume. | ||
```bash | ||
elastic-san volume show -g {rg} -e {san_name} -v {vg_name} -n {volume_name} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# [Command] _elastic-san volume update_ | ||
|
||
Update a Volume. | ||
|
||
## Versions | ||
|
||
### [2021-11-20-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2021-11-20-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{} 2021-11-20-preview --> | ||
|
||
#### examples | ||
|
||
- Update a Volume. | ||
```bash | ||
elastic-san volume update -g {rg} -e {san_name} -v {vg_name} -n {volume_name} --size-gib 3 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# [Group] _elastic-san volume_ | ||
|
||
Manage Elastic SAN Volume. | ||
|
||
## Commands | ||
|
||
- [create](/Commands/elastic-san/volume/_create.md) | ||
: Create a Volume. | ||
|
||
- [delete](/Commands/elastic-san/volume/_delete.md) | ||
: Delete a Volume. | ||
|
||
- [list](/Commands/elastic-san/volume/_list.md) | ||
: List Volumes in a Volume Group. | ||
|
||
- [show](/Commands/elastic-san/volume/_show.md) | ||
: Get a Volume. | ||
|
||
- [update](/Commands/elastic-san/volume/_update.md) | ||
: Update a Volume. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.