diff --git a/src/ApplicationInsights/Az.ApplicationInsights.psd1 b/src/ApplicationInsights/Az.ApplicationInsights.psd1 index 8e3f38f6fd85..f8cfc2f47c33 100644 --- a/src/ApplicationInsights/Az.ApplicationInsights.psd1 +++ b/src/ApplicationInsights/Az.ApplicationInsights.psd1 @@ -12,7 +12,7 @@ RootModule = './Az.ApplicationInsights.psm1' # Version number of this module. -ModuleVersion = '0.1.0' +ModuleVersion = '1.3.1' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' diff --git a/src/ApplicationInsights/ChangeLog.md b/src/ApplicationInsights/ChangeLog.md index 718e8eba2587..7d25fa68aaf2 100644 --- a/src/ApplicationInsights/ChangeLog.md +++ b/src/ApplicationInsights/ChangeLog.md @@ -19,7 +19,7 @@ --> ## Upcoming Release * Upgraded API version for ApplicationInsights component to 2020-02-02 -* Supported Log Analytics workspace based component for `New-AzApplicationInsights` and 'Update-AzApplicationInsights' +* Supported Log Analytics workspace-based component by `New-AzApplicationInsights` and `Update-AzApplicationInsights` ## Version 1.3.1 * Added breaking change warnings for upcoming Az.ApplicationInsights 2.0.0 diff --git a/src/Cdn/Changelog.md b/src/Cdn/Changelog.md index d5c0891c63e5..57d0d3513264 100644 --- a/src/Cdn/Changelog.md +++ b/src/Cdn/Changelog.md @@ -19,7 +19,27 @@ --> ## Upcoming Release -* Migrated the cmdlets from SDK based to autorest generated. +* Upgraded API version to 2021-06-01 +* Removed deprecated cmdlets + - Disable-AzCdnCustomDomain + - Enable-AzCdnCustomDomain + - Get-AzCdnEdgeNodes + - Get-AzCdnProfileSsoUrl + - New-AzCdnDeliveryPolicy + - Set-AzFrontDoorCdnSecret +* Added new cmdlets + - Clear-AzFrontDoorCdnEndpointContent + - Get-AzFrontDoorCdnEndpointResourceUsage + - Get-AzFrontDoorCdnOriginGroupResourceUsage + - Get-AzFrontDoorCdnProfileResourceUsage + - Get-AzFrontDoorCdnRuleSetResourceUsage + - Test-AzFrontDoorCdnEndpointCustomDomain + - Test-AzFrontDoorCdnEndpointNameAvailability + - Test-AzFrontDoorCdnProfileHostNameAvailability + - Update-AzFrontDoorCdnCustomDomainValidationToken + - Update-AzFrontDoorCdnRule +* Renamed Set cmdlets to Update cmdlets +* Added `Object` suffix to memory object creation cmdlets ## Version 1.8.3 * Added breaking change messages for all cmdlets in Az.CDN module diff --git a/src/Cdn/test/Clear-AzCdnEndpointContent.Tests.ps1 b/src/Cdn/test/Clear-AzCdnEndpointContent.Tests.ps1 index 6c2c183a8644..74b6ab38f316 100644 --- a/src/Cdn/test/Clear-AzCdnEndpointContent.Tests.ps1 +++ b/src/Cdn/test/Clear-AzCdnEndpointContent.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Clear-AzCdnEndpointContent')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Clear-AzCdnEndpointContent' { +Describe 'Clear-AzCdnEndpointContent' -Tag 'LiveOnly' { It 'PurgeExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Clear-AzFrontDoorCdnEndpointContent.Tests.ps1 b/src/Cdn/test/Clear-AzFrontDoorCdnEndpointContent.Tests.ps1 index 2d90f5f58d23..7f39e380f6b9 100644 --- a/src/Cdn/test/Clear-AzFrontDoorCdnEndpointContent.Tests.ps1 +++ b/src/Cdn/test/Clear-AzFrontDoorCdnEndpointContent.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Clear-AzFrontDoorCdnEndpointC . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Clear-AzFrontDoorCdnEndpointContent' { +Describe 'Clear-AzFrontDoorCdnEndpointContent' -Tag 'LiveOnly' { It 'PurgeExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Disable-AzCdnCustomDomainCustomHttps.Tests.ps1 b/src/Cdn/test/Disable-AzCdnCustomDomainCustomHttps.Tests.ps1 index b58ccad8a41b..2c14f6f1893b 100644 --- a/src/Cdn/test/Disable-AzCdnCustomDomainCustomHttps.Tests.ps1 +++ b/src/Cdn/test/Disable-AzCdnCustomDomainCustomHttps.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Disable-AzCdnCustomDomainCust . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Disable-AzCdnCustomDomainCustomHttps' { +Describe 'Disable-AzCdnCustomDomainCustomHttps' -Tag 'LiveOnly' { It 'Disable' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/Cdn/test/Enable-AzCdnCustomDomainCustomHttps.Tests.ps1 b/src/Cdn/test/Enable-AzCdnCustomDomainCustomHttps.Tests.ps1 index 64b4d05ffdbc..53caacb3a8d2 100644 --- a/src/Cdn/test/Enable-AzCdnCustomDomainCustomHttps.Tests.ps1 +++ b/src/Cdn/test/Enable-AzCdnCustomDomainCustomHttps.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Enable-AzCdnCustomDomainCusto . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Enable-AzCdnCustomDomainCustomHttps' { +Describe 'Enable-AzCdnCustomDomainCustomHttps' -Tag 'LiveOnly' { It 'Enable' { { $subId = "27cafca8-b9a4-4264-b399-45d0c9cca1ab" diff --git a/src/Cdn/test/Get-AzCdnCustomDomain.Tests.ps1 b/src/Cdn/test/Get-AzCdnCustomDomain.Tests.ps1 index 55bd5f0e4825..eac706d1b028 100644 --- a/src/Cdn/test/Get-AzCdnCustomDomain.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnCustomDomain')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnCustomDomain' { +Describe 'Get-AzCdnCustomDomain' -Tag 'LiveOnly' { It 'List' { { $subId = "27cafca8-b9a4-4264-b399-45d0c9cca1ab" diff --git a/src/Cdn/test/Get-AzCdnEdgeNode.Tests.ps1 b/src/Cdn/test/Get-AzCdnEdgeNode.Tests.ps1 index ba0dc81949fa..a7e6dda6cae2 100644 --- a/src/Cdn/test/Get-AzCdnEdgeNode.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnEdgeNode.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnEdgeNode')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnEdgeNode' { +Describe 'Get-AzCdnEdgeNode' -Tag 'LiveOnly' { It 'List' { { $minPrefixLength = 0; diff --git a/src/Cdn/test/Get-AzCdnEndpoint.Tests.ps1 b/src/Cdn/test/Get-AzCdnEndpoint.Tests.ps1 index ff11efff97ac..e7bf99bc99dc 100644 --- a/src/Cdn/test/Get-AzCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnEndpoint')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnEndpoint' { +Describe 'Get-AzCdnEndpoint' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzCdnEndpointResourceUsage.Tests.ps1 b/src/Cdn/test/Get-AzCdnEndpointResourceUsage.Tests.ps1 index 1b09d9cc40a3..496f74cd81d5 100644 --- a/src/Cdn/test/Get-AzCdnEndpointResourceUsage.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnEndpointResourceUsage.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnEndpointResourceUsag . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnEndpointResourceUsage' { +Describe 'Get-AzCdnEndpointResourceUsage' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzCdnOrigin.Tests.ps1 b/src/Cdn/test/Get-AzCdnOrigin.Tests.ps1 index 4622304295f4..99540ae79e3e 100644 --- a/src/Cdn/test/Get-AzCdnOrigin.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnOrigin.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnOrigin')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnOrigin' { +Describe 'Get-AzCdnOrigin' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzCdnOriginGroup.Tests.ps1 b/src/Cdn/test/Get-AzCdnOriginGroup.Tests.ps1 index 340a52086d13..6bf0a04eb7e7 100644 --- a/src/Cdn/test/Get-AzCdnOriginGroup.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnOriginGroup.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnOriginGroup')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnOriginGroup' { +Describe 'Get-AzCdnOriginGroup' -Tag 'LiveOnly' { It 'List' { { $subId = $env.SubscriptionId diff --git a/src/Cdn/test/Get-AzCdnProfile.Tests.ps1 b/src/Cdn/test/Get-AzCdnProfile.Tests.ps1 index f53f356f0666..1db88a1b1330 100644 --- a/src/Cdn/test/Get-AzCdnProfile.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnProfile.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnProfile')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnProfile' { +Describe 'Get-AzCdnProfile' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzCdnProfileResourceUsage.Tests.ps1 b/src/Cdn/test/Get-AzCdnProfileResourceUsage.Tests.ps1 index 874867064ea4..72a569fe3fb4 100644 --- a/src/Cdn/test/Get-AzCdnProfileResourceUsage.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnProfileResourceUsage.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnProfileResourceUsage . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnProfileResourceUsage' { +Describe 'Get-AzCdnProfileResourceUsage' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzCdnProfileSupportedOptimizationType.Tests.ps1 b/src/Cdn/test/Get-AzCdnProfileSupportedOptimizationType.Tests.ps1 index 1623e768a2a1..723728e07049 100644 --- a/src/Cdn/test/Get-AzCdnProfileSupportedOptimizationType.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnProfileSupportedOptimizationType.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnProfileSupportedOpti . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnProfileSupportedOptimizationType' { +Describe 'Get-AzCdnProfileSupportedOptimizationType' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzCdnSubscriptionResourceUsage.Tests.ps1 b/src/Cdn/test/Get-AzCdnSubscriptionResourceUsage.Tests.ps1 index 0122d0714738..a9d39674c168 100644 --- a/src/Cdn/test/Get-AzCdnSubscriptionResourceUsage.Tests.ps1 +++ b/src/Cdn/test/Get-AzCdnSubscriptionResourceUsage.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzCdnSubscriptionResource . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzCdnSubscriptionResourceUsage' { +Describe 'Get-AzCdnSubscriptionResourceUsage' -Tag 'LiveOnly' { It 'List' { { $subscriptionResourceUsage = Get-AzCdnSubscriptionResourceUsage diff --git a/src/Cdn/test/Get-AzFrontDoorCdnCustomDomain.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnCustomDomain.Tests.ps1 index 7e46745834ef..4151b0d83e35 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnCustomDomain.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnCustomDomai . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnCustomDomain' { +Describe 'Get-AzFrontDoorCdnCustomDomain' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnEndpoint.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnEndpoint.Tests.ps1 index c6e3e5e61834..f9ab98ed2e09 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnEndpoint')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnEndpoint' { +Describe 'Get-AzFrontDoorCdnEndpoint' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnEndpointResourceUsage.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnEndpointResourceUsage.Tests.ps1 index 9868b8cde9ef..88c93d9dd0f5 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnEndpointResourceUsage.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnEndpointResourceUsage.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnEndpointRes . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnEndpointResourceUsage' { +Describe 'Get-AzFrontDoorCdnEndpointResourceUsage' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzFrontDoorCdnOrigin.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnOrigin.Tests.ps1 index 558dbe8ec458..4e34b3cd1608 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnOrigin.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnOrigin.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnOrigin')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnOrigin' { +Describe 'Get-AzFrontDoorCdnOrigin' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnOriginGroup.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnOriginGroup.Tests.ps1 index d2e5ea57eaea..b9c8d033cfaf 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnOriginGroup.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnOriginGroup.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnOriginGroup . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnOriginGroup' { +Describe 'Get-AzFrontDoorCdnOriginGroup' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnOriginGroupResourceUsage.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnOriginGroupResourceUsage.Tests.ps1 index d3fd414c68e4..918d537f5ef2 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnOriginGroupResourceUsage.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnOriginGroupResourceUsage.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnOriginGroup . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnOriginGroupResourceUsage' { +Describe 'Get-AzFrontDoorCdnOriginGroupResourceUsage' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzFrontDoorCdnProfile.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnProfile.Tests.ps1 index b2db36ce2681..1bcabc6893eb 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnProfile.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnProfile.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnProfile')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnProfile' { +Describe 'Get-AzFrontDoorCdnProfile' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnProfileResourceUsage.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnProfileResourceUsage.Tests.ps1 index 03715a41f04d..f5103addda64 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnProfileResourceUsage.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnProfileResourceUsage.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnProfileReso . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnProfileResourceUsage' { +Describe 'Get-AzFrontDoorCdnProfileResourceUsage' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzFrontDoorCdnRoute.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnRoute.Tests.ps1 index 4bf2bddb2654..fbc495c7a7bb 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnRoute.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnRoute.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnRoute')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnRoute' { +Describe 'Get-AzFrontDoorCdnRoute' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnRule.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnRule.Tests.ps1 index f2f49f38a405..9f7ad40fd52e 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnRule.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnRule.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnRule')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnRule' { +Describe 'Get-AzFrontDoorCdnRule' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnRuleSet.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnRuleSet.Tests.ps1 index a788a14f13c8..01aec91f07a1 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnRuleSet.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnRuleSet.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnRuleSet')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnRuleSet' { +Describe 'Get-AzFrontDoorCdnRuleSet' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnRuleSetResourceUsage.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnRuleSetResourceUsage.Tests.ps1 index 5bb131b896e7..7c35dbf3bbb4 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnRuleSetResourceUsage.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnRuleSetResourceUsage.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnRuleSetReso . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnRuleSetResourceUsage' { +Describe 'Get-AzFrontDoorCdnRuleSetResourceUsage' -Tag 'LiveOnly' { It 'List' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Get-AzFrontDoorCdnSecret.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnSecret.Tests.ps1 index fbec229101ae..f58835c0e087 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnSecret.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnSecret.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnSecret')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnSecret' { +Describe 'Get-AzFrontDoorCdnSecret' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Get-AzFrontDoorCdnSecurityPolicy.Tests.ps1 b/src/Cdn/test/Get-AzFrontDoorCdnSecurityPolicy.Tests.ps1 index b04ca2ff1eb6..aa82fbc9cbfe 100644 --- a/src/Cdn/test/Get-AzFrontDoorCdnSecurityPolicy.Tests.ps1 +++ b/src/Cdn/test/Get-AzFrontDoorCdnSecurityPolicy.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnSecurityPol . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzFrontDoorCdnSecurityPolicy' { +Describe 'Get-AzFrontDoorCdnSecurityPolicy' -Tag 'LiveOnly' { It 'List' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Import-AzCdnEndpointContent.Tests.ps1 b/src/Cdn/test/Import-AzCdnEndpointContent.Tests.ps1 index df06b0a5d168..0faec980d077 100644 --- a/src/Cdn/test/Import-AzCdnEndpointContent.Tests.ps1 +++ b/src/Cdn/test/Import-AzCdnEndpointContent.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Import-AzCdnEndpointContent') . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Import-AzCdnEndpointContent' { +Describe 'Import-AzCdnEndpointContent' -Tag 'LiveOnly' { It 'LoadExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/New-AzCdnCustomDomain.Tests.ps1 b/src/Cdn/test/New-AzCdnCustomDomain.Tests.ps1 index 45710d92976f..844ccc5c25a5 100644 --- a/src/Cdn/test/New-AzCdnCustomDomain.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnCustomDomain')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnCustomDomain' { +Describe 'New-AzCdnCustomDomain' -Tag 'LiveOnly' { It 'CreateExpanded' { { $subId = "27cafca8-b9a4-4264-b399-45d0c9cca1ab" diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleCookiesConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleCookiesConditionObject.Tests.ps1 index 73d274242487..cb1f42488fbb 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleCookiesConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleCookiesConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleCookiesC . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleCookiesConditionObject' { +Describe 'New-AzCdnDeliveryRuleCookiesConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleHttpVersionConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleHttpVersionConditionObject.Tests.ps1 index 11970148bac6..8f05e8f3f3f3 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleHttpVersionConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleHttpVersionConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleHttpVers . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleHttpVersionConditionObject' { +Describe 'New-AzCdnDeliveryRuleHttpVersionConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleIsDeviceConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleIsDeviceConditionObject.Tests.ps1 index 7e899f7b0612..60f807eef450 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleIsDeviceConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleIsDeviceConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleIsDevice . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleIsDeviceConditionObject' { +Describe 'New-AzCdnDeliveryRuleIsDeviceConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleObject.Tests.ps1 index 2e6a20fe9c70..cab6ed52eee1 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleObject') . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleObject' { +Describe 'New-AzCdnDeliveryRuleObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/New-AzCdnDeliveryRulePostArgsConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRulePostArgsConditionObject.Tests.ps1 index 04eb98e77541..317920365340 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRulePostArgsConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRulePostArgsConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRulePostArgs . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRulePostArgsConditionObject' { +Describe 'New-AzCdnDeliveryRulePostArgsConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleQueryStringConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleQueryStringConditionObject.Tests.ps1 index 05cf89724baf..c23960a4140b 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleQueryStringConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleQueryStringConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleQueryStr . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleQueryStringConditionObject' { +Describe 'New-AzCdnDeliveryRuleQueryStringConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleRemoteAddressConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleRemoteAddressConditionObject.Tests.ps1 index aaae42f3e0bd..3cbb90825a49 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleRemoteAddressConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleRemoteAddressConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleRemoteAd . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleRemoteAddressConditionObject' { +Describe 'New-AzCdnDeliveryRuleRemoteAddressConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleRequestBodyConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleRequestBodyConditionObject.Tests.ps1 index e331fb0e171c..c4c728625b75 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleRequestBodyConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleRequestBodyConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleRequestB . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleRequestBodyConditionObject' { +Describe 'New-AzCdnDeliveryRuleRequestBodyConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleRequestHeaderActionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleRequestHeaderActionObject.Tests.ps1 index 33994529d715..531981a4195e 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleRequestHeaderActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleRequestHeaderActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleRequestH . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleRequestHeaderActionObject' { +Describe 'New-AzCdnDeliveryRuleRequestHeaderActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleRequestHeaderConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleRequestHeaderConditionObject.Tests.ps1 index 639af3964bb5..3cd33cb12a40 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleRequestHeaderConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleRequestHeaderConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleRequestH . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleRequestHeaderConditionObject' { +Describe 'New-AzCdnDeliveryRuleRequestHeaderConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleRequestMethodConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleRequestMethodConditionObject.Tests.ps1 index 383f227d1498..96c9332548df 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleRequestMethodConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleRequestMethodConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleRequestM . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleRequestMethodConditionObject' { +Describe 'New-AzCdnDeliveryRuleRequestMethodConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleRequestSchemeConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleRequestSchemeConditionObject.Tests.ps1 index 7973863a54ef..8694b28c20de 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleRequestSchemeConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleRequestSchemeConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleRequestS . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleRequestSchemeConditionObject' { +Describe 'New-AzCdnDeliveryRuleRequestSchemeConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleRequestUriConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleRequestUriConditionObject.Tests.ps1 index e33403a17ce5..a9faf0e56185 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleRequestUriConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleRequestUriConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleRequestU . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleRequestUriConditionObject' { +Describe 'New-AzCdnDeliveryRuleRequestUriConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleResponseHeaderActionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleResponseHeaderActionObject.Tests.ps1 index 9e03b83eea1f..fa43c1a03861 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleResponseHeaderActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleResponseHeaderActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleResponse . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleResponseHeaderActionObject' { +Describe 'New-AzCdnDeliveryRuleResponseHeaderActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.Tests.ps1 index cdcbc1dc14cd..71937629033d 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleUrlFileExtensionConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleUrlFileE . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleUrlFileExtensionConditionObject' { +Describe 'New-AzCdnDeliveryRuleUrlFileExtensionConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleUrlFileNameConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleUrlFileNameConditionObject.Tests.ps1 index 33597efa1f88..e47eeba19e2f 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleUrlFileNameConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleUrlFileNameConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleUrlFileN . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleUrlFileNameConditionObject' { +Describe 'New-AzCdnDeliveryRuleUrlFileNameConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnDeliveryRuleUrlPathConditionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnDeliveryRuleUrlPathConditionObject.Tests.ps1 index 4b7963d85f62..55437a130fac 100644 --- a/src/Cdn/test/New-AzCdnDeliveryRuleUrlPathConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnDeliveryRuleUrlPathConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnDeliveryRuleUrlPathC . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnDeliveryRuleUrlPathConditionObject' { +Describe 'New-AzCdnDeliveryRuleUrlPathConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnEndpoint.Tests.ps1 b/src/Cdn/test/New-AzCdnEndpoint.Tests.ps1 index 6cf13e414085..1fcd55f213f3 100644 --- a/src/Cdn/test/New-AzCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnEndpoint')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnEndpoint' { +Describe 'New-AzCdnEndpoint' -Tag 'LiveOnly' { It 'CreateExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/New-AzCdnHealthProbeParametersObject.Tests.ps1 b/src/Cdn/test/New-AzCdnHealthProbeParametersObject.Tests.ps1 index 3fffd8573ed7..ce01a946f954 100644 --- a/src/Cdn/test/New-AzCdnHealthProbeParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnHealthProbeParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnHealthProbeParameter . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnHealthProbeParametersObject' { +Describe 'New-AzCdnHealthProbeParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/Cdn/test/New-AzCdnManagedHttpsParametersObject.Tests.ps1 b/src/Cdn/test/New-AzCdnManagedHttpsParametersObject.Tests.ps1 index 70f453549207..49a802b54eb6 100644 --- a/src/Cdn/test/New-AzCdnManagedHttpsParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnManagedHttpsParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnManagedHttpsParamete . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnManagedHttpsParametersObject' { +Describe 'New-AzCdnManagedHttpsParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnOrigin.Tests.ps1 b/src/Cdn/test/New-AzCdnOrigin.Tests.ps1 index f35bbf151afd..60e141e0562b 100644 --- a/src/Cdn/test/New-AzCdnOrigin.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnOrigin.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnOrigin')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnOrigin' { +Describe 'New-AzCdnOrigin' -Tag 'LiveOnly' { It 'CreateExpanded' { { $subId = $env.SubscriptionId diff --git a/src/Cdn/test/New-AzCdnOriginGroup.Tests.ps1 b/src/Cdn/test/New-AzCdnOriginGroup.Tests.ps1 index b5aa4e9fca80..5de1e21d6210 100644 --- a/src/Cdn/test/New-AzCdnOriginGroup.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnOriginGroup.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnOriginGroup')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnOriginGroup' { +Describe 'New-AzCdnOriginGroup' -Tag 'LiveOnly' { It 'CreateExpanded' { { $subId = $env.SubscriptionId diff --git a/src/Cdn/test/New-AzCdnProfile.Tests.ps1 b/src/Cdn/test/New-AzCdnProfile.Tests.ps1 index ff517743b7c2..5fb519a4ef00 100644 --- a/src/Cdn/test/New-AzCdnProfile.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnProfile.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnProfile')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnProfile' { +Describe 'New-AzCdnProfile' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzCdnResourceReferenceObject.Tests.ps1 b/src/Cdn/test/New-AzCdnResourceReferenceObject.Tests.ps1 index d9223b3774f7..3f455f2e422e 100644 --- a/src/Cdn/test/New-AzCdnResourceReferenceObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnResourceReferenceObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnResourceReferenceObj . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnResourceReferenceObject' { +Describe 'New-AzCdnResourceReferenceObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { New-AzCdnResourceReferenceObject -Id "Id" diff --git a/src/Cdn/test/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.Tests.ps1 b/src/Cdn/test/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.Tests.ps1 index 7b3324b7a25d..96d99ed707a2 100644 --- a/src/Cdn/test/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnResponseBasedOriginErrorDetectionParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnResponseBasedOriginE . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnResponseBasedOriginErrorDetectionParametersObject' { +Describe 'New-AzCdnResponseBasedOriginErrorDetectionParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/Cdn/test/New-AzCdnUrlRedirectActionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnUrlRedirectActionObject.Tests.ps1 index 73229303b41a..7092ca9eaab5 100644 --- a/src/Cdn/test/New-AzCdnUrlRedirectActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnUrlRedirectActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnUrlRedirectActionObj . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnUrlRedirectActionObject' { +Describe 'New-AzCdnUrlRedirectActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnUrlRewriteActionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnUrlRewriteActionObject.Tests.ps1 index 5a2c23eee93d..3a14ab3c2aa7 100644 --- a/src/Cdn/test/New-AzCdnUrlRewriteActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnUrlRewriteActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnUrlRewriteActionObje . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnUrlRewriteActionObject' { +Describe 'New-AzCdnUrlRewriteActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnUrlSigningActionObject.Tests.ps1 b/src/Cdn/test/New-AzCdnUrlSigningActionObject.Tests.ps1 index f4a9e2af9b74..bedc48b31d83 100644 --- a/src/Cdn/test/New-AzCdnUrlSigningActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnUrlSigningActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnUrlSigningActionObje . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnUrlSigningActionObject' { +Describe 'New-AzCdnUrlSigningActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzCdnUserManagedHttpsParametersObject.Tests.ps1 b/src/Cdn/test/New-AzCdnUserManagedHttpsParametersObject.Tests.ps1 index 5bb0b6aa24a2..ece3c098f0b5 100644 --- a/src/Cdn/test/New-AzCdnUserManagedHttpsParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzCdnUserManagedHttpsParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzCdnUserManagedHttpsPara . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzCdnUserManagedHttpsParametersObject' { +Describe 'New-AzCdnUserManagedHttpsParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnCustomDomain.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnCustomDomain.Tests.ps1 index a08e355cdee8..828c33c8e130 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnCustomDomain.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnCustomDomai . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnCustomDomain' { +Describe 'New-AzFrontDoorCdnCustomDomain' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.Tests.ps1 index fbfda184107c..687f0a7a14e9 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnCustomDomai . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject' { +Describe 'New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnEndpoint.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnEndpoint.Tests.ps1 index 02dbb582f431..f7c2f0c1d455 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnEndpoint')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnEndpoint' { +Describe 'New-AzFrontDoorCdnEndpoint' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnOrigin.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnOrigin.Tests.ps1 index 5b4f3cdb4397..5507fa07b889 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnOrigin.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnOrigin.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnOrigin')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnOrigin' { +Describe 'New-AzFrontDoorCdnOrigin' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnOriginGroup.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnOriginGroup.Tests.ps1 index 2abaf648ece4..fc5efe65b44d 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnOriginGroup.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnOriginGroup.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnOriginGroup . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnOriginGroup' { +Describe 'New-AzFrontDoorCdnOriginGroup' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.Tests.ps1 index 62867020f22d..f4f2130fcb2c 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnOriginGroup . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject' { +Describe 'New-AzFrontDoorCdnOriginGroupHealthProbeSettingObject' -Tag 'LiveOnly' { It '__AllParameterSets' -skip { It '__AllParameterSets' { { diff --git a/src/Cdn/test/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.Tests.ps1 index 0dd6be415dc8..73490d92104b 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnOriginGroup . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject' { +Describe 'New-AzFrontDoorCdnOriginGroupLoadBalancingSettingObject' -Tag 'LiveOnly' { It '__AllParameterSets' -skip { It '__AllParameterSets' { { diff --git a/src/Cdn/test/New-AzFrontDoorCdnProfile.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnProfile.Tests.ps1 index 673dc2eb1622..3eda908ba8d2 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnProfile.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnProfile.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnProfile')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnProfile' { +Describe 'New-AzFrontDoorCdnProfile' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnResourceReferenceObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnResourceReferenceObject.Tests.ps1 index b32ce1e2a403..4eb4c27c286d 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnResourceReferenceObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnResourceReferenceObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnResourceRef . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnResourceReferenceObject' { +Describe 'New-AzFrontDoorCdnResourceReferenceObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRoute.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRoute.Tests.ps1 index 3366e802dc71..84b9f966adfc 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRoute.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRoute.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRoute')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRoute' { +Describe 'New-AzFrontDoorCdnRoute' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnRule.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRule.Tests.ps1 index 4eade55acf31..51ca7ff296d6 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRule.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRule.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRule')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRule' { +Describe 'New-AzFrontDoorCdnRule' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleClientPortConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleClientPortConditionObject.Tests.ps1 index f1fcd3e5b5f6..dbe1e95b9256 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleClientPortConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleClientPortConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleClientP . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleClientPortConditionObject' { +Describe 'New-AzFrontDoorCdnRuleClientPortConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleCookiesConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleCookiesConditionObject.Tests.ps1 index 65fa16eed0d6..4ad4f075c880 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleCookiesConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleCookiesConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleCookies . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleCookiesConditionObject' { +Describe 'New-AzFrontDoorCdnRuleCookiesConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleHostNameConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleHostNameConditionObject.Tests.ps1 index de10a43ee673..393433e4b70e 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleHostNameConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleHostNameConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleHostNam . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleHostNameConditionObject' { +Describe 'New-AzFrontDoorCdnRuleHostNameConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleHttpVersionConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleHttpVersionConditionObject.Tests.ps1 index 429a1bbc6b2e..fa7192ed2818 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleHttpVersionConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleHttpVersionConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleHttpVer . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleHttpVersionConditionObject' { +Describe 'New-AzFrontDoorCdnRuleHttpVersionConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleIsDeviceConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleIsDeviceConditionObject.Tests.ps1 index 82e7f330d91c..8dc6a57d258e 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleIsDeviceConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleIsDeviceConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleIsDevic . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleIsDeviceConditionObject' { +Describe 'New-AzFrontDoorCdnRuleIsDeviceConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRulePostArgsConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRulePostArgsConditionObject.Tests.ps1 index 6348f459d4b2..09e8fbca2940 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRulePostArgsConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRulePostArgsConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRulePostArg . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRulePostArgsConditionObject' { +Describe 'New-AzFrontDoorCdnRulePostArgsConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleQueryStringConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleQueryStringConditionObject.Tests.ps1 index 9d0d46dff196..29faa97347b2 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleQueryStringConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleQueryStringConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleQuerySt . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleQueryStringConditionObject' { +Describe 'New-AzFrontDoorCdnRuleQueryStringConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.Tests.ps1 index 03d57fde3867..4e1880db1e54 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleRemoteAddressConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleRemoteA . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleRemoteAddressConditionObject' { +Describe 'New-AzFrontDoorCdnRuleRemoteAddressConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestBodyConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestBodyConditionObject.Tests.ps1 index f7469f38a3a2..520bf396afa4 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestBodyConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestBodyConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleRequest . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleRequestBodyConditionObject' { +Describe 'New-AzFrontDoorCdnRuleRequestBodyConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestHeaderActionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestHeaderActionObject.Tests.ps1 index 6b9dc257af96..1e9f1c45a03c 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestHeaderActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestHeaderActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleRequest . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleRequestHeaderActionObject' { +Describe 'New-AzFrontDoorCdnRuleRequestHeaderActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.Tests.ps1 index dc8150b2180e..57ff06a6c43a 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestHeaderConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleRequest . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleRequestHeaderConditionObject' { +Describe 'New-AzFrontDoorCdnRuleRequestHeaderConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestMethodConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestMethodConditionObject.Tests.ps1 index f7719d1c1522..78a47783788f 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestMethodConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestMethodConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleRequest . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleRequestMethodConditionObject' { +Describe 'New-AzFrontDoorCdnRuleRequestMethodConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.Tests.ps1 index a804c9e926d3..65bca16c88ca 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleRequestSchemeConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleRequest . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleRequestSchemeConditionObject' { +Describe 'New-AzFrontDoorCdnRuleRequestSchemeConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleResponseHeaderActionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleResponseHeaderActionObject.Tests.ps1 index 478f932bbec2..2564b86701cd 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleResponseHeaderActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleResponseHeaderActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleRespons . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleResponseHeaderActionObject' { +Describe 'New-AzFrontDoorCdnRuleResponseHeaderActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.Tests.ps1 index eb79d5660497..40b3a985d9e3 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleRouteCo . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject' { +Describe 'New-AzFrontDoorCdnRuleRouteConfigurationOverrideActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleServerPortConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleServerPortConditionObject.Tests.ps1 index d51c41a9b69f..5f991cb07662 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleServerPortConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleServerPortConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleServerP . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleServerPortConditionObject' { +Describe 'New-AzFrontDoorCdnRuleServerPortConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleSet.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleSet.Tests.ps1 index 087bcc78d57a..a13dda57c07f 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleSet.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleSet.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleSet')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleSet' { +Describe 'New-AzFrontDoorCdnRuleSet' -Tag 'LiveOnly' { It 'Create' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleSocketAddrConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleSocketAddrConditionObject.Tests.ps1 index ddeaca4ab2cc..3891708052df 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleSocketAddrConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleSocketAddrConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleSocketA . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleSocketAddrConditionObject' { +Describe 'New-AzFrontDoorCdnRuleSocketAddrConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleSslProtocolConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleSslProtocolConditionObject.Tests.ps1 index 8f0c24725b53..c930e7d54a2a 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleSslProtocolConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleSslProtocolConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleSslProt . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleSslProtocolConditionObject' { +Describe 'New-AzFrontDoorCdnRuleSslProtocolConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.Tests.ps1 index 360dcfdf1b33..5bc24f16830e 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleUrlFile . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject' { +Describe 'New-AzFrontDoorCdnRuleUrlFileExtensionConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.Tests.ps1 index 07e3264a3044..97ff15d0a884 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlFileNameConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleUrlFile . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleUrlFileNameConditionObject' { +Describe 'New-AzFrontDoorCdnRuleUrlFileNameConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlPathConditionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlPathConditionObject.Tests.ps1 index 48450274b64c..e78269ed0529 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlPathConditionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlPathConditionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleUrlPath . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleUrlPathConditionObject' { +Describe 'New-AzFrontDoorCdnRuleUrlPathConditionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlRedirectActionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlRedirectActionObject.Tests.ps1 index 5b484aa37384..024b573e0eee 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlRedirectActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlRedirectActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleUrlRedi . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleUrlRedirectActionObject' { +Describe 'New-AzFrontDoorCdnRuleUrlRedirectActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlRewriteActionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlRewriteActionObject.Tests.ps1 index a9055be7d902..f83c7df014bb 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlRewriteActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlRewriteActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleUrlRewr . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleUrlRewriteActionObject' { +Describe 'New-AzFrontDoorCdnRuleUrlRewriteActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlSigningActionObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlSigningActionObject.Tests.ps1 index 74f220ccfd0e..08f94210f5ad 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnRuleUrlSigningActionObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnRuleUrlSigningActionObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleUrlSign . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnRuleUrlSigningActionObject' { +Describe 'New-AzFrontDoorCdnRuleUrlSigningActionObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnSecret.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnSecret.Tests.ps1 index ac293b809697..d009fab21cf9 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnSecret.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnSecret.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnSecret')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnSecret' { +Describe 'New-AzFrontDoorCdnSecret' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.Tests.ps1 index ee5328831a58..7cb9d9620747 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnSecretCustomerCertificateParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnSecretCusto . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnSecretCustomerCertificateParametersObject' { +Describe 'New-AzFrontDoorCdnSecretCustomerCertificateParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.Tests.ps1 index 1ff1eae298d1..d437e99393d9 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnSecretFirst . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject' { +Describe 'New-AzFrontDoorCdnSecretFirstPartyManagedCertificateParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.Tests.ps1 index 3e8e500ad997..792b2bca898b 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnSecretManagedCertificateParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnSecretManag . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnSecretManagedCertificateParametersObject' { +Describe 'New-AzFrontDoorCdnSecretManagedCertificateParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.Tests.ps1 index d58ad3f0c666..953c20f28bcd 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnSecretUrlSi . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject' { +Describe 'New-AzFrontDoorCdnSecretUrlSigningKeyParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicy.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicy.Tests.ps1 index 519908dd216a..bd3f41a25a99 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicy.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicy.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnSecurityPol . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnSecurityPolicy' { +Describe 'New-AzFrontDoorCdnSecurityPolicy' -Tag 'LiveOnly' { It 'CreateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.Tests.ps1 index 60d8a0c1aaaf..c7e8912368c7 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnSecurityPol . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject' { +Describe 'New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.Tests.ps1 b/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.Tests.ps1 index 6accb82c5527..2a112e1f7d19 100644 --- a/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.Tests.ps1 +++ b/src/Cdn/test/New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnSecurityPol . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject' { +Describe 'New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject' -Tag 'LiveOnly' { It '__AllParameterSets' { { # ignore diff --git a/src/Cdn/test/README.md b/src/Cdn/test/README.md index 7c752b4c8c43..1969200c6a09 100644 --- a/src/Cdn/test/README.md +++ b/src/Cdn/test/README.md @@ -1,5 +1,5 @@ # Test -This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `..\custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. +This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `../custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. ## Info - Modifiable: yes diff --git a/src/Cdn/test/Remove-AzCdnCustomDomain.Tests.ps1 b/src/Cdn/test/Remove-AzCdnCustomDomain.Tests.ps1 index 4f8116b47b84..f98b24213099 100644 --- a/src/Cdn/test/Remove-AzCdnCustomDomain.Tests.ps1 +++ b/src/Cdn/test/Remove-AzCdnCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzCdnCustomDomain')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzCdnCustomDomain' { +Describe 'Remove-AzCdnCustomDomain' -Tag 'LiveOnly' { It 'Delete' { { $subId = "27cafca8-b9a4-4264-b399-45d0c9cca1ab" diff --git a/src/Cdn/test/Remove-AzCdnEndpoint.Tests.ps1 b/src/Cdn/test/Remove-AzCdnEndpoint.Tests.ps1 index 7610424d4df6..7574b021b9c8 100644 --- a/src/Cdn/test/Remove-AzCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/Remove-AzCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzCdnEndpoint')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzCdnEndpoint' { +Describe 'Remove-AzCdnEndpoint' -Tag 'LiveOnly' { It 'Delete' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Remove-AzCdnOrigin.Tests.ps1 b/src/Cdn/test/Remove-AzCdnOrigin.Tests.ps1 index fd78c7927ce7..f7a113bb2fd1 100644 --- a/src/Cdn/test/Remove-AzCdnOrigin.Tests.ps1 +++ b/src/Cdn/test/Remove-AzCdnOrigin.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzCdnOrigin')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzCdnOrigin' { +Describe 'Remove-AzCdnOrigin' -Tag 'LiveOnly' { It 'Delete' { { $subId = $env.SubscriptionId diff --git a/src/Cdn/test/Remove-AzCdnOriginGroup.Tests.ps1 b/src/Cdn/test/Remove-AzCdnOriginGroup.Tests.ps1 index a1e23ef25af9..279f008053fb 100644 --- a/src/Cdn/test/Remove-AzCdnOriginGroup.Tests.ps1 +++ b/src/Cdn/test/Remove-AzCdnOriginGroup.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzCdnOriginGroup')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzCdnOriginGroup' { +Describe 'Remove-AzCdnOriginGroup' -Tag 'LiveOnly' { It 'Delete' { { $subId = $env.SubscriptionId diff --git a/src/Cdn/test/Remove-AzCdnProfile.Tests.ps1 b/src/Cdn/test/Remove-AzCdnProfile.Tests.ps1 index 4043017a0817..a5680f3aaa07 100644 --- a/src/Cdn/test/Remove-AzCdnProfile.Tests.ps1 +++ b/src/Cdn/test/Remove-AzCdnProfile.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzCdnProfile')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzCdnProfile' { +Describe 'Remove-AzCdnProfile' -Tag 'LiveOnly' { It 'Delete' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnCustomDomain.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnCustomDomain.Tests.ps1 index 8b76a688ce27..0f9c93f291e0 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnCustomDomain.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnCustomDo . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnCustomDomain' { +Describe 'Remove-AzFrontDoorCdnCustomDomain' -Tag 'LiveOnly' { It 'Delete' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnEndpoint.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnEndpoint.Tests.ps1 index 7d7fcc03b455..22dffe5c6921 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnEndpoint . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnEndpoint' { +Describe 'Remove-AzFrontDoorCdnEndpoint' -Tag 'LiveOnly' { It 'Delete' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnOrigin.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnOrigin.Tests.ps1 index 2e9648475da8..bd316cb51dd7 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnOrigin.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnOrigin.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnOrigin') . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnOrigin' { +Describe 'Remove-AzFrontDoorCdnOrigin' -Tag 'LiveOnly' { It 'Delete' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnOriginGroup.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnOriginGroup.Tests.ps1 index 25a693ae31d3..908c0101917e 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnOriginGroup.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnOriginGroup.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnOriginGr . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnOriginGroup' { +Describe 'Remove-AzFrontDoorCdnOriginGroup' -Tag 'LiveOnly' { It 'Delete' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnProfile.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnProfile.Tests.ps1 index 2e145a4ee8e2..1e87dc9284c5 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnProfile.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnProfile.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnProfile' . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnProfile' { +Describe 'Remove-AzFrontDoorCdnProfile' -Tag 'LiveOnly' { It 'Delete' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnRoute.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnRoute.Tests.ps1 index 2bd07a84e099..b0c4a958ac5f 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnRoute.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnRoute.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnRoute')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnRoute' { +Describe 'Remove-AzFrontDoorCdnRoute' -Tag 'LiveOnly' { It 'Delete' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnRule.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnRule.Tests.ps1 index 217d4e616576..d823cb12cfe7 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnRule.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnRule.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnRule')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnRule' { +Describe 'Remove-AzFrontDoorCdnRule' -Tag 'LiveOnly' { It 'Delete' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnRuleSet.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnRuleSet.Tests.ps1 index 03f6a3146e48..08f184637b85 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnRuleSet.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnRuleSet.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnRuleSet' . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnRuleSet' { +Describe 'Remove-AzFrontDoorCdnRuleSet' -Tag 'LiveOnly' { It 'Delete' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnSecret.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnSecret.Tests.ps1 index aef85bac5dc8..78f7740ad96c 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnSecret.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnSecret.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnSecret') . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnSecret' { +Describe 'Remove-AzFrontDoorCdnSecret' -Tag 'LiveOnly' { It 'Delete' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Remove-AzFrontDoorCdnSecurityPolicy.Tests.ps1 b/src/Cdn/test/Remove-AzFrontDoorCdnSecurityPolicy.Tests.ps1 index b0b3e9e4d8d7..acb7dfa078ee 100644 --- a/src/Cdn/test/Remove-AzFrontDoorCdnSecurityPolicy.Tests.ps1 +++ b/src/Cdn/test/Remove-AzFrontDoorCdnSecurityPolicy.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzFrontDoorCdnSecurity . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzFrontDoorCdnSecurityPolicy' { +Describe 'Remove-AzFrontDoorCdnSecurityPolicy' -Tag 'LiveOnly' { It 'Delete' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Start-AzCdnEndpoint.Tests.ps1 b/src/Cdn/test/Start-AzCdnEndpoint.Tests.ps1 index 8df8a00d5629..3f961e1410e9 100644 --- a/src/Cdn/test/Start-AzCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/Start-AzCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Start-AzCdnEndpoint')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Start-AzCdnEndpoint' { +Describe 'Start-AzCdnEndpoint' -Tag 'LiveOnly' { It 'Start' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Stop-AzCdnEndpoint.Tests.ps1 b/src/Cdn/test/Stop-AzCdnEndpoint.Tests.ps1 index 04dda8a3f298..7d28ec3f9bbd 100644 --- a/src/Cdn/test/Stop-AzCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/Stop-AzCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Stop-AzCdnEndpoint')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Stop-AzCdnEndpoint' { +Describe 'Stop-AzCdnEndpoint' -Tag 'LiveOnly' { It 'Stop' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Test-AzCdnEndpointCustomDomain.Tests.ps1 b/src/Cdn/test/Test-AzCdnEndpointCustomDomain.Tests.ps1 index d9aae686feef..c21b34821720 100644 --- a/src/Cdn/test/Test-AzCdnEndpointCustomDomain.Tests.ps1 +++ b/src/Cdn/test/Test-AzCdnEndpointCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzCdnEndpointCustomDomai . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Test-AzCdnEndpointCustomDomain' { +Describe 'Test-AzCdnEndpointCustomDomain' -Tag 'LiveOnly' { It 'ValidateExpanded' { { $subId = "27cafca8-b9a4-4264-b399-45d0c9cca1ab" diff --git a/src/Cdn/test/Test-AzCdnNameAvailability.Tests.ps1 b/src/Cdn/test/Test-AzCdnNameAvailability.Tests.ps1 index 91e3c6e07e1e..06ab0cc6a203 100644 --- a/src/Cdn/test/Test-AzCdnNameAvailability.Tests.ps1 +++ b/src/Cdn/test/Test-AzCdnNameAvailability.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzCdnNameAvailability')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Test-AzCdnNameAvailability' { +Describe 'Test-AzCdnNameAvailability' -Tag 'LiveOnly' { It 'CheckExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Test-AzCdnProbe.Tests.ps1 b/src/Cdn/test/Test-AzCdnProbe.Tests.ps1 index 4bc9ce02e322..41b5b990b416 100644 --- a/src/Cdn/test/Test-AzCdnProbe.Tests.ps1 +++ b/src/Cdn/test/Test-AzCdnProbe.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzCdnProbe')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Test-AzCdnProbe' { +Describe 'Test-AzCdnProbe' -Tag 'LiveOnly' { It 'ValidateExpanded' { { $probeUrl = "https://azurecdn-files.azureedge.net/dsa-test/probe-v.txt" diff --git a/src/Cdn/test/Test-AzFrontDoorCdnEndpointCustomDomain.Tests.ps1 b/src/Cdn/test/Test-AzFrontDoorCdnEndpointCustomDomain.Tests.ps1 index 9d3c1d0e5ecf..29a7ac68c37f 100644 --- a/src/Cdn/test/Test-AzFrontDoorCdnEndpointCustomDomain.Tests.ps1 +++ b/src/Cdn/test/Test-AzFrontDoorCdnEndpointCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzFrontDoorCdnEndpointCu . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Test-AzFrontDoorCdnEndpointCustomDomain' { +Describe 'Test-AzFrontDoorCdnEndpointCustomDomain' -Tag 'LiveOnly' { It 'ValidateExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Test-AzFrontDoorCdnEndpointNameAvailability.Tests.ps1 b/src/Cdn/test/Test-AzFrontDoorCdnEndpointNameAvailability.Tests.ps1 index 3d995865929d..102b51f89ef4 100644 --- a/src/Cdn/test/Test-AzFrontDoorCdnEndpointNameAvailability.Tests.ps1 +++ b/src/Cdn/test/Test-AzFrontDoorCdnEndpointNameAvailability.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzFrontDoorCdnEndpointNa . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Test-AzFrontDoorCdnEndpointNameAvailability' { +Describe 'Test-AzFrontDoorCdnEndpointNameAvailability' -Tag 'LiveOnly' { It 'CheckExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Test-AzFrontDoorCdnProfileHostNameAvailability.Tests.ps1 b/src/Cdn/test/Test-AzFrontDoorCdnProfileHostNameAvailability.Tests.ps1 index cc333865fc34..c17e14911492 100644 --- a/src/Cdn/test/Test-AzFrontDoorCdnProfileHostNameAvailability.Tests.ps1 +++ b/src/Cdn/test/Test-AzFrontDoorCdnProfileHostNameAvailability.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzFrontDoorCdnProfileHos . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Test-AzFrontDoorCdnProfileHostNameAvailability' { +Describe 'Test-AzFrontDoorCdnProfileHostNameAvailability' -Tag 'LiveOnly' { It 'CheckExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Update-AzCdnEndpoint.Tests.ps1 b/src/Cdn/test/Update-AzCdnEndpoint.Tests.ps1 index 3a80560b62f5..4a66640a9a3f 100644 --- a/src/Cdn/test/Update-AzCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/Update-AzCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzCdnEndpoint')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzCdnEndpoint' { +Describe 'Update-AzCdnEndpoint' -Tag 'LiveOnly' { It 'UpdateExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Update-AzCdnOrigin.Tests.ps1 b/src/Cdn/test/Update-AzCdnOrigin.Tests.ps1 index d9d425da3dcc..9e9c27153a95 100644 --- a/src/Cdn/test/Update-AzCdnOrigin.Tests.ps1 +++ b/src/Cdn/test/Update-AzCdnOrigin.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzCdnOrigin')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzCdnOrigin' { +Describe 'Update-AzCdnOrigin' -Tag 'LiveOnly' { It 'UpdateExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Update-AzCdnOriginGroup.Tests.ps1 b/src/Cdn/test/Update-AzCdnOriginGroup.Tests.ps1 index a2d875bb8bea..e4eb66753d77 100644 --- a/src/Cdn/test/Update-AzCdnOriginGroup.Tests.ps1 +++ b/src/Cdn/test/Update-AzCdnOriginGroup.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzCdnOriginGroup')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzCdnOriginGroup' { +Describe 'Update-AzCdnOriginGroup' -Tag 'LiveOnly' { It 'UpdateExpanded' { { $subId = $env.SubscriptionId diff --git a/src/Cdn/test/Update-AzCdnProfile.Tests.ps1 b/src/Cdn/test/Update-AzCdnProfile.Tests.ps1 index 437a85477211..e2e01d587e52 100644 --- a/src/Cdn/test/Update-AzCdnProfile.Tests.ps1 +++ b/src/Cdn/test/Update-AzCdnProfile.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzCdnProfile')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzCdnProfile' { +Describe 'Update-AzCdnProfile' -Tag 'LiveOnly' { It 'UpdateExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Update-AzFrontDoorCdnCustomDomain.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnCustomDomain.Tests.ps1 index 2817d632720b..55386f8689a4 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnCustomDomain.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnCustomDomain.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnCustomDo . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnCustomDomain' { +Describe 'Update-AzFrontDoorCdnCustomDomain' -Tag 'LiveOnly' { It 'UpdateExpanded' { { $ResourceGroupName = 'powershelltest' diff --git a/src/Cdn/test/Update-AzFrontDoorCdnCustomDomainValidationToken.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnCustomDomainValidationToken.Tests.ps1 index b8fa59a71d28..113323455173 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnCustomDomainValidationToken.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnCustomDomainValidationToken.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnCustomDo . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnCustomDomainValidationToken' { +Describe 'Update-AzFrontDoorCdnCustomDomainValidationToken' -Tag 'LiveOnly' { It 'Refresh' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Update-AzFrontDoorCdnEndpoint.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnEndpoint.Tests.ps1 index d1234f5a2254..db0b68292135 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnEndpoint.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnEndpoint.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnEndpoint . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnEndpoint' { +Describe 'Update-AzFrontDoorCdnEndpoint' -Tag 'LiveOnly' { It 'UpdateExpanded' { $PSDefaultParameterValues['Disabled'] = $true $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Update-AzFrontDoorCdnOrigin.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnOrigin.Tests.ps1 index 762c22d6b991..db487121083b 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnOrigin.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnOrigin.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnOrigin') . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnOrigin' { +Describe 'Update-AzFrontDoorCdnOrigin' -Tag 'LiveOnly' { It 'UpdateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Update-AzFrontDoorCdnOriginGroup.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnOriginGroup.Tests.ps1 index b0364d17ce89..225b5c451485 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnOriginGroup.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnOriginGroup.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnOriginGr . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnOriginGroup' { +Describe 'Update-AzFrontDoorCdnOriginGroup' -Tag 'LiveOnly' { It 'UpdateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Update-AzFrontDoorCdnProfile.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnProfile.Tests.ps1 index 596bd40fdb78..229da954acb4 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnProfile.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnProfile.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnProfile' . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnProfile' { +Describe 'Update-AzFrontDoorCdnProfile' -Tag 'LiveOnly' { It 'UpdateExpanded' { { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) diff --git a/src/Cdn/test/Update-AzFrontDoorCdnRoute.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnRoute.Tests.ps1 index bd25fe71eee8..cb5f4dc6097b 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnRoute.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnRoute.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnRoute')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnRoute' { +Describe 'Update-AzFrontDoorCdnRoute' -Tag 'LiveOnly' { It 'UpdateExpanded' { { $PSDefaultParameterValues['Disabled'] = $true diff --git a/src/Cdn/test/Update-AzFrontDoorCdnRule.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnRule.Tests.ps1 index 7b13fabbae41..14121f2f70b8 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnRule.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnRule.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnRule')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnRule' { +Describe 'Update-AzFrontDoorCdnRule' -Tag 'LiveOnly' { It 'UpdateExpanded' { $ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6) try diff --git a/src/Cdn/test/Update-AzFrontDoorCdnSecurityPolicy.Tests.ps1 b/src/Cdn/test/Update-AzFrontDoorCdnSecurityPolicy.Tests.ps1 index 4be7caf44e24..cde5347ed727 100644 --- a/src/Cdn/test/Update-AzFrontDoorCdnSecurityPolicy.Tests.ps1 +++ b/src/Cdn/test/Update-AzFrontDoorCdnSecurityPolicy.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzFrontDoorCdnSecurity . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzFrontDoorCdnSecurityPolicy' { +Describe 'Update-AzFrontDoorCdnSecurityPolicy' -Tag 'LiveOnly' { It 'PatchExpanded' { { $PSDefaultParameterValues['Disabled'] = $true