Skip to content

Commit aa5de46

Browse files
author
SDKAuto
committed
CodeGen from PR 15626 in Azure/azure-rest-api-specs
Merge 8c894f870160598e7c7924bca05936898c939809 into 47545c5
1 parent 9a648fc commit aa5de46

File tree

56 files changed

+5329
-14036
lines changed

Some content is hidden

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

56 files changed

+5329
-14036
lines changed

src/datafactory/HISTORY.rst

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

6-
0.4.0
7-
+++++
8-
* GA the whole module
9-
10-
0.3.0
11-
+++++
12-
* [BREAKING CHANGE] Renamed command subgroup `az datafactory factory` to `az datafactory`.
13-
* [BREAKING CHANGE] `az datafactory integration-runtime managed create`: `--type-properties-compute-properties` renamed to `--compute-properties`,
14-
`--type-properties-ssis-properties` renamed to `--ssis-properties`.
15-
* [BREAKING CHANGE] `az datafactory integration-runtime self-hosted create`: `--type-properties-linked-info` renamed to `--linked-info`.
16-
* [BREAKING CHANGE] `az datafactory integration-runtime update`: `--properties` renamed to `--linked-service`.
17-
* [BREAKING CHANGE] `az datafactory linked-service delete`: `--properties` renamed to `--dataset`.
18-
* [BREAKING CHANGE] `az datafactory trigger list`: `--properties` renamed to `--trigger`.
19-
20-
0.2.1
21-
+++++
22-
* az datafactory factory create: Enable managed identity by default
23-
24-
0.2.0
25-
++++++
26-
* add update command for linked services and triggers and datasets
27-
286
0.1.0
297
++++++
308
* Initial release.
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/generated/_client_factory.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,15 @@ def cf_trigger(cli_ctx, *_):
5454

5555
def cf_trigger_run(cli_ctx, *_):
5656
return cf_datafactory_cl(cli_ctx).trigger_runs
57+
58+
59+
def cf_private_end_point_connection(cli_ctx, *_):
60+
return cf_datafactory_cl(cli_ctx).private_end_point_connections
61+
62+
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

src/datafactory/azext_datafactory/generated/_help.py

Lines changed: 124 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -42,33 +42,14 @@
4242
type: command
4343
short-summary: "Create a factory."
4444
parameters:
45-
- name: --factory-vsts-configuration
46-
short-summary: "Factory's VSTS repo information."
45+
- name: --identity
46+
short-summary: "User assigned identity to use to authenticate to customer's key vault. If not provided Managed \
47+
Service Identity will be used."
4748
long-summary: |
48-
Usage: --factory-vsts-configuration project-name=XX tenant-id=XX type=XX account-name=XX \
49-
repository-name=XX collaboration-branch=XX root-folder=XX last-commit-id=XX
50-
51-
project-name: Required. VSTS project name.
52-
tenant-id: VSTS tenant id.
53-
type: Required. Type of repo configuration.
54-
account-name: Required. Account name.
55-
repository-name: Required. Repository name.
56-
collaboration-branch: Required. Collaboration branch.
57-
root-folder: Required. Root folder.
58-
last-commit-id: Last commit id.
59-
- name: --factory-git-hub-configuration
60-
short-summary: "Factory's GitHub repo information."
61-
long-summary: |
62-
Usage: --factory-git-hub-configuration host-name=XX type=XX account-name=XX repository-name=XX \
63-
collaboration-branch=XX root-folder=XX last-commit-id=XX
49+
Usage: --identity user-assigned-identity=XX
6450
65-
host-name: GitHub Enterprise host name. For example: https://github.mydomain.com
66-
type: Required. Type of repo configuration.
67-
account-name: Required. Account name.
68-
repository-name: Required. Repository name.
69-
collaboration-branch: Required. Collaboration branch.
70-
root-folder: Required. Root folder.
71-
last-commit-id: Last commit id.
51+
user-assigned-identity: The resource id of the user assigned identity to authenticate to customer's key \
52+
vault.
7253
examples:
7354
- name: Factories_CreateOrUpdate
7455
text: |-
@@ -98,41 +79,14 @@
9879
helps['datafactory configure-factory-repo'] = """
9980
type: command
10081
short-summary: "Updates a factory's repo information."
101-
parameters:
102-
- name: --factory-vsts-configuration
103-
short-summary: "Factory's VSTS repo information."
104-
long-summary: |
105-
Usage: --factory-vsts-configuration project-name=XX tenant-id=XX type=XX account-name=XX \
106-
repository-name=XX collaboration-branch=XX root-folder=XX last-commit-id=XX
107-
108-
project-name: Required. VSTS project name.
109-
tenant-id: VSTS tenant id.
110-
type: Required. Type of repo configuration.
111-
account-name: Required. Account name.
112-
repository-name: Required. Repository name.
113-
collaboration-branch: Required. Collaboration branch.
114-
root-folder: Required. Root folder.
115-
last-commit-id: Last commit id.
116-
- name: --factory-git-hub-configuration
117-
short-summary: "Factory's GitHub repo information."
118-
long-summary: |
119-
Usage: --factory-git-hub-configuration host-name=XX type=XX account-name=XX repository-name=XX \
120-
collaboration-branch=XX root-folder=XX last-commit-id=XX
121-
122-
host-name: GitHub Enterprise host name. For example: https://github.mydomain.com
123-
type: Required. Type of repo configuration.
124-
account-name: Required. Account name.
125-
repository-name: Required. Repository name.
126-
collaboration-branch: Required. Collaboration branch.
127-
root-folder: Required. Root folder.
128-
last-commit-id: Last commit id.
12982
examples:
13083
- name: Factories_ConfigureFactoryRepo
13184
text: |-
13285
az datafactory configure-factory-repo --factory-resource-id "/subscriptions/12345678-1234-1234-1234-1234\
13386
5678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName" \
134-
--factory-vsts-configuration account-name="ADF" collaboration-branch="master" last-commit-id="" project-name="project" \
135-
repository-name="repo" root-folder="/" tenant-id="" --location "East US"
87+
--repo-configuration "{\\"type\\":\\"FactoryVSTSConfiguration\\",\\"accountName\\":\\"ADF\\",\\"collaborationBranch\\":\
88+
\\"master\\",\\"lastCommitId\\":\\"\\",\\"projectName\\":\\"project\\",\\"repositoryName\\":\\"repo\\",\\"rootFolder\\"\
89+
:\\"/\\",\\"tenantId\\":\\"\\"}" --location "East US"
13690
"""
13791

13892
helps['datafactory get-data-plane-access'] = """
@@ -149,6 +103,14 @@
149103
helps['datafactory get-git-hub-access-token'] = """
150104
type: command
151105
short-summary: "Get GitHub Access Token."
106+
parameters:
107+
- name: --git-hub-client-secret
108+
short-summary: "GitHub bring your own app client secret information."
109+
long-summary: |
110+
Usage: --git-hub-client-secret byoa-secret-akv-url=XX byoa-secret-name=XX
111+
112+
byoa-secret-akv-url: Bring your own app client secret AKV URL.
113+
byoa-secret-name: Bring your own app client secret name in AKV.
152114
examples:
153115
- name: Factories_GetGitHubAccessToken
154116
text: |-
@@ -206,6 +168,13 @@
206168
helps['datafactory integration-runtime managed create'] = """
207169
type: command
208170
short-summary: "Create an integration runtime."
171+
parameters:
172+
- name: --managed-virtual-network
173+
short-summary: "Managed Virtual Network reference."
174+
long-summary: |
175+
Usage: --managed-virtual-network reference-name=XX
176+
177+
reference-name: Required. Reference ManagedVirtualNetwork name.
209178
"""
210179

211180
helps['datafactory integration-runtime self-hosted'] = """
@@ -286,6 +255,16 @@
286255
"exampleIntegrationRuntime" --resource-group "exampleResourceGroup"
287256
"""
288257

258+
helps['datafactory integration-runtime list-outbound-network-dependency-endpoint'] = """
259+
type: command
260+
short-summary: "Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime."
261+
examples:
262+
- name: IntegrationRuntimes_OutboundNetworkDependenciesEndpoints
263+
text: |-
264+
az datafactory integration-runtime list-outbound-network-dependency-endpoint --factory-name \
265+
"exampleFactoryName" --name "exampleIntegrationRuntime" --resource-group "exampleResourceGroup"
266+
"""
267+
289268
helps['datafactory integration-runtime regenerate-auth-key'] = """
290269
type: command
291270
short-summary: "Regenerates the authentication key for an integration runtime."
@@ -591,7 +570,7 @@
591570
taset\\"}],\\"typeProperties\\":{\\"dataIntegrationUnits\\":32,\\"sink\\":{\\"type\\":\\"BlobSink\\"},\\"source\\":{\\"\
592571
type\\":\\"BlobSource\\"}}}],\\"isSequential\\":true,\\"items\\":{\\"type\\":\\"Expression\\",\\"value\\":\\"@pipeline(\
593572
).parameters.OutputBlobNameList\\"}}}]" --parameters "{\\"OutputBlobNameList\\":{\\"type\\":\\"Array\\"}}" --duration \
594-
"0.00:10:00" --name "examplePipeline" --resource-group "exampleResourceGroup"
573+
"0.00:10:00" --pipeline-name "examplePipeline" --resource-group "exampleResourceGroup"
595574
"""
596575

597576
helps['datafactory pipeline delete'] = """
@@ -902,3 +881,92 @@
902881
az datafactory trigger-run rerun --factory-name "exampleFactoryName" --resource-group \
903882
"exampleResourceGroup" --run-id "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b" --trigger-name "exampleTrigger"
904883
"""
884+
885+
helps['datafactory private-end-point-connection'] = """
886+
type: group
887+
short-summary: Manage private end point connection with datafactory
888+
"""
889+
890+
helps['datafactory private-end-point-connection list'] = """
891+
type: command
892+
short-summary: "Lists Private endpoint connections."
893+
examples:
894+
- name: privateEndPointConnections_ListByFactory
895+
text: |-
896+
az datafactory private-end-point-connection list --factory-name "exampleFactoryName" --resource-group \
897+
"exampleResourceGroup"
898+
"""
899+
900+
helps['datafactory private-endpoint-connection'] = """
901+
type: group
902+
short-summary: Manage private endpoint connection with datafactory
903+
"""
904+
905+
helps['datafactory private-endpoint-connection show'] = """
906+
type: command
907+
short-summary: "Gets a private endpoint connection."
908+
examples:
909+
- name: Get a private endpoint connection for a datafactory.
910+
text: |-
911+
az datafactory private-endpoint-connection show --factory-name "exampleFactoryName" --name "connection" \
912+
--resource-group "exampleResourceGroup"
913+
"""
914+
915+
helps['datafactory private-endpoint-connection create'] = """
916+
type: command
917+
short-summary: "Approves or rejects a private endpoint connection."
918+
parameters:
919+
- name: --private-link-service-connection-state
920+
short-summary: "The state of a private link connection"
921+
long-summary: |
922+
Usage: --private-link-service-connection-state status=XX description=XX actions-required=XX
923+
924+
status: Status of a private link connection
925+
description: Description of a private link connection
926+
actions-required: ActionsRequired for a private link connection
927+
examples:
928+
- name: Approves or rejects a private endpoint connection for a factory.
929+
text: |-
930+
az datafactory private-endpoint-connection create --factory-name "exampleFactoryName" --name \
931+
"connection" --private-link-service-connection-state description="Approved by admin." actions-required="" \
932+
status="Approved" --resource-group "exampleResourceGroup"
933+
"""
934+
935+
helps['datafactory private-endpoint-connection update'] = """
936+
type: command
937+
short-summary: "Approves or rejects a private endpoint connection."
938+
parameters:
939+
- name: --private-link-service-connection-state
940+
short-summary: "The state of a private link connection"
941+
long-summary: |
942+
Usage: --private-link-service-connection-state status=XX description=XX actions-required=XX
943+
944+
status: Status of a private link connection
945+
description: Description of a private link connection
946+
actions-required: ActionsRequired for a private link connection
947+
"""
948+
949+
helps['datafactory private-endpoint-connection delete'] = """
950+
type: command
951+
short-summary: "Deletes a private endpoint connection."
952+
examples:
953+
- name: Delete a private endpoint connection for a datafactory.
954+
text: |-
955+
az datafactory private-endpoint-connection delete --factory-name "exampleFactoryName" --name \
956+
"connection" --resource-group "exampleResourceGroup"
957+
"""
958+
959+
helps['datafactory private-link-resource'] = """
960+
type: group
961+
short-summary: Manage private link resource with datafactory
962+
"""
963+
964+
helps['datafactory private-link-resource show'] = """
965+
type: command
966+
short-summary: "Gets the private link resources."
967+
examples:
968+
- name: Get private link resources of a site
969+
text: |-
970+
az datafactory private-link-resource show --factory-name "exampleFactoryName" --resource-group \
971+
"exampleResourceGroup"
972+
"""

0 commit comments

Comments
 (0)