Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/alb/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

2.0.1
++++++
* Register command group for security-policy waf and add description.

2.0.0
++++++
* Upgrade API version to 2025-01-01, introducing Security Policy WAF.
Expand Down
8 changes: 7 additions & 1 deletion src/alb/azext_alb/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# pylint: disable=too-many-statements, protected-access

from knack.log import get_logger
from azure.cli.core.aaz import register_command
from azure.cli.core.aaz import register_command, register_command_group, AAZCommandGroup
from .aaz.latest.network.alb.association import Create as _AssociationCreate
from .aaz.latest.network.alb.security_policy import Create as _SPCreate, Delete as _SPDelete, Update as _SPUpdate

Expand All @@ -33,6 +33,12 @@ def _build_arguments_schema(cls, *args, **kwargs):
return args_schema


@register_command_group("network alb security-policy waf")
class __CMDGroup(AAZCommandGroup):
"""Manage and Configure WAF Security Policies for Application Gateway for Containers resource
"""


@register_command("network alb security-policy waf create")
class WafSecurityPolicyCreate(_SPCreate):
"""Create a Waf SecurityPolicy
Expand Down
2 changes: 1 addition & 1 deletion src/alb/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


# HISTORY.rst entry.
VERSION = '2.0.0'
VERSION = '2.0.1'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
Loading