diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Add-AzElasticSanVolumeGroupNetworkRule.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Add-AzElasticSanVolumeGroupNetworkRule.ps1 index 4373e972606c..80e9192813c8 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Add-AzElasticSanVolumeGroupNetworkRule.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Add-AzElasticSanVolumeGroupNetworkRule.ps1 @@ -180,7 +180,7 @@ begin { } if (('NetworkRuleObject', 'NetworkRuleResourceId') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSan.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSan.ps1 index 0c2000aca588..673e5f6f88c0 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSan.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSan.ps1 @@ -163,7 +163,7 @@ begin { } if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanSkuList.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanSkuList.ps1 index 652233c4e769..74cf7d7288ad 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanSkuList.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanSkuList.ps1 @@ -123,7 +123,7 @@ begin { } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolume.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolume.ps1 index 79dc81e48e18..a814e997cd4f 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolume.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolume.ps1 @@ -210,7 +210,7 @@ begin { } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolumeGroup.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolumeGroup.ps1 index 2f39b61fb7c7..10fda204df17 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolumeGroup.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolumeGroup.ps1 @@ -184,7 +184,7 @@ begin { } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolumeSnapshot.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolumeSnapshot.ps1 index d37e3d8d278d..66af1ec6d408 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolumeSnapshot.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Get-AzElasticSanVolumeSnapshot.ps1 @@ -217,7 +217,7 @@ begin { } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSan.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSan.ps1 index 944b299233bc..dc571f0d78a2 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSan.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSan.ps1 @@ -220,7 +220,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolume.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolume.ps1 index 56845512250e..620ecb8f0a18 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolume.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolume.ps1 @@ -236,7 +236,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolumeGroup.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolumeGroup.ps1 index 63c2231500c6..c2458269c350 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolumeGroup.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolumeGroup.ps1 @@ -272,7 +272,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolumeSnapshot.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolumeSnapshot.ps1 index 3e16192aaf95..c5077c44780b 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolumeSnapshot.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/New-AzElasticSanVolumeSnapshot.ps1 @@ -223,7 +223,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1 index 77874e477e54..3cf0f9e17e11 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -123,7 +123,7 @@ begin { } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -350,7 +350,7 @@ begin { } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -610,7 +610,7 @@ begin { } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -863,7 +863,7 @@ begin { } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1069,7 +1069,7 @@ begin { } if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1335,7 +1335,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1614,7 +1614,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1877,7 +1877,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2116,7 +2116,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2379,7 +2379,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2661,7 +2661,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2876,7 +2876,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3140,7 +3140,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3376,7 +3376,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3599,7 +3599,7 @@ begin { } if (('NetworkRuleObject', 'NetworkRuleResourceId') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -4023,7 +4023,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -4257,7 +4257,7 @@ begin { } if (('NetworkRuleObject', 'NetworkRuleResourceId') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -4572,7 +4572,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSan.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSan.ps1 index 1abaca742789..a8bdb602c4b6 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSan.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSan.ps1 @@ -172,7 +172,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolume.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolume.ps1 index 0c6d08819a00..5acb3b947355 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolume.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolume.ps1 @@ -239,7 +239,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeGroup.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeGroup.ps1 index be5424bd7856..44144534730c 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeGroup.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeGroup.ps1 @@ -196,7 +196,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeGroupNetworkRule.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeGroupNetworkRule.ps1 index 979592a2c87a..a249f97baf3d 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeGroupNetworkRule.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeGroupNetworkRule.ps1 @@ -191,7 +191,7 @@ begin { } if (('NetworkRuleObject', 'NetworkRuleResourceId') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeSnapshot.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeSnapshot.ps1 index 34b05fc408f2..2db0fbe2c91b 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeSnapshot.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Remove-AzElasticSanVolumeSnapshot.ps1 @@ -220,7 +220,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSan.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSan.ps1 index 0235f3adea82..6d869991dcae 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSan.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSan.ps1 @@ -193,7 +193,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSanVolume.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSanVolume.ps1 index 12d7d8379eb1..e83a609c330e 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSanVolume.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSanVolume.ps1 @@ -221,7 +221,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSanVolumeGroup.ps1 b/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSanVolumeGroup.ps1 index 8e84bb110674..cf37fb303c03 100644 --- a/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSanVolumeGroup.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/exports/Update-AzElasticSanVolumeGroup.ps1 @@ -272,7 +272,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/ElasticSan/ElasticSan.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index c644d9d8fc55..4c1ecb927174 100644 --- a/src/ElasticSan/ElasticSan.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/src/ElasticSan/ElasticSan.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -296,7 +296,7 @@ private string GetDefaultValuesStatements() { sb.AppendLine($"{Indent}{Indent}if (({variantListString}) -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('{parameterName}'){setCondition}) {{"); sb.AppendLine($"{Indent}{Indent}{Indent}$testPlayback = $false"); - sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) }}"); + sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ if ($_) {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) }} }}"); sb.AppendLine($"{Indent}{Indent}{Indent}if ($testPlayback) {{"); sb.AppendLine($"{Indent}{Indent}{Indent}{Indent}$PSBoundParameters['{parameterName}'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')"); sb.AppendLine($"{Indent}{Indent}{Indent}}} else {{"); diff --git a/src/ElasticSan/ElasticSan.Autorest/internal/New-AzElasticSanVolumeGroup.ps1 b/src/ElasticSan/ElasticSan.Autorest/internal/New-AzElasticSanVolumeGroup.ps1 index 95a82226c85a..5884cba0979c 100644 --- a/src/ElasticSan/ElasticSan.Autorest/internal/New-AzElasticSanVolumeGroup.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/internal/New-AzElasticSanVolumeGroup.ps1 @@ -253,7 +253,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/internal/ProxyCmdletDefinitions.ps1 b/src/ElasticSan/ElasticSan.Autorest/internal/ProxyCmdletDefinitions.ps1 index d530e9776dd4..437254d5a091 100644 --- a/src/ElasticSan/ElasticSan.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -363,7 +363,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -640,7 +640,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan.Autorest/internal/Update-AzElasticSanVolumeGroup.ps1 b/src/ElasticSan/ElasticSan.Autorest/internal/Update-AzElasticSanVolumeGroup.ps1 index e8e212cff721..0c67dee0338d 100644 --- a/src/ElasticSan/ElasticSan.Autorest/internal/Update-AzElasticSanVolumeGroup.ps1 +++ b/src/ElasticSan/ElasticSan.Autorest/internal/Update-AzElasticSanVolumeGroup.ps1 @@ -253,7 +253,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ElasticSan.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { diff --git a/src/ElasticSan/ElasticSan/help/Add-AzElasticSanVolumeGroupNetworkRule.md b/src/ElasticSan/ElasticSan/help/Add-AzElasticSanVolumeGroupNetworkRule.md index a0e42cd03ed8..8705a58d7d3f 100644 --- a/src/ElasticSan/ElasticSan/help/Add-AzElasticSanVolumeGroupNetworkRule.md +++ b/src/ElasticSan/ElasticSan/help/Add-AzElasticSanVolumeGroupNetworkRule.md @@ -16,7 +16,7 @@ Add a list of virtual network rules to a VolumeGroup ``` Add-AzElasticSanVolumeGroupNetworkRule -ElasticSanName -VolumeGroupName -ResourceGroupName [-SubscriptionId ] -NetworkAclsVirtualNetworkRule - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -24,7 +24,7 @@ Add-AzElasticSanVolumeGroupNetworkRule -ElasticSanName -VolumeGroupName ``` Add-AzElasticSanVolumeGroupNetworkRule -ElasticSanName -VolumeGroupName -ResourceGroupName [-SubscriptionId ] -NetworkAclsVirtualNetworkResourceId - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -163,6 +163,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Get-AzElasticSan.md b/src/ElasticSan/ElasticSan/help/Get-AzElasticSan.md index 4fcc9e5824b9..a6cc58675cac 100644 --- a/src/ElasticSan/ElasticSan/help/Get-AzElasticSan.md +++ b/src/ElasticSan/ElasticSan/help/Get-AzElasticSan.md @@ -14,26 +14,26 @@ Get either a list of Elastic SANs from a subscription or a resource group, or ge ### List (Default) ``` -Get-AzElasticSan [-SubscriptionId ] [-DefaultProfile ] +Get-AzElasticSan [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzElasticSan -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### List1 ``` Get-AzElasticSan -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzElasticSan -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -236,6 +236,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Get-AzElasticSanSkuList.md b/src/ElasticSan/ElasticSan/help/Get-AzElasticSanSkuList.md index 4b1f0e531459..1a2f1e2d476e 100644 --- a/src/ElasticSan/ElasticSan/help/Get-AzElasticSanSkuList.md +++ b/src/ElasticSan/ElasticSan/help/Get-AzElasticSanSkuList.md @@ -14,7 +14,7 @@ List all the available Skus in the region and information related to them ``` Get-AzElasticSanSkuList [-SubscriptionId ] [-Filter ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -69,6 +69,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. diff --git a/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolume.md b/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolume.md index 3ba8bb619222..b0accaee28a0 100644 --- a/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolume.md +++ b/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolume.md @@ -15,7 +15,7 @@ Get either a list of all volumes from a volume group or get a single volume from ### List (Default) ``` Get-AzElasticSanVolume -ElasticSanName -ResourceGroupName [-SubscriptionId ] - -VolumeGroupName [-DefaultProfile ] + -VolumeGroupName [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -23,25 +23,25 @@ Get-AzElasticSanVolume -ElasticSanName -ResourceGroupName [-Su ``` Get-AzElasticSanVolume -ElasticSanName -Name -ResourceGroupName [-SubscriptionId ] -VolumeGroupName [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentityVolumegroup ``` Get-AzElasticSanVolume -Name -VolumegroupInputObject - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentityElasticSan ``` Get-AzElasticSanVolume -Name -VolumeGroupName -ElasticSanInputObject - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzElasticSanVolume -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -205,6 +205,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolumeGroup.md b/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolumeGroup.md index f0fd55e05999..098aed04a315 100644 --- a/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolumeGroup.md +++ b/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolumeGroup.md @@ -15,26 +15,26 @@ Get either a list of all volume groups from an Elastic SAN or get a single volum ### List (Default) ``` Get-AzElasticSanVolumeGroup -ElasticSanName -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzElasticSanVolumeGroup -ElasticSanName -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentityElasticSan ``` Get-AzElasticSanVolumeGroup -Name -ElasticSanInputObject - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzElasticSanVolumeGroup -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -184,6 +184,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolumeSnapshot.md b/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolumeSnapshot.md index 4f56810dca68..1e96bc959bea 100644 --- a/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolumeSnapshot.md +++ b/src/ElasticSan/ElasticSan/help/Get-AzElasticSanVolumeSnapshot.md @@ -16,33 +16,33 @@ Get a Volume Snapshot. ``` Get-AzElasticSanVolumeSnapshot -ElasticSanName -ResourceGroupName [-SubscriptionId ] -VolumeGroupName [-Filter ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### Get ``` Get-AzElasticSanVolumeSnapshot -ElasticSanName -Name -ResourceGroupName [-SubscriptionId ] -VolumeGroupName [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentityVolumegroup ``` Get-AzElasticSanVolumeSnapshot -Name -VolumegroupInputObject - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentityElasticSan ``` Get-AzElasticSanVolumeSnapshot -Name -VolumeGroupName - -ElasticSanInputObject [-DefaultProfile ] + -ElasticSanInputObject [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzElasticSanVolumeSnapshot -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -245,6 +245,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/New-AzElasticSan.md b/src/ElasticSan/ElasticSan/help/New-AzElasticSan.md index 8229be1aeda1..c7f5add39d63 100644 --- a/src/ElasticSan/ElasticSan/help/New-AzElasticSan.md +++ b/src/ElasticSan/ElasticSan/help/New-AzElasticSan.md @@ -17,7 +17,7 @@ Create ElasticSan. New-AzElasticSan -Name -ResourceGroupName [-SubscriptionId ] -BaseSizeTiB -ExtendedCapacitySizeTiB -Location -SkuName [-AvailabilityZone ] [-PublicNetworkAccess ] [-SkuTier ] [-Tag ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityExpanded @@ -25,7 +25,7 @@ New-AzElasticSan -Name -ResourceGroupName [-SubscriptionId -BaseSizeTiB -ExtendedCapacitySizeTiB -Location -SkuName [-AvailabilityZone ] [-PublicNetworkAccess ] [-SkuTier ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -203,6 +203,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PublicNetworkAccess Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. diff --git a/src/ElasticSan/ElasticSan/help/New-AzElasticSanVirtualNetworkRuleObject.md b/src/ElasticSan/ElasticSan/help/New-AzElasticSanVirtualNetworkRuleObject.md index 820affa29858..cf43547c9d3c 100644 --- a/src/ElasticSan/ElasticSan/help/New-AzElasticSanVirtualNetworkRuleObject.md +++ b/src/ElasticSan/ElasticSan/help/New-AzElasticSanVirtualNetworkRuleObject.md @@ -14,7 +14,7 @@ Create an in-memory object for VirtualNetworkRule. ``` New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId [-Action ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -52,6 +52,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -VirtualNetworkResourceId Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. diff --git a/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolume.md b/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolume.md index c9e04d649972..492a03ffd48c 100644 --- a/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolume.md +++ b/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolume.md @@ -17,21 +17,21 @@ Create a Volume. New-AzElasticSanVolume -ElasticSanName -Name -ResourceGroupName [-SubscriptionId ] -VolumeGroupName -SizeGiB [-CreationDataCreateSource ] [-CreationDataSourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityVolumegroupExpanded ``` New-AzElasticSanVolume -Name -VolumegroupInputObject -SizeGiB [-CreationDataCreateSource ] [-CreationDataSourceId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityElasticSanExpanded ``` New-AzElasticSanVolume -Name -VolumeGroupName -ElasticSanInputObject -SizeGiB [-CreationDataCreateSource ] [-CreationDataSourceId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -39,7 +39,7 @@ New-AzElasticSanVolume -Name -VolumeGroupName -ElasticSanInput ``` New-AzElasticSanVolume -InputObject -SizeGiB [-CreationDataCreateSource ] [-CreationDataSourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -215,6 +215,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolumeGroup.md b/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolumeGroup.md index 97e689b52f3e..46329d60cc7b 100644 --- a/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolumeGroup.md +++ b/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolumeGroup.md @@ -18,7 +18,7 @@ New-AzElasticSanVolumeGroup -ElasticSanName -Name -ResourceGro [-SubscriptionId ] [-Encryption ] [-EncryptionUserAssignedIdentity ] [-IdentityType ] [-IdentityUserAssignedIdentityId ] [-KeyName ] [-KeyVaultUri ] [-KeyVersion ] [-NetworkAclsVirtualNetworkRule ] - [-ProtocolType ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProtocolType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -28,7 +28,7 @@ New-AzElasticSanVolumeGroup -Name -ElasticSanInputObject ] [-IdentityType ] [-IdentityUserAssignedIdentityId ] [-KeyName ] [-KeyVaultUri ] [-KeyVersion ] [-NetworkAclsVirtualNetworkRule ] [-ProtocolType ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityExpanded @@ -37,7 +37,7 @@ New-AzElasticSanVolumeGroup -InputObject [-Encryption ] [-IdentityType ] [-IdentityUserAssignedIdentityId ] [-KeyName ] [-KeyVaultUri ] [-KeyVersion ] [-NetworkAclsVirtualNetworkRule ] [-ProtocolType ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -409,6 +409,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProtocolType Type of storage target diff --git a/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolumeSnapshot.md b/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolumeSnapshot.md index c90d8487df75..f1be49bbb053 100644 --- a/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolumeSnapshot.md +++ b/src/ElasticSan/ElasticSan/help/New-AzElasticSanVolumeSnapshot.md @@ -16,7 +16,7 @@ Create a Volume Snapshot. ``` New-AzElasticSanVolumeSnapshot -ElasticSanName -Name -ResourceGroupName [-SubscriptionId ] -VolumeGroupName -CreationDataSourceId - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -24,20 +24,20 @@ New-AzElasticSanVolumeSnapshot -ElasticSanName -Name -Resource ``` New-AzElasticSanVolumeSnapshot -Name -VolumegroupInputObject -CreationDataSourceId [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityElasticSanExpanded ``` New-AzElasticSanVolumeSnapshot -Name -VolumeGroupName -ElasticSanInputObject -CreationDataSourceId [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityExpanded ``` New-AzElasticSanVolumeSnapshot -InputObject -CreationDataSourceId - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -196,6 +196,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSan.md b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSan.md index aa8e829eec9d..465f6a9c09bf 100644 --- a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSan.md +++ b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSan.md @@ -15,14 +15,14 @@ Delete a Elastic San. ### Delete (Default) ``` Remove-AzElasticSan -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzElasticSan -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -130,6 +130,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolume.md b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolume.md index c3b5299e09fe..537d5f7c1cac 100644 --- a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolume.md +++ b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolume.md @@ -16,7 +16,7 @@ Delete an Volume. ``` Remove-AzElasticSanVolume -ElasticSanName -Name -ResourceGroupName [-SubscriptionId ] -VolumeGroupName [-DeleteSnapshot ] [-ForceDelete ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -24,20 +24,20 @@ Remove-AzElasticSanVolume -ElasticSanName -Name -ResourceGroup ``` Remove-AzElasticSanVolume -Name -VolumegroupInputObject [-DeleteSnapshot ] [-ForceDelete ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentityElasticSan ``` Remove-AzElasticSanVolume -Name -VolumeGroupName -ElasticSanInputObject [-DeleteSnapshot ] [-ForceDelete ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzElasticSanVolume -InputObject [-DeleteSnapshot ] [-ForceDelete ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -210,6 +210,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeGroup.md b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeGroup.md index 1d84a23f913f..df5bf22353d5 100644 --- a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeGroup.md +++ b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeGroup.md @@ -16,20 +16,20 @@ Delete an VolumeGroup. ``` Remove-AzElasticSanVolumeGroup -ElasticSanName -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentityElasticSan ``` Remove-AzElasticSanVolumeGroup -Name -ElasticSanInputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzElasticSanVolumeGroup -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -167,6 +167,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeGroupNetworkRule.md b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeGroupNetworkRule.md index f430bf3fec97..683620b48041 100644 --- a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeGroupNetworkRule.md +++ b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeGroupNetworkRule.md @@ -16,7 +16,7 @@ Remove a list of virtual network rules from a VolumeGroup ``` Remove-AzElasticSanVolumeGroupNetworkRule -ElasticSanName -VolumeGroupName -ResourceGroupName [-SubscriptionId ] -NetworkAclsVirtualNetworkRule - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -24,7 +24,7 @@ Remove-AzElasticSanVolumeGroupNetworkRule -ElasticSanName -VolumeGroupN ``` Remove-AzElasticSanVolumeGroupNetworkRule -ElasticSanName -VolumeGroupName -ResourceGroupName [-SubscriptionId ] -NetworkAclsVirtualNetworkResourceId - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -172,6 +172,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeSnapshot.md b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeSnapshot.md index 3cec58999002..875a5b4ecc8b 100644 --- a/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeSnapshot.md +++ b/src/ElasticSan/ElasticSan/help/Remove-AzElasticSanVolumeSnapshot.md @@ -16,13 +16,13 @@ Delete a Volume Snapshot. ``` Remove-AzElasticSanVolumeSnapshot -ElasticSanName -Name -ResourceGroupName [-SubscriptionId ] -VolumeGroupName [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentityVolumegroup ``` Remove-AzElasticSanVolumeSnapshot -Name -VolumegroupInputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -30,13 +30,13 @@ Remove-AzElasticSanVolumeSnapshot -Name -VolumegroupInputObject -VolumeGroupName -ElasticSanInputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzElasticSanVolumeSnapshot -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -174,6 +174,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Update-AzElasticSan.md b/src/ElasticSan/ElasticSan/help/Update-AzElasticSan.md index ef1ccff09a74..ea01540c99cc 100644 --- a/src/ElasticSan/ElasticSan/help/Update-AzElasticSan.md +++ b/src/ElasticSan/ElasticSan/help/Update-AzElasticSan.md @@ -16,7 +16,7 @@ Update a Elastic San. ``` Update-AzElasticSan -Name -ResourceGroupName [-SubscriptionId ] [-BaseSizeTiB ] [-ExtendedCapacitySizeTiB ] [-PublicNetworkAccess ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -24,7 +24,7 @@ Update-AzElasticSan -Name -ResourceGroupName [-SubscriptionId ``` Update-AzElasticSan -InputObject [-BaseSizeTiB ] [-ExtendedCapacitySizeTiB ] [-PublicNetworkAccess ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -173,6 +173,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PublicNetworkAccess Allow or disallow public network access to ElasticSan Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. diff --git a/src/ElasticSan/ElasticSan/help/Update-AzElasticSanVolume.md b/src/ElasticSan/ElasticSan/help/Update-AzElasticSanVolume.md index 6c4a374e2824..0f258d15abb4 100644 --- a/src/ElasticSan/ElasticSan/help/Update-AzElasticSanVolume.md +++ b/src/ElasticSan/ElasticSan/help/Update-AzElasticSanVolume.md @@ -16,27 +16,27 @@ Update an Volume. ``` Update-AzElasticSanVolume -ElasticSanName -Name -ResourceGroupName [-SubscriptionId ] -VolumeGroupName [-SizeGiB ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-WhatIf] [-Confirm] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityVolumegroupExpanded ``` Update-AzElasticSanVolume -Name -VolumegroupInputObject [-SizeGiB ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityElasticSanExpanded ``` Update-AzElasticSanVolume -Name -VolumeGroupName -ElasticSanInputObject - [-SizeGiB ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-SizeGiB ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzElasticSanVolume -InputObject [-SizeGiB ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -180,6 +180,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/ElasticSan/ElasticSan/help/Update-AzElasticSanVolumeGroup.md b/src/ElasticSan/ElasticSan/help/Update-AzElasticSanVolumeGroup.md index a7d949c52797..388adafdb9bb 100644 --- a/src/ElasticSan/ElasticSan/help/Update-AzElasticSanVolumeGroup.md +++ b/src/ElasticSan/ElasticSan/help/Update-AzElasticSanVolumeGroup.md @@ -18,7 +18,7 @@ Update-AzElasticSanVolumeGroup -ElasticSanName -Name -Resource [-SubscriptionId ] [-Encryption ] [-EncryptionUserAssignedIdentity ] [-IdentityType ] [-IdentityUserAssignedIdentityId ] [-KeyName ] [-KeyVaultUri ] [-KeyVersion ] [-NetworkAclsVirtualNetworkRule ] - [-ProtocolType ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProtocolType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -28,7 +28,7 @@ Update-AzElasticSanVolumeGroup -Name -ElasticSanInputObject ] [-EncryptionUserAssignedIdentity ] [-IdentityType ] [-IdentityUserAssignedIdentityId ] [-KeyName ] [-KeyVaultUri ] [-KeyVersion ] [-NetworkAclsVirtualNetworkRule ] [-ProtocolType ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded @@ -37,7 +37,7 @@ Update-AzElasticSanVolumeGroup -InputObject [-Encryption < [-EncryptionUserAssignedIdentity ] [-IdentityType ] [-IdentityUserAssignedIdentityId ] [-KeyName ] [-KeyVaultUri ] [-KeyVersion ] [-NetworkAclsVirtualNetworkRule ] [-ProtocolType ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -412,6 +412,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProtocolType Type of storage target