diff --git a/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 index 9c01de49bd8f..3498aa1ec1a7 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 @@ -203,7 +203,7 @@ begin { } if (('BackupExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 index 098c5c08451a..cf82aa7a9eb2 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 @@ -162,7 +162,7 @@ begin { } if (('FindExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 index 5b07346e40fa..17fc7782882b 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 @@ -173,7 +173,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 index 6edf12b38f3c..79b12862777d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 @@ -173,7 +173,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 index bd7d08a505a0..97db4d879d1a 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 @@ -172,7 +172,7 @@ begin { } if (('Get', 'Get1', 'Get2') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 index c2577c8170b3..70144861c43b 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 @@ -164,7 +164,7 @@ begin { } if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 index 0c9b0e84b74d..9f5b69be38ef 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 @@ -205,7 +205,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 index 1c3f5b6ec785..9dbedd319b5a 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 @@ -165,7 +165,7 @@ begin { } if (('Get', 'Get1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 index 0d1f439e7cac..9e8551e90cb4 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 @@ -168,7 +168,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 index 2ee35f9135f6..3c2a3ddeb567 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 @@ -170,7 +170,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 index 8e5d7bcc0be7..dc8624848eb8 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -203,7 +203,7 @@ begin { } if (('BackupExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -408,7 +408,7 @@ begin { } if (('FindExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -624,7 +624,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -840,7 +840,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1055,7 +1055,7 @@ begin { } if (('Get', 'Get1', 'Get2') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1262,7 +1262,7 @@ begin { } if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1654,7 +1654,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1865,7 +1865,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2073,7 +2073,7 @@ begin { } if (('Get', 'Get1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2286,7 +2286,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2515,7 +2515,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2732,7 +2732,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2953,7 +2953,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3168,7 +3168,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3377,7 +3377,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3604,7 +3604,7 @@ begin { } if (('Resume') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3796,7 +3796,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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 (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -4250,7 +4250,7 @@ begin { } if (('Suspend') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -4457,7 +4457,7 @@ begin { } if (('SyncExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -4693,7 +4693,7 @@ begin { } if (('ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -4921,7 +4921,7 @@ begin { } if (('Undelete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -5209,7 +5209,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 index 7b1b63469fbb..af2a5f7bcf9a 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 @@ -186,7 +186,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 index c75daa50a39f..375b669d0e74 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 @@ -174,7 +174,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 index 5acdb01eb7ad..4f6053f55353 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 @@ -178,7 +178,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 index 868fb920ba09..3ccf64e5a197 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 @@ -166,7 +166,7 @@ begin { } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 index 918892b7b3b3..311548d70d99 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 index ab0f31e78edd..1515a3e0e03d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 @@ -184,7 +184,7 @@ begin { } if (('Resume') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 index 91e26d2dd426..cb00069cfa25 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 @@ -149,7 +149,7 @@ begin { } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 index d0263ba8aa94..81a2b58a649a 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 @@ -184,7 +184,7 @@ begin { } if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 index a37379fb0c92..5bbf32d2e94d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 @@ -184,7 +184,7 @@ begin { } if (('Suspend') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Sync-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Sync-AzDataProtectionBackupInstance.ps1 index f7ccba09dc25..970d5714527d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Sync-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Sync-AzDataProtectionBackupInstance.ps1 @@ -164,7 +164,7 @@ begin { } if (('SyncExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 index 9dd72959192e..25dbe5816390 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 @@ -193,7 +193,7 @@ begin { } if (('ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 index d3de49d3fc58..b2e47adb1751 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 @@ -185,7 +185,7 @@ begin { } if (('Undelete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 index 66d475631bc8..e4c83cde1172 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 @@ -245,7 +245,7 @@ begin { } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index b9bc9e6c9bc0..b94cc329282d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -275,7 +275,7 @@ private string GetDefaultValuesStatements() { sb.AppendLine($"{Indent}{Indent}if (({variantListString}) -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('{parameterName}')) {{"); sb.AppendLine($"{Indent}{Indent}{Indent}$testPlayback = $false"); - sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) }}"); + sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ if ($_) {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 index 2ea05bde61f9..dbf7c5cf647b 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 @@ -152,7 +152,7 @@ begin { } if (('List', 'ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 index 38b23599bce0..e45ac0e3d7a0 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 @@ -187,7 +187,7 @@ begin { } if (('Get', 'GetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 index 38b6d2678c13..1b442446d1e8 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 @@ -160,7 +160,7 @@ begin { } if (('List', 'ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 index ff6cd5c7e3ad..ea2046f93b7f 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 @@ -160,7 +160,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 index d6878250db73..bcd8c1a0db80 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 @@ -139,7 +139,7 @@ begin { } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 index 28b6fcd716f1..ad7a3fdd1d69 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 @@ -279,7 +279,7 @@ begin { } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 index ce5eb7fedafb..263d871dbd7f 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 @@ -245,7 +245,7 @@ begin { } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 index 7cd03a3e08b6..25c9c5034e3a 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 @@ -267,7 +267,7 @@ begin { } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionResourceGuard.ps1 index 9960dffb2cdd..ba3559b355de 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionResourceGuard.ps1 @@ -196,7 +196,7 @@ begin { } if (('Put', 'PutExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 b/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 index 0425fd1bab97..3905b17e9d6b 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -331,7 +331,7 @@ begin { } if (('Get', 'GetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -507,7 +507,7 @@ begin { } if (('List', 'ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -691,7 +691,7 @@ begin { } if (('List', 'ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -875,7 +875,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.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1038,7 +1038,7 @@ begin { } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1341,7 +1341,7 @@ begin { } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1610,7 +1610,7 @@ begin { } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -1901,7 +1901,7 @@ begin { } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2121,7 +2121,7 @@ begin { } if (('Put', 'PutExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2329,7 +2329,7 @@ begin { } if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2645,7 +2645,7 @@ begin { } if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -2886,7 +2886,7 @@ begin { } if (('Validate', 'ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3158,7 +3158,7 @@ begin { } if (('Validate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3396,7 +3396,7 @@ begin { } if (('Validate1', 'ValidateExpanded1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { @@ -3559,7 +3559,7 @@ begin { } if (('UnlockExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 index 8a331b94bff7..f0c008148996 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 @@ -184,7 +184,7 @@ begin { } if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 index 28ed51c6040e..57e068054d3c 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 @@ -292,7 +292,7 @@ begin { } if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 index ad54610b020e..3ca66fb8c68d 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 @@ -217,7 +217,7 @@ begin { } if (('Validate', 'ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 index fcad0aeae28b..2c3570ef4009 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 @@ -248,7 +248,7 @@ begin { } if (('Validate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 index cd1f4d7e55f9..3d67a4bf1951 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 @@ -214,7 +214,7 @@ begin { } if (('Validate1', 'ValidateExpanded1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection.Autorest/internal/Unlock-AzDataProtectionDppResourceGuardProxyDelete.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Unlock-AzDataProtectionDppResourceGuardProxyDelete.ps1 index 359f2a3bece5..682daa5d683f 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Unlock-AzDataProtectionDppResourceGuardProxyDelete.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Unlock-AzDataProtectionDppResourceGuardProxyDelete.ps1 @@ -139,7 +139,7 @@ begin { } if (('UnlockExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName) } + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.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/DataProtection/DataProtection/Az.DataProtection.psd1 b/src/DataProtection/DataProtection/Az.DataProtection.psd1 index 63aa2b51f53e..88e13fd5d06d 100644 --- a/src/DataProtection/DataProtection/Az.DataProtection.psd1 +++ b/src/DataProtection/DataProtection/Az.DataProtection.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 3/25/2024 +# Generated on: 3/26/2024 # @{ diff --git a/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md b/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md index 132ff3760c0c..b2d66570f78c 100644 --- a/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md +++ b/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md @@ -17,14 +17,14 @@ Trigger adhoc backup Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName -ResourceGroupName [-SubscriptionId ] -VaultName -BackupRuleOptionRuleName [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### BackupViaIdentityExpanded ``` Backup-AzDataProtectionBackupInstanceAdhoc -InputObject -BackupRuleOptionRuleName [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -152,6 +152,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/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md index 78065a45c335..6117ecbbecdf 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md @@ -15,14 +15,14 @@ Adds or removes Retention Rule to existing Policy ### RemoveRetention (Default) ``` Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy -Name - [-RemoveRule] [] + [-RemoveRule] [-ProgressAction ] [] ``` ### AddRetention ``` Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy -Name -IsDefault -LifeCycles [-OverwriteLifeCycle ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -140,6 +140,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 +``` + ### -RemoveRule Specifies whether to remove the retention rule. diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md index da503231a4d6..a4da7b7895a6 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md @@ -15,13 +15,13 @@ Adds or removes schedule tag in an existing backup policy. ### RemoveTag (Default) ``` Edit-AzDataProtectionPolicyTagClientObject -Policy -Name [-RemoveRule] - [] + [-ProgressAction ] [] ``` ### updateTag ``` Edit-AzDataProtectionPolicyTagClientObject -Policy -Name - -Criteria [] + -Criteria [-ProgressAction ] [] ``` ## DESCRIPTION @@ -106,6 +106,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 +``` + ### -RemoveRule Specify whether to remove the tag from the given policy object. diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md index f7fd98f7f4af..78318e2014eb 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md @@ -15,13 +15,13 @@ Updates Backup schedule of an existing backup policy. ### RemoveBackupSchedule (Default) ``` Edit-AzDataProtectionPolicyTriggerClientObject -Policy [-RemoveSchedule] - [] + [-ProgressAction ] [] ``` ### ModifyBackupSchedule ``` Edit-AzDataProtectionPolicyTriggerClientObject -Policy -Schedule - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -61,6 +61,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 +``` + ### -RemoveSchedule Specifies whether to remove the backup Schedule. diff --git a/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md b/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md index 2da607e5e341..2464b04123c5 100644 --- a/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md +++ b/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md @@ -15,7 +15,7 @@ Finds the valid recovery point in time ranges for the restore. ``` Find-AzDataProtectionRestorableTimeRange -BackupInstanceName -ResourceGroupName -VaultName [-SubscriptionId ] -SourceDataStoreType - [-EndTime ] [-StartTime ] [-DefaultProfile ] + [-EndTime ] [-StartTime ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -93,6 +93,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/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md index 8b1d56e83880..b632edc36822 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md @@ -15,19 +15,19 @@ Gets a backup instance with name in a backup vault ### List (Default) ``` Get-AzDataProtectionBackupInstance -ResourceGroupName [-SubscriptionId ] -VaultName - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzDataProtectionBackupInstance -Name -ResourceGroupName [-SubscriptionId ] - -VaultName [-DefaultProfile ] [] + -VaultName [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -111,6 +111,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/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md index 746c33b38add..20083355bc9c 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md @@ -15,19 +15,19 @@ Gets a backup policy belonging to a backup vault ### List (Default) ``` Get-AzDataProtectionBackupPolicy -ResourceGroupName [-SubscriptionId ] -VaultName - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzDataProtectionBackupPolicy -Name -ResourceGroupName [-SubscriptionId ] - -VaultName [-DefaultProfile ] [] + -VaultName [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionBackupPolicy -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -111,6 +111,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/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md index 385f1a88a947..16fcb1188c73 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md @@ -15,25 +15,25 @@ Returns resource collection belonging to a subscription. ### Get (Default) ``` Get-AzDataProtectionBackupVault [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### Get2 ``` Get-AzDataProtectionBackupVault [-SubscriptionId ] -ResourceGroupName -VaultName - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get1 ``` Get-AzDataProtectionBackupVault [-SubscriptionId ] -ResourceGroupName - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionBackupVault -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -131,6 +131,21 @@ Accept pipeline input: True (ByValue) 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/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md index 0162f2e2b0c1..69254cca0053 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md @@ -15,20 +15,20 @@ Gets or lists jobs in a backup vault ### List (Default) ``` Get-AzDataProtectionJob -ResourceGroupName -VaultName [-SubscriptionId ] - [-UseSecondaryRegion] [-DefaultProfile ] [] + [-UseSecondaryRegion] [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzDataProtectionJob -ResourceGroupName -VaultName [-SubscriptionId ] - [-UseSecondaryRegion] [-DefaultProfile ] -Id + [-UseSecondaryRegion] [-DefaultProfile ] -Id [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionJob [-DefaultProfile ] -InputObject - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -128,6 +128,21 @@ Accept pipeline input: True (ByValue) 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 Resource Group of the backup vault diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md index 160de90ab06e..c911e98e38f9 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md @@ -13,7 +13,7 @@ Returns the list of available operations. ## SYNTAX ``` -Get-AzDataProtectionOperation [-DefaultProfile ] +Get-AzDataProtectionOperation [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -104,6 +104,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 +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md index b2a0a18cccb6..0afcf8dd3032 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md @@ -15,13 +15,13 @@ Gets the operation status for a resource. ### Get (Default) ``` Get-AzDataProtectionOperationStatus -Location -OperationId [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionOperationStatus -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -115,6 +115,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. The value must be an UUID. diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md index 219070bb00e8..546aef61dd0a 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md @@ -13,7 +13,7 @@ Gets default policy template for a selected datasource type. ## SYNTAX ``` -Get-AzDataProtectionPolicyTemplate -DatasourceType +Get-AzDataProtectionPolicyTemplate -DatasourceType [-ProgressAction ] [] ``` @@ -54,6 +54,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 +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md index ba4e06c3f4fe..b4e6bed6a14d 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md @@ -16,20 +16,20 @@ Gets a Recovery Point using recoveryPointId for a Datasource. ``` Get-AzDataProtectionRecoveryPoint [-BackupInstanceName ] [-ResourceGroupName ] [-SubscriptionId ] [-VaultName ] [-DefaultProfile ] [-StartTime ] - [-EndTime ] [-UseSecondaryRegion] [] + [-EndTime ] [-UseSecondaryRegion] [-ProgressAction ] [] ``` ### Get ``` Get-AzDataProtectionRecoveryPoint -BackupInstanceName -Id -ResourceGroupName [-SubscriptionId ] -VaultName [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionRecoveryPoint -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -178,6 +178,21 @@ Accept pipeline input: True (ByValue) 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/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md index d477211dbefe..09d81ea2fbcd 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md @@ -15,19 +15,19 @@ Returns a ResourceGuard belonging to a resource group. ### Get1 (Default) ``` Get-AzDataProtectionResourceGuard -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzDataProtectionResourceGuard -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionResourceGuard -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -113,6 +113,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/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md index 6304d96e18f2..cd2296e870d2 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md @@ -15,19 +15,19 @@ Returns the ResourceGuardProxy object associated with the vault, and that matche ### Get (Default) ``` Get-AzDataProtectionResourceGuardMapping -ResourceGroupName [-SubscriptionId ] - -VaultName [-DefaultProfile ] [] + -VaultName [-DefaultProfile ] [-ProgressAction ] [] ``` ### List ``` Get-AzDataProtectionResourceGuardMapping -ResourceGroupName [-SubscriptionId ] - -VaultName [-DefaultProfile ] [] + -VaultName [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionResourceGuardMapping -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -92,6 +92,21 @@ Accept pipeline input: True (ByValue) 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/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md index c62c65b3fe26..1c902a9ca906 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md @@ -15,20 +15,20 @@ Gets a deleted backup instance with name in a backup vault ### List (Default) ``` Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName [-SubscriptionId ] - -VaultName [-DefaultProfile ] [] + -VaultName [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzDataProtectionSoftDeletedBackupInstance -BackupInstanceName -ResourceGroupName [-SubscriptionId ] -VaultName [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzDataProtectionSoftDeletedBackupInstance -InputObject - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -98,6 +98,21 @@ Accept pipeline input: True (ByValue) 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/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md index 82f2165cf906..d7fe542c7656 100644 --- a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md @@ -16,7 +16,7 @@ Initializes Backup instance Request object for configuring backup Initialize-AzDataProtectionBackupInstance -DatasourceType -DatasourceLocation [-PolicyId ] [-DatasourceId ] [-SecretStoreURI ] [-SecretStoreType ] [-SnapshotResourceGroupId ] [-FriendlyName ] - [-BackupConfiguration ] [] + [-BackupConfiguration ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -183,6 +183,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 +``` + ### -SecretStoreType Secret store type for secret store authentication of data source. This parameter is only supported for AzureDatabaseForPostgreSQL currently. diff --git a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md index a031e4f9907f..2fe07aded807 100644 --- a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md +++ b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md @@ -18,7 +18,7 @@ Initialize-AzDataProtectionRestoreRequest -DatasourceType -Sou -RestoreLocation -RestoreType -TargetResourceId [-RecoveryPoint ] [-PointInTime ] [-RehydrationDuration ] [-RehydrationPriority ] [-RestoreConfiguration ] - [-SecretStoreURI ] [-SecretStoreType ] + [-SecretStoreURI ] [-SecretStoreType ] [-ProgressAction ] [] ``` @@ -27,7 +27,7 @@ Initialize-AzDataProtectionRestoreRequest -DatasourceType -Sou Initialize-AzDataProtectionRestoreRequest -DatasourceType -SourceDataStore -RestoreLocation -RestoreType -TargetResourceId [-RecoveryPoint ] [-RestoreConfiguration ] [-ItemLevelRecovery] - [-ContainersList ] [] + [-ContainersList ] [-ProgressAction ] [] ``` ### OriginalLocationFullRecovery @@ -37,7 +37,7 @@ Initialize-AzDataProtectionRestoreRequest -DatasourceType -Sou [-RehydrationDuration ] [-RehydrationPriority ] [-RestoreConfiguration ] [-SecretStoreURI ] [-SecretStoreType ] -BackupInstance - [] + [-ProgressAction ] [] ``` ### OriginalLocationILR @@ -48,7 +48,7 @@ Initialize-AzDataProtectionRestoreRequest -DatasourceType -Sou [-RestoreConfiguration ] [-SecretStoreURI ] [-SecretStoreType ] [-ItemLevelRecovery] [-ContainersList ] -BackupInstance [-FromPrefixPattern ] [-ToPrefixPattern ] - [] + [-ProgressAction ] [] ``` ### RestoreAsFiles @@ -57,7 +57,7 @@ Initialize-AzDataProtectionRestoreRequest -DatasourceType -Sou -RestoreLocation -RestoreType [-RecoveryPoint ] [-RehydrationDuration ] [-RehydrationPriority ] [-SecretStoreURI ] [-SecretStoreType ] -TargetContainerURI - [-TargetResourceIdForRestoreAsFile ] [-FileNamePrefix ] + [-TargetResourceIdForRestoreAsFile ] [-FileNamePrefix ] [-ProgressAction ] [] ``` @@ -297,6 +297,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 +``` + ### -RecoveryPoint Id of the recovery point to be restored. diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md index b6f05c1cca87..2d0d39724f73 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md @@ -18,7 +18,7 @@ New-AzDataProtectionBackupConfigurationClientObject -DatasourceType ] [-LabelSelector ] [-SnapshotVolume ] [-IncludeClusterScopeResource ] [-BackupHookReference ] [-VaultedBackupContainer ] [-IncludeAllContainer] [-StorageAccountName ] - [-StorageAccountResourceGroupName ] [] + [-StorageAccountResourceGroupName ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -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 +``` + ### -SnapshotVolume Boolean parameter to decide whether snapshot volumes are included for backup. By default this is taken as true. diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md index c2ed60f5ab0c..02708f0bb51a 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md @@ -15,7 +15,7 @@ Configures Backup for supported azure resources ``` New-AzDataProtectionBackupInstance -ResourceGroupName -VaultName -BackupInstance [-SubscriptionId ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -217,6 +217,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 Resource Group of the backup vault diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md index 11313fc75e8a..b974ef8b831d 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md @@ -15,7 +15,7 @@ Creates a new backup policy in a given backup vault ``` New-AzDataProtectionBackupPolicy -ResourceGroupName -VaultName -Name -Policy [-SubscriptionId ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -273,6 +273,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 Resource Group Name diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md index a72edc161155..10cd5bbac8b8 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md @@ -19,7 +19,7 @@ New-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-CrossRegionRestoreState ] [-CrossSubscriptionRestoreState ] [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -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 Resource Group Name of the backup vault diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVaultStorageSettingObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVaultStorageSettingObject.md index bec818717964..b2014fe49bd6 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVaultStorageSettingObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVaultStorageSettingObject.md @@ -14,7 +14,7 @@ Get Backup Vault storage setting object ``` New-AzDataProtectionBackupVaultStorageSettingObject -Type -DataStoreType - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -53,6 +53,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 +``` + ### -Type Storage Type of the vault diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md index 4cd3002d8c12..06aa0d870e0e 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md @@ -15,20 +15,20 @@ Creates a new criteria object ### ScheduleCriteria (Default) ``` New-AzDataProtectionPolicyTagCriteriaClientObject [-DaysOfWeek ] [-WeeksOfMonth ] - [-MonthsOfYear ] [-ScheduleTimes ] + [-MonthsOfYear ] [-ScheduleTimes ] [-ProgressAction ] [] ``` ### AbsoluteCriteria ``` New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria - [] + [-ProgressAction ] [] ``` ### MonthlyCriteria ``` New-AzDataProtectionPolicyTagCriteriaClientObject [-MonthsOfYear ] - [-ScheduleTimes ] -DaysOfMonth + [-ScheduleTimes ] -DaysOfMonth [-ProgressAction ] [] ``` @@ -129,6 +129,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 +``` + ### -ScheduleTimes Schedule times. diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md index e24eb6a00971..047680863007 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md @@ -14,7 +14,7 @@ Creates new Schedule object ``` New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays - -IntervalType -IntervalCount + -IntervalType -IntervalCount [-ProgressAction ] [] ``` @@ -80,6 +80,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 +``` + ### -ScheduleDays Days with which backup will be scheduled. diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md index 783c2211b505..165ce87fe5ee 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md @@ -15,7 +15,7 @@ Creates a resource guard under a resource group ``` New-AzDataProtectionResourceGuard -ResourceGroupName -Name -Location [-SubscriptionId ] [-ETag ] [-IdentityType ] [-Tag ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -112,6 +112,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 Resource Group name of the resource guard diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md index 2b2bba1f66bf..e5442cc8c5aa 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md @@ -18,7 +18,7 @@ New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType ] [-LabelSelector ] [-IncludeClusterScopeResource ] [-ConflictPolicy ] [-NamespaceMapping ] [-PersistentVolumeRestoreMode ] [-RestoreHookReference ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -199,6 +199,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 +``` + ### -RestoreHookReference Hook reference to be executed during restore. To construct, see NOTES section for RESTOREHOOKREFERENCE properties and create a hash table. diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md index ce49d1edd5e4..79b658088b90 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md @@ -15,7 +15,7 @@ Creates new Lifecycle object ``` New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore -SourceRetentionDurationType -SourceRetentionDurationCount - [-TargetDataStore ] [-CopyOption ] + [-TargetDataStore ] [-CopyOption ] [-ProgressAction ] [] ``` @@ -72,6 +72,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 +``` + ### -SourceDataStore Source Datastore diff --git a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md index e8cb70efb663..36eaa93a7e3b 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md @@ -16,13 +16,13 @@ Delete a backupInstances ``` Remove-AzDataProtectionBackupInstance -Name -ResourceGroupName [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -132,6 +132,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/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupPolicy.md index 9f437920eec7..cf902b3950d9 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupPolicy.md @@ -15,14 +15,14 @@ Deletes a backup policy belonging to a backup vault ### Delete (Default) ``` Remove-AzDataProtectionBackupPolicy -Name -ResourceGroupName [-SubscriptionId ] - -VaultName [-DefaultProfile ] [-PassThru] [-WhatIf] + -VaultName [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzDataProtectionBackupPolicy -InputObject [-DefaultProfile ] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -102,6 +102,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/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupVault.md index 326d9f5f9365..9922d1b9b8fb 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupVault.md @@ -15,14 +15,14 @@ Deletes a BackupVault resource from the resource group. ### Delete (Default) ``` Remove-AzDataProtectionBackupVault -ResourceGroupName [-SubscriptionId ] -VaultName - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzDataProtectionBackupVault -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -116,6 +116,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/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuard.md index 18b8614d8077..ce7a136c7495 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuard.md @@ -15,14 +15,14 @@ Deletes a ResourceGuard resource from the resource group. ### Delete (Default) ``` Remove-AzDataProtectionResourceGuard -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzDataProtectionResourceGuard -InputObject [-DefaultProfile ] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -101,6 +101,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/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuardMapping.md index 9c018ac76592..9e88f0687fc3 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuardMapping.md @@ -15,14 +15,14 @@ Deletes the ResourceGuardProxy ### Delete (Default) ``` Remove-AzDataProtectionResourceGuardMapping -ResourceGroupName [-SubscriptionId ] - -VaultName [-DefaultProfile ] [-PassThru] [-WhatIf] + -VaultName [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzDataProtectionResourceGuardMapping -InputObject [-DefaultProfile ] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -97,6 +97,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/DataProtection/DataProtection/help/Resume-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection/help/Resume-AzDataProtectionBackupInstanceProtection.md index 3178880d4b57..37bc19ee7c0f 100644 --- a/src/DataProtection/DataProtection/help/Resume-AzDataProtectionBackupInstanceProtection.md +++ b/src/DataProtection/DataProtection/help/Resume-AzDataProtectionBackupInstanceProtection.md @@ -16,13 +16,13 @@ This operation will resume protection for a stopped backup instance ``` Resume-AzDataProtectionBackupInstanceProtection -BackupInstanceName -ResourceGroupName [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### ResumeViaIdentity ``` Resume-AzDataProtectionBackupInstanceProtection -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -132,6 +132,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/DataProtection/DataProtection/help/Search-AzDataProtectionBackupInstanceInAzGraph.md b/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupInstanceInAzGraph.md index 76f4974f1ef9..f02507d74a27 100644 --- a/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupInstanceInAzGraph.md +++ b/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupInstanceInAzGraph.md @@ -15,7 +15,7 @@ Searches for Backup instances in Azure Resource Graph and retrieves the expected ``` Search-AzDataProtectionBackupInstanceInAzGraph -Subscription -DatasourceType [-ResourceGroup ] [-Vault ] [-ProtectionStatus ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -105,6 +105,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 +``` + ### -ProtectionStatus Protection Status of the item diff --git a/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupVaultInAzGraph.md b/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupVaultInAzGraph.md index f0c003bf6b79..797cbe30e141 100644 --- a/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupVaultInAzGraph.md +++ b/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupVaultInAzGraph.md @@ -14,7 +14,7 @@ Searches for Backup vaults in Azure Resource Graph and retrieves the expected en ``` Search-AzDataProtectionBackupVaultInAzGraph -Subscription [-ResourceGroup ] - [-Vault ] [-DefaultProfile ] [] + [-Vault ] [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -51,6 +51,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 +``` + ### -ResourceGroup Resource Group of Vault diff --git a/src/DataProtection/DataProtection/help/Search-AzDataProtectionJobInAzGraph.md b/src/DataProtection/DataProtection/help/Search-AzDataProtectionJobInAzGraph.md index 436225b90748..6bf3a6937154 100644 --- a/src/DataProtection/DataProtection/help/Search-AzDataProtectionJobInAzGraph.md +++ b/src/DataProtection/DataProtection/help/Search-AzDataProtectionJobInAzGraph.md @@ -16,7 +16,7 @@ Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entr Search-AzDataProtectionJobInAzGraph -Subscription -DatasourceType [-ResourceGroup ] [-Vault ] [-StartTime ] [-EndTime ] [-Operation ] [-Status ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -119,6 +119,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 +``` + ### -ResourceGroup Resource Group of Vault diff --git a/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md b/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md index cf4e533ced87..9dac34da850e 100644 --- a/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md +++ b/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md @@ -15,7 +15,7 @@ Grants required permissions to the backup vault and other resources for configur ### SetPermissionsForBackup (Default) ``` Set-AzDataProtectionMSIPermission -VaultResourceGroup -VaultName -PermissionsScope - -BackupInstance [-KeyVaultId ] + -BackupInstance [-KeyVaultId ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -23,7 +23,7 @@ Set-AzDataProtectionMSIPermission -VaultResourceGroup -VaultName -VaultName -PermissionsScope -RestoreRequest [-SubscriptionId ] [-DatasourceType ] - [-SnapshotResourceGroupId ] [-StorageAccountARMId ] + [-SnapshotResourceGroupId ] [-StorageAccountARMId ] [-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 +``` + ### -RestoreRequest Restore request object which will be used for restore To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. diff --git a/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md index f35777cea08d..3483ea36121b 100644 --- a/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md @@ -15,7 +15,7 @@ Creates or Updates a ResourceGuardProxy ``` Set-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName [-SubscriptionId ] [-ResourceGuardId ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -64,6 +64,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/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md index 759fe25ebb90..5097c4e6c12e 100644 --- a/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md @@ -17,7 +17,7 @@ Triggers restore for a BackupInstance Start-AzDataProtectionBackupInstanceRestore -ResourceGroupName -BackupInstanceName -VaultName -Parameter [-SubscriptionId ] [-RestoreToSecondaryRegion] [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### TriggerExpanded @@ -26,7 +26,7 @@ Start-AzDataProtectionBackupInstanceRestore -ResourceGroupName -BackupI -VaultName [-SubscriptionId ] [-RestoreToSecondaryRegion] [-DefaultProfile ] [-AsJob] [-NoWait] -ObjectType -RestoreTargetInfo -SourceDataStoreType [-IdentityDetailUserAssignedIdentityArmUrl ] - [-IdentityDetailUseSystemAssignedIdentity] [-SourceResourceId ] + [-IdentityDetailUseSystemAssignedIdentity] [-SourceResourceId ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -330,6 +330,21 @@ Accept pipeline input: True (ByValue) 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 where the backup vault is present diff --git a/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md index 7b15e7deb12a..0242963e8c22 100644 --- a/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md +++ b/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md @@ -16,13 +16,13 @@ This operation will stop protection of a backup instance and data will be held f ``` Stop-AzDataProtectionBackupInstanceProtection -BackupInstanceName -ResourceGroupName [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### StopViaIdentity ``` Stop-AzDataProtectionBackupInstanceProtection -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -132,6 +132,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/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md b/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md index 4428ba3d3c13..70c10ffd4411 100644 --- a/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md +++ b/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md @@ -16,13 +16,13 @@ This operation will stop backup for a backup instance and retains the backup dat ``` Suspend-AzDataProtectionBackupInstanceBackup -BackupInstanceName -ResourceGroupName [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### SuspendViaIdentity ``` Suspend-AzDataProtectionBackupInstanceBackup -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -132,6 +132,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/DataProtection/DataProtection/help/Sync-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Sync-AzDataProtectionBackupInstance.md index 06166dec278f..a36bdedb4846 100644 --- a/src/DataProtection/DataProtection/help/Sync-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Sync-AzDataProtectionBackupInstance.md @@ -15,7 +15,7 @@ Sync backup instance again in case of failure\r\nThis action will retry last fai ``` Sync-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName [-SubscriptionId ] [-SyncType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -109,6 +109,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/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md index 06d042383baf..71fd697411f1 100644 --- a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md +++ b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md @@ -15,7 +15,7 @@ Validate whether adhoc backup will be successful or not ``` Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName -VaultName [-SubscriptionId ] -BackupInstance [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -104,6 +104,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/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md index d84c25ecb29d..69d402ab10a6 100644 --- a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md @@ -15,7 +15,7 @@ Validates if Restore can be triggered for a DataSource ``` Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName -Name -VaultName -RestoreRequest [-SubscriptionId ] [-RestoreToSecondaryRegion] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -102,6 +102,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 where the backup vault is present diff --git a/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md b/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md index af2d7fb20f3d..ea5a347e0135 100644 --- a/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md +++ b/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md @@ -16,13 +16,13 @@ Undeletes a soft deleted backup instance ``` Undo-AzDataProtectionBackupInstanceDeletion -BackupInstanceName -ResourceGroupName [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UndeleteViaIdentity ``` Undo-AzDataProtectionBackupInstanceDeletion -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -133,6 +133,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/DataProtection/DataProtection/help/Unlock-AzDataProtectionResourceGuardOperation.md b/src/DataProtection/DataProtection/help/Unlock-AzDataProtectionResourceGuardOperation.md index de8293dc576d..581673403e18 100644 --- a/src/DataProtection/DataProtection/help/Unlock-AzDataProtectionResourceGuardOperation.md +++ b/src/DataProtection/DataProtection/help/Unlock-AzDataProtectionResourceGuardOperation.md @@ -15,7 +15,7 @@ Unlocks the critical operation which is protected by the resource guard ``` Unlock-AzDataProtectionResourceGuardOperation -ResourceGroupName -VaultName [-SubscriptionId ] [-ResourceGuardOperationRequest ] [-ResourceToBeDeleted ] - [-Token ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [-Token ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -112,6 +112,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 Resource Group name of the backup vault diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md index 6f12643a25be..276d8ed68dd0 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md @@ -15,7 +15,7 @@ Updates associated policy for a given backup instance ``` Update-AzDataProtectionBackupInstanceAssociatedPolicy -ResourceGroupName -VaultName -BackupInstanceName -PolicyId [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -113,6 +113,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 Resource Group of the backup vault diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md index d802f5f4b83d..23f0d6e51f39 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md @@ -20,7 +20,7 @@ Update-AzDataProtectionBackupVault -ResourceGroupName [-SubscriptionId [-CrossSubscriptionRestoreState ] [-IdentityType ] [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -31,7 +31,7 @@ Update-AzDataProtectionBackupVault -InputObject [-CrossSubscriptionRestoreState ] [-IdentityType ] [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -243,6 +243,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/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md index aaa85413a858..d60a8f7c6daa 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md @@ -15,7 +15,7 @@ Updates a resource guard belonging to a resource group ``` Update-AzDataProtectionResourceGuard -ResourceGroupName -Name [-SubscriptionId ] [-ETag ] [-IdentityType ] [-Tag ] [-CriticalOperationExclusionList ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -119,6 +119,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 Resource Group name of the resource guard diff --git a/tools/StaticAnalysis/Exceptions/Az.DataProtection/ExampleIssues.csv b/tools/StaticAnalysis/Exceptions/Az.DataProtection/ExampleIssues.csv new file mode 100644 index 000000000000..8a927c487468 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.DataProtection/ExampleIssues.csv @@ -0,0 +1,4 @@ +"Module","Cmdlet","Example","Line","RuleName","ProblemId","Severity","Description","Extent","Remediation" +"Az.DataProtection","New-AzDataProtectionBackupConfigurationClientObject","2","1","Invalid_Cmdlet","5000","1","Get-AzStorageAccount is not a valid command name.","Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName","Check the spell of Get-AzStorageAccount." +"Az.DataProtection","New-AzDataProtectionBackupConfigurationClientObject","2","2","Invalid_Cmdlet","5000","1","Get-AzStorageContainer is not a valid command name.","Get-AzStorageContainer -Context $storageAccount.Context","Check the spell of Get-AzStorageContainer." +"Az.DataProtection","Start-AzDataProtectionBackupInstanceRestore","9","4","Invalid_Cmdlet","5000","1","Get-AzStorageAccount is not a valid command name.","Get-AzStorageAccount -ResourceGroupName 'teststorageaccountRG' -Name 'teststorageaccount'","Check the spell of Get-AzStorageAccount."