diff --git a/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.format.ps1xml b/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.format.ps1xml
index 2bdb50066496..7c6b0958a78a 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.format.ps1xml
+++ b/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.format.ps1xml
@@ -329,28 +329,6 @@
-
- Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.PreValidationResponse
-
- Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.PreValidationResponse#Multiple
-
-
-
-
-
-
-
-
-
-
-
- ValidationStatus
-
-
-
-
-
-
Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.PrivateEndpointConnection
@@ -675,46 +653,6 @@
-
- Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.ScaleUpProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.ScaleUpProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AutoScalePolicyEnforcement
-
-
- CapacityUnitScaleUpLimitTiB
-
-
- IncreaseCapacityUnitByTiB
-
-
- UnusedSizeTiB
-
-
-
-
-
-
Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.Sku
diff --git a/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.psd1 b/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.psd1
index d1aa3f0665b2..df670c3e3189 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.psd1
+++ b/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.psd1
@@ -11,7 +11,7 @@
DotNetFrameworkVersion = '4.7.2'
RequiredAssemblies = './bin/Az.ElasticSan.private.dll'
FormatsToProcess = './Az.ElasticSan.format.ps1xml'
- FunctionsToExport = 'Add-AzElasticSanVolumeGroupNetworkRule', 'Get-AzElasticSan', 'Get-AzElasticSanSkuList', 'Get-AzElasticSanVolume', 'Get-AzElasticSanVolumeGroup', 'Get-AzElasticSanVolumeSnapshot', 'New-AzElasticSan', 'New-AzElasticSanVirtualNetworkRuleObject', 'New-AzElasticSanVolume', 'New-AzElasticSanVolumeGroup', 'New-AzElasticSanVolumeSnapshot', 'Remove-AzElasticSan', 'Remove-AzElasticSanVolume', 'Remove-AzElasticSanVolumeGroup', 'Remove-AzElasticSanVolumeGroupNetworkRule', 'Remove-AzElasticSanVolumeSnapshot', 'Test-AzElasticSanVolumeBackup', 'Test-AzElasticSanVolumeRestore', 'Update-AzElasticSan', 'Update-AzElasticSanVolume', 'Update-AzElasticSanVolumeGroup'
+ FunctionsToExport = 'Add-AzElasticSanVolumeGroupNetworkRule', 'Get-AzElasticSan', 'Get-AzElasticSanSkuList', 'Get-AzElasticSanVolume', 'Get-AzElasticSanVolumeGroup', 'Get-AzElasticSanVolumeSnapshot', 'New-AzElasticSan', 'New-AzElasticSanVirtualNetworkRuleObject', 'New-AzElasticSanVolume', 'New-AzElasticSanVolumeGroup', 'New-AzElasticSanVolumeSnapshot', 'Remove-AzElasticSan', 'Remove-AzElasticSanVolume', 'Remove-AzElasticSanVolumeGroup', 'Remove-AzElasticSanVolumeGroupNetworkRule', 'Remove-AzElasticSanVolumeSnapshot', 'Update-AzElasticSan', 'Update-AzElasticSanVolume', 'Update-AzElasticSanVolumeGroup'
PrivateData = @{
PSData = @{
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ElasticSan'
diff --git a/generated/ElasticSan/ElasticSan.Autorest/Properties/AssemblyInfo.cs b/generated/ElasticSan/ElasticSan.Autorest/Properties/AssemblyInfo.cs
index 51665853a8d9..c857cfd0d76f 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/Properties/AssemblyInfo.cs
+++ b/generated/ElasticSan/ElasticSan.Autorest/Properties/AssemblyInfo.cs
@@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ElasticSan")]
-[assembly: System.Reflection.AssemblyFileVersionAttribute("1.4.1")]
-[assembly: System.Reflection.AssemblyVersionAttribute("1.4.1")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.5.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.5.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
diff --git a/generated/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSan.ps1 b/generated/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSan.ps1
index bb30a53a948c..84d3e905b78e 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSan.ps1
+++ b/generated/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSan.ps1
@@ -20,7 +20,7 @@ Create ElasticSan.
.Description
Create ElasticSan.
.Example
-New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 1 -ExtendedCapacitySizeTib 6 -Location eastus -SkuName 'Premium_LRS' -AvailabilityZone 1 -Tag @{tag1="value1";tag2="value2"} -AutoScalePolicyEnforcement Enabled -CapacityUnitScaleUpLimitTiB 30 -IncreaseCapacityUnitByTiB 2 -UnusedSizeTiB 6
+New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 1 -ExtendedCapacitySizeTib 6 -Location eastus -SkuName 'Premium_LRS' -Tag @{tag1="value1";tag2="value2"}
.Example
New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -Location eastus -SkuName 'Premium_LRS' -Tag @{tag1="value1";tag2="value2"}
@@ -89,31 +89,6 @@ param(
# The sku name.
${SkuName},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.PSArgumentCompleterAttribute("None", "Enabled", "Disabled")]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Enable or Disable scale up setting on Elastic San Appliance.
- ${AutoScalePolicyEnforcement},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Maximum scale up size on Elastic San appliance in TiB.
- ${CapacityUnitScaleUpLimitTiB},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Unit to increase Capacity Unit on Elastic San appliance in TiB.
- ${IncreaseCapacityUnitByTiB},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Unused size on Elastic San appliance in TiB.
- ${UnusedSizeTiB},
-
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
diff --git a/generated/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1
index 8f6224684989..5ba716421282 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -2780,598 +2780,6 @@ end {
}
}
-<#
-.Synopsis
-Validate whether a disk snapshot backup can be taken for list of volumes.
-.Description
-Validate whether a disk snapshot backup can be taken for list of volumes.
-.Example
-Test-AzElasticSanVolumeBackup -ResourceGroupName myresourcegroup -ElasticSanName myelasticsan -VolumeGroupName myvolumegroup -VolumeName myvolume
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeNameList
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPreValidationResponse
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-ELASTICSANINPUTOBJECT : Identity Parameter
- [ElasticSanName ]: The name of the ElasticSan.
- [Id ]: Resource identity path
- [PrivateEndpointConnectionName ]: The name of the Private Endpoint connection.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SnapshotName ]: The name of the volume snapshot within the given volume group.
- [SubscriptionId ]: The ID of the target subscription.
- [VolumeGroupName ]: The name of the VolumeGroup.
- [VolumeName ]: The name of the Volume.
-
-INPUTOBJECT : Identity Parameter
- [ElasticSanName ]: The name of the ElasticSan.
- [Id ]: Resource identity path
- [PrivateEndpointConnectionName ]: The name of the Private Endpoint connection.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SnapshotName ]: The name of the volume snapshot within the given volume group.
- [SubscriptionId ]: The ID of the target subscription.
- [VolumeGroupName ]: The name of the VolumeGroup.
- [VolumeName ]: The name of the Volume.
-
-PARAMETER : object to hold array of volume names
- VolumeName >: array of volume names
-.Link
-https://learn.microsoft.com/powershell/module/az.elasticsan/test-azelasticsanvolumebackup
-#>
-function Test-AzElasticSanVolumeBackup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPreValidationResponse])]
-[CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-param(
- [Parameter(ParameterSetName='Backup', Mandatory)]
- [Parameter(ParameterSetName='BackupExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the ElasticSan.
- ${ElasticSanName},
-
- [Parameter(ParameterSetName='Backup', Mandatory)]
- [Parameter(ParameterSetName='BackupExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Backup')]
- [Parameter(ParameterSetName='BackupExpanded')]
- [Parameter(ParameterSetName='BackupViaJsonFilePath')]
- [Parameter(ParameterSetName='BackupViaJsonString')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='Backup', Mandatory)]
- [Parameter(ParameterSetName='BackupExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSan', Mandatory)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSanExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the VolumeGroup.
- ${VolumeGroupName},
-
- [Parameter(ParameterSetName='BackupViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='BackupViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='BackupViaIdentityElasticSan', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSanExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity]
- # Identity Parameter
- ${ElasticSanInputObject},
-
- [Parameter(ParameterSetName='Backup', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='BackupViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSan', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeNameList]
- # object to hold array of volume names
- ${Parameter},
-
- [Parameter(ParameterSetName='BackupExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSanExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaIdentityExpanded', Mandatory)]
- [AllowEmptyCollection()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String[]]
- # array of volume names
- ${VolumeName},
-
- [Parameter(ParameterSetName='BackupViaJsonFilePath', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Path of Json file supplied to the Backup operation
- ${JsonFilePath},
-
- [Parameter(ParameterSetName='BackupViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Json string supplied to the Backup operation
- ${JsonString},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Backup = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_Backup';
- BackupExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupExpanded';
- BackupViaIdentity = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaIdentity';
- BackupViaIdentityElasticSan = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaIdentityElasticSan';
- BackupViaIdentityElasticSanExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaIdentityElasticSanExpanded';
- BackupViaIdentityExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaIdentityExpanded';
- BackupViaJsonFilePath = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaJsonFilePath';
- BackupViaJsonString = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaJsonString';
- }
- if (('Backup', 'BackupExpanded', 'BackupViaJsonFilePath', 'BackupViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
- if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
- }
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
-
-<#
-.Synopsis
-Validate whether a list of backed up disk snapshots can be restored into ElasticSan volumes.
-.Description
-Validate whether a list of backed up disk snapshots can be restored into ElasticSan volumes.
-.Example
-Test-AzElasticSanVolumeRestore -ResourceGroupName myresourcegroup -ElasticSanName myelasticsan -VolumeGroupName myvolumegroup -DiskSnapshotId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Compute/snapshots/mydisksnapshot"
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IDiskSnapshotList
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPreValidationResponse
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-ELASTICSANINPUTOBJECT : Identity Parameter
- [ElasticSanName ]: The name of the ElasticSan.
- [Id ]: Resource identity path
- [PrivateEndpointConnectionName ]: The name of the Private Endpoint connection.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SnapshotName ]: The name of the volume snapshot within the given volume group.
- [SubscriptionId ]: The ID of the target subscription.
- [VolumeGroupName ]: The name of the VolumeGroup.
- [VolumeName ]: The name of the Volume.
-
-INPUTOBJECT : Identity Parameter
- [ElasticSanName ]: The name of the ElasticSan.
- [Id ]: Resource identity path
- [PrivateEndpointConnectionName ]: The name of the Private Endpoint connection.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SnapshotName ]: The name of the volume snapshot within the given volume group.
- [SubscriptionId ]: The ID of the target subscription.
- [VolumeGroupName ]: The name of the VolumeGroup.
- [VolumeName ]: The name of the Volume.
-
-PARAMETER : object to hold array of Disk Snapshot ARM IDs
- DiskSnapshotId >: array of DiskSnapshot ARM IDs
-.Link
-https://learn.microsoft.com/powershell/module/az.elasticsan/test-azelasticsanvolumerestore
-#>
-function Test-AzElasticSanVolumeRestore {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPreValidationResponse])]
-[CmdletBinding(DefaultParameterSetName='RestoreExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-param(
- [Parameter(ParameterSetName='Restore', Mandatory)]
- [Parameter(ParameterSetName='RestoreExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the ElasticSan.
- ${ElasticSanName},
-
- [Parameter(ParameterSetName='Restore', Mandatory)]
- [Parameter(ParameterSetName='RestoreExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Restore')]
- [Parameter(ParameterSetName='RestoreExpanded')]
- [Parameter(ParameterSetName='RestoreViaJsonFilePath')]
- [Parameter(ParameterSetName='RestoreViaJsonString')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='Restore', Mandatory)]
- [Parameter(ParameterSetName='RestoreExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSan', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSanExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the VolumeGroup.
- ${VolumeGroupName},
-
- [Parameter(ParameterSetName='RestoreViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='RestoreViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSan', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSanExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity]
- # Identity Parameter
- ${ElasticSanInputObject},
-
- [Parameter(ParameterSetName='Restore', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='RestoreViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSan', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IDiskSnapshotList]
- # object to hold array of Disk Snapshot ARM IDs
- ${Parameter},
-
- [Parameter(ParameterSetName='RestoreExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSanExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaIdentityExpanded', Mandatory)]
- [AllowEmptyCollection()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String[]]
- # array of DiskSnapshot ARM IDs
- ${DiskSnapshotId},
-
- [Parameter(ParameterSetName='RestoreViaJsonFilePath', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Path of Json file supplied to the Restore operation
- ${JsonFilePath},
-
- [Parameter(ParameterSetName='RestoreViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Json string supplied to the Restore operation
- ${JsonString},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Restore = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_Restore';
- RestoreExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreExpanded';
- RestoreViaIdentity = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaIdentity';
- RestoreViaIdentityElasticSan = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaIdentityElasticSan';
- RestoreViaIdentityElasticSanExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaIdentityElasticSanExpanded';
- RestoreViaIdentityExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaIdentityExpanded';
- RestoreViaJsonFilePath = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaJsonFilePath';
- RestoreViaJsonString = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaJsonString';
- }
- if (('Restore', 'RestoreExpanded', 'RestoreViaJsonFilePath', 'RestoreViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
- if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
- }
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
-
<#
.Synopsis
Update an Volume.
@@ -3652,7 +3060,7 @@ Update a Elastic San.
.Description
Update a Elastic San.
.Example
-$elasticSan = Update-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 5 -ExtendedCapacitySizeTib 20 -Tag @{"tag3" = "value3"} -CapacityUnitScaleUpLimitTiB 20 -IncreaseCapacityUnitByTiB 2 -UnusedSizeTiB 5 -AutoScalePolicyEnforcement Disabled
+$elasticSan = Update-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 64 -ExtendedCapacitySizeTib 128 -Tag @{"tag3" = "value3"}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity
@@ -3706,37 +3114,18 @@ param(
# Identity Parameter
${InputObject},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.PSArgumentCompleterAttribute("None", "Enabled", "Disabled")]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Enable or Disable scale up setting on Elastic San Appliance.
- ${AutoScalePolicyEnforcement},
-
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
[System.Int64]
# Base size of the Elastic San appliance in TiB.
${BaseSizeTiB},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Maximum scale up size on Elastic San appliance in TiB.
- ${CapacityUnitScaleUpLimitTiB},
-
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
[System.Int64]
# Extended size of the Elastic San appliance in TiB.
${ExtendedCapacitySizeTiB},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Unit to increase Capacity Unit on Elastic San appliance in TiB.
- ${IncreaseCapacityUnitByTiB},
-
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.PSArgumentCompleterAttribute("Enabled", "Disabled")]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
@@ -3752,12 +3141,6 @@ param(
# Update tags
${Tag},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Unused size on Elastic San appliance in TiB.
- ${UnusedSizeTiB},
-
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -4156,7 +3539,7 @@ Create ElasticSan.
.Description
Create ElasticSan.
.Example
-New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 1 -ExtendedCapacitySizeTib 6 -Location eastus -SkuName 'Premium_LRS' -AvailabilityZone 1 -Tag @{tag1="value1";tag2="value2"} -AutoScalePolicyEnforcement Enabled -CapacityUnitScaleUpLimitTiB 30 -IncreaseCapacityUnitByTiB 2 -UnusedSizeTiB 6
+New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 1 -ExtendedCapacitySizeTib 6 -Location eastus -SkuName 'Premium_LRS' -Tag @{tag1="value1";tag2="value2"}
.Example
New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -Location eastus -SkuName 'Premium_LRS' -Tag @{tag1="value1";tag2="value2"}
@@ -4225,31 +3608,6 @@ param(
# The sku name.
${SkuName},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.PSArgumentCompleterAttribute("None", "Enabled", "Disabled")]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Enable or Disable scale up setting on Elastic San Appliance.
- ${AutoScalePolicyEnforcement},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Maximum scale up size on Elastic San appliance in TiB.
- ${CapacityUnitScaleUpLimitTiB},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Unit to increase Capacity Unit on Elastic San appliance in TiB.
- ${IncreaseCapacityUnitByTiB},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Unused size on Elastic San appliance in TiB.
- ${UnusedSizeTiB},
-
[Parameter()]
[AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
diff --git a/generated/ElasticSan/ElasticSan.Autorest/exports/Test-AzElasticSanVolumeBackup.ps1 b/generated/ElasticSan/ElasticSan.Autorest/exports/Test-AzElasticSanVolumeBackup.ps1
deleted file mode 100644
index 487ef8387a70..000000000000
--- a/generated/ElasticSan/ElasticSan.Autorest/exports/Test-AzElasticSanVolumeBackup.ps1
+++ /dev/null
@@ -1,311 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
-# is regenerated.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Validate whether a disk snapshot backup can be taken for list of volumes.
-.Description
-Validate whether a disk snapshot backup can be taken for list of volumes.
-.Example
-Test-AzElasticSanVolumeBackup -ResourceGroupName myresourcegroup -ElasticSanName myelasticsan -VolumeGroupName myvolumegroup -VolumeName myvolume
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeNameList
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPreValidationResponse
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-ELASTICSANINPUTOBJECT : Identity Parameter
- [ElasticSanName ]: The name of the ElasticSan.
- [Id ]: Resource identity path
- [PrivateEndpointConnectionName ]: The name of the Private Endpoint connection.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SnapshotName ]: The name of the volume snapshot within the given volume group.
- [SubscriptionId ]: The ID of the target subscription.
- [VolumeGroupName ]: The name of the VolumeGroup.
- [VolumeName ]: The name of the Volume.
-
-INPUTOBJECT : Identity Parameter
- [ElasticSanName ]: The name of the ElasticSan.
- [Id ]: Resource identity path
- [PrivateEndpointConnectionName ]: The name of the Private Endpoint connection.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SnapshotName ]: The name of the volume snapshot within the given volume group.
- [SubscriptionId ]: The ID of the target subscription.
- [VolumeGroupName ]: The name of the VolumeGroup.
- [VolumeName ]: The name of the Volume.
-
-PARAMETER : object to hold array of volume names
- VolumeName >: array of volume names
-.Link
-https://learn.microsoft.com/powershell/module/az.elasticsan/test-azelasticsanvolumebackup
-#>
-function Test-AzElasticSanVolumeBackup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPreValidationResponse])]
-[CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-param(
- [Parameter(ParameterSetName='Backup', Mandatory)]
- [Parameter(ParameterSetName='BackupExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the ElasticSan.
- ${ElasticSanName},
-
- [Parameter(ParameterSetName='Backup', Mandatory)]
- [Parameter(ParameterSetName='BackupExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Backup')]
- [Parameter(ParameterSetName='BackupExpanded')]
- [Parameter(ParameterSetName='BackupViaJsonFilePath')]
- [Parameter(ParameterSetName='BackupViaJsonString')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='Backup', Mandatory)]
- [Parameter(ParameterSetName='BackupExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSan', Mandatory)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSanExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='BackupViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the VolumeGroup.
- ${VolumeGroupName},
-
- [Parameter(ParameterSetName='BackupViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='BackupViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='BackupViaIdentityElasticSan', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSanExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity]
- # Identity Parameter
- ${ElasticSanInputObject},
-
- [Parameter(ParameterSetName='Backup', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='BackupViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSan', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeNameList]
- # object to hold array of volume names
- ${Parameter},
-
- [Parameter(ParameterSetName='BackupExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaIdentityElasticSanExpanded', Mandatory)]
- [Parameter(ParameterSetName='BackupViaIdentityExpanded', Mandatory)]
- [AllowEmptyCollection()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String[]]
- # array of volume names
- ${VolumeName},
-
- [Parameter(ParameterSetName='BackupViaJsonFilePath', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Path of Json file supplied to the Backup operation
- ${JsonFilePath},
-
- [Parameter(ParameterSetName='BackupViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Json string supplied to the Backup operation
- ${JsonString},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Backup = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_Backup';
- BackupExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupExpanded';
- BackupViaIdentity = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaIdentity';
- BackupViaIdentityElasticSan = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaIdentityElasticSan';
- BackupViaIdentityElasticSanExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaIdentityElasticSanExpanded';
- BackupViaIdentityExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaIdentityExpanded';
- BackupViaJsonFilePath = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaJsonFilePath';
- BackupViaJsonString = 'Az.ElasticSan.private\Test-AzElasticSanVolumeBackup_BackupViaJsonString';
- }
- if (('Backup', 'BackupExpanded', 'BackupViaJsonFilePath', 'BackupViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
- if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
- }
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/ElasticSan/ElasticSan.Autorest/exports/Test-AzElasticSanVolumeRestore.ps1 b/generated/ElasticSan/ElasticSan.Autorest/exports/Test-AzElasticSanVolumeRestore.ps1
deleted file mode 100644
index 93dd1cd337c8..000000000000
--- a/generated/ElasticSan/ElasticSan.Autorest/exports/Test-AzElasticSanVolumeRestore.ps1
+++ /dev/null
@@ -1,311 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
-# is regenerated.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Validate whether a list of backed up disk snapshots can be restored into ElasticSan volumes.
-.Description
-Validate whether a list of backed up disk snapshots can be restored into ElasticSan volumes.
-.Example
-Test-AzElasticSanVolumeRestore -ResourceGroupName myresourcegroup -ElasticSanName myelasticsan -VolumeGroupName myvolumegroup -DiskSnapshotId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Compute/snapshots/mydisksnapshot"
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IDiskSnapshotList
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPreValidationResponse
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-ELASTICSANINPUTOBJECT : Identity Parameter
- [ElasticSanName ]: The name of the ElasticSan.
- [Id ]: Resource identity path
- [PrivateEndpointConnectionName ]: The name of the Private Endpoint connection.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SnapshotName ]: The name of the volume snapshot within the given volume group.
- [SubscriptionId ]: The ID of the target subscription.
- [VolumeGroupName ]: The name of the VolumeGroup.
- [VolumeName ]: The name of the Volume.
-
-INPUTOBJECT : Identity Parameter
- [ElasticSanName ]: The name of the ElasticSan.
- [Id ]: Resource identity path
- [PrivateEndpointConnectionName ]: The name of the Private Endpoint connection.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SnapshotName ]: The name of the volume snapshot within the given volume group.
- [SubscriptionId ]: The ID of the target subscription.
- [VolumeGroupName ]: The name of the VolumeGroup.
- [VolumeName ]: The name of the Volume.
-
-PARAMETER : object to hold array of Disk Snapshot ARM IDs
- DiskSnapshotId >: array of DiskSnapshot ARM IDs
-.Link
-https://learn.microsoft.com/powershell/module/az.elasticsan/test-azelasticsanvolumerestore
-#>
-function Test-AzElasticSanVolumeRestore {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPreValidationResponse])]
-[CmdletBinding(DefaultParameterSetName='RestoreExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-param(
- [Parameter(ParameterSetName='Restore', Mandatory)]
- [Parameter(ParameterSetName='RestoreExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the ElasticSan.
- ${ElasticSanName},
-
- [Parameter(ParameterSetName='Restore', Mandatory)]
- [Parameter(ParameterSetName='RestoreExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Restore')]
- [Parameter(ParameterSetName='RestoreExpanded')]
- [Parameter(ParameterSetName='RestoreViaJsonFilePath')]
- [Parameter(ParameterSetName='RestoreViaJsonString')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='Restore', Mandatory)]
- [Parameter(ParameterSetName='RestoreExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSan', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSanExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [System.String]
- # The name of the VolumeGroup.
- ${VolumeGroupName},
-
- [Parameter(ParameterSetName='RestoreViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='RestoreViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSan', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSanExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity]
- # Identity Parameter
- ${ElasticSanInputObject},
-
- [Parameter(ParameterSetName='Restore', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='RestoreViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSan', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IDiskSnapshotList]
- # object to hold array of Disk Snapshot ARM IDs
- ${Parameter},
-
- [Parameter(ParameterSetName='RestoreExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaIdentityElasticSanExpanded', Mandatory)]
- [Parameter(ParameterSetName='RestoreViaIdentityExpanded', Mandatory)]
- [AllowEmptyCollection()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String[]]
- # array of DiskSnapshot ARM IDs
- ${DiskSnapshotId},
-
- [Parameter(ParameterSetName='RestoreViaJsonFilePath', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Path of Json file supplied to the Restore operation
- ${JsonFilePath},
-
- [Parameter(ParameterSetName='RestoreViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Json string supplied to the Restore operation
- ${JsonString},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Restore = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_Restore';
- RestoreExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreExpanded';
- RestoreViaIdentity = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaIdentity';
- RestoreViaIdentityElasticSan = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaIdentityElasticSan';
- RestoreViaIdentityElasticSanExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaIdentityElasticSanExpanded';
- RestoreViaIdentityExpanded = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaIdentityExpanded';
- RestoreViaJsonFilePath = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaJsonFilePath';
- RestoreViaJsonString = 'Az.ElasticSan.private\Test-AzElasticSanVolumeRestore_RestoreViaJsonString';
- }
- if (('Restore', 'RestoreExpanded', 'RestoreViaJsonFilePath', 'RestoreViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
- if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
- }
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSan.ps1 b/generated/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSan.ps1
index 849653ff0ca9..6a3a837fc28a 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSan.ps1
+++ b/generated/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSan.ps1
@@ -20,7 +20,7 @@ Update a Elastic San.
.Description
Update a Elastic San.
.Example
-$elasticSan = Update-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 5 -ExtendedCapacitySizeTib 20 -Tag @{"tag3" = "value3"} -CapacityUnitScaleUpLimitTiB 20 -IncreaseCapacityUnitByTiB 2 -UnusedSizeTiB 5 -AutoScalePolicyEnforcement Disabled
+$elasticSan = Update-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 64 -ExtendedCapacitySizeTib 128 -Tag @{"tag3" = "value3"}
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity
@@ -74,37 +74,18 @@ param(
# Identity Parameter
${InputObject},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.PSArgumentCompleterAttribute("None", "Enabled", "Disabled")]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.String]
- # Enable or Disable scale up setting on Elastic San Appliance.
- ${AutoScalePolicyEnforcement},
-
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
[System.Int64]
# Base size of the Elastic San appliance in TiB.
${BaseSizeTiB},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Maximum scale up size on Elastic San appliance in TiB.
- ${CapacityUnitScaleUpLimitTiB},
-
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
[System.Int64]
# Extended size of the Elastic San appliance in TiB.
${ExtendedCapacitySizeTiB},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Unit to increase Capacity Unit on Elastic San appliance in TiB.
- ${IncreaseCapacityUnitByTiB},
-
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.PSArgumentCompleterAttribute("Enabled", "Disabled")]
[Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
@@ -120,12 +101,6 @@ param(
# Update tags
${Tag},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Category('Body')]
- [System.Int64]
- # Unused size on Elastic San appliance in TiB.
- ${UnusedSizeTiB},
-
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
diff --git a/generated/ElasticSan/ElasticSan.Autorest/generate-info.json b/generated/ElasticSan/ElasticSan.Autorest/generate-info.json
index 724c91d9bc61..5229b1e7a8da 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/generate-info.json
+++ b/generated/ElasticSan/ElasticSan.Autorest/generate-info.json
@@ -1,3 +1,3 @@
{
- "generate_Id": "d4a443b3-a298-4cd8-afa8-fc88ee8e9513"
+ "generate_Id": "54866fc1-12de-4954-a2d8-0f71c87ec4ec"
}
diff --git a/generated/ElasticSan/ElasticSan.Autorest/generated/api/ElasticSan.cs b/generated/ElasticSan/ElasticSan.Autorest/generated/api/ElasticSan.cs
index d059f33e42c8..35a151849d6e 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/generated/api/ElasticSan.cs
+++ b/generated/ElasticSan/ElasticSan.Autorest/generated/api/ElasticSan.cs
@@ -9,7 +9,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ElasticSan
///
/// Low-level API implementation for the ElasticSan service.
- /// (missing-service-description) Add service description
///
public partial class ElasticSan
{
@@ -30,7 +29,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansCreate(string subscriptionId, string resourceGroupName, string elasticSanName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSan body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -77,7 +76,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSan body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -134,7 +133,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSan body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -194,7 +193,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansCreateViaJsonString(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -240,7 +239,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -287,7 +286,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansCreateWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSan body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -661,7 +660,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansDelete(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -703,7 +702,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -937,7 +936,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansGet(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -980,7 +979,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1033,7 +1032,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1088,7 +1087,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansGetWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1267,7 +1266,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1307,7 +1306,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1356,7 +1355,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1406,7 +1405,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1580,7 +1579,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1618,7 +1617,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1664,7 +1663,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1710,7 +1709,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1882,7 +1881,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansUpdate(string subscriptionId, string resourceGroupName, string elasticSanName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1929,7 +1928,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1986,7 +1985,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2046,7 +2045,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansUpdateViaJsonString(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2092,7 +2091,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2139,7 +2138,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task ElasticSansUpdateWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2498,7 +2497,7 @@ public partial class ElasticSan
}
}
- /// List the operations for the provider
+ /// Gets a list of ElasticSan operations.
/// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
/// elsewhere).
@@ -2509,7 +2508,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2533,7 +2532,7 @@ public partial class ElasticSan
}
}
- /// List the operations for the provider
+ /// Gets a list of ElasticSan operations.
///
/// a delegate that is called when the remote service returns 200 (OK).
/// a delegate that is called when the remote service returns default (any response code not handled
@@ -2545,7 +2544,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task OperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2578,7 +2577,7 @@ public partial class ElasticSan
}
}
- /// List the operations for the provider
+ /// Gets a list of ElasticSan operations.
///
/// an instance that will receive events.
/// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync pipeline to use to make the request.
@@ -2588,7 +2587,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task OperationsListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2621,7 +2620,7 @@ public partial class ElasticSan
}
}
- /// List the operations for the provider
+ /// Gets a list of ElasticSan operations.
/// an instance that will receive events.
/// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync pipeline to use to make the request.
///
@@ -2630,7 +2629,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task OperationsListWithResult(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2799,7 +2798,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreate(string subscriptionId, string resourceGroupName, string elasticSanName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2850,7 +2849,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPrivateEndpointConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2912,7 +2911,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2978,7 +2977,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateViaJsonString(string subscriptionId, string resourceGroupName, string elasticSanName, string privateEndpointConnectionName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3029,7 +3028,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string privateEndpointConnectionName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3081,7 +3080,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsCreateWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IPrivateEndpointConnection body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3464,7 +3463,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDelete(string subscriptionId, string resourceGroupName, string elasticSanName, string privateEndpointConnectionName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3510,7 +3509,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3748,7 +3747,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGet(string subscriptionId, string resourceGroupName, string elasticSanName, string privateEndpointConnectionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3791,7 +3790,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3845,7 +3844,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3902,7 +3901,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsGetWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string privateEndpointConnectionName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4088,7 +4087,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsList(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4130,7 +4129,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4182,7 +4181,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4236,7 +4235,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateEndpointConnectionsListWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4419,7 +4418,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByElasticSan(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4461,7 +4460,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByElasticSanViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4513,7 +4512,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByElasticSanViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4567,7 +4566,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task PrivateLinkResourcesListByElasticSanWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4751,7 +4750,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task SkusList(string subscriptionId, string Filter, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4792,7 +4791,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task SkusListViaIdentity(global::System.String viaIdentity, string Filter, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4841,7 +4840,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task SkusListViaIdentityWithResult(global::System.String viaIdentity, string Filter, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4890,7 +4889,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task SkusListWithResult(string subscriptionId, string Filter, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5065,7 +5064,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsCreate(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5114,7 +5113,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeGroup body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5174,7 +5173,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeGroup body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5238,7 +5237,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsCreateViaJsonString(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5287,7 +5286,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5337,7 +5336,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsCreateWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeGroup body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5719,7 +5718,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsDelete(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5763,7 +5762,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6006,7 +6005,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsGet(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6051,7 +6050,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6107,7 +6106,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6166,7 +6165,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsGetWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6353,7 +6352,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsListByElasticSan(string subscriptionId, string resourceGroupName, string elasticSanName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6365,7 +6364,7 @@ public partial class ElasticSan
+ global::System.Uri.EscapeDataString(resourceGroupName)
+ "/providers/Microsoft.ElasticSan/elasticSans/"
+ global::System.Uri.EscapeDataString(elasticSanName)
- + "/volumegroups"
+ + "/volumeGroups"
+ "?"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
@@ -6395,16 +6394,16 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsListByElasticSanViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
// verify that Identity format is an exact match for uri
- var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.ElasticSan/elasticSans/(?[^/]+)/volumegroups$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity);
+ var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.ElasticSan/elasticSans/(?[^/]+)/volumeGroups$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity);
if (!_match.Success)
{
- throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups'");
+ throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups'");
}
// replace URI parameters with values from identity
@@ -6419,7 +6418,7 @@ public partial class ElasticSan
+ resourceGroupName
+ "/providers/Microsoft.ElasticSan/elasticSans/"
+ elasticSanName
- + "/volumegroups"
+ + "/volumeGroups"
+ "?"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
@@ -6447,16 +6446,16 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsListByElasticSanViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
// verify that Identity format is an exact match for uri
- var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.ElasticSan/elasticSans/(?[^/]+)/volumegroups$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity);
+ var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.ElasticSan/elasticSans/(?[^/]+)/volumeGroups$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity);
if (!_match.Success)
{
- throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups'");
+ throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups'");
}
// replace URI parameters with values from identity
@@ -6471,7 +6470,7 @@ public partial class ElasticSan
+ resourceGroupName
+ "/providers/Microsoft.ElasticSan/elasticSans/"
+ elasticSanName
- + "/volumegroups"
+ + "/volumeGroups"
+ "?"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
@@ -6501,7 +6500,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsListByElasticSanWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6513,7 +6512,7 @@ public partial class ElasticSan
+ global::System.Uri.EscapeDataString(resourceGroupName)
+ "/providers/Microsoft.ElasticSan/elasticSans/"
+ global::System.Uri.EscapeDataString(elasticSanName)
- + "/volumegroups"
+ + "/volumeGroups"
+ "?"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
@@ -6687,7 +6686,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsUpdate(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeGroupUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6736,7 +6735,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeGroupUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6796,7 +6795,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeGroupUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6860,7 +6859,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsUpdateViaJsonString(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6909,7 +6908,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6959,7 +6958,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeGroupsUpdateWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolumeGroupUpdate body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7343,7 +7342,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsCreate(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string snapshotName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.ISnapshot body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7394,7 +7393,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.ISnapshot body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7457,7 +7456,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.ISnapshot body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7525,7 +7524,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsCreateViaJsonString(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string snapshotName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7577,7 +7576,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string snapshotName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7630,7 +7629,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsCreateWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string snapshotName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.ISnapshot body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8020,7 +8019,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsDelete(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string snapshotName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8066,7 +8065,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8316,7 +8315,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsGet(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string snapshotName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8361,7 +8360,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8418,7 +8417,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8479,7 +8478,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsGetWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string snapshotName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8677,7 +8676,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsListByVolumeGroup(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string Filter, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8693,9 +8692,9 @@ public partial class ElasticSan
+ global::System.Uri.EscapeDataString(volumeGroupName)
+ "/snapshots"
+ "?"
- + "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
- + "&"
+ (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
+ + "&"
+ + "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -8726,7 +8725,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsListByVolumeGroupViaIdentity(global::System.String viaIdentity, string Filter, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8755,9 +8754,9 @@ public partial class ElasticSan
+ volumeGroupName
+ "/snapshots"
+ "?"
- + "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
- + "&"
+ (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
+ + "&"
+ + "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -8786,7 +8785,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsListByVolumeGroupViaIdentityWithResult(global::System.String viaIdentity, string Filter, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8815,9 +8814,9 @@ public partial class ElasticSan
+ volumeGroupName
+ "/snapshots"
+ "?"
- + "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
- + "&"
+ (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
+ + "&"
+ + "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; }
@@ -8849,7 +8848,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumeSnapshotsListByVolumeGroupWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string Filter, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8865,9 +8864,9 @@ public partial class ElasticSan
+ global::System.Uri.EscapeDataString(volumeGroupName)
+ "/snapshots"
+ "?"
- + "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
- + "&"
+ (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
+ + "&"
+ + "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; }
@@ -9047,7 +9046,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumesCreate(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string volumeName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolume body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9098,7 +9097,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumesCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolume body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9161,7 +9160,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumesCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolume body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9229,7 +9228,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumesCreateViaJsonString(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string volumeName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9281,7 +9280,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumesCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string volumeName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9334,7 +9333,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumesCreateWithResult(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string volumeName, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IVolume body, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.SerializationMode.IncludeUpdate)
{
- var apiVersion = @"2025-09-01";
+ var apiVersion = @"2024-05-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9728,7 +9727,7 @@ public partial class ElasticSan
///
public async global::System.Threading.Tasks.Task VolumesDelete(string subscriptionId, string resourceGroupName, string elasticSanName, string volumeGroupName, string volumeName, string xMSDeleteSnapshots, string xMSForceDelete, global::System.Func onOk, global::System.Func