Skip to content

Commit

Permalink
[Quota] Add new commands az quota request list/show to support mana…
Browse files Browse the repository at this point in the history
…ging quota request (#7005)

* quota

* update test

* additional properties

* Update __init__.py
  • Loading branch information
Jing-song authored Dec 5, 2023
1 parent 104be06 commit b2fbc2a
Show file tree
Hide file tree
Showing 31 changed files with 3,362 additions and 913 deletions.
7 changes: 7 additions & 0 deletions src/quota/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
Release History
===============

1.0.0
++++++
* Add new commands `az quota request list/show` to support manage quota request
* Upgrade `az quota create/update/list/show` api version to `2023-02-01`
* Upgrade `az quota usage /list/show` api version to `2023-02-01`
* Remove invalid command `az quota wait`

0.1.0
++++++
* Initial release.
11 changes: 11 additions & 0 deletions src/quota/azext_quota/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ def __init__(self, cli_ctx=None):

def load_command_table(self, args):
from azext_quota.generated.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)
try:
from azext_quota.manual.commands import load_command_table as load_command_table_manual
Expand Down
6 changes: 6 additions & 0 deletions src/quota/azext_quota/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/quota/azext_quota/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
# --------------------------------------------------------------------------------------------
23 changes: 23 additions & 0 deletions src/quota/azext_quota/aaz/latest/quota/__cmd_group.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# --------------------------------------------------------------------------------------------
# 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(
"quota",
)
class __CMDGroup(AAZCommandGroup):
"""Manag quota for Azure resource providers.
"""
pass


__all__ = ["__CMDGroup"]
15 changes: 15 additions & 0 deletions src/quota/azext_quota/aaz/latest/quota/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# --------------------------------------------------------------------------------------------
# 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 ._list import *
from ._show import *
from ._update import *
Loading

0 comments on commit b2fbc2a

Please sign in to comment.