Skip to content

[DdoS]Add DDoS custom policy cmdlets, LB integration, tests, and help#29300

Closed
venkatasaimaram7 wants to merge 85 commits intoAzure:release-network-2025-07-01from
venkatasaimaram7:feature/ddos-custom-policy-powershell
Closed

[DdoS]Add DDoS custom policy cmdlets, LB integration, tests, and help#29300
venkatasaimaram7 wants to merge 85 commits intoAzure:release-network-2025-07-01from
venkatasaimaram7:feature/ddos-custom-policy-powershell

Conversation

@venkatasaimaram7
Copy link
Copy Markdown
Member

## Description

This PR added DDoS Custom Policy support in Az.Network, including new cmdlets, load balancer frontend integration, model/mapping updates, help docs, and scenario test coverage.

Changes included:

  • Added new cmdlets:
    • Get-AzDdosCustomPolicy
    • New-AzDdosCustomPolicy
    • Remove-AzDdosCustomPolicy
  • Added DdosCustomPolicyId support in load balancer frontend IP configuration cmdlets:
    • Add-AzLoadBalancerFrontendIpConfig
    • New-AzLoadBalancerFrontendIpConfig
    • Set-AzLoadBalancerFrontendIpConfig
  • Added and updated Network models/mappings for DDoS custom policy and LB frontend DDoS settings.
  • Added scenario tests and session recordings for:
    • DDoS custom policy CRUD
    • DDoS custom policy with tags
    • LB frontend attach/detach with DDoS custom policy
  • Added markdown help files for the new cmdlets.
  • Updated service changelog in ChangeLog.md.

Cmdlet design review:

  • Add approved design review link here (if required by process).

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.)

    • General release
    • Public preview
    • Private preview
    • Engineering build
    • No need for a release
  • Check this box to confirm: I have read the Submitting Changes section of CONTRIBUTING.md and reviewed the following information:

  • 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

## Validation

  • Build succeeded locally.
  • DdosCustomPolicyTests playback passed: 4 passed, 0 failed.
  • End-to-end validation completed for DCP attach/detach with LB FIP.
  • StaticAnalysis command failed in this environment with analyzer host exit code -532462766 (tool/runtime issue).

blueww and others added 30 commits March 6, 2026 09:51
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Devansh Goswami <degoswami@microsoft.com>
Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Co-authored-by: NoriZC <110961157+NoriZC@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: NoriZC <110961157+NoriZC@users.noreply.github.com>
Co-authored-by: Bernd Verst <beverst@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: NoriZC <110961157+NoriZC@users.noreply.github.com>
Co-authored-by: NoriZC <110961157+NoriZC@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@venkatasaimaram7 venkatasaimaram7 force-pushed the feature/ddos-custom-policy-powershell branch from 058fad2 to 97e9faf Compare March 31, 2026 03:15
@venkatasaimaram7 venkatasaimaram7 force-pushed the feature/ddos-custom-policy-powershell branch from bb71c12 to 3288a79 Compare March 31, 2026 06:42
@venkatasaimaram7 venkatasaimaram7 force-pushed the feature/ddos-custom-policy-powershell branch from 3288a79 to 2db0eeb Compare March 31, 2026 06:51
@venkatasaimaram7 venkatasaimaram7 changed the base branch from main to release-network-2025-07-01 March 31, 2026 19:26
@venkatasaimaram7 venkatasaimaram7 changed the base branch from release-network-2025-07-01 to main March 31, 2026 19:39
@VeryEarly
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown
Contributor

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@venkatasaimaram7 venkatasaimaram7 changed the base branch from main to release-network-2025-07-01 April 15, 2026 18:01
@venkatasaimaram7 venkatasaimaram7 deleted the feature/ddos-custom-policy-powershell branch April 15, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.