From 80123398094ed6a166abd2ac4e41174de61ff813 Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:24:40 +0800 Subject: [PATCH] add autoscale support in 2024-06-01-preview --- Commands/elastic-san/_create.md | 11 + Commands/elastic-san/_delete.md | 11 + Commands/elastic-san/_list-sku.md | 11 + Commands/elastic-san/_list.md | 12 + Commands/elastic-san/_show.md | 11 + Commands/elastic-san/_update.md | 11 + Commands/elastic-san/volume-group/_create.md | 16 + Commands/elastic-san/volume-group/_delete.md | 11 + Commands/elastic-san/volume-group/_list.md | 11 + Commands/elastic-san/volume-group/_show.md | 11 + Commands/elastic-san/volume-group/_update.md | 31 + Commands/elastic-san/volume/_create.md | 16 + Commands/elastic-san/volume/_delete.md | 16 + Commands/elastic-san/volume/_list.md | 11 + Commands/elastic-san/volume/_show.md | 11 + Commands/elastic-san/volume/_update.md | 11 + .../elastic-san/volume/snapshot/_create.md | 11 + .../elastic-san/volume/snapshot/_delete.md | 11 + Commands/elastic-san/volume/snapshot/_list.md | 11 + Commands/elastic-san/volume/snapshot/_show.md | 11 + .../elastic-san/volume/snapshot/_update.md | 4 + Commands/tree.json | 417 ++++++++ .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 350 +++++++ .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 83 ++ .../2024-06-01-preview.md | 1 + .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 875 ++++++++++++++++ .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 202 ++++ .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 976 ++++++++++++++++++ .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 155 +++ .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 702 +++++++++++++ .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 118 +++ .../2024-06-01-preview.json | 1 + .../2024-06-01-preview.xml | 487 +++++++++ 41 files changed, 4635 insertions(+) create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.xml diff --git a/Commands/elastic-san/_create.md b/Commands/elastic-san/_create.md index 873194d76..6ed675417 100644 --- a/Commands/elastic-san/_create.md +++ b/Commands/elastic-san/_create.md @@ -47,3 +47,14 @@ 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}' --public-network-access Enabled ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.xml) **Stable** + + + +#### 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}' --public-network-access Enabled --auto-scale-policy-enforcement Enabled --capacity-unit-scale-up-limit-tib 17 --increase-capacity-unit-by-tib 4 --unused-size-tib 24 + ``` diff --git a/Commands/elastic-san/_delete.md b/Commands/elastic-san/_delete.md index 29314c6b0..a145682e4 100644 --- a/Commands/elastic-san/_delete.md +++ b/Commands/elastic-san/_delete.md @@ -47,3 +47,14 @@ Delete an Elastic SAN. ```bash elastic-san delete -g "rg" -n "san_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Delete an Elastic SAN. + ```bash + elastic-san delete -g "rg" -n "san_name" + ``` diff --git a/Commands/elastic-san/_list-sku.md b/Commands/elastic-san/_list-sku.md index bd56bf312..f2ece6665 100644 --- a/Commands/elastic-san/_list-sku.md +++ b/Commands/elastic-san/_list-sku.md @@ -47,3 +47,14 @@ Get a list of Elastic SAN skus. ```bash elastic-san list-sku ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Get a list of Elastic SAN skus. + ```bash + elastic-san list-sku + ``` diff --git a/Commands/elastic-san/_list.md b/Commands/elastic-san/_list.md index 98f5266d8..7e23a8b4e 100644 --- a/Commands/elastic-san/_list.md +++ b/Commands/elastic-san/_list.md @@ -51,3 +51,15 @@ Get a list of Elastic SANs in a subscription. ```bash elastic-san list -g "rg" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.xml) **Stable** + + + + +#### examples + +- Get a list of Elastic SANs in a subscription. + ```bash + elastic-san list -g "rg" + ``` diff --git a/Commands/elastic-san/_show.md b/Commands/elastic-san/_show.md index 8adcdba57..accb781d9 100644 --- a/Commands/elastic-san/_show.md +++ b/Commands/elastic-san/_show.md @@ -47,3 +47,14 @@ Get an Elastic SAN. ```bash elastic-san show -g "rg" -n "san_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Get an Elastic SAN. + ```bash + elastic-san show -g "rg" -n "san_name" + ``` diff --git a/Commands/elastic-san/_update.md b/Commands/elastic-san/_update.md index 9a4065cce..949d1b076 100644 --- a/Commands/elastic-san/_update.md +++ b/Commands/elastic-san/_update.md @@ -47,3 +47,14 @@ 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 ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.xml) **Stable** + + + +#### 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 --auto-scale-policy-enforcement Disabled --capacity-unit-scale-up-limit-tib 18 --increase-capacity-unit-by-tib 5 --unused-size-tib 25 + ``` diff --git a/Commands/elastic-san/volume-group/_create.md b/Commands/elastic-san/volume-group/_create.md index 8ea3cc51c..f8e8420c1 100644 --- a/Commands/elastic-san/volume-group/_create.md +++ b/Commands/elastic-san/volume-group/_create.md @@ -57,3 +57,19 @@ Create a Volume Group. ```bash elastic-san volume-group create -e "san_name" -n "vg_name" -g "rg" --encryption EncryptionAtRestWithCustomerManagedKey --protocol-type Iscsi --identity '{type:UserAssigned,user-assigned-identity:"uai_id"}' --encryption-properties '{key-vault-properties:{key-name:"key_name",key-vault-uri:"vault_uri"},identity:{user-assigned-identity:"uai_id"}}' ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Create a Volume Group with PlaformManagedkey and SystemAssignedIdentity + ```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}]}' --identity '{type:SystemAssigned}' + ``` + +- Create a volume group with CustomerManagedKey and UserAssignedIdentity + ```bash + elastic-san volume-group create -e "san_name" -n "vg_name" -g "rg" --encryption EncryptionAtRestWithCustomerManagedKey --protocol-type Iscsi --identity '{type:UserAssigned,user-assigned-identity:"uai_id"}' --encryption-properties '{key-vault-properties:{key-name:"key_name",key-vault-uri:"vault_uri"},identity:{user-assigned-identity:"uai_id"}}' + ``` diff --git a/Commands/elastic-san/volume-group/_delete.md b/Commands/elastic-san/volume-group/_delete.md index 14d814674..aa180040a 100644 --- a/Commands/elastic-san/volume-group/_delete.md +++ b/Commands/elastic-san/volume-group/_delete.md @@ -47,3 +47,14 @@ Delete a Volume Group. ```bash elastic-san volume-group delete -g "rg" -e "san_name" -n "vg_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Delete a Volume Group. + ```bash + elastic-san volume-group delete -g "rg" -e "san_name" -n "vg_name" + ``` diff --git a/Commands/elastic-san/volume-group/_list.md b/Commands/elastic-san/volume-group/_list.md index 863f66de2..39ebe440e 100644 --- a/Commands/elastic-san/volume-group/_list.md +++ b/Commands/elastic-san/volume-group/_list.md @@ -47,3 +47,14 @@ List Volume Groups. ```bash elastic-san volume-group list -g "rg" -e "san_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- List Volume Groups. + ```bash + elastic-san volume-group list -g "rg" -e "san_name" + ``` diff --git a/Commands/elastic-san/volume-group/_show.md b/Commands/elastic-san/volume-group/_show.md index 020ec6b55..a60887aa1 100644 --- a/Commands/elastic-san/volume-group/_show.md +++ b/Commands/elastic-san/volume-group/_show.md @@ -47,3 +47,14 @@ Get a Volume Group. ```bash elastic-san volume-group show -g "rg" -e "san_name" -n "vg_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Get a Volume Group. + ```bash + elastic-san volume-group show -g "rg" -e "san_name" -n "vg_name" + ``` diff --git a/Commands/elastic-san/volume-group/_update.md b/Commands/elastic-san/volume-group/_update.md index fd2d3064e..e1ec8f656 100644 --- a/Commands/elastic-san/volume-group/_update.md +++ b/Commands/elastic-san/volume-group/_update.md @@ -87,3 +87,34 @@ Update a Volume Group. ```bash elastic-san volume-group update -e "san_name" -n "vg_name" -g "rg" --identity '{type:SystemAssigned}' ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Update a Volume Group. + ```bash + elastic-san volume-group update -e "san_name" -n "vg_name" -g "rg" --protocol-type None --network-acls '{virtual-network-rules:[{id:"subnet_id_2",action:Allow}]}' + ``` + +- Update volume group to use CustomerManagedKey with keyvault details + ```bash + elastic-san volume-group update -e "san_name" -n "vg_name" -g "rg" --encryption EncryptionAtRestWithCustomerManagedKey --encryption-properties '{key-vault-properties:{key-name:"key_name",key-vault-uri:"vault_uri"}}' + ``` + +- Update volume group to use another UserAssignedIdentity + ```bash + elastic-san volume-group update -e "san_name" -n "vg_name" -g "rg" --identity '{type:UserAssigned,user-assigned-identity:"uai_2_id"}' --encryption-properties '{key-vault-properties:{key-name:"key_name",key-vault-uri:"vault_uri"},identity:{user-assigned-identity:"uai_2_id"}}' + ``` + +- Update volume group back to PlatformManagedKey + ```bash + elastic-san volume-group update -e "san_name" -n "vg_name" -g "rg" --encryption EncryptionAtRestWithPlatformKey + ``` + +- Update volume group back to SystemAssignedIdentity + ```bash + elastic-san volume-group update -e "san_name" -n "vg_name" -g "rg" --identity '{type:SystemAssigned}' + ``` diff --git a/Commands/elastic-san/volume/_create.md b/Commands/elastic-san/volume/_create.md index 18eac36d7..6dec19feb 100644 --- a/Commands/elastic-san/volume/_create.md +++ b/Commands/elastic-san/volume/_create.md @@ -57,3 +57,19 @@ Create a Volume. ```bash elastic-san volume create -g "rg" -e "san_name" -v "vg_name" -n "volume_name_2" --size-gib 2 --creation-data '{source-id:"snapshot_id",create-source:VolumeSnapshot}' ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Create a Volume. + ```bash + elastic-san volume create -g "rg" -e "san_name" -v "vg_name" -n "volume_name" --size-gib 2 + ``` + +- Create a Volume from snapshot. + ```bash + elastic-san volume create -g "rg" -e "san_name" -v "vg_name" -n "volume_name_2" --size-gib 2 --creation-data '{source-id:"snapshot_id",create-source:VolumeSnapshot}' + ``` diff --git a/Commands/elastic-san/volume/_delete.md b/Commands/elastic-san/volume/_delete.md index a4178dbc5..e69dfeffb 100644 --- a/Commands/elastic-san/volume/_delete.md +++ b/Commands/elastic-san/volume/_delete.md @@ -57,3 +57,19 @@ Delete a Volume. ```bash elastic-san volume delete -g "rg" -e "san_name" -v "vg_name" -n "volume_name" -y --x-ms-delete-snapshots true --x-ms-force-delete true ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Delete a Volume. + ```bash + elastic-san volume delete -g "rg" -e "san_name" -v "vg_name" -n "volume_name" + ``` + +- Delete a volume with its snapshot + ```bash + elastic-san volume delete -g "rg" -e "san_name" -v "vg_name" -n "volume_name" -y --x-ms-delete-snapshots true --x-ms-force-delete true + ``` diff --git a/Commands/elastic-san/volume/_list.md b/Commands/elastic-san/volume/_list.md index 4dcfcf16a..c81cf72e3 100644 --- a/Commands/elastic-san/volume/_list.md +++ b/Commands/elastic-san/volume/_list.md @@ -47,3 +47,14 @@ List Volumes in a Volume Group. ```bash elastic-san volume list -g "rg" -e "san_name" -v "vg_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- List Volumes in a Volume Group. + ```bash + elastic-san volume list -g "rg" -e "san_name" -v "vg_name" + ``` diff --git a/Commands/elastic-san/volume/_show.md b/Commands/elastic-san/volume/_show.md index 0887d4318..0a983ed14 100644 --- a/Commands/elastic-san/volume/_show.md +++ b/Commands/elastic-san/volume/_show.md @@ -47,3 +47,14 @@ Get a Volume. ```bash elastic-san volume show -g "rg" -e "san_name" -v "vg_name" -n "volume_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Get a Volume. + ```bash + elastic-san volume show -g "rg" -e "san_name" -v "vg_name" -n "volume_name" + ``` diff --git a/Commands/elastic-san/volume/_update.md b/Commands/elastic-san/volume/_update.md index f4cf1805c..c6d17f9c9 100644 --- a/Commands/elastic-san/volume/_update.md +++ b/Commands/elastic-san/volume/_update.md @@ -47,3 +47,14 @@ Update a Volume. ```bash elastic-san volume update -g "rg" -e "san_name" -v "vg_name" -n "volume_name" --size-gib 3 ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- Update a Volume. + ```bash + elastic-san volume update -g "rg" -e "san_name" -v "vg_name" -n "volume_name" --size-gib 3 + ``` diff --git a/Commands/elastic-san/volume/snapshot/_create.md b/Commands/elastic-san/volume/snapshot/_create.md index 1995c77e1..4462a641d 100644 --- a/Commands/elastic-san/volume/snapshot/_create.md +++ b/Commands/elastic-san/volume/snapshot/_create.md @@ -25,3 +25,14 @@ Create a Volume Snapshot. ```bash elastic-san volume snapshot create -g "rg" -e "san_name" -v "vg_name" -n "snapshot_name" --creation-data '{source-id:"volume_id"}' ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- snapshot create + ```bash + elastic-san volume snapshot create -g "rg" -e "san_name" -v "vg_name" -n "snapshot_name" --creation-data '{source-id:"volume_id"}' + ``` diff --git a/Commands/elastic-san/volume/snapshot/_delete.md b/Commands/elastic-san/volume/snapshot/_delete.md index c5f6d3e71..0de71897e 100644 --- a/Commands/elastic-san/volume/snapshot/_delete.md +++ b/Commands/elastic-san/volume/snapshot/_delete.md @@ -25,3 +25,14 @@ Delete a Volume Snapshot. ```bash elastic-san volume snapshot delete -g "rg" -e "san_name" -v "vg_name" -n "snapshot_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- snapshot delete + ```bash + elastic-san volume snapshot delete -g "rg" -e "san_name" -v "vg_name" -n "snapshot_name" + ``` diff --git a/Commands/elastic-san/volume/snapshot/_list.md b/Commands/elastic-san/volume/snapshot/_list.md index d7dab580a..b41ce44bf 100644 --- a/Commands/elastic-san/volume/snapshot/_list.md +++ b/Commands/elastic-san/volume/snapshot/_list.md @@ -25,3 +25,14 @@ List Snapshots in a VolumeGroup or List Snapshots by Volume (name) in a VolumeGr ```bash elastic-san volume snapshot list -g "rg" -e "san_name" -v "vg_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- snapshot list + ```bash + elastic-san volume snapshot list -g "rg" -e "san_name" -v "vg_name" + ``` diff --git a/Commands/elastic-san/volume/snapshot/_show.md b/Commands/elastic-san/volume/snapshot/_show.md index 7f84eabc6..764ffa7f7 100644 --- a/Commands/elastic-san/volume/snapshot/_show.md +++ b/Commands/elastic-san/volume/snapshot/_show.md @@ -25,3 +25,14 @@ Get a Volume Snapshot. ```bash elastic-san volume snapshot show -g "rg" -e "san_name" -v "vg_name" -n "snapshot_name" ``` + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.xml) **Stable** + + + +#### examples + +- snapshot show + ```bash + elastic-san volume snapshot show -g "rg" -e "san_name" -v "vg_name" -n "snapshot_name" + ``` diff --git a/Commands/elastic-san/volume/snapshot/_update.md b/Commands/elastic-san/volume/snapshot/_update.md index 8c5d7dda9..f4215ce3b 100644 --- a/Commands/elastic-san/volume/snapshot/_update.md +++ b/Commands/elastic-san/volume/snapshot/_update.md @@ -11,3 +11,7 @@ Update a Volume Snapshot. ### [2024-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-05-01.xml) **Stable** + +### [2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.xml) **Stable** + + diff --git a/Commands/tree.json b/Commands/tree.json index d6e25603d..9429e971c 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -44981,6 +44981,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume snapshot create -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"snapshot_name\" --creation-data '{source-id:\"volume_id\"}'" + ], + "name": "snapshot create" + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45030,6 +45048,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume snapshot delete -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"snapshot_name\"" + ], + "name": "snapshot delete" + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45079,6 +45115,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume snapshot list -g \"rg\" -e \"san_name\" -v \"vg_name\"" + ], + "name": "snapshot list" + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45128,6 +45182,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume snapshot show -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"snapshot_name\"" + ], + "name": "snapshot show" + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45161,6 +45233,16 @@ "version": "2024-05-01" } ] + }, + { + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] } @@ -45271,6 +45353,30 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume create -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"volume_name\" --size-gib 2" + ], + "name": "Create a Volume." + }, + { + "commands": [ + "elastic-san volume create -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"volume_name_2\" --size-gib 2 --creation-data '{source-id:\"snapshot_id\",create-source:VolumeSnapshot}'" + ], + "name": "Create a Volume from snapshot." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45369,6 +45475,30 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume delete -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"volume_name\"" + ], + "name": "Delete a Volume." + }, + { + "commands": [ + "elastic-san volume delete -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"volume_name\" -y --x-ms-delete-snapshots true --x-ms-force-delete true" + ], + "name": "Delete a volume with its snapshot" + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45455,6 +45585,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume list -g \"rg\" -e \"san_name\" -v \"vg_name\"" + ], + "name": "List Volumes in a Volume Group." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45541,6 +45689,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume show -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"volume_name\"" + ], + "name": "Get a Volume." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45627,6 +45793,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume update -g \"rg\" -e \"san_name\" -v \"vg_name\" -n \"volume_name\" --size-gib 3" + ], + "name": "Update a Volume." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] } @@ -45736,6 +45920,30 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "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}]}' --identity '{type:SystemAssigned}'" + ], + "name": "Create a Volume Group with PlaformManagedkey and SystemAssignedIdentity" + }, + { + "commands": [ + "elastic-san volume-group create -e \"san_name\" -n \"vg_name\" -g \"rg\" --encryption EncryptionAtRestWithCustomerManagedKey --protocol-type Iscsi --identity '{type:UserAssigned,user-assigned-identity:\"uai_id\"}' --encryption-properties '{key-vault-properties:{key-name:\"key_name\",key-vault-uri:\"vault_uri\"},identity:{user-assigned-identity:\"uai_id\"}}'" + ], + "name": "Create a volume group with CustomerManagedKey and UserAssignedIdentity" + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45822,6 +46030,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume-group delete -g \"rg\" -e \"san_name\" -n \"vg_name\"" + ], + "name": "Delete a Volume Group." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45908,6 +46134,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume-group list -g \"rg\" -e \"san_name\"" + ], + "name": "List Volume Groups." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -45994,6 +46238,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume-group show -g \"rg\" -e \"san_name\" -n \"vg_name\"" + ], + "name": "Get a Volume Group." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -46128,6 +46390,48 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san volume-group update -e \"san_name\" -n \"vg_name\" -g \"rg\" --protocol-type None --network-acls '{virtual-network-rules:[{id:\"subnet_id_2\",action:Allow}]}'" + ], + "name": "Update a Volume Group." + }, + { + "commands": [ + "elastic-san volume-group update -e \"san_name\" -n \"vg_name\" -g \"rg\" --encryption EncryptionAtRestWithCustomerManagedKey --encryption-properties '{key-vault-properties:{key-name:\"key_name\",key-vault-uri:\"vault_uri\"}}'" + ], + "name": "Update volume group to use CustomerManagedKey with keyvault details" + }, + { + "commands": [ + "elastic-san volume-group update -e \"san_name\" -n \"vg_name\" -g \"rg\" --identity '{type:UserAssigned,user-assigned-identity:\"uai_2_id\"}' --encryption-properties '{key-vault-properties:{key-name:\"key_name\",key-vault-uri:\"vault_uri\"},identity:{user-assigned-identity:\"uai_2_id\"}}'" + ], + "name": "Update volume group to use another UserAssignedIdentity" + }, + { + "commands": [ + "elastic-san volume-group update -e \"san_name\" -n \"vg_name\" -g \"rg\" --encryption EncryptionAtRestWithPlatformKey" + ], + "name": "Update volume group back to PlatformManagedKey" + }, + { + "commands": [ + "elastic-san volume-group update -e \"san_name\" -n \"vg_name\" -g \"rg\" --identity '{type:SystemAssigned}'" + ], + "name": "Update volume group back to SystemAssignedIdentity" + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] } @@ -46224,6 +46528,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "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}' --public-network-access Enabled --auto-scale-policy-enforcement Enabled --capacity-unit-scale-up-limit-tib 17 --increase-capacity-unit-by-tib 4 --unused-size-tib 24" + ], + "name": "Create an Elastic SAN." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -46309,6 +46631,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san delete -g \"rg\" -n \"san_name\"" + ], + "name": "Delete an Elastic SAN." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -46414,6 +46754,29 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san list -g \"rg\"" + ], + "name": "Get a list of Elastic SANs in a subscription." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.elasticsan/elasticsans", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -46499,6 +46862,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san list-sku" + ], + "name": "Get a list of Elastic SAN skus." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.elasticsan/skus", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -46584,6 +46965,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san show -g \"rg\" -n \"san_name\"" + ], + "name": "Get an Elastic SAN." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] }, @@ -46669,6 +47068,24 @@ "version": "2024-05-01" } ] + }, + { + "examples": [ + { + "commands": [ + "elastic-san update -n \"san_name\" -g \"rg\" --tags '{key1710:bbbb}' --base-size-tib 25 --extended-capacity-size-tib 15 --auto-scale-policy-enforcement Disabled --capacity-unit-scale-up-limit-tib 18 --increase-capacity-unit-by-tib 5 --unused-size-tib 25" + ], + "name": "Update an Elastic SAN." + } + ], + "name": "2024-06-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", + "plane": "mgmt-plane", + "version": "2024-06-01-preview" + } + ] } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.json new file mode 100644 index 000000000..4f1752dab --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.elasticsan/elasticsans", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkVsYXN0aWNTYW4vZWxhc3RpY1NhbnM=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucw==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san", "commands": [{"name": "list", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.elasticsan/elasticsans", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkVsYXN0aWNTYW4vZWxhc3RpY1NhbnM=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucw==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_ElasticSans_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_ElasticSans_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_ElasticSans_ListByResourceGroup"], "operationId": "ElasticSans_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "autoScaleProperties", "props": [{"type": "object", "name": "scaleUpProperties", "props": [{"type": "string", "name": "autoScalePolicyEnforcement", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"type": "integer64", "name": "capacityUnitScaleUpLimitTiB"}, {"type": "integer64", "name": "increaseCapacityUnitByTiB"}, {"type": "integer64", "name": "unusedSizeTiB"}]}]}, {"type": "array", "name": "availabilityZones", "item": {"type": "string"}}, {"type": "integer64", "name": "baseSizeTiB", "required": true}, {"type": "integer64", "name": "extendedCapacitySizeTiB", "required": true}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Premium"}]}}]}, {"readOnly": true, "type": "integer64", "name": "totalIops"}, {"readOnly": true, "type": "integer64", "name": "totalMBps"}, {"readOnly": true, "type": "integer64", "name": "totalSizeTiB"}, {"readOnly": true, "type": "integer64", "name": "totalVolumeSizeGiB"}, {"readOnly": true, "type": "integer64", "name": "volumeGroupCount"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_ElasticSans_ListBySubscription"], "operationId": "ElasticSans_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/elasticSans", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "autoScaleProperties", "props": [{"type": "object", "name": "scaleUpProperties", "props": [{"type": "string", "name": "autoScalePolicyEnforcement", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"type": "integer64", "name": "capacityUnitScaleUpLimitTiB"}, {"type": "integer64", "name": "increaseCapacityUnitByTiB"}, {"type": "integer64", "name": "unusedSizeTiB"}]}]}, {"type": "array", "name": "availabilityZones", "item": {"type": "string"}}, {"type": "integer64", "name": "baseSizeTiB", "required": true}, {"type": "integer64", "name": "extendedCapacitySizeTiB", "required": true}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Premium"}]}}]}, {"readOnly": true, "type": "integer64", "name": "totalIops"}, {"readOnly": true, "type": "integer64", "name": "totalMBps"}, {"readOnly": true, "type": "integer64", "name": "totalSizeTiB"}, {"readOnly": true, "type": "integer64", "name": "totalVolumeSizeGiB"}, {"readOnly": true, "type": "integer64", "name": "volumeGroupCount"}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.xml new file mode 100644 index 000000000..fd7d8030d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.xml @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.json new file mode 100644 index 000000000..2ca6fc52d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.elasticsan/skus", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkVsYXN0aWNTYW4vc2t1cw==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san", "commands": [{"name": "list-sku", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.elasticsan/skus", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkVsYXN0aWNTYW4vc2t1cw==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "Specify $filter='location eq ' to filter on location."}}]}], "operations": [{"operationId": "Skus_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/skus", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "capabilities", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "value"}]}}, {"readOnly": true, "type": "array", "name": "locationInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "array", "name": "zones", "item": {"type": "string"}}]}}, {"readOnly": true, "type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}]}}, {"readOnly": true, "type": "string", "name": "resourceType"}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Premium"}]}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.xml new file mode 100644 index 000000000..f880dff0e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL3NrdXM=/2024-06-01-preview.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.md new file mode 100644 index 000000000..d65f79cf4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.elasticsan/elasticsans 2024-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5z/2024-06-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.json new file mode 100644 index 000000000..0ca5f97fe --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san", "commands": [{"name": "show", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["n", "name", "elastic-san-name"], "required": true, "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ElasticSans_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "autoScaleProperties", "props": [{"type": "object", "name": "scaleUpProperties", "props": [{"type": "string", "name": "autoScalePolicyEnforcement", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"type": "integer64", "name": "capacityUnitScaleUpLimitTiB"}, {"type": "integer64", "name": "increaseCapacityUnitByTiB"}, {"type": "integer64", "name": "unusedSizeTiB"}]}]}, {"type": "array", "name": "availabilityZones", "item": {"type": "string"}}, {"type": "integer64", "name": "baseSizeTiB", "required": true}, {"type": "integer64", "name": "extendedCapacitySizeTiB", "required": true}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Premium"}]}}]}, {"readOnly": true, "type": "integer64", "name": "totalIops"}, {"readOnly": true, "type": "integer64", "name": "totalMBps"}, {"readOnly": true, "type": "integer64", "name": "totalSizeTiB"}, {"readOnly": true, "type": "integer64", "name": "totalVolumeSizeGiB"}, {"readOnly": true, "type": "integer64", "name": "volumeGroupCount"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["n", "name", "elastic-san-name"], "required": true, "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ElasticSans_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["n", "name", "elastic-san-name"], "required": true, "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "AutoScaleProperties", "args": [{"type": "string", "var": "$parameters.properties.autoScaleProperties.scaleUpProperties.autoScalePolicyEnforcement", "options": ["auto-scale-policy", "auto-scale-policy-enforcement"], "stage": "Preview", "group": "AutoScaleProperties", "help": {"short": "Enable or Disable scale up setting on Elastic San Appliance."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "None", "value": "None"}]}}, {"type": "integer64", "var": "$parameters.properties.autoScaleProperties.scaleUpProperties.capacityUnitScaleUpLimitTiB", "options": ["capacity-unit-scale-up", "capacity-unit-scale-up-limit-tib"], "stage": "Preview", "group": "AutoScaleProperties", "help": {"short": "Maximum scale up size on Elastic San appliance in TiB."}}, {"type": "integer64", "var": "$parameters.properties.autoScaleProperties.scaleUpProperties.increaseCapacityUnitByTiB", "options": ["increase-capacity-unit", "increase-capacity-unit-by-tib"], "stage": "Preview", "group": "AutoScaleProperties", "help": {"short": "Unit to increase Capacity Unit on Elastic San appliance in TiB."}}, {"type": "integer64", "var": "$parameters.properties.autoScaleProperties.scaleUpProperties.unusedSizeTiB", "options": ["unused-size-tib"], "stage": "Preview", "group": "AutoScaleProperties", "help": {"short": "Unused size on Elastic San appliance in TiB."}}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "The geo-location where the resource lives."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Azure resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.availabilityZones", "options": ["availability-zones"], "group": "Properties", "help": {"short": "Logical zone for Elastic San resource; example: [\"1\"]."}, "item": {"type": "string"}}, {"type": "integer64", "var": "$parameters.properties.baseSizeTiB", "options": ["base-size-tib"], "required": true, "group": "Properties", "help": {"short": "Base size of the Elastic San appliance in TiB."}}, {"type": "integer64", "var": "$parameters.properties.extendedCapacitySizeTiB", "options": ["extended-size", "extended-capacity-size-tib"], "required": true, "group": "Properties", "help": {"short": "Extended size of the Elastic San appliance in TiB."}}, {"type": "string", "var": "$parameters.properties.publicNetworkAccess", "options": ["public-network-access"], "group": "Properties", "help": {"short": "Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$parameters.properties.sku", "options": ["sku"], "required": true, "group": "Properties", "help": {"short": "resource sku"}, "args": [{"type": "string", "var": "$parameters.properties.sku.name", "options": ["name"], "required": true, "help": {"short": "The sku name."}, "enum": {"items": [{"name": "Premium_LRS", "value": "Premium_LRS"}, {"name": "Premium_ZRS", "value": "Premium_ZRS"}]}}, {"type": "string", "var": "$parameters.properties.sku.tier", "options": ["tier"], "help": {"short": "The sku tier."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}]}}]}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "ElasticSans_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "autoScaleProperties", "props": [{"type": "object", "name": "scaleUpProperties", "props": [{"type": "string", "name": "autoScalePolicyEnforcement", "arg": "$parameters.properties.autoScaleProperties.scaleUpProperties.autoScalePolicyEnforcement", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"type": "integer64", "name": "capacityUnitScaleUpLimitTiB", "arg": "$parameters.properties.autoScaleProperties.scaleUpProperties.capacityUnitScaleUpLimitTiB"}, {"type": "integer64", "name": "increaseCapacityUnitByTiB", "arg": "$parameters.properties.autoScaleProperties.scaleUpProperties.increaseCapacityUnitByTiB"}, {"type": "integer64", "name": "unusedSizeTiB", "arg": "$parameters.properties.autoScaleProperties.scaleUpProperties.unusedSizeTiB"}]}]}, {"type": "array", "name": "availabilityZones", "arg": "$parameters.properties.availabilityZones", "item": {"type": "string"}}, {"type": "integer64", "name": "baseSizeTiB", "arg": "$parameters.properties.baseSizeTiB", "required": true}, {"type": "integer64", "name": "extendedCapacitySizeTiB", "arg": "$parameters.properties.extendedCapacitySizeTiB", "required": true}, {"type": "string", "name": "publicNetworkAccess", "arg": "$parameters.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "sku", "arg": "$parameters.properties.sku", "required": true, "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.sku.name", "required": true, "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}]}}, {"type": "string", "name": "tier", "arg": "$parameters.properties.sku.tier", "enum": {"items": [{"value": "Premium"}]}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "autoScaleProperties", "props": [{"type": "object", "name": "scaleUpProperties", "props": [{"type": "string", "name": "autoScalePolicyEnforcement", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"type": "integer64", "name": "capacityUnitScaleUpLimitTiB"}, {"type": "integer64", "name": "increaseCapacityUnitByTiB"}, {"type": "integer64", "name": "unusedSizeTiB"}]}]}, {"type": "array", "name": "availabilityZones", "item": {"type": "string"}}, {"type": "integer64", "name": "baseSizeTiB", "required": true}, {"type": "integer64", "name": "extendedCapacitySizeTiB", "required": true}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Premium"}]}}]}, {"readOnly": true, "type": "integer64", "name": "totalIops"}, {"readOnly": true, "type": "integer64", "name": "totalMBps"}, {"readOnly": true, "type": "integer64", "name": "totalSizeTiB"}, {"readOnly": true, "type": "integer64", "name": "totalVolumeSizeGiB"}, {"readOnly": true, "type": "integer64", "name": "volumeGroupCount"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["n", "name", "elastic-san-name"], "required": true, "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "AutoScaleProperties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.autoScaleProperties.scaleUpProperties.autoScalePolicyEnforcement", "options": ["auto-scale-policy", "auto-scale-policy-enforcement"], "stage": "Preview", "group": "AutoScaleProperties", "help": {"short": "Enable or Disable scale up setting on Elastic San Appliance."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "None", "value": "None"}]}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.autoScaleProperties.scaleUpProperties.capacityUnitScaleUpLimitTiB", "options": ["capacity-unit-scale-up", "capacity-unit-scale-up-limit-tib"], "stage": "Preview", "group": "AutoScaleProperties", "help": {"short": "Maximum scale up size on Elastic San appliance in TiB."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.autoScaleProperties.scaleUpProperties.increaseCapacityUnitByTiB", "options": ["increase-capacity-unit", "increase-capacity-unit-by-tib"], "stage": "Preview", "group": "AutoScaleProperties", "help": {"short": "Unit to increase Capacity Unit on Elastic San appliance in TiB."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.autoScaleProperties.scaleUpProperties.unusedSizeTiB", "options": ["unused-size-tib"], "stage": "Preview", "group": "AutoScaleProperties", "help": {"short": "Unused size on Elastic San appliance in TiB."}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Azure resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.availabilityZones", "options": ["availability-zones"], "group": "Properties", "help": {"short": "Logical zone for Elastic San resource; example: [\"1\"]."}, "item": {"nullable": true, "type": "string"}}, {"type": "integer64", "var": "$parameters.properties.baseSizeTiB", "options": ["base-size-tib"], "group": "Properties", "help": {"short": "Base size of the Elastic San appliance in TiB."}}, {"type": "integer64", "var": "$parameters.properties.extendedCapacitySizeTiB", "options": ["extended-size", "extended-capacity-size-tib"], "group": "Properties", "help": {"short": "Extended size of the Elastic San appliance in TiB."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.publicNetworkAccess", "options": ["public-network-access"], "group": "Properties", "help": {"short": "Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$parameters.properties.sku", "options": ["sku"], "group": "Properties", "help": {"short": "resource sku"}, "args": [{"type": "string", "var": "$parameters.properties.sku.name", "options": ["name"], "help": {"short": "The sku name."}, "enum": {"items": [{"name": "Premium_LRS", "value": "Premium_LRS"}, {"name": "Premium_ZRS", "value": "Premium_ZRS"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.sku.tier", "options": ["tier"], "help": {"short": "The sku tier."}, "enum": {"items": [{"name": "Premium", "value": "Premium"}]}}]}]}], "operations": [{"operationId": "ElasticSans_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "autoScaleProperties", "props": [{"type": "object", "name": "scaleUpProperties", "props": [{"type": "string", "name": "autoScalePolicyEnforcement", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"type": "integer64", "name": "capacityUnitScaleUpLimitTiB"}, {"type": "integer64", "name": "increaseCapacityUnitByTiB"}, {"type": "integer64", "name": "unusedSizeTiB"}]}]}, {"type": "array", "name": "availabilityZones", "item": {"type": "string"}}, {"type": "integer64", "name": "baseSizeTiB", "required": true}, {"type": "integer64", "name": "extendedCapacitySizeTiB", "required": true}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Premium"}]}}]}, {"readOnly": true, "type": "integer64", "name": "totalIops"}, {"readOnly": true, "type": "integer64", "name": "totalMBps"}, {"readOnly": true, "type": "integer64", "name": "totalSizeTiB"}, {"readOnly": true, "type": "integer64", "name": "totalVolumeSizeGiB"}, {"readOnly": true, "type": "integer64", "name": "volumeGroupCount"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ElasticSan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "autoScaleProperties", "props": [{"type": "object", "name": "scaleUpProperties", "props": [{"type": "string", "name": "autoScalePolicyEnforcement", "arg": "$parameters.properties.autoScaleProperties.scaleUpProperties.autoScalePolicyEnforcement", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "None"}]}}, {"type": "integer64", "name": "capacityUnitScaleUpLimitTiB", "arg": "$parameters.properties.autoScaleProperties.scaleUpProperties.capacityUnitScaleUpLimitTiB"}, {"type": "integer64", "name": "increaseCapacityUnitByTiB", "arg": "$parameters.properties.autoScaleProperties.scaleUpProperties.increaseCapacityUnitByTiB"}, {"type": "integer64", "name": "unusedSizeTiB", "arg": "$parameters.properties.autoScaleProperties.scaleUpProperties.unusedSizeTiB"}]}]}, {"type": "array", "name": "availabilityZones", "arg": "$parameters.properties.availabilityZones", "item": {"type": "string"}}, {"type": "integer64", "name": "baseSizeTiB", "arg": "$parameters.properties.baseSizeTiB", "required": true}, {"type": "integer64", "name": "extendedCapacitySizeTiB", "arg": "$parameters.properties.extendedCapacitySizeTiB", "required": true}, {"type": "string", "name": "publicNetworkAccess", "arg": "$parameters.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "sku", "arg": "$parameters.properties.sku", "required": true, "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.sku.name", "required": true, "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Premium_ZRS"}]}}, {"type": "string", "name": "tier", "arg": "$parameters.properties.sku.tier", "enum": {"items": [{"value": "Premium"}]}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "location"}, "operationId": "ElasticSans_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ElasticSan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.xml new file mode 100644 index 000000000..6329a850e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9/2024-06-01-preview.xml @@ -0,0 +1,875 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.json new file mode 100644 index 000000000..c701d4697 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZUdyb3Vwcw==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san volume-group", "commands": [{"name": "list", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZUdyb3Vwcw==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "VolumeGroups_ListByElasticSan", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "encryption", "enum": {"items": [{"value": "EncryptionAtRestWithCustomerManagedKey"}, {"value": "EncryptionAtRestWithPlatformKey"}]}}, {"type": "object", "name": "encryptionProperties", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"readOnly": true, "type": "dateTime", "name": "currentVersionedKeyExpirationTimestamp"}, {"readOnly": true, "type": "string", "name": "currentVersionedKeyIdentifier"}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}]}]}, {"type": "boolean", "name": "enforceDataIntegrityCheckForIscsi"}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "virtualNetworkRules", "item": {"type": "object", "props": [{"default": {"value": "Allow"}, "type": "string", "name": "action", "enum": {"items": [{"value": "Allow"}]}}, {"type": "string", "name": "id", "required": true}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Iscsi"}, {"value": "None"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.xml new file mode 100644 index 000000000..4978110d0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcw==/2024-06-01-preview.xml @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.json new file mode 100644 index 000000000..4b379f357 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san volume-group", "commands": [{"name": "show", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["n", "name", "volume-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}], "operations": [{"operationId": "VolumeGroups_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "encryption", "enum": {"items": [{"value": "EncryptionAtRestWithCustomerManagedKey"}, {"value": "EncryptionAtRestWithPlatformKey"}]}}, {"type": "object", "name": "encryptionProperties", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"readOnly": true, "type": "dateTime", "name": "currentVersionedKeyExpirationTimestamp"}, {"readOnly": true, "type": "string", "name": "currentVersionedKeyIdentifier"}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}]}]}, {"type": "boolean", "name": "enforceDataIntegrityCheckForIscsi"}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "virtualNetworkRules", "item": {"type": "object", "props": [{"default": {"value": "Allow"}, "type": "string", "name": "action", "enum": {"items": [{"value": "Allow"}]}}, {"type": "string", "name": "id", "required": true}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Iscsi"}, {"value": "None"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["n", "name", "volume-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VolumeGroups_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["n", "name", "volume-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.identity", "options": ["identity"], "group": "Parameters", "help": {"short": "The identity of the resource."}, "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "required": true, "help": {"short": "The identity type."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.encryption", "options": ["encryption"], "group": "Properties", "help": {"short": "Type of encryption"}, "enum": {"items": [{"name": "EncryptionAtRestWithCustomerManagedKey", "value": "EncryptionAtRestWithCustomerManagedKey"}, {"name": "EncryptionAtRestWithPlatformKey", "value": "EncryptionAtRestWithPlatformKey"}]}}, {"type": "object", "var": "$parameters.properties.encryptionProperties", "options": ["encryption-properties"], "group": "Properties", "help": {"short": "Encryption Properties describing Key Vault and Identity information"}, "args": [{"type": "object", "var": "$parameters.properties.encryptionProperties.identity", "options": ["identity"], "help": {"short": "The identity to be used with service-side encryption at rest."}, "args": [{"type": "string", "var": "$parameters.properties.encryptionProperties.identity.userAssignedIdentity", "options": ["user-assigned-identity"], "help": {"short": "Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group."}}]}, {"type": "object", "var": "$parameters.properties.encryptionProperties.keyVaultProperties", "options": ["key-vault-properties"], "help": {"short": "Properties provided by key vault."}, "args": [{"type": "string", "var": "$parameters.properties.encryptionProperties.keyVaultProperties.keyName", "options": ["key-name"], "help": {"short": "The name of KeyVault key."}}, {"type": "string", "var": "$parameters.properties.encryptionProperties.keyVaultProperties.keyVaultUri", "options": ["key-vault-uri"], "help": {"short": "The Uri of KeyVault."}}, {"type": "string", "var": "$parameters.properties.encryptionProperties.keyVaultProperties.keyVersion", "options": ["key-version"], "help": {"short": "The version of KeyVault key."}}]}]}, {"type": "boolean", "var": "$parameters.properties.enforceDataIntegrityCheckForIscsi", "options": ["data-integrity-check", "enforce-data-integrity-check-for-iscsi"], "group": "Properties", "help": {"short": "A boolean indicating whether or not Data Integrity Check is enabled"}}, {"type": "object", "var": "$parameters.properties.networkAcls", "options": ["network-acls"], "group": "Properties", "help": {"short": "A collection of rules governing the accessibility from specific network locations."}, "args": [{"type": "array", "var": "$parameters.properties.networkAcls.virtualNetworkRules", "options": ["virtual-network-rules"], "help": {"short": "The list of virtual network rules."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.networkAcls.virtualNetworkRules[].action", "options": ["action"], "help": {"short": "The action of virtual network rule."}, "default": {"value": "Allow"}, "enum": {"items": [{"name": "Allow", "value": "Allow"}]}}, {"type": "string", "var": "$parameters.properties.networkAcls.virtualNetworkRules[].id", "options": ["id"], "required": true, "help": {"short": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}."}}]}}]}, {"type": "string", "var": "$parameters.properties.protocolType", "options": ["protocol-type"], "group": "Properties", "help": {"short": "Type of storage target"}, "enum": {"items": [{"name": "Iscsi", "value": "Iscsi"}, {"name": "None", "value": "None"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VolumeGroups_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$parameters.identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "encryption", "arg": "$parameters.properties.encryption", "enum": {"items": [{"value": "EncryptionAtRestWithCustomerManagedKey"}, {"value": "EncryptionAtRestWithPlatformKey"}]}}, {"type": "object", "name": "encryptionProperties", "arg": "$parameters.properties.encryptionProperties", "props": [{"type": "object", "name": "identity", "arg": "$parameters.properties.encryptionProperties.identity", "props": [{"type": "string", "name": "userAssignedIdentity", "arg": "$parameters.properties.encryptionProperties.identity.userAssignedIdentity"}]}, {"type": "object", "name": "keyVaultProperties", "arg": "$parameters.properties.encryptionProperties.keyVaultProperties", "props": [{"type": "string", "name": "keyName", "arg": "$parameters.properties.encryptionProperties.keyVaultProperties.keyName"}, {"type": "string", "name": "keyVaultUri", "arg": "$parameters.properties.encryptionProperties.keyVaultProperties.keyVaultUri"}, {"type": "string", "name": "keyVersion", "arg": "$parameters.properties.encryptionProperties.keyVaultProperties.keyVersion"}]}]}, {"type": "boolean", "name": "enforceDataIntegrityCheckForIscsi", "arg": "$parameters.properties.enforceDataIntegrityCheckForIscsi"}, {"type": "object", "name": "networkAcls", "arg": "$parameters.properties.networkAcls", "props": [{"type": "array", "name": "virtualNetworkRules", "arg": "$parameters.properties.networkAcls.virtualNetworkRules", "item": {"type": "object", "props": [{"default": {"value": "Allow"}, "type": "string", "name": "action", "arg": "$parameters.properties.networkAcls.virtualNetworkRules[].action", "enum": {"items": [{"value": "Allow"}]}}, {"type": "string", "name": "id", "arg": "$parameters.properties.networkAcls.virtualNetworkRules[].id", "required": true}]}}]}, {"type": "string", "name": "protocolType", "arg": "$parameters.properties.protocolType", "enum": {"items": [{"value": "Iscsi"}, {"value": "None"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "encryption", "enum": {"items": [{"value": "EncryptionAtRestWithCustomerManagedKey"}, {"value": "EncryptionAtRestWithPlatformKey"}]}}, {"type": "object", "name": "encryptionProperties", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"readOnly": true, "type": "dateTime", "name": "currentVersionedKeyExpirationTimestamp"}, {"readOnly": true, "type": "string", "name": "currentVersionedKeyIdentifier"}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}]}]}, {"type": "boolean", "name": "enforceDataIntegrityCheckForIscsi"}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "virtualNetworkRules", "item": {"type": "object", "props": [{"default": {"value": "Allow"}, "type": "string", "name": "action", "enum": {"items": [{"value": "Allow"}]}}, {"type": "string", "name": "id", "required": true}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Iscsi"}, {"value": "None"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["n", "name", "volume-group-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.identity", "options": ["identity"], "group": "Parameters", "help": {"short": "The identity of the resource."}, "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "help": {"short": "The identity type."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this volume group. The key is the ARM resource identifier of the identity."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.encryption", "options": ["encryption"], "group": "Properties", "help": {"short": "Type of encryption"}, "enum": {"items": [{"name": "EncryptionAtRestWithCustomerManagedKey", "value": "EncryptionAtRestWithCustomerManagedKey"}, {"name": "EncryptionAtRestWithPlatformKey", "value": "EncryptionAtRestWithPlatformKey"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.encryptionProperties", "options": ["encryption-properties"], "group": "Properties", "help": {"short": "Encryption Properties describing Key Vault and Identity information"}, "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.encryptionProperties.identity", "options": ["identity"], "help": {"short": "The identity to be used with service-side encryption at rest."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.encryptionProperties.identity.userAssignedIdentity", "options": ["user-assigned-identity"], "help": {"short": "Resource identifier of the UserAssigned identity to be associated with server-side encryption on the volume group."}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.encryptionProperties.keyVaultProperties", "options": ["key-vault-properties"], "help": {"short": "Properties provided by key vault."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.encryptionProperties.keyVaultProperties.keyName", "options": ["key-name"], "help": {"short": "The name of KeyVault key."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.encryptionProperties.keyVaultProperties.keyVaultUri", "options": ["key-vault-uri"], "help": {"short": "The Uri of KeyVault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.encryptionProperties.keyVaultProperties.keyVersion", "options": ["key-version"], "help": {"short": "The version of KeyVault key."}}]}]}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enforceDataIntegrityCheckForIscsi", "options": ["data-integrity-check", "enforce-data-integrity-check-for-iscsi"], "group": "Properties", "help": {"short": "A boolean indicating whether or not Data Integrity Check is enabled"}}, {"nullable": true, "type": "object", "var": "$parameters.properties.networkAcls", "options": ["network-acls"], "group": "Properties", "help": {"short": "A collection of rules governing the accessibility from specific network locations."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.networkAcls.virtualNetworkRules", "options": ["virtual-network-rules"], "help": {"short": "The list of virtual network rules."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.networkAcls.virtualNetworkRules[].action", "options": ["action"], "help": {"short": "The action of virtual network rule."}, "enum": {"items": [{"name": "Allow", "value": "Allow"}]}}, {"type": "string", "var": "$parameters.properties.networkAcls.virtualNetworkRules[].id", "options": ["id"], "help": {"short": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}."}}]}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.protocolType", "options": ["protocol-type"], "group": "Properties", "help": {"short": "Type of storage target"}, "enum": {"items": [{"name": "Iscsi", "value": "Iscsi"}, {"name": "None", "value": "None"}]}}]}], "operations": [{"operationId": "VolumeGroups_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "encryption", "enum": {"items": [{"value": "EncryptionAtRestWithCustomerManagedKey"}, {"value": "EncryptionAtRestWithPlatformKey"}]}}, {"type": "object", "name": "encryptionProperties", "props": [{"type": "object", "name": "identity", "props": [{"type": "string", "name": "userAssignedIdentity"}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"readOnly": true, "type": "dateTime", "name": "currentVersionedKeyExpirationTimestamp"}, {"readOnly": true, "type": "string", "name": "currentVersionedKeyIdentifier"}, {"type": "string", "name": "keyName"}, {"type": "string", "name": "keyVaultUri"}, {"type": "string", "name": "keyVersion"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}]}]}, {"type": "boolean", "name": "enforceDataIntegrityCheckForIscsi"}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "virtualNetworkRules", "item": {"type": "object", "props": [{"default": {"value": "Allow"}, "type": "string", "name": "action", "enum": {"items": [{"value": "Allow"}]}}, {"type": "string", "name": "id", "required": true}]}}]}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Failed"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "string", "name": "protocolType", "enum": {"items": [{"value": "Iscsi"}, {"value": "None"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VolumeGroup_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$parameters.identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "encryption", "arg": "$parameters.properties.encryption", "enum": {"items": [{"value": "EncryptionAtRestWithCustomerManagedKey"}, {"value": "EncryptionAtRestWithPlatformKey"}]}}, {"type": "object", "name": "encryptionProperties", "arg": "$parameters.properties.encryptionProperties", "props": [{"type": "object", "name": "identity", "arg": "$parameters.properties.encryptionProperties.identity", "props": [{"type": "string", "name": "userAssignedIdentity", "arg": "$parameters.properties.encryptionProperties.identity.userAssignedIdentity"}]}, {"type": "object", "name": "keyVaultProperties", "arg": "$parameters.properties.encryptionProperties.keyVaultProperties", "props": [{"type": "string", "name": "keyName", "arg": "$parameters.properties.encryptionProperties.keyVaultProperties.keyName"}, {"type": "string", "name": "keyVaultUri", "arg": "$parameters.properties.encryptionProperties.keyVaultProperties.keyVaultUri"}, {"type": "string", "name": "keyVersion", "arg": "$parameters.properties.encryptionProperties.keyVaultProperties.keyVersion"}]}]}, {"type": "boolean", "name": "enforceDataIntegrityCheckForIscsi", "arg": "$parameters.properties.enforceDataIntegrityCheckForIscsi"}, {"type": "object", "name": "networkAcls", "arg": "$parameters.properties.networkAcls", "props": [{"type": "array", "name": "virtualNetworkRules", "arg": "$parameters.properties.networkAcls.virtualNetworkRules", "item": {"type": "object", "props": [{"default": {"value": "Allow"}, "type": "string", "name": "action", "arg": "$parameters.properties.networkAcls.virtualNetworkRules[].action", "enum": {"items": [{"value": "Allow"}]}}, {"type": "string", "name": "id", "arg": "$parameters.properties.networkAcls.virtualNetworkRules[].id", "required": true}]}}]}, {"type": "string", "name": "protocolType", "arg": "$parameters.properties.protocolType", "enum": {"items": [{"value": "Iscsi"}, {"value": "None"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "location"}, "operationId": "VolumeGroups_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VolumeGroup_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.xml new file mode 100644 index 000000000..4223c6662 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fQ==/2024-06-01-preview.xml @@ -0,0 +1,976 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.json new file mode 100644 index 000000000..fa1e8dcc2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS92b2x1bWVz/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san volume", "commands": [{"name": "list", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS92b2x1bWVz/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}], "operations": [{"operationId": "Volumes_ListByVolumeGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/volumes/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "props": [{"type": "string", "name": "createSource", "enum": {"items": [{"value": "Disk"}, {"value": "DiskRestorePoint"}, {"value": "DiskSnapshot"}, {"value": "None"}, {"value": "VolumeSnapshot"}]}}, {"type": "string", "name": "sourceId"}]}, {"type": "object", "name": "managedBy", "props": [{"type": "string", "name": "resourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer64", "name": "sizeGiB", "required": true}, {"readOnly": true, "type": "object", "name": "storageTarget", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Healthy"}, {"value": "Invalid"}, {"value": "Running"}, {"value": "Stopped"}, {"value": "Stopped (deallocated)"}, {"value": "Unhealthy"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "targetIqn"}, {"readOnly": true, "type": "string", "name": "targetPortalHostname"}, {"readOnly": true, "type": "integer32", "name": "targetPortalPort"}]}, {"readOnly": true, "type": "string", "name": "volumeId"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.xml new file mode 100644 index 000000000..8ec034db8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVz/2024-06-01-preview.xml @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.json new file mode 100644 index 000000000..a73a41a5c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS92b2x1bWVzL3t2b2x1bWVOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san volume", "commands": [{"name": "show", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS92b2x1bWVzL3t2b2x1bWVOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "var": "$Path.volumeName", "options": ["n", "name", "volume-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the Volume."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}], "operations": [{"operationId": "Volumes_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "name": "volumeName", "arg": "$Path.volumeName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/volumes/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "props": [{"type": "string", "name": "createSource", "enum": {"items": [{"value": "Disk"}, {"value": "DiskRestorePoint"}, {"value": "DiskSnapshot"}, {"value": "None"}, {"value": "VolumeSnapshot"}]}}, {"type": "string", "name": "sourceId"}]}, {"type": "object", "name": "managedBy", "props": [{"type": "string", "name": "resourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer64", "name": "sizeGiB", "required": true}, {"readOnly": true, "type": "object", "name": "storageTarget", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Healthy"}, {"value": "Invalid"}, {"value": "Running"}, {"value": "Stopped"}, {"value": "Stopped (deallocated)"}, {"value": "Unhealthy"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "targetIqn"}, {"readOnly": true, "type": "string", "name": "targetPortalHostname"}, {"readOnly": true, "type": "integer32", "name": "targetPortalPort"}]}, {"readOnly": true, "type": "string", "name": "volumeId"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS92b2x1bWVzL3t2b2x1bWVOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-delete-snapshots", "options": ["x-ms-delete-snapshots"], "help": {"short": "Optional, used to delete snapshots under volume. Allowed value are only true or false. Default value is false."}, "enum": {"items": [{"name": "false", "value": "false"}, {"name": "true", "value": "true"}]}}, {"type": "string", "var": "$Header.x-ms-force-delete", "options": ["x-ms-force-delete"], "help": {"short": "Optional, used to delete volume if active sessions present. Allowed value are only true or false. Default value is false."}, "enum": {"items": [{"name": "false", "value": "false"}, {"name": "true", "value": "true"}]}}, {"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "var": "$Path.volumeName", "options": ["n", "name", "volume-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the Volume."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Volumes_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "name": "volumeName", "arg": "$Path.volumeName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-delete-snapshots", "arg": "$Header.x-ms-delete-snapshots", "enum": {"items": [{"value": "false"}, {"value": "true"}]}}, {"type": "string", "name": "x-ms-force-delete", "arg": "$Header.x-ms-force-delete", "enum": {"items": [{"value": "false"}, {"value": "true"}]}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS92b2x1bWVzL3t2b2x1bWVOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "var": "$Path.volumeName", "options": ["n", "name", "volume-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the Volume."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.creationData", "options": ["creation-data"], "group": "Properties", "help": {"short": "State of the operation on the resource."}, "args": [{"type": "string", "var": "$parameters.properties.creationData.createSource", "options": ["create-source"], "help": {"short": "This enumerates the possible sources of a volume creation."}, "enum": {"items": [{"name": "Disk", "value": "Disk"}, {"name": "DiskRestorePoint", "value": "DiskRestorePoint"}, {"name": "DiskSnapshot", "value": "DiskSnapshot"}, {"name": "None", "value": "None"}, {"name": "VolumeSnapshot", "value": "VolumeSnapshot"}]}}, {"type": "string", "var": "$parameters.properties.creationData.sourceId", "options": ["source-id"], "help": {"short": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\""}}]}, {"type": "object", "var": "$parameters.properties.managedBy", "options": ["managed-by"], "hide": true, "group": "Properties", "help": {"short": "Parent resource information."}, "args": [{"type": "string", "var": "$parameters.properties.managedBy.resourceId", "options": ["resource-id"], "help": {"short": "Resource ID of the resource managing the volume."}}]}, {"type": "integer64", "var": "$parameters.properties.sizeGiB", "options": ["size-gib"], "required": true, "group": "Properties", "help": {"short": "Volume size."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Volumes_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "name": "volumeName", "arg": "$Path.volumeName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "arg": "$parameters.properties.creationData", "props": [{"type": "string", "name": "createSource", "arg": "$parameters.properties.creationData.createSource", "enum": {"items": [{"value": "Disk"}, {"value": "DiskRestorePoint"}, {"value": "DiskSnapshot"}, {"value": "None"}, {"value": "VolumeSnapshot"}]}}, {"type": "string", "name": "sourceId", "arg": "$parameters.properties.creationData.sourceId"}]}, {"type": "object", "name": "managedBy", "arg": "$parameters.properties.managedBy", "props": [{"type": "string", "name": "resourceId", "arg": "$parameters.properties.managedBy.resourceId"}]}, {"type": "integer64", "name": "sizeGiB", "arg": "$parameters.properties.sizeGiB", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/volumes/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "props": [{"type": "string", "name": "createSource", "enum": {"items": [{"value": "Disk"}, {"value": "DiskRestorePoint"}, {"value": "DiskSnapshot"}, {"value": "None"}, {"value": "VolumeSnapshot"}]}}, {"type": "string", "name": "sourceId"}]}, {"type": "object", "name": "managedBy", "props": [{"type": "string", "name": "resourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer64", "name": "sizeGiB", "required": true}, {"readOnly": true, "type": "object", "name": "storageTarget", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Healthy"}, {"value": "Invalid"}, {"value": "Running"}, {"value": "Stopped"}, {"value": "Stopped (deallocated)"}, {"value": "Unhealthy"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "targetIqn"}, {"readOnly": true, "type": "string", "name": "targetPortalHostname"}, {"readOnly": true, "type": "integer32", "name": "targetPortalPort"}]}, {"readOnly": true, "type": "string", "name": "volumeId"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/volumes/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS92b2x1bWVzL3t2b2x1bWVOYW1lfQ==/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "var": "$Path.volumeName", "options": ["n", "name", "volume-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the Volume."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.creationData", "options": ["creation-data"], "group": "Properties", "help": {"short": "State of the operation on the resource."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.creationData.createSource", "options": ["create-source"], "help": {"short": "This enumerates the possible sources of a volume creation."}, "enum": {"items": [{"name": "Disk", "value": "Disk"}, {"name": "DiskRestorePoint", "value": "DiskRestorePoint"}, {"name": "DiskSnapshot", "value": "DiskSnapshot"}, {"name": "None", "value": "None"}, {"name": "VolumeSnapshot", "value": "VolumeSnapshot"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.creationData.sourceId", "options": ["source-id"], "help": {"short": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\""}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.managedBy", "options": ["managed-by"], "hide": true, "group": "Properties", "help": {"short": "Parent resource information."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.managedBy.resourceId", "options": ["resource-id"], "help": {"short": "Resource ID of the resource managing the volume."}}]}, {"type": "integer64", "var": "$parameters.properties.sizeGiB", "options": ["size-gib"], "group": "Properties", "help": {"short": "Volume size."}}]}], "operations": [{"operationId": "Volumes_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "name": "volumeName", "arg": "$Path.volumeName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/volumes/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "props": [{"type": "string", "name": "createSource", "enum": {"items": [{"value": "Disk"}, {"value": "DiskRestorePoint"}, {"value": "DiskSnapshot"}, {"value": "None"}, {"value": "VolumeSnapshot"}]}}, {"type": "string", "name": "sourceId"}]}, {"type": "object", "name": "managedBy", "props": [{"type": "string", "name": "resourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer64", "name": "sizeGiB", "required": true}, {"readOnly": true, "type": "object", "name": "storageTarget", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Healthy"}, {"value": "Invalid"}, {"value": "Running"}, {"value": "Stopped"}, {"value": "Stopped (deallocated)"}, {"value": "Unhealthy"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "targetIqn"}, {"readOnly": true, "type": "string", "name": "targetPortalHostname"}, {"readOnly": true, "type": "integer32", "name": "targetPortalPort"}]}, {"readOnly": true, "type": "string", "name": "volumeId"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Volume_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "arg": "$parameters.properties.creationData", "props": [{"type": "string", "name": "createSource", "arg": "$parameters.properties.creationData.createSource", "enum": {"items": [{"value": "Disk"}, {"value": "DiskRestorePoint"}, {"value": "DiskSnapshot"}, {"value": "None"}, {"value": "VolumeSnapshot"}]}}, {"type": "string", "name": "sourceId", "arg": "$parameters.properties.creationData.sourceId"}]}, {"type": "object", "name": "managedBy", "arg": "$parameters.properties.managedBy", "props": [{"type": "string", "name": "resourceId", "arg": "$parameters.properties.managedBy.resourceId"}]}, {"type": "integer64", "name": "sizeGiB", "arg": "$parameters.properties.sizeGiB", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "location"}, "operationId": "Volumes_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "name": "volumeName", "arg": "$Path.volumeName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Volume_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.xml new file mode 100644 index 000000000..403ba25cf --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS92b2x1bWVzL3t9/2024-06-01-preview.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + +
+
+ + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.json new file mode 100644 index 000000000..fbc72140e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHM=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san volume snapshot", "commands": [{"name": "list", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHM=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "Specify $filter='volumeName eq ' to filter on volume."}}]}], "operations": [{"operationId": "VolumeSnapshots_ListByVolumeGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/snapshots/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "required": true, "props": [{"type": "string", "name": "sourceId", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "integer64", "name": "sourceVolumeSizeGiB"}, {"readOnly": true, "type": "string", "name": "volumeName"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.xml new file mode 100644 index 000000000..7deea04e1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHM=/2024-06-01-preview.xml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.json new file mode 100644 index 000000000..4ed79da15 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "elastic-san volume snapshot", "commands": [{"name": "show", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.snapshotName", "options": ["n", "name", "snapshot-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the volume snapshot within the given volume group."}, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}], "operations": [{"operationId": "VolumeSnapshots_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "snapshotName", "arg": "$Path.snapshotName", "required": true, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/snapshots/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "required": true, "props": [{"type": "string", "name": "sourceId", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "integer64", "name": "sourceVolumeSizeGiB"}, {"readOnly": true, "type": "string", "name": "volumeName"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.snapshotName", "options": ["n", "name", "snapshot-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the volume snapshot within the given volume group."}, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VolumeSnapshots_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "snapshotName", "arg": "$Path.snapshotName", "required": true, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.snapshotName", "options": ["n", "name", "snapshot-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the volume snapshot within the given volume group."}, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.creationData", "options": ["creation-data"], "required": true, "group": "Properties", "help": {"short": "Data used when creating a volume snapshot."}, "args": [{"type": "string", "var": "$parameters.properties.creationData.sourceId", "options": ["source-id"], "required": true, "help": {"short": "Fully qualified resource ID of the volume. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\""}}]}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VolumeSnapshots_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "snapshotName", "arg": "$Path.snapshotName", "required": true, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "arg": "$parameters.properties.creationData", "required": true, "props": [{"type": "string", "name": "sourceId", "arg": "$parameters.properties.creationData.sourceId", "required": true}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/snapshots/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "required": true, "props": [{"type": "string", "name": "sourceId", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "integer64", "name": "sourceVolumeSizeGiB"}, {"readOnly": true, "type": "string", "name": "volumeName"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.elasticsan/elasticsans/{}/volumegroups/{}/snapshots/{}", "version": "2024-06-01-preview", "swagger": "mgmt-plane/elasticsan/ResourceProviders/Microsoft.ElasticSan/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRWxhc3RpY1Nhbi9lbGFzdGljU2Fucy97ZWxhc3RpY1Nhbk5hbWV9L3ZvbHVtZWdyb3Vwcy97dm9sdW1lR3JvdXBOYW1lfS9zbmFwc2hvdHMve3NuYXBzaG90TmFtZX0=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.elasticSanName", "options": ["e", "elastic-san", "elastic-san-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the ElasticSan."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.snapshotName", "options": ["n", "name", "snapshot-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the volume snapshot within the given volume group."}, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.volumeGroupName", "options": ["v", "volume-group", "volume-group-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the VolumeGroup."}, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$parameters.properties.creationData", "options": ["creation-data"], "group": "Properties", "help": {"short": "Data used when creating a volume snapshot."}, "args": [{"type": "string", "var": "$parameters.properties.creationData.sourceId", "options": ["source-id"], "help": {"short": "Fully qualified resource ID of the volume. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\""}}]}]}], "operations": [{"operationId": "VolumeSnapshots_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "snapshotName", "arg": "$Path.snapshotName", "required": true, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ElasticSan/elasticSans/{}/volumegroups/{}/snapshots/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "required": true, "props": [{"type": "string", "name": "sourceId", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Invalid"}, {"value": "Pending"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "integer64", "name": "sourceVolumeSizeGiB"}, {"readOnly": true, "type": "string", "name": "volumeName"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Snapshot_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "creationData", "arg": "$parameters.properties.creationData", "required": true, "props": [{"type": "string", "name": "sourceId", "arg": "$parameters.properties.creationData.sourceId", "required": true}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "location"}, "operationId": "VolumeSnapshots_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/snapshots/{snapshotName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "elasticSanName", "arg": "$Path.elasticSanName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "snapshotName", "arg": "$Path.snapshotName", "required": true, "format": {"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "volumeGroupName", "arg": "$Path.volumeGroupName", "required": true, "format": {"pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", "maxLength": 63, "minLength": 3}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Snapshot_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.xml new file mode 100644 index 000000000..aebb40ed3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljc2FuL2VsYXN0aWNzYW5zL3t9L3ZvbHVtZWdyb3Vwcy97fS9zbmFwc2hvdHMve30=/2024-06-01-preview.xml @@ -0,0 +1,487 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+