Skip to content

Commit 47d0f0b

Browse files
committed
adding commands for industry-platform rp
1 parent eb55296 commit 47d0f0b

File tree

29 files changed

+4809
-1
lines changed

29 files changed

+4809
-1
lines changed

src/azure-cli-core/azure/cli/core/cloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ class CloudNameEnum: # pylint: disable=too-few-public-methods
360360
CloudNameEnum.AzureCloud,
361361
endpoints=CloudEndpoints(
362362
management='https://management.core.windows.net/',
363-
resource_manager='https://management.azure.com/',
363+
resource_manager='https://eastus2euap.management.azure.com/',
364364
sql_management='https://management.core.windows.net:8443/',
365365
batch_resource_id='https://batch.core.windows.net/',
366366
gallery='https://gallery.azure.com/',
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
from azure.cli.core import AzCommandsLoader
9+
from azure.cli.command_modules.industry_platform._help import helps # pylint: disable=unused-import
10+
# from azure.cli.core.profiles import ResourceType # required when using python sdk
11+
12+
13+
class IndustryPlatformCommandsLoader(AzCommandsLoader):
14+
15+
def __init__(self, cli_ctx=None):
16+
from azure.cli.core.commands import CliCommandType
17+
custom_command_type = CliCommandType(
18+
operations_tmpl='azure.cli.command_modules.industry_platform.custom#{}')
19+
super().__init__(cli_ctx=cli_ctx,
20+
# resource_type=ResourceType.XXX # required when using python sdk
21+
custom_command_type=custom_command_type)
22+
23+
def load_command_table(self, args):
24+
from azure.cli.command_modules.industry_platform.commands import load_command_table
25+
from azure.cli.core.aaz import load_aaz_command_table
26+
try:
27+
from . import aaz
28+
except ImportError:
29+
aaz = None
30+
if aaz:
31+
load_aaz_command_table(
32+
loader=self,
33+
aaz_pkg_name=aaz.__name__,
34+
args=args
35+
)
36+
load_command_table(self, args)
37+
return self.command_table
38+
39+
def load_arguments(self, command):
40+
from azure.cli.command_modules.industry_platform._params import load_arguments
41+
load_arguments(self, command)
42+
43+
44+
COMMAND_LOADER_CLS = IndustryPlatformCommandsLoader
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: disable=line-too-long
9+
# pylint: disable=too-many-lines
10+
11+
from knack.help_files import helps # pylint: disable=unused-import
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: disable=too-many-lines
9+
# pylint: disable=too-many-statements
10+
11+
12+
def load_arguments(self, _): # pylint: disable=unused-argument
13+
pass
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from azure.cli.core.aaz import *
12+
13+
14+
@register_command_group(
15+
"industry-platform",
16+
)
17+
class __CMDGroup(AAZCommandGroup):
18+
"""Short Summary
19+
20+
Long Summary
21+
"""
22+
pass
23+
24+
25+
__all__ = ["__CMDGroup"]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from .__cmd_group import *
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from azure.cli.core.aaz import *
12+
13+
14+
@register_command_group(
15+
"industry-platform industry-service",
16+
)
17+
class __CMDGroup(AAZCommandGroup):
18+
"""Short Summary
19+
20+
Long Summary
21+
"""
22+
pass
23+
24+
25+
__all__ = ["__CMDGroup"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from .__cmd_group import *
12+
from ._create import *
13+
from ._delete import *
14+
from ._list import *
15+
from ._show import *
16+
from ._update import *
17+
from ._wait import *

0 commit comments

Comments
 (0)