Skip to content

Commit 73850d9

Browse files
authored
Revert "[ElasticSan] Support autoscale, prerestore, and prebackup " (Azure#28867)
1 parent 47fc36f commit 73850d9

File tree

49 files changed

+2084
-4655
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2084
-4655
lines changed

src/ElasticSan/ElasticSan.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ElasticSan")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.4.1")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("1.4.1")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.5.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.5.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/ElasticSan/ElasticSan.Autorest/README.md

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ For information on how to develop for `Az.ElasticSan`, see [how-to.md](how-to.md
2828
2929
``` yaml
3030
# Please specify the commit id that includes your features to make sure generated codes stable.
31-
commit: bcacfd106d182630f9a9d1ee4837d1b32da5bc1b
31+
commit: 72c69a0cf561d41ae99fe6810c426a874d3a8372
3232
require:
3333
- $(this-folder)/../../readme.azure.noprofile.md
3434
input-file:
35-
- $(repo)/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/stable/2025-09-01/elasticsan.json
35+
- $(repo)/specification/elasticsan/resource-manager/Microsoft.ElasticSan/stable/2024-05-01/elasticsan.json
3636

3737
# Normally, title is the service name
3838
title: ElasticSan
@@ -109,18 +109,6 @@ directive:
109109
subject: VolumeSnapshot
110110
verb: Update
111111
remove: true
112-
- where:
113-
verb: Backup
114-
subject: VolumePre
115-
set:
116-
verb: Test
117-
subject: VolumeBackup
118-
- where:
119-
verb: Restore
120-
subject: VolumePre
121-
set:
122-
verb: Test
123-
subject: VolumeRestore
124112
- where:
125113
parameter-name: EncryptionIdentityEncryptionUserAssignedIdentity
126114
set:
@@ -137,38 +125,6 @@ directive:
137125
parameter-name: KeyVaultPropertyKeyVersion
138126
set:
139127
parameter-name: KeyVersion
140-
- where:
141-
parameter-name: ScaleUpPropertyAutoScalePolicyEnforcement
142-
set:
143-
parameter-name: AutoScalePolicyEnforcement
144-
- where:
145-
parameter-name: ScaleUpPropertyCapacityUnitScaleUpLimitTiB
146-
set:
147-
parameter-name: CapacityUnitScaleUpLimitTiB
148-
- where:
149-
parameter-name: ScaleUpPropertyIncreaseCapacityUnitByTiB
150-
set:
151-
parameter-name: IncreaseCapacityUnitByTiB
152-
- where:
153-
parameter-name: ScaleUpPropertyUnusedSizeTiB
154-
set:
155-
parameter-name: UnusedSizeTiB
156-
- where:
157-
property-name: ScaleUpPropertyAutoScalePolicyEnforcement
158-
set:
159-
property-name: AutoScalePolicyEnforcement
160-
- where:
161-
property-name: ScaleUpPropertyCapacityUnitScaleUpLimitTiB
162-
set:
163-
property-name: CapacityUnitScaleUpLimitTiB
164-
- where:
165-
property-name: ScaleUpPropertyIncreaseCapacityUnitByTiB
166-
set:
167-
property-name: IncreaseCapacityUnitByTiB
168-
- where:
169-
property-name: ScaleUpPropertyUnusedSizeTiB
170-
set:
171-
property-name: UnusedSizeTiB
172128
# Change the description of cmdlets that correspond to multiple APIs
173129
- from: swagger-document
174130
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}"].get

src/ElasticSan/ElasticSan.Autorest/UX/Microsoft.ElasticSan/elasticSans-volumegroups-snapshots.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "elasticSans/volumegroups/snapshots",
3-
"apiVersion": "2025-09-01",
3+
"apiVersion": "2024-05-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.elasticsan"
66
},

src/ElasticSan/ElasticSan.Autorest/UX/Microsoft.ElasticSan/elasticSans-volumegroups-volumes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "elasticSans/volumegroups/volumes",
3-
"apiVersion": "2025-09-01",
3+
"apiVersion": "2024-05-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.elasticsan"
66
},

src/ElasticSan/ElasticSan.Autorest/UX/Microsoft.ElasticSan/elasticSans-volumegroups.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "elasticSans/volumegroups",
3-
"apiVersion": "2025-09-01",
3+
"apiVersion": "2024-05-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.elasticsan"
66
},

src/ElasticSan/ElasticSan.Autorest/UX/Microsoft.ElasticSan/elasticSans.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "elasticSans",
3-
"apiVersion": "2025-09-01",
3+
"apiVersion": "2024-05-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.elasticsan"
66
},

src/ElasticSan/ElasticSan.Autorest/custom/New-AzElasticSan.ps1

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -87,31 +87,6 @@ param(
8787
# The sku name.
8888
${SkuName},
8989

90-
[Parameter()]
91-
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.PSArgumentCompleterAttribute("None", "Enabled", "Disabled")]
92-
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
93-
[System.String]
94-
# Enable or Disable scale up setting on Elastic San Appliance.
95-
${AutoScalePolicyEnforcement},
96-
97-
[Parameter()]
98-
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
99-
[System.Int64]
100-
# Maximum scale up size on Elastic San appliance in TiB.
101-
${CapacityUnitScaleUpLimitTiB},
102-
103-
[Parameter()]
104-
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
105-
[System.Int64]
106-
# Unit to increase Capacity Unit on Elastic San appliance in TiB.
107-
${IncreaseCapacityUnitByTiB},
108-
109-
[Parameter()]
110-
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
111-
[System.Int64]
112-
# Unused size on Elastic San appliance in TiB.
113-
${UnusedSizeTiB},
114-
11590
[Parameter()]
11691
[AllowEmptyCollection()]
11792
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]

src/ElasticSan/ElasticSan.Autorest/docs/Az.ElasticSan.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ Remove a list of virtual network rules from a VolumeGroup
5959
### [Remove-AzElasticSanVolumeSnapshot](Remove-AzElasticSanVolumeSnapshot.md)
6060
Delete a Volume Snapshot.
6161

62-
### [Test-AzElasticSanVolumeBackup](Test-AzElasticSanVolumeBackup.md)
63-
Validate whether a disk snapshot backup can be taken for list of volumes.
64-
65-
### [Test-AzElasticSanVolumeRestore](Test-AzElasticSanVolumeRestore.md)
66-
Validate whether a list of backed up disk snapshots can be restored into ElasticSan volumes.
67-
6862
### [Update-AzElasticSan](Update-AzElasticSan.md)
6963
Update a Elastic San.
7064

0 commit comments

Comments
 (0)