diff --git a/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.format.ps1xml b/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.format.ps1xml
index 7c6b0958a78a..2bdb50066496 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.format.ps1xml
+++ b/generated/ElasticSan/ElasticSan.Autorest/Az.ElasticSan.format.ps1xml
@@ -329,6 +329,28 @@
+
+ Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.PreValidationResponse
+
+ Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.PreValidationResponse#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ ValidationStatus
+
+
+
+
+
+
Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.PrivateEndpointConnection
@@ -653,6 +675,46 @@
+
+ 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 df670c3e3189..d1aa3f0665b2 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', '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', 'Test-AzElasticSanVolumeBackup', 'Test-AzElasticSanVolumeRestore', '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 0582c863dbca..51665853a8d9 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.0")]
-[assembly: System.Reflection.AssemblyVersionAttribute("1.4.0")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.4.1")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.4.1")]
[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 84d3e905b78e..bb30a53a948c 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' -Tag @{tag1="value1";tag2="value2"}
+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
.Example
New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -Location eastus -SkuName 'Premium_LRS' -Tag @{tag1="value1";tag2="value2"}
@@ -89,6 +89,31 @@ 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 5ba716421282..8f6224684989 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -2780,6 +2780,598 @@ 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.
@@ -3060,7 +3652,7 @@ Update a Elastic San.
.Description
Update a Elastic San.
.Example
-$elasticSan = Update-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 64 -ExtendedCapacitySizeTib 128 -Tag @{"tag3" = "value3"}
+$elasticSan = Update-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 5 -ExtendedCapacitySizeTib 20 -Tag @{"tag3" = "value3"} -CapacityUnitScaleUpLimitTiB 20 -IncreaseCapacityUnitByTiB 2 -UnusedSizeTiB 5 -AutoScalePolicyEnforcement Disabled
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity
@@ -3114,18 +3706,37 @@ 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')]
@@ -3141,6 +3752,12 @@ 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()]
@@ -3539,7 +4156,7 @@ Create ElasticSan.
.Description
Create ElasticSan.
.Example
-New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 1 -ExtendedCapacitySizeTib 6 -Location eastus -SkuName 'Premium_LRS' -Tag @{tag1="value1";tag2="value2"}
+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
.Example
New-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -Location eastus -SkuName 'Premium_LRS' -Tag @{tag1="value1";tag2="value2"}
@@ -3608,6 +4225,31 @@ 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
new file mode 100644
index 000000000000..487ef8387a70
--- /dev/null
+++ b/generated/ElasticSan/ElasticSan.Autorest/exports/Test-AzElasticSanVolumeBackup.ps1
@@ -0,0 +1,311 @@
+
+# ----------------------------------------------------------------------------------
+# 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
new file mode 100644
index 000000000000..93dd1cd337c8
--- /dev/null
+++ b/generated/ElasticSan/ElasticSan.Autorest/exports/Test-AzElasticSanVolumeRestore.ps1
@@ -0,0 +1,311 @@
+
+# ----------------------------------------------------------------------------------
+# 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 6a3a837fc28a..849653ff0ca9 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 64 -ExtendedCapacitySizeTib 128 -Tag @{"tag3" = "value3"}
+$elasticSan = Update-AzElasticSan -ResourceGroupName myresourcegroup -Name myelasticsan -BaseSizeTib 5 -ExtendedCapacitySizeTib 20 -Tag @{"tag3" = "value3"} -CapacityUnitScaleUpLimitTiB 20 -IncreaseCapacityUnitByTiB 2 -UnusedSizeTiB 5 -AutoScalePolicyEnforcement Disabled
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Models.IElasticSanIdentity
@@ -74,18 +74,37 @@ 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')]
@@ -101,6 +120,12 @@ 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 6d70c48f8961..724c91d9bc61 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/generate-info.json
+++ b/generated/ElasticSan/ElasticSan.Autorest/generate-info.json
@@ -1,3 +1,3 @@
{
- "generate_Id": "4e88cd60-3085-4c80-bdb3-7249b0b6dc90"
+ "generate_Id": "d4a443b3-a298-4cd8-afa8-fc88ee8e9513"
}
diff --git a/generated/ElasticSan/ElasticSan.Autorest/generated/api/ElasticSan.cs b/generated/ElasticSan/ElasticSan.Autorest/generated/api/ElasticSan.cs
index 35a151849d6e..d059f33e42c8 100644
--- a/generated/ElasticSan/ElasticSan.Autorest/generated/api/ElasticSan.cs
+++ b/generated/ElasticSan/ElasticSan.Autorest/generated/api/ElasticSan.cs
@@ -9,6 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.ElasticSan
///
/// Low-level API implementation for the ElasticSan service.
+ /// (missing-service-description) Add service description
///
public partial class ElasticSan
{
@@ -29,7 +30,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -76,7 +77,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -133,7 +134,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -193,7 +194,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -239,7 +240,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -286,7 +287,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -660,7 +661,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -702,7 +703,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -936,7 +937,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -979,7 +980,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1032,7 +1033,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1087,7 +1088,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1266,7 +1267,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1306,7 +1307,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1355,7 +1356,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1405,7 +1406,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1579,7 +1580,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1617,7 +1618,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1663,7 +1664,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1709,7 +1710,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1881,7 +1882,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1928,7 +1929,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -1985,7 +1986,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2045,7 +2046,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2091,7 +2092,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2138,7 +2139,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2497,7 +2498,7 @@ public partial class ElasticSan
}
}
- /// Gets a list of ElasticSan operations.
+ /// List the operations for the provider
/// 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).
@@ -2508,7 +2509,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2532,7 +2533,7 @@ public partial class ElasticSan
}
}
- /// Gets a list of ElasticSan operations.
+ /// List the operations for the provider
///
/// 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
@@ -2544,7 +2545,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2577,7 +2578,7 @@ public partial class ElasticSan
}
}
- /// Gets a list of ElasticSan operations.
+ /// List the operations for the provider
///
/// an instance that will receive events.
/// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync pipeline to use to make the request.
@@ -2587,7 +2588,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2620,7 +2621,7 @@ public partial class ElasticSan
}
}
- /// Gets a list of ElasticSan operations.
+ /// List the operations for the provider
/// an instance that will receive events.
/// an instance of an Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.ISendAsync pipeline to use to make the request.
///
@@ -2629,7 +2630,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2798,7 +2799,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2849,7 +2850,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2911,7 +2912,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -2977,7 +2978,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3028,7 +3029,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3080,7 +3081,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3463,7 +3464,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3509,7 +3510,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3747,7 +3748,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3790,7 +3791,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3844,7 +3845,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -3901,7 +3902,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4087,7 +4088,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4129,7 +4130,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4181,7 +4182,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4235,7 +4236,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4418,7 +4419,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4460,7 +4461,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4512,7 +4513,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4566,7 +4567,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4750,7 +4751,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4791,7 +4792,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4840,7 +4841,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -4889,7 +4890,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5064,7 +5065,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5113,7 +5114,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5173,7 +5174,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5237,7 +5238,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5286,7 +5287,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5336,7 +5337,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5718,7 +5719,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -5762,7 +5763,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6005,7 +6006,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6050,7 +6051,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6106,7 +6107,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6165,7 +6166,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6352,7 +6353,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6364,7 +6365,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");
@@ -6394,16 +6395,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-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
@@ -6418,7 +6419,7 @@ public partial class ElasticSan
+ resourceGroupName
+ "/providers/Microsoft.ElasticSan/elasticSans/"
+ elasticSanName
- + "/volumeGroups"
+ + "/volumegroups"
+ "?"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
@@ -6446,16 +6447,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-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
@@ -6470,7 +6471,7 @@ public partial class ElasticSan
+ resourceGroupName
+ "/providers/Microsoft.ElasticSan/elasticSans/"
+ elasticSanName
- + "/volumeGroups"
+ + "/volumegroups"
+ "?"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
@@ -6500,7 +6501,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6512,7 +6513,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");
@@ -6686,7 +6687,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6735,7 +6736,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6795,7 +6796,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6859,7 +6860,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6908,7 +6909,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -6958,7 +6959,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7342,7 +7343,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7393,7 +7394,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7456,7 +7457,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7524,7 +7525,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7576,7 +7577,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -7629,7 +7630,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8019,7 +8020,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8065,7 +8066,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8315,7 +8316,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8360,7 +8361,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8417,7 +8418,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8478,7 +8479,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8676,7 +8677,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8692,9 +8693,9 @@ public partial class ElasticSan
+ global::System.Uri.EscapeDataString(volumeGroupName)
+ "/snapshots"
+ "?"
- + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
- + "&"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
+ + "&"
+ + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -8725,7 +8726,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8754,9 +8755,9 @@ public partial class ElasticSan
+ volumeGroupName
+ "/snapshots"
+ "?"
- + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
- + "&"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
+ + "&"
+ + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; }
@@ -8785,7 +8786,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8814,9 +8815,9 @@ public partial class ElasticSan
+ volumeGroupName
+ "/snapshots"
+ "?"
- + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
- + "&"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
+ + "&"
+ + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; }
@@ -8848,7 +8849,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -8864,9 +8865,9 @@ public partial class ElasticSan
+ global::System.Uri.EscapeDataString(volumeGroupName)
+ "/snapshots"
+ "?"
- + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
- + "&"
+ "api-version=" + global::System.Uri.EscapeDataString(apiVersion)
+ + "&"
+ + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter))
,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2");
await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; }
@@ -9046,7 +9047,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9097,7 +9098,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9160,7 +9161,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9228,7 +9229,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9280,7 +9281,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9333,7 +9334,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 = @"2024-05-01";
+ var apiVersion = @"2025-09-01";
// Constant Parameters
using( NoSynchronizationContext )
{
@@ -9727,7 +9728,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