Skip to content

Commit 78008e2

Browse files
author
SDKAuto
committed
CodeGen from PR 13227 in Azure/azure-rest-api-specs
Merge 18823c21383323bcec69bc32d7adc394af69b049 into 717f252
1 parent 32ccfec commit 78008e2

File tree

92 files changed

+14788
-6021
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+14788
-6021
lines changed

src/logic/HISTORY.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@
33
Release History
44
===============
55

6-
0.1.2
7-
++++++
8-
* `logic workflow update`: --definition is not to be mandatory while updating
9-
10-
0.1.1
11-
++++++
12-
* Fix parsing argument --integration-service-environment.
13-
146
0.1.0
157
++++++
168
* Initial release.

src/logic/azext_logic/__init__.py

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
3-
# Licensed under the MIT License. See License.txt in the project root for license information.
4-
# --------------------------------------------------------------------------------------------
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
510

611
from azure.cli.core import AzCommandsLoader
712
from azext_logic.generated._help import helps # pylint: disable=unused-import
13+
try:
14+
from azext_logic.manual._help import helps # pylint: disable=reimported
15+
except ImportError:
16+
pass
817

918

1019
class LogicManagementClientCommandsLoader(AzCommandsLoader):
1120

1221
def __init__(self, cli_ctx=None):
1322
from azure.cli.core.commands import CliCommandType
14-
from azext_logic.generated._client_factory import cf_logic
23+
from azext_logic.generated._client_factory import cf_logic_cl
1524
logic_custom = CliCommandType(
1625
operations_tmpl='azext_logic.custom#{}',
17-
client_factory=cf_logic)
18-
super(LogicManagementClientCommandsLoader, self).__init__(cli_ctx=cli_ctx,
19-
custom_command_type=logic_custom)
26+
client_factory=cf_logic_cl)
27+
parent = super(LogicManagementClientCommandsLoader, self)
28+
parent.__init__(cli_ctx=cli_ctx, custom_command_type=logic_custom)
2029

2130
def load_command_table(self, args):
2231
from azext_logic.generated.commands import load_command_table

src/logic/azext_logic/action.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
3-
# Licensed under the MIT License. See License.txt in the project root for license information.
4-
# --------------------------------------------------------------------------------------------
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
510
# pylint: disable=wildcard-import
611
# pylint: disable=unused-wildcard-import
712

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"azext.isExperimental": true,
33
"azext.minCliCoreVersion": "2.15.0"
4-
}
4+
}

src/logic/azext_logic/commands.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/logic/azext_logic/custom.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
3-
# Licensed under the MIT License. See License.txt in the project root for license information.
4-
# --------------------------------------------------------------------------------------------
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
510
# pylint: disable=wildcard-import
611
# pylint: disable=unused-wildcard-import
712

Lines changed: 110 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,120 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
3-
# Licensed under the MIT License. See License.txt in the project root for license information.
4-
# --------------------------------------------------------------------------------------------
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
510

611

7-
def cf_logic(cli_ctx, *_):
12+
def cf_logic_cl(cli_ctx, *_):
813
from azure.cli.core.commands.client_factory import get_mgmt_service_client
9-
from ..vendored_sdks.logic import LogicManagementClient
10-
return get_mgmt_service_client(cli_ctx, LogicManagementClient)
14+
from azext_logic.vendored_sdks.logic import LogicManagementClient
15+
return get_mgmt_service_client(cli_ctx,
16+
LogicManagementClient)
1117

1218

1319
def cf_workflow(cli_ctx, *_):
14-
return cf_logic(cli_ctx).workflow
20+
return cf_logic_cl(cli_ctx).workflows
21+
22+
23+
def cf_workflow_version(cli_ctx, *_):
24+
return cf_logic_cl(cli_ctx).workflow_versions
25+
26+
27+
def cf_workflow_trigger(cli_ctx, *_):
28+
return cf_logic_cl(cli_ctx).workflow_triggers
29+
30+
31+
def cf_workflow_version_trigger(cli_ctx, *_):
32+
return cf_logic_cl(cli_ctx).workflow_version_triggers
33+
34+
35+
def cf_workflow_trigger_history(cli_ctx, *_):
36+
return cf_logic_cl(cli_ctx).workflow_trigger_histories
37+
38+
39+
def cf_workflow_run(cli_ctx, *_):
40+
return cf_logic_cl(cli_ctx).workflow_runs
41+
42+
43+
def cf_workflow_run_action(cli_ctx, *_):
44+
return cf_logic_cl(cli_ctx).workflow_run_actions
45+
46+
47+
def cf_workflow_run_action_repetition(cli_ctx, *_):
48+
return cf_logic_cl(cli_ctx).workflow_run_action_repetitions
49+
50+
51+
def cf_workflow_run_action_repetition_request_history(cli_ctx, *_):
52+
return cf_logic_cl(cli_ctx).workflow_run_action_repetitions_request_histories
53+
54+
55+
def cf_workflow_run_action_request_history(cli_ctx, *_):
56+
return cf_logic_cl(cli_ctx).workflow_run_action_request_histories
57+
58+
59+
def cf_workflow_run_action_scope_repetition(cli_ctx, *_):
60+
return cf_logic_cl(cli_ctx).workflow_run_action_scope_repetitions
61+
62+
63+
def cf_workflow_run_operation(cli_ctx, *_):
64+
return cf_logic_cl(cli_ctx).workflow_run_operations
1565

1666

1767
def cf_integration_account(cli_ctx, *_):
18-
return cf_logic(cli_ctx).integration_account
68+
return cf_logic_cl(cli_ctx).integration_accounts
69+
70+
71+
def cf_integration_account_assembly(cli_ctx, *_):
72+
return cf_logic_cl(cli_ctx).integration_account_assemblies
73+
74+
75+
def cf_integration_account_batch_configuration(cli_ctx, *_):
76+
return cf_logic_cl(cli_ctx).integration_account_batch_configurations
77+
78+
79+
def cf_integration_account_schema(cli_ctx, *_):
80+
return cf_logic_cl(cli_ctx).integration_account_schemas
81+
82+
83+
def cf_integration_account_map(cli_ctx, *_):
84+
return cf_logic_cl(cli_ctx).integration_account_maps
85+
86+
87+
def cf_integration_account_partner(cli_ctx, *_):
88+
return cf_logic_cl(cli_ctx).integration_account_partners
89+
90+
91+
def cf_integration_account_agreement(cli_ctx, *_):
92+
return cf_logic_cl(cli_ctx).integration_account_agreements
93+
94+
95+
def cf_integration_account_certificate(cli_ctx, *_):
96+
return cf_logic_cl(cli_ctx).integration_account_certificates
97+
98+
99+
def cf_integration_account_session(cli_ctx, *_):
100+
return cf_logic_cl(cli_ctx).integration_account_sessions
101+
102+
103+
def cf_integration_service_environment(cli_ctx, *_):
104+
return cf_logic_cl(cli_ctx).integration_service_environments
105+
106+
107+
def cf_integration_service_environment_sku(cli_ctx, *_):
108+
return cf_logic_cl(cli_ctx).integration_service_environment_skus
109+
110+
111+
def cf_integration_service_environment_network_health(cli_ctx, *_):
112+
return cf_logic_cl(cli_ctx).integration_service_environment_network_health
113+
114+
115+
def cf_integration_service_environment_managed_api(cli_ctx, *_):
116+
return cf_logic_cl(cli_ctx).integration_service_environment_managed_apis
117+
118+
119+
def cf_integration_service_environment_managed_api_operation(cli_ctx, *_):
120+
return cf_logic_cl(cli_ctx).integration_service_environment_managed_api_operations

0 commit comments

Comments
 (0)