Skip to content
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

[Eventgrid] az eventgrid: Add new command group namespace to support managing eventgrid namespace #6764

Merged
merged 7 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
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
36 changes: 36 additions & 0 deletions linter_exclusions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3035,3 +3035,39 @@ scenario guide:
search_keyword:
rule_exclusions:
- no_positional_parameters
eventgrid namespace client create:
parameters:
client_certificate_authentication:
rule_exclusions:
- option_length_too_long
eventgrid namespace client update:
parameters:
client_certificate_authentication:
rule_exclusions:
- option_length_too_long
eventgrid namespace create:
parameters:
minimum_tls_version_allowed:
rule_exclusions:
- option_length_too_long
private_endpoint_connections:
rule_exclusions:
- option_length_too_long
topic_spaces_configuration:
rule_exclusions:
- option_length_too_long
eventgrid namespace update:
parameters:
topic_spaces_configuration:
rule_exclusions:
- option_length_too_long
eventgrid namespace topic create:
parameters:
event_retention_in_days:
rule_exclusions:
- option_length_too_long
eventgrid namespace topic update:
parameters:
event_retention_in_days:
rule_exclusions:
- option_length_too_long
8 changes: 8 additions & 0 deletions src/eventgrid/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. :changelog:

Release History
Jing-song marked this conversation as resolved.
Show resolved Hide resolved
===============

1.0.0b1
++++++
* Add new command group `az eventgrid namespace`
11 changes: 11 additions & 0 deletions src/eventgrid/azext_eventgrid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ def __init__(self, cli_ctx=None):

def load_command_table(self, args):
from .commands import load_command_table
from azure.cli.core.aaz import load_aaz_command_table
try:
from . import aaz
except ImportError:
aaz = None
if aaz:
load_aaz_command_table(
loader=self,
aaz_pkg_name=aaz.__name__,
args=args
)
load_command_table(self, args)
return self.command_table

Expand Down
6 changes: 6 additions & 0 deletions src/eventgrid/azext_eventgrid/aaz/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------
6 changes: 6 additions & 0 deletions src/eventgrid/azext_eventgrid/aaz/latest/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------
24 changes: 24 additions & 0 deletions src/eventgrid/azext_eventgrid/aaz/latest/eventgrid/__cmd_group.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"eventgrid",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure Event Grid topics, domains, domain topics, system topics partner topics, event subscriptions, system topic event subscriptions and partner topic event subscriptions.
Jing-song marked this conversation as resolved.
Show resolved Hide resolved
Jing-song marked this conversation as resolved.
Show resolved Hide resolved
"""
pass


__all__ = ["__CMDGroup"]
11 changes: 11 additions & 0 deletions src/eventgrid/azext_eventgrid/aaz/latest/eventgrid/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"eventgrid namespace",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage eventgrid namespace.
"""
pass


__all__ = ["__CMDGroup"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
from ._create import *
from ._delete import *
from ._list import *
from ._list_key import *
from ._regenerate_key import *
from ._show import *
from ._update import *
from ._wait import *
Loading