Skip to content

Commit d6bc468

Browse files
author
Chenglong Liu
committed
Add test for ruleset
1 parent 1a139c2 commit d6bc468

10 files changed

+386
-25
lines changed

src/Cdn/Cdn.Autorest/Az.Cdn.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.Cdn.private.dll'
1313
FormatsToProcess = './Az.Cdn.format.ps1xml'
14-
FunctionsToExport = 'Clear-AzCdnEndpointContent', 'Clear-AzFrontDoorCdnEndpointContent', 'Disable-AzCdnCustomDomainCustomHttps', 'Enable-AzCdnCustomDomainCustomHttps', 'Get-AzCdnCustomDomain', 'Get-AzCdnEdgeNode', 'Get-AzCdnEndpoint', 'Get-AzCdnEndpointResourceUsage', 'Get-AzCdnLogAnalyticLocation', 'Get-AzCdnLogAnalyticMetric', 'Get-AzCdnLogAnalyticRanking', 'Get-AzCdnLogAnalyticResource', 'Get-AzCdnLogAnalyticWafLogAnalyticMetric', 'Get-AzCdnLogAnalyticWafLogAnalyticRanking', 'Get-AzCdnManagedRuleSet', 'Get-AzCdnOrigin', 'Get-AzCdnOriginGroup', 'Get-AzCdnPolicy', 'Get-AzCdnProfile', 'Get-AzCdnProfileResourceUsage', 'Get-AzCdnProfileSupportedOptimizationType', 'Get-AzCdnResourceUsage', 'Get-AzFrontDoorCdnCustomDomain', 'Get-AzFrontDoorCdnEndpoint', 'Get-AzFrontDoorCdnEndpointResourceUsage', 'Get-AzFrontDoorCdnOrigin', 'Get-AzFrontDoorCdnOriginGroup', 'Get-AzFrontDoorCdnOriginGroupResourceUsage', 'Get-AzFrontDoorCdnProfile', 'Get-AzFrontDoorCdnProfileResourceUsage', 'Get-AzFrontDoorCdnRoute', 'Get-AzFrontDoorCdnRule', 'Get-AzFrontDoorCdnRuleSet', 'Get-AzFrontDoorCdnRuleSetResourceUsage', 'Get-AzFrontDoorCdnSecret', 'Get-AzFrontDoorCdnSecurityPolicy', 'Import-AzCdnEndpointContent', 'Invoke-AzCdnSecretValidate', 'New-AzCdnCustomDomain', 'New-AzCdnEndpoint', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecurityPolicy', 'Remove-AzCdnCustomDomain', 'Remove-AzCdnEndpoint', 'Remove-AzCdnOrigin', 'Remove-AzCdnOriginGroup', 'Remove-AzCdnPolicy', 'Remove-AzCdnProfile', 'Remove-AzFrontDoorCdnCustomDomain', 'Remove-AzFrontDoorCdnEndpoint', 'Remove-AzFrontDoorCdnOrigin', 'Remove-AzFrontDoorCdnOriginGroup', 'Remove-AzFrontDoorCdnProfile', 'Remove-AzFrontDoorCdnRoute', 'Remove-AzFrontDoorCdnRule', 'Remove-AzFrontDoorCdnRuleSet', 'Remove-AzFrontDoorCdnSecret', 'Remove-AzFrontDoorCdnSecurityPolicy', 'Start-AzCdnEndpoint', 'Stop-AzCdnEndpoint', 'Test-AzCdnEndpointCustomDomain', 'Test-AzCdnEndpointNameAvailability', 'Test-AzCdnNameAvailability', 'Test-AzCdnProbe', 'Test-AzFrontDoorCdnEndpointCustomDomain', 'Test-AzFrontDoorCdnProfileHostNameAvailability', 'Update-AzCdnEndpoint', 'Update-AzCdnOrigin', 'Update-AzCdnOriginGroup', 'Update-AzCdnPolicy', 'Update-AzCdnProfile', 'Update-AzFrontDoorCdnCustomDomain', 'Update-AzFrontDoorCdnCustomDomainValidationToken', 'Update-AzFrontDoorCdnEndpoint', 'Update-AzFrontDoorCdnOrigin', 'Update-AzFrontDoorCdnOriginGroup', 'Update-AzFrontDoorCdnProfile', 'Update-AzFrontDoorCdnRoute', 'Update-AzFrontDoorCdnRule', 'Update-AzFrontDoorCdnSecurityPolicy', '*'
14+
FunctionsToExport = 'Clear-AzCdnEndpointContent', 'Clear-AzFrontDoorCdnEndpointContent', 'Disable-AzCdnCustomDomainCustomHttps', 'Enable-AzCdnCustomDomainCustomHttps', 'Get-AzCdnCustomDomain', 'Get-AzCdnEdgeNode', 'Get-AzCdnEndpoint', 'Get-AzCdnEndpointResourceUsage', 'Get-AzCdnLogAnalyticLocation', 'Get-AzCdnLogAnalyticMetric', 'Get-AzCdnLogAnalyticRanking', 'Get-AzCdnLogAnalyticResource', 'Get-AzCdnLogAnalyticWafLogAnalyticMetric', 'Get-AzCdnLogAnalyticWafLogAnalyticRanking', 'Get-AzCdnManagedRuleSet', 'Get-AzCdnOrigin', 'Get-AzCdnOriginGroup', 'Get-AzCdnPolicy', 'Get-AzCdnProfile', 'Get-AzCdnProfileResourceUsage', 'Get-AzCdnProfileSupportedOptimizationType', 'Get-AzCdnResourceUsage', 'Get-AzFrontDoorCdnCustomDomain', 'Get-AzFrontDoorCdnEndpoint', 'Get-AzFrontDoorCdnEndpointResourceUsage', 'Get-AzFrontDoorCdnOrigin', 'Get-AzFrontDoorCdnOriginGroup', 'Get-AzFrontDoorCdnOriginGroupResourceUsage', 'Get-AzFrontDoorCdnProfile', 'Get-AzFrontDoorCdnProfileResourceUsage', 'Get-AzFrontDoorCdnRoute', 'Get-AzFrontDoorCdnRule', 'Get-AzFrontDoorCdnRuleSet', 'Get-AzFrontDoorCdnRuleSetResourceUsage', 'Get-AzFrontDoorCdnSecret', 'Get-AzFrontDoorCdnSecurityPolicy', 'Import-AzCdnEndpointContent', 'Invoke-AzCdnSecretValidate', 'New-AzCdnCustomDomain', 'New-AzCdnEndpoint', 'New-AzCdnOrigin', 'New-AzCdnOriginGroup', 'New-AzCdnPolicy', 'New-AzCdnProfile', 'New-AzCdnProfileSsoUri', 'New-AzFrontDoorCdnCustomDomain', 'New-AzFrontDoorCdnEndpoint', 'New-AzFrontDoorCdnOrigin', 'New-AzFrontDoorCdnOriginGroup', 'New-AzFrontDoorCdnProfile', 'New-AzFrontDoorCdnRoute', 'New-AzFrontDoorCdnRule', 'New-AzFrontDoorCdnRuleSet', 'New-AzFrontDoorCdnSecret', 'New-AzFrontDoorCdnSecurityPolicy', 'Remove-AzCdnCustomDomain', 'Remove-AzCdnEndpoint', 'Remove-AzCdnOrigin', 'Remove-AzCdnOriginGroup', 'Remove-AzCdnPolicy', 'Remove-AzCdnProfile', 'Remove-AzFrontDoorCdnCustomDomain', 'Remove-AzFrontDoorCdnEndpoint', 'Remove-AzFrontDoorCdnOrigin', 'Remove-AzFrontDoorCdnOriginGroup', 'Remove-AzFrontDoorCdnProfile', 'Remove-AzFrontDoorCdnRoute', 'Remove-AzFrontDoorCdnRule', 'Remove-AzFrontDoorCdnRuleSet', 'Remove-AzFrontDoorCdnSecret', 'Remove-AzFrontDoorCdnSecurityPolicy', 'Start-AzCdnEndpoint', 'Stop-AzCdnEndpoint', 'Test-AzCdnEndpointCustomDomain', 'Test-AzCdnEndpointNameAvailability', 'Test-AzCdnNameAvailability', 'Test-AzCdnProbe', 'Test-AzFrontDoorCdnEndpointCustomDomain', 'Test-AzFrontDoorCdnProfileHostNameAvailability', 'Update-AzCdnEndpoint', 'Update-AzCdnOrigin', 'Update-AzCdnOriginGroup', 'Update-AzCdnPolicy', 'Update-AzCdnProfile', 'Update-AzFrontDoorCdnCustomDomain', 'Update-AzFrontDoorCdnCustomDomainValidationToken', 'Update-AzFrontDoorCdnEndpoint', 'Update-AzFrontDoorCdnOrigin', 'Update-AzFrontDoorCdnOriginGroup', 'Update-AzFrontDoorCdnProfile', 'Update-AzFrontDoorCdnRoute', 'Update-AzFrontDoorCdnRule', 'Update-AzFrontDoorCdnSecurityPolicy', '*'
1515
AliasesToExport = '*'
1616
PrivateData = @{
1717
PSData = @{

src/Cdn/Cdn.Autorest/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ directive:
6060
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
6161
- where:
6262
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
63+
subject: ^(?!RuleSet).+$
64+
remove: true
65+
- where:
66+
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
67+
subject: ^RuleSet$
6368
remove: true
6469
# Remove the set-* cmdlet
6570
- where:
@@ -78,25 +83,23 @@ directive:
7883
subject: $1
7984

8085
- where:
81-
subject: Route
86+
subject: Rule
8287
set:
83-
subject-prefix: FrontDoorCdn
84-
subject: Route
88+
subject-prefix: FrontDoorCdn
8589
- where:
8690
subject: RuleSet
8791
set:
8892
subject-prefix: FrontDoorCdn
89-
subject: RuleSet
9093
- where:
91-
subject: Rule
94+
subject: RuleSetResourceUsage
9295
set:
9396
subject-prefix: FrontDoorCdn
94-
subject: Rule
97+
9598
- where:
96-
subject: RuleSetResourceUsage
99+
subject: Route
97100
set:
98101
subject-prefix: FrontDoorCdn
99-
subject: RuleSetResourceUsage
102+
subject: Route
100103
- where:
101104
subject: Secret
102105
set:

src/Cdn/Cdn.Autorest/docs/Az.Cdn.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ Creates a new route with the specified route name under the specified subscripti
171171
### [New-AzFrontDoorCdnRule](New-AzFrontDoorCdnRule.md)
172172
Creates a new delivery rule within the specified rule set.
173173

174+
### [New-AzFrontDoorCdnRuleSet](New-AzFrontDoorCdnRuleSet.md)
175+
Creates a new rule set within the specified profile.
176+
174177
### [New-AzFrontDoorCdnSecret](New-AzFrontDoorCdnSecret.md)
175178
Creates a new Secret within the specified profile.
176179

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
---
2+
external help file:
3+
Module Name: Az.Cdn
4+
online version: https://docs.microsoft.com/powershell/module/az.cdn/new-azfrontdoorcdnruleset
5+
schema: 2.0.0
6+
---
7+
8+
# New-AzFrontDoorCdnRuleSet
9+
10+
## SYNOPSIS
11+
Creates a new rule set within the specified profile.
12+
13+
## SYNTAX
14+
15+
```
16+
New-AzFrontDoorCdnRuleSet -Name <String> -ProfileName <String> -ResourceGroupName <String>
17+
[-SubscriptionId <String>] [-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
Creates a new rule set within the specified profile.
22+
23+
## EXAMPLES
24+
25+
### Example 1: {{ Add title here }}
26+
```powershell
27+
PS C:\> {{ Add code here }}
28+
29+
{{ Add output here }}
30+
```
31+
32+
{{ Add description here }}
33+
34+
### Example 2: {{ Add title here }}
35+
```powershell
36+
PS C:\> {{ Add code here }}
37+
38+
{{ Add output here }}
39+
```
40+
41+
{{ Add description here }}
42+
43+
## PARAMETERS
44+
45+
### -DefaultProfile
46+
The credentials, account, tenant, and subscription used for communication with Azure.
47+
48+
```yaml
49+
Type: System.Management.Automation.PSObject
50+
Parameter Sets: (All)
51+
Aliases: AzureRMContext, AzureCredential
52+
53+
Required: False
54+
Position: Named
55+
Default value: None
56+
Accept pipeline input: False
57+
Accept wildcard characters: False
58+
```
59+
60+
### -Name
61+
Name of the rule set under the profile which is unique globally
62+
63+
```yaml
64+
Type: System.String
65+
Parameter Sets: (All)
66+
Aliases: RuleSetName
67+
68+
Required: True
69+
Position: Named
70+
Default value: None
71+
Accept pipeline input: False
72+
Accept wildcard characters: False
73+
```
74+
75+
### -ProfileName
76+
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
77+
78+
```yaml
79+
Type: System.String
80+
Parameter Sets: (All)
81+
Aliases:
82+
83+
Required: True
84+
Position: Named
85+
Default value: None
86+
Accept pipeline input: False
87+
Accept wildcard characters: False
88+
```
89+
90+
### -ResourceGroupName
91+
Name of the Resource group within the Azure subscription.
92+
93+
```yaml
94+
Type: System.String
95+
Parameter Sets: (All)
96+
Aliases:
97+
98+
Required: True
99+
Position: Named
100+
Default value: None
101+
Accept pipeline input: False
102+
Accept wildcard characters: False
103+
```
104+
105+
### -SubscriptionId
106+
Azure Subscription ID.
107+
108+
```yaml
109+
Type: System.String
110+
Parameter Sets: (All)
111+
Aliases:
112+
113+
Required: False
114+
Position: Named
115+
Default value: (Get-AzContext).Subscription.Id
116+
Accept pipeline input: False
117+
Accept wildcard characters: False
118+
```
119+
120+
### -Confirm
121+
Prompts you for confirmation before running the cmdlet.
122+
123+
```yaml
124+
Type: System.Management.Automation.SwitchParameter
125+
Parameter Sets: (All)
126+
Aliases: cf
127+
128+
Required: False
129+
Position: Named
130+
Default value: None
131+
Accept pipeline input: False
132+
Accept wildcard characters: False
133+
```
134+
135+
### -WhatIf
136+
Shows what would happen if the cmdlet runs.
137+
The cmdlet is not run.
138+
139+
```yaml
140+
Type: System.Management.Automation.SwitchParameter
141+
Parameter Sets: (All)
142+
Aliases: wi
143+
144+
Required: False
145+
Position: Named
146+
Default value: None
147+
Accept pipeline input: False
148+
Accept wildcard characters: False
149+
```
150+
151+
### CommonParameters
152+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
153+
154+
## INPUTS
155+
156+
## OUTPUTS
157+
158+
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.IRuleSet
159+
160+
## NOTES
161+
162+
ALIASES
163+
164+
## RELATED LINKS
165+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### Example 1: {{ Add title here }}
2+
```powershell
3+
PS C:\> {{ Add code here }}
4+
5+
{{ Add output here }}
6+
```
7+
8+
{{ Add description here }}
9+
10+
### Example 2: {{ Add title here }}
11+
```powershell
12+
PS C:\> {{ Add code here }}
13+
14+
{{ Add output here }}
15+
```
16+
17+
{{ Add description here }}
18+

src/Cdn/Cdn.Autorest/test/Get-AzFrontDoorCdnRuleSet.Tests.ps1

Lines changed: 64 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,73 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzFrontDoorCdnRuleSet'))
1515
}
1616

1717
Describe 'Get-AzFrontDoorCdnRuleSet' {
18-
It 'List' -skip {
19-
{ throw [System.NotImplementedException] } | Should -Not -Throw
18+
It 'List' {
19+
$ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6)
20+
try
21+
{
22+
Write-Host -ForegroundColor Green "Create test group $($ResourceGroupName)"
23+
New-AzResourceGroup -Name $ResourceGroupName -Location $env.location
24+
25+
$frontDoorCdnProfileName = 'fdp-' + (RandomString -allChars $false -len 6);
26+
Write-Host -ForegroundColor Green "Use frontDoorCdnProfileName : $($frontDoorCdnProfileName)"
27+
28+
$profileSku = "Standard_AzureFrontDoor";
29+
New-AzFrontDoorCdnProfile -SkuName $profileSku -Name $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Location Global
30+
31+
$rulesetName = 'rs' + (RandomString -allChars $false -len 6);
32+
New-AzFrontDoorCdnRuleSet -ProfileName $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Name $rulesetName
33+
$rulesets = Get-AzFrontDoorCdnRuleSet -ProfileName $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName
34+
$rulesets.Count | Should -Be 1
35+
} Finally
36+
{
37+
Remove-AzResourceGroup -Name $ResourceGroupName -NoWait
38+
}
2039
}
2140

22-
It 'Get' -skip {
23-
{ throw [System.NotImplementedException] } | Should -Not -Throw
41+
It 'Get' {
42+
$ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6)
43+
try
44+
{
45+
Write-Host -ForegroundColor Green "Create test group $($ResourceGroupName)"
46+
New-AzResourceGroup -Name $ResourceGroupName -Location $env.location
47+
48+
$frontDoorCdnProfileName = 'fdp-' + (RandomString -allChars $false -len 6);
49+
Write-Host -ForegroundColor Green "Use frontDoorCdnProfileName : $($frontDoorCdnProfileName)"
50+
51+
$profileSku = "Standard_AzureFrontDoor";
52+
New-AzFrontDoorCdnProfile -SkuName $profileSku -Name $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Location Global
53+
54+
$rulesetName = 'rs' + (RandomString -allChars $false -len 6);
55+
New-AzFrontDoorCdnRuleSet -ProfileName $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Name $rulesetName
56+
$ruleset = Get-AzFrontDoorCdnRuleSet -ProfileName $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Name $rulesetName
57+
$ruleset.Name | Should -Be $rulesetName
58+
} Finally
59+
{
60+
Remove-AzResourceGroup -Name $ResourceGroupName -NoWait
61+
}
2462
}
2563

26-
It 'GetViaIdentity' -skip {
27-
{ throw [System.NotImplementedException] } | Should -Not -Throw
64+
It 'GetViaIdentity' {
65+
$PSDefaultParameterValues['Disabled'] = $true
66+
$ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6)
67+
try
68+
{
69+
Write-Host -ForegroundColor Green "Create test group $($ResourceGroupName)"
70+
New-AzResourceGroup -Name $ResourceGroupName -Location $env.location
71+
72+
$frontDoorCdnProfileName = 'fdp-' + (RandomString -allChars $false -len 6);
73+
Write-Host -ForegroundColor Green "Use frontDoorCdnProfileName : $($frontDoorCdnProfileName)"
74+
75+
$profileSku = "Standard_AzureFrontDoor";
76+
New-AzFrontDoorCdnProfile -SkuName $profileSku -Name $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Location Global
77+
78+
$rulesetName = 'rs' + (RandomString -allChars $false -len 6);
79+
New-AzFrontDoorCdnRuleSet -ProfileName $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Name $rulesetName
80+
$ruleset = Get-AzFrontDoorCdnRuleSet -ProfileName $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Name $rulesetName | Get-AzFrontDoorCdnRuleSet
81+
$ruleset.Name | Should -Be $rulesetName
82+
} Finally
83+
{
84+
Remove-AzResourceGroup -Name $ResourceGroupName -NoWait
85+
}
2886
}
2987
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
if(($null -eq $TestName) -or ($TestName -contains 'New-AzFrontDoorCdnRuleSet'))
2+
{
3+
$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1'
4+
if (-Not (Test-Path -Path $loadEnvPath)) {
5+
$loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1'
6+
}
7+
. ($loadEnvPath)
8+
$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzFrontDoorCdnRuleSet.Recording.json'
9+
$currentPath = $PSScriptRoot
10+
while(-not $mockingPath) {
11+
$mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File
12+
$currentPath = Split-Path -Path $currentPath -Parent
13+
}
14+
. ($mockingPath | Select-Object -First 1).FullName
15+
}
16+
17+
Describe 'New-AzFrontDoorCdnRuleSet' {
18+
It 'Create' {
19+
$ResourceGroupName = 'testps-rg-' + (RandomString -allChars $false -len 6)
20+
try
21+
{
22+
Write-Host -ForegroundColor Green "Create test group $($ResourceGroupName)"
23+
New-AzResourceGroup -Name $ResourceGroupName -Location $env.location
24+
25+
$frontDoorCdnProfileName = 'fdp-' + (RandomString -allChars $false -len 6);
26+
Write-Host -ForegroundColor Green "Use frontDoorCdnProfileName : $($frontDoorCdnProfileName)"
27+
28+
$profileSku = "Standard_AzureFrontDoor";
29+
New-AzFrontDoorCdnProfile -SkuName $profileSku -Name $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Location Global
30+
31+
$rulesetName = 'rs' + (RandomString -allChars $false -len 6);
32+
New-AzFrontDoorCdnRuleSet -ProfileName $frontDoorCdnProfileName -ResourceGroupName $ResourceGroupName -Name $rulesetName
33+
} Finally
34+
{
35+
Remove-AzResourceGroup -Name $ResourceGroupName -NoWait
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)