Adding support for version 2023-09-01#23553
Conversation
️✔️Az.Accounts
|
| Type | Cmdlet | Description | Remediation |
|---|---|---|---|
| Get-AzPaloAltoNetworksCertificateObjectLocalRulestack | Get-AzPaloAltoNetworksCertificateObjectLocalRulestack Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzPaloAltoNetworksCertificateObjectLocalRulestack | Get-AzPaloAltoNetworksCertificateObjectLocalRulestack changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| Get-AzPaloAltoNetworksFirewall | Get-AzPaloAltoNetworksFirewall Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzPaloAltoNetworksFirewall | Get-AzPaloAltoNetworksFirewall changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| Get-AzPaloAltoNetworksFirewallStatus | Get-AzPaloAltoNetworksFirewallStatus Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzPaloAltoNetworksFirewallStatus | Get-AzPaloAltoNetworksFirewallStatus changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| Get-AzPaloAltoNetworksFqdnListLocalRulestack | Get-AzPaloAltoNetworksFqdnListLocalRulestack Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzPaloAltoNetworksFqdnListLocalRulestack | Get-AzPaloAltoNetworksFqdnListLocalRulestack changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| Get-AzPaloAltoNetworksLocalRule | Get-AzPaloAltoNetworksLocalRule Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzPaloAltoNetworksLocalRule | Get-AzPaloAltoNetworksLocalRule changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| Get-AzPaloAltoNetworksLocalRulestack | Get-AzPaloAltoNetworksLocalRulestack Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzPaloAltoNetworksLocalRulestack | Get-AzPaloAltoNetworksLocalRulestack changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| Get-AzPaloAltoNetworksPrefixListLocalRulestack | Get-AzPaloAltoNetworksPrefixListLocalRulestack Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzPaloAltoNetworksPrefixListLocalRulestack | Get-AzPaloAltoNetworksPrefixListLocalRulestack changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| New-AzPaloAltoNetworksFrontendSettingObject | New-AzPaloAltoNetworksFrontendSettingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| New-AzPaloAltoNetworksIPAddressObject | New-AzPaloAltoNetworksIPAddressObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| New-AzPaloAltoNetworksProfileObject | New-AzPaloAltoNetworksProfileObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| New-AzPaloAltoNetworksTagInfoObject | New-AzPaloAltoNetworksTagInfoObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. |
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
⚠️ Test
⚠️ - Linux
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 41.03 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 41.03% Test coverage for the module cannot be lower than 50%.
⚠️ PowerShell Core - Windows
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 41.03% Test coverage for the module cannot be lower than 50%.
|
@osid29 According to the CI failures, there are some issues in your examples. Please fix them. |
|
@dolauli I have updated the PR and the checks seems to pass now. Please help with the merge |
| { | ||
| $config = New-AzPaloAltoNetworksLocalRulestack -Name $env.LocalRulestackName -ResourceGroupName $env.resourceGroup -Location $env.location -Description "testing powershell" -DefaultMode 'NONE' | ||
| $config.Name | Should -Be $env.LocalRulestackName | ||
| } | Should -Not -Throw |
There was a problem hiding this comment.
Is special reason that you remove Should -Not -Throw Here.
There was a problem hiding this comment.
The build was failing due to missing exception
There was a problem hiding this comment.
Is special reason that you remove
Should -Not -ThrowHere.
@osamasid You should not make those changes. The CI should pass without this change.
There was a problem hiding this comment.
I reverted the changes and the CI checks are passing now
| } | ||
|
|
||
| Describe 'Get-AzPaloAltoNetworksFirewall' { | ||
| It 'List' -skip { |
There was a problem hiding this comment.
Please add tests for those new added cmdlets.
There was a problem hiding this comment.
There are no newly added cmdlets, correct me please if you see any.
There was a problem hiding this comment.
It is not about adding new tests, but you disabled all original tests. You will need to rerecord tests after you bump the API versions.
There was a problem hiding this comment.
@dolauli I figured out that these tests are not skipped but are duplicates. All cmdlets scenarios are already covered in AzPaloAltoNetworks.Tests.ps1 in create, get, update, remove fashion. I have updated this PR

|
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. |
|
@osid29 Any comments to my first comment |
V4 has been set as default, so no need to set it.
| @@ -107,12 +107,24 @@ Reset counters | |||
| ### [Save-AzPaloAltoNetworksFirewallLogProfile](Save-AzPaloAltoNetworksFirewallLogProfile.md) | |||
| Log Profile for Firewall | |||
|
|
|||
There was a problem hiding this comment.
I just noticed you do not add examples and tests for four new cmdlets. These four new cmdlets are new feature of autorest.powershell v4. In v4, if there is no patch API for a resource, we will generate an update-xxx cmdlet by using get->put API to simulate a Patch API.
I would suggest you keep those four cmdlets and add examples and tests for them. If you do not need them, please let me know and I will remove those four cmdlets through a directive.
There was a problem hiding this comment.
Hi @dolauli, we don't need below cmdlets now. If we see any adoption, we can update these in future requests. Please remove these.
'Update-AzPaloAltoNetworksFqdnListLocalRulestack',
'Update-AzPaloAltoNetworksLocalRule',
'Update-AzPaloAltoNetworksCertificateObjectLocalRulestack'
'Update-AzPaloAltoNetworksPrefixListLocalRulestack'
Description
Checklist
CONTRIBUTING.mdand reviewed the following information:generationbranch.ChangeLog.mdfile(s) appropriatelyChangeLog.mdfile can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md## Upcoming Releaseheader in the past tense. Add changelog in description section if PR goes intogenerationbranch.ChangeLog.mdif no new release is required, such as fixing test case only.