Skip to content

Commit 4392ea3

Browse files
author
SDKAuto
committed
CodeGen from PR 15661 in Azure/azure-rest-api-specs
Merge 33cbdd7cfb3a4fd8152ef250efb600463c746bab into 6bb4782
1 parent bfe70b4 commit 4392ea3

File tree

67 files changed

+4912
-3975
lines changed

Some content is hidden

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

67 files changed

+4912
-3975
lines changed

src/datafactory/HISTORY.rst

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

6-
0.5.0
7-
+++++
8-
* az datafactory managed-virtual-network: Support create/update/list/show managed virtual network.
9-
* az datafactory managed-private-endpoint: Support create/update/list/show/delete managed private endpoint.
10-
11-
0.4.0
12-
+++++
13-
* GA the whole module
14-
15-
0.3.0
16-
+++++
17-
* [BREAKING CHANGE] Renamed command subgroup `az datafactory factory` to `az datafactory`.
18-
* [BREAKING CHANGE] `az datafactory integration-runtime managed create`: `--type-properties-compute-properties` renamed to `--compute-properties`,
19-
`--type-properties-ssis-properties` renamed to `--ssis-properties`.
20-
* [BREAKING CHANGE] `az datafactory integration-runtime self-hosted create`: `--type-properties-linked-info` renamed to `--linked-info`.
21-
* [BREAKING CHANGE] `az datafactory integration-runtime update`: `--properties` renamed to `--linked-service`.
22-
* [BREAKING CHANGE] `az datafactory linked-service delete`: `--properties` renamed to `--dataset`.
23-
* [BREAKING CHANGE] `az datafactory trigger list`: `--properties` renamed to `--trigger`.
24-
25-
0.2.1
26-
+++++
27-
* az datafactory factory create: Enable managed identity by default
28-
29-
0.2.0
30-
++++++
31-
* add update command for linked services and triggers and datasets
32-
336
0.1.0
347
++++++
358
* Initial release.

src/datafactory/azext_datafactory/__init__.py

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@
77
# Changes may cause incorrect behavior and will be lost if the code is
88
# regenerated.
99
# --------------------------------------------------------------------------
10-
# pylint: disable=unused-import
1110

12-
import azext_datafactory._help
1311
from azure.cli.core import AzCommandsLoader
12+
from azext_datafactory.generated._help import helps # pylint: disable=unused-import
13+
try:
14+
from azext_datafactory.manual._help import helps # pylint: disable=reimported
15+
except ImportError:
16+
pass
1417

1518

1619
class DataFactoryManagementClientCommandsLoader(AzCommandsLoader):
@@ -30,11 +33,8 @@ def load_command_table(self, args):
3033
try:
3134
from azext_datafactory.manual.commands import load_command_table as load_command_table_manual
3235
load_command_table_manual(self, args)
33-
except ImportError as e:
34-
if e.name.endswith('manual.commands'):
35-
pass
36-
else:
37-
raise e
36+
except ImportError:
37+
pass
3838
return self.command_table
3939

4040
def load_arguments(self, command):
@@ -43,11 +43,8 @@ def load_arguments(self, command):
4343
try:
4444
from azext_datafactory.manual._params import load_arguments as load_arguments_manual
4545
load_arguments_manual(self, command)
46-
except ImportError as e:
47-
if e.name.endswith('manual._params'):
48-
pass
49-
else:
50-
raise e
46+
except ImportError:
47+
pass
5148

5249

5350
COMMAND_LOADER_CLS = DataFactoryManagementClientCommandsLoader

src/datafactory/azext_datafactory/_help.py

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

src/datafactory/azext_datafactory/action.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,5 @@
1313
from .generated.action import * # noqa: F403
1414
try:
1515
from .manual.action import * # noqa: F403
16-
except ImportError as e:
17-
if e.name.endswith('manual.action'):
18-
pass
19-
else:
20-
raise e
16+
except ImportError:
17+
pass
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2+
"azext.isExperimental": true,
23
"azext.minCliCoreVersion": "2.15.0"
34
}

src/datafactory/azext_datafactory/custom.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,5 @@
1313
from .generated.custom import * # noqa: F403
1414
try:
1515
from .manual.custom import * # noqa: F403
16-
except ImportError as e:
17-
if e.name.endswith('manual.custom'):
18-
pass
19-
else:
20-
raise e
16+
except ImportError:
17+
pass

src/datafactory/azext_datafactory/generated/_client_factory.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,13 @@ def cf_trigger_run(cli_ctx, *_):
5656
return cf_datafactory_cl(cli_ctx).trigger_runs
5757

5858

59-
def cf_managed_virtual_network(cli_ctx, *_):
60-
return cf_datafactory_cl(cli_ctx).managed_virtual_networks
59+
def cf_private_end_point_connection(cli_ctx, *_):
60+
return cf_datafactory_cl(cli_ctx).private_end_point_connections
6161

6262

63-
def cf_managed_private_endpoint(cli_ctx, *_):
64-
return cf_datafactory_cl(cli_ctx).managed_private_endpoints
63+
def cf_private_endpoint_connection(cli_ctx, *_):
64+
return cf_datafactory_cl(cli_ctx).private_endpoint_connection
65+
66+
67+
def cf_private_link_resource(cli_ctx, *_):
68+
return cf_datafactory_cl(cli_ctx).private_link_resources

0 commit comments

Comments
 (0)