Skip to content

Conversation

Shaigoldbourt22
Copy link

…plicationGatewayFirewallPolicyManagedRuleSet files for consistency and clarity

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

…plicationGatewayFirewallPolicyManagedRuleSet files for consistency and clarity
@Copilot Copilot AI review requested due to automatic review settings September 11, 2025 17:58
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

@Copilot Copilot AI left a 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 to PSApplicationGatewayFirewallPolicyManagedRuleSet
  • Added ParanoiaLevel property to PSApplicationGatewayFirewallPolicyManagedRuleOverride

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

[Ps1Xml(Target = ViewControl.Table)]
public string RuleSetVersion { get; set; }
[Ps1Xml(Target = ViewControl.Table)]
public string DisplayName { get; private set; }
Copy link

Copilot AI Sep 11, 2025

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.

@isra-fel
Copy link
Member

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly
Copy link
Collaborator

VeryEarly commented Sep 15, 2025

@VeryEarly VeryEarly self-assigned this Sep 15, 2025
@Shaigoldbourt22 Shaigoldbourt22 marked this pull request as draft September 16, 2025 09:29
@isra-fel
Copy link
Member

Closing the PR for lack of activity. Feel free to reopen to continue working on it. Thanks 😀

@isra-fel isra-fel closed this Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants