-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Update PSApplicationGatewayFirewallPolicyManagedRuleOverride and PSAp… #28549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…plicationGatewayFirewallPolicyManagedRuleSet files for consistency and clarity
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds new properties to Azure Application Gateway Firewall Policy models to enhance consistency and clarity. The changes introduce DisplayName
and ParanoiaLevel
properties to the respective PowerShell model classes.
- Added
DisplayName
property toPSApplicationGatewayFirewallPolicyManagedRuleSet
- Added
ParanoiaLevel
property toPSApplicationGatewayFirewallPolicyManagedRuleOverride
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
PSApplicationGatewayFirewallPolicyManagedRuleSet.cs | Added DisplayName property with private setter and Ps1Xml attribute for table display |
PSApplicationGatewayFirewallPolicyManagedRuleOverride.cs | Added ParanoiaLevel property with Ps1Xml attribute for table display |
@@ -27,6 +27,8 @@ public partial class PSApplicationGatewayFirewallPolicyManagedRuleSet | |||
[Ps1Xml(Target = ViewControl.Table)] | |||
public string RuleSetVersion { get; set; } | |||
[Ps1Xml(Target = ViewControl.Table)] | |||
public string DisplayName { get; private set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The DisplayName property has a private setter which makes it read-only from external code. Consider whether this property should allow external modification or if there should be a constructor parameter or internal method to set this value. Without a way to populate this property, it will always be null.
Copilot uses AI. Check for mistakes.
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
|
@Shaigoldbourt22 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
…plicationGatewayFirewallPolicyManagedRuleSet files for consistency and clarity
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.