Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR datafactory] (Do Not Merge)[DataFactory]Support AmazonRdsForOracle Connector #2004

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions src/datafactory/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,6 @@
Release History
===============

0.4.0
+++++
* GA the whole module

0.3.0
+++++
* [BREAKING CHANGE] Renamed command subgroup `az datafactory factory` to `az datafactory`.
* [BREAKING CHANGE] `az datafactory integration-runtime managed create`: `--type-properties-compute-properties` renamed to `--compute-properties`,
`--type-properties-ssis-properties` renamed to `--ssis-properties`.
* [BREAKING CHANGE] `az datafactory integration-runtime self-hosted create`: `--type-properties-linked-info` renamed to `--linked-info`.
* [BREAKING CHANGE] `az datafactory integration-runtime update`: `--properties` renamed to `--linked-service`.
* [BREAKING CHANGE] `az datafactory linked-service delete`: `--properties` renamed to `--dataset`.
* [BREAKING CHANGE] `az datafactory trigger list`: `--properties` renamed to `--trigger`.

0.2.1
+++++
* az datafactory factory create: Enable managed identity by default

0.2.0
++++++
* add update command for linked services and triggers and datasets

0.1.0
++++++
* Initial release.
1 change: 1 addition & 0 deletions src/datafactory/azext_datafactory/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.15.0"
}
12 changes: 12 additions & 0 deletions src/datafactory/azext_datafactory/generated/_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,15 @@ def cf_trigger(cli_ctx, *_):

def cf_trigger_run(cli_ctx, *_):
return cf_datafactory_cl(cli_ctx).trigger_runs


def cf_private_end_point_connection(cli_ctx, *_):
return cf_datafactory_cl(cli_ctx).private_end_point_connections


def cf_private_endpoint_connection(cli_ctx, *_):
return cf_datafactory_cl(cli_ctx).private_endpoint_connection


def cf_private_link_resource(cli_ctx, *_):
return cf_datafactory_cl(cli_ctx).private_link_resources
180 changes: 124 additions & 56 deletions src/datafactory/azext_datafactory/generated/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,33 +42,14 @@
type: command
short-summary: "Create a factory."
parameters:
- name: --factory-vsts-configuration
short-summary: "Factory's VSTS repo information."
- name: --identity
short-summary: "User assigned identity to use to authenticate to customer's key vault. If not provided Managed \
Service Identity will be used."
long-summary: |
Usage: --factory-vsts-configuration project-name=XX tenant-id=XX type=XX account-name=XX \
repository-name=XX collaboration-branch=XX root-folder=XX last-commit-id=XX

project-name: Required. VSTS project name.
tenant-id: VSTS tenant id.
type: Required. Type of repo configuration.
account-name: Required. Account name.
repository-name: Required. Repository name.
collaboration-branch: Required. Collaboration branch.
root-folder: Required. Root folder.
last-commit-id: Last commit id.
- name: --factory-git-hub-configuration
short-summary: "Factory's GitHub repo information."
long-summary: |
Usage: --factory-git-hub-configuration host-name=XX type=XX account-name=XX repository-name=XX \
collaboration-branch=XX root-folder=XX last-commit-id=XX
Usage: --identity user-assigned-identity=XX

host-name: GitHub Enterprise host name. For example: https://github.mydomain.com
type: Required. Type of repo configuration.
account-name: Required. Account name.
repository-name: Required. Repository name.
collaboration-branch: Required. Collaboration branch.
root-folder: Required. Root folder.
last-commit-id: Last commit id.
user-assigned-identity: The resource id of the user assigned identity to authenticate to customer's key \
vault.
examples:
- name: Factories_CreateOrUpdate
text: |-
Expand Down Expand Up @@ -98,41 +79,14 @@
helps['datafactory configure-factory-repo'] = """
type: command
short-summary: "Updates a factory's repo information."
parameters:
- name: --factory-vsts-configuration
short-summary: "Factory's VSTS repo information."
long-summary: |
Usage: --factory-vsts-configuration project-name=XX tenant-id=XX type=XX account-name=XX \
repository-name=XX collaboration-branch=XX root-folder=XX last-commit-id=XX

project-name: Required. VSTS project name.
tenant-id: VSTS tenant id.
type: Required. Type of repo configuration.
account-name: Required. Account name.
repository-name: Required. Repository name.
collaboration-branch: Required. Collaboration branch.
root-folder: Required. Root folder.
last-commit-id: Last commit id.
- name: --factory-git-hub-configuration
short-summary: "Factory's GitHub repo information."
long-summary: |
Usage: --factory-git-hub-configuration host-name=XX type=XX account-name=XX repository-name=XX \
collaboration-branch=XX root-folder=XX last-commit-id=XX

host-name: GitHub Enterprise host name. For example: https://github.mydomain.com
type: Required. Type of repo configuration.
account-name: Required. Account name.
repository-name: Required. Repository name.
collaboration-branch: Required. Collaboration branch.
root-folder: Required. Root folder.
last-commit-id: Last commit id.
examples:
- name: Factories_ConfigureFactoryRepo
text: |-
az datafactory configure-factory-repo --factory-resource-id "/subscriptions/12345678-1234-1234-1234-1234\
5678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName" \
--factory-vsts-configuration account-name="ADF" collaboration-branch="master" last-commit-id="" project-name="project" \
repository-name="repo" root-folder="/" tenant-id="" --location "East US"
--repo-configuration "{\\"type\\":\\"FactoryVSTSConfiguration\\",\\"accountName\\":\\"ADF\\",\\"collaborationBranch\\":\
\\"master\\",\\"lastCommitId\\":\\"\\",\\"projectName\\":\\"project\\",\\"repositoryName\\":\\"repo\\",\\"rootFolder\\"\
:\\"/\\",\\"tenantId\\":\\"\\"}" --location "East US"
"""

helps['datafactory get-data-plane-access'] = """
Expand All @@ -149,6 +103,14 @@
helps['datafactory get-git-hub-access-token'] = """
type: command
short-summary: "Get GitHub Access Token."
parameters:
- name: --git-hub-client-secret
short-summary: "GitHub bring your own app client secret information."
long-summary: |
Usage: --git-hub-client-secret byoa-secret-akv-url=XX byoa-secret-name=XX

byoa-secret-akv-url: Bring your own app client secret AKV URL.
byoa-secret-name: Bring your own app client secret name in AKV.
examples:
- name: Factories_GetGitHubAccessToken
text: |-
Expand Down Expand Up @@ -206,6 +168,13 @@
helps['datafactory integration-runtime managed create'] = """
type: command
short-summary: "Create an integration runtime."
parameters:
- name: --managed-virtual-network
short-summary: "Managed Virtual Network reference."
long-summary: |
Usage: --managed-virtual-network reference-name=XX

reference-name: Required. Reference ManagedVirtualNetwork name.
"""

helps['datafactory integration-runtime self-hosted'] = """
Expand Down Expand Up @@ -286,6 +255,16 @@
"exampleIntegrationRuntime" --resource-group "exampleResourceGroup"
"""

helps['datafactory integration-runtime list-outbound-network-dependency-endpoint'] = """
type: command
short-summary: "Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime."
examples:
- name: IntegrationRuntimes_OutboundNetworkDependenciesEndpoints
text: |-
az datafactory integration-runtime list-outbound-network-dependency-endpoint --factory-name \
"exampleFactoryName" --name "exampleIntegrationRuntime" --resource-group "exampleResourceGroup"
"""

helps['datafactory integration-runtime regenerate-auth-key'] = """
type: command
short-summary: "Regenerates the authentication key for an integration runtime."
Expand Down Expand Up @@ -591,7 +570,7 @@
taset\\"}],\\"typeProperties\\":{\\"dataIntegrationUnits\\":32,\\"sink\\":{\\"type\\":\\"BlobSink\\"},\\"source\\":{\\"\
type\\":\\"BlobSource\\"}}}],\\"isSequential\\":true,\\"items\\":{\\"type\\":\\"Expression\\",\\"value\\":\\"@pipeline(\
).parameters.OutputBlobNameList\\"}}}]" --parameters "{\\"OutputBlobNameList\\":{\\"type\\":\\"Array\\"}}" --duration \
"0.00:10:00" --name "examplePipeline" --resource-group "exampleResourceGroup"
"0.00:10:00" --pipeline-name "examplePipeline" --resource-group "exampleResourceGroup"
"""

helps['datafactory pipeline delete'] = """
Expand Down Expand Up @@ -902,3 +881,92 @@
az datafactory trigger-run rerun --factory-name "exampleFactoryName" --resource-group \
"exampleResourceGroup" --run-id "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b" --trigger-name "exampleTrigger"
"""

helps['datafactory private-end-point-connection'] = """
type: group
short-summary: Manage private end point connection with datafactory
"""

helps['datafactory private-end-point-connection list'] = """
type: command
short-summary: "Lists Private endpoint connections."
examples:
- name: privateEndPointConnections_ListByFactory
text: |-
az datafactory private-end-point-connection list --factory-name "exampleFactoryName" --resource-group \
"exampleResourceGroup"
"""

helps['datafactory private-endpoint-connection'] = """
type: group
short-summary: Manage private endpoint connection with datafactory
"""

helps['datafactory private-endpoint-connection show'] = """
type: command
short-summary: "Gets a private endpoint connection."
examples:
- name: Get a private endpoint connection for a datafactory.
text: |-
az datafactory private-endpoint-connection show --factory-name "exampleFactoryName" --name "connection" \
--resource-group "exampleResourceGroup"
"""

helps['datafactory private-endpoint-connection create'] = """
type: command
short-summary: "Approves or rejects a private endpoint connection."
parameters:
- name: --private-link-service-connection-state
short-summary: "The state of a private link connection"
long-summary: |
Usage: --private-link-service-connection-state status=XX description=XX actions-required=XX

status: Status of a private link connection
description: Description of a private link connection
actions-required: ActionsRequired for a private link connection
examples:
- name: Approves or rejects a private endpoint connection for a factory.
text: |-
az datafactory private-endpoint-connection create --factory-name "exampleFactoryName" --name \
"connection" --private-link-service-connection-state description="Approved by admin." actions-required="" \
status="Approved" --resource-group "exampleResourceGroup"
"""

helps['datafactory private-endpoint-connection update'] = """
type: command
short-summary: "Approves or rejects a private endpoint connection."
parameters:
- name: --private-link-service-connection-state
short-summary: "The state of a private link connection"
long-summary: |
Usage: --private-link-service-connection-state status=XX description=XX actions-required=XX

status: Status of a private link connection
description: Description of a private link connection
actions-required: ActionsRequired for a private link connection
"""

helps['datafactory private-endpoint-connection delete'] = """
type: command
short-summary: "Deletes a private endpoint connection."
examples:
- name: Delete a private endpoint connection for a datafactory.
text: |-
az datafactory private-endpoint-connection delete --factory-name "exampleFactoryName" --name \
"connection" --resource-group "exampleResourceGroup"
"""

helps['datafactory private-link-resource'] = """
type: group
short-summary: Manage private link resource with datafactory
"""

helps['datafactory private-link-resource show'] = """
type: command
short-summary: "Gets the private link resources."
examples:
- name: Get private link resources of a site
text: |-
az datafactory private-link-resource show --factory-name "exampleFactoryName" --resource-group \
"exampleResourceGroup"
"""
Loading