diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index de4cd97d3727..334fd043b6d5 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -17,6 +17,7 @@ specifiers: '@rush-temp/arm-containerregistry': file:./projects/arm-containerregistry.tgz '@rush-temp/arm-containerservice': file:./projects/arm-containerservice.tgz '@rush-temp/arm-databricks': file:./projects/arm-databricks.tgz + '@rush-temp/arm-datafactory': file:./projects/arm-datafactory.tgz '@rush-temp/arm-desktopvirtualization': file:./projects/arm-desktopvirtualization.tgz '@rush-temp/arm-eventgrid': file:./projects/arm-eventgrid.tgz '@rush-temp/arm-eventhub': file:./projects/arm-eventhub.tgz @@ -168,6 +169,7 @@ dependencies: '@rush-temp/arm-containerregistry': file:projects/arm-containerregistry.tgz '@rush-temp/arm-containerservice': file:projects/arm-containerservice.tgz '@rush-temp/arm-databricks': file:projects/arm-databricks.tgz + '@rush-temp/arm-datafactory': file:projects/arm-datafactory.tgz '@rush-temp/arm-desktopvirtualization': file:projects/arm-desktopvirtualization.tgz '@rush-temp/arm-eventgrid': file:projects/arm-eventgrid.tgz '@rush-temp/arm-eventhub': file:projects/arm-eventhub.tgz @@ -8866,9 +8868,9 @@ packages: uglify-js: 3.14.2 dev: false - file:projects/arm-desktopvirtualization.tgz: - resolution: {integrity: sha512-z1ZpQDQ9WTgpWBQfKTGm9Wd3I/8iDHqaSJPBiEnswAYrp8iVwfC4bsI8g0yLstDwFE8wdm4kP+HdpzrSZMzNEg==, tarball: file:projects/arm-desktopvirtualization.tgz} - name: '@rush-temp/arm-desktopvirtualization' + file:projects/arm-datafactory.tgz: + resolution: {integrity: sha512-3EKS8IZlDsApPCN8vKxe5PYYgeDlkuK9tlfw3VRRdiU4VwkGOFeG9Ja+POz0hEqcocWR8dCa18s4MXivCOEtYg==, tarball: file:projects/arm-datafactory.tgz} + name: '@rush-temp/arm-datafactory' version: 0.0.0 dependencies: '@azure/identity': 2.0.0-beta.6 @@ -8890,6 +8892,27 @@ packages: - supports-color dev: false + file:projects/arm-desktopvirtualization.tgz: + resolution: {integrity: sha512-9tYJwIUDFQDpXDZtTbVerkmrnUcASq7GxOdJx/27I87kpWEHNyHR5MymGEbvWs2Y3wd/9Kz49aR/aVAr7s4LJg==, tarball: file:projects/arm-desktopvirtualization.tgz} + name: '@rush-temp/arm-desktopvirtualization' + version: 0.0.0 + dependencies: + '@azure/identity': 2.0.0-beta.6 + '@microsoft/api-extractor': 7.18.17 + '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 + '@rollup/plugin-json': 4.1.0_rollup@1.32.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 + cross-env: 7.0.3 + mkdirp: 1.0.4 + mocha: 7.2.0 + rollup: 1.32.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + tslib: 2.3.1 + typescript: 4.2.4 + uglify-js: 3.14.2 + dev: false + file:projects/arm-eventgrid.tgz: resolution: {integrity: sha512-wRR2xwHMk8CUACJYBJgH9MUekJBJ4J2ilCWvL1L+6t1Gwn4JCOQWKogbFnohaZtujwJFLh1pJC48ZS1XiV9dOQ==, tarball: file:projects/arm-eventgrid.tgz} name: '@rush-temp/arm-eventgrid' @@ -11145,7 +11168,7 @@ packages: dev: false file:projects/eventgrid.tgz: - resolution: {integrity: sha512-a7ok5XWs7nBhPSjqBoOpEyIADVTx3DCVxF6IBvx8nI9bQNJAgvMSEFQwQ0vkyqW2Xp9DXhXWBhBOrnx09hldqA==, tarball: file:projects/eventgrid.tgz} + resolution: {integrity: sha512-8gU5FFbkNjNAarqfpkhmSf/agfq7aOZLTVsKRv81V7Gan+oKBq76y+uFqN1JXIqJgBo7dFkxqdqL/uDG27rtFQ==, tarball: file:projects/eventgrid.tgz} name: '@rush-temp/eventgrid' version: 0.0.0 dependencies: @@ -12355,7 +12378,7 @@ packages: dev: false file:projects/perf-service-bus.tgz: - resolution: {integrity: sha512-b6AGPVr1lihogGBiieVyO3ohpQBiZG6Ch909QgYl7Ysed0tvD+FaPqnIzmn+Tla579Ia7Z+j9Qz1mv/tUFrknw==, tarball: file:projects/perf-service-bus.tgz} + resolution: {integrity: sha512-spRBrMEsacl7wJqZkvLB+qmrs8n5JOqGjO3UNWLBce5R74kW0qyigBcxNXzSNukOMmshoTKvjvQGkmk2EgfJzw==, tarball: file:projects/perf-service-bus.tgz} name: '@rush-temp/perf-service-bus' version: 0.0.0 dependencies: diff --git a/rush.json b/rush.json index a88c36569058..74e1d3470411 100644 --- a/rush.json +++ b/rush.json @@ -1065,6 +1065,11 @@ "packageName": "@azure/arm-desktopvirtualization", "projectFolder": "sdk/desktopvirtualization/arm-desktopvirtualization", "versionPolicyName": "management" + }, + { + "packageName": "@azure/arm-datafactory", + "projectFolder": "sdk/datafactory/arm-datafactory", + "versionPolicyName": "management" } ] -} +} \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/CHANGELOG.md b/sdk/datafactory/arm-datafactory/CHANGELOG.md new file mode 100644 index 000000000000..fb1566f0aca0 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/CHANGELOG.md @@ -0,0 +1,14 @@ +## 9.0.0-beta.1 (2021-11-10) + +This is the first preview for the new version of the `@azure/arm-datafactory` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services. + +While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/). + +Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies. + +**Noteworthy changes and features** +- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice. +- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead. +- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page. +- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`. +- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6. diff --git a/sdk/datafactory/arm-datafactory/LICENSE.txt b/sdk/datafactory/arm-datafactory/LICENSE similarity index 99% rename from sdk/datafactory/arm-datafactory/LICENSE.txt rename to sdk/datafactory/arm-datafactory/LICENSE index 2d3163745319..ccb63b166732 100644 --- a/sdk/datafactory/arm-datafactory/LICENSE.txt +++ b/sdk/datafactory/arm-datafactory/LICENSE @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/README.md b/sdk/datafactory/arm-datafactory/README.md index c8855fdbf843..511244915bbc 100644 --- a/sdk/datafactory/arm-datafactory/README.md +++ b/sdk/datafactory/arm-datafactory/README.md @@ -1,116 +1,94 @@ -## Azure DataFactoryManagementClient SDK for JavaScript +# Azure DataFactoryManagement client library for JavaScript -This package contains an isomorphic SDK (runs both in node.js and in browsers) for DataFactoryManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure DataFactoryManagement client. + +The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. + +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory) | +[Package (NPM)](https://www.npmjs.com/package/@azure/arm-datafactory) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-datafactory) | +[Samples](https://github.com/Azure-Samples/azure-samples-js-management) + +## Getting started ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites -You must have an [Azure subscription](https://azure.microsoft.com/free/). +- An [Azure subscription][azure_sub]. -### How to install +### Install the `@azure/arm-datafactory` package -To use this SDK in your project, you will need to install two packages. - -- `@azure/arm-datafactory` that contains the client. -- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. - -Install both packages using the below command: +Install the Azure DataFactoryManagement client library for JavaScript with `npm`: ```bash -npm install --save @azure/arm-datafactory @azure/identity +npm install @azure/arm-datafactory ``` -> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. -> If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. +### Create and authenticate a `DataFactoryManagementClient` + +To create a client object to access the Azure DataFactoryManagement API, you will need the `endpoint` of your Azure DataFactoryManagement resource and a `credential`. The Azure DataFactoryManagement client can use Azure Active Directory credentials to authenticate. +You can find the endpoint for your Azure DataFactoryManagement resource in the [Azure Portal][azure_portal]. -### How to use +You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token). -- If you are writing a client side browser application, - - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. - - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. -- If you are writing a server side application, - - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) - - Complete the set up steps required by the credential if any. - - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. +To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package: -In the below samples, we pass the credential and the Azure subscription id to instantiate the client. -Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. +```bash +npm install @azure/identity +``` -#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. +You will also need to **register a new AAD application and grant access to Azure DataFactoryManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). +Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. -##### Sample code +For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). ```javascript -const { DefaultAzureCredential } = require("@azure/identity"); const { DataFactoryManagementClient } = require("@azure/arm-datafactory"); -const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; - -// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples -// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. -const creds = new DefaultAzureCredential(); -const client = new DataFactoryManagementClient(creds, subscriptionId); -client.operations - .list() - .then((result) => { - console.log("The result is:"); - console.log(result); - }) - .catch((err) => { - console.log("An error occurred:"); - console.error(err); - }); +const { DefaultAzureCredential } = require("@azure/identity"); +const subscriptionId = "00000000-0000-0000-0000-000000000000"; +const client = new DataFactoryManagementClient(new DefaultAzureCredential(), subscriptionId); ``` -#### browser - Authentication, client creation, and list operations as an example written in JavaScript. - -In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. - -- See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. -- Note down the client Id from the previous step and use it in the browser sample below. - -##### Sample code - -- index.html - -```html - - - - @azure/arm-datafactory sample - - - - - - - +## Key concepts + +### DataFactoryManagementClient + +`DataFactoryManagementClient` is the primary interface for developers using the Azure DataFactoryManagement client library. Explore the methods on this client object to understand the different features of the Azure DataFactoryManagement service that you can access. + +## Troubleshooting + +### Logging + +Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`: + +```javascript +const { setLogLevel } = require("@azure/logger"); +setLogLevel("info"); ``` +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). + +## Next steps + +Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library. + +## Contributing + +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. + ## Related projects -- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js) + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdatafactory%2Farm-datafactory%2FREADME.png) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/datafactory/arm-datafactory/README.png) +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_sub]: https://azure.microsoft.com/free/ +[azure_sub]: https://azure.microsoft.com/free/ +[azure_portal]: https://portal.azure.com +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json new file mode 100644 index 000000000000..7cdf80443e31 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/_meta.json @@ -0,0 +1,7 @@ +{ + "commit": "dc33f3f6452de718c91fdd4f1572fdd95dea4a43", + "readme": "specification/datafactory/resource-manager/readme.md", + "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=@autorest/typescript@6.0.0-beta.14", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "use": "@autorest/typescript@6.0.0-beta.14" +} \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/api-extractor.json b/sdk/datafactory/arm-datafactory/api-extractor.json new file mode 100644 index 000000000000..488370c1585e --- /dev/null +++ b/sdk/datafactory/arm-datafactory/api-extractor.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", + "docModel": { "enabled": true }, + "apiReport": { "enabled": true, "reportFolder": "./review" }, + "dtsRollup": { + "enabled": true, + "untrimmedFilePath": "", + "publicTrimmedFilePath": "./types/arm-datafactory.d.ts" + }, + "messages": { + "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "extractorMessageReporting": { + "ae-missing-release-tag": { "logLevel": "none" }, + "ae-unresolved-link": { "logLevel": "none" } + } + } +} diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index b58ebbd9c0e7..ef04c105a371 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -1,58 +1,90 @@ { "name": "@azure/arm-datafactory", + "sdk-type": "mgmt", "author": "Microsoft Corporation", - "description": "DataFactoryManagementClient Library with typescript type definitions for node.js and browser.", - "version": "7.8.0", + "description": "A generated SDK for DataFactoryManagementClient.", + "version": "9.0.0-beta.1", + "engines": { "node": ">=12.0.0" }, "dependencies": { - "@azure/ms-rest-azure-js": "^2.1.0", - "@azure/ms-rest-js": "^2.2.0", - "@azure/core-auth": "^1.1.4", - "tslib": "^1.10.0" + "@azure/core-lro": "^2.2.0", + "@azure/abort-controller": "^1.0.0", + "@azure/core-paging": "^1.2.0", + "@azure/core-client": "^1.0.0", + "@azure/core-auth": "^1.3.0", + "@azure/core-rest-pipeline": "^1.1.0", + "tslib": "^2.2.0" }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], + "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], "license": "MIT", - "main": "./dist/arm-datafactory.js", - "module": "./esm/dataFactoryManagementClient.js", - "types": "./esm/dataFactoryManagementClient.d.ts", + "main": "./dist/index.js", + "module": "./dist-esm/src/index.js", + "types": "./types/arm-datafactory.d.ts", "devDependencies": { - "typescript": "^3.6.0", - "rollup": "^1.18.0", - "rollup-plugin-node-resolve": "^5.2.0", + "@microsoft/api-extractor": "^7.18.11", + "@rollup/plugin-commonjs": "11.0.2", + "@rollup/plugin-json": "^4.0.0", + "@rollup/plugin-multi-entry": "^3.0.0", + "@rollup/plugin-node-resolve": "^8.0.0", + "mkdirp": "^1.0.4", + "rollup": "^1.16.3", "rollup-plugin-sourcemaps": "^0.4.2", - "uglify-js": "^3.6.0" + "typescript": "~4.2.0", + "uglify-js": "^3.4.9", + "@azure/identity": "^2.0.1", + "@azure-tools/test-recorder": "^1.0.0", + "mocha": "^7.1.1", + "cross-env": "^7.0.2" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" }, - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, + "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", "dist/**/*.js.map", "dist/**/*.d.ts", "dist/**/*.d.ts.map", - "esm/**/*.js", - "esm/**/*.js.map", - "esm/**/*.d.ts", - "esm/**/*.d.ts.map", + "dist-esm/**/*.js", + "dist-esm/**/*.js.map", + "dist-esm/**/*.d.ts", + "dist-esm/**/*.d.ts.map", "src/**/*.ts", "README.md", + "LICENSE", "rollup.config.js", - "tsconfig.json" + "tsconfig.json", + "review/*", + "CHANGELOG.md", + "types/*" ], "scripts": { - "build": "tsc && rollup -c rollup.config.js && npm run minify", - "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-datafactory.js.map'\" -o ./dist/arm-datafactory.min.js ./dist/arm-datafactory.js", - "prepack": "npm install && npm run build" + "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", + "prepack": "npm run build", + "pack": "npm pack 2>&1", + "extract-api": "api-extractor run --local", + "lint": "echo skipped", + "audit": "echo skipped", + "clean": "echo skipped", + "build:node": "echo skipped", + "build:browser": "echo skipped", + "build:test": "echo skipped", + "build:samples": "echo skipped.", + "check-format": "echo skipped", + "execute:samples": "echo skipped", + "format": "echo skipped", + "test": "npm run integration-test", + "test:node": "echo skipped", + "test:browser": "echo skipped", + "unit-test": "npm run unit-test:node && npm run unit-test:browser", + "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node", + "unit-test:browser": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts", + "integration-test:browser": "echo skipped", + "docs": "echo skipped" }, "sideEffects": false, "autoPublish": true diff --git a/sdk/datafactory/arm-datafactory/recordings/node/my_test/recording_sample_test.js b/sdk/datafactory/arm-datafactory/recordings/node/my_test/recording_sample_test.js new file mode 100644 index 000000000000..0f6ecb857acf --- /dev/null +++ b/sdk/datafactory/arm-datafactory/recordings/node/my_test/recording_sample_test.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "7a6be38bb8cb644d64b4094802301751"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md new file mode 100644 index 000000000000..e3acd7fa88c0 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md @@ -0,0 +1,8221 @@ +## API Report File for "@azure/arm-datafactory" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import * as coreAuth from '@azure/core-auth'; +import * as coreClient from '@azure/core-client'; +import { PagedAsyncIterableIterator } from '@azure/core-paging'; +import { PollerLike } from '@azure/core-lro'; +import { PollOperationState } from '@azure/core-lro'; + +// @public +export interface AccessPolicyResponse { + accessToken?: string; + dataPlaneUrl?: string; + policy?: UserAccessPolicy; +} + +// @public +export interface Activity { + [property: string]: any; + dependsOn?: ActivityDependency[]; + description?: string; + name: string; + type: "Container" | "Execution" | "Copy" | "HDInsightHive" | "HDInsightPig" | "HDInsightMapReduce" | "HDInsightStreaming" | "HDInsightSpark" | "ExecuteSSISPackage" | "Custom" | "SqlServerStoredProcedure" | "ExecutePipeline" | "Delete" | "AzureDataExplorerCommand" | "Lookup" | "WebActivity" | "GetMetadata" | "IfCondition" | "Switch" | "ForEach" | "AzureMLBatchExecution" | "AzureMLUpdateResource" | "AzureMLExecutePipeline" | "DataLakeAnalyticsU-SQL" | "Wait" | "Until" | "Validation" | "Filter" | "DatabricksNotebook" | "DatabricksSparkJar" | "DatabricksSparkPython" | "SetVariable" | "AppendVariable" | "AzureFunctionActivity" | "WebHook" | "ExecuteDataFlow" | "ExecuteWranglingDataflow"; + userProperties?: UserProperty[]; +} + +// @public +export interface ActivityDependency { + [property: string]: any; + activity: string; + dependencyConditions: DependencyCondition[]; +} + +// @public +export interface ActivityPolicy { + [property: string]: any; + retry?: Record; + retryIntervalInSeconds?: number; + secureInput?: boolean; + secureOutput?: boolean; + timeout?: Record; +} + +// @public +export interface ActivityRun { + [property: string]: any; + readonly activityName?: string; + readonly activityRunEnd?: Date; + readonly activityRunId?: string; + readonly activityRunStart?: Date; + readonly activityType?: string; + readonly durationInMs?: number; + readonly error?: Record; + readonly input?: Record; + readonly linkedServiceName?: string; + readonly output?: Record; + readonly pipelineName?: string; + readonly pipelineRunId?: string; + readonly status?: string; +} + +// @public +export interface ActivityRuns { + queryByPipelineRun(resourceGroupName: string, factoryName: string, runId: string, filterParameters: RunFilterParameters, options?: ActivityRunsQueryByPipelineRunOptionalParams): Promise; +} + +// @public +export interface ActivityRunsQueryByPipelineRunOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ActivityRunsQueryByPipelineRunResponse = ActivityRunsQueryResponse; + +// @public +export interface ActivityRunsQueryResponse { + continuationToken?: string; + value: ActivityRun[]; +} + +// @public (undocumented) +export type ActivityUnion = Activity | ControlActivityUnion | ExecutionActivityUnion | ExecuteWranglingDataflowActivity; + +// @public +export interface AddDataFlowToDebugSessionResponse { + jobVersion?: string; +} + +// @public +export interface AdditionalColumns { + name?: Record; + value?: Record; +} + +// @public +export type AmazonMWSLinkedService = LinkedService & { + type: "AmazonMWS"; + endpoint: Record; + marketplaceID: Record; + sellerID: Record; + mwsAuthToken?: SecretBaseUnion; + accessKeyId: Record; + secretKey?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type AmazonMWSObjectDataset = Dataset & { + type: "AmazonMWSObject"; + tableName?: Record; +}; + +// @public +export type AmazonMWSSource = TabularSource & { + type: "AmazonMWSSource"; + query?: Record; +}; + +// @public +export type AmazonRdsForOracleLinkedService = LinkedService & { + type: "AmazonRdsForOracle"; + connectionString: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type AmazonRdsForOraclePartitionOption = string; + +// @public +export interface AmazonRdsForOraclePartitionSettings { + partitionColumnName?: Record; + partitionLowerBound?: Record; + partitionNames?: Record; + partitionUpperBound?: Record; +} + +// @public +export type AmazonRdsForOracleSource = CopySource & { + type: "AmazonRdsForOracleSource"; + oracleReaderQuery?: Record; + queryTimeout?: Record; + partitionOption?: Record; + partitionSettings?: AmazonRdsForOraclePartitionSettings; + additionalColumns?: Record; +}; + +// @public +export type AmazonRdsForOracleTableDataset = Dataset & { + type: "AmazonRdsForOracleTable"; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type AmazonRdsForSqlServerLinkedService = LinkedService & { + type: "AmazonRdsForSqlServer"; + connectionString: Record; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; + alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; +}; + +// @public +export type AmazonRdsForSqlServerSource = TabularSource & { + type: "AmazonRdsForSqlServerSource"; + sqlReaderQuery?: Record; + sqlReaderStoredProcedureName?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + produceAdditionalTypes?: Record; + partitionOption?: Record; + partitionSettings?: SqlPartitionSettings; +}; + +// @public +export type AmazonRdsForSqlServerTableDataset = Dataset & { + type: "AmazonRdsForSqlServerTable"; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type AmazonRedshiftLinkedService = LinkedService & { + type: "AmazonRedshift"; + server: Record; + username?: Record; + password?: SecretBaseUnion; + database: Record; + port?: Record; + encryptedCredential?: Record; +}; + +// @public +export type AmazonRedshiftSource = TabularSource & { + type: "AmazonRedshiftSource"; + query?: Record; + redshiftUnloadSettings?: RedshiftUnloadSettings; +}; + +// @public +export type AmazonRedshiftTableDataset = Dataset & { + type: "AmazonRedshiftTable"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type AmazonS3CompatibleLinkedService = LinkedService & { + type: "AmazonS3Compatible"; + accessKeyId?: Record; + secretAccessKey?: SecretBaseUnion; + serviceUrl?: Record; + forcePathStyle?: Record; + encryptedCredential?: Record; +}; + +// @public +export type AmazonS3CompatibleLocation = DatasetLocation & { + type: "AmazonS3CompatibleLocation"; + bucketName?: Record; + version?: Record; +}; + +// @public +export type AmazonS3CompatibleReadSettings = StoreReadSettings & { + type: "AmazonS3CompatibleReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + prefix?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type AmazonS3Dataset = Dataset & { + type: "AmazonS3Object"; + bucketName: Record; + key?: Record; + prefix?: Record; + version?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; + format?: DatasetStorageFormatUnion; + compression?: DatasetCompression; +}; + +// @public +export type AmazonS3LinkedService = LinkedService & { + type: "AmazonS3"; + authenticationType?: Record; + accessKeyId?: Record; + secretAccessKey?: SecretBaseUnion; + serviceUrl?: Record; + sessionToken?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type AmazonS3Location = DatasetLocation & { + type: "AmazonS3Location"; + bucketName?: Record; + version?: Record; +}; + +// @public +export type AmazonS3ReadSettings = StoreReadSettings & { + type: "AmazonS3ReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + prefix?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type AppendVariableActivity = ControlActivity & { + type: "AppendVariable"; + variableName?: string; + value?: Record; +}; + +// @public +export interface ArmIdWrapper { + readonly id?: string; +} + +// @public +export type AvroCompressionCodec = string; + +// @public +export type AvroDataset = Dataset & { + type: "Avro"; + location?: DatasetLocationUnion; + avroCompressionCodec?: Record; + avroCompressionLevel?: number; +}; + +// @public +export type AvroFormat = DatasetStorageFormat & { + type: "AvroFormat"; +}; + +// @public +export type AvroSink = CopySink & { + type: "AvroSink"; + storeSettings?: StoreWriteSettingsUnion; + formatSettings?: AvroWriteSettings; +}; + +// @public +export type AvroSource = CopySource & { + type: "AvroSource"; + storeSettings?: StoreReadSettingsUnion; + additionalColumns?: Record; +}; + +// @public +export type AvroWriteSettings = FormatWriteSettings & { + type: "AvroWriteSettings"; + recordName?: string; + recordNamespace?: string; + maxRowsPerFile?: Record; + fileNamePrefix?: Record; +}; + +// @public +export type AzPowerShellSetup = CustomSetupBase & { + type: "AzPowerShellSetup"; + version: string; +}; + +// @public +export type AzureBatchLinkedService = LinkedService & { + type: "AzureBatch"; + accountName: Record; + accessKey?: SecretBaseUnion; + batchUri: Record; + poolName: Record; + linkedServiceName: LinkedServiceReference; + encryptedCredential?: Record; + credential?: CredentialReference; +}; + +// @public +export type AzureBlobDataset = Dataset & { + type: "AzureBlob"; + folderPath?: Record; + tableRootLocation?: Record; + fileName?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; + format?: DatasetStorageFormatUnion; + compression?: DatasetCompression; +}; + +// @public +export type AzureBlobFSDataset = Dataset & { + type: "AzureBlobFSFile"; + folderPath?: Record; + fileName?: Record; + format?: DatasetStorageFormatUnion; + compression?: DatasetCompression; +}; + +// @public +export type AzureBlobFSLinkedService = LinkedService & { + type: "AzureBlobFS"; + url: Record; + accountKey?: Record; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + azureCloudType?: Record; + encryptedCredential?: Record; + credential?: CredentialReference; +}; + +// @public +export type AzureBlobFSLocation = DatasetLocation & { + type: "AzureBlobFSLocation"; + fileSystem?: Record; +}; + +// @public +export type AzureBlobFSReadSettings = StoreReadSettings & { + type: "AzureBlobFSReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type AzureBlobFSSink = CopySink & { + type: "AzureBlobFSSink"; + copyBehavior?: Record; + metadata?: MetadataItem[]; +}; + +// @public +export type AzureBlobFSSource = CopySource & { + type: "AzureBlobFSSource"; + treatEmptyAsNull?: Record; + skipHeaderLineCount?: Record; + recursive?: Record; +}; + +// @public +export type AzureBlobFSWriteSettings = StoreWriteSettings & { + type: "AzureBlobFSWriteSettings"; + blockSizeInMB?: Record; +}; + +// @public +export type AzureBlobStorageLinkedService = LinkedService & { + type: "AzureBlobStorage"; + connectionString?: Record; + accountKey?: AzureKeyVaultSecretReference; + sasUri?: Record; + sasToken?: AzureKeyVaultSecretReference; + serviceEndpoint?: string; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + azureCloudType?: Record; + accountKind?: string; + encryptedCredential?: string; + credential?: CredentialReference; +}; + +// @public +export type AzureBlobStorageLocation = DatasetLocation & { + type: "AzureBlobStorageLocation"; + container?: Record; +}; + +// @public +export type AzureBlobStorageReadSettings = StoreReadSettings & { + type: "AzureBlobStorageReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + prefix?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type AzureBlobStorageWriteSettings = StoreWriteSettings & { + type: "AzureBlobStorageWriteSettings"; + blockSizeInMB?: Record; +}; + +// @public +export type AzureDatabricksDeltaLakeDataset = Dataset & { + type: "AzureDatabricksDeltaLakeDataset"; + table?: Record; + database?: Record; +}; + +// @public +export type AzureDatabricksDeltaLakeExportCommand = ExportSettings & { + type: "AzureDatabricksDeltaLakeExportCommand"; + dateFormat?: Record; + timestampFormat?: Record; +}; + +// @public +export type AzureDatabricksDeltaLakeImportCommand = ImportSettings & { + type: "AzureDatabricksDeltaLakeImportCommand"; + dateFormat?: Record; + timestampFormat?: Record; +}; + +// @public +export type AzureDatabricksDeltaLakeLinkedService = LinkedService & { + type: "AzureDatabricksDeltaLake"; + domain: Record; + accessToken?: SecretBaseUnion; + clusterId?: Record; + encryptedCredential?: Record; +}; + +// @public +export type AzureDatabricksDeltaLakeSink = CopySink & { + type: "AzureDatabricksDeltaLakeSink"; + preCopyScript?: Record; + importSettings?: AzureDatabricksDeltaLakeImportCommand; +}; + +// @public +export type AzureDatabricksDeltaLakeSource = CopySource & { + type: "AzureDatabricksDeltaLakeSource"; + query?: Record; + exportSettings?: AzureDatabricksDeltaLakeExportCommand; +}; + +// @public +export type AzureDatabricksLinkedService = LinkedService & { + type: "AzureDatabricks"; + domain: Record; + accessToken?: SecretBaseUnion; + authentication?: Record; + workspaceResourceId?: Record; + existingClusterId?: Record; + instancePoolId?: Record; + newClusterVersion?: Record; + newClusterNumOfWorker?: Record; + newClusterNodeType?: Record; + newClusterSparkConf?: { + [propertyName: string]: Record; + }; + newClusterSparkEnvVars?: { + [propertyName: string]: Record; + }; + newClusterCustomTags?: { + [propertyName: string]: Record; + }; + newClusterLogDestination?: Record; + newClusterDriverNodeType?: Record; + newClusterInitScripts?: Record; + newClusterEnableElasticDisk?: Record; + encryptedCredential?: Record; + policyId?: Record; + credential?: CredentialReference; +}; + +// @public +export type AzureDataExplorerCommandActivity = ExecutionActivity & { + type: "AzureDataExplorerCommand"; + command: Record; + commandTimeout?: Record; +}; + +// @public +export type AzureDataExplorerLinkedService = LinkedService & { + type: "AzureDataExplorer"; + endpoint: Record; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + database: Record; + tenant?: Record; + credential?: CredentialReference; +}; + +// @public +export type AzureDataExplorerSink = CopySink & { + type: "AzureDataExplorerSink"; + ingestionMappingName?: Record; + ingestionMappingAsJson?: Record; + flushImmediately?: Record; +}; + +// @public +export type AzureDataExplorerSource = CopySource & { + type: "AzureDataExplorerSource"; + query: Record; + noTruncation?: Record; + queryTimeout?: Record; + additionalColumns?: Record; +}; + +// @public +export type AzureDataExplorerTableDataset = Dataset & { + type: "AzureDataExplorerTable"; + table?: Record; +}; + +// @public +export type AzureDataLakeAnalyticsLinkedService = LinkedService & { + type: "AzureDataLakeAnalytics"; + accountName: Record; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant: Record; + subscriptionId?: Record; + resourceGroupName?: Record; + dataLakeAnalyticsUri?: Record; + encryptedCredential?: Record; +}; + +// @public +export type AzureDataLakeStoreDataset = Dataset & { + type: "AzureDataLakeStoreFile"; + folderPath?: Record; + fileName?: Record; + format?: DatasetStorageFormatUnion; + compression?: DatasetCompression; +}; + +// @public +export type AzureDataLakeStoreLinkedService = LinkedService & { + type: "AzureDataLakeStore"; + dataLakeStoreUri: Record; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + azureCloudType?: Record; + accountName?: Record; + subscriptionId?: Record; + resourceGroupName?: Record; + encryptedCredential?: Record; + credential?: CredentialReference; +}; + +// @public +export type AzureDataLakeStoreLocation = DatasetLocation & { + type: "AzureDataLakeStoreLocation"; +}; + +// @public +export type AzureDataLakeStoreReadSettings = StoreReadSettings & { + type: "AzureDataLakeStoreReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + fileListPath?: Record; + listAfter?: Record; + listBefore?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type AzureDataLakeStoreSink = CopySink & { + type: "AzureDataLakeStoreSink"; + copyBehavior?: Record; + enableAdlsSingleFileParallel?: Record; +}; + +// @public +export type AzureDataLakeStoreSource = CopySource & { + type: "AzureDataLakeStoreSource"; + recursive?: Record; +}; + +// @public +export type AzureDataLakeStoreWriteSettings = StoreWriteSettings & { + type: "AzureDataLakeStoreWriteSettings"; + expiryDateTime?: Record; +}; + +// @public +export type AzureFileStorageLinkedService = LinkedService & { + type: "AzureFileStorage"; + host?: Record; + userId?: Record; + password?: SecretBaseUnion; + connectionString?: Record; + accountKey?: AzureKeyVaultSecretReference; + sasUri?: Record; + sasToken?: AzureKeyVaultSecretReference; + fileShare?: Record; + snapshot?: Record; + encryptedCredential?: Record; +}; + +// @public +export type AzureFileStorageLocation = DatasetLocation & { + type: "AzureFileStorageLocation"; +}; + +// @public +export type AzureFileStorageReadSettings = StoreReadSettings & { + type: "AzureFileStorageReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + prefix?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type AzureFileStorageWriteSettings = StoreWriteSettings & { + type: "AzureFileStorageWriteSettings"; +}; + +// @public +export type AzureFunctionActivity = ExecutionActivity & { + type: "AzureFunctionActivity"; + method: AzureFunctionActivityMethod; + functionName: Record; + headers?: Record; + body?: Record; +}; + +// @public +export type AzureFunctionActivityMethod = string; + +// @public +export type AzureFunctionLinkedService = LinkedService & { + type: "AzureFunction"; + functionAppUrl: Record; + functionKey?: SecretBaseUnion; + encryptedCredential?: Record; + credential?: CredentialReference; + resourceId?: Record; + authentication?: Record; +}; + +// @public +export type AzureKeyVaultLinkedService = LinkedService & { + type: "AzureKeyVault"; + baseUrl: Record; + credential?: CredentialReference; +}; + +// @public +export type AzureKeyVaultSecretReference = SecretBase & { + type: "AzureKeyVaultSecret"; + store: LinkedServiceReference; + secretName: Record; + secretVersion?: Record; +}; + +// @public +export type AzureMariaDBLinkedService = LinkedService & { + type: "AzureMariaDB"; + connectionString?: Record; + pwd?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type AzureMariaDBSource = TabularSource & { + type: "AzureMariaDBSource"; + query?: Record; +}; + +// @public +export type AzureMariaDBTableDataset = Dataset & { + type: "AzureMariaDBTable"; + tableName?: Record; +}; + +// @public +export type AzureMLBatchExecutionActivity = ExecutionActivity & { + type: "AzureMLBatchExecution"; + globalParameters?: { + [propertyName: string]: Record; + }; + webServiceOutputs?: { + [propertyName: string]: AzureMLWebServiceFile; + }; + webServiceInputs?: { + [propertyName: string]: AzureMLWebServiceFile; + }; +}; + +// @public +export type AzureMLExecutePipelineActivity = ExecutionActivity & { + type: "AzureMLExecutePipeline"; + mlPipelineId?: Record; + mlPipelineEndpointId?: Record; + version?: Record; + experimentName?: Record; + mlPipelineParameters?: Record; + dataPathAssignments?: Record; + mlParentRunId?: Record; + continueOnStepFailure?: Record; +}; + +// @public +export type AzureMLLinkedService = LinkedService & { + type: "AzureML"; + mlEndpoint: Record; + apiKey: SecretBaseUnion; + updateResourceEndpoint?: Record; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + encryptedCredential?: Record; + authentication?: Record; +}; + +// @public +export type AzureMLServiceLinkedService = LinkedService & { + type: "AzureMLService"; + subscriptionId: Record; + resourceGroupName: Record; + mlWorkspaceName: Record; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + encryptedCredential?: Record; +}; + +// @public +export type AzureMLUpdateResourceActivity = ExecutionActivity & { + type: "AzureMLUpdateResource"; + trainedModelName: Record; + trainedModelLinkedServiceName: LinkedServiceReference; + trainedModelFilePath: Record; +}; + +// @public +export interface AzureMLWebServiceFile { + filePath: Record; + linkedServiceName: LinkedServiceReference; +} + +// @public +export type AzureMySqlLinkedService = LinkedService & { + type: "AzureMySql"; + connectionString: Record; + password?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type AzureMySqlSink = CopySink & { + type: "AzureMySqlSink"; + preCopyScript?: Record; +}; + +// @public +export type AzureMySqlSource = TabularSource & { + type: "AzureMySqlSource"; + query?: Record; +}; + +// @public +export type AzureMySqlTableDataset = Dataset & { + type: "AzureMySqlTable"; + tableName?: Record; + table?: Record; +}; + +// @public +export type AzurePostgreSqlLinkedService = LinkedService & { + type: "AzurePostgreSql"; + connectionString?: Record; + password?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type AzurePostgreSqlSink = CopySink & { + type: "AzurePostgreSqlSink"; + preCopyScript?: Record; +}; + +// @public +export type AzurePostgreSqlSource = TabularSource & { + type: "AzurePostgreSqlSource"; + query?: Record; +}; + +// @public +export type AzurePostgreSqlTableDataset = Dataset & { + type: "AzurePostgreSqlTable"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type AzureQueueSink = CopySink & { + type: "AzureQueueSink"; +}; + +// @public +export type AzureSearchIndexDataset = Dataset & { + type: "AzureSearchIndex"; + indexName: Record; +}; + +// @public +export type AzureSearchIndexSink = CopySink & { + type: "AzureSearchIndexSink"; + writeBehavior?: AzureSearchIndexWriteBehaviorType; +}; + +// @public +export type AzureSearchIndexWriteBehaviorType = string; + +// @public +export type AzureSearchLinkedService = LinkedService & { + type: "AzureSearch"; + url: Record; + key?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type AzureSqlDatabaseLinkedService = LinkedService & { + type: "AzureSqlDatabase"; + connectionString: Record; + password?: AzureKeyVaultSecretReference; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + azureCloudType?: Record; + encryptedCredential?: Record; + alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; + credential?: CredentialReference; +}; + +// @public +export type AzureSqlDWLinkedService = LinkedService & { + type: "AzureSqlDW"; + connectionString: Record; + password?: AzureKeyVaultSecretReference; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + azureCloudType?: Record; + encryptedCredential?: Record; + credential?: CredentialReference; +}; + +// @public +export type AzureSqlDWTableDataset = Dataset & { + type: "AzureSqlDWTable"; + tableName?: Record; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type AzureSqlMILinkedService = LinkedService & { + type: "AzureSqlMI"; + connectionString: Record; + password?: AzureKeyVaultSecretReference; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + azureCloudType?: Record; + encryptedCredential?: Record; + alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; + credential?: CredentialReference; +}; + +// @public +export type AzureSqlMITableDataset = Dataset & { + type: "AzureSqlMITable"; + tableName?: Record; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type AzureSqlSink = CopySink & { + type: "AzureSqlSink"; + sqlWriterStoredProcedureName?: Record; + sqlWriterTableType?: Record; + preCopyScript?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + storedProcedureTableTypeParameterName?: Record; + tableOption?: Record; + sqlWriterUseTableLock?: Record; + writeBehavior?: Record; + upsertSettings?: SqlUpsertSettings; +}; + +// @public +export type AzureSqlSource = TabularSource & { + type: "AzureSqlSource"; + sqlReaderQuery?: Record; + sqlReaderStoredProcedureName?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + produceAdditionalTypes?: Record; + partitionOption?: Record; + partitionSettings?: SqlPartitionSettings; +}; + +// @public +export type AzureSqlTableDataset = Dataset & { + type: "AzureSqlTable"; + tableName?: Record; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type AzureStorageLinkedService = LinkedService & { + type: "AzureStorage"; + connectionString?: Record; + accountKey?: AzureKeyVaultSecretReference; + sasUri?: Record; + sasToken?: AzureKeyVaultSecretReference; + encryptedCredential?: string; +}; + +// @public +export type AzureTableDataset = Dataset & { + type: "AzureTable"; + tableName: Record; +}; + +// @public +export type AzureTableSink = CopySink & { + type: "AzureTableSink"; + azureTableDefaultPartitionKeyValue?: Record; + azureTablePartitionKeyName?: Record; + azureTableRowKeyName?: Record; + azureTableInsertType?: Record; +}; + +// @public +export type AzureTableSource = TabularSource & { + type: "AzureTableSource"; + azureTableSourceQuery?: Record; + azureTableSourceIgnoreTableNotFound?: Record; +}; + +// @public +export type AzureTableStorageLinkedService = LinkedService & { + type: "AzureTableStorage"; + connectionString?: Record; + accountKey?: AzureKeyVaultSecretReference; + sasUri?: Record; + sasToken?: AzureKeyVaultSecretReference; + encryptedCredential?: string; +}; + +// @public +export type BinaryDataset = Dataset & { + type: "Binary"; + location?: DatasetLocationUnion; + compression?: DatasetCompression; +}; + +// @public +export type BinaryReadSettings = FormatReadSettings & { + type: "BinaryReadSettings"; + compressionProperties?: CompressionReadSettingsUnion; +}; + +// @public +export type BinarySink = CopySink & { + type: "BinarySink"; + storeSettings?: StoreWriteSettingsUnion; +}; + +// @public +export type BinarySource = CopySource & { + type: "BinarySource"; + storeSettings?: StoreReadSettingsUnion; + formatSettings?: BinaryReadSettings; +}; + +// @public +export type BlobEventsTrigger = MultiplePipelineTrigger & { + type: "BlobEventsTrigger"; + blobPathBeginsWith?: string; + blobPathEndsWith?: string; + ignoreEmptyBlobs?: boolean; + events: BlobEventTypes[]; + scope: string; +}; + +// @public +export type BlobEventTypes = string; + +// @public +export type BlobSink = CopySink & { + type: "BlobSink"; + blobWriterOverwriteFiles?: Record; + blobWriterDateTimeFormat?: Record; + blobWriterAddHeader?: Record; + copyBehavior?: Record; + metadata?: MetadataItem[]; +}; + +// @public +export type BlobSource = CopySource & { + type: "BlobSource"; + treatEmptyAsNull?: Record; + skipHeaderLineCount?: Record; + recursive?: Record; +}; + +// @public +export type BlobTrigger = MultiplePipelineTrigger & { + type: "BlobTrigger"; + folderPath: string; + maxConcurrency: number; + linkedService: LinkedServiceReference; +}; + +// @public +export type CassandraLinkedService = LinkedService & { + type: "Cassandra"; + host: Record; + authenticationType?: Record; + port?: Record; + username?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type CassandraSource = TabularSource & { + type: "CassandraSource"; + query?: Record; + consistencyLevel?: CassandraSourceReadConsistencyLevels; +}; + +// @public +export type CassandraSourceReadConsistencyLevels = string; + +// @public +export type CassandraTableDataset = Dataset & { + type: "CassandraTable"; + tableName?: Record; + keyspace?: Record; +}; + +// @public +export type ChainingTrigger = Trigger & { + type: "ChainingTrigger"; + pipeline: TriggerPipelineReference; + dependsOn: PipelineReference[]; + runDimension: string; +}; + +// @public +export interface CloudError { + code: string; + details?: CloudError[]; + message: string; + target?: string; +} + +// @public +export type CmdkeySetup = CustomSetupBase & { + type: "CmdkeySetup"; + targetName: Record; + userName: Record; + password: SecretBaseUnion; +}; + +// @public +export interface CMKIdentityDefinition { + userAssignedIdentity?: string; +} + +// @public +export type CommonDataServiceForAppsEntityDataset = Dataset & { + type: "CommonDataServiceForAppsEntity"; + entityName?: Record; +}; + +// @public +export type CommonDataServiceForAppsLinkedService = LinkedService & { + type: "CommonDataServiceForApps"; + deploymentType: Record; + hostName?: Record; + port?: Record; + serviceUri?: Record; + organizationName?: Record; + authenticationType: Record; + username?: Record; + password?: SecretBaseUnion; + servicePrincipalId?: Record; + servicePrincipalCredentialType?: Record; + servicePrincipalCredential?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type CommonDataServiceForAppsSink = CopySink & { + type: "CommonDataServiceForAppsSink"; + writeBehavior: DynamicsSinkWriteBehavior; + ignoreNullValues?: Record; + alternateKeyName?: Record; +}; + +// @public +export type CommonDataServiceForAppsSource = CopySource & { + type: "CommonDataServiceForAppsSource"; + query?: Record; + additionalColumns?: Record; +}; + +// @public +export type ComponentSetup = CustomSetupBase & { + type: "ComponentSetup"; + componentName: string; + licenseKey?: SecretBaseUnion; +}; + +// @public +export type CompressionCodec = string; + +// @public +export interface CompressionReadSettings { + [property: string]: any; + type: "ZipDeflateReadSettings" | "TarReadSettings" | "TarGZipReadSettings"; +} + +// @public (undocumented) +export type CompressionReadSettingsUnion = CompressionReadSettings | ZipDeflateReadSettings | TarReadSettings | TarGZipReadSettings; + +// @public +export type ConcurLinkedService = LinkedService & { + type: "Concur"; + connectionProperties?: Record; + clientId: Record; + username: Record; + password?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type ConcurObjectDataset = Dataset & { + type: "ConcurObject"; + tableName?: Record; +}; + +// @public +export type ConcurSource = TabularSource & { + type: "ConcurSource"; + query?: Record; +}; + +// @public +export interface ConnectionStateProperties { + readonly actionsRequired?: string; + readonly description?: string; + readonly status?: string; +} + +// @public +export type ControlActivity = Activity & { + type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook"; +}; + +// @public (undocumented) +export type ControlActivityUnion = ControlActivity | ExecutePipelineActivity | IfConditionActivity | SwitchActivity | ForEachActivity | WaitActivity | UntilActivity | ValidationActivity | FilterActivity | SetVariableActivity | AppendVariableActivity | WebHookActivity; + +// @public +export type CopyActivity = ExecutionActivity & { + type: "Copy"; + inputs?: DatasetReference[]; + outputs?: DatasetReference[]; + source: CopySourceUnion; + sink: CopySinkUnion; + translator?: Record; + enableStaging?: Record; + stagingSettings?: StagingSettings; + parallelCopies?: Record; + dataIntegrationUnits?: Record; + enableSkipIncompatibleRow?: Record; + redirectIncompatibleRowSettings?: RedirectIncompatibleRowSettings; + logStorageSettings?: LogStorageSettings; + logSettings?: LogSettings; + preserveRules?: Record[]; + preserve?: Record[]; + validateDataConsistency?: Record; + skipErrorFile?: SkipErrorFile; +}; + +// @public +export interface CopyActivityLogSettings { + enableReliableLogging?: Record; + logLevel?: Record; +} + +// @public +export type CopyBehaviorType = string; + +// @public +export interface CopySink { + [property: string]: any; + disableMetricsCollection?: Record; + maxConcurrentConnections?: Record; + sinkRetryCount?: Record; + sinkRetryWait?: Record; + type: "DelimitedTextSink" | "JsonSink" | "OrcSink" | "RestSink" | "AzurePostgreSqlSink" | "AzureMySqlSink" | "AzureDatabricksDeltaLakeSink" | "SapCloudForCustomerSink" | "AzureQueueSink" | "AzureTableSink" | "AvroSink" | "ParquetSink" | "BinarySink" | "BlobSink" | "FileSystemSink" | "DocumentDbCollectionSink" | "CosmosDbSqlApiSink" | "SqlSink" | "SqlServerSink" | "AzureSqlSink" | "SqlMISink" | "SqlDWSink" | "SnowflakeSink" | "OracleSink" | "AzureDataLakeStoreSink" | "AzureBlobFSSink" | "AzureSearchIndexSink" | "OdbcSink" | "InformixSink" | "MicrosoftAccessSink" | "DynamicsSink" | "DynamicsCrmSink" | "CommonDataServiceForAppsSink" | "AzureDataExplorerSink" | "SalesforceSink" | "SalesforceServiceCloudSink" | "MongoDbAtlasSink" | "MongoDbV2Sink" | "CosmosDbMongoDbApiSink"; + writeBatchSize?: Record; + writeBatchTimeout?: Record; +} + +// @public (undocumented) +export type CopySinkUnion = CopySink | DelimitedTextSink | JsonSink | OrcSink | RestSink | AzurePostgreSqlSink | AzureMySqlSink | AzureDatabricksDeltaLakeSink | SapCloudForCustomerSink | AzureQueueSink | AzureTableSink | AvroSink | ParquetSink | BinarySink | BlobSink | FileSystemSink | DocumentDbCollectionSink | CosmosDbSqlApiSink | SqlSink | SqlServerSink | AzureSqlSink | SqlMISink | SqlDWSink | SnowflakeSink | OracleSink | AzureDataLakeStoreSink | AzureBlobFSSink | AzureSearchIndexSink | OdbcSink | InformixSink | MicrosoftAccessSink | DynamicsSink | DynamicsCrmSink | CommonDataServiceForAppsSink | AzureDataExplorerSink | SalesforceSink | SalesforceServiceCloudSink | MongoDbAtlasSink | MongoDbV2Sink | CosmosDbMongoDbApiSink; + +// @public +export interface CopySource { + [property: string]: any; + disableMetricsCollection?: Record; + maxConcurrentConnections?: Record; + sourceRetryCount?: Record; + sourceRetryWait?: Record; + type: "AvroSource" | "ExcelSource" | "ParquetSource" | "DelimitedTextSource" | "JsonSource" | "XmlSource" | "OrcSource" | "BinarySource" | "TabularSource" | "AzureTableSource" | "BlobSource" | "DocumentDbCollectionSource" | "CosmosDbSqlApiSource" | "DynamicsSource" | "DynamicsCrmSource" | "CommonDataServiceForAppsSource" | "RelationalSource" | "InformixSource" | "MicrosoftAccessSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "ODataSource" | "SalesforceSource" | "SalesforceServiceCloudSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapTableSource" | "RestSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "FileSystemSource" | "HdfsSource" | "AzureMySqlSource" | "AzureDataExplorerSource" | "OracleSource" | "AmazonRdsForOracleSource" | "TeradataSource" | "WebSource" | "CassandraSource" | "MongoDbSource" | "MongoDbAtlasSource" | "MongoDbV2Source" | "CosmosDbMongoDbApiSource" | "Office365Source" | "AzureDataLakeStoreSource" | "AzureBlobFSSource" | "HttpSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "SnowflakeSource" | "AzureDatabricksDeltaLakeSource" | "SharePointOnlineListSource"; +} + +// @public (undocumented) +export type CopySourceUnion = CopySource | AvroSource | ExcelSource | ParquetSource | DelimitedTextSource | JsonSource | XmlSource | OrcSource | BinarySource | TabularSourceUnion | BlobSource | DocumentDbCollectionSource | CosmosDbSqlApiSource | DynamicsSource | DynamicsCrmSource | CommonDataServiceForAppsSource | RelationalSource | MicrosoftAccessSource | ODataSource | SalesforceServiceCloudSource | RestSource | FileSystemSource | HdfsSource | AzureDataExplorerSource | OracleSource | AmazonRdsForOracleSource | WebSource | MongoDbSource | MongoDbAtlasSource | MongoDbV2Source | CosmosDbMongoDbApiSource | Office365Source | AzureDataLakeStoreSource | AzureBlobFSSource | HttpSource | SnowflakeSource | AzureDatabricksDeltaLakeSource | SharePointOnlineListSource; + +// @public +export interface CopyTranslator { + [property: string]: any; + type: "TabularTranslator"; +} + +// @public (undocumented) +export type CopyTranslatorUnion = CopyTranslator | TabularTranslator; + +// @public +export type CosmosDbConnectionMode = string; + +// @public +export type CosmosDbLinkedService = LinkedService & { + type: "CosmosDb"; + connectionString?: Record; + accountEndpoint?: Record; + database?: Record; + accountKey?: SecretBaseUnion; + servicePrincipalId?: Record; + servicePrincipalCredentialType?: CosmosDbServicePrincipalCredentialType; + servicePrincipalCredential?: SecretBaseUnion; + tenant?: Record; + azureCloudType?: Record; + connectionMode?: CosmosDbConnectionMode; + encryptedCredential?: Record; +}; + +// @public +export type CosmosDbMongoDbApiCollectionDataset = Dataset & { + type: "CosmosDbMongoDbApiCollection"; + collection: Record; +}; + +// @public +export type CosmosDbMongoDbApiLinkedService = LinkedService & { + type: "CosmosDbMongoDbApi"; + isServerVersionAbove32?: Record; + connectionString: Record; + database: Record; +}; + +// @public +export type CosmosDbMongoDbApiSink = CopySink & { + type: "CosmosDbMongoDbApiSink"; + writeBehavior?: Record; +}; + +// @public +export type CosmosDbMongoDbApiSource = CopySource & { + type: "CosmosDbMongoDbApiSource"; + filter?: Record; + cursorMethods?: MongoDbCursorMethodsProperties; + batchSize?: Record; + queryTimeout?: Record; + additionalColumns?: Record; +}; + +// @public +export type CosmosDbServicePrincipalCredentialType = string; + +// @public +export type CosmosDbSqlApiCollectionDataset = Dataset & { + type: "CosmosDbSqlApiCollection"; + collectionName: Record; +}; + +// @public +export type CosmosDbSqlApiSink = CopySink & { + type: "CosmosDbSqlApiSink"; + writeBehavior?: Record; +}; + +// @public +export type CosmosDbSqlApiSource = CopySource & { + type: "CosmosDbSqlApiSource"; + query?: Record; + pageSize?: Record; + preferredRegions?: Record; + detectDatetime?: Record; + additionalColumns?: Record; +}; + +// @public +export type CouchbaseLinkedService = LinkedService & { + type: "Couchbase"; + connectionString?: Record; + credString?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type CouchbaseSource = TabularSource & { + type: "CouchbaseSource"; + query?: Record; +}; + +// @public +export type CouchbaseTableDataset = Dataset & { + type: "CouchbaseTable"; + tableName?: Record; +}; + +// @public +export interface CreateDataFlowDebugSessionRequest { + computeType?: string; + coreCount?: number; + integrationRuntime?: IntegrationRuntimeDebugResource; + timeToLive?: number; +} + +// @public +export interface CreateDataFlowDebugSessionResponse { + sessionId?: string; + status?: string; +} + +// @public +export interface CreateLinkedIntegrationRuntimeRequest { + dataFactoryLocation?: string; + dataFactoryName?: string; + name?: string; + subscriptionId?: string; +} + +// @public +export interface CreateRunResponse { + runId: string; +} + +// @public +interface Credential_2 { + [property: string]: any; + annotations?: Record[]; + description?: string; + type: "ServicePrincipal" | "ManagedIdentity"; +} +export { Credential_2 as Credential } + +// @public +export interface CredentialReference { + [property: string]: any; + referenceName: string; + type: "CredentialReference"; +} + +// @public +export type CredentialResource = SubResource & { + properties: CredentialUnion; +}; + +// @public (undocumented) +export type CredentialUnion = Credential_2 | ServicePrincipalCredential | ManagedIdentityCredential; + +// @public +export type CustomActivity = ExecutionActivity & { + type: "Custom"; + command: Record; + resourceLinkedService?: LinkedServiceReference; + folderPath?: Record; + referenceObjects?: CustomActivityReferenceObject; + extendedProperties?: { + [propertyName: string]: Record; + }; + retentionTimeInDays?: Record; + autoUserSpecification?: Record; +}; + +// @public +export interface CustomActivityReferenceObject { + datasets?: DatasetReference[]; + linkedServices?: LinkedServiceReference[]; +} + +// @public +export type CustomDataset = Dataset & { + type: "CustomDataset"; + typeProperties?: Record; +}; + +// @public +export type CustomDataSourceLinkedService = LinkedService & { + type: "CustomDataSource"; + typeProperties: Record; +}; + +// @public +export type CustomEventsTrigger = MultiplePipelineTrigger & { + type: "CustomEventsTrigger"; + subjectBeginsWith?: string; + subjectEndsWith?: string; + events: Record[]; + scope: string; +}; + +// @public +export interface CustomSetupBase { + type: "CmdkeySetup" | "EnvironmentVariableSetup" | "ComponentSetup" | "AzPowerShellSetup"; +} + +// @public (undocumented) +export type CustomSetupBaseUnion = CustomSetupBase | CmdkeySetup | EnvironmentVariableSetup | ComponentSetup | AzPowerShellSetup; + +// @public +export type DatabricksNotebookActivity = ExecutionActivity & { + type: "DatabricksNotebook"; + notebookPath: Record; + baseParameters?: { + [propertyName: string]: Record; + }; + libraries?: { + [propertyName: string]: Record; + }[]; +}; + +// @public +export type DatabricksSparkJarActivity = ExecutionActivity & { + type: "DatabricksSparkJar"; + mainClassName: Record; + parameters?: Record[]; + libraries?: { + [propertyName: string]: Record; + }[]; +}; + +// @public +export type DatabricksSparkPythonActivity = ExecutionActivity & { + type: "DatabricksSparkPython"; + pythonFile: Record; + parameters?: Record[]; + libraries?: { + [propertyName: string]: Record; + }[]; +}; + +// @public (undocumented) +export class DataFactoryManagementClient extends DataFactoryManagementClientContext { + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataFactoryManagementClientOptionalParams); + // (undocumented) + activityRuns: ActivityRuns; + // (undocumented) + dataFlowDebugSession: DataFlowDebugSession; + // (undocumented) + dataFlows: DataFlows; + // (undocumented) + datasets: Datasets; + // (undocumented) + exposureControl: ExposureControl; + // (undocumented) + factories: Factories; + // (undocumented) + integrationRuntimeNodes: IntegrationRuntimeNodes; + // (undocumented) + integrationRuntimeObjectMetadata: IntegrationRuntimeObjectMetadata; + // (undocumented) + integrationRuntimes: IntegrationRuntimes; + // (undocumented) + linkedServices: LinkedServices; + // (undocumented) + managedPrivateEndpoints: ManagedPrivateEndpoints; + // (undocumented) + managedVirtualNetworks: ManagedVirtualNetworks; + // (undocumented) + operations: Operations; + // (undocumented) + pipelineRuns: PipelineRuns; + // (undocumented) + pipelines: Pipelines; + // (undocumented) + privateEndpointConnection: PrivateEndpointConnection; + // (undocumented) + privateEndPointConnections: PrivateEndPointConnections; + // (undocumented) + privateLinkResources: PrivateLinkResources; + // (undocumented) + triggerRuns: TriggerRuns; + // (undocumented) + triggers: Triggers; +} + +// @public (undocumented) +export class DataFactoryManagementClientContext extends coreClient.ServiceClient { + // (undocumented) + $host: string; + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataFactoryManagementClientOptionalParams); + // (undocumented) + apiVersion: string; + // (undocumented) + subscriptionId: string; +} + +// @public +export interface DataFactoryManagementClientOptionalParams extends coreClient.ServiceClientOptions { + $host?: string; + apiVersion?: string; + endpoint?: string; +} + +// @public +export interface DataFlow { + annotations?: Record[]; + description?: string; + folder?: DataFlowFolder; + type: "MappingDataFlow" | "Flowlet" | "WranglingDataFlow"; +} + +// @public +export type DataFlowComputeType = string; + +// @public +export interface DataFlowDebugCommandPayload { + columns?: string[]; + expression?: string; + rowLimits?: number; + streamName: string; +} + +// @public +export interface DataFlowDebugCommandRequest { + command?: DataFlowDebugCommandType; + commandPayload?: DataFlowDebugCommandPayload; + sessionId?: string; +} + +// @public +export interface DataFlowDebugCommandResponse { + data?: string; + status?: string; +} + +// @public +export type DataFlowDebugCommandType = string; + +// @public +export interface DataFlowDebugPackage { + [property: string]: any; + dataFlow?: DataFlowDebugResource; + dataFlows?: DataFlowDebugResource[]; + datasets?: DatasetDebugResource[]; + debugSettings?: DataFlowDebugPackageDebugSettings; + linkedServices?: LinkedServiceDebugResource[]; + sessionId?: string; + staging?: DataFlowStagingInfo; +} + +// @public +export interface DataFlowDebugPackageDebugSettings { + datasetParameters?: Record; + parameters?: { + [propertyName: string]: Record; + }; + sourceSettings?: DataFlowSourceSetting[]; +} + +// @public +export type DataFlowDebugResource = SubResourceDebugResource & { + properties: DataFlowUnion; +}; + +// @public +export interface DataFlowDebugSession { + addDataFlow(resourceGroupName: string, factoryName: string, request: DataFlowDebugPackage, options?: DataFlowDebugSessionAddDataFlowOptionalParams): Promise; + beginCreate(resourceGroupName: string, factoryName: string, request: CreateDataFlowDebugSessionRequest, options?: DataFlowDebugSessionCreateOptionalParams): Promise, DataFlowDebugSessionCreateResponse>>; + beginCreateAndWait(resourceGroupName: string, factoryName: string, request: CreateDataFlowDebugSessionRequest, options?: DataFlowDebugSessionCreateOptionalParams): Promise; + beginExecuteCommand(resourceGroupName: string, factoryName: string, request: DataFlowDebugCommandRequest, options?: DataFlowDebugSessionExecuteCommandOptionalParams): Promise, DataFlowDebugSessionExecuteCommandResponse>>; + beginExecuteCommandAndWait(resourceGroupName: string, factoryName: string, request: DataFlowDebugCommandRequest, options?: DataFlowDebugSessionExecuteCommandOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, request: DeleteDataFlowDebugSessionRequest, options?: DataFlowDebugSessionDeleteOptionalParams): Promise; + listQueryByFactory(resourceGroupName: string, factoryName: string, options?: DataFlowDebugSessionQueryByFactoryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface DataFlowDebugSessionAddDataFlowOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataFlowDebugSessionAddDataFlowResponse = AddDataFlowToDebugSessionResponse; + +// @public +export interface DataFlowDebugSessionCreateHeaders { + location?: string; +} + +// @public +export interface DataFlowDebugSessionCreateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type DataFlowDebugSessionCreateResponse = CreateDataFlowDebugSessionResponse; + +// @public +export interface DataFlowDebugSessionDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface DataFlowDebugSessionExecuteCommandHeaders { + location?: string; +} + +// @public +export interface DataFlowDebugSessionExecuteCommandOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type DataFlowDebugSessionExecuteCommandResponse = DataFlowDebugCommandResponse; + +// @public +export interface DataFlowDebugSessionInfo { + [property: string]: any; + computeType?: string; + coreCount?: number; + dataFlowName?: string; + integrationRuntimeName?: string; + lastActivityTime?: string; + nodeCount?: number; + sessionId?: string; + startTime?: string; + timeToLiveInMinutes?: number; +} + +// @public +export interface DataFlowDebugSessionQueryByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataFlowDebugSessionQueryByFactoryNextResponse = QueryDataFlowDebugSessionsResponse; + +// @public +export interface DataFlowDebugSessionQueryByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataFlowDebugSessionQueryByFactoryResponse = QueryDataFlowDebugSessionsResponse; + +// @public +export interface DataFlowFolder { + name?: string; +} + +// @public +export interface DataFlowListResponse { + nextLink?: string; + value: DataFlowResource[]; +} + +// @public +export interface DataFlowReference { + [property: string]: any; + datasetParameters?: Record; + referenceName: string; + type: "DataFlowReference"; +} + +// @public +export type DataFlowResource = SubResource & { + properties: DataFlowUnion; +}; + +// @public +export interface DataFlows { + createOrUpdate(resourceGroupName: string, factoryName: string, dataFlowName: string, dataFlow: DataFlowResource, options?: DataFlowsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, dataFlowName: string, options?: DataFlowsDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, dataFlowName: string, options?: DataFlowsGetOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, options?: DataFlowsListByFactoryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface DataFlowsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type DataFlowsCreateOrUpdateResponse = DataFlowResource; + +// @public +export interface DataFlowsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface DataFlowsGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type DataFlowsGetResponse = DataFlowResource; + +// @public +export type DataFlowSink = Transformation & { + dataset?: DatasetReference; + linkedService?: LinkedServiceReference; + schemaLinkedService?: LinkedServiceReference; +}; + +// @public +export interface DataFlowsListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataFlowsListByFactoryNextResponse = DataFlowListResponse; + +// @public +export interface DataFlowsListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DataFlowsListByFactoryResponse = DataFlowListResponse; + +// @public +export type DataFlowSource = Transformation & { + dataset?: DatasetReference; + linkedService?: LinkedServiceReference; + schemaLinkedService?: LinkedServiceReference; +}; + +// @public +export interface DataFlowSourceSetting { + [property: string]: any; + rowLimit?: number; + sourceName?: string; +} + +// @public +export interface DataFlowStagingInfo { + folderPath?: Record; + linkedService?: LinkedServiceReference; +} + +// @public (undocumented) +export type DataFlowUnion = DataFlow | MappingDataFlow | Flowlet | WranglingDataFlow; + +// @public +export type DataLakeAnalyticsUsqlActivity = ExecutionActivity & { + type: "DataLakeAnalyticsU-SQL"; + scriptPath: Record; + scriptLinkedService: LinkedServiceReference; + degreeOfParallelism?: Record; + priority?: Record; + parameters?: { + [propertyName: string]: Record; + }; + runtimeVersion?: Record; + compilationMode?: Record; +}; + +// @public +export interface Dataset { + [property: string]: any; + annotations?: Record[]; + description?: string; + folder?: DatasetFolder; + linkedServiceName: LinkedServiceReference; + parameters?: { + [propertyName: string]: ParameterSpecification; + }; + schema?: Record; + structure?: Record; + type: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset"; +} + +// @public +export interface DatasetCompression { + [property: string]: any; + level?: Record; + type: Record; +} + +// @public +export type DatasetCompressionLevel = string; + +// @public +export interface DatasetDataElement { + name?: Record; + type?: Record; +} + +// @public +export type DatasetDebugResource = SubResourceDebugResource & { + properties: DatasetUnion; +}; + +// @public +export interface DatasetFolder { + name?: string; +} + +// @public +export interface DatasetListResponse { + nextLink?: string; + value: DatasetResource[]; +} + +// @public +export interface DatasetLocation { + [property: string]: any; + fileName?: Record; + folderPath?: Record; + type: "AzureBlobStorageLocation" | "AzureBlobFSLocation" | "AzureDataLakeStoreLocation" | "AmazonS3Location" | "FileServerLocation" | "AzureFileStorageLocation" | "AmazonS3CompatibleLocation" | "OracleCloudStorageLocation" | "GoogleCloudStorageLocation" | "FtpServerLocation" | "SftpLocation" | "HttpServerLocation" | "HdfsLocation"; +} + +// @public (undocumented) +export type DatasetLocationUnion = DatasetLocation | AzureBlobStorageLocation | AzureBlobFSLocation | AzureDataLakeStoreLocation | AmazonS3Location | FileServerLocation | AzureFileStorageLocation | AmazonS3CompatibleLocation | OracleCloudStorageLocation | GoogleCloudStorageLocation | FtpServerLocation | SftpLocation | HttpServerLocation | HdfsLocation; + +// @public +export interface DatasetReference { + parameters?: { + [propertyName: string]: Record; + }; + referenceName: string; + type: "DatasetReference"; +} + +// @public +export type DatasetResource = SubResource & { + properties: DatasetUnion; +}; + +// @public +export interface Datasets { + createOrUpdate(resourceGroupName: string, factoryName: string, datasetName: string, dataset: DatasetResource, options?: DatasetsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, datasetName: string, options?: DatasetsDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, datasetName: string, options?: DatasetsGetOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, options?: DatasetsListByFactoryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface DatasetSchemaDataElement { + [property: string]: any; + name?: Record; + type?: Record; +} + +// @public +export interface DatasetsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type DatasetsCreateOrUpdateResponse = DatasetResource; + +// @public +export interface DatasetsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface DatasetsGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type DatasetsGetResponse = DatasetResource; + +// @public +export interface DatasetsListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DatasetsListByFactoryNextResponse = DatasetListResponse; + +// @public +export interface DatasetsListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type DatasetsListByFactoryResponse = DatasetListResponse; + +// @public +export interface DatasetStorageFormat { + [property: string]: any; + deserializer?: Record; + serializer?: Record; + type: "TextFormat" | "JsonFormat" | "AvroFormat" | "OrcFormat" | "ParquetFormat"; +} + +// @public (undocumented) +export type DatasetStorageFormatUnion = DatasetStorageFormat | TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat; + +// @public (undocumented) +export type DatasetUnion = Dataset | AmazonS3Dataset | AvroDataset | ExcelDataset | ParquetDataset | DelimitedTextDataset | JsonDataset | XmlDataset | OrcDataset | BinaryDataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset | AzureSqlMITableDataset | AzureSqlDWTableDataset | CassandraTableDataset | CustomDataset | CosmosDbSqlApiCollectionDataset | DocumentDbCollectionDataset | DynamicsEntityDataset | DynamicsCrmEntityDataset | CommonDataServiceForAppsEntityDataset | AzureDataLakeStoreDataset | AzureBlobFSDataset | Office365Dataset | FileShareDataset | MongoDbCollectionDataset | MongoDbAtlasCollectionDataset | MongoDbV2CollectionDataset | CosmosDbMongoDbApiCollectionDataset | ODataResourceDataset | OracleTableDataset | AmazonRdsForOracleTableDataset | TeradataTableDataset | AzureMySqlTableDataset | AmazonRedshiftTableDataset | Db2TableDataset | RelationalTableDataset | InformixTableDataset | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset | SalesforceServiceCloudObjectDataset | SybaseTableDataset | SapBwCubeDataset | SapCloudForCustomerResourceDataset | SapEccResourceDataset | SapHanaTableDataset | SapOpenHubTableDataset | SqlServerTableDataset | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset | AmazonMWSObjectDataset | AzurePostgreSqlTableDataset | ConcurObjectDataset | CouchbaseTableDataset | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset | HubspotObjectDataset | ImpalaObjectDataset | JiraObjectDataset | MagentoObjectDataset | MariaDBTableDataset | AzureMariaDBTableDataset | MarketoObjectDataset | PaypalObjectDataset | PhoenixObjectDataset | PrestoObjectDataset | QuickBooksObjectDataset | ServiceNowObjectDataset | ShopifyObjectDataset | SparkObjectDataset | SquareObjectDataset | XeroObjectDataset | ZohoObjectDataset | NetezzaTableDataset | VerticaTableDataset | SalesforceMarketingCloudObjectDataset | ResponsysObjectDataset | DynamicsAXResourceDataset | OracleServiceCloudObjectDataset | AzureDataExplorerTableDataset | GoogleAdWordsObjectDataset | SnowflakeDataset | SharePointOnlineListResourceDataset | AzureDatabricksDeltaLakeDataset; + +// @public +export type DayOfWeek = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; + +// @public +export type DaysOfWeek = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; + +// @public +export type Db2AuthenticationType = string; + +// @public +export type Db2LinkedService = LinkedService & { + type: "Db2"; + connectionString?: Record; + server?: Record; + database?: Record; + authenticationType?: Db2AuthenticationType; + username?: Record; + password?: SecretBaseUnion; + packageCollection?: Record; + certificateCommonName?: Record; + encryptedCredential?: Record; +}; + +// @public +export type Db2Source = TabularSource & { + type: "Db2Source"; + query?: Record; +}; + +// @public +export type Db2TableDataset = Dataset & { + type: "Db2Table"; + tableName?: Record; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type DeleteActivity = ExecutionActivity & { + type: "Delete"; + recursive?: Record; + maxConcurrentConnections?: number; + enableLogging?: Record; + logStorageSettings?: LogStorageSettings; + dataset: DatasetReference; + storeSettings?: StoreReadSettingsUnion; +}; + +// @public +export interface DeleteDataFlowDebugSessionRequest { + sessionId?: string; +} + +// @public +export type DelimitedTextDataset = Dataset & { + type: "DelimitedText"; + location?: DatasetLocationUnion; + columnDelimiter?: Record; + rowDelimiter?: Record; + encodingName?: Record; + compressionCodec?: Record; + compressionLevel?: Record; + quoteChar?: Record; + escapeChar?: Record; + firstRowAsHeader?: Record; + nullValue?: Record; +}; + +// @public +export type DelimitedTextReadSettings = FormatReadSettings & { + type: "DelimitedTextReadSettings"; + skipLineCount?: Record; + compressionProperties?: CompressionReadSettingsUnion; +}; + +// @public +export type DelimitedTextSink = CopySink & { + type: "DelimitedTextSink"; + storeSettings?: StoreWriteSettingsUnion; + formatSettings?: DelimitedTextWriteSettings; +}; + +// @public +export type DelimitedTextSource = CopySource & { + type: "DelimitedTextSource"; + storeSettings?: StoreReadSettingsUnion; + formatSettings?: DelimitedTextReadSettings; + additionalColumns?: Record; +}; + +// @public +export type DelimitedTextWriteSettings = FormatWriteSettings & { + type: "DelimitedTextWriteSettings"; + quoteAllText?: Record; + fileExtension: Record; + maxRowsPerFile?: Record; + fileNamePrefix?: Record; +}; + +// @public +export type DependencyCondition = string; + +// @public +export interface DependencyReference { + type: "TriggerDependencyReference" | "TumblingWindowTriggerDependencyReference" | "SelfDependencyTumblingWindowTriggerReference"; +} + +// @public (undocumented) +export type DependencyReferenceUnion = DependencyReference | TriggerDependencyReferenceUnion | SelfDependencyTumblingWindowTriggerReference; + +// @public +export interface DistcpSettings { + distcpOptions?: Record; + resourceManagerEndpoint: Record; + tempScriptPath: Record; +} + +// @public +export type DocumentDbCollectionDataset = Dataset & { + type: "DocumentDbCollection"; + collectionName: Record; +}; + +// @public +export type DocumentDbCollectionSink = CopySink & { + type: "DocumentDbCollectionSink"; + nestingSeparator?: Record; + writeBehavior?: Record; +}; + +// @public +export type DocumentDbCollectionSource = CopySource & { + type: "DocumentDbCollectionSource"; + query?: Record; + nestingSeparator?: Record; + queryTimeout?: Record; + additionalColumns?: Record; +}; + +// @public +export type DrillLinkedService = LinkedService & { + type: "Drill"; + connectionString?: Record; + pwd?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type DrillSource = TabularSource & { + type: "DrillSource"; + query?: Record; +}; + +// @public +export type DrillTableDataset = Dataset & { + type: "DrillTable"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export interface DWCopyCommandDefaultValue { + columnName?: Record; + defaultValue?: Record; +} + +// @public +export interface DWCopyCommandSettings { + additionalOptions?: { + [propertyName: string]: string; + }; + defaultValues?: DWCopyCommandDefaultValue[]; +} + +// @public +export type DynamicsAuthenticationType = string; + +// @public +export type DynamicsAXLinkedService = LinkedService & { + type: "DynamicsAX"; + url: Record; + servicePrincipalId: Record; + servicePrincipalKey: SecretBaseUnion; + tenant: Record; + aadResourceId: Record; + encryptedCredential?: Record; +}; + +// @public +export type DynamicsAXResourceDataset = Dataset & { + type: "DynamicsAXResource"; + path: Record; +}; + +// @public +export type DynamicsAXSource = TabularSource & { + type: "DynamicsAXSource"; + query?: Record; + httpRequestTimeout?: Record; +}; + +// @public +export type DynamicsCrmEntityDataset = Dataset & { + type: "DynamicsCrmEntity"; + entityName?: Record; +}; + +// @public +export type DynamicsCrmLinkedService = LinkedService & { + type: "DynamicsCrm"; + deploymentType: Record; + hostName?: Record; + port?: Record; + serviceUri?: Record; + organizationName?: Record; + authenticationType: Record; + username?: Record; + password?: SecretBaseUnion; + servicePrincipalId?: Record; + servicePrincipalCredentialType?: Record; + servicePrincipalCredential?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type DynamicsCrmSink = CopySink & { + type: "DynamicsCrmSink"; + writeBehavior: DynamicsSinkWriteBehavior; + ignoreNullValues?: Record; + alternateKeyName?: Record; +}; + +// @public +export type DynamicsCrmSource = CopySource & { + type: "DynamicsCrmSource"; + query?: Record; + additionalColumns?: Record; +}; + +// @public +export type DynamicsDeploymentType = string; + +// @public +export type DynamicsEntityDataset = Dataset & { + type: "DynamicsEntity"; + entityName?: Record; +}; + +// @public +export type DynamicsLinkedService = LinkedService & { + type: "Dynamics"; + deploymentType: Record; + hostName?: Record; + port?: Record; + serviceUri?: Record; + organizationName?: Record; + authenticationType: Record; + username?: Record; + password?: SecretBaseUnion; + servicePrincipalId?: Record; + servicePrincipalCredentialType?: Record; + servicePrincipalCredential?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type DynamicsSink = CopySink & { + type: "DynamicsSink"; + writeBehavior: DynamicsSinkWriteBehavior; + ignoreNullValues?: Record; + alternateKeyName?: Record; +}; + +// @public +export type DynamicsSinkWriteBehavior = string; + +// @public +export type DynamicsSource = CopySource & { + type: "DynamicsSource"; + query?: Record; + additionalColumns?: Record; +}; + +// @public +export type EloquaLinkedService = LinkedService & { + type: "Eloqua"; + endpoint: Record; + username: Record; + password?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type EloquaObjectDataset = Dataset & { + type: "EloquaObject"; + tableName?: Record; +}; + +// @public +export type EloquaSource = TabularSource & { + type: "EloquaSource"; + query?: Record; +}; + +// @public +export interface EncryptionConfiguration { + identity?: CMKIdentityDefinition; + keyName: string; + keyVersion?: string; + vaultBaseUrl: string; +} + +// @public +export interface EntityReference { + referenceName?: string; + type?: IntegrationRuntimeEntityReferenceType; +} + +// @public +export type EnvironmentVariableSetup = CustomSetupBase & { + type: "EnvironmentVariableSetup"; + variableName: string; + variableValue: string; +}; + +// @public +export type EventSubscriptionStatus = string; + +// @public +export type ExcelDataset = Dataset & { + type: "Excel"; + location?: DatasetLocationUnion; + sheetName?: Record; + sheetIndex?: Record; + range?: Record; + firstRowAsHeader?: Record; + compression?: DatasetCompression; + nullValue?: Record; +}; + +// @public +export type ExcelSource = CopySource & { + type: "ExcelSource"; + storeSettings?: StoreReadSettingsUnion; + additionalColumns?: Record; +}; + +// @public +export type ExecuteDataFlowActivity = ExecutionActivity & { + type: "ExecuteDataFlow"; + dataFlow: DataFlowReference; + staging?: DataFlowStagingInfo; + integrationRuntime?: IntegrationRuntimeReference; + compute?: ExecuteDataFlowActivityTypePropertiesCompute; + traceLevel?: Record; + continueOnError?: Record; + runConcurrently?: Record; +}; + +// @public +export interface ExecuteDataFlowActivityTypeProperties { + compute?: ExecuteDataFlowActivityTypePropertiesCompute; + continueOnError?: Record; + dataFlow: DataFlowReference; + integrationRuntime?: IntegrationRuntimeReference; + runConcurrently?: Record; + staging?: DataFlowStagingInfo; + traceLevel?: Record; +} + +// @public +export interface ExecuteDataFlowActivityTypePropertiesCompute { + computeType?: Record; + coreCount?: Record; +} + +// @public +export type ExecutePipelineActivity = ControlActivity & { + type: "ExecutePipeline"; + pipeline: PipelineReference; + parameters?: { + [propertyName: string]: Record; + }; + waitOnCompletion?: boolean; +}; + +// @public +export type ExecutePowerQueryActivityTypeProperties = ExecuteDataFlowActivityTypeProperties & { + sinks?: { + [propertyName: string]: PowerQuerySink; + }; + queries?: PowerQuerySinkMapping[]; +}; + +// @public +export type ExecuteSsisPackageActivity = ExecutionActivity & { + type: "ExecuteSSISPackage"; + packageLocation: SsisPackageLocation; + runtime?: Record; + loggingLevel?: Record; + environmentPath?: Record; + executionCredential?: SsisExecutionCredential; + connectVia: IntegrationRuntimeReference; + projectParameters?: { + [propertyName: string]: SsisExecutionParameter; + }; + packageParameters?: { + [propertyName: string]: SsisExecutionParameter; + }; + projectConnectionManagers?: { + [propertyName: string]: { + [propertyName: string]: SsisExecutionParameter; + }; + }; + packageConnectionManagers?: { + [propertyName: string]: { + [propertyName: string]: SsisExecutionParameter; + }; + }; + propertyOverrides?: { + [propertyName: string]: SsisPropertyOverride; + }; + logLocation?: SsisLogLocation; +}; + +// @public +export type ExecuteWranglingDataflowActivity = Activity & { + type: "ExecuteWranglingDataflow"; + policy?: ActivityPolicy; + dataFlow: DataFlowReference; + staging?: DataFlowStagingInfo; + integrationRuntime?: IntegrationRuntimeReference; + compute?: ExecuteDataFlowActivityTypePropertiesCompute; + traceLevel?: Record; + continueOnError?: Record; + runConcurrently?: Record; + sinks?: { + [propertyName: string]: PowerQuerySink; + }; + queries?: PowerQuerySinkMapping[]; +}; + +// @public +export type ExecutionActivity = Activity & { + type: "Execution" | "Copy" | "HDInsightHive" | "HDInsightPig" | "HDInsightMapReduce" | "HDInsightStreaming" | "HDInsightSpark" | "ExecuteSSISPackage" | "Custom" | "SqlServerStoredProcedure" | "Delete" | "AzureDataExplorerCommand" | "Lookup" | "WebActivity" | "GetMetadata" | "AzureMLBatchExecution" | "AzureMLUpdateResource" | "AzureMLExecutePipeline" | "DataLakeAnalyticsU-SQL" | "DatabricksNotebook" | "DatabricksSparkJar" | "DatabricksSparkPython" | "AzureFunctionActivity" | "ExecuteDataFlow"; + linkedServiceName?: LinkedServiceReference; + policy?: ActivityPolicy; +}; + +// @public (undocumented) +export type ExecutionActivityUnion = ExecutionActivity | CopyActivity | HDInsightHiveActivity | HDInsightPigActivity | HDInsightMapReduceActivity | HDInsightStreamingActivity | HDInsightSparkActivity | ExecuteSsisPackageActivity | CustomActivity | SqlServerStoredProcedureActivity | DeleteActivity | AzureDataExplorerCommandActivity | LookupActivity | WebActivity | GetMetadataActivity | AzureMLBatchExecutionActivity | AzureMLUpdateResourceActivity | AzureMLExecutePipelineActivity | DataLakeAnalyticsUsqlActivity | DatabricksNotebookActivity | DatabricksSparkJarActivity | DatabricksSparkPythonActivity | AzureFunctionActivity | ExecuteDataFlowActivity; + +// @public +export interface ExportSettings { + [property: string]: any; + type: "SnowflakeExportCopyCommand" | "AzureDatabricksDeltaLakeExportCommand"; +} + +// @public (undocumented) +export type ExportSettingsUnion = ExportSettings | SnowflakeExportCopyCommand | AzureDatabricksDeltaLakeExportCommand; + +// @public +export interface ExposureControl { + getFeatureValue(locationId: string, exposureControlRequest: ExposureControlRequest, options?: ExposureControlGetFeatureValueOptionalParams): Promise; + getFeatureValueByFactory(resourceGroupName: string, factoryName: string, exposureControlRequest: ExposureControlRequest, options?: ExposureControlGetFeatureValueByFactoryOptionalParams): Promise; + queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: ExposureControlBatchRequest, options?: ExposureControlQueryFeatureValuesByFactoryOptionalParams): Promise; +} + +// @public +export interface ExposureControlBatchRequest { + exposureControlRequests: ExposureControlRequest[]; +} + +// @public +export interface ExposureControlBatchResponse { + exposureControlResponses: ExposureControlResponse[]; +} + +// @public +export interface ExposureControlGetFeatureValueByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ExposureControlGetFeatureValueByFactoryResponse = ExposureControlResponse; + +// @public +export interface ExposureControlGetFeatureValueOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ExposureControlGetFeatureValueResponse = ExposureControlResponse; + +// @public +export interface ExposureControlQueryFeatureValuesByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ExposureControlQueryFeatureValuesByFactoryResponse = ExposureControlBatchResponse; + +// @public +export interface ExposureControlRequest { + featureName?: string; + featureType?: string; +} + +// @public +export interface ExposureControlResponse { + readonly featureName?: string; + readonly value?: string; +} + +// @public +export interface Expression { + type: "Expression"; + value: string; +} + +// @public +export interface Factories { + configureFactoryRepo(locationId: string, factoryRepoUpdate: FactoryRepoUpdate, options?: FactoriesConfigureFactoryRepoOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, factoryName: string, factory: Factory, options?: FactoriesCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, options?: FactoriesDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, options?: FactoriesGetOptionalParams): Promise; + getDataPlaneAccess(resourceGroupName: string, factoryName: string, policy: UserAccessPolicy, options?: FactoriesGetDataPlaneAccessOptionalParams): Promise; + getGitHubAccessToken(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: GitHubAccessTokenRequest, options?: FactoriesGetGitHubAccessTokenOptionalParams): Promise; + list(options?: FactoriesListOptionalParams): PagedAsyncIterableIterator; + listByResourceGroup(resourceGroupName: string, options?: FactoriesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; + update(resourceGroupName: string, factoryName: string, factoryUpdateParameters: FactoryUpdateParameters, options?: FactoriesUpdateOptionalParams): Promise; +} + +// @public +export interface FactoriesConfigureFactoryRepoOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FactoriesConfigureFactoryRepoResponse = Factory; + +// @public +export interface FactoriesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type FactoriesCreateOrUpdateResponse = Factory; + +// @public +export interface FactoriesDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface FactoriesGetDataPlaneAccessOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FactoriesGetDataPlaneAccessResponse = AccessPolicyResponse; + +// @public +export interface FactoriesGetGitHubAccessTokenOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FactoriesGetGitHubAccessTokenResponse = GitHubAccessTokenResponse; + +// @public +export interface FactoriesGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type FactoriesGetResponse = Factory; + +// @public +export interface FactoriesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FactoriesListByResourceGroupNextResponse = FactoryListResponse; + +// @public +export interface FactoriesListByResourceGroupOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FactoriesListByResourceGroupResponse = FactoryListResponse; + +// @public +export interface FactoriesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FactoriesListNextResponse = FactoryListResponse; + +// @public +export interface FactoriesListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FactoriesListResponse = FactoryListResponse; + +// @public +export interface FactoriesUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type FactoriesUpdateResponse = Factory; + +// @public +export type Factory = Resource & { + [property: string]: any; + identity?: FactoryIdentity; + readonly provisioningState?: string; + readonly createTime?: Date; + readonly version?: string; + repoConfiguration?: FactoryRepoConfigurationUnion; + globalParameters?: { + [propertyName: string]: GlobalParameterSpecification; + }; + encryption?: EncryptionConfiguration; + publicNetworkAccess?: PublicNetworkAccess; +}; + +// @public +export type FactoryGitHubConfiguration = FactoryRepoConfiguration & { + type: "FactoryGitHubConfiguration"; + hostName?: string; + clientId?: string; + clientSecret?: GitHubClientSecret; +}; + +// @public +export interface FactoryIdentity { + readonly principalId?: string; + readonly tenantId?: string; + type: FactoryIdentityType; + userAssignedIdentities?: { + [propertyName: string]: Record; + }; +} + +// @public +export type FactoryIdentityType = string; + +// @public +export interface FactoryListResponse { + nextLink?: string; + value: Factory[]; +} + +// @public +export interface FactoryRepoConfiguration { + accountName: string; + collaborationBranch: string; + lastCommitId?: string; + repositoryName: string; + rootFolder: string; + type: "FactoryVSTSConfiguration" | "FactoryGitHubConfiguration"; +} + +// @public (undocumented) +export type FactoryRepoConfigurationUnion = FactoryRepoConfiguration | FactoryVstsConfiguration | FactoryGitHubConfiguration; + +// @public +export interface FactoryRepoUpdate { + factoryResourceId?: string; + repoConfiguration?: FactoryRepoConfigurationUnion; +} + +// @public +export interface FactoryUpdateParameters { + identity?: FactoryIdentity; + publicNetworkAccess?: PublicNetworkAccess; + tags?: { + [propertyName: string]: string; + }; +} + +// @public +export type FactoryVstsConfiguration = FactoryRepoConfiguration & { + type: "FactoryVSTSConfiguration"; + projectName: string; + tenantId?: string; +}; + +// @public +export type FileServerLinkedService = LinkedService & { + type: "FileServer"; + host: Record; + userId?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type FileServerLocation = DatasetLocation & { + type: "FileServerLocation"; +}; + +// @public +export type FileServerReadSettings = StoreReadSettings & { + type: "FileServerReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; + fileFilter?: Record; +}; + +// @public +export type FileServerWriteSettings = StoreWriteSettings & { + type: "FileServerWriteSettings"; +}; + +// @public +export type FileShareDataset = Dataset & { + type: "FileShare"; + folderPath?: Record; + fileName?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; + format?: DatasetStorageFormatUnion; + fileFilter?: Record; + compression?: DatasetCompression; +}; + +// @public +export type FileSystemSink = CopySink & { + type: "FileSystemSink"; + copyBehavior?: Record; +}; + +// @public +export type FileSystemSource = CopySource & { + type: "FileSystemSource"; + recursive?: Record; + additionalColumns?: Record; +}; + +// @public +export type FilterActivity = ControlActivity & { + type: "Filter"; + items: Expression; + condition: Expression; +}; + +// @public +export type Flowlet = DataFlow & { + type: "Flowlet"; + [property: string]: any; + sources?: DataFlowSource[]; + sinks?: DataFlowSink[]; + transformations?: Transformation[]; + script?: string; + scriptLines?: string[]; + additionalProperties?: Record; +}; + +// @public +export type ForEachActivity = ControlActivity & { + type: "ForEach"; + isSequential?: boolean; + batchCount?: number; + items: Expression; + activities: ActivityUnion[]; +}; + +// @public +export interface FormatReadSettings { + [property: string]: any; + type: "DelimitedTextReadSettings" | "JsonReadSettings" | "XmlReadSettings" | "BinaryReadSettings"; +} + +// @public (undocumented) +export type FormatReadSettingsUnion = FormatReadSettings | DelimitedTextReadSettings | JsonReadSettings | XmlReadSettings | BinaryReadSettings; + +// @public +export interface FormatWriteSettings { + [property: string]: any; + type: "AvroWriteSettings" | "OrcWriteSettings" | "ParquetWriteSettings" | "DelimitedTextWriteSettings" | "JsonWriteSettings"; +} + +// @public (undocumented) +export type FormatWriteSettingsUnion = FormatWriteSettings | AvroWriteSettings | OrcWriteSettings | ParquetWriteSettings | DelimitedTextWriteSettings | JsonWriteSettings; + +// @public +export type FtpAuthenticationType = string; + +// @public +export type FtpReadSettings = StoreReadSettings & { + type: "FtpReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + fileListPath?: Record; + useBinaryTransfer?: boolean; +}; + +// @public +export type FtpServerLinkedService = LinkedService & { + type: "FtpServer"; + host: Record; + port?: Record; + authenticationType?: FtpAuthenticationType; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; + enableSsl?: Record; + enableServerCertificateValidation?: Record; +}; + +// @public +export type FtpServerLocation = DatasetLocation & { + type: "FtpServerLocation"; +}; + +// @public +export interface GetDataFactoryOperationStatusResponse { + [property: string]: any; + status?: string; +} + +// @public +export type GetMetadataActivity = ExecutionActivity & { + type: "GetMetadata"; + dataset: DatasetReference; + fieldList?: Record[]; + storeSettings?: StoreReadSettingsUnion; + formatSettings?: FormatReadSettingsUnion; +}; + +// @public +export interface GetSsisObjectMetadataRequest { + metadataPath?: string; +} + +// @public +export interface GitHubAccessTokenRequest { + gitHubAccessCode: string; + gitHubAccessTokenBaseUrl: string; + gitHubClientId?: string; + gitHubClientSecret?: GitHubClientSecret; +} + +// @public +export interface GitHubAccessTokenResponse { + gitHubAccessToken?: string; +} + +// @public +export interface GitHubClientSecret { + byoaSecretAkvUrl?: string; + byoaSecretName?: string; +} + +// @public +export interface GlobalParameterSpecification { + type: GlobalParameterType; + value: Record; +} + +// @public +export type GlobalParameterType = string; + +// @public +export type GoogleAdWordsAuthenticationType = string; + +// @public +export type GoogleAdWordsLinkedService = LinkedService & { + type: "GoogleAdWords"; + clientCustomerID: Record; + developerToken: SecretBaseUnion; + authenticationType: GoogleAdWordsAuthenticationType; + refreshToken?: SecretBaseUnion; + clientId?: Record; + clientSecret?: SecretBaseUnion; + email?: Record; + keyFilePath?: Record; + trustedCertPath?: Record; + useSystemTrustStore?: Record; + encryptedCredential?: Record; +}; + +// @public +export type GoogleAdWordsObjectDataset = Dataset & { + type: "GoogleAdWordsObject"; + tableName?: Record; +}; + +// @public +export type GoogleAdWordsSource = TabularSource & { + type: "GoogleAdWordsSource"; + query?: Record; +}; + +// @public +export type GoogleBigQueryAuthenticationType = string; + +// @public +export type GoogleBigQueryLinkedService = LinkedService & { + type: "GoogleBigQuery"; + project: Record; + additionalProjects?: Record; + requestGoogleDriveScope?: Record; + authenticationType: GoogleBigQueryAuthenticationType; + refreshToken?: SecretBaseUnion; + clientId?: Record; + clientSecret?: SecretBaseUnion; + email?: Record; + keyFilePath?: Record; + trustedCertPath?: Record; + useSystemTrustStore?: Record; + encryptedCredential?: Record; +}; + +// @public +export type GoogleBigQueryObjectDataset = Dataset & { + type: "GoogleBigQueryObject"; + tableName?: Record; + table?: Record; + dataset?: Record; +}; + +// @public +export type GoogleBigQuerySource = TabularSource & { + type: "GoogleBigQuerySource"; + query?: Record; +}; + +// @public +export type GoogleCloudStorageLinkedService = LinkedService & { + type: "GoogleCloudStorage"; + accessKeyId?: Record; + secretAccessKey?: SecretBaseUnion; + serviceUrl?: Record; + encryptedCredential?: Record; +}; + +// @public +export type GoogleCloudStorageLocation = DatasetLocation & { + type: "GoogleCloudStorageLocation"; + bucketName?: Record; + version?: Record; +}; + +// @public +export type GoogleCloudStorageReadSettings = StoreReadSettings & { + type: "GoogleCloudStorageReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + prefix?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type GreenplumLinkedService = LinkedService & { + type: "Greenplum"; + connectionString?: Record; + pwd?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type GreenplumSource = TabularSource & { + type: "GreenplumSource"; + query?: Record; +}; + +// @public +export type GreenplumTableDataset = Dataset & { + type: "GreenplumTable"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type HBaseAuthenticationType = string; + +// @public +export type HBaseLinkedService = LinkedService & { + type: "HBase"; + host: Record; + port?: Record; + httpPath?: Record; + authenticationType: HBaseAuthenticationType; + username?: Record; + password?: SecretBaseUnion; + enableSsl?: Record; + trustedCertPath?: Record; + allowHostNameCNMismatch?: Record; + allowSelfSignedServerCert?: Record; + encryptedCredential?: Record; +}; + +// @public +export type HBaseObjectDataset = Dataset & { + type: "HBaseObject"; + tableName?: Record; +}; + +// @public +export type HBaseSource = TabularSource & { + type: "HBaseSource"; + query?: Record; +}; + +// @public +export type HdfsLinkedService = LinkedService & { + type: "Hdfs"; + url: Record; + authenticationType?: Record; + encryptedCredential?: Record; + userName?: Record; + password?: SecretBaseUnion; +}; + +// @public +export type HdfsLocation = DatasetLocation & { + type: "HdfsLocation"; +}; + +// @public +export type HdfsReadSettings = StoreReadSettings & { + type: "HdfsReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; + distcpSettings?: DistcpSettings; + deleteFilesAfterCompletion?: Record; +}; + +// @public +export type HdfsSource = CopySource & { + type: "HdfsSource"; + recursive?: Record; + distcpSettings?: DistcpSettings; +}; + +// @public +export type HdiNodeTypes = string; + +// @public +export type HDInsightActivityDebugInfoOption = string; + +// @public +export type HDInsightHiveActivity = ExecutionActivity & { + type: "HDInsightHive"; + storageLinkedServices?: LinkedServiceReference[]; + arguments?: Record[]; + getDebugInfo?: HDInsightActivityDebugInfoOption; + scriptPath?: Record; + scriptLinkedService?: LinkedServiceReference; + defines?: { + [propertyName: string]: Record; + }; + variables?: Record[]; + queryTimeout?: number; +}; + +// @public +export type HDInsightLinkedService = LinkedService & { + type: "HDInsight"; + clusterUri: Record; + userName?: Record; + password?: SecretBaseUnion; + linkedServiceName?: LinkedServiceReference; + hcatalogLinkedServiceName?: LinkedServiceReference; + encryptedCredential?: Record; + isEspEnabled?: Record; + fileSystem?: Record; +}; + +// @public +export type HDInsightMapReduceActivity = ExecutionActivity & { + type: "HDInsightMapReduce"; + storageLinkedServices?: LinkedServiceReference[]; + arguments?: Record[]; + getDebugInfo?: HDInsightActivityDebugInfoOption; + className: Record; + jarFilePath: Record; + jarLinkedService?: LinkedServiceReference; + jarLibs?: Record[]; + defines?: { + [propertyName: string]: Record; + }; +}; + +// @public +export type HDInsightOnDemandLinkedService = LinkedService & { + type: "HDInsightOnDemand"; + clusterSize: Record; + timeToLive: Record; + version: Record; + linkedServiceName: LinkedServiceReference; + hostSubscriptionId: Record; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant: Record; + clusterResourceGroup: Record; + clusterNamePrefix?: Record; + clusterUserName?: Record; + clusterPassword?: SecretBaseUnion; + clusterSshUserName?: Record; + clusterSshPassword?: SecretBaseUnion; + additionalLinkedServiceNames?: LinkedServiceReference[]; + hcatalogLinkedServiceName?: LinkedServiceReference; + clusterType?: Record; + sparkVersion?: Record; + coreConfiguration?: Record; + hBaseConfiguration?: Record; + hdfsConfiguration?: Record; + hiveConfiguration?: Record; + mapReduceConfiguration?: Record; + oozieConfiguration?: Record; + stormConfiguration?: Record; + yarnConfiguration?: Record; + encryptedCredential?: Record; + headNodeSize?: Record; + dataNodeSize?: Record; + zookeeperNodeSize?: Record; + scriptActions?: ScriptAction[]; + virtualNetworkId?: Record; + subnetName?: Record; + credential?: CredentialReference; +}; + +// @public +export type HDInsightPigActivity = ExecutionActivity & { + type: "HDInsightPig"; + storageLinkedServices?: LinkedServiceReference[]; + arguments?: Record; + getDebugInfo?: HDInsightActivityDebugInfoOption; + scriptPath?: Record; + scriptLinkedService?: LinkedServiceReference; + defines?: { + [propertyName: string]: Record; + }; +}; + +// @public +export type HDInsightSparkActivity = ExecutionActivity & { + type: "HDInsightSpark"; + rootPath: Record; + entryFilePath: Record; + arguments?: Record[]; + getDebugInfo?: HDInsightActivityDebugInfoOption; + sparkJobLinkedService?: LinkedServiceReference; + className?: string; + proxyUser?: Record; + sparkConfig?: { + [propertyName: string]: Record; + }; +}; + +// @public +export type HDInsightStreamingActivity = ExecutionActivity & { + type: "HDInsightStreaming"; + storageLinkedServices?: LinkedServiceReference[]; + arguments?: Record[]; + getDebugInfo?: HDInsightActivityDebugInfoOption; + mapper: Record; + reducer: Record; + input: Record; + output: Record; + filePaths: Record[]; + fileLinkedService?: LinkedServiceReference; + combiner?: Record; + commandEnvironment?: Record[]; + defines?: { + [propertyName: string]: Record; + }; +}; + +// @public +export type HiveAuthenticationType = string; + +// @public +export type HiveLinkedService = LinkedService & { + type: "Hive"; + host: Record; + port?: Record; + serverType?: HiveServerType; + thriftTransportProtocol?: HiveThriftTransportProtocol; + authenticationType: HiveAuthenticationType; + serviceDiscoveryMode?: Record; + zooKeeperNameSpace?: Record; + useNativeQuery?: Record; + username?: Record; + password?: SecretBaseUnion; + httpPath?: Record; + enableSsl?: Record; + trustedCertPath?: Record; + useSystemTrustStore?: Record; + allowHostNameCNMismatch?: Record; + allowSelfSignedServerCert?: Record; + encryptedCredential?: Record; +}; + +// @public +export type HiveObjectDataset = Dataset & { + type: "HiveObject"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type HiveServerType = string; + +// @public +export type HiveSource = TabularSource & { + type: "HiveSource"; + query?: Record; +}; + +// @public +export type HiveThriftTransportProtocol = string; + +// @public +export type HttpAuthenticationType = string; + +// @public +export type HttpDataset = Dataset & { + type: "HttpFile"; + relativeUrl?: Record; + requestMethod?: Record; + requestBody?: Record; + additionalHeaders?: Record; + format?: DatasetStorageFormatUnion; + compression?: DatasetCompression; +}; + +// @public +export type HttpLinkedService = LinkedService & { + type: "HttpServer"; + url: Record; + authenticationType?: HttpAuthenticationType; + userName?: Record; + password?: SecretBaseUnion; + authHeaders?: Record; + embeddedCertData?: Record; + certThumbprint?: Record; + encryptedCredential?: Record; + enableServerCertificateValidation?: Record; +}; + +// @public +export type HttpReadSettings = StoreReadSettings & { + type: "HttpReadSettings"; + requestMethod?: Record; + requestBody?: Record; + additionalHeaders?: Record; + requestTimeout?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; +}; + +// @public +export type HttpServerLocation = DatasetLocation & { + type: "HttpServerLocation"; + relativeUrl?: Record; +}; + +// @public +export type HttpSource = CopySource & { + type: "HttpSource"; + httpRequestTimeout?: Record; +}; + +// @public +export type HubspotLinkedService = LinkedService & { + type: "Hubspot"; + clientId: Record; + clientSecret?: SecretBaseUnion; + accessToken?: SecretBaseUnion; + refreshToken?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type HubspotObjectDataset = Dataset & { + type: "HubspotObject"; + tableName?: Record; +}; + +// @public +export type HubspotSource = TabularSource & { + type: "HubspotSource"; + query?: Record; +}; + +// @public +export type IfConditionActivity = ControlActivity & { + type: "IfCondition"; + expression: Expression; + ifTrueActivities?: ActivityUnion[]; + ifFalseActivities?: ActivityUnion[]; +}; + +// @public +export type ImpalaAuthenticationType = string; + +// @public +export type ImpalaLinkedService = LinkedService & { + type: "Impala"; + host: Record; + port?: Record; + authenticationType: ImpalaAuthenticationType; + username?: Record; + password?: SecretBaseUnion; + enableSsl?: Record; + trustedCertPath?: Record; + useSystemTrustStore?: Record; + allowHostNameCNMismatch?: Record; + allowSelfSignedServerCert?: Record; + encryptedCredential?: Record; +}; + +// @public +export type ImpalaObjectDataset = Dataset & { + type: "ImpalaObject"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type ImpalaSource = TabularSource & { + type: "ImpalaSource"; + query?: Record; +}; + +// @public +export interface ImportSettings { + [property: string]: any; + type: "AzureDatabricksDeltaLakeImportCommand" | "SnowflakeImportCopyCommand"; +} + +// @public (undocumented) +export type ImportSettingsUnion = ImportSettings | AzureDatabricksDeltaLakeImportCommand | SnowflakeImportCopyCommand; + +// @public +export type InformixLinkedService = LinkedService & { + type: "Informix"; + connectionString: Record; + authenticationType?: Record; + credential?: SecretBaseUnion; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type InformixSink = CopySink & { + type: "InformixSink"; + preCopyScript?: Record; +}; + +// @public +export type InformixSource = TabularSource & { + type: "InformixSource"; + query?: Record; +}; + +// @public +export type InformixTableDataset = Dataset & { + type: "InformixTable"; + tableName?: Record; +}; + +// @public +export interface IntegrationRuntime { + [property: string]: any; + description?: string; + type: "Managed" | "SelfHosted"; +} + +// @public +export type IntegrationRuntimeAuthKeyName = string; + +// @public +export interface IntegrationRuntimeAuthKeys { + authKey1?: string; + authKey2?: string; +} + +// @public +export type IntegrationRuntimeAutoUpdate = string; + +// @public +export interface IntegrationRuntimeComputeProperties { + [property: string]: any; + dataFlowProperties?: IntegrationRuntimeDataFlowProperties; + location?: string; + maxParallelExecutionsPerNode?: number; + nodeSize?: string; + numberOfNodes?: number; + vNetProperties?: IntegrationRuntimeVNetProperties; +} + +// @public +export interface IntegrationRuntimeConnectionInfo { + [property: string]: any; + readonly hostServiceUri?: string; + readonly identityCertThumbprint?: string; + readonly isIdentityCertExprired?: boolean; + readonly publicKey?: string; + readonly serviceToken?: string; + readonly version?: string; +} + +// @public +export interface IntegrationRuntimeCustomerVirtualNetwork { + subnetId?: string; +} + +// @public +export interface IntegrationRuntimeCustomSetupScriptProperties { + blobContainerUri?: string; + sasToken?: SecureString; +} + +// @public +export interface IntegrationRuntimeDataFlowProperties { + [property: string]: any; + cleanup?: boolean; + computeType?: DataFlowComputeType; + coreCount?: number; + timeToLive?: number; +} + +// @public +export interface IntegrationRuntimeDataProxyProperties { + connectVia?: EntityReference; + path?: string; + stagingLinkedService?: EntityReference; +} + +// @public +export type IntegrationRuntimeDebugResource = SubResourceDebugResource & { + properties: IntegrationRuntimeUnion; +}; + +// @public +export type IntegrationRuntimeEdition = string; + +// @public +export type IntegrationRuntimeEntityReferenceType = string; + +// @public +export type IntegrationRuntimeInternalChannelEncryptionMode = string; + +// @public +export type IntegrationRuntimeLicenseType = string; + +// @public +export interface IntegrationRuntimeListResponse { + nextLink?: string; + value: IntegrationRuntimeResource[]; +} + +// @public +export interface IntegrationRuntimeMonitoringData { + name?: string; + nodes?: IntegrationRuntimeNodeMonitoringData[]; +} + +// @public +export interface IntegrationRuntimeNodeIpAddress { + readonly ipAddress?: string; +} + +// @public +export interface IntegrationRuntimeNodeMonitoringData { + [property: string]: any; + readonly availableMemoryInMB?: number; + readonly concurrentJobsLimit?: number; + readonly concurrentJobsRunning?: number; + readonly cpuUtilization?: number; + readonly maxConcurrentJobs?: number; + readonly nodeName?: string; + readonly receivedBytes?: number; + readonly sentBytes?: number; +} + +// @public +export interface IntegrationRuntimeNodes { + delete(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: IntegrationRuntimeNodesDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: IntegrationRuntimeNodesGetOptionalParams): Promise; + getIpAddress(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: IntegrationRuntimeNodesGetIpAddressOptionalParams): Promise; + update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, updateIntegrationRuntimeNodeRequest: UpdateIntegrationRuntimeNodeRequest, options?: IntegrationRuntimeNodesUpdateOptionalParams): Promise; +} + +// @public +export interface IntegrationRuntimeNodesDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface IntegrationRuntimeNodesGetIpAddressOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimeNodesGetIpAddressResponse = IntegrationRuntimeNodeIpAddress; + +// @public +export interface IntegrationRuntimeNodesGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimeNodesGetResponse = SelfHostedIntegrationRuntimeNode; + +// @public +export interface IntegrationRuntimeNodesUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimeNodesUpdateResponse = SelfHostedIntegrationRuntimeNode; + +// @public +export interface IntegrationRuntimeObjectMetadata { + beginRefresh(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams): Promise, IntegrationRuntimeObjectMetadataRefreshResponse>>; + beginRefreshAndWait(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimeObjectMetadataGetOptionalParams): Promise; +} + +// @public +export interface IntegrationRuntimeObjectMetadataGetOptionalParams extends coreClient.OperationOptions { + getMetadataRequest?: GetSsisObjectMetadataRequest; +} + +// @public +export type IntegrationRuntimeObjectMetadataGetResponse = SsisObjectMetadataListResponse; + +// @public +export interface IntegrationRuntimeObjectMetadataRefreshOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type IntegrationRuntimeObjectMetadataRefreshResponse = SsisObjectMetadataStatusResponse; + +// @public +export interface IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint { + category?: string; + endpoints?: IntegrationRuntimeOutboundNetworkDependenciesEndpoint[]; +} + +// @public +export interface IntegrationRuntimeOutboundNetworkDependenciesEndpoint { + domainName?: string; + endpointDetails?: IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails[]; +} + +// @public +export interface IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails { + port?: number; +} + +// @public +export interface IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse { + value?: IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint[]; +} + +// @public +export interface IntegrationRuntimeReference { + parameters?: { + [propertyName: string]: Record; + }; + referenceName: string; + type: "IntegrationRuntimeReference"; +} + +// @public +export interface IntegrationRuntimeRegenerateKeyParameters { + keyName?: IntegrationRuntimeAuthKeyName; +} + +// @public +export type IntegrationRuntimeResource = SubResource & { + properties: IntegrationRuntimeUnion; +}; + +// @public +export interface IntegrationRuntimes { + beginStart(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesStartOptionalParams): Promise, IntegrationRuntimesStartResponse>>; + beginStartAndWait(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesStartOptionalParams): Promise; + beginStop(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesStopOptionalParams): Promise, void>>; + beginStopAndWait(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesStopOptionalParams): Promise; + createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: CreateLinkedIntegrationRuntimeRequest, options?: IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: IntegrationRuntimeResource, options?: IntegrationRuntimesCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesGetOptionalParams): Promise; + getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesGetConnectionInfoOptionalParams): Promise; + getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesGetMonitoringDataOptionalParams): Promise; + getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesGetStatusOptionalParams): Promise; + listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesListAuthKeysOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, options?: IntegrationRuntimesListByFactoryOptionalParams): PagedAsyncIterableIterator; + listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams): Promise; + regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: IntegrationRuntimeRegenerateKeyParameters, options?: IntegrationRuntimesRegenerateAuthKeyOptionalParams): Promise; + removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: LinkedIntegrationRuntimeRequest, options?: IntegrationRuntimesRemoveLinksOptionalParams): Promise; + syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesSyncCredentialsOptionalParams): Promise; + update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest, options?: IntegrationRuntimesUpdateOptionalParams): Promise; + upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: IntegrationRuntimesUpgradeOptionalParams): Promise; +} + +// @public +export interface IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse = IntegrationRuntimeStatusResponse; + +// @public +export interface IntegrationRuntimesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type IntegrationRuntimesCreateOrUpdateResponse = IntegrationRuntimeResource; + +// @public +export interface IntegrationRuntimesDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface IntegrationRuntimesGetConnectionInfoOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesGetConnectionInfoResponse = IntegrationRuntimeConnectionInfo; + +// @public +export interface IntegrationRuntimesGetMonitoringDataOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesGetMonitoringDataResponse = IntegrationRuntimeMonitoringData; + +// @public +export interface IntegrationRuntimesGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type IntegrationRuntimesGetResponse = IntegrationRuntimeResource; + +// @public +export interface IntegrationRuntimesGetStatusOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesGetStatusResponse = IntegrationRuntimeStatusResponse; + +// @public +export interface IntegrationRuntimesListAuthKeysOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesListAuthKeysResponse = IntegrationRuntimeAuthKeys; + +// @public +export interface IntegrationRuntimesListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesListByFactoryNextResponse = IntegrationRuntimeListResponse; + +// @public +export interface IntegrationRuntimesListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesListByFactoryResponse = IntegrationRuntimeListResponse; + +// @public +export interface IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse = IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse; + +// @public +export interface IntegrationRuntimesRegenerateAuthKeyOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesRegenerateAuthKeyResponse = IntegrationRuntimeAuthKeys; + +// @public +export interface IntegrationRuntimesRemoveLinksOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface IntegrationRuntimeSsisCatalogInfo { + [property: string]: any; + catalogAdminPassword?: SecureString; + catalogAdminUserName?: string; + catalogPricingTier?: IntegrationRuntimeSsisCatalogPricingTier; + catalogServerEndpoint?: string; + dualStandbyPairName?: string; +} + +// @public +export type IntegrationRuntimeSsisCatalogPricingTier = string; + +// @public +export interface IntegrationRuntimeSsisProperties { + [property: string]: any; + catalogInfo?: IntegrationRuntimeSsisCatalogInfo; + credential?: CredentialReference; + customSetupScriptProperties?: IntegrationRuntimeCustomSetupScriptProperties; + dataProxyProperties?: IntegrationRuntimeDataProxyProperties; + edition?: IntegrationRuntimeEdition; + expressCustomSetupProperties?: CustomSetupBaseUnion[]; + licenseType?: IntegrationRuntimeLicenseType; + packageStores?: PackageStore[]; +} + +// @public +export interface IntegrationRuntimesStartOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse; + +// @public +export interface IntegrationRuntimesStopOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface IntegrationRuntimesSyncCredentialsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimeState = string; + +// @public +export interface IntegrationRuntimeStatus { + [property: string]: any; + readonly dataFactoryName?: string; + readonly state?: IntegrationRuntimeState; + type: "Managed" | "SelfHosted"; +} + +// @public +export interface IntegrationRuntimeStatusListResponse { + nextLink?: string; + value: IntegrationRuntimeStatusResponse[]; +} + +// @public +export interface IntegrationRuntimeStatusResponse { + readonly name?: string; + properties: IntegrationRuntimeStatusUnion; +} + +// @public (undocumented) +export type IntegrationRuntimeStatusUnion = IntegrationRuntimeStatus | ManagedIntegrationRuntimeStatus | SelfHostedIntegrationRuntimeStatus; + +// @public +export interface IntegrationRuntimesUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimesUpdateResponse = IntegrationRuntimeResource; + +// @public +export interface IntegrationRuntimesUpgradeOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type IntegrationRuntimeType = string; + +// @public (undocumented) +export type IntegrationRuntimeUnion = IntegrationRuntime | ManagedIntegrationRuntime | SelfHostedIntegrationRuntime; + +// @public +export type IntegrationRuntimeUpdateResult = string; + +// @public +export interface IntegrationRuntimeVNetProperties { + [property: string]: any; + publicIPs?: string[]; + subnet?: string; + subnetId?: string; + vNetId?: string; +} + +// @public +export type JiraLinkedService = LinkedService & { + type: "Jira"; + host: Record; + port?: Record; + username: Record; + password?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type JiraObjectDataset = Dataset & { + type: "JiraObject"; + tableName?: Record; +}; + +// @public +export type JiraSource = TabularSource & { + type: "JiraSource"; + query?: Record; +}; + +// @public +export type JsonDataset = Dataset & { + type: "Json"; + location?: DatasetLocationUnion; + encodingName?: Record; + compression?: DatasetCompression; +}; + +// @public +export type JsonFormat = DatasetStorageFormat & { + type: "JsonFormat"; + filePattern?: Record; + nestingSeparator?: Record; + encodingName?: Record; + jsonNodeReference?: Record; + jsonPathDefinition?: Record; +}; + +// @public +export type JsonFormatFilePattern = string; + +// @public +export type JsonReadSettings = FormatReadSettings & { + type: "JsonReadSettings"; + compressionProperties?: CompressionReadSettingsUnion; +}; + +// @public +export type JsonSink = CopySink & { + type: "JsonSink"; + storeSettings?: StoreWriteSettingsUnion; + formatSettings?: JsonWriteSettings; +}; + +// @public +export type JsonSource = CopySource & { + type: "JsonSource"; + storeSettings?: StoreReadSettingsUnion; + formatSettings?: JsonReadSettings; + additionalColumns?: Record; +}; + +// @public +export type JsonWriteFilePattern = string; + +// @public +export type JsonWriteSettings = FormatWriteSettings & { + type: "JsonWriteSettings"; + filePattern?: Record; +}; + +// @public +export enum KnownAmazonRdsForOraclePartitionOption { + // (undocumented) + DynamicRange = "DynamicRange", + // (undocumented) + None = "None", + // (undocumented) + PhysicalPartitionsOfTable = "PhysicalPartitionsOfTable" +} + +// @public +export enum KnownAvroCompressionCodec { + // (undocumented) + Bzip2 = "bzip2", + // (undocumented) + Deflate = "deflate", + // (undocumented) + None = "none", + // (undocumented) + Snappy = "snappy", + // (undocumented) + Xz = "xz" +} + +// @public +export enum KnownAzureFunctionActivityMethod { + // (undocumented) + Delete = "DELETE", + // (undocumented) + GET = "GET", + // (undocumented) + Head = "HEAD", + // (undocumented) + Options = "OPTIONS", + // (undocumented) + Post = "POST", + // (undocumented) + PUT = "PUT", + // (undocumented) + Trace = "TRACE" +} + +// @public +export enum KnownAzureSearchIndexWriteBehaviorType { + // (undocumented) + Merge = "Merge", + // (undocumented) + Upload = "Upload" +} + +// @public +export enum KnownBlobEventTypes { + // (undocumented) + MicrosoftStorageBlobCreated = "Microsoft.Storage.BlobCreated", + // (undocumented) + MicrosoftStorageBlobDeleted = "Microsoft.Storage.BlobDeleted" +} + +// @public +export enum KnownCassandraSourceReadConsistencyLevels { + // (undocumented) + ALL = "ALL", + // (undocumented) + EachQuorum = "EACH_QUORUM", + // (undocumented) + LocalONE = "LOCAL_ONE", + // (undocumented) + LocalQuorum = "LOCAL_QUORUM", + // (undocumented) + LocalSerial = "LOCAL_SERIAL", + // (undocumented) + ONE = "ONE", + // (undocumented) + Quorum = "QUORUM", + // (undocumented) + Serial = "SERIAL", + // (undocumented) + Three = "THREE", + // (undocumented) + TWO = "TWO" +} + +// @public +export enum KnownCompressionCodec { + // (undocumented) + Bzip2 = "bzip2", + // (undocumented) + Deflate = "deflate", + // (undocumented) + Gzip = "gzip", + // (undocumented) + Lz4 = "lz4", + // (undocumented) + Lzo = "lzo", + // (undocumented) + None = "none", + // (undocumented) + Snappy = "snappy", + // (undocumented) + Tar = "tar", + // (undocumented) + TarGZip = "tarGZip", + // (undocumented) + ZipDeflate = "zipDeflate" +} + +// @public +export enum KnownCopyBehaviorType { + // (undocumented) + FlattenHierarchy = "FlattenHierarchy", + // (undocumented) + MergeFiles = "MergeFiles", + // (undocumented) + PreserveHierarchy = "PreserveHierarchy" +} + +// @public +export enum KnownCosmosDbConnectionMode { + // (undocumented) + Direct = "Direct", + // (undocumented) + Gateway = "Gateway" +} + +// @public +export enum KnownCosmosDbServicePrincipalCredentialType { + // (undocumented) + ServicePrincipalCert = "ServicePrincipalCert", + // (undocumented) + ServicePrincipalKey = "ServicePrincipalKey" +} + +// @public +export enum KnownDataFlowComputeType { + // (undocumented) + ComputeOptimized = "ComputeOptimized", + // (undocumented) + General = "General", + // (undocumented) + MemoryOptimized = "MemoryOptimized" +} + +// @public +export enum KnownDataFlowDebugCommandType { + // (undocumented) + ExecuteExpressionQuery = "executeExpressionQuery", + // (undocumented) + ExecutePreviewQuery = "executePreviewQuery", + // (undocumented) + ExecuteStatisticsQuery = "executeStatisticsQuery" +} + +// @public +export enum KnownDatasetCompressionLevel { + // (undocumented) + Fastest = "Fastest", + // (undocumented) + Optimal = "Optimal" +} + +// @public +export enum KnownDb2AuthenticationType { + // (undocumented) + Basic = "Basic" +} + +// @public +export enum KnownDependencyCondition { + // (undocumented) + Completed = "Completed", + // (undocumented) + Failed = "Failed", + // (undocumented) + Skipped = "Skipped", + // (undocumented) + Succeeded = "Succeeded" +} + +// @public +export enum KnownDynamicsAuthenticationType { + // (undocumented) + AADServicePrincipal = "AADServicePrincipal", + // (undocumented) + Ifd = "Ifd", + // (undocumented) + Office365 = "Office365" +} + +// @public +export enum KnownDynamicsDeploymentType { + // (undocumented) + Online = "Online", + // (undocumented) + OnPremisesWithIfd = "OnPremisesWithIfd" +} + +// @public +export enum KnownDynamicsSinkWriteBehavior { + // (undocumented) + Upsert = "Upsert" +} + +// @public +export enum KnownEventSubscriptionStatus { + // (undocumented) + Deprovisioning = "Deprovisioning", + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled", + // (undocumented) + Provisioning = "Provisioning", + // (undocumented) + Unknown = "Unknown" +} + +// @public +export enum KnownFactoryIdentityType { + // (undocumented) + SystemAssigned = "SystemAssigned", + // (undocumented) + SystemAssignedUserAssigned = "SystemAssigned,UserAssigned", + // (undocumented) + UserAssigned = "UserAssigned" +} + +// @public +export enum KnownFtpAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Basic = "Basic" +} + +// @public +export enum KnownGlobalParameterType { + // (undocumented) + Array = "Array", + // (undocumented) + Bool = "Bool", + // (undocumented) + Float = "Float", + // (undocumented) + Int = "Int", + // (undocumented) + Object = "Object", + // (undocumented) + String = "String" +} + +// @public +export enum KnownGoogleAdWordsAuthenticationType { + // (undocumented) + ServiceAuthentication = "ServiceAuthentication", + // (undocumented) + UserAuthentication = "UserAuthentication" +} + +// @public +export enum KnownGoogleBigQueryAuthenticationType { + // (undocumented) + ServiceAuthentication = "ServiceAuthentication", + // (undocumented) + UserAuthentication = "UserAuthentication" +} + +// @public +export enum KnownHBaseAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Basic = "Basic" +} + +// @public +export enum KnownHdiNodeTypes { + // (undocumented) + Headnode = "Headnode", + // (undocumented) + Workernode = "Workernode", + // (undocumented) + Zookeeper = "Zookeeper" +} + +// @public +export enum KnownHDInsightActivityDebugInfoOption { + // (undocumented) + Always = "Always", + // (undocumented) + Failure = "Failure", + // (undocumented) + None = "None" +} + +// @public +export enum KnownHiveAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Username = "Username", + // (undocumented) + UsernameAndPassword = "UsernameAndPassword", + // (undocumented) + WindowsAzureHDInsightService = "WindowsAzureHDInsightService" +} + +// @public +export enum KnownHiveServerType { + // (undocumented) + HiveServer1 = "HiveServer1", + // (undocumented) + HiveServer2 = "HiveServer2", + // (undocumented) + HiveThriftServer = "HiveThriftServer" +} + +// @public +export enum KnownHiveThriftTransportProtocol { + // (undocumented) + Binary = "Binary", + // (undocumented) + Http = "HTTP ", + // (undocumented) + Sasl = "SASL" +} + +// @public +export enum KnownHttpAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Basic = "Basic", + // (undocumented) + ClientCertificate = "ClientCertificate", + // (undocumented) + Digest = "Digest", + // (undocumented) + Windows = "Windows" +} + +// @public +export enum KnownImpalaAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + SaslUsername = "SASLUsername", + // (undocumented) + UsernameAndPassword = "UsernameAndPassword" +} + +// @public +export enum KnownIntegrationRuntimeAuthKeyName { + // (undocumented) + AuthKey1 = "authKey1", + // (undocumented) + AuthKey2 = "authKey2" +} + +// @public +export enum KnownIntegrationRuntimeAutoUpdate { + // (undocumented) + Off = "Off", + // (undocumented) + On = "On" +} + +// @public +export enum KnownIntegrationRuntimeEdition { + // (undocumented) + Enterprise = "Enterprise", + // (undocumented) + Standard = "Standard" +} + +// @public +export enum KnownIntegrationRuntimeEntityReferenceType { + // (undocumented) + IntegrationRuntimeReference = "IntegrationRuntimeReference", + // (undocumented) + LinkedServiceReference = "LinkedServiceReference" +} + +// @public +export enum KnownIntegrationRuntimeInternalChannelEncryptionMode { + // (undocumented) + NotEncrypted = "NotEncrypted", + // (undocumented) + NotSet = "NotSet", + // (undocumented) + SslEncrypted = "SslEncrypted" +} + +// @public +export enum KnownIntegrationRuntimeLicenseType { + // (undocumented) + BasePrice = "BasePrice", + // (undocumented) + LicenseIncluded = "LicenseIncluded" +} + +// @public +export enum KnownIntegrationRuntimeSsisCatalogPricingTier { + // (undocumented) + Basic = "Basic", + // (undocumented) + Premium = "Premium", + // (undocumented) + PremiumRS = "PremiumRS", + // (undocumented) + Standard = "Standard" +} + +// @public +export enum KnownIntegrationRuntimeState { + // (undocumented) + AccessDenied = "AccessDenied", + // (undocumented) + Initial = "Initial", + // (undocumented) + Limited = "Limited", + // (undocumented) + NeedRegistration = "NeedRegistration", + // (undocumented) + Offline = "Offline", + // (undocumented) + Online = "Online", + // (undocumented) + Started = "Started", + // (undocumented) + Starting = "Starting", + // (undocumented) + Stopped = "Stopped", + // (undocumented) + Stopping = "Stopping" +} + +// @public +export enum KnownIntegrationRuntimeType { + // (undocumented) + Managed = "Managed", + // (undocumented) + SelfHosted = "SelfHosted" +} + +// @public +export enum KnownIntegrationRuntimeUpdateResult { + // (undocumented) + Fail = "Fail", + // (undocumented) + None = "None", + // (undocumented) + Succeed = "Succeed" +} + +// @public +export enum KnownJsonFormatFilePattern { + // (undocumented) + ArrayOfObjects = "arrayOfObjects", + // (undocumented) + SetOfObjects = "setOfObjects" +} + +// @public +export enum KnownJsonWriteFilePattern { + // (undocumented) + ArrayOfObjects = "arrayOfObjects", + // (undocumented) + SetOfObjects = "setOfObjects" +} + +// @public +export enum KnownManagedIntegrationRuntimeNodeStatus { + // (undocumented) + Available = "Available", + // (undocumented) + Recycling = "Recycling", + // (undocumented) + Starting = "Starting", + // (undocumented) + Unavailable = "Unavailable" +} + +// @public +export enum KnownMongoDbAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Basic = "Basic" +} + +// @public +export enum KnownNetezzaPartitionOption { + // (undocumented) + DataSlice = "DataSlice", + // (undocumented) + DynamicRange = "DynamicRange", + // (undocumented) + None = "None" +} + +// @public +export enum KnownODataAadServicePrincipalCredentialType { + // (undocumented) + ServicePrincipalCert = "ServicePrincipalCert", + // (undocumented) + ServicePrincipalKey = "ServicePrincipalKey" +} + +// @public +export enum KnownODataAuthenticationType { + // (undocumented) + AadServicePrincipal = "AadServicePrincipal", + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Basic = "Basic", + // (undocumented) + ManagedServiceIdentity = "ManagedServiceIdentity", + // (undocumented) + Windows = "Windows" +} + +// @public +export enum KnownOraclePartitionOption { + // (undocumented) + DynamicRange = "DynamicRange", + // (undocumented) + None = "None", + // (undocumented) + PhysicalPartitionsOfTable = "PhysicalPartitionsOfTable" +} + +// @public +export enum KnownOrcCompressionCodec { + // (undocumented) + Lzo = "lzo", + // (undocumented) + None = "none", + // (undocumented) + Snappy = "snappy", + // (undocumented) + Zlib = "zlib" +} + +// @public +export enum KnownParameterType { + // (undocumented) + Array = "Array", + // (undocumented) + Bool = "Bool", + // (undocumented) + Float = "Float", + // (undocumented) + Int = "Int", + // (undocumented) + Object = "Object", + // (undocumented) + SecureString = "SecureString", + // (undocumented) + String = "String" +} + +// @public +export enum KnownPhoenixAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + UsernameAndPassword = "UsernameAndPassword", + // (undocumented) + WindowsAzureHDInsightService = "WindowsAzureHDInsightService" +} + +// @public +export enum KnownPolybaseSettingsRejectType { + // (undocumented) + Percentage = "percentage", + // (undocumented) + Value = "value" +} + +// @public +export enum KnownPrestoAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Ldap = "LDAP" +} + +// @public +export enum KnownPublicNetworkAccess { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Enabled = "Enabled" +} + +// @public +export enum KnownRecurrenceFrequency { + // (undocumented) + Day = "Day", + // (undocumented) + Hour = "Hour", + // (undocumented) + Minute = "Minute", + // (undocumented) + Month = "Month", + // (undocumented) + NotSpecified = "NotSpecified", + // (undocumented) + Week = "Week", + // (undocumented) + Year = "Year" +} + +// @public +export enum KnownRestServiceAuthenticationType { + // (undocumented) + AadServicePrincipal = "AadServicePrincipal", + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Basic = "Basic", + // (undocumented) + ManagedServiceIdentity = "ManagedServiceIdentity" +} + +// @public +export enum KnownRunQueryFilterOperand { + // (undocumented) + ActivityName = "ActivityName", + // (undocumented) + ActivityRunEnd = "ActivityRunEnd", + // (undocumented) + ActivityRunStart = "ActivityRunStart", + // (undocumented) + ActivityType = "ActivityType", + // (undocumented) + LatestOnly = "LatestOnly", + // (undocumented) + PipelineName = "PipelineName", + // (undocumented) + RunEnd = "RunEnd", + // (undocumented) + RunGroupId = "RunGroupId", + // (undocumented) + RunStart = "RunStart", + // (undocumented) + Status = "Status", + // (undocumented) + TriggerName = "TriggerName", + // (undocumented) + TriggerRunTimestamp = "TriggerRunTimestamp" +} + +// @public +export enum KnownRunQueryFilterOperator { + // (undocumented) + Equals = "Equals", + // (undocumented) + In = "In", + // (undocumented) + NotEquals = "NotEquals", + // (undocumented) + NotIn = "NotIn" +} + +// @public +export enum KnownRunQueryOrder { + // (undocumented) + ASC = "ASC", + // (undocumented) + Desc = "DESC" +} + +// @public +export enum KnownRunQueryOrderByField { + // (undocumented) + ActivityName = "ActivityName", + // (undocumented) + ActivityRunEnd = "ActivityRunEnd", + // (undocumented) + ActivityRunStart = "ActivityRunStart", + // (undocumented) + PipelineName = "PipelineName", + // (undocumented) + RunEnd = "RunEnd", + // (undocumented) + RunStart = "RunStart", + // (undocumented) + Status = "Status", + // (undocumented) + TriggerName = "TriggerName", + // (undocumented) + TriggerRunTimestamp = "TriggerRunTimestamp" +} + +// @public +export enum KnownSalesforceSinkWriteBehavior { + // (undocumented) + Insert = "Insert", + // (undocumented) + Upsert = "Upsert" +} + +// @public +export enum KnownSalesforceSourceReadBehavior { + // (undocumented) + Query = "Query", + // (undocumented) + QueryAll = "QueryAll" +} + +// @public +export enum KnownSapCloudForCustomerSinkWriteBehavior { + // (undocumented) + Insert = "Insert", + // (undocumented) + Update = "Update" +} + +// @public +export enum KnownSapHanaAuthenticationType { + // (undocumented) + Basic = "Basic", + // (undocumented) + Windows = "Windows" +} + +// @public +export enum KnownSapHanaPartitionOption { + // (undocumented) + None = "None", + // (undocumented) + PhysicalPartitionsOfTable = "PhysicalPartitionsOfTable", + // (undocumented) + SapHanaDynamicRange = "SapHanaDynamicRange" +} + +// @public +export enum KnownSapTablePartitionOption { + // (undocumented) + None = "None", + // (undocumented) + PartitionOnCalendarDate = "PartitionOnCalendarDate", + // (undocumented) + PartitionOnCalendarMonth = "PartitionOnCalendarMonth", + // (undocumented) + PartitionOnCalendarYear = "PartitionOnCalendarYear", + // (undocumented) + PartitionOnInt = "PartitionOnInt", + // (undocumented) + PartitionOnTime = "PartitionOnTime" +} + +// @public +export enum KnownSelfHostedIntegrationRuntimeNodeStatus { + // (undocumented) + InitializeFailed = "InitializeFailed", + // (undocumented) + Initializing = "Initializing", + // (undocumented) + Limited = "Limited", + // (undocumented) + NeedRegistration = "NeedRegistration", + // (undocumented) + Offline = "Offline", + // (undocumented) + Online = "Online", + // (undocumented) + Upgrading = "Upgrading" +} + +// @public +export enum KnownServiceNowAuthenticationType { + // (undocumented) + Basic = "Basic", + // (undocumented) + OAuth2 = "OAuth2" +} + +// @public +export enum KnownServicePrincipalCredentialType { + // (undocumented) + ServicePrincipalCert = "ServicePrincipalCert", + // (undocumented) + ServicePrincipalKey = "ServicePrincipalKey" +} + +// @public +export enum KnownSftpAuthenticationType { + // (undocumented) + Basic = "Basic", + // (undocumented) + MultiFactor = "MultiFactor", + // (undocumented) + SshPublicKey = "SshPublicKey" +} + +// @public +export enum KnownSparkAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Username = "Username", + // (undocumented) + UsernameAndPassword = "UsernameAndPassword", + // (undocumented) + WindowsAzureHDInsightService = "WindowsAzureHDInsightService" +} + +// @public +export enum KnownSparkServerType { + // (undocumented) + SharkServer = "SharkServer", + // (undocumented) + SharkServer2 = "SharkServer2", + // (undocumented) + SparkThriftServer = "SparkThriftServer" +} + +// @public +export enum KnownSparkThriftTransportProtocol { + // (undocumented) + Binary = "Binary", + // (undocumented) + Http = "HTTP ", + // (undocumented) + Sasl = "SASL" +} + +// @public +export enum KnownSqlAlwaysEncryptedAkvAuthType { + // (undocumented) + ManagedIdentity = "ManagedIdentity", + // (undocumented) + ServicePrincipal = "ServicePrincipal", + // (undocumented) + UserAssignedManagedIdentity = "UserAssignedManagedIdentity" +} + +// @public +export enum KnownSqlDWWriteBehaviorEnum { + // (undocumented) + Insert = "Insert", + // (undocumented) + Upsert = "Upsert" +} + +// @public +export enum KnownSqlPartitionOption { + // (undocumented) + DynamicRange = "DynamicRange", + // (undocumented) + None = "None", + // (undocumented) + PhysicalPartitionsOfTable = "PhysicalPartitionsOfTable" +} + +// @public +export enum KnownSqlWriteBehaviorEnum { + // (undocumented) + Insert = "Insert", + // (undocumented) + StoredProcedure = "StoredProcedure", + // (undocumented) + Upsert = "Upsert" +} + +// @public +export enum KnownSsisLogLocationType { + // (undocumented) + File = "File" +} + +// @public +export enum KnownSsisObjectMetadataType { + // (undocumented) + Environment = "Environment", + // (undocumented) + Folder = "Folder", + // (undocumented) + Package = "Package", + // (undocumented) + Project = "Project" +} + +// @public +export enum KnownSsisPackageLocationType { + // (undocumented) + File = "File", + // (undocumented) + InlinePackage = "InlinePackage", + // (undocumented) + PackageStore = "PackageStore", + // (undocumented) + Ssisdb = "SSISDB" +} + +// @public +export enum KnownStoredProcedureParameterType { + // (undocumented) + Boolean = "Boolean", + // (undocumented) + Date = "Date", + // (undocumented) + Decimal = "Decimal", + // (undocumented) + Guid = "Guid", + // (undocumented) + Int = "Int", + // (undocumented) + Int64 = "Int64", + // (undocumented) + String = "String" +} + +// @public +export enum KnownSybaseAuthenticationType { + // (undocumented) + Basic = "Basic", + // (undocumented) + Windows = "Windows" +} + +// @public +export enum KnownTeradataAuthenticationType { + // (undocumented) + Basic = "Basic", + // (undocumented) + Windows = "Windows" +} + +// @public +export enum KnownTeradataPartitionOption { + // (undocumented) + DynamicRange = "DynamicRange", + // (undocumented) + Hash = "Hash", + // (undocumented) + None = "None" +} + +// @public +export enum KnownTriggerRunStatus { + // (undocumented) + Failed = "Failed", + // (undocumented) + Inprogress = "Inprogress", + // (undocumented) + Succeeded = "Succeeded" +} + +// @public +export enum KnownTriggerRuntimeState { + // (undocumented) + Disabled = "Disabled", + // (undocumented) + Started = "Started", + // (undocumented) + Stopped = "Stopped" +} + +// @public +export enum KnownTumblingWindowFrequency { + // (undocumented) + Hour = "Hour", + // (undocumented) + Minute = "Minute", + // (undocumented) + Month = "Month" +} + +// @public +export enum KnownVariableType { + // (undocumented) + Array = "Array", + // (undocumented) + Bool = "Bool", + // (undocumented) + String = "String" +} + +// @public +export enum KnownWebActivityMethod { + // (undocumented) + Delete = "DELETE", + // (undocumented) + GET = "GET", + // (undocumented) + Post = "POST", + // (undocumented) + PUT = "PUT" +} + +// @public +export enum KnownWebAuthenticationType { + // (undocumented) + Anonymous = "Anonymous", + // (undocumented) + Basic = "Basic", + // (undocumented) + ClientCertificate = "ClientCertificate" +} + +// @public +export enum KnownWebHookActivityMethod { + // (undocumented) + Post = "POST" +} + +// @public +export interface LinkedIntegrationRuntime { + readonly createTime?: Date; + readonly dataFactoryLocation?: string; + readonly dataFactoryName?: string; + readonly name?: string; + readonly subscriptionId?: string; +} + +// @public +export type LinkedIntegrationRuntimeKeyAuthorization = LinkedIntegrationRuntimeType & { + authorizationType: "Key"; + key: SecureString; +}; + +// @public +export type LinkedIntegrationRuntimeRbacAuthorization = LinkedIntegrationRuntimeType & { + authorizationType: "RBAC"; + resourceId: string; +}; + +// @public +export interface LinkedIntegrationRuntimeRequest { + linkedFactoryName: string; +} + +// @public +export interface LinkedIntegrationRuntimeType { + authorizationType: "Key" | "RBAC"; +} + +// @public (undocumented) +export type LinkedIntegrationRuntimeTypeUnion = LinkedIntegrationRuntimeType | LinkedIntegrationRuntimeKeyAuthorization | LinkedIntegrationRuntimeRbacAuthorization; + +// @public +export interface LinkedService { + [property: string]: any; + annotations?: Record[]; + connectVia?: IntegrationRuntimeReference; + description?: string; + parameters?: { + [propertyName: string]: ParameterSpecification; + }; + type: "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "AmazonS3Compatible" | "OracleCloudStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "RestService" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SharePointOnlineList"; +} + +// @public +export type LinkedServiceDebugResource = SubResourceDebugResource & { + properties: LinkedServiceUnion; +}; + +// @public +export interface LinkedServiceListResponse { + nextLink?: string; + value: LinkedServiceResource[]; +} + +// @public +export interface LinkedServiceReference { + parameters?: { + [propertyName: string]: Record; + }; + referenceName: string; + type: "LinkedServiceReference"; +} + +// @public +export type LinkedServiceResource = SubResource & { + properties: LinkedServiceUnion; +}; + +// @public +export interface LinkedServices { + createOrUpdate(resourceGroupName: string, factoryName: string, linkedServiceName: string, linkedService: LinkedServiceResource, options?: LinkedServicesCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, linkedServiceName: string, options?: LinkedServicesDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, linkedServiceName: string, options?: LinkedServicesGetOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, options?: LinkedServicesListByFactoryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface LinkedServicesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type LinkedServicesCreateOrUpdateResponse = LinkedServiceResource; + +// @public +export interface LinkedServicesDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface LinkedServicesGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type LinkedServicesGetResponse = LinkedServiceResource; + +// @public +export interface LinkedServicesListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type LinkedServicesListByFactoryNextResponse = LinkedServiceListResponse; + +// @public +export interface LinkedServicesListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type LinkedServicesListByFactoryResponse = LinkedServiceListResponse; + +// @public (undocumented) +export type LinkedServiceUnion = LinkedService | AzureStorageLinkedService | AzureBlobStorageLinkedService | AzureTableStorageLinkedService | AzureSqlDWLinkedService | SqlServerLinkedService | AmazonRdsForSqlServerLinkedService | AzureSqlDatabaseLinkedService | AzureSqlMILinkedService | AzureBatchLinkedService | AzureKeyVaultLinkedService | CosmosDbLinkedService | DynamicsLinkedService | DynamicsCrmLinkedService | CommonDataServiceForAppsLinkedService | HDInsightLinkedService | FileServerLinkedService | AzureFileStorageLinkedService | AmazonS3CompatibleLinkedService | OracleCloudStorageLinkedService | GoogleCloudStorageLinkedService | OracleLinkedService | AmazonRdsForOracleLinkedService | AzureMySqlLinkedService | MySqlLinkedService | PostgreSqlLinkedService | SybaseLinkedService | Db2LinkedService | TeradataLinkedService | AzureMLLinkedService | AzureMLServiceLinkedService | OdbcLinkedService | InformixLinkedService | MicrosoftAccessLinkedService | HdfsLinkedService | ODataLinkedService | WebLinkedService | CassandraLinkedService | MongoDbLinkedService | MongoDbAtlasLinkedService | MongoDbV2LinkedService | CosmosDbMongoDbApiLinkedService | AzureDataLakeStoreLinkedService | AzureBlobFSLinkedService | Office365LinkedService | SalesforceLinkedService | SalesforceServiceCloudLinkedService | SapCloudForCustomerLinkedService | SapEccLinkedService | SapOpenHubLinkedService | RestServiceLinkedService | AmazonS3LinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService | AzureSearchLinkedService | HttpLinkedService | FtpServerLinkedService | SftpServerLinkedService | SapBWLinkedService | SapHanaLinkedService | AmazonMWSLinkedService | AzurePostgreSqlLinkedService | ConcurLinkedService | CouchbaseLinkedService | DrillLinkedService | EloquaLinkedService | GoogleBigQueryLinkedService | GreenplumLinkedService | HBaseLinkedService | HiveLinkedService | HubspotLinkedService | ImpalaLinkedService | JiraLinkedService | MagentoLinkedService | MariaDBLinkedService | AzureMariaDBLinkedService | MarketoLinkedService | PaypalLinkedService | PhoenixLinkedService | PrestoLinkedService | QuickBooksLinkedService | ServiceNowLinkedService | ShopifyLinkedService | SparkLinkedService | SquareLinkedService | XeroLinkedService | ZohoLinkedService | VerticaLinkedService | NetezzaLinkedService | SalesforceMarketingCloudLinkedService | HDInsightOnDemandLinkedService | AzureDataLakeAnalyticsLinkedService | AzureDatabricksLinkedService | AzureDatabricksDeltaLakeLinkedService | ResponsysLinkedService | DynamicsAXLinkedService | OracleServiceCloudLinkedService | GoogleAdWordsLinkedService | SapTableLinkedService | AzureDataExplorerLinkedService | AzureFunctionLinkedService | SnowflakeLinkedService | SharePointOnlineListLinkedService; + +// @public +export interface LogLocationSettings { + linkedServiceName: LinkedServiceReference; + path?: Record; +} + +// @public +export interface LogSettings { + copyActivityLogSettings?: CopyActivityLogSettings; + enableCopyActivityLog?: Record; + logLocationSettings: LogLocationSettings; +} + +// @public +export interface LogStorageSettings { + [property: string]: any; + enableReliableLogging?: Record; + linkedServiceName: LinkedServiceReference; + logLevel?: Record; + path?: Record; +} + +// @public +export type LookupActivity = ExecutionActivity & { + type: "Lookup"; + source: CopySourceUnion; + dataset: DatasetReference; + firstRowOnly?: Record; +}; + +// @public +export type MagentoLinkedService = LinkedService & { + type: "Magento"; + host: Record; + accessToken?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type MagentoObjectDataset = Dataset & { + type: "MagentoObject"; + tableName?: Record; +}; + +// @public +export type MagentoSource = TabularSource & { + type: "MagentoSource"; + query?: Record; +}; + +// @public +export type ManagedIdentityCredential = Credential_2 & { + type: "ManagedIdentity"; + resourceId?: string; +}; + +// @public +export type ManagedIntegrationRuntime = IntegrationRuntime & { + type: "Managed"; + readonly state?: IntegrationRuntimeState; + managedVirtualNetwork?: ManagedVirtualNetworkReference; + computeProperties?: IntegrationRuntimeComputeProperties; + ssisProperties?: IntegrationRuntimeSsisProperties; + customerVirtualNetwork?: IntegrationRuntimeCustomerVirtualNetwork; +}; + +// @public +export interface ManagedIntegrationRuntimeError { + [property: string]: any; + readonly code?: string; + readonly message?: string; + readonly parameters?: string[]; + readonly time?: Date; +} + +// @public +export interface ManagedIntegrationRuntimeNode { + [property: string]: any; + errors?: ManagedIntegrationRuntimeError[]; + readonly nodeId?: string; + readonly status?: ManagedIntegrationRuntimeNodeStatus; +} + +// @public +export type ManagedIntegrationRuntimeNodeStatus = string; + +// @public +export interface ManagedIntegrationRuntimeOperationResult { + [property: string]: any; + readonly activityId?: string; + readonly errorCode?: string; + readonly parameters?: string[]; + readonly result?: string; + readonly startTime?: Date; + readonly type?: string; +} + +// @public +export type ManagedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { + type: "Managed"; + readonly createTime?: Date; + readonly nodes?: ManagedIntegrationRuntimeNode[]; + readonly otherErrors?: ManagedIntegrationRuntimeError[]; + readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; +}; + +// @public +export interface ManagedPrivateEndpoint { + [property: string]: any; + connectionState?: ConnectionStateProperties; + fqdns?: string[]; + groupId?: string; + readonly isReserved?: boolean; + privateLinkResourceId?: string; + readonly provisioningState?: string; +} + +// @public +export interface ManagedPrivateEndpointListResponse { + nextLink?: string; + value: ManagedPrivateEndpointResource[]; +} + +// @public +export type ManagedPrivateEndpointResource = SubResource & { + properties: ManagedPrivateEndpoint; +}; + +// @public +export interface ManagedPrivateEndpoints { + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: ManagedPrivateEndpointResource, options?: ManagedPrivateEndpointsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: ManagedPrivateEndpointsDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: ManagedPrivateEndpointsGetOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: ManagedPrivateEndpointsListByFactoryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ManagedPrivateEndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type ManagedPrivateEndpointsCreateOrUpdateResponse = ManagedPrivateEndpointResource; + +// @public +export interface ManagedPrivateEndpointsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ManagedPrivateEndpointsGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type ManagedPrivateEndpointsGetResponse = ManagedPrivateEndpointResource; + +// @public +export interface ManagedPrivateEndpointsListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedPrivateEndpointsListByFactoryNextResponse = ManagedPrivateEndpointListResponse; + +// @public +export interface ManagedPrivateEndpointsListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedPrivateEndpointsListByFactoryResponse = ManagedPrivateEndpointListResponse; + +// @public +export interface ManagedVirtualNetwork { + [property: string]: any; + readonly alias?: string; + readonly vNetId?: string; +} + +// @public +export interface ManagedVirtualNetworkListResponse { + nextLink?: string; + value: ManagedVirtualNetworkResource[]; +} + +// @public +export interface ManagedVirtualNetworkReference { + referenceName: string; + type: "ManagedVirtualNetworkReference"; +} + +// @public +export type ManagedVirtualNetworkResource = SubResource & { + properties: ManagedVirtualNetwork; +}; + +// @public +export interface ManagedVirtualNetworks { + createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: ManagedVirtualNetworkResource, options?: ManagedVirtualNetworksCreateOrUpdateOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: ManagedVirtualNetworksGetOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, options?: ManagedVirtualNetworksListByFactoryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface ManagedVirtualNetworksCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type ManagedVirtualNetworksCreateOrUpdateResponse = ManagedVirtualNetworkResource; + +// @public +export interface ManagedVirtualNetworksGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type ManagedVirtualNetworksGetResponse = ManagedVirtualNetworkResource; + +// @public +export interface ManagedVirtualNetworksListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedVirtualNetworksListByFactoryNextResponse = ManagedVirtualNetworkListResponse; + +// @public +export interface ManagedVirtualNetworksListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedVirtualNetworksListByFactoryResponse = ManagedVirtualNetworkListResponse; + +// @public +export type MappingDataFlow = DataFlow & { + type: "MappingDataFlow"; + sources?: DataFlowSource[]; + sinks?: DataFlowSink[]; + transformations?: Transformation[]; + script?: string; + scriptLines?: string[]; +}; + +// @public +export type MariaDBLinkedService = LinkedService & { + type: "MariaDB"; + connectionString?: Record; + pwd?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type MariaDBSource = TabularSource & { + type: "MariaDBSource"; + query?: Record; +}; + +// @public +export type MariaDBTableDataset = Dataset & { + type: "MariaDBTable"; + tableName?: Record; +}; + +// @public +export type MarketoLinkedService = LinkedService & { + type: "Marketo"; + endpoint: Record; + clientId: Record; + clientSecret?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type MarketoObjectDataset = Dataset & { + type: "MarketoObject"; + tableName?: Record; +}; + +// @public +export type MarketoSource = TabularSource & { + type: "MarketoSource"; + query?: Record; +}; + +// @public +export interface MetadataItem { + name?: Record; + value?: Record; +} + +// @public +export type MicrosoftAccessLinkedService = LinkedService & { + type: "MicrosoftAccess"; + connectionString: Record; + authenticationType?: Record; + credential?: SecretBaseUnion; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type MicrosoftAccessSink = CopySink & { + type: "MicrosoftAccessSink"; + preCopyScript?: Record; +}; + +// @public +export type MicrosoftAccessSource = CopySource & { + type: "MicrosoftAccessSource"; + query?: Record; + additionalColumns?: Record; +}; + +// @public +export type MicrosoftAccessTableDataset = Dataset & { + type: "MicrosoftAccessTable"; + tableName?: Record; +}; + +// @public +export type MongoDbAtlasCollectionDataset = Dataset & { + type: "MongoDbAtlasCollection"; + collection: Record; +}; + +// @public +export type MongoDbAtlasLinkedService = LinkedService & { + type: "MongoDbAtlas"; + connectionString: Record; + database: Record; +}; + +// @public +export type MongoDbAtlasSink = CopySink & { + type: "MongoDbAtlasSink"; + writeBehavior?: Record; +}; + +// @public +export type MongoDbAtlasSource = CopySource & { + type: "MongoDbAtlasSource"; + filter?: Record; + cursorMethods?: MongoDbCursorMethodsProperties; + batchSize?: Record; + queryTimeout?: Record; + additionalColumns?: Record; +}; + +// @public +export type MongoDbAuthenticationType = string; + +// @public +export type MongoDbCollectionDataset = Dataset & { + type: "MongoDbCollection"; + collectionName: Record; +}; + +// @public +export interface MongoDbCursorMethodsProperties { + [property: string]: any; + limit?: Record; + project?: Record; + skip?: Record; + sort?: Record; +} + +// @public +export type MongoDbLinkedService = LinkedService & { + type: "MongoDb"; + server: Record; + authenticationType?: MongoDbAuthenticationType; + databaseName: Record; + username?: Record; + password?: SecretBaseUnion; + authSource?: Record; + port?: Record; + enableSsl?: Record; + allowSelfSignedServerCert?: Record; + encryptedCredential?: Record; +}; + +// @public +export type MongoDbSource = CopySource & { + type: "MongoDbSource"; + query?: Record; + additionalColumns?: Record; +}; + +// @public +export type MongoDbV2CollectionDataset = Dataset & { + type: "MongoDbV2Collection"; + collection: Record; +}; + +// @public +export type MongoDbV2LinkedService = LinkedService & { + type: "MongoDbV2"; + connectionString: Record; + database: Record; +}; + +// @public +export type MongoDbV2Sink = CopySink & { + type: "MongoDbV2Sink"; + writeBehavior?: Record; +}; + +// @public +export type MongoDbV2Source = CopySource & { + type: "MongoDbV2Source"; + filter?: Record; + cursorMethods?: MongoDbCursorMethodsProperties; + batchSize?: Record; + queryTimeout?: Record; + additionalColumns?: Record; +}; + +// @public +export type MultiplePipelineTrigger = Trigger & { + type: "MultiplePipelineTrigger" | "ScheduleTrigger" | "BlobTrigger" | "BlobEventsTrigger" | "CustomEventsTrigger"; + pipelines?: TriggerPipelineReference[]; +}; + +// @public (undocumented) +export type MultiplePipelineTriggerUnion = MultiplePipelineTrigger | ScheduleTrigger | BlobTrigger | BlobEventsTrigger | CustomEventsTrigger; + +// @public +export type MySqlLinkedService = LinkedService & { + type: "MySql"; + connectionString: Record; + password?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type MySqlSource = TabularSource & { + type: "MySqlSource"; + query?: Record; +}; + +// @public +export type MySqlTableDataset = Dataset & { + type: "MySqlTable"; + tableName?: Record; +}; + +// @public +export type NetezzaLinkedService = LinkedService & { + type: "Netezza"; + connectionString?: Record; + pwd?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type NetezzaPartitionOption = string; + +// @public +export interface NetezzaPartitionSettings { + partitionColumnName?: Record; + partitionLowerBound?: Record; + partitionUpperBound?: Record; +} + +// @public +export type NetezzaSource = TabularSource & { + type: "NetezzaSource"; + query?: Record; + partitionOption?: Record; + partitionSettings?: NetezzaPartitionSettings; +}; + +// @public +export type NetezzaTableDataset = Dataset & { + type: "NetezzaTable"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type ODataAadServicePrincipalCredentialType = string; + +// @public +export type ODataAuthenticationType = string; + +// @public +export type ODataLinkedService = LinkedService & { + type: "OData"; + url: Record; + authenticationType?: ODataAuthenticationType; + userName?: Record; + password?: SecretBaseUnion; + authHeaders?: Record; + tenant?: Record; + servicePrincipalId?: Record; + azureCloudType?: Record; + aadResourceId?: Record; + aadServicePrincipalCredentialType?: ODataAadServicePrincipalCredentialType; + servicePrincipalKey?: SecretBaseUnion; + servicePrincipalEmbeddedCert?: SecretBaseUnion; + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type ODataResourceDataset = Dataset & { + type: "ODataResource"; + path?: Record; +}; + +// @public +export type ODataSource = CopySource & { + type: "ODataSource"; + query?: Record; + httpRequestTimeout?: Record; + additionalColumns?: Record; +}; + +// @public +export type OdbcLinkedService = LinkedService & { + type: "Odbc"; + connectionString: Record; + authenticationType?: Record; + credential?: SecretBaseUnion; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type OdbcSink = CopySink & { + type: "OdbcSink"; + preCopyScript?: Record; +}; + +// @public +export type OdbcSource = TabularSource & { + type: "OdbcSource"; + query?: Record; +}; + +// @public +export type OdbcTableDataset = Dataset & { + type: "OdbcTable"; + tableName?: Record; +}; + +// @public +export type Office365Dataset = Dataset & { + type: "Office365Table"; + tableName: Record; + predicate?: Record; +}; + +// @public +export type Office365LinkedService = LinkedService & { + type: "Office365"; + office365TenantId: Record; + servicePrincipalTenantId: Record; + servicePrincipalId: Record; + servicePrincipalKey: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type Office365Source = CopySource & { + type: "Office365Source"; + allowedGroups?: Record; + userScopeFilterUri?: Record; + dateFilterColumn?: Record; + startTime?: Record; + endTime?: Record; + outputColumns?: Record; +}; + +// @public +export interface Operation { + display?: OperationDisplay; + name?: string; + origin?: string; + serviceSpecification?: OperationServiceSpecification; +} + +// @public +export interface OperationDisplay { + description?: string; + operation?: string; + provider?: string; + resource?: string; +} + +// @public +export interface OperationListResponse { + nextLink?: string; + value?: Operation[]; +} + +// @public +export interface OperationLogSpecification { + blobDuration?: string; + displayName?: string; + name?: string; +} + +// @public +export interface OperationMetricAvailability { + blobDuration?: string; + timeGrain?: string; +} + +// @public +export interface OperationMetricDimension { + displayName?: string; + name?: string; + toBeExportedForShoebox?: boolean; +} + +// @public +export interface OperationMetricSpecification { + aggregationType?: string; + availabilities?: OperationMetricAvailability[]; + dimensions?: OperationMetricDimension[]; + displayDescription?: string; + displayName?: string; + enableRegionalMdmAccount?: string; + name?: string; + sourceMdmAccount?: string; + sourceMdmNamespace?: string; + unit?: string; +} + +// @public +export interface Operations { + list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface OperationServiceSpecification { + logSpecifications?: OperationLogSpecification[]; + metricSpecifications?: OperationMetricSpecification[]; +} + +// @public +export interface OperationsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type OperationsListNextResponse = OperationListResponse; + +// @public +export interface OperationsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type OperationsListResponse = OperationListResponse; + +// @public +export type OracleCloudStorageLinkedService = LinkedService & { + type: "OracleCloudStorage"; + accessKeyId?: Record; + secretAccessKey?: SecretBaseUnion; + serviceUrl?: Record; + encryptedCredential?: Record; +}; + +// @public +export type OracleCloudStorageLocation = DatasetLocation & { + type: "OracleCloudStorageLocation"; + bucketName?: Record; + version?: Record; +}; + +// @public +export type OracleCloudStorageReadSettings = StoreReadSettings & { + type: "OracleCloudStorageReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + prefix?: Record; + fileListPath?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type OracleLinkedService = LinkedService & { + type: "Oracle"; + connectionString: Record; + password?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type OraclePartitionOption = string; + +// @public +export interface OraclePartitionSettings { + partitionColumnName?: Record; + partitionLowerBound?: Record; + partitionNames?: Record; + partitionUpperBound?: Record; +} + +// @public +export type OracleServiceCloudLinkedService = LinkedService & { + type: "OracleServiceCloud"; + host: Record; + username: Record; + password: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type OracleServiceCloudObjectDataset = Dataset & { + type: "OracleServiceCloudObject"; + tableName?: Record; +}; + +// @public +export type OracleServiceCloudSource = TabularSource & { + type: "OracleServiceCloudSource"; + query?: Record; +}; + +// @public +export type OracleSink = CopySink & { + type: "OracleSink"; + preCopyScript?: Record; +}; + +// @public +export type OracleSource = CopySource & { + type: "OracleSource"; + oracleReaderQuery?: Record; + queryTimeout?: Record; + partitionOption?: Record; + partitionSettings?: OraclePartitionSettings; + additionalColumns?: Record; +}; + +// @public +export type OracleTableDataset = Dataset & { + type: "OracleTable"; + tableName?: Record; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type OrcCompressionCodec = string; + +// @public +export type OrcDataset = Dataset & { + type: "Orc"; + location?: DatasetLocationUnion; + orcCompressionCodec?: Record; +}; + +// @public +export type OrcFormat = DatasetStorageFormat & { + type: "OrcFormat"; +}; + +// @public +export type OrcSink = CopySink & { + type: "OrcSink"; + storeSettings?: StoreWriteSettingsUnion; + formatSettings?: OrcWriteSettings; +}; + +// @public +export type OrcSource = CopySource & { + type: "OrcSource"; + storeSettings?: StoreReadSettingsUnion; + additionalColumns?: Record; +}; + +// @public +export type OrcWriteSettings = FormatWriteSettings & { + type: "OrcWriteSettings"; + maxRowsPerFile?: Record; + fileNamePrefix?: Record; +}; + +// @public +export interface PackageStore { + name: string; + packageStoreLinkedService: EntityReference; +} + +// @public +export interface ParameterSpecification { + defaultValue?: Record; + type: ParameterType; +} + +// @public +export type ParameterType = string; + +// @public +export type ParquetDataset = Dataset & { + type: "Parquet"; + location?: DatasetLocationUnion; + compressionCodec?: Record; +}; + +// @public +export type ParquetFormat = DatasetStorageFormat & { + type: "ParquetFormat"; +}; + +// @public +export type ParquetSink = CopySink & { + type: "ParquetSink"; + storeSettings?: StoreWriteSettingsUnion; + formatSettings?: ParquetWriteSettings; +}; + +// @public +export type ParquetSource = CopySource & { + type: "ParquetSource"; + storeSettings?: StoreReadSettingsUnion; + additionalColumns?: Record; +}; + +// @public +export type ParquetWriteSettings = FormatWriteSettings & { + type: "ParquetWriteSettings"; + maxRowsPerFile?: Record; + fileNamePrefix?: Record; +}; + +// @public +export type PaypalLinkedService = LinkedService & { + type: "Paypal"; + host: Record; + clientId: Record; + clientSecret?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type PaypalObjectDataset = Dataset & { + type: "PaypalObject"; + tableName?: Record; +}; + +// @public +export type PaypalSource = TabularSource & { + type: "PaypalSource"; + query?: Record; +}; + +// @public +export type PhoenixAuthenticationType = string; + +// @public +export type PhoenixLinkedService = LinkedService & { + type: "Phoenix"; + host: Record; + port?: Record; + httpPath?: Record; + authenticationType: PhoenixAuthenticationType; + username?: Record; + password?: SecretBaseUnion; + enableSsl?: Record; + trustedCertPath?: Record; + useSystemTrustStore?: Record; + allowHostNameCNMismatch?: Record; + allowSelfSignedServerCert?: Record; + encryptedCredential?: Record; +}; + +// @public +export type PhoenixObjectDataset = Dataset & { + type: "PhoenixObject"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type PhoenixSource = TabularSource & { + type: "PhoenixSource"; + query?: Record; +}; + +// @public +export interface PipelineElapsedTimeMetricPolicy { + duration?: Record; +} + +// @public +export interface PipelineFolder { + name?: string; +} + +// @public +export interface PipelineListResponse { + nextLink?: string; + value: PipelineResource[]; +} + +// @public +export interface PipelinePolicy { + elapsedTimeMetric?: PipelineElapsedTimeMetricPolicy; +} + +// @public +export interface PipelineReference { + name?: string; + referenceName: string; + type: "PipelineReference"; +} + +// @public +export type PipelineResource = SubResource & { + [property: string]: any; + description?: string; + activities?: ActivityUnion[]; + parameters?: { + [propertyName: string]: ParameterSpecification; + }; + variables?: { + [propertyName: string]: VariableSpecification; + }; + concurrency?: number; + annotations?: Record[]; + runDimensions?: { + [propertyName: string]: Record; + }; + folder?: PipelineFolder; + policy?: PipelinePolicy; +}; + +// @public +export interface PipelineRun { + [property: string]: any; + readonly durationInMs?: number; + readonly invokedBy?: PipelineRunInvokedBy; + readonly isLatest?: boolean; + readonly lastUpdated?: Date; + readonly message?: string; + readonly parameters?: { + [propertyName: string]: string; + }; + readonly pipelineName?: string; + readonly runDimensions?: { + [propertyName: string]: string; + }; + readonly runEnd?: Date; + readonly runGroupId?: string; + readonly runId?: string; + readonly runStart?: Date; + readonly status?: string; +} + +// @public +export interface PipelineRunInvokedBy { + readonly id?: string; + readonly invokedByType?: string; + readonly name?: string; + readonly pipelineName?: string; + readonly pipelineRunId?: string; +} + +// @public +export interface PipelineRuns { + cancel(resourceGroupName: string, factoryName: string, runId: string, options?: PipelineRunsCancelOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, runId: string, options?: PipelineRunsGetOptionalParams): Promise; + queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: RunFilterParameters, options?: PipelineRunsQueryByFactoryOptionalParams): Promise; +} + +// @public +export interface PipelineRunsCancelOptionalParams extends coreClient.OperationOptions { + isRecursive?: boolean; +} + +// @public +export interface PipelineRunsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PipelineRunsGetResponse = PipelineRun; + +// @public +export interface PipelineRunsQueryByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PipelineRunsQueryByFactoryResponse = PipelineRunsQueryResponse; + +// @public +export interface PipelineRunsQueryResponse { + continuationToken?: string; + value: PipelineRun[]; +} + +// @public +export interface Pipelines { + createOrUpdate(resourceGroupName: string, factoryName: string, pipelineName: string, pipeline: PipelineResource, options?: PipelinesCreateOrUpdateOptionalParams): Promise; + createRun(resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesCreateRunOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, pipelineName: string, options?: PipelinesGetOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, options?: PipelinesListByFactoryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface PipelinesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type PipelinesCreateOrUpdateResponse = PipelineResource; + +// @public +export interface PipelinesCreateRunOptionalParams extends coreClient.OperationOptions { + isRecovery?: boolean; + parameters?: { + [propertyName: string]: Record; + }; + referencePipelineRunId?: string; + startActivityName?: string; + startFromFailure?: boolean; +} + +// @public +export type PipelinesCreateRunResponse = CreateRunResponse; + +// @public +export interface PipelinesDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface PipelinesGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type PipelinesGetResponse = PipelineResource; + +// @public +export interface PipelinesListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PipelinesListByFactoryNextResponse = PipelineListResponse; + +// @public +export interface PipelinesListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PipelinesListByFactoryResponse = PipelineListResponse; + +// @public +export interface PolybaseSettings { + [property: string]: any; + rejectSampleValue?: Record; + rejectType?: PolybaseSettingsRejectType; + rejectValue?: Record; + useTypeDefault?: Record; +} + +// @public +export type PolybaseSettingsRejectType = string; + +// @public +export type PostgreSqlLinkedService = LinkedService & { + type: "PostgreSql"; + connectionString: Record; + password?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type PostgreSqlSource = TabularSource & { + type: "PostgreSqlSource"; + query?: Record; +}; + +// @public +export type PostgreSqlTableDataset = Dataset & { + type: "PostgreSqlTable"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type PowerQuerySink = DataFlowSink & { + script?: string; +}; + +// @public +export interface PowerQuerySinkMapping { + dataflowSinks?: PowerQuerySink[]; + queryName?: string; +} + +// @public +export type PowerQuerySource = DataFlowSource & { + script?: string; +}; + +// @public +export type PrestoAuthenticationType = string; + +// @public +export type PrestoLinkedService = LinkedService & { + type: "Presto"; + host: Record; + serverVersion: Record; + catalog: Record; + port?: Record; + authenticationType: PrestoAuthenticationType; + username?: Record; + password?: SecretBaseUnion; + enableSsl?: Record; + trustedCertPath?: Record; + useSystemTrustStore?: Record; + allowHostNameCNMismatch?: Record; + allowSelfSignedServerCert?: Record; + timeZoneID?: Record; + encryptedCredential?: Record; +}; + +// @public +export type PrestoObjectDataset = Dataset & { + type: "PrestoObject"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type PrestoSource = TabularSource & { + type: "PrestoSource"; + query?: Record; +}; + +// @public +export interface PrivateEndpointConnection { + createOrUpdate(resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: PrivateEndpointConnectionCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionGetOptionalParams): Promise; +} + +// @public +export interface PrivateEndpointConnectionCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type PrivateEndpointConnectionCreateOrUpdateResponse = PrivateEndpointConnectionResource; + +// @public +export interface PrivateEndpointConnectionDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface PrivateEndpointConnectionGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type PrivateEndpointConnectionGetResponse = PrivateEndpointConnectionResource; + +// @public +export interface PrivateEndpointConnectionListResponse { + nextLink?: string; + value: PrivateEndpointConnectionResource[]; +} + +// @public +export type PrivateEndpointConnectionResource = SubResource & { + properties?: RemotePrivateEndpointConnection; +}; + +// @public +export interface PrivateEndPointConnections { + listByFactory(resourceGroupName: string, factoryName: string, options?: PrivateEndPointConnectionsListByFactoryOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface PrivateEndPointConnectionsListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PrivateEndPointConnectionsListByFactoryNextResponse = PrivateEndpointConnectionListResponse; + +// @public +export interface PrivateEndPointConnectionsListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PrivateEndPointConnectionsListByFactoryResponse = PrivateEndpointConnectionListResponse; + +// @public +export interface PrivateLinkConnectionApprovalRequest { + privateLinkServiceConnectionState?: PrivateLinkConnectionState; +} + +// @public +export type PrivateLinkConnectionApprovalRequestResource = SubResource & { + properties?: PrivateLinkConnectionApprovalRequest; +}; + +// @public +export interface PrivateLinkConnectionState { + actionsRequired?: string; + description?: string; + status?: string; +} + +// @public +export type PrivateLinkResource = SubResource & { + properties?: PrivateLinkResourceProperties; +}; + +// @public +export interface PrivateLinkResourceProperties { + readonly groupId?: string; + readonly requiredMembers?: string[]; + readonly requiredZoneNames?: string[]; +} + +// @public +export interface PrivateLinkResources { + get(resourceGroupName: string, factoryName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise; +} + +// @public +export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PrivateLinkResourcesGetResponse = PrivateLinkResourcesWrapper; + +// @public +export interface PrivateLinkResourcesWrapper { + // (undocumented) + value: PrivateLinkResource[]; +} + +// @public +export type PublicNetworkAccess = string; + +// @public +export interface QueryDataFlowDebugSessionsResponse { + nextLink?: string; + value?: DataFlowDebugSessionInfo[]; +} + +// @public +export type QuickBooksLinkedService = LinkedService & { + type: "QuickBooks"; + connectionProperties?: Record; + endpoint?: Record; + companyId?: Record; + consumerKey?: Record; + consumerSecret?: SecretBaseUnion; + accessToken?: SecretBaseUnion; + accessTokenSecret?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + encryptedCredential?: Record; +}; + +// @public +export type QuickBooksObjectDataset = Dataset & { + type: "QuickBooksObject"; + tableName?: Record; +}; + +// @public +export type QuickBooksSource = TabularSource & { + type: "QuickBooksSource"; + query?: Record; +}; + +// @public +export type RecurrenceFrequency = string; + +// @public +export interface RecurrenceSchedule { + [property: string]: any; + hours?: number[]; + minutes?: number[]; + monthDays?: number[]; + monthlyOccurrences?: RecurrenceScheduleOccurrence[]; + weekDays?: DaysOfWeek[]; +} + +// @public +export interface RecurrenceScheduleOccurrence { + [property: string]: any; + day?: DayOfWeek; + occurrence?: number; +} + +// @public +export interface RedirectIncompatibleRowSettings { + [property: string]: any; + linkedServiceName: Record; + path?: Record; +} + +// @public +export interface RedshiftUnloadSettings { + bucketName: Record; + s3LinkedServiceName: LinkedServiceReference; +} + +// @public +export type RelationalSource = CopySource & { + type: "RelationalSource"; + query?: Record; + additionalColumns?: Record; +}; + +// @public +export type RelationalTableDataset = Dataset & { + type: "RelationalTable"; + tableName?: Record; +}; + +// @public +export interface RemotePrivateEndpointConnection { + privateEndpoint?: ArmIdWrapper; + privateLinkServiceConnectionState?: PrivateLinkConnectionState; + readonly provisioningState?: string; +} + +// @public +export type RerunTumblingWindowTrigger = Trigger & { + type: "RerunTumblingWindowTrigger"; + parentTrigger: Record; + requestedStartTime: Date; + requestedEndTime: Date; + rerunConcurrency: number; +}; + +// @public +export interface Resource { + readonly eTag?: string; + readonly id?: string; + location?: string; + readonly name?: string; + tags?: { + [propertyName: string]: string; + }; + readonly type?: string; +} + +// @public +export type ResponsysLinkedService = LinkedService & { + type: "Responsys"; + endpoint: Record; + clientId: Record; + clientSecret?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type ResponsysObjectDataset = Dataset & { + type: "ResponsysObject"; + tableName?: Record; +}; + +// @public +export type ResponsysSource = TabularSource & { + type: "ResponsysSource"; + query?: Record; +}; + +// @public +export type RestResourceDataset = Dataset & { + type: "RestResource"; + relativeUrl?: Record; + requestMethod?: Record; + requestBody?: Record; + additionalHeaders?: Record; + paginationRules?: Record; +}; + +// @public +export type RestServiceAuthenticationType = string; + +// @public +export type RestServiceLinkedService = LinkedService & { + type: "RestService"; + url: Record; + enableServerCertificateValidation?: Record; + authenticationType: RestServiceAuthenticationType; + userName?: Record; + password?: SecretBaseUnion; + authHeaders?: Record; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; + tenant?: Record; + azureCloudType?: Record; + aadResourceId?: Record; + encryptedCredential?: Record; + credential?: CredentialReference; +}; + +// @public +export type RestSink = CopySink & { + type: "RestSink"; + requestMethod?: Record; + additionalHeaders?: Record; + httpRequestTimeout?: Record; + requestInterval?: Record; + httpCompressionType?: Record; +}; + +// @public +export type RestSource = CopySource & { + type: "RestSource"; + requestMethod?: Record; + requestBody?: Record; + additionalHeaders?: Record; + paginationRules?: Record; + httpRequestTimeout?: Record; + requestInterval?: Record; + additionalColumns?: Record; +}; + +// @public +export interface RetryPolicy { + count?: Record; + intervalInSeconds?: number; +} + +// @public +export interface RunFilterParameters { + continuationToken?: string; + filters?: RunQueryFilter[]; + lastUpdatedAfter: Date; + lastUpdatedBefore: Date; + orderBy?: RunQueryOrderBy[]; +} + +// @public +export interface RunQueryFilter { + operand: RunQueryFilterOperand; + operator: RunQueryFilterOperator; + values: string[]; +} + +// @public +export type RunQueryFilterOperand = string; + +// @public +export type RunQueryFilterOperator = string; + +// @public +export type RunQueryOrder = string; + +// @public +export interface RunQueryOrderBy { + order: RunQueryOrder; + orderBy: RunQueryOrderByField; +} + +// @public +export type RunQueryOrderByField = string; + +// @public +export type SalesforceLinkedService = LinkedService & { + type: "Salesforce"; + environmentUrl?: Record; + username?: Record; + password?: SecretBaseUnion; + securityToken?: SecretBaseUnion; + apiVersion?: Record; + encryptedCredential?: Record; +}; + +// @public +export type SalesforceMarketingCloudLinkedService = LinkedService & { + type: "SalesforceMarketingCloud"; + connectionProperties?: Record; + clientId?: Record; + clientSecret?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type SalesforceMarketingCloudObjectDataset = Dataset & { + type: "SalesforceMarketingCloudObject"; + tableName?: Record; +}; + +// @public +export type SalesforceMarketingCloudSource = TabularSource & { + type: "SalesforceMarketingCloudSource"; + query?: Record; +}; + +// @public +export type SalesforceObjectDataset = Dataset & { + type: "SalesforceObject"; + objectApiName?: Record; +}; + +// @public +export type SalesforceServiceCloudLinkedService = LinkedService & { + type: "SalesforceServiceCloud"; + environmentUrl?: Record; + username?: Record; + password?: SecretBaseUnion; + securityToken?: SecretBaseUnion; + apiVersion?: Record; + extendedProperties?: Record; + encryptedCredential?: Record; +}; + +// @public +export type SalesforceServiceCloudObjectDataset = Dataset & { + type: "SalesforceServiceCloudObject"; + objectApiName?: Record; +}; + +// @public +export type SalesforceServiceCloudSink = CopySink & { + type: "SalesforceServiceCloudSink"; + writeBehavior?: SalesforceSinkWriteBehavior; + externalIdFieldName?: Record; + ignoreNullValues?: Record; +}; + +// @public +export type SalesforceServiceCloudSource = CopySource & { + type: "SalesforceServiceCloudSource"; + query?: Record; + readBehavior?: SalesforceSourceReadBehavior; + additionalColumns?: Record; +}; + +// @public +export type SalesforceSink = CopySink & { + type: "SalesforceSink"; + writeBehavior?: SalesforceSinkWriteBehavior; + externalIdFieldName?: Record; + ignoreNullValues?: Record; +}; + +// @public +export type SalesforceSinkWriteBehavior = string; + +// @public +export type SalesforceSource = TabularSource & { + type: "SalesforceSource"; + query?: Record; + readBehavior?: SalesforceSourceReadBehavior; +}; + +// @public +export type SalesforceSourceReadBehavior = string; + +// @public +export type SapBwCubeDataset = Dataset & { + type: "SapBwCube"; +}; + +// @public +export type SapBWLinkedService = LinkedService & { + type: "SapBW"; + server: Record; + systemNumber: Record; + clientId: Record; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type SapBwSource = TabularSource & { + type: "SapBwSource"; + query?: Record; +}; + +// @public +export type SapCloudForCustomerLinkedService = LinkedService & { + type: "SapCloudForCustomer"; + url: Record; + username?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type SapCloudForCustomerResourceDataset = Dataset & { + type: "SapCloudForCustomerResource"; + path: Record; +}; + +// @public +export type SapCloudForCustomerSink = CopySink & { + type: "SapCloudForCustomerSink"; + writeBehavior?: SapCloudForCustomerSinkWriteBehavior; + httpRequestTimeout?: Record; +}; + +// @public +export type SapCloudForCustomerSinkWriteBehavior = string; + +// @public +export type SapCloudForCustomerSource = TabularSource & { + type: "SapCloudForCustomerSource"; + query?: Record; + httpRequestTimeout?: Record; +}; + +// @public +export type SapEccLinkedService = LinkedService & { + type: "SapEcc"; + url: string; + username?: string; + password?: SecretBaseUnion; + encryptedCredential?: string; +}; + +// @public +export type SapEccResourceDataset = Dataset & { + type: "SapEccResource"; + path: Record; +}; + +// @public +export type SapEccSource = TabularSource & { + type: "SapEccSource"; + query?: Record; + httpRequestTimeout?: Record; +}; + +// @public +export type SapHanaAuthenticationType = string; + +// @public +export type SapHanaLinkedService = LinkedService & { + type: "SapHana"; + connectionString?: Record; + server?: Record; + authenticationType?: SapHanaAuthenticationType; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type SapHanaPartitionOption = string; + +// @public +export interface SapHanaPartitionSettings { + partitionColumnName?: Record; +} + +// @public +export type SapHanaSource = TabularSource & { + type: "SapHanaSource"; + query?: Record; + packetSize?: Record; + partitionOption?: Record; + partitionSettings?: SapHanaPartitionSettings; +}; + +// @public +export type SapHanaTableDataset = Dataset & { + type: "SapHanaTable"; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type SapOpenHubLinkedService = LinkedService & { + type: "SapOpenHub"; + server?: Record; + systemNumber?: Record; + clientId?: Record; + language?: Record; + systemId?: Record; + userName?: Record; + password?: SecretBaseUnion; + messageServer?: Record; + messageServerService?: Record; + logonGroup?: Record; + encryptedCredential?: Record; +}; + +// @public +export type SapOpenHubSource = TabularSource & { + type: "SapOpenHubSource"; + excludeLastRequest?: Record; + baseRequestId?: Record; + customRfcReadTableFunctionModule?: Record; + sapDataColumnDelimiter?: Record; +}; + +// @public +export type SapOpenHubTableDataset = Dataset & { + type: "SapOpenHubTable"; + openHubDestinationName: Record; + excludeLastRequest?: Record; + baseRequestId?: Record; +}; + +// @public +export type SapTableLinkedService = LinkedService & { + type: "SapTable"; + server?: Record; + systemNumber?: Record; + clientId?: Record; + language?: Record; + systemId?: Record; + userName?: Record; + password?: SecretBaseUnion; + messageServer?: Record; + messageServerService?: Record; + sncMode?: Record; + sncMyName?: Record; + sncPartnerName?: Record; + sncLibraryPath?: Record; + sncQop?: Record; + logonGroup?: Record; + encryptedCredential?: Record; +}; + +// @public +export type SapTablePartitionOption = string; + +// @public +export interface SapTablePartitionSettings { + maxPartitionsNumber?: Record; + partitionColumnName?: Record; + partitionLowerBound?: Record; + partitionUpperBound?: Record; +} + +// @public +export type SapTableResourceDataset = Dataset & { + type: "SapTableResource"; + tableName: Record; +}; + +// @public +export type SapTableSource = TabularSource & { + type: "SapTableSource"; + rowCount?: Record; + rowSkips?: Record; + rfcTableFields?: Record; + rfcTableOptions?: Record; + batchSize?: Record; + customRfcReadTableFunctionModule?: Record; + sapDataColumnDelimiter?: Record; + partitionOption?: Record; + partitionSettings?: SapTablePartitionSettings; +}; + +// @public +export type ScheduleTrigger = MultiplePipelineTrigger & { + type: "ScheduleTrigger"; + recurrence: ScheduleTriggerRecurrence; +}; + +// @public +export interface ScheduleTriggerRecurrence { + [property: string]: any; + endTime?: Date; + frequency?: RecurrenceFrequency; + interval?: number; + schedule?: RecurrenceSchedule; + startTime?: Date; + timeZone?: string; +} + +// @public +export interface ScriptAction { + name: string; + parameters?: string; + roles: Record; + uri: string; +} + +// @public +export interface SecretBase { + type: "SecureString" | "AzureKeyVaultSecret"; +} + +// @public (undocumented) +export type SecretBaseUnion = SecretBase | SecureString | AzureKeyVaultSecretReference; + +// @public +export type SecureString = SecretBase & { + type: "SecureString"; + value: string; +}; + +// @public +export type SelfDependencyTumblingWindowTriggerReference = DependencyReference & { + type: "SelfDependencyTumblingWindowTriggerReference"; + offset: string; + size?: string; +}; + +// @public +export type SelfHostedIntegrationRuntime = IntegrationRuntime & { + type: "SelfHosted"; + linkedInfo?: LinkedIntegrationRuntimeTypeUnion; +}; + +// @public +export interface SelfHostedIntegrationRuntimeNode { + [property: string]: any; + readonly capabilities?: { + [propertyName: string]: string; + }; + readonly concurrentJobsLimit?: number; + readonly expiryTime?: Date; + readonly hostServiceUri?: string; + readonly isActiveDispatcher?: boolean; + readonly lastConnectTime?: Date; + readonly lastEndUpdateTime?: Date; + readonly lastStartTime?: Date; + readonly lastStartUpdateTime?: Date; + readonly lastStopTime?: Date; + readonly lastUpdateResult?: IntegrationRuntimeUpdateResult; + readonly machineName?: string; + readonly maxConcurrentJobs?: number; + readonly nodeName?: string; + readonly registerTime?: Date; + readonly status?: SelfHostedIntegrationRuntimeNodeStatus; + readonly version?: string; + readonly versionStatus?: string; +} + +// @public +export type SelfHostedIntegrationRuntimeNodeStatus = string; + +// @public +export type SelfHostedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { + type: "SelfHosted"; + readonly createTime?: Date; + readonly taskQueueId?: string; + readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; + readonly version?: string; + nodes?: SelfHostedIntegrationRuntimeNode[]; + readonly scheduledUpdateDate?: Date; + readonly updateDelayOffset?: string; + readonly localTimeZoneOffset?: string; + readonly capabilities?: { + [propertyName: string]: string; + }; + readonly serviceUrls?: string[]; + readonly autoUpdate?: IntegrationRuntimeAutoUpdate; + readonly versionStatus?: string; + links?: LinkedIntegrationRuntime[]; + readonly pushedVersion?: string; + readonly latestVersion?: string; + readonly autoUpdateETA?: Date; +}; + +// @public +export type ServiceNowAuthenticationType = string; + +// @public +export type ServiceNowLinkedService = LinkedService & { + type: "ServiceNow"; + endpoint: Record; + authenticationType: ServiceNowAuthenticationType; + username?: Record; + password?: SecretBaseUnion; + clientId?: Record; + clientSecret?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type ServiceNowObjectDataset = Dataset & { + type: "ServiceNowObject"; + tableName?: Record; +}; + +// @public +export type ServiceNowSource = TabularSource & { + type: "ServiceNowSource"; + query?: Record; +}; + +// @public +export type ServicePrincipalCredential = Credential_2 & { + type: "ServicePrincipal"; + servicePrincipalId?: Record; + servicePrincipalKey?: AzureKeyVaultSecretReference; + tenant?: Record; +}; + +// @public +export type ServicePrincipalCredentialType = string; + +// @public +export type SetVariableActivity = ControlActivity & { + type: "SetVariable"; + variableName?: string; + value?: Record; +}; + +// @public +export type SftpAuthenticationType = string; + +// @public +export type SftpLocation = DatasetLocation & { + type: "SftpLocation"; +}; + +// @public +export type SftpReadSettings = StoreReadSettings & { + type: "SftpReadSettings"; + recursive?: Record; + wildcardFolderPath?: Record; + wildcardFileName?: Record; + enablePartitionDiscovery?: boolean; + partitionRootPath?: Record; + fileListPath?: Record; + deleteFilesAfterCompletion?: Record; + modifiedDatetimeStart?: Record; + modifiedDatetimeEnd?: Record; +}; + +// @public +export type SftpServerLinkedService = LinkedService & { + type: "Sftp"; + host: Record; + port?: Record; + authenticationType?: SftpAuthenticationType; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; + privateKeyPath?: Record; + privateKeyContent?: SecretBaseUnion; + passPhrase?: SecretBaseUnion; + skipHostKeyValidation?: Record; + hostKeyFingerprint?: Record; +}; + +// @public +export type SftpWriteSettings = StoreWriteSettings & { + type: "SftpWriteSettings"; + operationTimeout?: Record; + useTempFileRename?: Record; +}; + +// @public +export type SharePointOnlineListLinkedService = LinkedService & { + type: "SharePointOnlineList"; + siteUrl: Record; + tenantId: Record; + servicePrincipalId: Record; + servicePrincipalKey: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type SharePointOnlineListResourceDataset = Dataset & { + type: "SharePointOnlineListResource"; + listName?: Record; +}; + +// @public +export type SharePointOnlineListSource = CopySource & { + type: "SharePointOnlineListSource"; + query?: Record; + httpRequestTimeout?: Record; +}; + +// @public +export type ShopifyLinkedService = LinkedService & { + type: "Shopify"; + host: Record; + accessToken?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type ShopifyObjectDataset = Dataset & { + type: "ShopifyObject"; + tableName?: Record; +}; + +// @public +export type ShopifySource = TabularSource & { + type: "ShopifySource"; + query?: Record; +}; + +// @public +export interface SkipErrorFile { + dataInconsistency?: Record; + fileMissing?: Record; +} + +// @public +export type SnowflakeDataset = Dataset & { + type: "SnowflakeTable"; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type SnowflakeExportCopyCommand = ExportSettings & { + type: "SnowflakeExportCopyCommand"; + additionalCopyOptions?: { + [propertyName: string]: Record; + }; + additionalFormatOptions?: { + [propertyName: string]: Record; + }; +}; + +// @public +export type SnowflakeImportCopyCommand = ImportSettings & { + type: "SnowflakeImportCopyCommand"; + additionalCopyOptions?: { + [propertyName: string]: Record; + }; + additionalFormatOptions?: { + [propertyName: string]: Record; + }; +}; + +// @public +export type SnowflakeLinkedService = LinkedService & { + type: "Snowflake"; + connectionString: Record; + password?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type SnowflakeSink = CopySink & { + type: "SnowflakeSink"; + preCopyScript?: Record; + importSettings?: SnowflakeImportCopyCommand; +}; + +// @public +export type SnowflakeSource = CopySource & { + type: "SnowflakeSource"; + query?: Record; + exportSettings?: SnowflakeExportCopyCommand; +}; + +// @public +export type SparkAuthenticationType = string; + +// @public +export type SparkLinkedService = LinkedService & { + type: "Spark"; + host: Record; + port: Record; + serverType?: SparkServerType; + thriftTransportProtocol?: SparkThriftTransportProtocol; + authenticationType: SparkAuthenticationType; + username?: Record; + password?: SecretBaseUnion; + httpPath?: Record; + enableSsl?: Record; + trustedCertPath?: Record; + useSystemTrustStore?: Record; + allowHostNameCNMismatch?: Record; + allowSelfSignedServerCert?: Record; + encryptedCredential?: Record; +}; + +// @public +export type SparkObjectDataset = Dataset & { + type: "SparkObject"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type SparkServerType = string; + +// @public +export type SparkSource = TabularSource & { + type: "SparkSource"; + query?: Record; +}; + +// @public +export type SparkThriftTransportProtocol = string; + +// @public +export type SqlAlwaysEncryptedAkvAuthType = string; + +// @public +export interface SqlAlwaysEncryptedProperties { + alwaysEncryptedAkvAuthType: SqlAlwaysEncryptedAkvAuthType; + credential?: CredentialReference; + servicePrincipalId?: Record; + servicePrincipalKey?: SecretBaseUnion; +} + +// @public +export type SqlDWSink = CopySink & { + type: "SqlDWSink"; + preCopyScript?: Record; + allowPolyBase?: Record; + polyBaseSettings?: PolybaseSettings; + allowCopyCommand?: Record; + copyCommandSettings?: DWCopyCommandSettings; + tableOption?: Record; + sqlWriterUseTableLock?: Record; + writeBehavior?: Record; + upsertSettings?: SqlDWUpsertSettings; +}; + +// @public +export type SqlDWSource = TabularSource & { + type: "SqlDWSource"; + sqlReaderQuery?: Record; + sqlReaderStoredProcedureName?: Record; + storedProcedureParameters?: Record; + partitionOption?: Record; + partitionSettings?: SqlPartitionSettings; +}; + +// @public +export interface SqlDWUpsertSettings { + interimSchemaName?: Record; + keys?: Record; +} + +// @public +export type SqlDWWriteBehaviorEnum = string; + +// @public +export type SqlMISink = CopySink & { + type: "SqlMISink"; + sqlWriterStoredProcedureName?: Record; + sqlWriterTableType?: Record; + preCopyScript?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + storedProcedureTableTypeParameterName?: Record; + tableOption?: Record; + sqlWriterUseTableLock?: Record; + writeBehavior?: Record; + upsertSettings?: SqlUpsertSettings; +}; + +// @public +export type SqlMISource = TabularSource & { + type: "SqlMISource"; + sqlReaderQuery?: Record; + sqlReaderStoredProcedureName?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + produceAdditionalTypes?: Record; + partitionOption?: Record; + partitionSettings?: SqlPartitionSettings; +}; + +// @public +export type SqlPartitionOption = string; + +// @public +export interface SqlPartitionSettings { + partitionColumnName?: Record; + partitionLowerBound?: Record; + partitionUpperBound?: Record; +} + +// @public +export type SqlServerLinkedService = LinkedService & { + type: "SqlServer"; + connectionString: Record; + userName?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; + alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; +}; + +// @public +export type SqlServerSink = CopySink & { + type: "SqlServerSink"; + sqlWriterStoredProcedureName?: Record; + sqlWriterTableType?: Record; + preCopyScript?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + storedProcedureTableTypeParameterName?: Record; + tableOption?: Record; + sqlWriterUseTableLock?: Record; + writeBehavior?: Record; + upsertSettings?: SqlUpsertSettings; +}; + +// @public +export type SqlServerSource = TabularSource & { + type: "SqlServerSource"; + sqlReaderQuery?: Record; + sqlReaderStoredProcedureName?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + produceAdditionalTypes?: Record; + partitionOption?: Record; + partitionSettings?: SqlPartitionSettings; +}; + +// @public +export type SqlServerStoredProcedureActivity = ExecutionActivity & { + type: "SqlServerStoredProcedure"; + storedProcedureName: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; +}; + +// @public +export type SqlServerTableDataset = Dataset & { + type: "SqlServerTable"; + tableName?: Record; + schemaTypePropertiesSchema?: Record; + table?: Record; +}; + +// @public +export type SqlSink = CopySink & { + type: "SqlSink"; + sqlWriterStoredProcedureName?: Record; + sqlWriterTableType?: Record; + preCopyScript?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + storedProcedureTableTypeParameterName?: Record; + tableOption?: Record; + sqlWriterUseTableLock?: Record; + writeBehavior?: Record; + upsertSettings?: SqlUpsertSettings; +}; + +// @public +export type SqlSource = TabularSource & { + type: "SqlSource"; + sqlReaderQuery?: Record; + sqlReaderStoredProcedureName?: Record; + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + isolationLevel?: Record; + partitionOption?: Record; + partitionSettings?: SqlPartitionSettings; +}; + +// @public +export interface SqlUpsertSettings { + interimSchemaName?: Record; + keys?: Record; + useTempDB?: Record; +} + +// @public +export type SqlWriteBehaviorEnum = string; + +// @public +export type SquareLinkedService = LinkedService & { + type: "Square"; + connectionProperties?: Record; + host?: Record; + clientId?: Record; + clientSecret?: SecretBaseUnion; + redirectUri?: Record; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type SquareObjectDataset = Dataset & { + type: "SquareObject"; + tableName?: Record; +}; + +// @public +export type SquareSource = TabularSource & { + type: "SquareSource"; + query?: Record; +}; + +// @public +export interface SsisAccessCredential { + domain: Record; + password: SecretBaseUnion; + userName: Record; +} + +// @public +export interface SsisChildPackage { + packageContent: Record; + packageLastModifiedDate?: string; + packageName?: string; + packagePath: Record; +} + +// @public +export type SsisEnvironment = SsisObjectMetadata & { + type: "Environment"; + folderId?: number; + variables?: SsisVariable[]; +}; + +// @public +export interface SsisEnvironmentReference { + environmentFolderName?: string; + environmentName?: string; + id?: number; + referenceType?: string; +} + +// @public +export interface SsisExecutionCredential { + domain: Record; + password: SecureString; + userName: Record; +} + +// @public +export interface SsisExecutionParameter { + value: Record; +} + +// @public +export type SsisFolder = SsisObjectMetadata & { + type: "Folder"; +}; + +// @public +export interface SsisLogLocation { + accessCredential?: SsisAccessCredential; + logPath: Record; + logRefreshInterval?: Record; + type: SsisLogLocationType; +} + +// @public +export type SsisLogLocationType = string; + +// @public +export interface SsisObjectMetadata { + description?: string; + id?: number; + name?: string; + type: "Folder" | "Project" | "Package" | "Environment"; +} + +// @public +export interface SsisObjectMetadataListResponse { + nextLink?: string; + value?: SsisObjectMetadataUnion[]; +} + +// @public +export interface SsisObjectMetadataStatusResponse { + error?: string; + name?: string; + properties?: string; + status?: string; +} + +// @public +export type SsisObjectMetadataType = string; + +// @public (undocumented) +export type SsisObjectMetadataUnion = SsisObjectMetadata | SsisFolder | SsisProject | SsisPackage | SsisEnvironment; + +// @public +export type SsisPackage = SsisObjectMetadata & { + type: "Package"; + folderId?: number; + projectVersion?: number; + projectId?: number; + parameters?: SsisParameter[]; +}; + +// @public +export interface SsisPackageLocation { + accessCredential?: SsisAccessCredential; + childPackages?: SsisChildPackage[]; + configurationAccessCredential?: SsisAccessCredential; + configurationPath?: Record; + packageContent?: Record; + packageLastModifiedDate?: string; + packageName?: string; + packagePassword?: SecretBaseUnion; + packagePath?: Record; + type?: SsisPackageLocationType; +} + +// @public +export type SsisPackageLocationType = string; + +// @public +export interface SsisParameter { + dataType?: string; + defaultValue?: string; + description?: string; + designDefaultValue?: string; + id?: number; + name?: string; + required?: boolean; + sensitive?: boolean; + sensitiveDefaultValue?: string; + valueSet?: boolean; + valueType?: string; + variable?: string; +} + +// @public +export type SsisProject = SsisObjectMetadata & { + type: "Project"; + folderId?: number; + version?: number; + environmentRefs?: SsisEnvironmentReference[]; + parameters?: SsisParameter[]; +}; + +// @public +export interface SsisPropertyOverride { + isSensitive?: boolean; + value: Record; +} + +// @public +export interface SsisVariable { + dataType?: string; + description?: string; + id?: number; + name?: string; + sensitive?: boolean; + sensitiveValue?: string; + value?: string; +} + +// @public +export interface StagingSettings { + [property: string]: any; + enableCompression?: Record; + linkedServiceName: LinkedServiceReference; + path?: Record; +} + +// @public +export interface StoredProcedureParameter { + type?: StoredProcedureParameterType; + value?: Record; +} + +// @public +export type StoredProcedureParameterType = string; + +// @public +export interface StoreReadSettings { + [property: string]: any; + disableMetricsCollection?: Record; + maxConcurrentConnections?: Record; + type: "AzureBlobStorageReadSettings" | "AzureBlobFSReadSettings" | "AzureDataLakeStoreReadSettings" | "AmazonS3ReadSettings" | "FileServerReadSettings" | "AzureFileStorageReadSettings" | "AmazonS3CompatibleReadSettings" | "OracleCloudStorageReadSettings" | "GoogleCloudStorageReadSettings" | "FtpReadSettings" | "SftpReadSettings" | "HttpReadSettings" | "HdfsReadSettings"; +} + +// @public (undocumented) +export type StoreReadSettingsUnion = StoreReadSettings | AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings; + +// @public +export interface StoreWriteSettings { + [property: string]: any; + copyBehavior?: Record; + disableMetricsCollection?: Record; + maxConcurrentConnections?: Record; + type: "SftpWriteSettings" | "AzureBlobStorageWriteSettings" | "AzureBlobFSWriteSettings" | "AzureDataLakeStoreWriteSettings" | "FileServerWriteSettings" | "AzureFileStorageWriteSettings"; +} + +// @public (undocumented) +export type StoreWriteSettingsUnion = StoreWriteSettings | SftpWriteSettings | AzureBlobStorageWriteSettings | AzureBlobFSWriteSettings | AzureDataLakeStoreWriteSettings | FileServerWriteSettings | AzureFileStorageWriteSettings; + +// @public +export interface SubResource { + readonly etag?: string; + readonly id?: string; + readonly name?: string; + readonly type?: string; +} + +// @public +export interface SubResourceDebugResource { + name?: string; +} + +// @public +export type SwitchActivity = ControlActivity & { + type: "Switch"; + on: Expression; + cases?: SwitchCase[]; + defaultActivities?: ActivityUnion[]; +}; + +// @public +export interface SwitchCase { + activities?: ActivityUnion[]; + value?: string; +} + +// @public +export type SybaseAuthenticationType = string; + +// @public +export type SybaseLinkedService = LinkedService & { + type: "Sybase"; + server: Record; + database: Record; + schema?: Record; + authenticationType?: SybaseAuthenticationType; + username?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type SybaseSource = TabularSource & { + type: "SybaseSource"; + query?: Record; +}; + +// @public +export type SybaseTableDataset = Dataset & { + type: "SybaseTable"; + tableName?: Record; +}; + +// @public +export type TabularSource = CopySource & { + type: "TabularSource" | "AzureTableSource" | "InformixSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "SalesforceSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "AzureMySqlSource" | "TeradataSource" | "CassandraSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource"; + queryTimeout?: Record; + additionalColumns?: Record; +}; + +// @public (undocumented) +export type TabularSourceUnion = TabularSource | AzureTableSource | InformixSource | Db2Source | OdbcSource | MySqlSource | PostgreSqlSource | SybaseSource | SapBwSource | SalesforceSource | SapCloudForCustomerSource | SapEccSource | SapHanaSource | SapOpenHubSource | SapTableSource | SqlSource | SqlServerSource | AmazonRdsForSqlServerSource | AzureSqlSource | SqlMISource | SqlDWSource | AzureMySqlSource | TeradataSource | CassandraSource | AmazonMWSSource | AzurePostgreSqlSource | ConcurSource | CouchbaseSource | DrillSource | EloquaSource | GoogleBigQuerySource | GreenplumSource | HBaseSource | HiveSource | HubspotSource | ImpalaSource | JiraSource | MagentoSource | MariaDBSource | AzureMariaDBSource | MarketoSource | PaypalSource | PhoenixSource | PrestoSource | QuickBooksSource | ServiceNowSource | ShopifySource | SparkSource | SquareSource | XeroSource | ZohoSource | NetezzaSource | VerticaSource | SalesforceMarketingCloudSource | ResponsysSource | DynamicsAXSource | OracleServiceCloudSource | GoogleAdWordsSource | AmazonRedshiftSource; + +// @public +export type TabularTranslator = CopyTranslator & { + type: "TabularTranslator"; + columnMappings?: Record; + schemaMapping?: Record; + collectionReference?: Record; + mapComplexValuesToString?: Record; + mappings?: Record; + typeConversion?: Record; + typeConversionSettings?: TypeConversionSettings; +}; + +// @public +export type TarGZipReadSettings = CompressionReadSettings & { + type: "TarGZipReadSettings"; + preserveCompressionFileNameAsFolder?: Record; +}; + +// @public +export type TarReadSettings = CompressionReadSettings & { + type: "TarReadSettings"; + preserveCompressionFileNameAsFolder?: Record; +}; + +// @public +export type TeradataAuthenticationType = string; + +// @public +export type TeradataLinkedService = LinkedService & { + type: "Teradata"; + connectionString?: Record; + server?: Record; + authenticationType?: TeradataAuthenticationType; + username?: Record; + password?: SecretBaseUnion; + encryptedCredential?: Record; +}; + +// @public +export type TeradataPartitionOption = string; + +// @public +export interface TeradataPartitionSettings { + partitionColumnName?: Record; + partitionLowerBound?: Record; + partitionUpperBound?: Record; +} + +// @public +export type TeradataSource = TabularSource & { + type: "TeradataSource"; + query?: Record; + partitionOption?: Record; + partitionSettings?: TeradataPartitionSettings; +}; + +// @public +export type TeradataTableDataset = Dataset & { + type: "TeradataTable"; + database?: Record; + table?: Record; +}; + +// @public +export type TextFormat = DatasetStorageFormat & { + type: "TextFormat"; + columnDelimiter?: Record; + rowDelimiter?: Record; + escapeChar?: Record; + quoteChar?: Record; + nullValue?: Record; + encodingName?: Record; + treatEmptyAsNull?: Record; + skipLineCount?: Record; + firstRowAsHeader?: Record; +}; + +// @public +export interface Transformation { + description?: string; + flowlet?: DataFlowReference; + name: string; +} + +// @public +export interface Trigger { + [property: string]: any; + annotations?: Record[]; + description?: string; + readonly runtimeState?: TriggerRuntimeState; + type: "MultiplePipelineTrigger" | "ScheduleTrigger" | "BlobTrigger" | "BlobEventsTrigger" | "CustomEventsTrigger" | "TumblingWindowTrigger" | "RerunTumblingWindowTrigger" | "ChainingTrigger"; +} + +// @public +export type TriggerDependencyReference = DependencyReference & { + type: "TriggerDependencyReference" | "TumblingWindowTriggerDependencyReference"; + referenceTrigger: TriggerReference; +}; + +// @public (undocumented) +export type TriggerDependencyReferenceUnion = TriggerDependencyReference | TumblingWindowTriggerDependencyReference; + +// @public +export interface TriggerFilterParameters { + continuationToken?: string; + parentTriggerName?: string; +} + +// @public +export interface TriggerListResponse { + nextLink?: string; + value: TriggerResource[]; +} + +// @public +export interface TriggerPipelineReference { + parameters?: { + [propertyName: string]: Record; + }; + pipelineReference?: PipelineReference; +} + +// @public +export interface TriggerQueryResponse { + continuationToken?: string; + value: TriggerResource[]; +} + +// @public +export interface TriggerReference { + referenceName: string; + type: "TriggerReference"; +} + +// @public +export type TriggerResource = SubResource & { + properties: TriggerUnion; +}; + +// @public +export interface TriggerRun { + [property: string]: any; + readonly dependencyStatus?: { + [propertyName: string]: Record; + }; + readonly message?: string; + readonly properties?: { + [propertyName: string]: string; + }; + readonly runDimension?: { + [propertyName: string]: string; + }; + readonly status?: TriggerRunStatus; + readonly triggeredPipelines?: { + [propertyName: string]: string; + }; + readonly triggerName?: string; + readonly triggerRunId?: string; + readonly triggerRunTimestamp?: Date; + readonly triggerType?: string; +} + +// @public +export interface TriggerRuns { + cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options?: TriggerRunsCancelOptionalParams): Promise; + queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: RunFilterParameters, options?: TriggerRunsQueryByFactoryOptionalParams): Promise; + rerun(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options?: TriggerRunsRerunOptionalParams): Promise; +} + +// @public +export interface TriggerRunsCancelOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface TriggerRunsQueryByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type TriggerRunsQueryByFactoryResponse = TriggerRunsQueryResponse; + +// @public +export interface TriggerRunsQueryResponse { + continuationToken?: string; + value: TriggerRun[]; +} + +// @public +export interface TriggerRunsRerunOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type TriggerRunStatus = string; + +// @public +export type TriggerRuntimeState = string; + +// @public +export interface Triggers { + beginStart(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersStartOptionalParams): Promise, void>>; + beginStartAndWait(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersStartOptionalParams): Promise; + beginStop(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersStopOptionalParams): Promise, void>>; + beginStopAndWait(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersStopOptionalParams): Promise; + beginSubscribeToEvents(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersSubscribeToEventsOptionalParams): Promise, TriggersSubscribeToEventsResponse>>; + beginSubscribeToEventsAndWait(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersSubscribeToEventsOptionalParams): Promise; + beginUnsubscribeFromEvents(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersUnsubscribeFromEventsOptionalParams): Promise, TriggersUnsubscribeFromEventsResponse>>; + beginUnsubscribeFromEventsAndWait(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersUnsubscribeFromEventsOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, factoryName: string, triggerName: string, trigger: TriggerResource, options?: TriggersCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersDeleteOptionalParams): Promise; + get(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersGetOptionalParams): Promise; + getEventSubscriptionStatus(resourceGroupName: string, factoryName: string, triggerName: string, options?: TriggersGetEventSubscriptionStatusOptionalParams): Promise; + listByFactory(resourceGroupName: string, factoryName: string, options?: TriggersListByFactoryOptionalParams): PagedAsyncIterableIterator; + queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: TriggerFilterParameters, options?: TriggersQueryByFactoryOptionalParams): Promise; +} + +// @public +export interface TriggersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; +} + +// @public +export type TriggersCreateOrUpdateResponse = TriggerResource; + +// @public +export interface TriggersDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface TriggersGetEventSubscriptionStatusOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type TriggersGetEventSubscriptionStatusResponse = TriggerSubscriptionOperationStatus; + +// @public +export interface TriggersGetOptionalParams extends coreClient.OperationOptions { + ifNoneMatch?: string; +} + +// @public +export type TriggersGetResponse = TriggerResource; + +// @public +export interface TriggersListByFactoryNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type TriggersListByFactoryNextResponse = TriggerListResponse; + +// @public +export interface TriggersListByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type TriggersListByFactoryResponse = TriggerListResponse; + +// @public +export interface TriggersQueryByFactoryOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type TriggersQueryByFactoryResponse = TriggerQueryResponse; + +// @public +export interface TriggersStartOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface TriggersStopOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface TriggersSubscribeToEventsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type TriggersSubscribeToEventsResponse = TriggerSubscriptionOperationStatus; + +// @public +export interface TriggerSubscriptionOperationStatus { + readonly status?: EventSubscriptionStatus; + readonly triggerName?: string; +} + +// @public +export interface TriggersUnsubscribeFromEventsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type TriggersUnsubscribeFromEventsResponse = TriggerSubscriptionOperationStatus; + +// @public (undocumented) +export type TriggerUnion = Trigger | MultiplePipelineTriggerUnion | TumblingWindowTrigger | RerunTumblingWindowTrigger | ChainingTrigger; + +// @public +export type TumblingWindowFrequency = string; + +// @public +export type TumblingWindowTrigger = Trigger & { + type: "TumblingWindowTrigger"; + pipeline: TriggerPipelineReference; + frequency: TumblingWindowFrequency; + interval: number; + startTime: Date; + endTime?: Date; + delay?: Record; + maxConcurrency: number; + retryPolicy?: RetryPolicy; + dependsOn?: DependencyReferenceUnion[]; +}; + +// @public +export type TumblingWindowTriggerDependencyReference = TriggerDependencyReference & { + type: "TumblingWindowTriggerDependencyReference"; + offset?: string; + size?: string; +}; + +// @public +export interface TypeConversionSettings { + allowDataTruncation?: Record; + culture?: Record; + dateTimeFormat?: Record; + dateTimeOffsetFormat?: Record; + timeSpanFormat?: Record; + treatBooleanAsNumber?: Record; +} + +// @public +export type UntilActivity = ControlActivity & { + type: "Until"; + expression: Expression; + timeout?: Record; + activities: ActivityUnion[]; +}; + +// @public +export interface UpdateIntegrationRuntimeNodeRequest { + concurrentJobsLimit?: number; +} + +// @public +export interface UpdateIntegrationRuntimeRequest { + autoUpdate?: IntegrationRuntimeAutoUpdate; + updateDelayOffset?: string; +} + +// @public +export interface UserAccessPolicy { + accessResourcePath?: string; + expireTime?: string; + permissions?: string; + profileName?: string; + startTime?: string; +} + +// @public +export interface UserProperty { + name: string; + value: Record; +} + +// @public +export type ValidationActivity = ControlActivity & { + type: "Validation"; + timeout?: Record; + sleep?: Record; + minimumSize?: Record; + childItems?: Record; + dataset: DatasetReference; +}; + +// @public +export interface VariableSpecification { + defaultValue?: Record; + type: VariableType; +} + +// @public +export type VariableType = string; + +// @public +export type VerticaLinkedService = LinkedService & { + type: "Vertica"; + connectionString?: Record; + pwd?: AzureKeyVaultSecretReference; + encryptedCredential?: Record; +}; + +// @public +export type VerticaSource = TabularSource & { + type: "VerticaSource"; + query?: Record; +}; + +// @public +export type VerticaTableDataset = Dataset & { + type: "VerticaTable"; + tableName?: Record; + table?: Record; + schemaTypePropertiesSchema?: Record; +}; + +// @public +export type WaitActivity = ControlActivity & { + type: "Wait"; + waitTimeInSeconds: Record; +}; + +// @public +export type WebActivity = ExecutionActivity & { + type: "WebActivity"; + method: WebActivityMethod; + url: Record; + headers?: Record; + body?: Record; + authentication?: WebActivityAuthentication; + datasets?: DatasetReference[]; + linkedServices?: LinkedServiceReference[]; + connectVia?: IntegrationRuntimeReference; +}; + +// @public +export interface WebActivityAuthentication { + credential?: CredentialReference; + password?: SecretBaseUnion; + pfx?: SecretBaseUnion; + resource?: Record; + type?: string; + username?: Record; + userTenant?: Record; +} + +// @public +export type WebActivityMethod = string; + +// @public +export type WebAnonymousAuthentication = WebLinkedServiceTypeProperties & { + authenticationType: "Anonymous"; +}; + +// @public +export type WebAuthenticationType = string; + +// @public +export type WebBasicAuthentication = WebLinkedServiceTypeProperties & { + authenticationType: "Basic"; + username: Record; + password: SecretBaseUnion; +}; + +// @public +export type WebClientCertificateAuthentication = WebLinkedServiceTypeProperties & { + authenticationType: "ClientCertificate"; + pfx: SecretBaseUnion; + password: SecretBaseUnion; +}; + +// @public +export type WebHookActivity = ControlActivity & { + type: "WebHook"; + method: WebHookActivityMethod; + url: Record; + timeout?: string; + headers?: Record; + body?: Record; + authentication?: WebActivityAuthentication; + reportStatusOnCallBack?: Record; +}; + +// @public +export type WebHookActivityMethod = string; + +// @public +export type WebLinkedService = LinkedService & { + type: "Web"; + typeProperties: WebLinkedServiceTypePropertiesUnion; +}; + +// @public +export interface WebLinkedServiceTypeProperties { + authenticationType: "Anonymous" | "Basic" | "ClientCertificate"; + url: Record; +} + +// @public (undocumented) +export type WebLinkedServiceTypePropertiesUnion = WebLinkedServiceTypeProperties | WebAnonymousAuthentication | WebBasicAuthentication | WebClientCertificateAuthentication; + +// @public +export type WebSource = CopySource & { + type: "WebSource"; + additionalColumns?: Record; +}; + +// @public +export type WebTableDataset = Dataset & { + type: "WebTable"; + index: Record; + path?: Record; +}; + +// @public +export type WranglingDataFlow = DataFlow & { + type: "WranglingDataFlow"; + sources?: PowerQuerySource[]; + script?: string; + documentLocale?: string; +}; + +// @public +export type XeroLinkedService = LinkedService & { + type: "Xero"; + connectionProperties?: Record; + host?: Record; + consumerKey?: SecretBaseUnion; + privateKey?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type XeroObjectDataset = Dataset & { + type: "XeroObject"; + tableName?: Record; +}; + +// @public +export type XeroSource = TabularSource & { + type: "XeroSource"; + query?: Record; +}; + +// @public +export type XmlDataset = Dataset & { + type: "Xml"; + location?: DatasetLocationUnion; + encodingName?: Record; + nullValue?: Record; + compression?: DatasetCompression; +}; + +// @public +export type XmlReadSettings = FormatReadSettings & { + type: "XmlReadSettings"; + compressionProperties?: CompressionReadSettingsUnion; + validationMode?: Record; + detectDataType?: Record; + namespaces?: Record; + namespacePrefixes?: Record; +}; + +// @public +export type XmlSource = CopySource & { + type: "XmlSource"; + storeSettings?: StoreReadSettingsUnion; + formatSettings?: XmlReadSettings; + additionalColumns?: Record; +}; + +// @public +export type ZipDeflateReadSettings = CompressionReadSettings & { + type: "ZipDeflateReadSettings"; + preserveZipFileNameAsFolder?: Record; +}; + +// @public +export type ZohoLinkedService = LinkedService & { + type: "Zoho"; + connectionProperties?: Record; + endpoint?: Record; + accessToken?: SecretBaseUnion; + useEncryptedEndpoints?: Record; + useHostVerification?: Record; + usePeerVerification?: Record; + encryptedCredential?: Record; +}; + +// @public +export type ZohoObjectDataset = Dataset & { + type: "ZohoObject"; + tableName?: Record; +}; + +// @public +export type ZohoSource = TabularSource & { + type: "ZohoSource"; + query?: Record; +}; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/sdk/datafactory/arm-datafactory/rollup.config.js b/sdk/datafactory/arm-datafactory/rollup.config.js index b508e47e98dd..9be1955eb7f1 100644 --- a/sdk/datafactory/arm-datafactory/rollup.config.js +++ b/sdk/datafactory/arm-datafactory/rollup.config.js @@ -1,37 +1,188 @@ -import rollup from "rollup"; -import nodeResolve from "rollup-plugin-node-resolve"; -import sourcemaps from "rollup-plugin-sourcemaps"; - -/** - * @type {rollup.RollupFileOptions} - */ -const config = { - input: "./esm/dataFactoryManagementClient.js", - external: [ - "@azure/ms-rest-js", - "@azure/ms-rest-azure-js" - ], - output: { - file: "./dist/arm-datafactory.js", - format: "umd", - name: "Azure.ArmDatafactory", - sourcemap: true, - globals: { - "@azure/ms-rest-js": "msRest", - "@azure/ms-rest-azure-js": "msRestAzure" - }, - banner: `/* +/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */` - }, - plugins: [ - nodeResolve({ mainFields: ['module', 'main'] }), - sourcemaps() - ] + */ + +import nodeResolve from "@rollup/plugin-node-resolve"; +import cjs from "@rollup/plugin-commonjs"; +import sourcemaps from "rollup-plugin-sourcemaps"; +import multiEntry from "@rollup/plugin-multi-entry"; +import json from "@rollup/plugin-json"; + +import nodeBuiltins from "builtin-modules"; + +/** + * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. + * + * NOTE: this manual configuration is only needed because OpenTelemetry uses an + * __exportStar downleveled helper function to declare its exports which confuses + * rollup's automatic discovery mechanism. + * + * @returns an object reference that can be `...`'d into your cjs() configuration. + */ +export function openTelemetryCommonJs() { + const namedExports = {}; + + for (const key of [ + "@opentelemetry/api", + "@azure/core-tracing/node_modules/@opentelemetry/api" + ]) { + namedExports[key] = [ + "SpanKind", + "TraceFlags", + "getSpan", + "setSpan", + "SpanStatusCode", + "getSpanContext", + "setSpanContext" + ]; + } + + const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; + + for (const version of releasedOpenTelemetryVersions) { + namedExports[ + // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. + `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` + ] = [ + "SpanKind", + "TraceFlags", + "getSpan", + "setSpan", + "StatusCode", + "CanonicalCode", + "getSpanContext", + "setSpanContext" + ]; + } + + return namedExports; +} + +// #region Warning Handler + +/** + * A function that can determine whether a rollupwarning should be ignored. If + * the function returns `true`, then the warning will not be displayed. + */ + +function ignoreNiseSinonEvalWarnings(warning) { + return ( + warning.code === "EVAL" && + warning.id && + (warning.id.includes("node_modules/nise") || + warning.id.includes("node_modules/sinon")) === true + ); +} + +function ignoreChaiCircularDependencyWarnings(warning) { + return ( + warning.code === "CIRCULAR_DEPENDENCY" && + warning.importer && warning.importer.includes("node_modules/chai") === true + ); +} + +const warningInhibitors = [ + ignoreChaiCircularDependencyWarnings, + ignoreNiseSinonEvalWarnings +]; + +/** + * Construct a warning handler for the shared rollup configuration + * that ignores certain warnings that are not relevant to testing. + */ +function makeOnWarnForTesting() { + return (warning, warn) => { + // If every inhibitor returns false (i.e. no inhibitors), then show the warning + if (warningInhibitors.every((inhib) => !inhib(warning))) { + warn(warning); + } + }; +} + +// #endregion + +function makeBrowserTestConfig() { + const config = { + input: { + include: ["dist-esm/test/**/*.spec.js"], + exclude: ["dist-esm/test/**/node/**"] + }, + output: { + file: `dist-test/index.browser.js`, + format: "umd", + sourcemap: true + }, + preserveSymlinks: false, + plugins: [ + multiEntry({ exports: false }), + nodeResolve({ + mainFields: ["module", "browser"] + }), + cjs({ + namedExports: { + // Chai's strange internal architecture makes it impossible to statically + // analyze its exports. + chai: [ + "version", + "use", + "util", + "config", + "expect", + "should", + "assert" + ], + ...openTelemetryCommonJs() + } + }), + json(), + sourcemaps() + //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) + ], + onwarn: makeOnWarnForTesting(), + // Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0, + // rollup started respecting the "sideEffects" field in package.json. Since + // our package.json sets "sideEffects=false", this also applies to test + // code, which causes all tests to be removed by tree-shaking. + treeshake: false + }; + + return config; +} + +const defaultConfigurationOptions = { + disableBrowserBundle: false }; -export default config; +export function makeConfig(pkg, options) { + options = { + ...defaultConfigurationOptions, + ...(options || {}) + }; + + const baseConfig = { + // Use the package's module field if it has one + input: pkg["module"] || "dist-esm/src/index.js", + external: [ + ...nodeBuiltins, + ...Object.keys(pkg.dependencies), + ...Object.keys(pkg.devDependencies) + ], + output: { file: "dist/index.js", format: "cjs", sourcemap: true }, + preserveSymlinks: false, + plugins: [sourcemaps(), nodeResolve(), cjs()] + }; + + const config = [baseConfig]; + + if (!options.disableBrowserBundle) { + config.push(makeBrowserTestConfig()); + } + + return config; +} + +export default makeConfig(require("./package.json")); diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index 2db622aedb39..c6a6319e31ca 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -3,86 +3,112 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; -import * as Models from "./models"; -import * as Mappers from "./models/mappers"; -import * as operations from "./operations"; +import * as coreAuth from "@azure/core-auth"; +import { + OperationsImpl, + FactoriesImpl, + ExposureControlImpl, + IntegrationRuntimesImpl, + IntegrationRuntimeObjectMetadataImpl, + IntegrationRuntimeNodesImpl, + LinkedServicesImpl, + DatasetsImpl, + PipelinesImpl, + PipelineRunsImpl, + ActivityRunsImpl, + TriggersImpl, + TriggerRunsImpl, + DataFlowsImpl, + DataFlowDebugSessionImpl, + ManagedVirtualNetworksImpl, + ManagedPrivateEndpointsImpl, + PrivateEndPointConnectionsImpl, + PrivateEndpointConnectionImpl, + PrivateLinkResourcesImpl +} from "./operations"; +import { + Operations, + Factories, + ExposureControl, + IntegrationRuntimes, + IntegrationRuntimeObjectMetadata, + IntegrationRuntimeNodes, + LinkedServices, + Datasets, + Pipelines, + PipelineRuns, + ActivityRuns, + Triggers, + TriggerRuns, + DataFlows, + DataFlowDebugSession, + ManagedVirtualNetworks, + ManagedPrivateEndpoints, + PrivateEndPointConnections, + PrivateEndpointConnection, + PrivateLinkResources +} from "./operationsInterfaces"; import { DataFactoryManagementClientContext } from "./dataFactoryManagementClientContext"; +import { DataFactoryManagementClientOptionalParams } from "./models"; -class DataFactoryManagementClient extends DataFactoryManagementClientContext { - // Operation groups - operations: operations.Operations; - factories: operations.Factories; - exposureControl: operations.ExposureControl; - integrationRuntimes: operations.IntegrationRuntimes; - integrationRuntimeObjectMetadata: operations.IntegrationRuntimeObjectMetadata; - integrationRuntimeNodes: operations.IntegrationRuntimeNodes; - linkedServices: operations.LinkedServices; - datasets: operations.Datasets; - pipelines: operations.Pipelines; - pipelineRuns: operations.PipelineRuns; - activityRuns: operations.ActivityRuns; - triggers: operations.Triggers; - triggerRuns: operations.TriggerRuns; - dataFlows: operations.DataFlows; - dataFlowDebugSession: operations.DataFlowDebugSession; - managedVirtualNetworks: operations.ManagedVirtualNetworks; - managedPrivateEndpoints: operations.ManagedPrivateEndpoints; - privateEndPointConnections: operations.PrivateEndPointConnections; - privateEndpointConnection: operations.PrivateEndpointConnection; - privateLinkResources: operations.PrivateLinkResources; - +export class DataFactoryManagementClient extends DataFactoryManagementClientContext { /** * Initializes a new instance of the DataFactoryManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. Credentials - * implementing the TokenCredential interface from the @azure/identity package are recommended. For - * more information about these credentials, see - * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the - * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and - * @azure/ms-rest-browserauth are also supported. + * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The subscription identifier. - * @param [options] The parameter options + * @param options The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials | TokenCredential, + credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: Models.DataFactoryManagementClientOptions + options?: DataFactoryManagementClientOptionalParams ) { super(credentials, subscriptionId, options); - this.operations = new operations.Operations(this); - this.factories = new operations.Factories(this); - this.exposureControl = new operations.ExposureControl(this); - this.integrationRuntimes = new operations.IntegrationRuntimes(this); - this.integrationRuntimeObjectMetadata = new operations.IntegrationRuntimeObjectMetadata(this); - this.integrationRuntimeNodes = new operations.IntegrationRuntimeNodes(this); - this.linkedServices = new operations.LinkedServices(this); - this.datasets = new operations.Datasets(this); - this.pipelines = new operations.Pipelines(this); - this.pipelineRuns = new operations.PipelineRuns(this); - this.activityRuns = new operations.ActivityRuns(this); - this.triggers = new operations.Triggers(this); - this.triggerRuns = new operations.TriggerRuns(this); - this.dataFlows = new operations.DataFlows(this); - this.dataFlowDebugSession = new operations.DataFlowDebugSession(this); - this.managedVirtualNetworks = new operations.ManagedVirtualNetworks(this); - this.managedPrivateEndpoints = new operations.ManagedPrivateEndpoints(this); - this.privateEndPointConnections = new operations.PrivateEndPointConnections(this); - this.privateEndpointConnection = new operations.PrivateEndpointConnection(this); - this.privateLinkResources = new operations.PrivateLinkResources(this); + this.operations = new OperationsImpl(this); + this.factories = new FactoriesImpl(this); + this.exposureControl = new ExposureControlImpl(this); + this.integrationRuntimes = new IntegrationRuntimesImpl(this); + this.integrationRuntimeObjectMetadata = new IntegrationRuntimeObjectMetadataImpl( + this + ); + this.integrationRuntimeNodes = new IntegrationRuntimeNodesImpl(this); + this.linkedServices = new LinkedServicesImpl(this); + this.datasets = new DatasetsImpl(this); + this.pipelines = new PipelinesImpl(this); + this.pipelineRuns = new PipelineRunsImpl(this); + this.activityRuns = new ActivityRunsImpl(this); + this.triggers = new TriggersImpl(this); + this.triggerRuns = new TriggerRunsImpl(this); + this.dataFlows = new DataFlowsImpl(this); + this.dataFlowDebugSession = new DataFlowDebugSessionImpl(this); + this.managedVirtualNetworks = new ManagedVirtualNetworksImpl(this); + this.managedPrivateEndpoints = new ManagedPrivateEndpointsImpl(this); + this.privateEndPointConnections = new PrivateEndPointConnectionsImpl(this); + this.privateEndpointConnection = new PrivateEndpointConnectionImpl(this); + this.privateLinkResources = new PrivateLinkResourcesImpl(this); } -} -// Operation Specifications - -export { - DataFactoryManagementClient, - DataFactoryManagementClientContext, - Models as DataFactoryManagementModels, - Mappers as DataFactoryManagementMappers -}; -export * from "./operations"; + operations: Operations; + factories: Factories; + exposureControl: ExposureControl; + integrationRuntimes: IntegrationRuntimes; + integrationRuntimeObjectMetadata: IntegrationRuntimeObjectMetadata; + integrationRuntimeNodes: IntegrationRuntimeNodes; + linkedServices: LinkedServices; + datasets: Datasets; + pipelines: Pipelines; + pipelineRuns: PipelineRuns; + activityRuns: ActivityRuns; + triggers: Triggers; + triggerRuns: TriggerRuns; + dataFlows: DataFlows; + dataFlowDebugSession: DataFlowDebugSession; + managedVirtualNetworks: ManagedVirtualNetworks; + managedPrivateEndpoints: ManagedPrivateEndpoints; + privateEndPointConnections: PrivateEndPointConnections; + privateEndpointConnection: PrivateEndpointConnection; + privateLinkResources: PrivateLinkResources; +} diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts index af06ee5cc3fb..0ea2c1e91e19 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts @@ -3,72 +3,68 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as Models from "./models"; -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import { TokenCredential } from "@azure/core-auth"; +import * as coreClient from "@azure/core-client"; +import * as coreAuth from "@azure/core-auth"; +import { DataFactoryManagementClientOptionalParams } from "./models"; -const packageName = "@azure/arm-datafactory"; -const packageVersion = "7.8.0"; - -export class DataFactoryManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials | TokenCredential; +export class DataFactoryManagementClientContext extends coreClient.ServiceClient { + $host: string; + apiVersion: string; subscriptionId: string; - apiVersion?: string; /** - * Initializes a new instance of the DataFactoryManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. Credentials - * implementing the TokenCredential interface from the @azure/identity package are recommended. For - * more information about these credentials, see - * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the - * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and - * @azure/ms-rest-browserauth are also supported. + * Initializes a new instance of the DataFactoryManagementClientContext class. + * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The subscription identifier. - * @param [options] The parameter options + * @param options The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials | TokenCredential, + credentials: coreAuth.TokenCredential, subscriptionId: string, - options?: Models.DataFactoryManagementClientOptions + options?: DataFactoryManagementClientOptionalParams ) { - if (credentials == undefined) { - throw new Error("'credentials' cannot be null."); + if (credentials === undefined) { + throw new Error("'credentials' cannot be null"); } - if (subscriptionId == undefined) { - throw new Error("'subscriptionId' cannot be null."); + if (subscriptionId === undefined) { + throw new Error("'subscriptionId' cannot be null"); } + // Initializing default values for options if (!options) { options = {}; } - if (!options.userAgent) { - const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); - options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; - } + const defaults: DataFactoryManagementClientOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials + }; - super(credentials, options); + const packageDetails = `azsdk-js-arm-datafactory/9.0.0-beta.1`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; - this.apiVersion = "2018-06-01"; - this.acceptLanguage = "en-US"; - this.longRunningOperationRetryTimeout = 30; - this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; - this.requestContentType = "application/json; charset=utf-8"; - this.credentials = credentials; + if (!options.credentialScopes) { + options.credentialScopes = ["https://management.azure.com/.default"]; + } + const optionsWithDefaults = { + ...defaults, + ...options, + userAgentOptions: { + userAgentPrefix + }, + baseUri: options.endpoint || "https://management.azure.com" + }; + super(optionsWithDefaults); + // Parameter assignments this.subscriptionId = subscriptionId; - if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { - this.acceptLanguage = options.acceptLanguage; - } - if ( - options.longRunningOperationRetryTimeout !== null && - options.longRunningOperationRetryTimeout !== undefined - ) { - this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; - } + // Assigning values to Constant parameters + this.$host = options.$host || "https://management.azure.com"; + this.apiVersion = options.apiVersion || "2018-06-01"; } } diff --git a/sdk/datafactory/arm-datafactory/src/index.ts b/sdk/datafactory/arm-datafactory/src/index.ts new file mode 100644 index 000000000000..7f56fb7692ba --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/index.ts @@ -0,0 +1,13 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +/// +export * from "./models"; +export { DataFactoryManagementClient } from "./dataFactoryManagementClient"; +export { DataFactoryManagementClientContext } from "./dataFactoryManagementClientContext"; +export * from "./operationsInterfaces"; diff --git a/sdk/datafactory/arm-datafactory/src/lroImpl.ts b/sdk/datafactory/arm-datafactory/src/lroImpl.ts new file mode 100644 index 000000000000..518d5f053b4e --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/lroImpl.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { LongRunningOperation, LroResponse } from "@azure/core-lro"; + +export class LroImpl implements LongRunningOperation { + constructor( + private sendOperationFn: (args: any, spec: any) => Promise>, + private args: Record, + private spec: { + readonly requestBody?: unknown; + readonly path?: string; + readonly httpMethod: string; + } & Record, + public requestPath: string = spec.path!, + public requestMethod: string = spec.httpMethod + ) {} + public async sendInitialRequest(): Promise> { + return this.sendOperationFn(this.args, this.spec); + } + public async sendPollRequest(path: string): Promise> { + const { requestBody, ...restSpec } = this.spec; + return this.sendOperationFn(this.args, { + ...restSpec, + path, + httpMethod: "GET" + }); + } +} diff --git a/sdk/datafactory/arm-datafactory/src/models/activityRunsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/activityRunsMappers.ts deleted file mode 100644 index 8ce7dd03a667..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/activityRunsMappers.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - ActivityRun, - ActivityRunsQueryResponse, - CloudError, - RunFilterParameters, - RunQueryFilter, - RunQueryOrderBy -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts deleted file mode 100644 index 794362be6353..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowDebugSessionMappers.ts +++ /dev/null @@ -1,295 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - AddDataFlowToDebugSessionResponse, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonRedshiftLinkedService, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AvroDataset, - AvroFormat, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksLinkedService, - AzureDataExplorerLinkedService, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBTableDataset, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMySqlLinkedService, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlTableDataset, - AzureSearchIndexDataset, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableStorageLinkedService, - BinaryDataset, - CassandraLinkedService, - CassandraTableDataset, - CloudError, - CmdkeySetup, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - ComponentSetup, - ConcurLinkedService, - ConcurObjectDataset, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbSqlApiCollectionDataset, - CouchbaseLinkedService, - CouchbaseTableDataset, - CreateDataFlowDebugSessionRequest, - CreateDataFlowDebugSessionResponse, - CustomDataset, - CustomDataSourceLinkedService, - CustomSetupBase, - DataFlow, - DataFlowDebugCommandPayload, - DataFlowDebugCommandRequest, - DataFlowDebugCommandResponse, - DataFlowDebugPackage, - DataFlowDebugPackageDebugSettings, - DataFlowDebugResource, - DataFlowDebugSessionCreateHeaders, - DataFlowDebugSessionExecuteCommandHeaders, - DataFlowDebugSessionInfo, - DataFlowFolder, - DataFlowSink, - DataFlowSource, - DataFlowSourceSetting, - DataFlowStagingInfo, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDebugResource, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2TableDataset, - DeleteDataFlowDebugSessionRequest, - DelimitedTextDataset, - DocumentDbCollectionDataset, - DrillLinkedService, - DrillTableDataset, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsEntityDataset, - DynamicsLinkedService, - EloquaLinkedService, - EloquaObjectDataset, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - FileServerLinkedService, - FileServerLocation, - FileShareDataset, - FtpServerLinkedService, - FtpServerLocation, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GreenplumLinkedService, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HdfsLinkedService, - HdfsLocation, - HDInsightLinkedService, - HDInsightOnDemandLinkedService, - HiveLinkedService, - HiveObjectDataset, - HttpDataset, - HttpLinkedService, - HttpServerLocation, - HubspotLinkedService, - HubspotObjectDataset, - ImpalaLinkedService, - ImpalaObjectDataset, - InformixLinkedService, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeDebugResource, - IntegrationRuntimeReference, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JsonDataset, - JsonFormat, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceDebugResource, - LinkedServiceReference, - MagentoLinkedService, - MagentoObjectDataset, - ManagedIntegrationRuntime, - ManagedVirtualNetworkReference, - MappingDataFlow, - MariaDBLinkedService, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MicrosoftAccessLinkedService, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbCollectionDataset, - MongoDbLinkedService, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MySqlLinkedService, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - OdbcLinkedService, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleLinkedService, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleTableDataset, - OrcDataset, - OrcFormat, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - PaypalLinkedService, - PaypalObjectDataset, - PhoenixLinkedService, - PhoenixObjectDataset, - PostgreSqlLinkedService, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - QueryDataFlowDebugSessionsResponse, - QuickBooksLinkedService, - QuickBooksObjectDataset, - RelationalTableDataset, - ResponsysLinkedService, - ResponsysObjectDataset, - RestResourceDataset, - RestServiceLinkedService, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SapBwCubeDataset, - SapBWLinkedService, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapEccLinkedService, - SapEccResourceDataset, - SapHanaLinkedService, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTableResourceDataset, - ScriptAction, - SecretBase, - SecureString, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - SftpLocation, - SftpServerLinkedService, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - ShopifyLinkedService, - ShopifyObjectDataset, - SnowflakeDataset, - SnowflakeLinkedService, - SparkLinkedService, - SparkObjectDataset, - SqlAlwaysEncryptedProperties, - SqlServerLinkedService, - SqlServerTableDataset, - SquareLinkedService, - SquareObjectDataset, - SubResourceDebugResource, - SybaseLinkedService, - SybaseTableDataset, - TeradataLinkedService, - TeradataTableDataset, - TextFormat, - Transformation, - VerticaLinkedService, - VerticaTableDataset, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XmlDataset, - ZohoLinkedService, - ZohoObjectDataset -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts deleted file mode 100644 index 0c48981c50f2..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts +++ /dev/null @@ -1,583 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowListResponse, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts deleted file mode 100644 index 783d2d32c5e8..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts +++ /dev/null @@ -1,583 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetListResponse, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts b/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts deleted file mode 100644 index d0f583ee5fb7..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/exposureControlMappers.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - CloudError, - ExposureControlBatchRequest, - ExposureControlBatchResponse, - ExposureControlRequest, - ExposureControlResponse -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts deleted file mode 100644 index d7a96ccb70cf..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts +++ /dev/null @@ -1,589 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - AccessPolicyResponse, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryListResponse, - FactoryRepoConfiguration, - FactoryRepoUpdate, - FactoryUpdateParameters, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GitHubAccessTokenRequest, - GitHubAccessTokenResponse, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserAccessPolicy, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 9ceceda02aa6..c76db5a9426e 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -6,27325 +6,12024 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; -import * as msRest from "@azure/ms-rest-js"; +import * as coreClient from "@azure/core-client"; -export { BaseResource, CloudError }; - -/** - * Azure Data Factory top-level resource. - */ -export interface Resource extends BaseResource { - /** - * The resource identifier. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * The resource name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * The resource type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * The resource location. - */ - location?: string; - /** - * The resource tags. - */ - tags?: { [propertyName: string]: string }; - /** - * Etag identifies change in the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly eTag?: string; -} - -/** - * Azure Data Factory nested resource, which belongs to a factory. - */ -export interface SubResource extends BaseResource { - /** - * The resource identifier. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * The resource name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * The resource type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * Etag identifies change in the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly etag?: string; -} - -/** - * Azure Data Factory nested debug resource. - */ -export interface SubResourceDebugResource { - /** - * The resource name. - */ - name?: string; -} - -/** - * Azure Data Factory expression definition. - */ -export interface Expression { - /** - * Expression value. - */ - value: string; -} - -/** - * Contains the possible cases for SecretBase. - */ -export type SecretBaseUnion = SecretBase | SecureString | AzureKeyVaultSecretReference; - -/** - * The base definition of a secret type. - */ -export interface SecretBase { - /** - * Polymorphic Discriminator - */ - type: "SecretBase"; -} - -/** - * Azure Data Factory secure string definition. The string value will be masked with asterisks '*' - * during Get or List API calls. - */ -export interface SecureString { - /** - * Polymorphic Discriminator - */ - type: "SecureString"; - /** - * Value of secure string. - */ - value: string; -} - -/** - * Linked service reference type. - */ -export interface LinkedServiceReference { - /** - * Reference LinkedService name. - */ - referenceName: string; - /** - * Arguments for LinkedService. - */ - parameters?: { [propertyName: string]: any }; -} - -/** - * Azure Key Vault secret reference. - */ -export interface AzureKeyVaultSecretReference { - /** - * Polymorphic Discriminator - */ - type: "AzureKeyVaultSecret"; - /** - * The Azure Key Vault linked service reference. - */ - store: LinkedServiceReference; - /** - * The name of the secret in Azure Key Vault. Type: string (or Expression with resultType - * string). - */ - secretName: any; - /** - * The version of the secret in Azure Key Vault. The default value is the latest version of the - * secret. Type: string (or Expression with resultType string). - */ - secretVersion?: any; -} - -/** - * Identity properties of the factory resource. - */ -export interface FactoryIdentity { - /** - * The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', - * 'SystemAssigned,UserAssigned' - */ - type: FactoryIdentityType; - /** - * The principal id of the identity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly principalId?: string; - /** - * The client tenant id of the identity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly tenantId?: string; - /** - * List of user assigned identities for the factory. - */ - userAssignedIdentities?: { [propertyName: string]: any }; -} - -/** - * Contains the possible cases for FactoryRepoConfiguration. - */ export type FactoryRepoConfigurationUnion = | FactoryRepoConfiguration - | FactoryVSTSConfiguration + | FactoryVstsConfiguration | FactoryGitHubConfiguration; - -/** - * Factory's git repo information. - */ -export interface FactoryRepoConfiguration { - /** - * Polymorphic Discriminator - */ - type: "FactoryRepoConfiguration"; - /** - * Account name. - */ - accountName: string; - /** - * Repository name. - */ - repositoryName: string; - /** - * Collaboration branch. - */ - collaborationBranch: string; - /** - * Root folder. - */ - rootFolder: string; - /** - * Last commit id. - */ - lastCommitId?: string; -} - -/** - * Definition of a single parameter for an entity. - */ -export interface GlobalParameterSpecification { - /** - * Global Parameter type. Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', - * 'Array' - */ - type: GlobalParameterType; - /** - * Value of parameter. - */ - value: any; -} - -/** - * Managed Identity used for CMK. - */ -export interface CMKIdentityDefinition { - /** - * The resource id of the user assigned identity to authenticate to customer's key vault. - */ - userAssignedIdentity?: string; -} - -/** - * Definition of CMK for the factory. - */ -export interface EncryptionConfiguration { - /** - * The name of the key in Azure Key Vault to use as Customer Managed Key. - */ - keyName: string; - /** - * The url of the Azure Key Vault used for CMK. - */ - vaultBaseUrl: string; - /** - * The version of the key used for CMK. If not provided, latest version will be used. - */ - keyVersion?: string; - /** - * User assigned identity to use to authenticate to customer's key vault. If not provided Managed - * Service Identity will be used. - */ - identity?: CMKIdentityDefinition; -} - -/** - * Factory resource type. - */ -export interface Factory extends Resource { - /** - * Managed service identity of the factory. - */ - identity?: FactoryIdentity; - /** - * Factory provisioning state, example Succeeded. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: string; - /** - * Time the factory was created in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly createTime?: Date; - /** - * Version of the factory. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly version?: string; - /** - * Git repo information of the factory. - */ - repoConfiguration?: FactoryRepoConfigurationUnion; - /** - * List of parameters for factory. - */ - globalParameters?: { [propertyName: string]: GlobalParameterSpecification }; - /** - * Properties to enable Customer Managed Key for the factory. - */ - encryption?: EncryptionConfiguration; - /** - * Whether or not public network access is allowed for the data factory. Possible values include: - * 'Enabled', 'Disabled' - */ - publicNetworkAccess?: PublicNetworkAccess; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Contains the possible cases for IntegrationRuntime. - */ export type IntegrationRuntimeUnion = | IntegrationRuntime - | SelfHostedIntegrationRuntime - | ManagedIntegrationRuntime; - -/** - * Azure Data Factory nested object which serves as a compute resource for activities. - */ -export interface IntegrationRuntime { - /** - * Polymorphic Discriminator - */ - type: "IntegrationRuntime"; - /** - * Integration runtime description. - */ - description?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Integration runtime resource type. - */ -export interface IntegrationRuntimeResource extends SubResource { - /** - * Integration runtime properties. - */ - properties: IntegrationRuntimeUnion; -} - -/** - * Integration runtime reference type. - */ -export interface IntegrationRuntimeReference { - /** - * Reference integration runtime name. - */ - referenceName: string; - /** - * Arguments for integration runtime. - */ - parameters?: { [propertyName: string]: any }; -} - -/** - * Integration runtime debug resource. - */ -export interface IntegrationRuntimeDebugResource extends SubResourceDebugResource { - /** - * Integration runtime properties. - */ - properties: IntegrationRuntimeUnion; -} - -/** - * Contains the possible cases for IntegrationRuntimeStatus. - */ + | ManagedIntegrationRuntime + | SelfHostedIntegrationRuntime; export type IntegrationRuntimeStatusUnion = | IntegrationRuntimeStatus - | SelfHostedIntegrationRuntimeStatus - | ManagedIntegrationRuntimeStatus; - -/** - * Integration runtime status. - */ -export interface IntegrationRuntimeStatus { - /** - * Polymorphic Discriminator - */ - type: "IntegrationRuntimeStatus"; - /** - * The data factory name which the integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dataFactoryName?: string; - /** - * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', - * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: IntegrationRuntimeState; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Integration runtime status response. - */ -export interface IntegrationRuntimeStatusResponse { - /** - * The integration runtime name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Integration runtime properties. - */ - properties: IntegrationRuntimeStatusUnion; -} - -/** - * A list of integration runtime status. - */ -export interface IntegrationRuntimeStatusListResponse { - /** - * List of integration runtime status. - */ - value: IntegrationRuntimeStatusResponse[]; - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; -} - -/** - * Update integration runtime request. - */ -export interface UpdateIntegrationRuntimeRequest { - /** - * Enables or disables the auto-update feature of the self-hosted integration runtime. See - * https://go.microsoft.com/fwlink/?linkid=854189. Possible values include: 'On', 'Off' - */ - autoUpdate?: IntegrationRuntimeAutoUpdate; - /** - * The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto - * update will happen on that time. - */ - updateDelayOffset?: string; -} - -/** - * Update integration runtime node request. - */ -export interface UpdateIntegrationRuntimeNodeRequest { - /** - * The number of concurrent jobs permitted to run on the integration runtime node. Values between - * 1 and maxConcurrentJobs(inclusive) are allowed. - */ - concurrentJobsLimit?: number; -} - -/** - * Data factory name for linked integration runtime request. - */ -export interface LinkedIntegrationRuntimeRequest { - /** - * The data factory name for linked integration runtime. - */ - linkedFactoryName: string; -} - -/** - * The linked integration runtime information. - */ -export interface CreateLinkedIntegrationRuntimeRequest { - /** - * The name of the linked integration runtime. - */ - name?: string; - /** - * The ID of the subscription that the linked integration runtime belongs to. - */ - subscriptionId?: string; - /** - * The name of the data factory that the linked integration runtime belongs to. - */ - dataFactoryName?: string; - /** - * The location of the data factory that the linked integration runtime belongs to. - */ - dataFactoryLocation?: string; -} - -/** - * Definition of a single parameter for an entity. - */ -export interface ParameterSpecification { - /** - * Parameter type. Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', 'Array', - * 'SecureString' - */ - type: ParameterType; - /** - * Default value of parameter. - */ - defaultValue?: any; -} - -/** - * Contains the possible cases for LinkedService. - */ + | ManagedIntegrationRuntimeStatus + | SelfHostedIntegrationRuntimeStatus; +export type SsisObjectMetadataUnion = + | SsisObjectMetadata + | SsisFolder + | SsisProject + | SsisPackage + | SsisEnvironment; export type LinkedServiceUnion = | LinkedService - | SharePointOnlineListLinkedService - | SnowflakeLinkedService - | AzureFunctionLinkedService - | AzureDataExplorerLinkedService - | SapTableLinkedService - | GoogleAdWordsLinkedService - | OracleServiceCloudLinkedService - | DynamicsAXLinkedService - | ResponsysLinkedService - | AzureDatabricksDeltaLakeLinkedService - | AzureDatabricksLinkedService - | AzureDataLakeAnalyticsLinkedService - | HDInsightOnDemandLinkedService - | SalesforceMarketingCloudLinkedService - | NetezzaLinkedService - | VerticaLinkedService - | ZohoLinkedService - | XeroLinkedService - | SquareLinkedService - | SparkLinkedService - | ShopifyLinkedService - | ServiceNowLinkedService - | QuickBooksLinkedService - | PrestoLinkedService - | PhoenixLinkedService - | PaypalLinkedService - | MarketoLinkedService - | AzureMariaDBLinkedService - | MariaDBLinkedService - | MagentoLinkedService - | JiraLinkedService - | ImpalaLinkedService - | HubspotLinkedService - | HiveLinkedService - | HBaseLinkedService - | GreenplumLinkedService - | GoogleBigQueryLinkedService - | EloquaLinkedService - | DrillLinkedService - | CouchbaseLinkedService - | ConcurLinkedService - | AzurePostgreSqlLinkedService - | AmazonMWSLinkedService - | SapHanaLinkedService - | SapBWLinkedService - | SftpServerLinkedService - | FtpServerLinkedService - | HttpLinkedService - | AzureSearchLinkedService - | CustomDataSourceLinkedService - | AmazonRedshiftLinkedService - | AmazonS3LinkedService - | RestServiceLinkedService - | SapOpenHubLinkedService - | SapEccLinkedService - | SapCloudForCustomerLinkedService - | SalesforceServiceCloudLinkedService - | SalesforceLinkedService - | Office365LinkedService - | AzureBlobFSLinkedService - | AzureDataLakeStoreLinkedService - | CosmosDbMongoDbApiLinkedService - | MongoDbV2LinkedService - | MongoDbAtlasLinkedService - | MongoDbLinkedService - | CassandraLinkedService - | WebLinkedService - | ODataLinkedService - | HdfsLinkedService - | MicrosoftAccessLinkedService - | InformixLinkedService - | OdbcLinkedService - | AzureMLServiceLinkedService - | AzureMLLinkedService - | TeradataLinkedService - | Db2LinkedService - | SybaseLinkedService - | PostgreSqlLinkedService - | MySqlLinkedService - | AzureMySqlLinkedService - | OracleLinkedService - | GoogleCloudStorageLinkedService - | OracleCloudStorageLinkedService - | AmazonS3CompatibleLinkedService - | AzureFileStorageLinkedService - | FileServerLinkedService - | HDInsightLinkedService - | CommonDataServiceForAppsLinkedService - | DynamicsCrmLinkedService - | DynamicsLinkedService - | CosmosDbLinkedService - | AzureKeyVaultLinkedService - | AzureBatchLinkedService - | AzureSqlMILinkedService - | AzureSqlDatabaseLinkedService - | SqlServerLinkedService - | AzureSqlDWLinkedService - | AzureTableStorageLinkedService + | AzureStorageLinkedService | AzureBlobStorageLinkedService - | AzureStorageLinkedService; - -/** - * The Azure Data Factory nested object which contains the information and credential which can be - * used to connect with related store or compute resource. - */ -export interface LinkedService { - /** - * Polymorphic Discriminator - */ - type: "LinkedService"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Linked service resource type. - */ -export interface LinkedServiceResource extends SubResource { - /** - * Properties of linked service. - */ - properties: LinkedServiceUnion; -} - -/** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ -export interface DatasetFolder { - /** - * The name of the folder that this Dataset is in. - */ - name?: string; -} - -/** - * Contains the possible cases for Dataset. - */ -export type DatasetUnion = - | Dataset - | AzureDatabricksDeltaLakeDataset - | SharePointOnlineListResourceDataset - | SnowflakeDataset - | GoogleAdWordsObjectDataset - | AzureDataExplorerTableDataset - | OracleServiceCloudObjectDataset - | DynamicsAXResourceDataset - | ResponsysObjectDataset - | SalesforceMarketingCloudObjectDataset - | VerticaTableDataset - | NetezzaTableDataset - | ZohoObjectDataset - | XeroObjectDataset - | SquareObjectDataset - | SparkObjectDataset - | ShopifyObjectDataset - | ServiceNowObjectDataset - | QuickBooksObjectDataset - | PrestoObjectDataset - | PhoenixObjectDataset - | PaypalObjectDataset - | MarketoObjectDataset - | AzureMariaDBTableDataset - | MariaDBTableDataset - | MagentoObjectDataset - | JiraObjectDataset - | ImpalaObjectDataset - | HubspotObjectDataset - | HiveObjectDataset - | HBaseObjectDataset - | GreenplumTableDataset - | GoogleBigQueryObjectDataset - | EloquaObjectDataset - | DrillTableDataset - | CouchbaseTableDataset - | ConcurObjectDataset - | AzurePostgreSqlTableDataset - | AmazonMWSObjectDataset - | HttpDataset - | AzureSearchIndexDataset - | WebTableDataset - | SapTableResourceDataset - | RestResourceDataset - | SqlServerTableDataset - | SapOpenHubTableDataset - | SapHanaTableDataset - | SapEccResourceDataset - | SapCloudForCustomerResourceDataset - | SapBwCubeDataset - | SybaseTableDataset - | SalesforceServiceCloudObjectDataset - | SalesforceObjectDataset - | MicrosoftAccessTableDataset - | PostgreSqlTableDataset - | MySqlTableDataset - | OdbcTableDataset - | InformixTableDataset - | RelationalTableDataset - | Db2TableDataset - | AmazonRedshiftTableDataset - | AzureMySqlTableDataset - | TeradataTableDataset - | OracleTableDataset - | ODataResourceDataset - | CosmosDbMongoDbApiCollectionDataset - | MongoDbV2CollectionDataset - | MongoDbAtlasCollectionDataset - | MongoDbCollectionDataset - | FileShareDataset - | Office365Dataset - | AzureBlobFSDataset - | AzureDataLakeStoreDataset - | CommonDataServiceForAppsEntityDataset - | DynamicsCrmEntityDataset - | DynamicsEntityDataset - | DocumentDbCollectionDataset - | CosmosDbSqlApiCollectionDataset - | CustomDataset - | CassandraTableDataset - | AzureSqlDWTableDataset - | AzureSqlMITableDataset - | AzureSqlTableDataset - | AzureTableDataset - | AzureBlobDataset - | BinaryDataset - | OrcDataset - | XmlDataset - | JsonDataset - | DelimitedTextDataset - | ParquetDataset - | ExcelDataset + | AzureTableStorageLinkedService + | AzureSqlDWLinkedService + | SqlServerLinkedService + | AmazonRdsForSqlServerLinkedService + | AzureSqlDatabaseLinkedService + | AzureSqlMILinkedService + | AzureBatchLinkedService + | AzureKeyVaultLinkedService + | CosmosDbLinkedService + | DynamicsLinkedService + | DynamicsCrmLinkedService + | CommonDataServiceForAppsLinkedService + | HDInsightLinkedService + | FileServerLinkedService + | AzureFileStorageLinkedService + | AmazonS3CompatibleLinkedService + | OracleCloudStorageLinkedService + | GoogleCloudStorageLinkedService + | OracleLinkedService + | AmazonRdsForOracleLinkedService + | AzureMySqlLinkedService + | MySqlLinkedService + | PostgreSqlLinkedService + | SybaseLinkedService + | Db2LinkedService + | TeradataLinkedService + | AzureMLLinkedService + | AzureMLServiceLinkedService + | OdbcLinkedService + | InformixLinkedService + | MicrosoftAccessLinkedService + | HdfsLinkedService + | ODataLinkedService + | WebLinkedService + | CassandraLinkedService + | MongoDbLinkedService + | MongoDbAtlasLinkedService + | MongoDbV2LinkedService + | CosmosDbMongoDbApiLinkedService + | AzureDataLakeStoreLinkedService + | AzureBlobFSLinkedService + | Office365LinkedService + | SalesforceLinkedService + | SalesforceServiceCloudLinkedService + | SapCloudForCustomerLinkedService + | SapEccLinkedService + | SapOpenHubLinkedService + | RestServiceLinkedService + | AmazonS3LinkedService + | AmazonRedshiftLinkedService + | CustomDataSourceLinkedService + | AzureSearchLinkedService + | HttpLinkedService + | FtpServerLinkedService + | SftpServerLinkedService + | SapBWLinkedService + | SapHanaLinkedService + | AmazonMWSLinkedService + | AzurePostgreSqlLinkedService + | ConcurLinkedService + | CouchbaseLinkedService + | DrillLinkedService + | EloquaLinkedService + | GoogleBigQueryLinkedService + | GreenplumLinkedService + | HBaseLinkedService + | HiveLinkedService + | HubspotLinkedService + | ImpalaLinkedService + | JiraLinkedService + | MagentoLinkedService + | MariaDBLinkedService + | AzureMariaDBLinkedService + | MarketoLinkedService + | PaypalLinkedService + | PhoenixLinkedService + | PrestoLinkedService + | QuickBooksLinkedService + | ServiceNowLinkedService + | ShopifyLinkedService + | SparkLinkedService + | SquareLinkedService + | XeroLinkedService + | ZohoLinkedService + | VerticaLinkedService + | NetezzaLinkedService + | SalesforceMarketingCloudLinkedService + | HDInsightOnDemandLinkedService + | AzureDataLakeAnalyticsLinkedService + | AzureDatabricksLinkedService + | AzureDatabricksDeltaLakeLinkedService + | ResponsysLinkedService + | DynamicsAXLinkedService + | OracleServiceCloudLinkedService + | GoogleAdWordsLinkedService + | SapTableLinkedService + | AzureDataExplorerLinkedService + | AzureFunctionLinkedService + | SnowflakeLinkedService + | SharePointOnlineListLinkedService; +export type DatasetUnion = + | Dataset + | AmazonS3Dataset | AvroDataset - | AmazonS3Dataset; - -/** - * The Azure Data Factory nested object which identifies data within different data stores, such as - * tables, files, folders, and documents. - */ -export interface Dataset { - /** - * Polymorphic Discriminator - */ - type: "Dataset"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Dataset resource type. - */ -export interface DatasetResource extends SubResource { - /** - * Dataset properties. - */ - properties: DatasetUnion; -} - -/** - * Activity dependency information. - */ -export interface ActivityDependency { - /** - * Activity name. - */ - activity: string; - /** - * Match-Condition for the dependency. - */ - dependencyConditions: DependencyCondition[]; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * User property. - */ -export interface UserProperty { - /** - * User property name. - */ - name: string; - /** - * User property value. Type: string (or Expression with resultType string). - */ - value: any; -} - -/** - * Contains the possible cases for Activity. - */ -export type ActivityUnion = Activity | ExecutionActivityUnion | ControlActivityUnion; - -/** - * A pipeline activity. - */ -export interface Activity { - /** - * Polymorphic Discriminator - */ - type: "Activity"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Definition of a single variable for a Pipeline. - */ -export interface VariableSpecification { - /** - * Variable type. Possible values include: 'String', 'Bool', 'Array' - */ - type: VariableType; - /** - * Default value of variable. - */ - defaultValue?: any; -} - -/** - * The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. - */ -export interface PipelineFolder { - /** - * The name of the folder that this Pipeline is in. - */ - name?: string; -} - -/** - * Pipeline ElapsedTime Metric Policy. - */ -export interface PipelineElapsedTimeMetricPolicy { - /** - * TimeSpan value, after which an Azure Monitoring Metric is fired. - */ - duration?: any; -} - -/** - * Pipeline Policy. - */ -export interface PipelinePolicy { - elapsedTimeMetric?: PipelineElapsedTimeMetricPolicy; -} - -/** - * Pipeline resource type. - */ -export interface PipelineResource extends SubResource { - /** - * The description of the pipeline. - */ - description?: string; - /** - * List of activities in pipeline. - */ - activities?: ActivityUnion[]; - /** - * List of parameters for pipeline. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of variables for pipeline. - */ - variables?: { [propertyName: string]: VariableSpecification }; - /** - * The max number of concurrent runs for the pipeline. - */ - concurrency?: number; - /** - * List of tags that can be used for describing the Pipeline. - */ - annotations?: any[]; - /** - * Dimensions emitted by Pipeline. - */ - runDimensions?: { [propertyName: string]: any }; - /** - * The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. - */ - folder?: PipelineFolder; - policy?: PipelinePolicy; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Contains the possible cases for Trigger. - */ + | ExcelDataset + | ParquetDataset + | DelimitedTextDataset + | JsonDataset + | XmlDataset + | OrcDataset + | BinaryDataset + | AzureBlobDataset + | AzureTableDataset + | AzureSqlTableDataset + | AzureSqlMITableDataset + | AzureSqlDWTableDataset + | CassandraTableDataset + | CustomDataset + | CosmosDbSqlApiCollectionDataset + | DocumentDbCollectionDataset + | DynamicsEntityDataset + | DynamicsCrmEntityDataset + | CommonDataServiceForAppsEntityDataset + | AzureDataLakeStoreDataset + | AzureBlobFSDataset + | Office365Dataset + | FileShareDataset + | MongoDbCollectionDataset + | MongoDbAtlasCollectionDataset + | MongoDbV2CollectionDataset + | CosmosDbMongoDbApiCollectionDataset + | ODataResourceDataset + | OracleTableDataset + | AmazonRdsForOracleTableDataset + | TeradataTableDataset + | AzureMySqlTableDataset + | AmazonRedshiftTableDataset + | Db2TableDataset + | RelationalTableDataset + | InformixTableDataset + | OdbcTableDataset + | MySqlTableDataset + | PostgreSqlTableDataset + | MicrosoftAccessTableDataset + | SalesforceObjectDataset + | SalesforceServiceCloudObjectDataset + | SybaseTableDataset + | SapBwCubeDataset + | SapCloudForCustomerResourceDataset + | SapEccResourceDataset + | SapHanaTableDataset + | SapOpenHubTableDataset + | SqlServerTableDataset + | AmazonRdsForSqlServerTableDataset + | RestResourceDataset + | SapTableResourceDataset + | WebTableDataset + | AzureSearchIndexDataset + | HttpDataset + | AmazonMWSObjectDataset + | AzurePostgreSqlTableDataset + | ConcurObjectDataset + | CouchbaseTableDataset + | DrillTableDataset + | EloquaObjectDataset + | GoogleBigQueryObjectDataset + | GreenplumTableDataset + | HBaseObjectDataset + | HiveObjectDataset + | HubspotObjectDataset + | ImpalaObjectDataset + | JiraObjectDataset + | MagentoObjectDataset + | MariaDBTableDataset + | AzureMariaDBTableDataset + | MarketoObjectDataset + | PaypalObjectDataset + | PhoenixObjectDataset + | PrestoObjectDataset + | QuickBooksObjectDataset + | ServiceNowObjectDataset + | ShopifyObjectDataset + | SparkObjectDataset + | SquareObjectDataset + | XeroObjectDataset + | ZohoObjectDataset + | NetezzaTableDataset + | VerticaTableDataset + | SalesforceMarketingCloudObjectDataset + | ResponsysObjectDataset + | DynamicsAXResourceDataset + | OracleServiceCloudObjectDataset + | AzureDataExplorerTableDataset + | GoogleAdWordsObjectDataset + | SnowflakeDataset + | SharePointOnlineListResourceDataset + | AzureDatabricksDeltaLakeDataset; +export type ActivityUnion = + | Activity + | ControlActivityUnion + | ExecutionActivityUnion + | ExecuteWranglingDataflowActivity; export type TriggerUnion = | Trigger - | ChainingTrigger - | RerunTumblingWindowTrigger + | MultiplePipelineTriggerUnion | TumblingWindowTrigger - | MultiplePipelineTriggerUnion; - -/** - * Azure data factory nested object which contains information about creating pipeline run - */ -export interface Trigger { - /** - * Polymorphic Discriminator - */ - type: "Trigger"; - /** - * Trigger description. - */ - description?: string; - /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runtimeState?: TriggerRuntimeState; - /** - * List of tags that can be used for describing the trigger. - */ - annotations?: any[]; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Trigger resource type. - */ -export interface TriggerResource extends SubResource { - /** - * Properties of the trigger. - */ - properties: TriggerUnion; -} - -/** - * A query of triggers. - */ -export interface TriggerQueryResponse { - /** - * List of triggers. - */ - value: TriggerResource[]; - /** - * The continuation token for getting the next page of results, if any remaining results exist, - * null otherwise. - */ - continuationToken?: string; -} - -/** - * Response body with a run identifier. - */ -export interface CreateRunResponse { - /** - * Identifier of a run. - */ - runId: string; -} - -/** - * Defines the response of a trigger subscription operation. - */ -export interface TriggerSubscriptionOperationStatus { - /** - * Trigger name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly triggerName?: string; - /** - * Event Subscription Status. Possible values include: 'Enabled', 'Provisioning', - * 'Deprovisioning', 'Disabled', 'Unknown' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: EventSubscriptionStatus; -} - -/** - * Factory's VSTS repo information. - */ -export interface FactoryVSTSConfiguration { - /** - * Polymorphic Discriminator - */ - type: "FactoryVSTSConfiguration"; - /** - * Account name. - */ - accountName: string; - /** - * Repository name. - */ - repositoryName: string; - /** - * Collaboration branch. - */ - collaborationBranch: string; - /** - * Root folder. - */ - rootFolder: string; - /** - * Last commit id. - */ - lastCommitId?: string; - /** - * VSTS project name. - */ - projectName: string; - /** - * VSTS tenant id. - */ - tenantId?: string; -} - -/** - * Factory's GitHub repo information. - */ -export interface FactoryGitHubConfiguration { - /** - * Polymorphic Discriminator - */ - type: "FactoryGitHubConfiguration"; - /** - * Account name. - */ - accountName: string; - /** - * Repository name. - */ - repositoryName: string; - /** - * Collaboration branch. - */ - collaborationBranch: string; - /** - * Root folder. - */ - rootFolder: string; - /** - * Last commit id. - */ - lastCommitId?: string; - /** - * GitHub Enterprise host name. For example: https://github.mydomain.com - */ - hostName?: string; -} - -/** - * Factory's git repo information. - */ -export interface FactoryRepoUpdate { - /** - * The factory resource id. - */ - factoryResourceId?: string; - /** - * Git repo information of the factory. - */ - repoConfiguration?: FactoryRepoConfigurationUnion; -} - -/** - * Get GitHub access token request definition. - */ -export interface GitHubAccessTokenRequest { - /** - * GitHub access code. - */ - gitHubAccessCode: string; - /** - * GitHub application client ID. - */ - gitHubClientId?: string; - /** - * GitHub access token base URL. - */ - gitHubAccessTokenBaseUrl: string; -} - -/** - * Get GitHub access token response definition. - */ -export interface GitHubAccessTokenResponse { - /** - * GitHub access token. - */ - gitHubAccessToken?: string; -} - -/** - * Get Data Plane read only token request definition. - */ -export interface UserAccessPolicy { - /** - * The string with permissions for Data Plane access. Currently only 'r' is supported which - * grants read only access. - */ - permissions?: string; - /** - * The resource path to get access relative to factory. Currently only empty string is supported - * which corresponds to the factory resource. - */ - accessResourcePath?: string; - /** - * The name of the profile. Currently only the default is supported. The default value is - * DefaultProfile. - */ - profileName?: string; - /** - * Start time for the token. If not specified the current time will be used. - */ - startTime?: string; - /** - * Expiration time for the token. Maximum duration for the token is eight hours and by default - * the token will expire in eight hours. - */ - expireTime?: string; -} - -/** - * Get Data Plane read only token response definition. - */ -export interface AccessPolicyResponse { - /** - * The user access policy. - */ - policy?: UserAccessPolicy; - /** - * Data Plane read only access token. - */ - accessToken?: string; - /** - * Data Plane service base URL. - */ - dataPlaneUrl?: string; -} - -/** - * Pipeline reference type. - */ -export interface PipelineReference { - /** - * Reference pipeline name. - */ - referenceName: string; - /** - * Reference name. - */ - name?: string; -} - -/** - * Pipeline that needs to be triggered with the given parameters. - */ -export interface TriggerPipelineReference { - /** - * Pipeline reference. - */ - pipelineReference?: PipelineReference; - /** - * Pipeline parameters. - */ - parameters?: { [propertyName: string]: any }; -} - -/** - * Parameters for updating a factory resource. - */ -export interface FactoryUpdateParameters { - /** - * The resource tags. - */ - tags?: { [propertyName: string]: string }; - /** - * Managed service identity of the factory. - */ - identity?: FactoryIdentity; -} - -/** - * Dataset reference type. - */ -export interface DatasetReference { - /** - * Reference dataset name. - */ - referenceName: string; - /** - * Arguments for dataset. - */ - parameters?: { [propertyName: string]: any }; -} - -/** - * Dataset debug resource. - */ -export interface DatasetDebugResource extends SubResourceDebugResource { - /** - * Dataset properties. - */ - properties: DatasetUnion; -} - -/** - * Linked service debug resource. - */ -export interface LinkedServiceDebugResource extends SubResourceDebugResource { - /** - * Properties of linked service. - */ - properties: LinkedServiceUnion; -} - -/** - * Query parameters for triggers. - */ -export interface TriggerFilterParameters { - /** - * The continuation token for getting the next page of results. Null for first page. - */ - continuationToken?: string; - /** - * The name of the parent TumblingWindowTrigger to get the child rerun triggers - */ - parentTriggerName?: string; -} - -/** - * Query filter option for listing runs. - */ -export interface RunQueryFilter { - /** - * Parameter name to be used for filter. The allowed operands to query pipeline runs are - * PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, - * ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are - * TriggerName, TriggerRunTimestamp and Status. Possible values include: 'PipelineName', - * 'Status', 'RunStart', 'RunEnd', 'ActivityName', 'ActivityRunStart', 'ActivityRunEnd', - * 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', 'RunGroupId', 'LatestOnly' - */ - operand: RunQueryFilterOperand; - /** - * Operator to be used for filter. Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn' - */ - operator: RunQueryFilterOperator; - /** - * List of filter values. - */ - values: string[]; -} - -/** - * An object to provide order by options for listing runs. - */ -export interface RunQueryOrderBy { - /** - * Parameter name to be used for order by. The allowed parameters to order by for pipeline runs - * are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, - * ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, - * TriggerRunTimestamp and Status. Possible values include: 'RunStart', 'RunEnd', 'PipelineName', - * 'Status', 'ActivityName', 'ActivityRunStart', 'ActivityRunEnd', 'TriggerName', - * 'TriggerRunTimestamp' - */ - orderBy: RunQueryOrderByField; - /** - * Sorting order of the parameter. Possible values include: 'ASC', 'DESC' - */ - order: RunQueryOrder; -} - -/** - * Query parameters for listing runs. - */ -export interface RunFilterParameters { - /** - * The continuation token for getting the next page of results. Null for first page. - */ - continuationToken?: string; - /** - * The time at or after which the run event was updated in 'ISO 8601' format. - */ - lastUpdatedAfter: Date; - /** - * The time at or before which the run event was updated in 'ISO 8601' format. - */ - lastUpdatedBefore: Date; - /** - * List of filters. - */ - filters?: RunQueryFilter[]; - /** - * List of OrderBy option. - */ - orderBy?: RunQueryOrderBy[]; -} - -/** - * Provides entity name and id that started the pipeline run. - */ -export interface PipelineRunInvokedBy { - /** - * Name of the entity that started the pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * The ID of the entity that started the run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * The type of the entity that started the run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly invokedByType?: string; -} - -/** - * Information about a pipeline run. - */ -export interface PipelineRun { - /** - * Identifier of a run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runId?: string; - /** - * Identifier that correlates all the recovery runs of a pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runGroupId?: string; - /** - * Indicates if the recovered pipeline run is the latest in its group. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly isLatest?: boolean; - /** - * The pipeline name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly pipelineName?: string; - /** - * The full or partial list of parameter name, value pair used in the pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly parameters?: { [propertyName: string]: string }; - /** - * Run dimensions emitted by Pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runDimensions?: { [propertyName: string]: string }; - /** - * Entity that started the pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly invokedBy?: PipelineRunInvokedBy; - /** - * The last updated timestamp for the pipeline run event in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastUpdated?: Date; - /** - * The start time of a pipeline run in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runStart?: Date; - /** - * The end time of a pipeline run in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runEnd?: Date; - /** - * The duration of a pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly durationInMs?: number; - /** - * The status of a pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: string; - /** - * The message from a pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly message?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * A list pipeline runs. - */ -export interface PipelineRunsQueryResponse { - /** - * List of pipeline runs. - */ - value: PipelineRun[]; - /** - * The continuation token for getting the next page of results, if any remaining results exist, - * null otherwise. - */ - continuationToken?: string; -} - -/** - * Information about an activity run in a pipeline. - */ -export interface ActivityRun { - /** - * The name of the pipeline. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly pipelineName?: string; - /** - * The id of the pipeline run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly pipelineRunId?: string; - /** - * The name of the activity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly activityName?: string; - /** - * The type of the activity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly activityType?: string; - /** - * The id of the activity run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly activityRunId?: string; - /** - * The name of the compute linked service. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly linkedServiceName?: string; - /** - * The status of the activity run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: string; - /** - * The start time of the activity run in 'ISO 8601' format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly activityRunStart?: Date; - /** - * The end time of the activity run in 'ISO 8601' format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly activityRunEnd?: Date; - /** - * The duration of the activity run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly durationInMs?: number; - /** - * The input for the activity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly input?: any; - /** - * The output for the activity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly output?: any; - /** - * The error if any from the activity run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly error?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * A list activity runs. - */ -export interface ActivityRunsQueryResponse { - /** - * List of activity runs. - */ - value: ActivityRun[]; - /** - * The continuation token for getting the next page of results, if any remaining results exist, - * null otherwise. - */ - continuationToken?: string; -} - -/** - * Trigger runs. - */ -export interface TriggerRun { - /** - * Trigger run id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly triggerRunId?: string; - /** - * Trigger name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly triggerName?: string; - /** - * Trigger type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly triggerType?: string; - /** - * Trigger run start time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly triggerRunTimestamp?: Date; - /** - * Trigger run status. Possible values include: 'Succeeded', 'Failed', 'Inprogress' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: TriggerRunStatus; - /** - * Trigger error message. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly message?: string; - /** - * List of property name and value related to trigger run. Name, value pair depends on type of - * trigger. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly properties?: { [propertyName: string]: string }; - /** - * List of pipeline name and run Id triggered by the trigger run. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly triggeredPipelines?: { [propertyName: string]: string }; - /** - * Run dimension for which trigger was fired. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runDimension?: { [propertyName: string]: string }; - /** - * Status of the upstream pipelines. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dependencyStatus?: { [propertyName: string]: any }; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * A list of trigger runs. - */ -export interface TriggerRunsQueryResponse { - /** - * List of trigger runs. - */ - value: TriggerRun[]; - /** - * The continuation token for getting the next page of results, if any remaining results exist, - * null otherwise. - */ - continuationToken?: string; -} - -/** - * Metadata associated with the operation. - */ -export interface OperationDisplay { - /** - * The description of the operation. - */ - description?: string; - /** - * The name of the provider. - */ - provider?: string; - /** - * The name of the resource type on which the operation is performed. - */ - resource?: string; - /** - * The type of operation: get, read, delete, etc. - */ - operation?: string; -} - -/** - * Details about an operation related to logs. - */ -export interface OperationLogSpecification { - /** - * The name of the log category. - */ - name?: string; - /** - * Localized display name. - */ - displayName?: string; - /** - * Blobs created in the customer storage account, per hour. - */ - blobDuration?: string; -} - -/** - * Defines how often data for a metric becomes available. - */ -export interface OperationMetricAvailability { - /** - * The granularity for the metric. - */ - timeGrain?: string; - /** - * Blob created in the customer storage account, per hour. - */ - blobDuration?: string; -} - -/** - * Defines the metric dimension. - */ -export interface OperationMetricDimension { - /** - * The name of the dimension for the metric. - */ - name?: string; - /** - * The display name of the metric dimension. - */ - displayName?: string; - /** - * Whether the dimension should be exported to Azure Monitor. - */ - toBeExportedForShoebox?: boolean; -} - -/** - * Details about an operation related to metrics. - */ -export interface OperationMetricSpecification { - /** - * The name of the metric. - */ - name?: string; - /** - * Localized display name of the metric. - */ - displayName?: string; - /** - * The description of the metric. - */ - displayDescription?: string; - /** - * The unit that the metric is measured in. - */ - unit?: string; - /** - * The type of metric aggregation. - */ - aggregationType?: string; - /** - * Whether or not the service is using regional MDM accounts. - */ - enableRegionalMdmAccount?: string; - /** - * The name of the MDM account. - */ - sourceMdmAccount?: string; - /** - * The name of the MDM namespace. - */ - sourceMdmNamespace?: string; - /** - * Defines how often data for metrics becomes available. - */ - availabilities?: OperationMetricAvailability[]; - /** - * Defines the metric dimension. - */ - dimensions?: OperationMetricDimension[]; -} - -/** - * Details about a service operation. - */ -export interface OperationServiceSpecification { - /** - * Details about operations related to logs. - */ - logSpecifications?: OperationLogSpecification[]; - /** - * Details about operations related to metrics. - */ - metricSpecifications?: OperationMetricSpecification[]; -} - -/** - * Azure Data Factory API operation definition. - */ -export interface Operation { - /** - * Operation name: {provider}/{resource}/{operation} - */ - name?: string; - /** - * The intended executor of the operation. - */ - origin?: string; - /** - * Metadata associated with the operation. - */ - display?: OperationDisplay; - /** - * Details about a service operation. - */ - serviceSpecification?: OperationServiceSpecification; -} - -/** - * The request payload of get SSIS object metadata. - */ -export interface GetSsisObjectMetadataRequest { - /** - * Metadata path. - */ - metadataPath?: string; -} - -/** - * The status of the operation. - */ -export interface SsisObjectMetadataStatusResponse { - /** - * The status of the operation. - */ - status?: string; - /** - * The operation name. - */ - name?: string; - /** - * The operation properties. - */ - properties?: string; - /** - * The operation error message. - */ - error?: string; -} - -/** - * The exposure control request. - */ -export interface ExposureControlRequest { - /** - * The feature name. - */ - featureName?: string; - /** - * The feature type. - */ - featureType?: string; -} - -/** - * A list of exposure control features. - */ -export interface ExposureControlBatchRequest { - /** - * List of exposure control features. - */ - exposureControlRequests: ExposureControlRequest[]; -} - -/** - * The exposure control response. - */ -export interface ExposureControlResponse { - /** - * The feature name. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly featureName?: string; - /** - * The feature value. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly value?: string; -} - -/** - * A list of exposure control feature values. - */ -export interface ExposureControlBatchResponse { - /** - * List of exposure control feature values. - */ - exposureControlResponses: ExposureControlResponse[]; -} - -/** - * The folder that this data flow is in. If not specified, Data flow will appear at the root level. - */ -export interface DataFlowFolder { - /** - * The name of the folder that this data flow is in. - */ - name?: string; -} - -/** - * Contains the possible cases for DataFlow. - */ -export type DataFlowUnion = DataFlow | MappingDataFlow; - -/** - * Azure Data Factory nested object which contains a flow with data movements and transformations. - */ -export interface DataFlow { - /** - * Polymorphic Discriminator - */ - type: "DataFlow"; - /** - * The description of the data flow. - */ - description?: string; - /** - * List of tags that can be used for describing the data flow. - */ - annotations?: any[]; - /** - * The folder that this data flow is in. If not specified, Data flow will appear at the root - * level. - */ - folder?: DataFlowFolder; -} - -/** - * Data flow resource type. - */ -export interface DataFlowResource extends SubResource { - /** - * Data flow properties. - */ - properties: DataFlowUnion; -} - -/** - * Request body structure for creating data flow debug session. - */ -export interface CreateDataFlowDebugSessionRequest { - /** - * Compute type of the cluster. The value will be overwritten by the same setting in integration - * runtime if provided. - */ - computeType?: string; - /** - * Core count of the cluster. The value will be overwritten by the same setting in integration - * runtime if provided. - */ - coreCount?: number; - /** - * Time to live setting of the cluster in minutes. - */ - timeToLive?: number; - /** - * Set to use integration runtime setting for data flow debug session. - */ - integrationRuntime?: IntegrationRuntimeDebugResource; -} - -/** - * Response body structure for creating data flow debug session. - */ -export interface CreateDataFlowDebugSessionResponse { - /** - * The state of the debug session. - */ - status?: string; - /** - * The ID of data flow debug session. - */ - sessionId?: string; -} - -/** - * Definition of data flow source setting for debug. - */ -export interface DataFlowSourceSetting { - /** - * The data flow source name. - */ - sourceName?: string; - /** - * Defines the row limit of data flow source in debug. - */ - rowLimit?: number; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Staging info for execute data flow activity. - */ -export interface DataFlowStagingInfo { - /** - * Staging linked service reference. - */ - linkedService?: LinkedServiceReference; - /** - * Folder path for staging blob. Type: string (or Expression with resultType string) - */ - folderPath?: any; -} - -/** - * Data flow debug resource. - */ -export interface DataFlowDebugResource extends SubResourceDebugResource { - /** - * Data flow properties. - */ - properties: DataFlowUnion; -} - -/** - * Data flow debug settings. - */ -export interface DataFlowDebugPackageDebugSettings { - /** - * Source setting for data flow debug. - */ - sourceSettings?: DataFlowSourceSetting[]; - /** - * Data flow parameters. - */ - parameters?: { [propertyName: string]: any }; - /** - * Parameters for dataset. - */ - datasetParameters?: any; -} - -/** - * Request body structure for starting data flow debug session. - */ -export interface DataFlowDebugPackage { - /** - * The ID of data flow debug session. - */ - sessionId?: string; - /** - * Data flow instance. - */ - dataFlow?: DataFlowDebugResource; - /** - * List of datasets. - */ - datasets?: DatasetDebugResource[]; - /** - * List of linked services. - */ - linkedServices?: LinkedServiceDebugResource[]; - /** - * Staging info for debug session. - */ - staging?: DataFlowStagingInfo; - /** - * Data flow debug settings. - */ - debugSettings?: DataFlowDebugPackageDebugSettings; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Response body structure for starting data flow debug session. - */ -export interface AddDataFlowToDebugSessionResponse { - /** - * The ID of data flow debug job version. - */ - jobVersion?: string; -} - -/** - * Request body structure for deleting data flow debug session. - */ -export interface DeleteDataFlowDebugSessionRequest { - /** - * The ID of data flow debug session. - */ - sessionId?: string; -} - -/** - * Structure of command payload. - */ -export interface DataFlowDebugCommandPayload { - /** - * The stream name which is used for preview. - */ - streamName: string; - /** - * Row limits for preview response. - */ - rowLimits?: number; - /** - * Array of column names. - */ - columns?: string[]; - /** - * The expression which is used for preview. - */ - expression?: string; -} - -/** - * Request body structure for data flow debug command. - */ -export interface DataFlowDebugCommandRequest { - /** - * The ID of data flow debug session. - */ - sessionId?: string; - /** - * The command type. Possible values include: 'executePreviewQuery', 'executeStatisticsQuery', - * 'executeExpressionQuery' - */ - command?: DataFlowDebugCommandType; - /** - * The command payload object. - */ - commandPayload?: DataFlowDebugCommandPayload; -} - -/** - * Response body structure of data flow result for data preview, statistics or expression preview. - */ -export interface DataFlowDebugCommandResponse { - /** - * The run status of data preview, statistics or expression preview. - */ - status?: string; - /** - * The result data of data preview, statistics or expression preview. - */ - data?: string; -} - -/** - * Data flow debug session info. - */ -export interface DataFlowDebugSessionInfo { - /** - * The name of the data flow. - */ - dataFlowName?: string; - /** - * Compute type of the cluster. - */ - computeType?: string; - /** - * Core count of the cluster. - */ - coreCount?: number; - /** - * Node count of the cluster. (deprecated property) - */ - nodeCount?: number; - /** - * Attached integration runtime name of data flow debug session. - */ - integrationRuntimeName?: string; - /** - * The ID of data flow debug session. - */ - sessionId?: string; - /** - * Start time of data flow debug session. - */ - startTime?: string; - /** - * Compute type of the cluster. - */ - timeToLiveInMinutes?: number; - /** - * Last activity time of data flow debug session. - */ - lastActivityTime?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Response body structure for get data factory operation status. - */ -export interface GetDataFactoryOperationStatusResponse { - /** - * Status of the operation. - */ - status?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Data flow reference type. - */ -export interface DataFlowReference { - /** - * Reference data flow name. - */ - referenceName: string; - /** - * Reference data flow parameters from dataset. - */ - datasetParameters?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * The connection state of a managed private endpoint - */ -export interface ConnectionStateProperties { - /** - * The actions required on the managed private endpoint - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly actionsRequired?: string; - /** - * The managed private endpoint description - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly description?: string; - /** - * The approval status - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: string; -} - -/** - * Properties of a managed private endpoint - */ -export interface ManagedPrivateEndpoint { - /** - * The managed private endpoint connection state - */ - connectionState?: ConnectionStateProperties; - /** - * Fully qualified domain names - */ - fqdns?: string[]; - /** - * The groupId to which the managed private endpoint is created - */ - groupId?: string; - /** - * Denotes whether the managed private endpoint is reserved - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly isReserved?: boolean; - /** - * The ARM resource ID of the resource to which the managed private endpoint is created - */ - privateLinkResourceId?: string; - /** - * The managed private endpoint provisioning state - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Managed private endpoint resource type. - */ -export interface ManagedPrivateEndpointResource extends SubResource { - /** - * Managed private endpoint properties. - */ - properties: ManagedPrivateEndpoint; -} - -/** - * A managed Virtual Network associated with the Azure Data Factory - */ -export interface ManagedVirtualNetwork { - /** - * Managed Virtual Network ID. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly vNetId?: string; - /** - * Managed Virtual Network alias. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly alias?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Managed Virtual Network resource type. - */ -export interface ManagedVirtualNetworkResource extends SubResource { - /** - * Managed Virtual Network properties. - */ - properties: ManagedVirtualNetwork; -} - -/** - * Managed Virtual Network reference type. - */ -export interface ManagedVirtualNetworkReference { - /** - * Reference ManagedVirtualNetwork name. - */ - referenceName: string; -} - -/** - * A wrapper for an ARM resource id - */ -export interface ArmIdWrapper { - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; -} - -/** - * The state of a private link connection - */ -export interface PrivateLinkConnectionState { - /** - * Status of a private link connection - */ - status?: string; - /** - * Description of a private link connection - */ - description?: string; - /** - * ActionsRequired for a private link connection - */ - actionsRequired?: string; -} - -/** - * A remote private endpoint connection - */ -export interface RemotePrivateEndpointConnection { - /** - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: string; - /** - * PrivateEndpoint of a remote private endpoint connection - */ - privateEndpoint?: ArmIdWrapper; - privateLinkServiceConnectionState?: PrivateLinkConnectionState; -} - -/** - * Private Endpoint Connection ARM resource. - */ -export interface PrivateEndpointConnectionResource extends SubResource { - /** - * Core resource properties - */ - properties?: RemotePrivateEndpointConnection; -} - -/** - * A request to approve or reject a private endpoint connection - */ -export interface PrivateLinkConnectionApprovalRequest { - privateLinkServiceConnectionState?: PrivateLinkConnectionState; -} - -/** - * Private Endpoint Connection Approval ARM resource. - */ -export interface PrivateLinkConnectionApprovalRequestResource extends SubResource { - /** - * Core resource properties - */ - properties?: PrivateLinkConnectionApprovalRequest; -} - -/** - * Properties of a private link resource - */ -export interface PrivateLinkResourceProperties { - /** - * GroupId of a private link resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly groupId?: string; - /** - * RequiredMembers of a private link resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly requiredMembers?: string[]; - /** - * RequiredZoneNames of a private link resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly requiredZoneNames?: string[]; -} - -/** - * A private link resource - */ -export interface PrivateLinkResource extends SubResource { - /** - * Core resource properties - */ - properties?: PrivateLinkResourceProperties; -} - -/** - * Wrapper for a collection of private link resources - */ -export interface PrivateLinkResourcesWrapper { - value: PrivateLinkResource[]; -} - -/** - * A data flow transformation. - */ -export interface Transformation { - /** - * Transformation name. - */ - name: string; - /** - * Transformation description. - */ - description?: string; -} - -/** - * Transformation for data flow sink. - */ -export interface DataFlowSink extends Transformation { - /** - * Dataset reference. - */ - dataset?: DatasetReference; - /** - * Linked service reference. - */ - linkedService?: LinkedServiceReference; - /** - * Schema linked service reference. - */ - schemaLinkedService?: LinkedServiceReference; -} - -/** - * Transformation for data flow source. - */ -export interface DataFlowSource extends Transformation { - /** - * Dataset reference. - */ - dataset?: DatasetReference; - /** - * Linked service reference. - */ - linkedService?: LinkedServiceReference; - /** - * Schema linked service reference. - */ - schemaLinkedService?: LinkedServiceReference; -} - -/** - * Mapping data flow. - */ -export interface MappingDataFlow { - /** - * Polymorphic Discriminator - */ - type: "MappingDataFlow"; - /** - * The description of the data flow. - */ - description?: string; - /** - * List of tags that can be used for describing the data flow. - */ - annotations?: any[]; - /** - * The folder that this data flow is in. If not specified, Data flow will appear at the root - * level. - */ - folder?: DataFlowFolder; - /** - * List of sources in data flow. - */ - sources?: DataFlowSource[]; - /** - * List of sinks in data flow. - */ - sinks?: DataFlowSink[]; - /** - * List of transformations in data flow. - */ - transformations?: Transformation[]; - /** - * DataFlow script. - */ - script?: string; -} - -/** - * SharePoint Online List linked service. - */ -export interface SharePointOnlineListLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SharePointOnlineList"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of the SharePoint Online site. For example, - * https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType - * string). - */ - siteUrl: any; - /** - * The tenant ID under which your application resides. You can find it from Azure portal Active - * Directory overview page. Type: string (or Expression with resultType string). - */ - tenantId: any; - /** - * The application (client) ID of your application registered in Azure Active Directory. Make - * sure to grant SharePoint site permission to this application. Type: string (or Expression with - * resultType string). - */ - servicePrincipalId: any; - /** - * The client secret of your application registered in Azure Active Directory. Type: string (or - * Expression with resultType string). - */ - servicePrincipalKey: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Snowflake linked service. - */ -export interface SnowflakeLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Snowflake"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string of snowflake. Type: string, SecureString. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure Function linked service. - */ -export interface AzureFunctionLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureFunction"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The endpoint of the Azure Function App. URL will be in the format - * https://.azurewebsites.net. - */ - functionAppUrl: any; - /** - * Function or Host key for Azure Function App. - */ - functionKey?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure Data Explorer (Kusto) linked service. - */ -export interface AzureDataExplorerLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureDataExplorer"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format - * https://..kusto.windows.net. Type: string (or Expression with - * resultType string) - */ - endpoint: any; - /** - * The ID of the service principal used to authenticate against Azure Data Explorer. Type: string - * (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The key of the service principal used to authenticate against Kusto. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * Database name for connection. Type: string (or Expression with resultType string). - */ - database: any; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; -} - -/** - * SAP Table Linked Service. - */ -export interface SapTableLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SapTable"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Host name of the SAP instance where the table is located. Type: string (or Expression with - * resultType string). - */ - server?: any; - /** - * System number of the SAP system where the table is located. (Usually a two-digit decimal - * number represented as a string.) Type: string (or Expression with resultType string). - */ - systemNumber?: any; - /** - * Client ID of the client on the SAP system where the table is located. (Usually a three-digit - * decimal number represented as a string) Type: string (or Expression with resultType string). - */ - clientId?: any; - /** - * Language of the SAP system where the table is located. The default value is EN. Type: string - * (or Expression with resultType string). - */ - language?: any; - /** - * SystemID of the SAP system where the table is located. Type: string (or Expression with - * resultType string). - */ - systemId?: any; - /** - * Username to access the SAP server where the table is located. Type: string (or Expression with - * resultType string). - */ - userName?: any; - /** - * Password to access the SAP server where the table is located. - */ - password?: SecretBaseUnion; - /** - * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). - */ - messageServer?: any; - /** - * The service name or port number of the Message Server. Type: string (or Expression with - * resultType string). - */ - messageServerService?: any; - /** - * SNC activation indicator to access the SAP server where the table is located. Must be either 0 - * (off) or 1 (on). Type: string (or Expression with resultType string). - */ - sncMode?: any; - /** - * Initiator's SNC name to access the SAP server where the table is located. Type: string (or - * Expression with resultType string). - */ - sncMyName?: any; - /** - * Communication partner's SNC name to access the SAP server where the table is located. Type: - * string (or Expression with resultType string). - */ - sncPartnerName?: any; - /** - * External security product's library to access the SAP server where the table is located. Type: - * string (or Expression with resultType string). - */ - sncLibraryPath?: any; - /** - * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression - * with resultType string). - */ - sncQop?: any; - /** - * The Logon Group for the SAP System. Type: string (or Expression with resultType string). - */ - logonGroup?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Google AdWords service linked service. - */ -export interface GoogleAdWordsLinkedService { - /** - * Polymorphic Discriminator - */ - type: "GoogleAdWords"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The Client customer ID of the AdWords account that you want to fetch report data for. - */ - clientCustomerID: any; - /** - * The developer token associated with the manager account that you use to grant access to the - * AdWords API. - */ - developerToken: SecretBaseUnion; - /** - * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only - * be used on self-hosted IR. Possible values include: 'ServiceAuthentication', - * 'UserAuthentication' - */ - authenticationType: GoogleAdWordsAuthenticationType; - /** - * The refresh token obtained from Google for authorizing access to AdWords for - * UserAuthentication. - */ - refreshToken?: SecretBaseUnion; - /** - * The client id of the google application used to acquire the refresh token. Type: string (or - * Expression with resultType string). - */ - clientId?: any; - /** - * The client secret of the google application used to acquire the refresh token. - */ - clientSecret?: SecretBaseUnion; - /** - * The service account email ID that is used for ServiceAuthentication and can only be used on - * self-hosted IR. - */ - email?: any; - /** - * The full path to the .p12 key file that is used to authenticate the service account email - * address and can only be used on self-hosted IR. - */ - keyFilePath?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. - */ - useSystemTrustStore?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Oracle Service Cloud linked service. - */ -export interface OracleServiceCloudLinkedService { - /** - * Polymorphic Discriminator - */ - type: "OracleServiceCloud"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of the Oracle Service Cloud instance. - */ - host: any; - /** - * The user name that you use to access Oracle Service Cloud server. - */ - username: any; - /** - * The password corresponding to the user name that you provided in the username key. - */ - password: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. Type: boolean (or Expression with resultType boolean). - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. Type: boolean (or - * Expression with resultType boolean). - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. Type: boolean (or Expression with resultType boolean). - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Dynamics AX linked service. - */ -export interface DynamicsAXLinkedService { - /** - * Polymorphic Discriminator - */ - type: "DynamicsAX"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. - */ - url: any; - /** - * Specify the application's client ID. Type: string (or Expression with resultType string). - */ - servicePrincipalId: any; - /** - * Specify the application's key. Mark this field as a SecureString to store it securely in Data - * Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with - * resultType string). - */ - servicePrincipalKey: SecretBaseUnion; - /** - * Specify the tenant information (domain name or tenant ID) under which your application - * resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: - * string (or Expression with resultType string). - */ - tenant: any; - /** - * Specify the resource you are requesting authorization. Type: string (or Expression with - * resultType string). - */ - aadResourceId: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Responsys linked service. - */ -export interface ResponsysLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Responsys"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The endpoint of the Responsys server. - */ - endpoint: any; - /** - * The client ID associated with the Responsys application. Type: string (or Expression with - * resultType string). - */ - clientId: any; - /** - * The client secret associated with the Responsys application. Type: string (or Expression with - * resultType string). - */ - clientSecret?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. Type: boolean (or Expression with resultType boolean). - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. Type: boolean (or - * Expression with resultType boolean). - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. Type: boolean (or Expression with resultType boolean). - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure Databricks Delta Lake linked service. - */ -export interface AzureDatabricksDeltaLakeLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureDatabricksDeltaLake"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or - * Expression with resultType string). - */ - domain: any; - /** - * Access token for databricks REST API. Refer to - * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or - * AzureKeyVaultSecretReference. - */ - accessToken?: SecretBaseUnion; - /** - * The id of an existing interactive cluster that will be used for all runs of this job. Type: - * string (or Expression with resultType string). - */ - clusterId?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure Databricks linked service. - */ -export interface AzureDatabricksLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureDatabricks"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or - * Expression with resultType string). - */ - domain: any; - /** - * Access token for databricks REST API. Refer to - * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression - * with resultType string). - */ - accessToken?: SecretBaseUnion; - /** - * Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string - * (or Expression with resultType string). - */ - authentication?: any; - /** - * Workspace resource id for databricks REST API. Type: string (or Expression with resultType - * string). - */ - workspaceResourceId?: any; - /** - * The id of an existing interactive cluster that will be used for all runs of this activity. - * Type: string (or Expression with resultType string). - */ - existingClusterId?: any; - /** - * The id of an existing instance pool that will be used for all runs of this activity. Type: - * string (or Expression with resultType string). - */ - instancePoolId?: any; - /** - * If not using an existing interactive cluster, this specifies the Spark version of a new job - * cluster or instance pool nodes created for each run of this activity. Required if - * instancePoolId is specified. Type: string (or Expression with resultType string). - */ - newClusterVersion?: any; - /** - * If not using an existing interactive cluster, this specifies the number of worker nodes to use - * for the new job cluster or instance pool. For new job clusters, this a string-formatted Int32, - * like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For - * instance pools, this is a string-formatted Int32, and can only specify a fixed number of - * worker nodes, such as '2'. Required if newClusterVersion is specified. Type: string (or - * Expression with resultType string). - */ - newClusterNumOfWorker?: any; - /** - * The node type of the new job cluster. This property is required if newClusterVersion is - * specified and instancePoolId is not specified. If instancePoolId is specified, this property - * is ignored. Type: string (or Expression with resultType string). - */ - newClusterNodeType?: any; - /** - * A set of optional, user-specified Spark configuration key-value pairs. - */ - newClusterSparkConf?: { [propertyName: string]: any }; - /** - * A set of optional, user-specified Spark environment variables key-value pairs. - */ - newClusterSparkEnvVars?: { [propertyName: string]: any }; - /** - * Additional tags for cluster resources. This property is ignored in instance pool - * configurations. - */ - newClusterCustomTags?: { [propertyName: string]: any }; - /** - * Specify a location to deliver Spark driver, worker, and event logs. Type: string (or - * Expression with resultType string). - */ - newClusterLogDestination?: any; - /** - * The driver node type for the new job cluster. This property is ignored in instance pool - * configurations. Type: string (or Expression with resultType string). - */ - newClusterDriverNodeType?: any; - /** - * User-defined initialization scripts for the new cluster. Type: array of strings (or Expression - * with resultType array of strings). - */ - newClusterInitScripts?: any; - /** - * Enable the elastic disk on the new cluster. This property is now ignored, and takes the - * default elastic disk behavior in Databricks (elastic disks are always enabled). Type: boolean - * (or Expression with resultType boolean). - */ - newClusterEnableElasticDisk?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * The policy id for limiting the ability to configure clusters based on a user defined set of - * rules. Type: string (or Expression with resultType string). - */ - policyId?: any; -} - -/** - * Azure Data Lake Analytics linked service. - */ -export interface AzureDataLakeAnalyticsLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeAnalytics"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The Azure Data Lake Analytics account name. Type: string (or Expression with resultType - * string). - */ - accountName: any; - /** - * The ID of the application used to authenticate against the Azure Data Lake Analytics account. - * Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The Key of the application used to authenticate against the Azure Data Lake Analytics account. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant: any; - /** - * Data Lake Analytics account subscription ID (if different from Data Factory account). Type: - * string (or Expression with resultType string). - */ - subscriptionId?: any; - /** - * Data Lake Analytics account resource group name (if different from Data Factory account). - * Type: string (or Expression with resultType string). - */ - resourceGroupName?: any; - /** - * Azure Data Lake Analytics URI Type: string (or Expression with resultType string). - */ - dataLakeAnalyticsUri?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Custom script action to run on HDI ondemand cluster once it's up. - */ -export interface ScriptAction { - /** - * The user provided name of the script action. - */ - name: string; - /** - * The URI for the script action. - */ - uri: string; - /** - * The node types on which the script action should be executed. - */ - roles: any; - /** - * The parameters for the script action. - */ - parameters?: string; -} - -/** - * HDInsight ondemand linked service. - */ -export interface HDInsightOnDemandLinkedService { - /** - * Polymorphic Discriminator - */ - type: "HDInsightOnDemand"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression - * with resultType string). - */ - clusterSize: any; - /** - * The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand - * HDInsight cluster stays alive after completion of an activity run if there are no other active - * jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType - * string). - */ - timeToLive: any; - /** - * Version of the HDInsight cluster.  Type: string (or Expression with resultType string). - */ - version: any; - /** - * Azure Storage linked service to be used by the on-demand cluster for storing and processing - * data. - */ - linkedServiceName: LinkedServiceReference; - /** - * The customer’s subscription to host the cluster. Type: string (or Expression with resultType - * string). - */ - hostSubscriptionId: any; - /** - * The service principal id for the hostSubscriptionId. Type: string (or Expression with - * resultType string). - */ - servicePrincipalId?: any; - /** - * The key for the service principal id. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The Tenant id/name to which the service principal belongs. Type: string (or Expression with - * resultType string). - */ - tenant: any; - /** - * The resource group where the cluster belongs. Type: string (or Expression with resultType - * string). - */ - clusterResourceGroup: any; - /** - * The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or - * Expression with resultType string). - */ - clusterNamePrefix?: any; - /** - * The username to access the cluster. Type: string (or Expression with resultType string). - */ - clusterUserName?: any; - /** - * The password to access the cluster. - */ - clusterPassword?: SecretBaseUnion; - /** - * The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or - * Expression with resultType string). - */ - clusterSshUserName?: any; - /** - * The password to SSH remotely connect cluster’s node (for Linux). - */ - clusterSshPassword?: SecretBaseUnion; - /** - * Specifies additional storage accounts for the HDInsight linked service so that the Data - * Factory service can register them on your behalf. - */ - additionalLinkedServiceNames?: LinkedServiceReference[]; - /** - * The name of Azure SQL linked service that point to the HCatalog database. The on-demand - * HDInsight cluster is created by using the Azure SQL database as the metastore. - */ - hcatalogLinkedServiceName?: LinkedServiceReference; - /** - * The cluster type. Type: string (or Expression with resultType string). - */ - clusterType?: any; - /** - * The version of spark if the cluster type is 'spark'. Type: string (or Expression with - * resultType string). - */ - sparkVersion?: any; - /** - * Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to - * be created. - */ - coreConfiguration?: any; - /** - * Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. - */ - hBaseConfiguration?: any; - /** - * Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. - */ - hdfsConfiguration?: any; - /** - * Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. - */ - hiveConfiguration?: any; - /** - * Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. - */ - mapReduceConfiguration?: any; - /** - * Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. - */ - oozieConfiguration?: any; - /** - * Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. - */ - stormConfiguration?: any; - /** - * Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. - */ - yarnConfiguration?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * Specifies the size of the head node for the HDInsight cluster. - */ - headNodeSize?: any; - /** - * Specifies the size of the data node for the HDInsight cluster. - */ - dataNodeSize?: any; - /** - * Specifies the size of the Zoo Keeper node for the HDInsight cluster. - */ - zookeeperNodeSize?: any; - /** - * Custom script actions to run on HDI ondemand cluster once it's up. Please refer to - * https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. - */ - scriptActions?: ScriptAction[]; - /** - * The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: - * string (or Expression with resultType string). - */ - virtualNetworkId?: any; - /** - * The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this - * property is required. Type: string (or Expression with resultType string). - */ - subnetName?: any; -} - -/** - * Salesforce Marketing Cloud linked service. - */ -export interface SalesforceMarketingCloudLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SalesforceMarketingCloud"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any - * other properties in the linked service. Type: object. - */ - connectionProperties?: any; - /** - * The client ID associated with the Salesforce Marketing Cloud application. Type: string (or - * Expression with resultType string). - */ - clientId?: any; - /** - * The client secret associated with the Salesforce Marketing Cloud application. Type: string (or - * Expression with resultType string). - */ - clientSecret?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. Type: boolean (or Expression with resultType boolean). - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. Type: boolean (or - * Expression with resultType boolean). - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. Type: boolean (or Expression with resultType boolean). - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Netezza linked service. - */ -export interface NetezzaLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Netezza"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - pwd?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Vertica linked service. - */ -export interface VerticaLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Vertica"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - pwd?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Zoho server linked service. - */ -export interface ZohoLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Zoho"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Properties used to connect to Zoho. It is mutually exclusive with any other properties in the - * linked service. Type: object. - */ - connectionProperties?: any; - /** - * The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) - */ - endpoint?: any; - /** - * The access token for Zoho authentication. - */ - accessToken?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Xero Service linked service. - */ -export interface XeroLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Xero"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Properties used to connect to Xero. It is mutually exclusive with any other properties in the - * linked service. Type: object. - */ - connectionProperties?: any; - /** - * The endpoint of the Xero server. (i.e. api.xero.com) - */ - host?: any; - /** - * The consumer key associated with the Xero application. - */ - consumerKey?: SecretBaseUnion; - /** - * The private key from the .pem file that was generated for your Xero private application. You - * must include all the text from the .pem file, including the Unix line endings( - * ). - */ - privateKey?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Square Service linked service. - */ -export interface SquareLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Square"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Properties used to connect to Square. It is mutually exclusive with any other properties in - * the linked service. Type: object. - */ - connectionProperties?: any; - /** - * The URL of the Square instance. (i.e. mystore.mysquare.com) - */ - host?: any; - /** - * The client ID associated with your Square application. - */ - clientId?: any; - /** - * The client secret associated with your Square application. - */ - clientSecret?: SecretBaseUnion; - /** - * The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) - */ - redirectUri?: any; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Spark Server linked service. - */ -export interface SparkLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Spark"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * IP address or host name of the Spark server - */ - host: any; - /** - * The TCP port that the Spark server uses to listen for client connections. - */ - port: any; - /** - * The type of Spark server. Possible values include: 'SharkServer', 'SharkServer2', - * 'SparkThriftServer' - */ - serverType?: SparkServerType; - /** - * The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', - * 'HTTP ' - */ - thriftTransportProtocol?: SparkThriftTransportProtocol; - /** - * The authentication method used to access the Spark server. Possible values include: - * 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService' - */ - authenticationType: SparkAuthenticationType; - /** - * The user name that you use to access Spark Server. - */ - username?: any; - /** - * The password corresponding to the user name that you provided in the Username field - */ - password?: SecretBaseUnion; - /** - * The partial URL corresponding to the Spark server. - */ - httpPath?: any; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. - */ - enableSsl?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. - */ - useSystemTrustStore?: any; - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. - */ - allowSelfSignedServerCert?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Shopify Service linked service. - */ -export interface ShopifyLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Shopify"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The endpoint of the Shopify server. (i.e. mystore.myshopify.com) - */ - host: any; - /** - * The API access token that can be used to access Shopify’s data. The token won't expire if it - * is offline mode. - */ - accessToken?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * ServiceNow server linked service. - */ -export interface ServiceNowLinkedService { - /** - * Polymorphic Discriminator - */ - type: "ServiceNow"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The endpoint of the ServiceNow server. (i.e. .service-now.com) - */ - endpoint: any; - /** - * The authentication type to use. Possible values include: 'Basic', 'OAuth2' - */ - authenticationType: ServiceNowAuthenticationType; - /** - * The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. - */ - username?: any; - /** - * The password corresponding to the user name for Basic and OAuth2 authentication. - */ - password?: SecretBaseUnion; - /** - * The client id for OAuth2 authentication. - */ - clientId?: any; - /** - * The client secret for OAuth2 authentication. - */ - clientSecret?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * QuickBooks server linked service. - */ -export interface QuickBooksLinkedService { - /** - * Polymorphic Discriminator - */ - type: "QuickBooks"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Properties used to connect to QuickBooks. It is mutually exclusive with any other properties - * in the linked service. Type: object. - */ - connectionProperties?: any; - /** - * The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) - */ - endpoint?: any; - /** - * The company ID of the QuickBooks company to authorize. - */ - companyId?: any; - /** - * The consumer key for OAuth 1.0 authentication. - */ - consumerKey?: any; - /** - * The consumer secret for OAuth 1.0 authentication. - */ - consumerSecret?: SecretBaseUnion; - /** - * The access token for OAuth 1.0 authentication. - */ - accessToken?: SecretBaseUnion; - /** - * The access token secret for OAuth 1.0 authentication. - */ - accessTokenSecret?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Presto server linked service. - */ -export interface PrestoLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Presto"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The IP address or host name of the Presto server. (i.e. 192.168.222.160) - */ - host: any; - /** - * The version of the Presto server. (i.e. 0.148-t) - */ - serverVersion: any; - /** - * The catalog context for all request against the server. - */ - catalog: any; - /** - * The TCP port that the Presto server uses to listen for client connections. The default value - * is 8080. - */ - port?: any; - /** - * The authentication mechanism used to connect to the Presto server. Possible values include: - * 'Anonymous', 'LDAP' - */ - authenticationType: PrestoAuthenticationType; - /** - * The user name used to connect to the Presto server. - */ - username?: any; - /** - * The password corresponding to the user name. - */ - password?: SecretBaseUnion; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. - */ - enableSsl?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. - */ - useSystemTrustStore?: any; - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. - */ - allowSelfSignedServerCert?: any; - /** - * The local time zone used by the connection. Valid values for this option are specified in the - * IANA Time Zone Database. The default value is the system time zone. - */ - timeZoneID?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Phoenix server linked service. - */ -export interface PhoenixLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Phoenix"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) - */ - host: any; - /** - * The TCP port that the Phoenix server uses to listen for client connections. The default value - * is 8765. - */ - port?: any; - /** - * The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). - * The default value is hbasephoenix if using WindowsAzureHDInsightService. - */ - httpPath?: any; - /** - * The authentication mechanism used to connect to the Phoenix server. Possible values include: - * 'Anonymous', 'UsernameAndPassword', 'WindowsAzureHDInsightService' - */ - authenticationType: PhoenixAuthenticationType; - /** - * The user name used to connect to the Phoenix server. - */ - username?: any; - /** - * The password corresponding to the user name. - */ - password?: SecretBaseUnion; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. - */ - enableSsl?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. - */ - useSystemTrustStore?: any; - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. - */ - allowSelfSignedServerCert?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Paypal Service linked service. - */ -export interface PaypalLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Paypal"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) - */ - host: any; - /** - * The client ID associated with your PayPal application. - */ - clientId: any; - /** - * The client secret associated with your PayPal application. - */ - clientSecret?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Marketo server linked service. - */ -export interface MarketoLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Marketo"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com) - */ - endpoint: any; - /** - * The client Id of your Marketo service. - */ - clientId: any; - /** - * The client secret of your Marketo service. - */ - clientSecret?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure Database for MariaDB linked service. - */ -export interface AzureMariaDBLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureMariaDB"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - pwd?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * MariaDB server linked service. - */ -export interface MariaDBLinkedService { - /** - * Polymorphic Discriminator - */ - type: "MariaDB"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - pwd?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Magento server linked service. - */ -export interface MagentoLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Magento"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of the Magento instance. (i.e. 192.168.222.110/magento3) - */ - host: any; - /** - * The access token from Magento. - */ - accessToken?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Jira Service linked service. - */ -export interface JiraLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Jira"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The IP address or host name of the Jira service. (e.g. jira.example.com) - */ - host: any; - /** - * The TCP port that the Jira server uses to listen for client connections. The default value is - * 443 if connecting through HTTPS, or 8080 if connecting through HTTP. - */ - port?: any; - /** - * The user name that you use to access Jira Service. - */ - username: any; - /** - * The password corresponding to the user name that you provided in the username field. - */ - password?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Impala server linked service. - */ -export interface ImpalaLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Impala"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The IP address or host name of the Impala server. (i.e. 192.168.222.160) - */ - host: any; - /** - * The TCP port that the Impala server uses to listen for client connections. The default value - * is 21050. - */ - port?: any; - /** - * The authentication type to use. Possible values include: 'Anonymous', 'SASLUsername', - * 'UsernameAndPassword' - */ - authenticationType: ImpalaAuthenticationType; - /** - * The user name used to access the Impala server. The default value is anonymous when using - * SASLUsername. - */ - username?: any; - /** - * The password corresponding to the user name when using UsernameAndPassword. - */ - password?: SecretBaseUnion; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. - */ - enableSsl?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. - */ - useSystemTrustStore?: any; - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. - */ - allowSelfSignedServerCert?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Hubspot Service linked service. - */ -export interface HubspotLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Hubspot"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The client ID associated with your Hubspot application. - */ - clientId: any; - /** - * The client secret associated with your Hubspot application. - */ - clientSecret?: SecretBaseUnion; - /** - * The access token obtained when initially authenticating your OAuth integration. - */ - accessToken?: SecretBaseUnion; - /** - * The refresh token obtained when initially authenticating your OAuth integration. - */ - refreshToken?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Hive Server linked service. - */ -export interface HiveLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Hive"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * IP address or host name of the Hive server, separated by ';' for multiple hosts (only when - * serviceDiscoveryMode is enable). - */ - host: any; - /** - * The TCP port that the Hive server uses to listen for client connections. - */ - port?: any; - /** - * The type of Hive server. Possible values include: 'HiveServer1', 'HiveServer2', - * 'HiveThriftServer' - */ - serverType?: HiveServerType; - /** - * The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', - * 'HTTP ' - */ - thriftTransportProtocol?: HiveThriftTransportProtocol; - /** - * The authentication method used to access the Hive server. Possible values include: - * 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService' - */ - authenticationType: HiveAuthenticationType; - /** - * true to indicate using the ZooKeeper service, false not. - */ - serviceDiscoveryMode?: any; - /** - * The namespace on ZooKeeper under which Hive Server 2 nodes are added. - */ - zooKeeperNameSpace?: any; - /** - * Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent - * form in HiveQL. - */ - useNativeQuery?: any; - /** - * The user name that you use to access Hive Server. - */ - username?: any; - /** - * The password corresponding to the user name that you provided in the Username field - */ - password?: SecretBaseUnion; - /** - * The partial URL corresponding to the Hive server. - */ - httpPath?: any; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. - */ - enableSsl?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. - */ - useSystemTrustStore?: any; - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. - */ - allowSelfSignedServerCert?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * HBase server linked service. - */ -export interface HBaseLinkedService { - /** - * Polymorphic Discriminator - */ - type: "HBase"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The IP address or host name of the HBase server. (i.e. 192.168.222.160) - */ - host: any; - /** - * The TCP port that the HBase instance uses to listen for client connections. The default value - * is 9090. - */ - port?: any; - /** - * The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version) - */ - httpPath?: any; - /** - * The authentication mechanism to use to connect to the HBase server. Possible values include: - * 'Anonymous', 'Basic' - */ - authenticationType: HBaseAuthenticationType; - /** - * The user name used to connect to the HBase instance. - */ - username?: any; - /** - * The password corresponding to the user name. - */ - password?: SecretBaseUnion; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. - */ - enableSsl?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. - */ - allowSelfSignedServerCert?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Greenplum Database linked service. - */ -export interface GreenplumLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Greenplum"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - pwd?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Google BigQuery service linked service. - */ -export interface GoogleBigQueryLinkedService { - /** - * Polymorphic Discriminator - */ - type: "GoogleBigQuery"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The default BigQuery project to query against. - */ - project: any; - /** - * A comma-separated list of public BigQuery projects to access. - */ - additionalProjects?: any; - /** - * Whether to request access to Google Drive. Allowing Google Drive access enables support for - * federated tables that combine BigQuery data with data from Google Drive. The default value is - * false. - */ - requestGoogleDriveScope?: any; - /** - * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only - * be used on self-hosted IR. Possible values include: 'ServiceAuthentication', - * 'UserAuthentication' - */ - authenticationType: GoogleBigQueryAuthenticationType; - /** - * The refresh token obtained from Google for authorizing access to BigQuery for - * UserAuthentication. - */ - refreshToken?: SecretBaseUnion; - /** - * The client id of the google application used to acquire the refresh token. Type: string (or - * Expression with resultType string). - */ - clientId?: any; - /** - * The client secret of the google application used to acquire the refresh token. - */ - clientSecret?: SecretBaseUnion; - /** - * The service account email ID that is used for ServiceAuthentication and can only be used on - * self-hosted IR. - */ - email?: any; - /** - * The full path to the .p12 key file that is used to authenticate the service account email - * address and can only be used on self-hosted IR. - */ - keyFilePath?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. - */ - useSystemTrustStore?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Eloqua server linked service. - */ -export interface EloquaLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Eloqua"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The endpoint of the Eloqua server. (i.e. eloqua.example.com) - */ - endpoint: any; - /** - * The site name and user name of your Eloqua account in the form: sitename/username. (i.e. - * Eloqua/Alice) - */ - username: any; - /** - * The password corresponding to the user name. - */ - password?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Drill server linked service. - */ -export interface DrillLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Drill"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - pwd?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Couchbase server linked service. - */ -export interface CouchbaseLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Couchbase"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of credString in connection string. - */ - credString?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Concur Service linked service. - */ -export interface ConcurLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Concur"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Properties used to connect to Concur. It is mutually exclusive with any other properties in - * the linked service. Type: object. - */ - connectionProperties?: any; - /** - * Application client_id supplied by Concur App Management. - */ - clientId: any; - /** - * The user name that you use to access Concur Service. - */ - username: any; - /** - * The password corresponding to the user name that you provided in the username field. - */ - password?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure PostgreSQL linked service. - */ -export interface AzurePostgreSqlLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzurePostgreSql"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Amazon Marketplace Web Service linked service. - */ -export interface AmazonMWSLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AmazonMWS"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com) - */ - endpoint: any; - /** - * The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple - * Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) - */ - marketplaceID: any; - /** - * The Amazon seller ID. - */ - sellerID: any; - /** - * The Amazon MWS authentication token. - */ - mwsAuthToken?: SecretBaseUnion; - /** - * The access key id used to access data. - */ - accessKeyId: any; - /** - * The secret key used to access data. - */ - secretKey?: SecretBaseUnion; - /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. - */ - useEncryptedEndpoints?: any; - /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; - /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. - */ - usePeerVerification?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * SAP HANA Linked Service. - */ -export interface SapHanaLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SapHana"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * Host name of the SAP HANA server. Type: string (or Expression with resultType string). - */ - server?: any; - /** - * The authentication type to be used to connect to the SAP HANA server. Possible values include: - * 'Basic', 'Windows' - */ - authenticationType?: SapHanaAuthenticationType; - /** - * Username to access the SAP HANA server. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password to access the SAP HANA server. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * SAP Business Warehouse Linked Service. - */ -export interface SapBWLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SapBW"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Host name of the SAP BW instance. Type: string (or Expression with resultType string). - */ - server: any; - /** - * System number of the BW system. (Usually a two-digit decimal number represented as a string.) - * Type: string (or Expression with resultType string). - */ - systemNumber: any; - /** - * Client ID of the client on the BW system. (Usually a three-digit decimal number represented as - * a string) Type: string (or Expression with resultType string). - */ - clientId: any; - /** - * Username to access the SAP BW server. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password to access the SAP BW server. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * A linked service for an SSH File Transfer Protocol (SFTP) server. - */ -export interface SftpServerLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Sftp"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The SFTP server host name. Type: string (or Expression with resultType string). - */ - host: any; - /** - * The TCP port number that the SFTP server uses to listen for client connections. Default value - * is 22. Type: integer (or Expression with resultType integer), minimum: 0. - */ - port?: any; - /** - * The authentication type to be used to connect to the FTP server. Possible values include: - * 'Basic', 'SshPublicKey', 'MultiFactor' - */ - authenticationType?: SftpAuthenticationType; - /** - * The username used to log on to the SFTP server. Type: string (or Expression with resultType - * string). - */ - userName?: any; - /** - * Password to logon the SFTP server for Basic authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * The SSH private key file path for SshPublicKey authentication. Only valid for on-premises - * copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or - * PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string - * (or Expression with resultType string). - */ - privateKeyPath?: any; - /** - * Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy - * with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be - * specified. SSH private key should be OpenSSH format. - */ - privateKeyContent?: SecretBaseUnion; - /** - * The password to decrypt the SSH private key if the SSH private key is encrypted. - */ - passPhrase?: SecretBaseUnion; - /** - * If true, skip the SSH host key validation. Default value is false. Type: boolean (or - * Expression with resultType boolean). - */ - skipHostKeyValidation?: any; - /** - * The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, - * HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). - */ - hostKeyFingerprint?: any; -} - -/** - * A FTP server Linked Service. - */ -export interface FtpServerLinkedService { - /** - * Polymorphic Discriminator - */ - type: "FtpServer"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Host name of the FTP server. Type: string (or Expression with resultType string). - */ - host: any; - /** - * The TCP port number that the FTP server uses to listen for client connections. Default value - * is 21. Type: integer (or Expression with resultType integer), minimum: 0. - */ - port?: any; - /** - * The authentication type to be used to connect to the FTP server. Possible values include: - * 'Basic', 'Anonymous' - */ - authenticationType?: FtpAuthenticationType; - /** - * Username to logon the FTP server. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password to logon the FTP server. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean - * (or Expression with resultType boolean). - */ - enableSsl?: any; - /** - * If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default - * value is true. Type: boolean (or Expression with resultType boolean). - */ - enableServerCertificateValidation?: any; -} - -/** - * Linked service for an HTTP source. - */ -export interface HttpLinkedService { - /** - * Polymorphic Discriminator - */ - type: "HttpServer"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression - * with resultType string). - */ - url: any; - /** - * The authentication type to be used to connect to the HTTP server. Possible values include: - * 'Basic', 'Anonymous', 'Digest', 'Windows', 'ClientCertificate' - */ - authenticationType?: HttpAuthenticationType; - /** - * User name for Basic, Digest, or Windows authentication. Type: string (or Expression with - * resultType string). - */ - userName?: any; - /** - * Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData - * authentication. - */ - password?: SecretBaseUnion; - /** - * The additional HTTP headers in the request to RESTful API used for authorization. Type: object - * (or Expression with resultType object). - */ - authHeaders?: any; - /** - * Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy - * with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password - * should be specified. Type: string (or Expression with resultType string). - */ - embeddedCertData?: any; - /** - * Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises - * copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or - * EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType - * string). - */ - certThumbprint?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or - * Expression with resultType boolean). - */ - enableServerCertificateValidation?: any; -} - -/** - * Linked service for Windows Azure Search Service. - */ -export interface AzureSearchLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureSearch"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * URL for Azure Search service. Type: string (or Expression with resultType string). - */ - url: any; - /** - * Admin Key for Azure Search service - */ - key?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Custom linked service. - */ -export interface CustomDataSourceLinkedService { - /** - * Polymorphic Discriminator - */ - type: "CustomDataSource"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Custom linked service properties. - */ - typeProperties: any; -} - -/** - * Linked service for Amazon Redshift. - */ -export interface AmazonRedshiftLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AmazonRedshift"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The name of the Amazon Redshift server. Type: string (or Expression with resultType string). - */ - server: any; - /** - * The username of the Amazon Redshift source. Type: string (or Expression with resultType - * string). - */ - username?: any; - /** - * The password of the Amazon Redshift source. - */ - password?: SecretBaseUnion; - /** - * The database name of the Amazon Redshift source. Type: string (or Expression with resultType - * string). - */ - database: any; - /** - * The TCP port number that the Amazon Redshift server uses to listen for client connections. The - * default value is 5439. Type: integer (or Expression with resultType integer). - */ - port?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Amazon S3. - */ -export interface AmazonS3LinkedService { - /** - * Polymorphic Discriminator - */ - type: "AmazonS3"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The authentication type of S3. Allowed value: AccessKey (default) or - * TemporarySecurityCredentials. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: - * string (or Expression with resultType string). - */ - accessKeyId?: any; - /** - * The secret access key of the Amazon S3 Identity and Access Management (IAM) user. - */ - secretAccessKey?: SecretBaseUnion; - /** - * This value specifies the endpoint to access with the S3 Connector. This is an optional - * property; change it only if you want to try a different service endpoint or want to switch - * between https and http. Type: string (or Expression with resultType string). - */ - serviceUrl?: any; - /** - * The session token for the S3 temporary security credential. - */ - sessionToken?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Rest Service linked service. - */ -export interface RestServiceLinkedService { - /** - * Polymorphic Discriminator - */ - type: "RestService"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The base URL of the REST service. - */ - url: any; - /** - * Whether to validate server side SSL certificate when connecting to the endpoint.The default - * value is true. Type: boolean (or Expression with resultType boolean). - */ - enableServerCertificateValidation?: any; - /** - * Type of authentication used to connect to the REST service. Possible values include: - * 'Anonymous', 'Basic', 'AadServicePrincipal', 'ManagedServiceIdentity' - */ - authenticationType: RestServiceAuthenticationType; - /** - * The user name used in Basic authentication type. - */ - userName?: any; - /** - * The password used in Basic authentication type. - */ - password?: SecretBaseUnion; - /** - * The additional HTTP headers in the request to RESTful API used for authorization. Type: object - * (or Expression with resultType object). - */ - authHeaders?: any; - /** - * The application's client ID used in AadServicePrincipal authentication type. - */ - servicePrincipalId?: any; - /** - * The application's key used in AadServicePrincipal authentication type. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication - * type under which your application resides. - */ - tenant?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * The resource you are requesting authorization to use. - */ - aadResourceId?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * SAP Business Warehouse Open Hub Destination Linked Service. - */ -export interface SapOpenHubLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SapOpenHub"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Host name of the SAP BW instance where the open hub destination is located. Type: string (or - * Expression with resultType string). - */ - server?: any; - /** - * System number of the BW system where the open hub destination is located. (Usually a two-digit - * decimal number represented as a string.) Type: string (or Expression with resultType string). - */ - systemNumber?: any; - /** - * Client ID of the client on the BW system where the open hub destination is located. (Usually a - * three-digit decimal number represented as a string) Type: string (or Expression with - * resultType string). - */ - clientId?: any; - /** - * Language of the BW system where the open hub destination is located. The default value is EN. - * Type: string (or Expression with resultType string). - */ - language?: any; - /** - * SystemID of the SAP system where the table is located. Type: string (or Expression with - * resultType string). - */ - systemId?: any; - /** - * Username to access the SAP BW server where the open hub destination is located. Type: string - * (or Expression with resultType string). - */ - userName?: any; - /** - * Password to access the SAP BW server where the open hub destination is located. - */ - password?: SecretBaseUnion; - /** - * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). - */ - messageServer?: any; - /** - * The service name or port number of the Message Server. Type: string (or Expression with - * resultType string). - */ - messageServerService?: any; - /** - * The Logon Group for the SAP System. Type: string (or Expression with resultType string). - */ - logonGroup?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for SAP ERP Central Component(SAP ECC). - */ -export interface SapEccLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SapEcc"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of SAP ECC OData API. For example, - * '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with - * resultType string). - */ - url: string; - /** - * The username for Basic authentication. Type: string (or Expression with resultType string). - */ - username?: string; - /** - * The password for Basic authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Either encryptedCredential or username/password must - * be provided. Type: string (or Expression with resultType string). - */ - encryptedCredential?: string; -} - -/** - * Linked service for SAP Cloud for Customer. - */ -export interface SapCloudForCustomerLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SapCloudForCustomer"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of SAP Cloud for Customer OData API. For example, - * '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with - * resultType string). - */ - url: any; - /** - * The username for Basic authentication. Type: string (or Expression with resultType string). - */ - username?: any; - /** - * The password for Basic authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Either encryptedCredential or username/password must - * be provided. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Salesforce Service Cloud. - */ -export interface SalesforceServiceCloudLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SalesforceServiceCloud"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To - * copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom - * domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or - * Expression with resultType string). - */ - environmentUrl?: any; - /** - * The username for Basic authentication of the Salesforce instance. Type: string (or Expression - * with resultType string). - */ - username?: any; - /** - * The password for Basic authentication of the Salesforce instance. - */ - password?: SecretBaseUnion; - /** - * The security token is optional to remotely access Salesforce instance. - */ - securityToken?: SecretBaseUnion; - /** - * The Salesforce API version used in ADF. Type: string (or Expression with resultType string). - */ - apiVersion?: any; - /** - * Extended properties appended to the connection string. Type: string (or Expression with - * resultType string). - */ - extendedProperties?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Salesforce. - */ -export interface SalesforceLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Salesforce"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from - * sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for - * example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType - * string). - */ - environmentUrl?: any; - /** - * The username for Basic authentication of the Salesforce instance. Type: string (or Expression - * with resultType string). - */ - username?: any; - /** - * The password for Basic authentication of the Salesforce instance. - */ - password?: SecretBaseUnion; - /** - * The security token is optional to remotely access Salesforce instance. - */ - securityToken?: SecretBaseUnion; - /** - * The Salesforce API version used in ADF. Type: string (or Expression with resultType string). - */ - apiVersion?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Office365 linked service. - */ -export interface Office365LinkedService { - /** - * Polymorphic Discriminator - */ - type: "Office365"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with - * resultType string). - */ - office365TenantId: any; - /** - * Specify the tenant information under which your Azure AD web application resides. Type: string - * (or Expression with resultType string). - */ - servicePrincipalTenantId: any; - /** - * Specify the application's client ID. Type: string (or Expression with resultType string). - */ - servicePrincipalId: any; - /** - * Specify the application's key. - */ - servicePrincipalKey: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure Data Lake Storage Gen2 linked service. - */ -export interface AzureBlobFSLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobFS"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with - * resultType string). - */ - url: any; - /** - * Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with - * resultType string). - */ - accountKey?: any; - /** - * The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 - * account. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 - * account. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure Data Lake Store linked service. - */ -export interface AzureDataLakeStoreLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeStore"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Data Lake Store service URI. Type: string (or Expression with resultType string). - */ - dataLakeStoreUri: any; - /** - * The ID of the application used to authenticate against the Azure Data Lake Store account. - * Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The Key of the application used to authenticate against the Azure Data Lake Store account. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * Data Lake Store account name. Type: string (or Expression with resultType string). - */ - accountName?: any; - /** - * Data Lake Store account subscription ID (if different from Data Factory account). Type: string - * (or Expression with resultType string). - */ - subscriptionId?: any; - /** - * Data Lake Store account resource group name (if different from Data Factory account). Type: - * string (or Expression with resultType string). - */ - resourceGroupName?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for CosmosDB (MongoDB API) data source. - */ -export interface CosmosDbMongoDbApiLinkedService { - /** - * Polymorphic Discriminator - */ - type: "CosmosDbMongoDbApi"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The CosmosDB (MongoDB API) connection string. Type: string, SecureString or - * AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or - * Expression with resultType string). - */ - database: any; -} - -/** - * Linked service for MongoDB data source. - */ -export interface MongoDbV2LinkedService { - /** - * Polymorphic Discriminator - */ - type: "MongoDbV2"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - * Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The name of the MongoDB database that you want to access. Type: string (or Expression with - * resultType string). - */ - database: any; -} - -/** - * Linked service for MongoDB Atlas data source. - */ -export interface MongoDbAtlasLinkedService { - /** - * Polymorphic Discriminator - */ - type: "MongoDbAtlas"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The MongoDB Atlas connection string. Type: string, SecureString or - * AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The name of the MongoDB Atlas database that you want to access. Type: string (or Expression - * with resultType string). - */ - database: any; -} - -/** - * Linked service for MongoDb data source. - */ -export interface MongoDbLinkedService { - /** - * Polymorphic Discriminator - */ - type: "MongoDb"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The IP address or server name of the MongoDB server. Type: string (or Expression with - * resultType string). - */ - server: any; - /** - * The authentication type to be used to connect to the MongoDB database. Possible values - * include: 'Basic', 'Anonymous' - */ - authenticationType?: MongoDbAuthenticationType; - /** - * The name of the MongoDB database that you want to access. Type: string (or Expression with - * resultType string). - */ - databaseName: any; - /** - * Username for authentication. Type: string (or Expression with resultType string). - */ - username?: any; - /** - * Password for authentication. - */ - password?: SecretBaseUnion; - /** - * Database to verify the username and password. Type: string (or Expression with resultType - * string). - */ - authSource?: any; - /** - * The TCP port number that the MongoDB server uses to listen for client connections. The default - * value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. - */ - port?: any; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. Type: boolean (or Expression with resultType boolean). - */ - enableSsl?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. Type: boolean (or Expression with resultType boolean). - */ - allowSelfSignedServerCert?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Cassandra data source. - */ -export interface CassandraLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Cassandra"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Host name for connection. Type: string (or Expression with resultType string). - */ - host: any; - /** - * AuthenticationType to be used for connection. Type: string (or Expression with resultType - * string). - */ - authenticationType?: any; - /** - * The port for the connection. Type: integer (or Expression with resultType integer). - */ - port?: any; - /** - * Username for authentication. Type: string (or Expression with resultType string). - */ - username?: any; - /** - * Password for authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Contains the possible cases for WebLinkedServiceTypeProperties. - */ -export type WebLinkedServiceTypePropertiesUnion = - | WebLinkedServiceTypeProperties - | WebClientCertificateAuthentication - | WebBasicAuthentication - | WebAnonymousAuthentication; - -/** - * Base definition of WebLinkedServiceTypeProperties, this typeProperties is polymorphic based on - * authenticationType, so not flattened in SDK models. - */ -export interface WebLinkedServiceTypeProperties { - /** - * Polymorphic Discriminator - */ - authenticationType: "WebLinkedServiceTypeProperties"; - /** - * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or - * Expression with resultType string). - */ - url: any; -} - -/** - * A WebLinkedService that uses client certificate based authentication to communicate with an HTTP - * endpoint. This scheme follows mutual authentication; the server must also provide valid - * credentials to the client. - */ -export interface WebClientCertificateAuthentication { - /** - * Polymorphic Discriminator - */ - authenticationType: "ClientCertificate"; - /** - * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or - * Expression with resultType string). - */ - url: any; - /** - * Base64-encoded contents of a PFX file. - */ - pfx: SecretBaseUnion; - /** - * Password for the PFX file. - */ - password: SecretBaseUnion; -} - -/** - * A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint. - */ -export interface WebBasicAuthentication { - /** - * Polymorphic Discriminator - */ - authenticationType: "Basic"; - /** - * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or - * Expression with resultType string). - */ - url: any; - /** - * User name for Basic authentication. Type: string (or Expression with resultType string). - */ - username: any; - /** - * The password for Basic authentication. - */ - password: SecretBaseUnion; -} - -/** - * A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. - */ -export interface WebAnonymousAuthentication { - /** - * Polymorphic Discriminator - */ - authenticationType: "Anonymous"; - /** - * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or - * Expression with resultType string). - */ - url: any; -} - -/** - * Web linked service. - */ -export interface WebLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Web"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Web linked service properties. - */ - typeProperties: WebLinkedServiceTypePropertiesUnion; -} - -/** - * Open Data Protocol (OData) linked service. - */ -export interface ODataLinkedService { - /** - * Polymorphic Discriminator - */ - type: "OData"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of the OData service endpoint. Type: string (or Expression with resultType string). - */ - url: any; - /** - * Type of authentication used to connect to the OData service. Possible values include: 'Basic', - * 'Anonymous', 'Windows', 'AadServicePrincipal', 'ManagedServiceIdentity' - */ - authenticationType?: ODataAuthenticationType; - /** - * User name of the OData service. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password of the OData service. - */ - password?: SecretBaseUnion; - /** - * The additional HTTP headers in the request to RESTful API used for authorization. Type: object - * (or Expression with resultType object). - */ - authHeaders?: any; - /** - * Specify the tenant information (domain name or tenant ID) under which your application - * resides. Type: string (or Expression with resultType string). - */ - tenant?: any; - /** - * Specify the application id of your application registered in Azure Active Directory. Type: - * string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * Specify the resource you are requesting authorization to use Directory. Type: string (or - * Expression with resultType string). - */ - aadResourceId?: any; - /** - * Specify the credential type (key or cert) is used for service principal. Possible values - * include: 'ServicePrincipalKey', 'ServicePrincipalCert' - */ - aadServicePrincipalCredentialType?: ODataAadServicePrincipalCredentialType; - /** - * Specify the secret of your application registered in Azure Active Directory. Type: string (or - * Expression with resultType string). - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * Specify the base64 encoded certificate of your application registered in Azure Active - * Directory. Type: string (or Expression with resultType string). - */ - servicePrincipalEmbeddedCert?: SecretBaseUnion; - /** - * Specify the password of your certificate if your certificate has a password and you are using - * AadServicePrincipal authentication. Type: string (or Expression with resultType string). - */ - servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Hadoop Distributed File System (HDFS) linked service. - */ -export interface HdfsLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Hdfs"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string - * (or Expression with resultType string). - */ - url: any; - /** - * Type of authentication used to connect to the HDFS. Possible values are: Anonymous and - * Windows. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * User name for Windows authentication. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password for Windows authentication. - */ - password?: SecretBaseUnion; -} - -/** - * Microsoft Access linked service. - */ -export interface MicrosoftAccessLinkedService { - /** - * Polymorphic Discriminator - */ - type: "MicrosoftAccess"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The non-access credential portion of the connection string as well as an optional encrypted - * credential. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible - * values are: Anonymous and Basic. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The access credential portion of the connection string specified in driver-specific - * property-value format. - */ - credential?: SecretBaseUnion; - /** - * User name for Basic authentication. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password for Basic authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Informix linked service. - */ -export interface InformixLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Informix"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The non-access credential portion of the connection string as well as an optional encrypted - * credential. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * Type of authentication used to connect to the Informix as ODBC data store. Possible values - * are: Anonymous and Basic. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The access credential portion of the connection string specified in driver-specific - * property-value format. - */ - credential?: SecretBaseUnion; - /** - * User name for Basic authentication. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password for Basic authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Open Database Connectivity (ODBC) linked service. - */ -export interface OdbcLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Odbc"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The non-access credential portion of the connection string as well as an optional encrypted - * credential. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous - * and Basic. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The access credential portion of the connection string specified in driver-specific - * property-value format. - */ - credential?: SecretBaseUnion; - /** - * User name for Basic authentication. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password for Basic authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure ML Service linked service. - */ -export interface AzureMLServiceLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureMLService"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Azure ML Service workspace subscription ID. Type: string (or Expression with resultType - * string). - */ - subscriptionId: any; - /** - * Azure ML Service workspace resource group name. Type: string (or Expression with resultType - * string). - */ - resourceGroupName: any; - /** - * Azure ML Service workspace name. Type: string (or Expression with resultType string). - */ - mlWorkspaceName: any; - /** - * The ID of the service principal used to authenticate against the endpoint of a published Azure - * ML Service pipeline. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The key of the service principal used to authenticate against the endpoint of a published - * Azure ML Service pipeline. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure ML Studio Web Service linked service. - */ -export interface AzureMLLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureML"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or - * Expression with resultType string). - */ - mlEndpoint: any; - /** - * The API key for accessing the Azure ML model endpoint. - */ - apiKey: SecretBaseUnion; - /** - * The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or - * Expression with resultType string). - */ - updateResourceEndpoint?: any; - /** - * The ID of the service principal used to authenticate against the ARM-based - * updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with - * resultType string). - */ - servicePrincipalId?: any; - /** - * The key of the service principal used to authenticate against the ARM-based - * updateResourceEndpoint of an Azure ML Studio web service. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Teradata data source. - */ -export interface TeradataLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Teradata"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * Server name for connection. Type: string (or Expression with resultType string). - */ - server?: any; - /** - * AuthenticationType to be used for connection. Possible values include: 'Basic', 'Windows' - */ - authenticationType?: TeradataAuthenticationType; - /** - * Username for authentication. Type: string (or Expression with resultType string). - */ - username?: any; - /** - * Password for authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for DB2 data source. - */ -export interface Db2LinkedService { - /** - * Polymorphic Discriminator - */ - type: "Db2"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. It is mutually exclusive with server, database, authenticationType, - * userName, packageCollection and certificateCommonName property. Type: string, SecureString or - * AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * Server name for connection. It is mutually exclusive with connectionString property. Type: - * string (or Expression with resultType string). - */ - server?: any; - /** - * Database name for connection. It is mutually exclusive with connectionString property. Type: - * string (or Expression with resultType string). - */ - database?: any; - /** - * AuthenticationType to be used for connection. It is mutually exclusive with connectionString - * property. Possible values include: 'Basic' - */ - authenticationType?: Db2AuthenticationType; - /** - * Username for authentication. It is mutually exclusive with connectionString property. Type: - * string (or Expression with resultType string). - */ - username?: any; - /** - * Password for authentication. - */ - password?: SecretBaseUnion; - /** - * Under where packages are created when querying database. It is mutually exclusive with - * connectionString property. Type: string (or Expression with resultType string). - */ - packageCollection?: any; - /** - * Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString - * property. Type: string (or Expression with resultType string). - */ - certificateCommonName?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. It is mutually exclusive with connectionString - * property. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Sybase data source. - */ -export interface SybaseLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Sybase"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Server name for connection. Type: string (or Expression with resultType string). - */ - server: any; - /** - * Database name for connection. Type: string (or Expression with resultType string). - */ - database: any; - /** - * Schema name for connection. Type: string (or Expression with resultType string). - */ - schema?: any; - /** - * AuthenticationType to be used for connection. Possible values include: 'Basic', 'Windows' - */ - authenticationType?: SybaseAuthenticationType; - /** - * Username for authentication. Type: string (or Expression with resultType string). - */ - username?: any; - /** - * Password for authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for PostgreSQL data source. - */ -export interface PostgreSqlLinkedService { - /** - * Polymorphic Discriminator - */ - type: "PostgreSql"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for MySQL data source. - */ -export interface MySqlLinkedService { - /** - * Polymorphic Discriminator - */ - type: "MySql"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure MySQL database linked service. - */ -export interface AzureMySqlLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureMySql"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Oracle database. - */ -export interface OracleLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Oracle"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Google Cloud Storage. - */ -export interface GoogleCloudStorageLinkedService { - /** - * Polymorphic Discriminator - */ - type: "GoogleCloudStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The access key identifier of the Google Cloud Storage Identity and Access Management (IAM) - * user. Type: string (or Expression with resultType string). - */ - accessKeyId?: any; - /** - * The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. - */ - secretAccessKey?: SecretBaseUnion; - /** - * This value specifies the endpoint to access with the Google Cloud Storage Connector. This is - * an optional property; change it only if you want to try a different service endpoint or want - * to switch between https and http. Type: string (or Expression with resultType string). - */ - serviceUrl?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Oracle Cloud Storage. - */ -export interface OracleCloudStorageLinkedService { - /** - * Polymorphic Discriminator - */ - type: "OracleCloudStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The access key identifier of the Oracle Cloud Storage Identity and Access Management (IAM) - * user. Type: string (or Expression with resultType string). - */ - accessKeyId?: any; - /** - * The secret access key of the Oracle Cloud Storage Identity and Access Management (IAM) user. - */ - secretAccessKey?: SecretBaseUnion; - /** - * This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is - * an optional property; change it only if you want to try a different service endpoint or want - * to switch between https and http. Type: string (or Expression with resultType string). - */ - serviceUrl?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Linked service for Amazon S3 Compatible. - */ -export interface AmazonS3CompatibleLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AmazonS3Compatible"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The access key identifier of the Amazon S3 Compatible Identity and Access Management (IAM) - * user. Type: string (or Expression with resultType string). - */ - accessKeyId?: any; - /** - * The secret access key of the Amazon S3 Compatible Identity and Access Management (IAM) user. - */ - secretAccessKey?: SecretBaseUnion; - /** - * This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is - * an optional property; change it only if you want to try a different service endpoint or want - * to switch between https and http. Type: string (or Expression with resultType string). - */ - serviceUrl?: any; - /** - * If true, use S3 path-style access instead of virtual hosted-style access. Default value is - * false. Type: boolean (or Expression with resultType boolean). - */ - forcePathStyle?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure File Storage linked service. - */ -export interface AzureFileStorageLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureFileStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Host name of the server. Type: string (or Expression with resultType string). - */ - host?: any; - /** - * User ID to logon the server. Type: string (or Expression with resultType string). - */ - userId?: any; - /** - * Password to logon the server. - */ - password?: SecretBaseUnion; - /** - * The connection string. It is mutually exclusive with sasUri property. Type: string, - * SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of accountKey in connection string. - */ - accountKey?: AzureKeyVaultSecretReference; - /** - * SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. - * Type: string, SecureString or AzureKeyVaultSecretReference. - */ - sasUri?: any; - /** - * The Azure key vault secret reference of sasToken in sas uri. - */ - sasToken?: AzureKeyVaultSecretReference; - /** - * The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or - * Expression with resultType string). - */ - fileShare?: any; - /** - * The azure file share snapshot version. Type: string (or Expression with resultType string). - */ - snapshot?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * File system linked service. - */ -export interface FileServerLinkedService { - /** - * Polymorphic Discriminator - */ - type: "FileServer"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * Host name of the server. Type: string (or Expression with resultType string). - */ - host: any; - /** - * User ID to logon the server. Type: string (or Expression with resultType string). - */ - userId?: any; - /** - * Password to logon the server. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * HDInsight linked service. - */ -export interface HDInsightLinkedService { - /** - * Polymorphic Discriminator - */ - type: "HDInsight"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * HDInsight cluster URI. Type: string (or Expression with resultType string). - */ - clusterUri: any; - /** - * HDInsight cluster user name. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * HDInsight cluster password. - */ - password?: SecretBaseUnion; - /** - * The Azure Storage linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * A reference to the Azure SQL linked service that points to the HCatalog database. - */ - hcatalogLinkedServiceName?: LinkedServiceReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. - */ - isEspEnabled?: any; - /** - * Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or - * Expression with resultType string). - */ - fileSystem?: any; -} - -/** - * Common Data Service for Apps linked service. - */ -export interface CommonDataServiceForAppsLinkedService { - /** - * Polymorphic Discriminator - */ - type: "CommonDataServiceForApps"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data - * Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises - * with Ifd. Type: string (or Expression with resultType string). - */ - deploymentType: any; - /** - * The host name of the on-premises Common Data Service for Apps server. The property is required - * for on-prem and not allowed for online. Type: string (or Expression with resultType string). - */ - hostName?: any; - /** - * The port of on-premises Common Data Service for Apps server. The property is required for - * on-prem and not allowed for online. Default is 443. Type: integer (or Expression with - * resultType integer), minimum: 0. - */ - port?: any; - /** - * The URL to the Microsoft Common Data Service for Apps server. The property is required for - * on-line and not allowed for on-prem. Type: string (or Expression with resultType string). - */ - serviceUri?: any; - /** - * The organization name of the Common Data Service for Apps instance. The property is required - * for on-prem and required for online when there are more than one Common Data Service for Apps - * instances associated with the user. Type: string (or Expression with resultType string). - */ - organizationName?: any; - /** - * The authentication type to connect to Common Data Service for Apps server. 'Office365' for - * online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for - * Server-To-Server authentication in online scenario. Type: string (or Expression with - * resultType string). - */ - authenticationType: any; - /** - * User name to access the Common Data Service for Apps instance. Type: string (or Expression - * with resultType string). - */ - username?: any; - /** - * Password to access the Common Data Service for Apps instance. - */ - password?: SecretBaseUnion; - /** - * The client ID of the application in Azure Active Directory used for Server-To-Server - * authentication. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The service principal credential type to use in Server-To-Server authentication. - * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). - */ - servicePrincipalCredentialType?: any; - /** - * The credential of the service principal object in Azure Active Directory. If - * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be - * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is - * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - */ - servicePrincipalCredential?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Dynamics CRM linked service. - */ -export interface DynamicsCrmLinkedService { - /** - * Polymorphic Discriminator - */ - type: "DynamicsCrm"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and - * 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with - * resultType string). - */ - deploymentType: any; - /** - * The host name of the on-premises Dynamics CRM server. The property is required for on-prem and - * not allowed for online. Type: string (or Expression with resultType string). - */ - hostName?: any; - /** - * The port of on-premises Dynamics CRM server. The property is required for on-prem and not - * allowed for online. Default is 443. Type: integer (or Expression with resultType integer), - * minimum: 0. - */ - port?: any; - /** - * The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not - * allowed for on-prem. Type: string (or Expression with resultType string). - */ - serviceUri?: any; - /** - * The organization name of the Dynamics CRM instance. The property is required for on-prem and - * required for online when there are more than one Dynamics CRM instances associated with the - * user. Type: string (or Expression with resultType string). - */ - organizationName?: any; - /** - * The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, - * 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server - * authentication in online scenario. Type: string (or Expression with resultType string). - */ - authenticationType: any; - /** - * User name to access the Dynamics CRM instance. Type: string (or Expression with resultType - * string). - */ - username?: any; - /** - * Password to access the Dynamics CRM instance. - */ - password?: SecretBaseUnion; - /** - * The client ID of the application in Azure Active Directory used for Server-To-Server - * authentication. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The service principal credential type to use in Server-To-Server authentication. - * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). - */ - servicePrincipalCredentialType?: any; - /** - * The credential of the service principal object in Azure Active Directory. If - * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be - * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is - * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - */ - servicePrincipalCredential?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Dynamics linked service. - */ -export interface DynamicsLinkedService { - /** - * Polymorphic Discriminator - */ - type: "Dynamics"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The deployment type of the Dynamics instance. 'Online' for Dynamics Online and - * 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with - * resultType string). - */ - deploymentType: any; - /** - * The host name of the on-premises Dynamics server. The property is required for on-prem and not - * allowed for online. Type: string (or Expression with resultType string). - */ - hostName?: any; - /** - * The port of on-premises Dynamics server. The property is required for on-prem and not allowed - * for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. - */ - port?: any; - /** - * The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed - * for on-prem. Type: string (or Expression with resultType string). - */ - serviceUri?: any; - /** - * The organization name of the Dynamics instance. The property is required for on-prem and - * required for online when there are more than one Dynamics instances associated with the user. - * Type: string (or Expression with resultType string). - */ - organizationName?: any; - /** - * The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' - * for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication - * in online scenario. Type: string (or Expression with resultType string). - */ - authenticationType: any; - /** - * User name to access the Dynamics instance. Type: string (or Expression with resultType - * string). - */ - username?: any; - /** - * Password to access the Dynamics instance. - */ - password?: SecretBaseUnion; - /** - * The client ID of the application in Azure Active Directory used for Server-To-Server - * authentication. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The service principal credential type to use in Server-To-Server authentication. - * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). - */ - servicePrincipalCredentialType?: any; - /** - * The credential of the service principal object in Azure Active Directory. If - * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be - * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is - * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - */ - servicePrincipalCredential?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Microsoft Azure Cosmos Database (CosmosDB) linked service. - */ -export interface CosmosDbLinkedService { - /** - * Polymorphic Discriminator - */ - type: "CosmosDb"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType - * string) - */ - accountEndpoint?: any; - /** - * The name of the database. Type: string (or Expression with resultType string) - */ - database?: any; - /** - * The account key of the Azure CosmosDB account. Type: SecureString or - * AzureKeyVaultSecretReference. - */ - accountKey?: SecretBaseUnion; - /** - * The client ID of the application in Azure Active Directory used for Server-To-Server - * authentication. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The service principal credential type to use in Server-To-Server authentication. - * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). Possible values include: 'ServicePrincipalKey', - * 'ServicePrincipalCert' - */ - servicePrincipalCredentialType?: CosmosDbServicePrincipalCredentialType; - /** - * The credential of the service principal object in Azure Active Directory. If - * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be - * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is - * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. - */ - servicePrincipalCredential?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * The connection mode used to access CosmosDB account. Type: string (or Expression with - * resultType string). Possible values include: 'Gateway', 'Direct' - */ - connectionMode?: CosmosDbConnectionMode; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Azure Key Vault linked service. - */ -export interface AzureKeyVaultLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureKeyVault"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or - * Expression with resultType string). - */ - baseUrl: any; -} - -/** - * Azure Batch linked service. - */ -export interface AzureBatchLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureBatch"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The Azure Batch account name. Type: string (or Expression with resultType string). - */ - accountName: any; - /** - * The Azure Batch account access key. - */ - accessKey?: SecretBaseUnion; - /** - * The Azure Batch URI. Type: string (or Expression with resultType string). - */ - batchUri: any; - /** - * The Azure Batch pool name. Type: string (or Expression with resultType string). - */ - poolName: any; - /** - * The Azure Storage linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * Sql always encrypted properties. - */ -export interface SqlAlwaysEncryptedProperties { - /** - * Sql always encrypted AKV authentication type. Type: string (or Expression with resultType - * string). Possible values include: 'ServicePrincipal', 'ManagedIdentity' - */ - alwaysEncryptedAkvAuthType: SqlAlwaysEncryptedAkvAuthType; - /** - * The client ID of the application in Azure Active Directory used for Azure Key Vault - * authentication. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The key of the service principal used to authenticate against Azure Key Vault. - */ - servicePrincipalKey?: SecretBaseUnion; -} - -/** - * Azure SQL Managed Instance linked service. - */ -export interface AzureSqlMILinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureSqlMI"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: - * string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The key of the service principal used to authenticate against Azure SQL Managed Instance. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * Sql always encrypted properties. - */ - alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; -} - -/** - * Microsoft Azure SQL Database linked service. - */ -export interface AzureSqlDatabaseLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureSqlDatabase"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The ID of the service principal used to authenticate against Azure SQL Database. Type: string - * (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The key of the service principal used to authenticate against Azure SQL Database. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * Sql always encrypted properties. - */ - alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; -} - -/** - * SQL Server linked service. - */ -export interface SqlServerLinkedService { - /** - * Polymorphic Discriminator - */ - type: "SqlServer"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The on-premises Windows authentication user name. Type: string (or Expression with resultType - * string). - */ - userName?: any; - /** - * The on-premises Windows authentication password. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; - /** - * Sql always encrypted properties. - */ - alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; -} - -/** - * Azure SQL Data Warehouse linked service. - */ -export interface AzureSqlDWLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureSqlDW"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: - * string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: - * string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The key of the service principal used to authenticate against Azure SQL Data Warehouse. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: any; -} - -/** - * The azure table storage linked service. - */ -export interface AzureTableStorageLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureTableStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. It is mutually exclusive with sasUri property. Type: string, - * SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of accountKey in connection string. - */ - accountKey?: AzureKeyVaultSecretReference; - /** - * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString - * property. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - sasUri?: any; - /** - * The Azure key vault secret reference of sasToken in sas uri. - */ - sasToken?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: string; -} - -/** - * The azure blob storage linked service. - */ -export interface AzureBlobStorageLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: - * string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of accountKey in connection string. - */ - accountKey?: AzureKeyVaultSecretReference; - /** - * SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, - * serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - sasUri?: any; - /** - * The Azure key vault secret reference of sasToken in sas uri. - */ - sasToken?: AzureKeyVaultSecretReference; - /** - * Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with - * connectionString, sasUri property. - */ - serviceEndpoint?: string; - /** - * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: - * string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The key of the service principal used to authenticate against Azure SQL Data Warehouse. - */ - servicePrincipalKey?: SecretBaseUnion; - /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). - */ - tenant?: any; - /** - * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, - * AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud - * type. Type: string (or Expression with resultType string). - */ - azureCloudType?: any; - /** - * Specify the kind of your storage account. Allowed values are: Storage (general purpose v1), - * StorageV2 (general purpose v2), BlobStorage, or BlockBlobStorage. Type: string (or Expression - * with resultType string). - */ - accountKind?: string; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: string; -} - -/** - * The storage account linked service. - */ -export interface AzureStorageLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. It is mutually exclusive with sasUri property. Type: string, - * SecureString or AzureKeyVaultSecretReference. - */ - connectionString?: any; - /** - * The Azure key vault secret reference of accountKey in connection string. - */ - accountKey?: AzureKeyVaultSecretReference; - /** - * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString - * property. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - sasUri?: any; - /** - * The Azure key vault secret reference of sasToken in sas uri. - */ - sasToken?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). - */ - encryptedCredential?: string; -} - -/** - * Azure Databricks Delta Lake dataset. - */ -export interface AzureDatabricksDeltaLakeDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureDatabricksDeltaLakeDataset"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The name of delta table. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The database name of delta table. Type: string (or Expression with resultType string). - */ - database?: any; -} - -/** - * The sharepoint online list resource dataset. - */ -export interface SharePointOnlineListResourceDataset { - /** - * Polymorphic Discriminator - */ - type: "SharePointOnlineListResource"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The name of the SharePoint Online list. Type: string (or Expression with resultType string). - */ - listName?: any; -} - -/** - * The snowflake dataset. - */ -export interface SnowflakeDataset { - /** - * Polymorphic Discriminator - */ - type: "SnowflakeTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The schema name of the Snowflake database. Type: string (or Expression with resultType - * string). - */ - snowflakeDatasetSchema?: any; - /** - * The table name of the Snowflake database. Type: string (or Expression with resultType string). - */ - table?: any; -} - -/** - * Google AdWords service dataset. - */ -export interface GoogleAdWordsObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "GoogleAdWordsObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * The Azure Data Explorer (Kusto) dataset. - */ -export interface AzureDataExplorerTableDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureDataExplorerTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name of the Azure Data Explorer database. Type: string (or Expression with - * resultType string). - */ - table?: any; -} - -/** - * Oracle Service Cloud dataset. - */ -export interface OracleServiceCloudObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "OracleServiceCloudObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * The path of the Dynamics AX OData entity. - */ -export interface DynamicsAXResourceDataset { - /** - * Polymorphic Discriminator - */ - type: "DynamicsAXResource"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). - */ - path: any; -} - -/** - * Responsys dataset. - */ -export interface ResponsysObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "ResponsysObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Salesforce Marketing Cloud dataset. - */ -export interface SalesforceMarketingCloudObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "SalesforceMarketingCloudObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Vertica dataset. - */ -export interface VerticaTableDataset { - /** - * Polymorphic Discriminator - */ - type: "VerticaTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Vertica. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Vertica. Type: string (or Expression with resultType string). - */ - verticaTableDatasetSchema?: any; -} - -/** - * Netezza dataset. - */ -export interface NetezzaTableDataset { - /** - * Polymorphic Discriminator - */ - type: "NetezzaTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Netezza. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Netezza. Type: string (or Expression with resultType string). - */ - netezzaTableDatasetSchema?: any; -} - -/** - * Zoho server dataset. - */ -export interface ZohoObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "ZohoObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Xero Service dataset. - */ -export interface XeroObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "XeroObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Square Service dataset. - */ -export interface SquareObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "SquareObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Spark Server dataset. - */ -export interface SparkObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "SparkObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Spark. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Spark. Type: string (or Expression with resultType string). - */ - sparkObjectDatasetSchema?: any; -} - -/** - * Shopify Service dataset. - */ -export interface ShopifyObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "ShopifyObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * ServiceNow server dataset. - */ -export interface ServiceNowObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "ServiceNowObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * QuickBooks server dataset. - */ -export interface QuickBooksObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "QuickBooksObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Presto server dataset. - */ -export interface PrestoObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "PrestoObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Presto. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Presto. Type: string (or Expression with resultType string). - */ - prestoObjectDatasetSchema?: any; -} - -/** - * Phoenix server dataset. - */ -export interface PhoenixObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "PhoenixObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Phoenix. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Phoenix. Type: string (or Expression with resultType string). - */ - phoenixObjectDatasetSchema?: any; -} - -/** - * Paypal Service dataset. - */ -export interface PaypalObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "PaypalObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Marketo server dataset. - */ -export interface MarketoObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "MarketoObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Azure Database for MariaDB dataset. - */ -export interface AzureMariaDBTableDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureMariaDBTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * MariaDB server dataset. - */ -export interface MariaDBTableDataset { - /** - * Polymorphic Discriminator - */ - type: "MariaDBTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Magento server dataset. - */ -export interface MagentoObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "MagentoObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Jira Service dataset. - */ -export interface JiraObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "JiraObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Impala server dataset. - */ -export interface ImpalaObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "ImpalaObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Impala. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Impala. Type: string (or Expression with resultType string). - */ - impalaObjectDatasetSchema?: any; -} - -/** - * Hubspot Service dataset. - */ -export interface HubspotObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "HubspotObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Hive Server dataset. - */ -export interface HiveObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "HiveObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Hive. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Hive. Type: string (or Expression with resultType string). - */ - hiveObjectDatasetSchema?: any; -} - -/** - * HBase server dataset. - */ -export interface HBaseObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "HBaseObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Greenplum Database dataset. - */ -export interface GreenplumTableDataset { - /** - * Polymorphic Discriminator - */ - type: "GreenplumTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of Greenplum. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of Greenplum. Type: string (or Expression with resultType string). - */ - greenplumTableDatasetSchema?: any; -} - -/** - * Google BigQuery service dataset. - */ -export interface GoogleBigQueryObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "GoogleBigQueryObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using database + table properties instead. - */ - tableName?: any; - /** - * The table name of the Google BigQuery. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The database name of the Google BigQuery. Type: string (or Expression with resultType string). - */ - dataset?: any; -} - -/** - * Eloqua server dataset. - */ -export interface EloquaObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "EloquaObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Drill server dataset. - */ -export interface DrillTableDataset { - /** - * Polymorphic Discriminator - */ - type: "DrillTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Drill. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Drill. Type: string (or Expression with resultType string). - */ - drillTableDatasetSchema?: any; -} - -/** - * Couchbase server dataset. - */ -export interface CouchbaseTableDataset { - /** - * Polymorphic Discriminator - */ - type: "CouchbaseTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Concur Service dataset. - */ -export interface ConcurObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "ConcurObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Azure PostgreSQL dataset. - */ -export interface AzurePostgreSqlTableDataset { - /** - * Polymorphic Discriminator - */ - type: "AzurePostgreSqlTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name of the Azure PostgreSQL database which includes both schema and table. Type: - * string (or Expression with resultType string). - */ - tableName?: any; - /** - * The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType - * string). - */ - table?: any; - /** - * The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType - * string). - */ - azurePostgreSqlTableDatasetSchema?: any; -} - -/** - * Amazon Marketplace Web Service dataset. - */ -export interface AmazonMWSObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "AmazonMWSObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * Contains the possible cases for DatasetCompression. - */ -export type DatasetCompressionUnion = - | DatasetCompression - | DatasetTarGZipCompression - | DatasetTarCompression - | DatasetZipDeflateCompression - | DatasetDeflateCompression - | DatasetGZipCompression - | DatasetBZip2Compression; - -/** - * The compression method used on a dataset. - */ -export interface DatasetCompression { - /** - * Polymorphic Discriminator - */ - type: "DatasetCompression"; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * The TarGZip compression method used on a dataset. - */ -export interface DatasetTarGZipCompression { - /** - * Polymorphic Discriminator - */ - type: "TarGZip"; - /** - * The TarGZip compression level. - */ - level?: any; -} - -/** - * The Tar archive method used on a dataset. - */ -export interface DatasetTarCompression { - /** - * Polymorphic Discriminator - */ - type: "Tar"; -} - -/** - * The ZipDeflate compression method used on a dataset. - */ -export interface DatasetZipDeflateCompression { - /** - * Polymorphic Discriminator - */ - type: "ZipDeflate"; - /** - * The ZipDeflate compression level. - */ - level?: any; -} - -/** - * The Deflate compression method used on a dataset. - */ -export interface DatasetDeflateCompression { - /** - * Polymorphic Discriminator - */ - type: "Deflate"; - /** - * The Deflate compression level. - */ - level?: any; -} - -/** - * The GZip compression method used on a dataset. - */ -export interface DatasetGZipCompression { - /** - * Polymorphic Discriminator - */ - type: "GZip"; - /** - * The GZip compression level. - */ - level?: any; -} - -/** - * The BZip2 compression method used on a dataset. - */ -export interface DatasetBZip2Compression { - /** - * Polymorphic Discriminator - */ - type: "BZip2"; -} - -/** - * Contains the possible cases for DatasetStorageFormat. - */ -export type DatasetStorageFormatUnion = - | DatasetStorageFormat - | ParquetFormat - | OrcFormat - | AvroFormat - | JsonFormat - | TextFormat; - -/** - * The format definition of a storage. - */ -export interface DatasetStorageFormat { - /** - * Polymorphic Discriminator - */ - type: "DatasetStorageFormat"; - /** - * Serializer. Type: string (or Expression with resultType string). - */ - serializer?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * The data stored in Parquet format. - */ -export interface ParquetFormat { - /** - * Polymorphic Discriminator - */ - type: "ParquetFormat"; - /** - * Serializer. Type: string (or Expression with resultType string). - */ - serializer?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; -} - -/** - * The data stored in Optimized Row Columnar (ORC) format. - */ -export interface OrcFormat { - /** - * Polymorphic Discriminator - */ - type: "OrcFormat"; - /** - * Serializer. Type: string (or Expression with resultType string). - */ - serializer?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; -} - -/** - * The data stored in Avro format. - */ -export interface AvroFormat { - /** - * Polymorphic Discriminator - */ - type: "AvroFormat"; - /** - * Serializer. Type: string (or Expression with resultType string). - */ - serializer?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; -} - -/** - * The data stored in JSON format. - */ -export interface JsonFormat { - /** - * Polymorphic Discriminator - */ - type: "JsonFormat"; - /** - * Serializer. Type: string (or Expression with resultType string). - */ - serializer?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; - /** - * File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. - * The default value is 'setOfObjects'. It is case-sensitive. - */ - filePattern?: any; - /** - * The character used to separate nesting levels. Default value is '.' (dot). Type: string (or - * Expression with resultType string). - */ - nestingSeparator?: any; - /** - * The code page name of the preferred encoding. If not provided, the default value is 'utf-8', - * unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported - * values can be found in the 'Name' column of the table of encodings in the following reference: - * https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType - * string). - */ - encodingName?: any; - /** - * The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string - * (or Expression with resultType string). - */ - jsonNodeReference?: any; - /** - * The JSONPath definition for each column mapping with a customized column name to extract data - * from JSON file. For fields under root object, start with "$"; for fields inside the array - * chosen by jsonNodeReference property, start from the array element. Example: {"Column1": - * "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType - * object). - */ - jsonPathDefinition?: any; -} - -/** - * The data stored in text format. - */ -export interface TextFormat { - /** - * Polymorphic Discriminator - */ - type: "TextFormat"; - /** - * Serializer. Type: string (or Expression with resultType string). - */ - serializer?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; - /** - * The column delimiter. Type: string (or Expression with resultType string). - */ - columnDelimiter?: any; - /** - * The row delimiter. Type: string (or Expression with resultType string). - */ - rowDelimiter?: any; - /** - * The escape character. Type: string (or Expression with resultType string). - */ - escapeChar?: any; - /** - * The quote character. Type: string (or Expression with resultType string). - */ - quoteChar?: any; - /** - * The null value string. Type: string (or Expression with resultType string). - */ - nullValue?: any; - /** - * The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, - * unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in - * the following link to set supported values: - * https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with - * resultType string). - */ - encodingName?: any; - /** - * Treat empty column values in the text file as null. The default value is true. Type: boolean - * (or Expression with resultType boolean). - */ - treatEmptyAsNull?: any; - /** - * The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: - * integer (or Expression with resultType integer). - */ - skipLineCount?: any; - /** - * When used as input, treat the first row of data as headers. When used as output,write the - * headers into the output as the first row of data. The default value is false. Type: boolean - * (or Expression with resultType boolean). - */ - firstRowAsHeader?: any; -} - -/** - * A file in an HTTP web server. - */ -export interface HttpDataset { - /** - * Polymorphic Discriminator - */ - type: "HttpFile"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string - * (or Expression with resultType string). - */ - relativeUrl?: any; - /** - * The HTTP method for the HTTP request. Type: string (or Expression with resultType string). - */ - requestMethod?: any; - /** - * The body for the HTTP request. Type: string (or Expression with resultType string). - */ - requestBody?: any; - /** - * The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 - * ... - * request-header-name-n:request-header-value-n Type: string (or Expression with resultType - * string). - */ - additionalHeaders?: any; - /** - * The format of files. - */ - format?: DatasetStorageFormatUnion; - /** - * The data compression method used on files. - */ - compression?: DatasetCompressionUnion; -} - -/** - * The Azure Search Index. - */ -export interface AzureSearchIndexDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureSearchIndex"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The name of the Azure Search Index. Type: string (or Expression with resultType string). - */ - indexName: any; -} - -/** - * The dataset points to a HTML table in the web page. - */ -export interface WebTableDataset { - /** - * Polymorphic Discriminator - */ - type: "WebTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The zero-based index of the table in the web page. Type: integer (or Expression with - * resultType integer), minimum: 0. - */ - index: any; - /** - * The relative URL to the web page from the linked service URL. Type: string (or Expression with - * resultType string). - */ - path?: any; -} - -/** - * SAP Table Resource properties. - */ -export interface SapTableResourceDataset { - /** - * Polymorphic Discriminator - */ - type: "SapTableResource"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The name of the SAP Table. Type: string (or Expression with resultType string). - */ - tableName: any; -} - -/** - * A Rest service dataset. - */ -export interface RestResourceDataset { - /** - * Polymorphic Discriminator - */ - type: "RestResource"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The relative URL to the resource that the RESTful API provides. Type: string (or Expression - * with resultType string). - */ - relativeUrl?: any; - /** - * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression - * with resultType string). - */ - requestMethod?: any; - /** - * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression - * with resultType string). - */ - requestBody?: any; - /** - * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression - * with resultType string). - */ - additionalHeaders?: any; - /** - * The pagination rules to compose next page requests. Type: string (or Expression with - * resultType string). - */ - paginationRules?: any; -} - -/** - * The on-premises SQL Server dataset. - */ -export interface SqlServerTableDataset { - /** - * Polymorphic Discriminator - */ - type: "SqlServerTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The schema name of the SQL Server dataset. Type: string (or Expression with resultType - * string). - */ - sqlServerTableDatasetSchema?: any; - /** - * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - */ - table?: any; -} - -/** - * Sap Business Warehouse Open Hub Destination Table properties. - */ -export interface SapOpenHubTableDataset { - /** - * Polymorphic Discriminator - */ - type: "SapOpenHubTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The name of the Open Hub Destination with destination type as Database Table. Type: string (or - * Expression with resultType string). - */ - openHubDestinationName: any; - /** - * Whether to exclude the records of the last request. The default value is true. Type: boolean - * (or Expression with resultType boolean). - */ - excludeLastRequest?: any; - /** - * The ID of request for delta loading. Once it is set, only data with requestId larger than the - * value of this property will be retrieved. The default value is 0. Type: integer (or Expression - * with resultType integer ). - */ - baseRequestId?: any; -} - -/** - * SAP HANA Table properties. - */ -export interface SapHanaTableDataset { - /** - * Polymorphic Discriminator - */ - type: "SapHanaTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The schema name of SAP HANA. Type: string (or Expression with resultType string). - */ - sapHanaTableDatasetSchema?: any; - /** - * The table name of SAP HANA. Type: string (or Expression with resultType string). - */ - table?: any; -} - -/** - * The path of the SAP ECC OData entity. - */ -export interface SapEccResourceDataset { - /** - * Polymorphic Discriminator - */ - type: "SapEccResource"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). - */ - path: any; -} - -/** - * The path of the SAP Cloud for Customer OData entity. - */ -export interface SapCloudForCustomerResourceDataset { - /** - * Polymorphic Discriminator - */ - type: "SapCloudForCustomerResource"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with - * resultType string). - */ - path: any; -} - -/** - * The SAP BW cube dataset. - */ -export interface SapBwCubeDataset { - /** - * Polymorphic Discriminator - */ - type: "SapBwCube"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; -} - -/** - * The Sybase table dataset. - */ -export interface SybaseTableDataset { - /** - * Polymorphic Discriminator - */ - type: "SybaseTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The Sybase table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * The Salesforce Service Cloud object dataset. - */ -export interface SalesforceServiceCloudObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "SalesforceServiceCloudObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The Salesforce Service Cloud object API name. Type: string (or Expression with resultType - * string). - */ - objectApiName?: any; -} - -/** - * The Salesforce object dataset. - */ -export interface SalesforceObjectDataset { - /** - * Polymorphic Discriminator - */ - type: "SalesforceObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The Salesforce object API name. Type: string (or Expression with resultType string). - */ - objectApiName?: any; -} - -/** - * The Microsoft Access table dataset. - */ -export interface MicrosoftAccessTableDataset { - /** - * Polymorphic Discriminator - */ - type: "MicrosoftAccessTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The Microsoft Access table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * The PostgreSQL table dataset. - */ -export interface PostgreSqlTableDataset { - /** - * Polymorphic Discriminator - */ - type: "PostgreSqlTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The PostgreSQL table name. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The PostgreSQL schema name. Type: string (or Expression with resultType string). - */ - postgreSqlTableDatasetSchema?: any; -} - -/** - * The MySQL table dataset. - */ -export interface MySqlTableDataset { - /** - * Polymorphic Discriminator - */ - type: "MySqlTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The MySQL table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * The ODBC table dataset. - */ -export interface OdbcTableDataset { - /** - * Polymorphic Discriminator - */ - type: "OdbcTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The ODBC table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * The Informix table dataset. - */ -export interface InformixTableDataset { - /** - * Polymorphic Discriminator - */ - type: "InformixTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The Informix table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * The relational table dataset. - */ -export interface RelationalTableDataset { - /** - * Polymorphic Discriminator - */ - type: "RelationalTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The relational table name. Type: string (or Expression with resultType string). - */ - tableName?: any; -} - -/** - * The Db2 table dataset. - */ -export interface Db2TableDataset { - /** - * Polymorphic Discriminator - */ - type: "Db2Table"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The Db2 schema name. Type: string (or Expression with resultType string). - */ - db2TableDatasetSchema?: any; - /** - * The Db2 table name. Type: string (or Expression with resultType string). - */ - table?: any; -} - -/** - * The Amazon Redshift table dataset. - */ -export interface AmazonRedshiftTableDataset { - /** - * Polymorphic Discriminator - */ - type: "AmazonRedshiftTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The Amazon Redshift table name. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The Amazon Redshift schema name. Type: string (or Expression with resultType string). - */ - amazonRedshiftTableDatasetSchema?: any; -} - -/** - * The Azure MySQL database dataset. - */ -export interface AzureMySqlTableDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureMySqlTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The Azure MySQL database table name. Type: string (or Expression with resultType string). - */ - tableName?: any; - /** - * The name of Azure MySQL database table. Type: string (or Expression with resultType string). - */ - table?: any; -} - -/** - * The Teradata database dataset. - */ -export interface TeradataTableDataset { - /** - * Polymorphic Discriminator - */ - type: "TeradataTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The database name of Teradata. Type: string (or Expression with resultType string). - */ - database?: any; - /** - * The table name of Teradata. Type: string (or Expression with resultType string). - */ - table?: any; -} - -/** - * The on-premises Oracle database dataset. - */ -export interface OracleTableDataset { - /** - * Polymorphic Discriminator - */ - type: "OracleTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The schema name of the on-premises Oracle database. Type: string (or Expression with - * resultType string). - */ - oracleTableDatasetSchema?: any; - /** - * The table name of the on-premises Oracle database. Type: string (or Expression with resultType - * string). - */ - table?: any; -} - -/** - * The Open Data Protocol (OData) resource dataset. - */ -export interface ODataResourceDataset { - /** - * Polymorphic Discriminator - */ - type: "ODataResource"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The OData resource path. Type: string (or Expression with resultType string). - */ - path?: any; -} - -/** - * The CosmosDB (MongoDB API) database dataset. - */ -export interface CosmosDbMongoDbApiCollectionDataset { - /** - * Polymorphic Discriminator - */ - type: "CosmosDbMongoDbApiCollection"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with - * resultType string). - */ - collection: any; -} - -/** - * The MongoDB database dataset. - */ -export interface MongoDbV2CollectionDataset { - /** - * Polymorphic Discriminator - */ - type: "MongoDbV2Collection"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The collection name of the MongoDB database. Type: string (or Expression with resultType - * string). - */ - collection: any; -} - -/** - * The MongoDB Atlas database dataset. - */ -export interface MongoDbAtlasCollectionDataset { - /** - * Polymorphic Discriminator - */ - type: "MongoDbAtlasCollection"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType - * string). - */ - collection: any; -} - -/** - * The MongoDB database dataset. - */ -export interface MongoDbCollectionDataset { - /** - * Polymorphic Discriminator - */ - type: "MongoDbCollection"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name of the MongoDB database. Type: string (or Expression with resultType string). - */ - collectionName: any; -} - -/** - * An on-premises file system dataset. - */ -export interface FileShareDataset { - /** - * Polymorphic Discriminator - */ - type: "FileShare"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The path of the on-premises file system. Type: string (or Expression with resultType string). - */ - folderPath?: any; - /** - * The name of the on-premises file system. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * The format of the files. - */ - format?: DatasetStorageFormatUnion; - /** - * Specify a filter to be used to select a subset of files in the folderPath rather than all - * files. Type: string (or Expression with resultType string). - */ - fileFilter?: any; - /** - * The data compression method used for the file system. - */ - compression?: DatasetCompressionUnion; -} - -/** - * The Office365 account. - */ -export interface Office365Dataset { - /** - * Polymorphic Discriminator - */ - type: "Office365Table"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * Name of the dataset to extract from Office 365. Type: string (or Expression with resultType - * string). - */ - tableName: any; - /** - * A predicate expression that can be used to filter the specific rows to extract from Office - * 365. Type: string (or Expression with resultType string). - */ - predicate?: any; -} - -/** - * The Azure Data Lake Storage Gen2 storage. - */ -export interface AzureBlobFSDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobFSFile"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with - * resultType string). - */ - folderPath?: any; - /** - * The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with resultType - * string). - */ - fileName?: any; - /** - * The format of the Azure Data Lake Storage Gen2 storage. - */ - format?: DatasetStorageFormatUnion; - /** - * The data compression method used for the blob storage. - */ - compression?: DatasetCompressionUnion; -} - -/** - * Azure Data Lake Store dataset. - */ -export interface AzureDataLakeStoreDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeStoreFile"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType - * string). - */ - folderPath?: any; - /** - * The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType - * string). - */ - fileName?: any; - /** - * The format of the Data Lake Store. - */ - format?: DatasetStorageFormatUnion; - /** - * The data compression method used for the item(s) in the Azure Data Lake Store. - */ - compression?: DatasetCompressionUnion; -} - -/** - * The Common Data Service for Apps entity dataset. - */ -export interface CommonDataServiceForAppsEntityDataset { - /** - * Polymorphic Discriminator - */ - type: "CommonDataServiceForAppsEntity"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The logical name of the entity. Type: string (or Expression with resultType string). - */ - entityName?: any; -} - -/** - * The Dynamics CRM entity dataset. - */ -export interface DynamicsCrmEntityDataset { - /** - * Polymorphic Discriminator - */ - type: "DynamicsCrmEntity"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The logical name of the entity. Type: string (or Expression with resultType string). - */ - entityName?: any; -} - -/** - * The Dynamics entity dataset. - */ -export interface DynamicsEntityDataset { - /** - * Polymorphic Discriminator - */ - type: "DynamicsEntity"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The logical name of the entity. Type: string (or Expression with resultType string). - */ - entityName?: any; -} - -/** - * Microsoft Azure Document Database Collection dataset. - */ -export interface DocumentDbCollectionDataset { - /** - * Polymorphic Discriminator - */ - type: "DocumentDbCollection"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * Document Database collection name. Type: string (or Expression with resultType string). - */ - collectionName: any; -} - -/** - * Microsoft Azure CosmosDB (SQL API) Collection dataset. - */ -export interface CosmosDbSqlApiCollectionDataset { - /** - * Polymorphic Discriminator - */ - type: "CosmosDbSqlApiCollection"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). - */ - collectionName: any; -} - -/** - * The custom dataset. - */ -export interface CustomDataset { - /** - * Polymorphic Discriminator - */ - type: "CustomDataset"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * Custom dataset properties. - */ - typeProperties?: any; -} - -/** - * The Cassandra database dataset. - */ -export interface CassandraTableDataset { - /** - * Polymorphic Discriminator - */ - type: "CassandraTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name of the Cassandra database. Type: string (or Expression with resultType string). - */ - tableName?: any; - /** - * The keyspace of the Cassandra database. Type: string (or Expression with resultType string). - */ - keyspace?: any; -} - -/** - * The Azure SQL Data Warehouse dataset. - */ -export interface AzureSqlDWTableDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureSqlDWTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType - * string). - */ - azureSqlDWTableDatasetSchema?: any; - /** - * The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType - * string). - */ - table?: any; -} - -/** - * The Azure SQL Managed Instance dataset. - */ -export interface AzureSqlMITableDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureSqlMITable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType - * string). - */ - azureSqlMITableDatasetSchema?: any; - /** - * The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with - * resultType string). - */ - table?: any; -} - -/** - * The Azure SQL Server database dataset. - */ -export interface AzureSqlTableDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureSqlTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The schema name of the Azure SQL database. Type: string (or Expression with resultType - * string). - */ - azureSqlTableDatasetSchema?: any; - /** - * The table name of the Azure SQL database. Type: string (or Expression with resultType string). - */ - table?: any; -} - -/** - * The Azure Table storage dataset. - */ -export interface AzureTableDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureTable"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The table name of the Azure Table storage. Type: string (or Expression with resultType - * string). - */ - tableName: any; -} - -/** - * The Azure Blob storage. - */ -export interface AzureBlobDataset { - /** - * Polymorphic Discriminator - */ - type: "AzureBlob"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The path of the Azure Blob storage. Type: string (or Expression with resultType string). - */ - folderPath?: any; - /** - * The root of blob path. Type: string (or Expression with resultType string). - */ - tableRootLocation?: any; - /** - * The name of the Azure Blob. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * The start of Azure Blob's modified datetime. Type: string (or Expression with resultType - * string). - */ - modifiedDatetimeStart?: any; - /** - * The end of Azure Blob's modified datetime. Type: string (or Expression with resultType - * string). - */ - modifiedDatetimeEnd?: any; - /** - * The format of the Azure Blob storage. - */ - format?: DatasetStorageFormatUnion; - /** - * The data compression method used for the blob storage. - */ - compression?: DatasetCompressionUnion; -} - -/** - * Contains the possible cases for DatasetLocation. - */ -export type DatasetLocationUnion = - | DatasetLocation - | HdfsLocation - | HttpServerLocation - | SftpLocation - | FtpServerLocation - | GoogleCloudStorageLocation - | OracleCloudStorageLocation - | AmazonS3CompatibleLocation - | AzureFileStorageLocation - | FileServerLocation - | AmazonS3Location - | AzureDataLakeStoreLocation - | AzureBlobFSLocation - | AzureBlobStorageLocation; - -/** - * Dataset location. - */ -export interface DatasetLocation { - /** - * Polymorphic Discriminator - */ - type: "DatasetLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * The location of HDFS. - */ -export interface HdfsLocation { - /** - * Polymorphic Discriminator - */ - type: "HdfsLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; -} - -/** - * The location of http server. - */ -export interface HttpServerLocation { - /** - * Polymorphic Discriminator - */ - type: "HttpServerLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the relativeUrl of http server. Type: string (or Expression with resultType string) - */ - relativeUrl?: any; -} - -/** - * The location of SFTP dataset. - */ -export interface SftpLocation { - /** - * Polymorphic Discriminator - */ - type: "SftpLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; -} - -/** - * The location of ftp server dataset. - */ -export interface FtpServerLocation { - /** - * Polymorphic Discriminator - */ - type: "FtpServerLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; -} - -/** - * The location of Google Cloud Storage dataset. - */ -export interface GoogleCloudStorageLocation { - /** - * Polymorphic Discriminator - */ - type: "GoogleCloudStorageLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType - * string) - */ - bucketName?: any; - /** - * Specify the version of Google Cloud Storage. Type: string (or Expression with resultType - * string). - */ - version?: any; -} - -/** - * The location of Oracle Cloud Storage dataset. - */ -export interface OracleCloudStorageLocation { - /** - * Polymorphic Discriminator - */ - type: "OracleCloudStorageLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the bucketName of Oracle Cloud Storage. Type: string (or Expression with resultType - * string) - */ - bucketName?: any; - /** - * Specify the version of Oracle Cloud Storage. Type: string (or Expression with resultType - * string). - */ - version?: any; -} - -/** - * The location of Amazon S3 Compatible dataset. - */ -export interface AmazonS3CompatibleLocation { - /** - * Polymorphic Discriminator - */ - type: "AmazonS3CompatibleLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType - * string) - */ - bucketName?: any; - /** - * Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType - * string). - */ - version?: any; -} - -/** - * The location of file server dataset. - */ -export interface AzureFileStorageLocation { - /** - * Polymorphic Discriminator - */ - type: "AzureFileStorageLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; -} + | RerunTumblingWindowTrigger + | ChainingTrigger; +export type DataFlowUnion = + | DataFlow + | MappingDataFlow + | Flowlet + | WranglingDataFlow; +export type SecretBaseUnion = + | SecretBase + | SecureString + | AzureKeyVaultSecretReference; +export type CredentialUnion = + | Credential + | ServicePrincipalCredential + | ManagedIdentityCredential; +export type DatasetLocationUnion = + | DatasetLocation + | AzureBlobStorageLocation + | AzureBlobFSLocation + | AzureDataLakeStoreLocation + | AmazonS3Location + | FileServerLocation + | AzureFileStorageLocation + | AmazonS3CompatibleLocation + | OracleCloudStorageLocation + | GoogleCloudStorageLocation + | FtpServerLocation + | SftpLocation + | HttpServerLocation + | HdfsLocation; +export type DatasetStorageFormatUnion = + | DatasetStorageFormat + | TextFormat + | JsonFormat + | AvroFormat + | OrcFormat + | ParquetFormat; +export type CustomSetupBaseUnion = + | CustomSetupBase + | CmdkeySetup + | EnvironmentVariableSetup + | ComponentSetup + | AzPowerShellSetup; +export type LinkedIntegrationRuntimeTypeUnion = + | LinkedIntegrationRuntimeType + | LinkedIntegrationRuntimeKeyAuthorization + | LinkedIntegrationRuntimeRbacAuthorization; +export type WebLinkedServiceTypePropertiesUnion = + | WebLinkedServiceTypeProperties + | WebAnonymousAuthentication + | WebBasicAuthentication + | WebClientCertificateAuthentication; +export type StoreReadSettingsUnion = + | StoreReadSettings + | AzureBlobStorageReadSettings + | AzureBlobFSReadSettings + | AzureDataLakeStoreReadSettings + | AmazonS3ReadSettings + | FileServerReadSettings + | AzureFileStorageReadSettings + | AmazonS3CompatibleReadSettings + | OracleCloudStorageReadSettings + | GoogleCloudStorageReadSettings + | FtpReadSettings + | SftpReadSettings + | HttpReadSettings + | HdfsReadSettings; +export type StoreWriteSettingsUnion = + | StoreWriteSettings + | SftpWriteSettings + | AzureBlobStorageWriteSettings + | AzureBlobFSWriteSettings + | AzureDataLakeStoreWriteSettings + | FileServerWriteSettings + | AzureFileStorageWriteSettings; +export type FormatReadSettingsUnion = + | FormatReadSettings + | DelimitedTextReadSettings + | JsonReadSettings + | XmlReadSettings + | BinaryReadSettings; +export type CompressionReadSettingsUnion = + | CompressionReadSettings + | ZipDeflateReadSettings + | TarReadSettings + | TarGZipReadSettings; +export type FormatWriteSettingsUnion = + | FormatWriteSettings + | AvroWriteSettings + | OrcWriteSettings + | ParquetWriteSettings + | DelimitedTextWriteSettings + | JsonWriteSettings; +export type CopySourceUnion = + | CopySource + | AvroSource + | ExcelSource + | ParquetSource + | DelimitedTextSource + | JsonSource + | XmlSource + | OrcSource + | BinarySource + | TabularSourceUnion + | BlobSource + | DocumentDbCollectionSource + | CosmosDbSqlApiSource + | DynamicsSource + | DynamicsCrmSource + | CommonDataServiceForAppsSource + | RelationalSource + | MicrosoftAccessSource + | ODataSource + | SalesforceServiceCloudSource + | RestSource + | FileSystemSource + | HdfsSource + | AzureDataExplorerSource + | OracleSource + | AmazonRdsForOracleSource + | WebSource + | MongoDbSource + | MongoDbAtlasSource + | MongoDbV2Source + | CosmosDbMongoDbApiSource + | Office365Source + | AzureDataLakeStoreSource + | AzureBlobFSSource + | HttpSource + | SnowflakeSource + | AzureDatabricksDeltaLakeSource + | SharePointOnlineListSource; +export type CopySinkUnion = + | CopySink + | DelimitedTextSink + | JsonSink + | OrcSink + | RestSink + | AzurePostgreSqlSink + | AzureMySqlSink + | AzureDatabricksDeltaLakeSink + | SapCloudForCustomerSink + | AzureQueueSink + | AzureTableSink + | AvroSink + | ParquetSink + | BinarySink + | BlobSink + | FileSystemSink + | DocumentDbCollectionSink + | CosmosDbSqlApiSink + | SqlSink + | SqlServerSink + | AzureSqlSink + | SqlMISink + | SqlDWSink + | SnowflakeSink + | OracleSink + | AzureDataLakeStoreSink + | AzureBlobFSSink + | AzureSearchIndexSink + | OdbcSink + | InformixSink + | MicrosoftAccessSink + | DynamicsSink + | DynamicsCrmSink + | CommonDataServiceForAppsSink + | AzureDataExplorerSink + | SalesforceSink + | SalesforceServiceCloudSink + | MongoDbAtlasSink + | MongoDbV2Sink + | CosmosDbMongoDbApiSink; +export type ExportSettingsUnion = + | ExportSettings + | SnowflakeExportCopyCommand + | AzureDatabricksDeltaLakeExportCommand; +export type ImportSettingsUnion = + | ImportSettings + | AzureDatabricksDeltaLakeImportCommand + | SnowflakeImportCopyCommand; +export type CopyTranslatorUnion = CopyTranslator | TabularTranslator; +export type DependencyReferenceUnion = + | DependencyReference + | TriggerDependencyReferenceUnion + | SelfDependencyTumblingWindowTriggerReference; +export type ControlActivityUnion = + | ControlActivity + | ExecutePipelineActivity + | IfConditionActivity + | SwitchActivity + | ForEachActivity + | WaitActivity + | UntilActivity + | ValidationActivity + | FilterActivity + | SetVariableActivity + | AppendVariableActivity + | WebHookActivity; +export type ExecutionActivityUnion = + | ExecutionActivity + | CopyActivity + | HDInsightHiveActivity + | HDInsightPigActivity + | HDInsightMapReduceActivity + | HDInsightStreamingActivity + | HDInsightSparkActivity + | ExecuteSsisPackageActivity + | CustomActivity + | SqlServerStoredProcedureActivity + | DeleteActivity + | AzureDataExplorerCommandActivity + | LookupActivity + | WebActivity + | GetMetadataActivity + | AzureMLBatchExecutionActivity + | AzureMLUpdateResourceActivity + | AzureMLExecutePipelineActivity + | DataLakeAnalyticsUsqlActivity + | DatabricksNotebookActivity + | DatabricksSparkJarActivity + | DatabricksSparkPythonActivity + | AzureFunctionActivity + | ExecuteDataFlowActivity; +export type MultiplePipelineTriggerUnion = + | MultiplePipelineTrigger + | ScheduleTrigger + | BlobTrigger + | BlobEventsTrigger + | CustomEventsTrigger; +export type TabularSourceUnion = + | TabularSource + | AzureTableSource + | InformixSource + | Db2Source + | OdbcSource + | MySqlSource + | PostgreSqlSource + | SybaseSource + | SapBwSource + | SalesforceSource + | SapCloudForCustomerSource + | SapEccSource + | SapHanaSource + | SapOpenHubSource + | SapTableSource + | SqlSource + | SqlServerSource + | AmazonRdsForSqlServerSource + | AzureSqlSource + | SqlMISource + | SqlDWSource + | AzureMySqlSource + | TeradataSource + | CassandraSource + | AmazonMWSSource + | AzurePostgreSqlSource + | ConcurSource + | CouchbaseSource + | DrillSource + | EloquaSource + | GoogleBigQuerySource + | GreenplumSource + | HBaseSource + | HiveSource + | HubspotSource + | ImpalaSource + | JiraSource + | MagentoSource + | MariaDBSource + | AzureMariaDBSource + | MarketoSource + | PaypalSource + | PhoenixSource + | PrestoSource + | QuickBooksSource + | ServiceNowSource + | ShopifySource + | SparkSource + | SquareSource + | XeroSource + | ZohoSource + | NetezzaSource + | VerticaSource + | SalesforceMarketingCloudSource + | ResponsysSource + | DynamicsAXSource + | OracleServiceCloudSource + | GoogleAdWordsSource + | AmazonRedshiftSource; +export type TriggerDependencyReferenceUnion = + | TriggerDependencyReference + | TumblingWindowTriggerDependencyReference; -/** - * The location of file server dataset. - */ -export interface FileServerLocation { - /** - * Polymorphic Discriminator - */ - type: "FileServerLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; +/** A list of operations that can be performed by the Data Factory service. */ +export interface OperationListResponse { + /** List of Data Factory operations supported by the Data Factory resource provider. */ + value?: Operation[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; } -/** - * The location of amazon S3 dataset. - */ -export interface AmazonS3Location { - /** - * Polymorphic Discriminator - */ - type: "AmazonS3Location"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the bucketName of amazon S3. Type: string (or Expression with resultType string) - */ - bucketName?: any; - /** - * Specify the version of amazon S3. Type: string (or Expression with resultType string). - */ - version?: any; +/** Azure Data Factory API operation definition. */ +export interface Operation { + /** Operation name: {provider}/{resource}/{operation} */ + name?: string; + /** The intended executor of the operation. */ + origin?: string; + /** Metadata associated with the operation. */ + display?: OperationDisplay; + /** Details about a service operation. */ + serviceSpecification?: OperationServiceSpecification; } -/** - * The location of azure data lake store dataset. - */ -export interface AzureDataLakeStoreLocation { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeStoreLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; +/** Metadata associated with the operation. */ +export interface OperationDisplay { + /** The description of the operation. */ + description?: string; + /** The name of the provider. */ + provider?: string; + /** The name of the resource type on which the operation is performed. */ + resource?: string; + /** The type of operation: get, read, delete, etc. */ + operation?: string; } -/** - * The location of azure blobFS dataset. - */ -export interface AzureBlobFSLocation { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobFSLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). - */ - fileSystem?: any; +/** Details about a service operation. */ +export interface OperationServiceSpecification { + /** Details about operations related to logs. */ + logSpecifications?: OperationLogSpecification[]; + /** Details about operations related to metrics. */ + metricSpecifications?: OperationMetricSpecification[]; } -/** - * The location of azure blob dataset. - */ -export interface AzureBlobStorageLocation { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobStorageLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the container of azure blob. Type: string (or Expression with resultType string). - */ - container?: any; +/** Details about an operation related to logs. */ +export interface OperationLogSpecification { + /** The name of the log category. */ + name?: string; + /** Localized display name. */ + displayName?: string; + /** Blobs created in the customer storage account, per hour. */ + blobDuration?: string; } -/** - * Binary dataset. - */ -export interface BinaryDataset { - /** - * Polymorphic Discriminator - */ - type: "Binary"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The location of the Binary storage. - */ - location: DatasetLocationUnion; - /** - * The data compression method used for the binary dataset. - */ - compression?: DatasetCompressionUnion; +/** Details about an operation related to metrics. */ +export interface OperationMetricSpecification { + /** The name of the metric. */ + name?: string; + /** Localized display name of the metric. */ + displayName?: string; + /** The description of the metric. */ + displayDescription?: string; + /** The unit that the metric is measured in. */ + unit?: string; + /** The type of metric aggregation. */ + aggregationType?: string; + /** Whether or not the service is using regional MDM accounts. */ + enableRegionalMdmAccount?: string; + /** The name of the MDM account. */ + sourceMdmAccount?: string; + /** The name of the MDM namespace. */ + sourceMdmNamespace?: string; + /** Defines how often data for metrics becomes available. */ + availabilities?: OperationMetricAvailability[]; + /** Defines the metric dimension. */ + dimensions?: OperationMetricDimension[]; } -/** - * ORC dataset. - */ -export interface OrcDataset { - /** - * Polymorphic Discriminator - */ - type: "Orc"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The location of the ORC data storage. - */ - location: DatasetLocationUnion; - /** - * Possible values include: 'none', 'zlib', 'snappy', 'lzo' - */ - orcCompressionCodec?: OrcCompressionCodec; +/** Defines how often data for a metric becomes available. */ +export interface OperationMetricAvailability { + /** The granularity for the metric. */ + timeGrain?: string; + /** Blob created in the customer storage account, per hour. */ + blobDuration?: string; } -/** - * Xml dataset. - */ -export interface XmlDataset { - /** - * Polymorphic Discriminator - */ - type: "Xml"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; +/** Defines the metric dimension. */ +export interface OperationMetricDimension { + /** The name of the dimension for the metric. */ + name?: string; + /** The display name of the metric dimension. */ + displayName?: string; + /** Whether the dimension should be exported to Azure Monitor. */ + toBeExportedForShoebox?: boolean; +} + +/** The object that defines the structure of an Azure Data Factory error response. */ +export interface CloudError { + /** Error code. */ + code: string; + /** Error message. */ + message: string; + /** Property name/path in request associated with error. */ + target?: string; + /** Array with additional error details. */ + details?: CloudError[]; +} + +/** A list of factory resources. */ +export interface FactoryListResponse { + /** List of factories. */ + value: Factory[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** Azure Data Factory top-level resource. */ +export interface Resource { /** - * The location of the json data storage. + * The resource identifier. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - location: DatasetLocationUnion; + readonly id?: string; /** - * The code page name of the preferred encoding. If not specified, the default value is UTF-8, - * unless BOM denotes another Unicode encoding. Refer to the name column of the table in the - * following link to set supported values: - * https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with - * resultType string). + * The resource name. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - encodingName?: any; + readonly name?: string; /** - * The null value string. Type: string (or Expression with resultType string). + * The resource type. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - nullValue?: any; + readonly type?: string; + /** The resource location. */ + location?: string; + /** The resource tags. */ + tags?: { [propertyName: string]: string }; /** - * The data compression method used for the json dataset. + * Etag identifies change in the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - compression?: DatasetCompressionUnion; + readonly eTag?: string; } -/** - * Json dataset. - */ -export interface JsonDataset { - /** - * Polymorphic Discriminator - */ - type: "Json"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; +/** Identity properties of the factory resource. */ +export interface FactoryIdentity { + /** The identity type. */ + type: FactoryIdentityType; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * The principal id of the identity. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - schema?: any; + readonly principalId?: string; /** - * Linked service reference. + * The client tenant id of the identity. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - linkedServiceName: LinkedServiceReference; + readonly tenantId?: string; + /** List of user assigned identities for the factory. */ + userAssignedIdentities?: { [propertyName: string]: Record }; +} + +/** Factory's git repo information. */ +export interface FactoryRepoConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FactoryVSTSConfiguration" | "FactoryGitHubConfiguration"; + /** Account name. */ + accountName: string; + /** Repository name. */ + repositoryName: string; + /** Collaboration branch. */ + collaborationBranch: string; + /** Root folder. */ + rootFolder: string; + /** Last commit id. */ + lastCommitId?: string; +} + +/** Definition of a single parameter for an entity. */ +export interface GlobalParameterSpecification { + /** Global Parameter type. */ + type: GlobalParameterType; + /** Value of parameter. */ + value: Record; +} + +/** Definition of CMK for the factory. */ +export interface EncryptionConfiguration { + /** The name of the key in Azure Key Vault to use as Customer Managed Key. */ + keyName: string; + /** The url of the Azure Key Vault used for CMK. */ + vaultBaseUrl: string; + /** The version of the key used for CMK. If not provided, latest version will be used. */ + keyVersion?: string; + /** User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used. */ + identity?: CMKIdentityDefinition; +} + +/** Managed Identity used for CMK. */ +export interface CMKIdentityDefinition { + /** The resource id of the user assigned identity to authenticate to customer's key vault. */ + userAssignedIdentity?: string; +} + +/** Factory's git repo information. */ +export interface FactoryRepoUpdate { + /** The factory resource id. */ + factoryResourceId?: string; + /** Git repo information of the factory. */ + repoConfiguration?: FactoryRepoConfigurationUnion; +} + +/** The exposure control request. */ +export interface ExposureControlRequest { + /** The feature name. */ + featureName?: string; + /** The feature type. */ + featureType?: string; +} + +/** The exposure control response. */ +export interface ExposureControlResponse { /** - * Parameters for dataset. + * The feature name. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + readonly featureName?: string; /** - * List of tags that can be used for describing the Dataset. + * The feature value. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - annotations?: any[]; + readonly value?: string; +} + +/** A list of exposure control features. */ +export interface ExposureControlBatchRequest { + /** List of exposure control features. */ + exposureControlRequests: ExposureControlRequest[]; +} + +/** A list of exposure control feature values. */ +export interface ExposureControlBatchResponse { + /** List of exposure control feature values. */ + exposureControlResponses: ExposureControlResponse[]; +} + +/** Parameters for updating a factory resource. */ +export interface FactoryUpdateParameters { + /** The resource tags. */ + tags?: { [propertyName: string]: string }; + /** Managed service identity of the factory. */ + identity?: FactoryIdentity; + /** Whether or not public network access is allowed for the data factory. */ + publicNetworkAccess?: PublicNetworkAccess; +} + +/** Get GitHub access token request definition. */ +export interface GitHubAccessTokenRequest { + /** GitHub access code. */ + gitHubAccessCode: string; + /** GitHub application client ID. */ + gitHubClientId?: string; + /** GitHub bring your own app client secret information. */ + gitHubClientSecret?: GitHubClientSecret; + /** GitHub access token base URL. */ + gitHubAccessTokenBaseUrl: string; +} + +/** Client secret information for factory's bring your own app repository configuration. */ +export interface GitHubClientSecret { + /** Bring your own app client secret AKV URL. */ + byoaSecretAkvUrl?: string; + /** Bring your own app client secret name in AKV. */ + byoaSecretName?: string; +} + +/** Get GitHub access token response definition. */ +export interface GitHubAccessTokenResponse { + /** GitHub access token. */ + gitHubAccessToken?: string; +} + +/** Get Data Plane read only token request definition. */ +export interface UserAccessPolicy { + /** The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access. */ + permissions?: string; + /** The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource. */ + accessResourcePath?: string; + /** The name of the profile. Currently only the default is supported. The default value is DefaultProfile. */ + profileName?: string; + /** Start time for the token. If not specified the current time will be used. */ + startTime?: string; + /** Expiration time for the token. Maximum duration for the token is eight hours and by default the token will expire in eight hours. */ + expireTime?: string; +} + +/** Get Data Plane read only token response definition. */ +export interface AccessPolicyResponse { + /** The user access policy. */ + policy?: UserAccessPolicy; + /** Data Plane read only access token. */ + accessToken?: string; + /** Data Plane service base URL. */ + dataPlaneUrl?: string; +} + +/** A list of integration runtime resources. */ +export interface IntegrationRuntimeListResponse { + /** List of integration runtimes. */ + value: IntegrationRuntimeResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** Azure Data Factory nested resource, which belongs to a factory. */ +export interface SubResource { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The resource identifier. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - folder?: DatasetFolder; + readonly id?: string; /** - * The location of the json data storage. + * The resource name. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - location: DatasetLocationUnion; + readonly name?: string; /** - * The code page name of the preferred encoding. If not specified, the default value is UTF-8, - * unless BOM denotes another Unicode encoding. Refer to the name column of the table in the - * following link to set supported values: - * https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with - * resultType string). + * The resource type. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - encodingName?: any; + readonly type?: string; /** - * The data compression method used for the json dataset. + * Etag identifies change in the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - compression?: DatasetCompressionUnion; + readonly etag?: string; } -/** - * Delimited text dataset. - */ -export interface DelimitedTextDataset { - /** - * Polymorphic Discriminator - */ - type: "DelimitedText"; - /** - * Dataset description. - */ +/** Azure Data Factory nested object which serves as a compute resource for activities. */ +export interface IntegrationRuntime { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Managed" | "SelfHosted"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Integration runtime description. */ description?: string; +} + +/** Update integration runtime request. */ +export interface UpdateIntegrationRuntimeRequest { + /** Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189. */ + autoUpdate?: IntegrationRuntimeAutoUpdate; + /** The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time. */ + updateDelayOffset?: string; +} + +/** Integration runtime status response. */ +export interface IntegrationRuntimeStatusResponse { /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The location of the delimited text storage. - */ - location: DatasetLocationUnion; - /** - * The column delimiter. Type: string (or Expression with resultType string). + * The integration runtime name. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - columnDelimiter?: any; + readonly name?: string; + /** Integration runtime properties. */ + properties: IntegrationRuntimeStatusUnion; +} + +/** Integration runtime status. */ +export interface IntegrationRuntimeStatus { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Managed" | "SelfHosted"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * The row delimiter. Type: string (or Expression with resultType string). + * The data factory name which the integration runtime belong to. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - rowDelimiter?: any; + readonly dataFactoryName?: string; /** - * The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM - * denotes another Unicode encoding. Refer to the name column of the table in the following link - * to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: - * string (or Expression with resultType string). + * The state of integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - encodingName?: any; + readonly state?: IntegrationRuntimeState; +} + +/** Azure-SSIS integration runtime outbound network dependency endpoints. */ +export interface IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse { + /** The list of outbound network dependency endpoints. */ + value?: IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint[]; +} + +/** Azure-SSIS integration runtime outbound network dependency endpoints for one category. */ +export interface IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint { + /** The category of outbound network dependency. */ + category?: string; + /** The endpoints for outbound network dependency. */ + endpoints?: IntegrationRuntimeOutboundNetworkDependenciesEndpoint[]; +} + +/** The endpoint for Azure-SSIS integration runtime outbound network dependency. */ +export interface IntegrationRuntimeOutboundNetworkDependenciesEndpoint { + /** The domain name of endpoint. */ + domainName?: string; + /** The details of endpoint. */ + endpointDetails?: IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails[]; +} + +/** The details of Azure-SSIS integration runtime outbound network dependency endpoint. */ +export interface IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails { + /** The port of endpoint. */ + port?: number; +} + +/** Connection information for encrypting the on-premises data source credentials. */ +export interface IntegrationRuntimeConnectionInfo { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * The data compressionCodec. Type: string (or Expression with resultType string). + * The token generated in service. Callers use this token to authenticate to integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - compressionCodec?: any; + readonly serviceToken?: string; /** - * The data compression method used for DelimitedText. + * The integration runtime SSL certificate thumbprint. Click-Once application uses it to do server validation. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - compressionLevel?: any; + readonly identityCertThumbprint?: string; /** - * The quote character. Type: string (or Expression with resultType string). + * The on-premises integration runtime host URL. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - quoteChar?: any; + readonly hostServiceUri?: string; /** - * The escape character. Type: string (or Expression with resultType string). + * The integration runtime version. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - escapeChar?: any; + readonly version?: string; /** - * When used as input, treat the first row of data as headers. When used as output,write the - * headers into the output as the first row of data. The default value is false. Type: boolean - * (or Expression with resultType boolean). + * The public key for encrypting a credential when transferring the credential to the integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - firstRowAsHeader?: any; + readonly publicKey?: string; /** - * The null value string. Type: string (or Expression with resultType string). + * Whether the identity certificate is expired. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - nullValue?: any; + readonly isIdentityCertExprired?: boolean; } -/** - * Parquet dataset. - */ -export interface ParquetDataset { - /** - * Polymorphic Discriminator - */ - type: "Parquet"; - /** - * Dataset description. - */ - description?: string; +/** Parameters to regenerate the authentication key. */ +export interface IntegrationRuntimeRegenerateKeyParameters { + /** The name of the authentication key to regenerate. */ + keyName?: IntegrationRuntimeAuthKeyName; +} + +/** The integration runtime authentication keys. */ +export interface IntegrationRuntimeAuthKeys { + /** The primary integration runtime authentication key. */ + authKey1?: string; + /** The secondary integration runtime authentication key. */ + authKey2?: string; +} + +/** Get monitoring data response. */ +export interface IntegrationRuntimeMonitoringData { + /** Integration runtime name. */ + name?: string; + /** Integration runtime node monitoring data. */ + nodes?: IntegrationRuntimeNodeMonitoringData[]; +} + +/** Monitoring data for integration runtime node. */ +export interface IntegrationRuntimeNodeMonitoringData { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Name of the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - structure?: any; + readonly nodeName?: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Available memory (MB) on the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - schema?: any; + readonly availableMemoryInMB?: number; /** - * Linked service reference. + * CPU percentage on the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - linkedServiceName: LinkedServiceReference; + readonly cpuUtilization?: number; /** - * Parameters for dataset. + * Maximum concurrent jobs on the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + readonly concurrentJobsLimit?: number; /** - * List of tags that can be used for describing the Dataset. + * The number of jobs currently running on the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - annotations?: any[]; + readonly concurrentJobsRunning?: number; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The maximum concurrent jobs in this integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - folder?: DatasetFolder; + readonly maxConcurrentJobs?: number; /** - * The location of the parquet storage. + * Sent bytes on the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - location: DatasetLocationUnion; + readonly sentBytes?: number; /** - * The data compressionCodec. Type: string (or Expression with resultType string). + * Received bytes on the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - compressionCodec?: any; + readonly receivedBytes?: number; +} + +/** Data factory name for linked integration runtime request. */ +export interface LinkedIntegrationRuntimeRequest { + /** The data factory name for linked integration runtime. */ + linkedFactoryName: string; +} + +/** The linked integration runtime information. */ +export interface CreateLinkedIntegrationRuntimeRequest { + /** The name of the linked integration runtime. */ + name?: string; + /** The ID of the subscription that the linked integration runtime belongs to. */ + subscriptionId?: string; + /** The name of the data factory that the linked integration runtime belongs to. */ + dataFactoryName?: string; + /** The location of the data factory that the linked integration runtime belongs to. */ + dataFactoryLocation?: string; +} + +/** The status of the operation. */ +export interface SsisObjectMetadataStatusResponse { + /** The status of the operation. */ + status?: string; + /** The operation name. */ + name?: string; + /** The operation properties. */ + properties?: string; + /** The operation error message. */ + error?: string; } -/** - * Excel dataset. - */ -export interface ExcelDataset { - /** - * Polymorphic Discriminator - */ - type: "Excel"; - /** - * Dataset description. - */ +/** The request payload of get SSIS object metadata. */ +export interface GetSsisObjectMetadataRequest { + /** Metadata path. */ + metadataPath?: string; +} + +/** A list of SSIS object metadata. */ +export interface SsisObjectMetadataListResponse { + /** List of SSIS object metadata. */ + value?: SsisObjectMetadataUnion[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** SSIS object metadata. */ +export interface SsisObjectMetadata { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Folder" | "Project" | "Package" | "Environment"; + /** Metadata id. */ + id?: number; + /** Metadata name. */ + name?: string; + /** Metadata description. */ description?: string; +} + +/** Properties of Self-hosted integration runtime node. */ +export interface SelfHostedIntegrationRuntimeNode { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Name of the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - structure?: any; + readonly nodeName?: string; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Machine name of the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - schema?: any; + readonly machineName?: string; /** - * Linked service reference. + * URI for the host machine of the integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - linkedServiceName: LinkedServiceReference; + readonly hostServiceUri?: string; /** - * Parameters for dataset. + * Status of the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + readonly status?: SelfHostedIntegrationRuntimeNodeStatus; /** - * List of tags that can be used for describing the Dataset. + * The integration runtime capabilities dictionary + * NOTE: This property will not be serialized. It can only be populated by the server. */ - annotations?: any[]; + readonly capabilities?: { [propertyName: string]: string }; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Status of the integration runtime node version. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - folder?: DatasetFolder; + readonly versionStatus?: string; /** - * The location of the excel storage. + * Version of the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - location: DatasetLocationUnion; + readonly version?: string; /** - * The sheet name of excel file. Type: string (or Expression with resultType string). + * The time at which the integration runtime node was registered in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - sheetName?: any; + readonly registerTime?: Date; /** - * The sheet index of excel file and default value is 0. Type: integer (or Expression with - * resultType integer) + * The most recent time at which the integration runtime was connected in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - sheetIndex?: any; + readonly lastConnectTime?: Date; /** - * The partial data of one sheet. Type: string (or Expression with resultType string). + * The time at which the integration runtime will expire in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - range?: any; + readonly expiryTime?: Date; /** - * When used as input, treat the first row of data as headers. When used as output,write the - * headers into the output as the first row of data. The default value is false. Type: boolean - * (or Expression with resultType boolean). + * The time the node last started up. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - firstRowAsHeader?: any; + readonly lastStartTime?: Date; /** - * The data compression method used for the json dataset. + * The integration runtime node last stop time. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - compression?: DatasetCompressionUnion; + readonly lastStopTime?: Date; /** - * The null value string. Type: string (or Expression with resultType string). + * The result of the last integration runtime node update. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - nullValue?: any; -} - -/** - * Avro dataset. - */ -export interface AvroDataset { + readonly lastUpdateResult?: IntegrationRuntimeUpdateResult; /** - * Polymorphic Discriminator + * The last time for the integration runtime node update start. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "Avro"; + readonly lastStartUpdateTime?: Date; /** - * Dataset description. + * The last time for the integration runtime node update end. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - description?: string; + readonly lastEndUpdateTime?: Date; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Indicates whether this node is the active dispatcher for integration runtime requests. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - structure?: any; + readonly isActiveDispatcher?: boolean; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Maximum concurrent jobs on the integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - schema?: any; + readonly concurrentJobsLimit?: number; /** - * Linked service reference. + * The maximum concurrent jobs in this integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - linkedServiceName: LinkedServiceReference; + readonly maxConcurrentJobs?: number; +} + +/** Update integration runtime node request. */ +export interface UpdateIntegrationRuntimeNodeRequest { + /** The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed. */ + concurrentJobsLimit?: number; +} + +/** The IP address of self-hosted integration runtime node. */ +export interface IntegrationRuntimeNodeIpAddress { /** - * Parameters for dataset. + * The IP address of self-hosted integration runtime node. + * NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly ipAddress?: string; +} + +/** A list of linked service resources. */ +export interface LinkedServiceListResponse { + /** List of linked services. */ + value: LinkedServiceResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. */ +export interface LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "AzureStorage" + | "AzureBlobStorage" + | "AzureTableStorage" + | "AzureSqlDW" + | "SqlServer" + | "AmazonRdsForSqlServer" + | "AzureSqlDatabase" + | "AzureSqlMI" + | "AzureBatch" + | "AzureKeyVault" + | "CosmosDb" + | "Dynamics" + | "DynamicsCrm" + | "CommonDataServiceForApps" + | "HDInsight" + | "FileServer" + | "AzureFileStorage" + | "AmazonS3Compatible" + | "OracleCloudStorage" + | "GoogleCloudStorage" + | "Oracle" + | "AmazonRdsForOracle" + | "AzureMySql" + | "MySql" + | "PostgreSql" + | "Sybase" + | "Db2" + | "Teradata" + | "AzureML" + | "AzureMLService" + | "Odbc" + | "Informix" + | "MicrosoftAccess" + | "Hdfs" + | "OData" + | "Web" + | "Cassandra" + | "MongoDb" + | "MongoDbAtlas" + | "MongoDbV2" + | "CosmosDbMongoDbApi" + | "AzureDataLakeStore" + | "AzureBlobFS" + | "Office365" + | "Salesforce" + | "SalesforceServiceCloud" + | "SapCloudForCustomer" + | "SapEcc" + | "SapOpenHub" + | "RestService" + | "AmazonS3" + | "AmazonRedshift" + | "CustomDataSource" + | "AzureSearch" + | "HttpServer" + | "FtpServer" + | "Sftp" + | "SapBW" + | "SapHana" + | "AmazonMWS" + | "AzurePostgreSql" + | "Concur" + | "Couchbase" + | "Drill" + | "Eloqua" + | "GoogleBigQuery" + | "Greenplum" + | "HBase" + | "Hive" + | "Hubspot" + | "Impala" + | "Jira" + | "Magento" + | "MariaDB" + | "AzureMariaDB" + | "Marketo" + | "Paypal" + | "Phoenix" + | "Presto" + | "QuickBooks" + | "ServiceNow" + | "Shopify" + | "Spark" + | "Square" + | "Xero" + | "Zoho" + | "Vertica" + | "Netezza" + | "SalesforceMarketingCloud" + | "HDInsightOnDemand" + | "AzureDataLakeAnalytics" + | "AzureDatabricks" + | "AzureDatabricksDeltaLake" + | "Responsys" + | "DynamicsAX" + | "OracleServiceCloud" + | "GoogleAdWords" + | "SapTable" + | "AzureDataExplorer" + | "AzureFunction" + | "Snowflake" + | "SharePointOnlineList"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The integration runtime reference. */ + connectVia?: IntegrationRuntimeReference; + /** Linked service description. */ + description?: string; + /** Parameters for linked service. */ parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; - /** - * The location of the avro storage. - */ - location: DatasetLocationUnion; - /** - * Possible values include: 'none', 'deflate', 'snappy', 'xz', 'bzip2' - */ - avroCompressionCodec?: AvroCompressionCodec; - avroCompressionLevel?: number; + /** List of tags that can be used for describing the linked service. */ + annotations?: Record[]; } -/** - * A single Amazon Simple Storage Service (S3) object or a set of S3 objects. - */ -export interface AmazonS3Dataset { - /** - * Polymorphic Discriminator - */ - type: "AmazonS3Object"; - /** - * Dataset description. - */ +/** Integration runtime reference type. */ +export interface IntegrationRuntimeReference { + /** Type of integration runtime. */ + type: "IntegrationRuntimeReference"; + /** Reference integration runtime name. */ + referenceName: string; + /** Arguments for integration runtime. */ + parameters?: { [propertyName: string]: Record }; +} + +/** Definition of a single parameter for an entity. */ +export interface ParameterSpecification { + /** Parameter type. */ + type: ParameterType; + /** Default value of parameter. */ + defaultValue?: Record; +} + +/** A list of dataset resources. */ +export interface DatasetListResponse { + /** List of datasets. */ + value: DatasetResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** The Azure Data Factory nested object which identifies data within different data stores, such as tables, files, folders, and documents. */ +export interface Dataset { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "AmazonS3Object" + | "Avro" + | "Excel" + | "Parquet" + | "DelimitedText" + | "Json" + | "Xml" + | "Orc" + | "Binary" + | "AzureBlob" + | "AzureTable" + | "AzureSqlTable" + | "AzureSqlMITable" + | "AzureSqlDWTable" + | "CassandraTable" + | "CustomDataset" + | "CosmosDbSqlApiCollection" + | "DocumentDbCollection" + | "DynamicsEntity" + | "DynamicsCrmEntity" + | "CommonDataServiceForAppsEntity" + | "AzureDataLakeStoreFile" + | "AzureBlobFSFile" + | "Office365Table" + | "FileShare" + | "MongoDbCollection" + | "MongoDbAtlasCollection" + | "MongoDbV2Collection" + | "CosmosDbMongoDbApiCollection" + | "ODataResource" + | "OracleTable" + | "AmazonRdsForOracleTable" + | "TeradataTable" + | "AzureMySqlTable" + | "AmazonRedshiftTable" + | "Db2Table" + | "RelationalTable" + | "InformixTable" + | "OdbcTable" + | "MySqlTable" + | "PostgreSqlTable" + | "MicrosoftAccessTable" + | "SalesforceObject" + | "SalesforceServiceCloudObject" + | "SybaseTable" + | "SapBwCube" + | "SapCloudForCustomerResource" + | "SapEccResource" + | "SapHanaTable" + | "SapOpenHubTable" + | "SqlServerTable" + | "AmazonRdsForSqlServerTable" + | "RestResource" + | "SapTableResource" + | "WebTable" + | "AzureSearchIndex" + | "HttpFile" + | "AmazonMWSObject" + | "AzurePostgreSqlTable" + | "ConcurObject" + | "CouchbaseTable" + | "DrillTable" + | "EloquaObject" + | "GoogleBigQueryObject" + | "GreenplumTable" + | "HBaseObject" + | "HiveObject" + | "HubspotObject" + | "ImpalaObject" + | "JiraObject" + | "MagentoObject" + | "MariaDBTable" + | "AzureMariaDBTable" + | "MarketoObject" + | "PaypalObject" + | "PhoenixObject" + | "PrestoObject" + | "QuickBooksObject" + | "ServiceNowObject" + | "ShopifyObject" + | "SparkObject" + | "SquareObject" + | "XeroObject" + | "ZohoObject" + | "NetezzaTable" + | "VerticaTable" + | "SalesforceMarketingCloudObject" + | "ResponsysObject" + | "DynamicsAXResource" + | "OracleServiceCloudObject" + | "AzureDataExplorerTable" + | "GoogleAdWordsObject" + | "SnowflakeTable" + | "SharePointOnlineListResource" + | "AzureDatabricksDeltaLakeDataset"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Dataset description. */ description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ + /** Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. */ + structure?: Record; + /** Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. */ + schema?: Record; + /** Linked service reference. */ linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ + /** Parameters for dataset. */ parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ + /** List of tags that can be used for describing the Dataset. */ + annotations?: Record[]; + /** The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ folder?: DatasetFolder; +} + +/** Linked service reference type. */ +export interface LinkedServiceReference { + /** Linked service reference type. */ + type: "LinkedServiceReference"; + /** Reference LinkedService name. */ + referenceName: string; + /** Arguments for LinkedService. */ + parameters?: { [propertyName: string]: Record }; +} + +/** The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ +export interface DatasetFolder { + /** The name of the folder that this Dataset is in. */ + name?: string; +} + +/** A list of pipeline resources. */ +export interface PipelineListResponse { + /** List of pipelines. */ + value: PipelineResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** A pipeline activity. */ +export interface Activity { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "Container" + | "Execution" + | "Copy" + | "HDInsightHive" + | "HDInsightPig" + | "HDInsightMapReduce" + | "HDInsightStreaming" + | "HDInsightSpark" + | "ExecuteSSISPackage" + | "Custom" + | "SqlServerStoredProcedure" + | "ExecutePipeline" + | "Delete" + | "AzureDataExplorerCommand" + | "Lookup" + | "WebActivity" + | "GetMetadata" + | "IfCondition" + | "Switch" + | "ForEach" + | "AzureMLBatchExecution" + | "AzureMLUpdateResource" + | "AzureMLExecutePipeline" + | "DataLakeAnalyticsU-SQL" + | "Wait" + | "Until" + | "Validation" + | "Filter" + | "DatabricksNotebook" + | "DatabricksSparkJar" + | "DatabricksSparkPython" + | "SetVariable" + | "AppendVariable" + | "AzureFunctionActivity" + | "WebHook" + | "ExecuteDataFlow" + | "ExecuteWranglingDataflow"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Activity name. */ + name: string; + /** Activity description. */ + description?: string; + /** Activity depends on condition. */ + dependsOn?: ActivityDependency[]; + /** Activity user properties. */ + userProperties?: UserProperty[]; +} + +/** Activity dependency information. */ +export interface ActivityDependency { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Activity name. */ + activity: string; + /** Match-Condition for the dependency. */ + dependencyConditions: DependencyCondition[]; +} + +/** User property. */ +export interface UserProperty { + /** User property name. */ + name: string; + /** User property value. Type: string (or Expression with resultType string). */ + value: Record; +} + +/** Definition of a single variable for a Pipeline. */ +export interface VariableSpecification { + /** Variable type. */ + type: VariableType; + /** Default value of variable. */ + defaultValue?: Record; +} + +/** The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. */ +export interface PipelineFolder { + /** The name of the folder that this Pipeline is in. */ + name?: string; +} + +/** Pipeline Policy. */ +export interface PipelinePolicy { + /** Pipeline ElapsedTime Metric Policy. */ + elapsedTimeMetric?: PipelineElapsedTimeMetricPolicy; +} + +/** Pipeline ElapsedTime Metric Policy. */ +export interface PipelineElapsedTimeMetricPolicy { + /** TimeSpan value, after which an Azure Monitoring Metric is fired. */ + duration?: Record; +} + +/** Response body with a run identifier. */ +export interface CreateRunResponse { + /** Identifier of a run. */ + runId: string; +} + +/** Query parameters for listing runs. */ +export interface RunFilterParameters { + /** The continuation token for getting the next page of results. Null for first page. */ + continuationToken?: string; + /** The time at or after which the run event was updated in 'ISO 8601' format. */ + lastUpdatedAfter: Date; + /** The time at or before which the run event was updated in 'ISO 8601' format. */ + lastUpdatedBefore: Date; + /** List of filters. */ + filters?: RunQueryFilter[]; + /** List of OrderBy option. */ + orderBy?: RunQueryOrderBy[]; +} + +/** Query filter option for listing runs. */ +export interface RunQueryFilter { + /** Parameter name to be used for filter. The allowed operands to query pipeline runs are PipelineName, RunStart, RunEnd and Status; to query activity runs are ActivityName, ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to query trigger runs are TriggerName, TriggerRunTimestamp and Status. */ + operand: RunQueryFilterOperand; + /** Operator to be used for filter. */ + operator: RunQueryFilterOperator; + /** List of filter values. */ + values: string[]; +} + +/** An object to provide order by options for listing runs. */ +export interface RunQueryOrderBy { + /** Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, TriggerRunTimestamp and Status. */ + orderBy: RunQueryOrderByField; + /** Sorting order of the parameter. */ + order: RunQueryOrder; +} + +/** A list pipeline runs. */ +export interface PipelineRunsQueryResponse { + /** List of pipeline runs. */ + value: PipelineRun[]; + /** The continuation token for getting the next page of results, if any remaining results exist, null otherwise. */ + continuationToken?: string; +} + +/** Information about a pipeline run. */ +export interface PipelineRun { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). - */ - bucketName: any; - /** - * The key of the Amazon S3 object. Type: string (or Expression with resultType string). - */ - key?: any; - /** - * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). + * Identifier of a run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - prefix?: any; + readonly runId?: string; /** - * The version for the S3 object. Type: string (or Expression with resultType string). + * Identifier that correlates all the recovery runs of a pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - version?: any; + readonly runGroupId?: string; /** - * The start of S3 object's modified datetime. Type: string (or Expression with resultType - * string). + * Indicates if the recovered pipeline run is the latest in its group. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - modifiedDatetimeStart?: any; + readonly isLatest?: boolean; /** - * The end of S3 object's modified datetime. Type: string (or Expression with resultType string). + * The pipeline name. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - modifiedDatetimeEnd?: any; + readonly pipelineName?: string; /** - * The format of files. + * The full or partial list of parameter name, value pair used in the pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - format?: DatasetStorageFormatUnion; + readonly parameters?: { [propertyName: string]: string }; /** - * The data compression method used for the Amazon S3 object. + * Run dimensions emitted by Pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - compression?: DatasetCompressionUnion; -} - -/** - * Trigger that allows the referenced pipeline to depend on other pipeline runs based on - * runDimension Name/Value pairs. Upstream pipelines should declare the same runDimension Name and - * their runs should have the values for those runDimensions. The referenced pipeline run would be - * triggered if the values for the runDimension match for all upstream pipeline runs. - */ -export interface ChainingTrigger { + readonly runDimensions?: { [propertyName: string]: string }; /** - * Polymorphic Discriminator + * Entity that started the pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "ChainingTrigger"; + readonly invokedBy?: PipelineRunInvokedBy; /** - * Trigger description. + * The last updated timestamp for the pipeline run event in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - description?: string; + readonly lastUpdated?: Date; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The start time of a pipeline run in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly runtimeState?: TriggerRuntimeState; + readonly runStart?: Date; /** - * List of tags that can be used for describing the trigger. + * The end time of a pipeline run in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - annotations?: any[]; + readonly runEnd?: Date; /** - * Pipeline for which runs are created when all upstream pipelines complete successfully. + * The duration of a pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - pipelineProperty: TriggerPipelineReference; + readonly durationInMs?: number; /** - * Upstream Pipelines. + * The status of a pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - dependsOn: PipelineReference[]; + readonly status?: string; /** - * Run Dimension property that needs to be emitted by upstream pipelines. + * The message from a pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - runDimension: string; + readonly message?: string; } -/** - * Trigger that schedules pipeline reruns for all fixed time interval windows from a requested - * start time to requested end time. - */ -export interface RerunTumblingWindowTrigger { - /** - * Polymorphic Discriminator - */ - type: "RerunTumblingWindowTrigger"; - /** - * Trigger description. - */ - description?: string; - /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runtimeState?: TriggerRuntimeState; +/** Provides entity name and id that started the pipeline run. */ +export interface PipelineRunInvokedBy { /** - * List of tags that can be used for describing the trigger. + * Name of the entity that started the pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - annotations?: any[]; + readonly name?: string; /** - * The parent trigger reference. + * The ID of the entity that started the run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - parentTrigger: any; + readonly id?: string; /** - * The start time for the time period for which restatement is initiated. Only UTC time is - * currently supported. + * The type of the entity that started the run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - requestedStartTime: Date; + readonly invokedByType?: string; /** - * The end time for the time period for which restatement is initiated. Only UTC time is - * currently supported. + * The name of the pipeline that triggered the run, if any. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - requestedEndTime: Date; + readonly pipelineName?: string; /** - * The max number of parallel time windows (ready for execution) for which a rerun is triggered. + * The run id of the pipeline that triggered the run, if any. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - rerunConcurrency: number; + readonly pipelineRunId?: string; } -/** - * Contains the possible cases for DependencyReference. - */ -export type DependencyReferenceUnion = - | DependencyReference - | SelfDependencyTumblingWindowTriggerReference - | TriggerDependencyReferenceUnion; +/** A list activity runs. */ +export interface ActivityRunsQueryResponse { + /** List of activity runs. */ + value: ActivityRun[]; + /** The continuation token for getting the next page of results, if any remaining results exist, null otherwise. */ + continuationToken?: string; +} -/** - * Referenced dependency. - */ -export interface DependencyReference { +/** Information about an activity run in a pipeline. */ +export interface ActivityRun { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * Polymorphic Discriminator + * The name of the pipeline. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "DependencyReference"; -} - -/** - * Self referenced tumbling window trigger dependency. - */ -export interface SelfDependencyTumblingWindowTriggerReference { + readonly pipelineName?: string; /** - * Polymorphic Discriminator + * The id of the pipeline run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "SelfDependencyTumblingWindowTriggerReference"; + readonly pipelineRunId?: string; /** - * Timespan applied to the start time of a tumbling window when evaluating dependency. + * The name of the activity. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - offset: string; + readonly activityName?: string; /** - * The size of the window when evaluating the dependency. If undefined the frequency of the - * tumbling window will be used. + * The type of the activity. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - size?: string; -} - -/** - * Trigger reference type. - */ -export interface TriggerReference { + readonly activityType?: string; /** - * Reference trigger name. + * The id of the activity run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - referenceName: string; -} - -/** - * Contains the possible cases for TriggerDependencyReference. - */ -export type TriggerDependencyReferenceUnion = - | TriggerDependencyReference - | TumblingWindowTriggerDependencyReference; - -/** - * Trigger referenced dependency. - */ -export interface TriggerDependencyReference { + readonly activityRunId?: string; /** - * Polymorphic Discriminator + * The name of the compute linked service. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "TriggerDependencyReference"; + readonly linkedServiceName?: string; /** - * Referenced trigger. + * The status of the activity run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - referenceTrigger: TriggerReference; -} - -/** - * Referenced tumbling window trigger dependency. - */ -export interface TumblingWindowTriggerDependencyReference { + readonly status?: string; /** - * Polymorphic Discriminator + * The start time of the activity run in 'ISO 8601' format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "TumblingWindowTriggerDependencyReference"; + readonly activityRunStart?: Date; /** - * Referenced trigger. + * The end time of the activity run in 'ISO 8601' format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - referenceTrigger: TriggerReference; + readonly activityRunEnd?: Date; /** - * Timespan applied to the start time of a tumbling window when evaluating dependency. + * The duration of the activity run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - offset?: string; + readonly durationInMs?: number; /** - * The size of the window when evaluating the dependency. If undefined the frequency of the - * tumbling window will be used. + * The input for the activity. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - size?: string; -} - -/** - * Execution policy for an activity. - */ -export interface RetryPolicy { + readonly input?: Record; /** - * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType - * integer), minimum: 0. + * The output for the activity. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - count?: any; + readonly output?: Record; /** - * Interval between retries in seconds. Default is 30. + * The error if any from the activity run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - intervalInSeconds?: number; + readonly error?: Record; } -/** - * Trigger that schedules pipeline runs for all fixed time interval windows from a start time - * without gaps and also supports backfill scenarios (when start time is in the past). - */ -export interface TumblingWindowTrigger { - /** - * Polymorphic Discriminator - */ - type: "TumblingWindowTrigger"; - /** - * Trigger description. - */ +/** A list of trigger resources. */ +export interface TriggerListResponse { + /** List of triggers. */ + value: TriggerResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** Azure data factory nested object which contains information about creating pipeline run */ +export interface Trigger { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "MultiplePipelineTrigger" + | "ScheduleTrigger" + | "BlobTrigger" + | "BlobEventsTrigger" + | "CustomEventsTrigger" + | "TumblingWindowTrigger" + | "RerunTumblingWindowTrigger" + | "ChainingTrigger"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Trigger description. */ description?: string; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger. + * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly runtimeState?: TriggerRuntimeState; + /** List of tags that can be used for describing the trigger. */ + annotations?: Record[]; +} + +/** Query parameters for triggers. */ +export interface TriggerFilterParameters { + /** The continuation token for getting the next page of results. Null for first page. */ + continuationToken?: string; + /** The name of the parent TumblingWindowTrigger to get the child rerun triggers */ + parentTriggerName?: string; +} + +/** A query of triggers. */ +export interface TriggerQueryResponse { + /** List of triggers. */ + value: TriggerResource[]; + /** The continuation token for getting the next page of results, if any remaining results exist, null otherwise. */ + continuationToken?: string; +} + +/** Defines the response of a trigger subscription operation. */ +export interface TriggerSubscriptionOperationStatus { /** - * List of tags that can be used for describing the trigger. + * Trigger name. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - annotations?: any[]; + readonly triggerName?: string; /** - * Pipeline for which runs are created when an event is fired for trigger window that is ready. + * Event Subscription Status. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - pipelineProperty: TriggerPipelineReference; + readonly status?: EventSubscriptionStatus; +} + +/** A list of trigger runs. */ +export interface TriggerRunsQueryResponse { + /** List of trigger runs. */ + value: TriggerRun[]; + /** The continuation token for getting the next page of results, if any remaining results exist, null otherwise. */ + continuationToken?: string; +} + +/** Trigger runs. */ +export interface TriggerRun { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * The frequency of the time windows. Possible values include: 'Minute', 'Hour', 'Month' + * Trigger run id. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - frequency: TumblingWindowFrequency; + readonly triggerRunId?: string; /** - * The interval of the time windows. The minimum interval allowed is 15 Minutes. + * Trigger name. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - interval: number; + readonly triggerName?: string; /** - * The start time for the time period for the trigger during which events are fired for windows - * that are ready. Only UTC time is currently supported. + * Trigger type. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - startTime: Date; + readonly triggerType?: string; /** - * The end time for the time period for the trigger during which events are fired for windows - * that are ready. Only UTC time is currently supported. + * Trigger run start time. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - endTime?: Date; + readonly triggerRunTimestamp?: Date; /** - * Specifies how long the trigger waits past due time before triggering new run. It doesn't alter - * window start and end time. The default is 0. Type: string (or Expression with resultType - * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Trigger run status. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - delay?: any; + readonly status?: TriggerRunStatus; /** - * The max number of parallel time windows (ready for execution) for which a new run is - * triggered. + * Trigger error message. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - maxConcurrency: number; + readonly message?: string; /** - * Retry policy that will be applied for failed pipeline runs. + * List of property name and value related to trigger run. Name, value pair depends on type of trigger. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - retryPolicy?: RetryPolicy; + readonly properties?: { [propertyName: string]: string }; /** - * Triggers that this trigger depends on. Only tumbling window triggers are supported. + * List of pipeline name and run Id triggered by the trigger run. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - dependsOn?: DependencyReferenceUnion[]; -} - -/** - * Contains the possible cases for MultiplePipelineTrigger. - */ -export type MultiplePipelineTriggerUnion = - | MultiplePipelineTrigger - | CustomEventsTrigger - | BlobEventsTrigger - | BlobTrigger - | ScheduleTrigger; - -/** - * Base class for all triggers that support one to many model for trigger to pipeline. - */ -export interface MultiplePipelineTrigger { + readonly triggeredPipelines?: { [propertyName: string]: string }; /** - * Polymorphic Discriminator + * Run dimension for which trigger was fired. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "MultiplePipelineTrigger"; + readonly runDimension?: { [propertyName: string]: string }; /** - * Trigger description. + * Status of the upstream pipelines. + * NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly dependencyStatus?: { + [propertyName: string]: Record; + }; +} + +/** Azure Data Factory nested object which contains a flow with data movements and transformations. */ +export interface DataFlow { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MappingDataFlow" | "Flowlet" | "WranglingDataFlow"; + /** The description of the data flow. */ description?: string; - /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runtimeState?: TriggerRuntimeState; - /** - * List of tags that can be used for describing the trigger. - */ - annotations?: any[]; - /** - * Pipelines that need to be started. - */ - pipelines?: TriggerPipelineReference[]; + /** List of tags that can be used for describing the data flow. */ + annotations?: Record[]; + /** The folder that this data flow is in. If not specified, Data flow will appear at the root level. */ + folder?: DataFlowFolder; +} + +/** The folder that this data flow is in. If not specified, Data flow will appear at the root level. */ +export interface DataFlowFolder { + /** The name of the folder that this data flow is in. */ + name?: string; +} + +/** A list of data flow resources. */ +export interface DataFlowListResponse { + /** List of data flows. */ + value: DataFlowResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** Request body structure for creating data flow debug session. */ +export interface CreateDataFlowDebugSessionRequest { + /** Compute type of the cluster. The value will be overwritten by the same setting in integration runtime if provided. */ + computeType?: string; + /** Core count of the cluster. The value will be overwritten by the same setting in integration runtime if provided. */ + coreCount?: number; + /** Time to live setting of the cluster in minutes. */ + timeToLive?: number; + /** Set to use integration runtime setting for data flow debug session. */ + integrationRuntime?: IntegrationRuntimeDebugResource; +} + +/** Azure Data Factory nested debug resource. */ +export interface SubResourceDebugResource { + /** The resource name. */ + name?: string; +} + +/** Response body structure for creating data flow debug session. */ +export interface CreateDataFlowDebugSessionResponse { + /** The state of the debug session. */ + status?: string; + /** The ID of data flow debug session. */ + sessionId?: string; +} + +/** A list of active debug sessions. */ +export interface QueryDataFlowDebugSessionsResponse { + /** Array with all active debug sessions. */ + value?: DataFlowDebugSessionInfo[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** Data flow debug session info. */ +export interface DataFlowDebugSessionInfo { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The name of the data flow. */ + dataFlowName?: string; + /** Compute type of the cluster. */ + computeType?: string; + /** Core count of the cluster. */ + coreCount?: number; + /** Node count of the cluster. (deprecated property) */ + nodeCount?: number; + /** Attached integration runtime name of data flow debug session. */ + integrationRuntimeName?: string; + /** The ID of data flow debug session. */ + sessionId?: string; + /** Start time of data flow debug session. */ + startTime?: string; + /** Compute type of the cluster. */ + timeToLiveInMinutes?: number; + /** Last activity time of data flow debug session. */ + lastActivityTime?: string; +} + +/** Request body structure for starting data flow debug session. */ +export interface DataFlowDebugPackage { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The ID of data flow debug session. */ + sessionId?: string; + /** Data flow instance. */ + dataFlow?: DataFlowDebugResource; + /** List of Data flows */ + dataFlows?: DataFlowDebugResource[]; + /** List of datasets. */ + datasets?: DatasetDebugResource[]; + /** List of linked services. */ + linkedServices?: LinkedServiceDebugResource[]; + /** Staging info for debug session. */ + staging?: DataFlowStagingInfo; + /** Data flow debug settings. */ + debugSettings?: DataFlowDebugPackageDebugSettings; +} + +/** Staging info for execute data flow activity. */ +export interface DataFlowStagingInfo { + /** Staging linked service reference. */ + linkedService?: LinkedServiceReference; + /** Folder path for staging blob. Type: string (or Expression with resultType string) */ + folderPath?: Record; +} + +/** Data flow debug settings. */ +export interface DataFlowDebugPackageDebugSettings { + /** Source setting for data flow debug. */ + sourceSettings?: DataFlowSourceSetting[]; + /** Data flow parameters. */ + parameters?: { [propertyName: string]: Record }; + /** Parameters for dataset. */ + datasetParameters?: Record; +} + +/** Definition of data flow source setting for debug. */ +export interface DataFlowSourceSetting { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The data flow source name. */ + sourceName?: string; + /** Defines the row limit of data flow source in debug. */ + rowLimit?: number; +} + +/** Response body structure for starting data flow debug session. */ +export interface AddDataFlowToDebugSessionResponse { + /** The ID of data flow debug job version. */ + jobVersion?: string; +} + +/** Request body structure for deleting data flow debug session. */ +export interface DeleteDataFlowDebugSessionRequest { + /** The ID of data flow debug session. */ + sessionId?: string; +} + +/** Request body structure for data flow debug command. */ +export interface DataFlowDebugCommandRequest { + /** The ID of data flow debug session. */ + sessionId?: string; + /** The command type. */ + command?: DataFlowDebugCommandType; + /** The command payload object. */ + commandPayload?: DataFlowDebugCommandPayload; +} + +/** Structure of command payload. */ +export interface DataFlowDebugCommandPayload { + /** The stream name which is used for preview. */ + streamName: string; + /** Row limits for preview response. */ + rowLimits?: number; + /** Array of column names. */ + columns?: string[]; + /** The expression which is used for preview. */ + expression?: string; +} + +/** Response body structure of data flow result for data preview, statistics or expression preview. */ +export interface DataFlowDebugCommandResponse { + /** The run status of data preview, statistics or expression preview. */ + status?: string; + /** The result data of data preview, statistics or expression preview. */ + data?: string; } -/** - * Trigger that runs every time a custom event is received. - */ -export interface CustomEventsTrigger { - /** - * Polymorphic Discriminator - */ - type: "CustomEventsTrigger"; - /** - * Trigger description. - */ - description?: string; +/** A list of managed Virtual Network resources. */ +export interface ManagedVirtualNetworkListResponse { + /** List of managed Virtual Networks. */ + value: ManagedVirtualNetworkResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** A managed Virtual Network associated with the Azure Data Factory */ +export interface ManagedVirtualNetwork { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Managed Virtual Network ID. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly runtimeState?: TriggerRuntimeState; + readonly vNetId?: string; /** - * List of tags that can be used for describing the trigger. + * Managed Virtual Network alias. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - annotations?: any[]; + readonly alias?: string; +} + +/** A list of managed private endpoint resources. */ +export interface ManagedPrivateEndpointListResponse { + /** List of managed private endpoints. */ + value: ManagedPrivateEndpointResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** Properties of a managed private endpoint */ +export interface ManagedPrivateEndpoint { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The managed private endpoint connection state */ + connectionState?: ConnectionStateProperties; + /** Fully qualified domain names */ + fqdns?: string[]; + /** The groupId to which the managed private endpoint is created */ + groupId?: string; /** - * Pipelines that need to be started. + * Denotes whether the managed private endpoint is reserved + * NOTE: This property will not be serialized. It can only be populated by the server. */ - pipelines?: TriggerPipelineReference[]; + readonly isReserved?: boolean; + /** The ARM resource ID of the resource to which the managed private endpoint is created */ + privateLinkResourceId?: string; /** - * The event subject must begin with the pattern provided for trigger to fire. At least one of - * these must be provided: subjectBeginsWith, subjectEndsWith. + * The managed private endpoint provisioning state + * NOTE: This property will not be serialized. It can only be populated by the server. */ - subjectBeginsWith?: string; + readonly provisioningState?: string; +} + +/** The connection state of a managed private endpoint */ +export interface ConnectionStateProperties { /** - * The event subject must end with the pattern provided for trigger to fire. At least one of - * these must be provided: subjectBeginsWith, subjectEndsWith. + * The actions required on the managed private endpoint + * NOTE: This property will not be serialized. It can only be populated by the server. */ - subjectEndsWith?: string; + readonly actionsRequired?: string; /** - * The list of event types that cause this trigger to fire. + * The managed private endpoint description + * NOTE: This property will not be serialized. It can only be populated by the server. */ - events: any[]; + readonly description?: string; /** - * The ARM resource ID of the Azure Event Grid Topic. + * The approval status + * NOTE: This property will not be serialized. It can only be populated by the server. */ - scope: string; + readonly status?: string; } -/** - * Trigger that runs every time a Blob event occurs. - */ -export interface BlobEventsTrigger { - /** - * Polymorphic Discriminator - */ - type: "BlobEventsTrigger"; - /** - * Trigger description. - */ +/** A list of linked service resources. */ +export interface PrivateEndpointConnectionListResponse { + /** List of Private Endpoint Connections. */ + value: PrivateEndpointConnectionResource[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** A remote private endpoint connection */ +export interface RemotePrivateEndpointConnection { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly provisioningState?: string; + /** PrivateEndpoint of a remote private endpoint connection */ + privateEndpoint?: ArmIdWrapper; + /** The state of a private link connection */ + privateLinkServiceConnectionState?: PrivateLinkConnectionState; +} + +/** A wrapper for an ARM resource id */ +export interface ArmIdWrapper { + /** NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly id?: string; +} + +/** The state of a private link connection */ +export interface PrivateLinkConnectionState { + /** Status of a private link connection */ + status?: string; + /** Description of a private link connection */ description?: string; + /** ActionsRequired for a private link connection */ + actionsRequired?: string; +} + +/** A request to approve or reject a private endpoint connection */ +export interface PrivateLinkConnectionApprovalRequest { + /** The state of a private link connection */ + privateLinkServiceConnectionState?: PrivateLinkConnectionState; +} + +/** Wrapper for a collection of private link resources */ +export interface PrivateLinkResourcesWrapper { + value: PrivateLinkResource[]; +} + +/** Properties of a private link resource */ +export interface PrivateLinkResourceProperties { /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runtimeState?: TriggerRuntimeState; - /** - * List of tags that can be used for describing the trigger. - */ - annotations?: any[]; - /** - * Pipelines that need to be started. - */ - pipelines?: TriggerPipelineReference[]; - /** - * The blob path must begin with the pattern provided for trigger to fire. For example, - * '/records/blobs/december/' will only fire the trigger for blobs in the december folder under - * the records container. At least one of these must be provided: blobPathBeginsWith, - * blobPathEndsWith. - */ - blobPathBeginsWith?: string; - /** - * The blob path must end with the pattern provided for trigger to fire. For example, - * 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At - * least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. - */ - blobPathEndsWith?: string; - /** - * If set to true, blobs with zero bytes will be ignored. + * GroupId of a private link resource + * NOTE: This property will not be serialized. It can only be populated by the server. */ - ignoreEmptyBlobs?: boolean; + readonly groupId?: string; /** - * The type of events that cause this trigger to fire. + * RequiredMembers of a private link resource + * NOTE: This property will not be serialized. It can only be populated by the server. */ - events: BlobEventTypes[]; + readonly requiredMembers?: string[]; /** - * The ARM resource ID of the Storage Account. + * RequiredZoneNames of a private link resource + * NOTE: This property will not be serialized. It can only be populated by the server. */ - scope: string; + readonly requiredZoneNames?: string[]; } -/** - * Trigger that runs every time the selected Blob container changes. - */ -export interface BlobTrigger { - /** - * Polymorphic Discriminator - */ - type: "BlobTrigger"; - /** - * Trigger description. - */ +/** Azure Data Factory expression definition. */ +export interface Expression { + /** Expression type. */ + type: "Expression"; + /** Expression value. */ + value: string; +} + +/** The base definition of a secret type. */ +export interface SecretBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SecureString" | "AzureKeyVaultSecret"; +} + +/** A list of integration runtime status. */ +export interface IntegrationRuntimeStatusListResponse { + /** List of integration runtime status. */ + value: IntegrationRuntimeStatusResponse[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + +/** Pipeline reference type. */ +export interface PipelineReference { + /** Pipeline reference type. */ + type: "PipelineReference"; + /** Reference pipeline name. */ + referenceName: string; + /** Reference name. */ + name?: string; +} + +/** Pipeline that needs to be triggered with the given parameters. */ +export interface TriggerPipelineReference { + /** Pipeline reference. */ + pipelineReference?: PipelineReference; + /** Pipeline parameters. */ + parameters?: { [propertyName: string]: Record }; +} + +/** Dataset reference type. */ +export interface DatasetReference { + /** Dataset reference type. */ + type: "DatasetReference"; + /** Reference dataset name. */ + referenceName: string; + /** Arguments for dataset. */ + parameters?: { [propertyName: string]: Record }; +} + +/** Response body structure for get data factory operation status. */ +export interface GetDataFactoryOperationStatusResponse { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Status of the operation. */ + status?: string; +} + +/** Data flow reference type. */ +export interface DataFlowReference { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Data flow reference type. */ + type: "DataFlowReference"; + /** Reference data flow name. */ + referenceName: string; + /** Reference data flow parameters from dataset. */ + datasetParameters?: Record; +} + +/** Managed Virtual Network reference type. */ +export interface ManagedVirtualNetworkReference { + /** Managed Virtual Network reference type. */ + type: "ManagedVirtualNetworkReference"; + /** Reference ManagedVirtualNetwork name. */ + referenceName: string; +} + +/** Credential reference type. */ +export interface CredentialReference { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Credential reference type. */ + type: "CredentialReference"; + /** Reference credential name. */ + referenceName: string; +} + +/** The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. */ +export interface Credential { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServicePrincipal" | "ManagedIdentity"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Credential description. */ + description?: string; + /** List of tags that can be used for describing the Credential. */ + annotations?: Record[]; +} + +/** A data flow transformation. */ +export interface Transformation { + /** Transformation name. */ + name: string; + /** Transformation description. */ description?: string; + /** Flowlet Reference */ + flowlet?: DataFlowReference; +} + +/** Dataset location. */ +export interface DatasetLocation { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "AzureBlobStorageLocation" + | "AzureBlobFSLocation" + | "AzureDataLakeStoreLocation" + | "AmazonS3Location" + | "FileServerLocation" + | "AzureFileStorageLocation" + | "AmazonS3CompatibleLocation" + | "OracleCloudStorageLocation" + | "GoogleCloudStorageLocation" + | "FtpServerLocation" + | "SftpLocation" + | "HttpServerLocation" + | "HdfsLocation"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Specify the folder path of dataset. Type: string (or Expression with resultType string) */ + folderPath?: Record; + /** Specify the file name of dataset. Type: string (or Expression with resultType string). */ + fileName?: Record; +} + +/** Columns that define the structure of the dataset. */ +export interface DatasetDataElement { + /** Name of the column. Type: string (or Expression with resultType string). */ + name?: Record; + /** Type of the column. Type: string (or Expression with resultType string). */ + type?: Record; +} + +/** Columns that define the physical type schema of the dataset. */ +export interface DatasetSchemaDataElement { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Name of the schema column. Type: string (or Expression with resultType string). */ + name?: Record; + /** Type of the schema column. Type: string (or Expression with resultType string). */ + type?: Record; +} + +/** The format definition of a storage. */ +export interface DatasetStorageFormat { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "TextFormat" + | "JsonFormat" + | "AvroFormat" + | "OrcFormat" + | "ParquetFormat"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Serializer. Type: string (or Expression with resultType string). */ + serializer?: Record; + /** Deserializer. Type: string (or Expression with resultType string). */ + deserializer?: Record; +} + +/** The compression method used on a dataset. */ +export interface DatasetCompression { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Type of dataset compression. Type: string (or Expression with resultType string). */ + type: Record; + /** The dataset compression level. Type: string (or Expression with resultType string). */ + level?: Record; +} + +/** The compute resource properties for managed integration runtime. */ +export interface IntegrationRuntimeComputeProperties { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities */ + location?: string; + /** The node size requirement to managed integration runtime. */ + nodeSize?: string; + /** The required number of nodes for managed integration runtime. */ + numberOfNodes?: number; + /** Maximum parallel executions count per node for managed integration runtime. */ + maxParallelExecutionsPerNode?: number; + /** Data flow properties for managed integration runtime. */ + dataFlowProperties?: IntegrationRuntimeDataFlowProperties; + /** VNet properties for managed integration runtime. */ + vNetProperties?: IntegrationRuntimeVNetProperties; +} + +/** Data flow properties for managed integration runtime. */ +export interface IntegrationRuntimeDataFlowProperties { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Compute type of the cluster which will execute data flow job. */ + computeType?: DataFlowComputeType; + /** Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. */ + coreCount?: number; + /** Time to live (in minutes) setting of the cluster which will execute data flow job. */ + timeToLive?: number; + /** Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true. */ + cleanup?: boolean; +} + +/** VNet properties for managed integration runtime. */ +export interface IntegrationRuntimeVNetProperties { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The ID of the VNet that this integration runtime will join. */ + vNetId?: string; + /** The name of the subnet this integration runtime will join. */ + subnet?: string; + /** Resource IDs of the public IP addresses that this integration runtime will use. */ + publicIPs?: string[]; + /** The ID of subnet, to which this Azure-SSIS integration runtime will be joined. */ + subnetId?: string; +} + +/** SSIS properties for managed integration runtime. */ +export interface IntegrationRuntimeSsisProperties { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Catalog information for managed dedicated integration runtime. */ + catalogInfo?: IntegrationRuntimeSsisCatalogInfo; + /** License type for bringing your own license scenario. */ + licenseType?: IntegrationRuntimeLicenseType; + /** Custom setup script properties for a managed dedicated integration runtime. */ + customSetupScriptProperties?: IntegrationRuntimeCustomSetupScriptProperties; + /** Data proxy properties for a managed dedicated integration runtime. */ + dataProxyProperties?: IntegrationRuntimeDataProxyProperties; + /** The edition for the SSIS Integration Runtime */ + edition?: IntegrationRuntimeEdition; + /** Custom setup without script properties for a SSIS integration runtime. */ + expressCustomSetupProperties?: CustomSetupBaseUnion[]; + /** Package stores for the SSIS Integration Runtime. */ + packageStores?: PackageStore[]; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +} + +/** Catalog information for managed dedicated integration runtime. */ +export interface IntegrationRuntimeSsisCatalogInfo { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The catalog database server URL. */ + catalogServerEndpoint?: string; + /** The administrator user name of catalog database. */ + catalogAdminUserName?: string; + /** The password of the administrator user account of the catalog database. */ + catalogAdminPassword?: SecureString; + /** The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/ */ + catalogPricingTier?: IntegrationRuntimeSsisCatalogPricingTier; + /** The dual standby pair name of Azure-SSIS Integration Runtimes to support SSISDB failover. */ + dualStandbyPairName?: string; +} + +/** Custom setup script properties for a managed dedicated integration runtime. */ +export interface IntegrationRuntimeCustomSetupScriptProperties { + /** The URI of the Azure blob container that contains the custom setup script. */ + blobContainerUri?: string; + /** The SAS token of the Azure blob container. */ + sasToken?: SecureString; +} + +/** Data proxy properties for a managed dedicated integration runtime. */ +export interface IntegrationRuntimeDataProxyProperties { + /** The self-hosted integration runtime reference. */ + connectVia?: EntityReference; + /** The staging linked service reference. */ + stagingLinkedService?: EntityReference; + /** The path to contain the staged data in the Blob storage. */ + path?: string; +} + +/** The entity reference. */ +export interface EntityReference { + /** The type of this referenced entity. */ + type?: IntegrationRuntimeEntityReferenceType; + /** The name of this referenced entity. */ + referenceName?: string; +} + +/** The base definition of the custom setup. */ +export interface CustomSetupBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "CmdkeySetup" + | "EnvironmentVariableSetup" + | "ComponentSetup" + | "AzPowerShellSetup"; +} + +/** Package store for the SSIS integration runtime. */ +export interface PackageStore { + /** The name of the package store */ + name: string; + /** The package store linked service reference. */ + packageStoreLinkedService: EntityReference; +} + +/** The definition and properties of virtual network to which Azure-SSIS integration runtime will join. */ +export interface IntegrationRuntimeCustomerVirtualNetwork { + /** The ID of subnet to which Azure-SSIS integration runtime will join. */ + subnetId?: string; +} + +/** The base definition of a linked integration runtime. */ +export interface LinkedIntegrationRuntimeType { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authorizationType: "Key" | "RBAC"; +} + +/** Properties of integration runtime node. */ +export interface ManagedIntegrationRuntimeNode { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The managed integration runtime node id. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly runtimeState?: TriggerRuntimeState; + readonly nodeId?: string; /** - * List of tags that can be used for describing the trigger. + * The managed integration runtime node status. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - annotations?: any[]; + readonly status?: ManagedIntegrationRuntimeNodeStatus; + /** The errors that occurred on this integration runtime node. */ + errors?: ManagedIntegrationRuntimeError[]; +} + +/** Error definition for managed integration runtime. */ +export interface ManagedIntegrationRuntimeError { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; /** - * Pipelines that need to be started. + * The time when the error occurred. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - pipelines?: TriggerPipelineReference[]; + readonly time?: Date; /** - * The path of the container/folder that will trigger the pipeline. + * Error code. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - folderPath: string; + readonly code?: string; /** - * The max number of parallel files to handle when it is triggered. + * Managed integration runtime error parameters. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - maxConcurrency: number; + readonly parameters?: string[]; /** - * The Azure Storage linked service reference. + * Error message. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - linkedService: LinkedServiceReference; + readonly message?: string; } -/** - * The recurrence schedule occurrence. - */ -export interface RecurrenceScheduleOccurrence { - /** - * The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', - * 'Thursday', 'Friday', 'Saturday' - */ - day?: DayOfWeek; - /** - * The occurrence. - */ - occurrence?: number; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ +/** Properties of managed integration runtime operation result. */ +export interface ManagedIntegrationRuntimeOperationResult { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; -} - -/** - * The recurrence schedule. - */ -export interface RecurrenceSchedule { /** - * The minutes. + * The operation type. Could be start or stop. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - minutes?: number[]; + readonly type?: string; /** - * The hours. + * The start time of the operation. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - hours?: number[]; + readonly startTime?: Date; /** - * The days of the week. + * The operation result. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - weekDays?: DaysOfWeek[]; + readonly result?: string; /** - * The month days. + * The error code. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - monthDays?: number[]; + readonly errorCode?: string; /** - * The monthly occurrences. + * Managed integration runtime error parameters. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - monthlyOccurrences?: RecurrenceScheduleOccurrence[]; + readonly parameters?: string[]; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The activity id for the operation request. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - [property: string]: any; + readonly activityId?: string; } -/** - * The workflow trigger recurrence. - */ -export interface ScheduleTriggerRecurrence { - /** - * The frequency. Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', - * 'Month', 'Year' - */ - frequency?: RecurrenceFrequency; - /** - * The interval. - */ - interval?: number; +/** The linked integration runtime information. */ +export interface LinkedIntegrationRuntime { /** - * The start time. + * The name of the linked integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - startTime?: Date; + readonly name?: string; /** - * The end time. + * The subscription ID for which the linked integration runtime belong to. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - endTime?: Date; + readonly subscriptionId?: string; /** - * The time zone. + * The name of the data factory for which the linked integration runtime belong to. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - timeZone?: string; + readonly dataFactoryName?: string; /** - * The recurrence schedule. + * The location of the data factory for which the linked integration runtime belong to. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - schedule?: RecurrenceSchedule; + readonly dataFactoryLocation?: string; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The creating time of the linked integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly createTime?: Date; +} + +/** Ssis environment reference. */ +export interface SsisEnvironmentReference { + /** Environment reference id. */ + id?: number; + /** Environment folder name. */ + environmentFolderName?: string; + /** Environment name. */ + environmentName?: string; + /** Reference type */ + referenceType?: string; +} + +/** Ssis parameter. */ +export interface SsisParameter { + /** Parameter id. */ + id?: number; + /** Parameter name. */ + name?: string; + /** Parameter description. */ + description?: string; + /** Parameter type. */ + dataType?: string; + /** Whether parameter is required. */ + required?: boolean; + /** Whether parameter is sensitive. */ + sensitive?: boolean; + /** Design default value of parameter. */ + designDefaultValue?: string; + /** Default value of parameter. */ + defaultValue?: string; + /** Default sensitive value of parameter. */ + sensitiveDefaultValue?: string; + /** Parameter value type. */ + valueType?: string; + /** Parameter value set. */ + valueSet?: boolean; + /** Parameter reference variable. */ + variable?: string; +} + +/** Ssis variable. */ +export interface SsisVariable { + /** Variable id. */ + id?: number; + /** Variable name. */ + name?: string; + /** Variable description. */ + description?: string; + /** Variable type. */ + dataType?: string; + /** Whether variable is sensitive. */ + sensitive?: boolean; + /** Variable value. */ + value?: string; + /** Variable sensitive value. */ + sensitiveValue?: string; +} + +/** Sql always encrypted properties. */ +export interface SqlAlwaysEncryptedProperties { + /** Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string). */ + alwaysEncryptedAkvAuthType: SqlAlwaysEncryptedAkvAuthType; + /** The client ID of the application in Azure Active Directory used for Azure Key Vault authentication. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate against Azure Key Vault. */ + servicePrincipalKey?: SecretBaseUnion; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +} + +/** Base definition of WebLinkedServiceTypeProperties, this typeProperties is polymorphic based on authenticationType, so not flattened in SDK models. */ +export interface WebLinkedServiceTypeProperties { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authenticationType: "Anonymous" | "Basic" | "ClientCertificate"; + /** The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or Expression with resultType string). */ + url: Record; +} + +/** Custom script action to run on HDI ondemand cluster once it's up. */ +export interface ScriptAction { + /** The user provided name of the script action. */ + name: string; + /** The URI for the script action. */ + uri: string; + /** The node types on which the script action should be executed. */ + roles: Record; + /** The parameters for the script action. */ + parameters?: string; +} + +/** Execution policy for an activity. */ +export interface ActivityPolicy { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + timeout?: Record; + /** Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. */ + retry?: Record; + /** Interval between each retry attempt (in seconds). The default is 30 sec. */ + retryIntervalInSeconds?: number; + /** When set to true, Input from activity is considered as secure and will not be logged to monitoring. */ + secureInput?: boolean; + /** When set to true, Output from activity is considered as secure and will not be logged to monitoring. */ + secureOutput?: boolean; +} + +/** Connector read setting. */ +export interface StoreReadSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "AzureBlobStorageReadSettings" + | "AzureBlobFSReadSettings" + | "AzureDataLakeStoreReadSettings" + | "AmazonS3ReadSettings" + | "FileServerReadSettings" + | "AzureFileStorageReadSettings" + | "AmazonS3CompatibleReadSettings" + | "OracleCloudStorageReadSettings" + | "GoogleCloudStorageReadSettings" + | "FtpReadSettings" + | "SftpReadSettings" + | "HttpReadSettings" + | "HdfsReadSettings"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ + maxConcurrentConnections?: Record; + /** If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ + disableMetricsCollection?: Record; +} + +/** Connector write settings. */ +export interface StoreWriteSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "SftpWriteSettings" + | "AzureBlobStorageWriteSettings" + | "AzureBlobFSWriteSettings" + | "AzureDataLakeStoreWriteSettings" + | "FileServerWriteSettings" + | "AzureFileStorageWriteSettings"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ + maxConcurrentConnections?: Record; + /** If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ + disableMetricsCollection?: Record; + /** The type of copy behavior for copy sink. */ + copyBehavior?: Record; +} + +/** Distcp settings. */ +export interface DistcpSettings { + /** Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType string). */ + resourceManagerEndpoint: Record; + /** Specifies an existing folder path which will be used to store temp Distcp command script. The script file is generated by ADF and will be removed after Copy job finished. Type: string (or Expression with resultType string). */ + tempScriptPath: Record; + /** Specifies the Distcp options. Type: string (or Expression with resultType string). */ + distcpOptions?: Record; +} + +/** Format read settings. */ +export interface FormatReadSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "DelimitedTextReadSettings" + | "JsonReadSettings" + | "XmlReadSettings" + | "BinaryReadSettings"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; +} + +/** Compression read settings. */ +export interface CompressionReadSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ZipDeflateReadSettings" | "TarReadSettings" | "TarGZipReadSettings"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; +} + +/** Format write settings. */ +export interface FormatWriteSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "AvroWriteSettings" + | "OrcWriteSettings" + | "ParquetWriteSettings" + | "DelimitedTextWriteSettings" + | "JsonWriteSettings"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; +} + +/** A copy activity source. */ +export interface CopySource { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "AvroSource" + | "ExcelSource" + | "ParquetSource" + | "DelimitedTextSource" + | "JsonSource" + | "XmlSource" + | "OrcSource" + | "BinarySource" + | "TabularSource" + | "AzureTableSource" + | "BlobSource" + | "DocumentDbCollectionSource" + | "CosmosDbSqlApiSource" + | "DynamicsSource" + | "DynamicsCrmSource" + | "CommonDataServiceForAppsSource" + | "RelationalSource" + | "InformixSource" + | "MicrosoftAccessSource" + | "Db2Source" + | "OdbcSource" + | "MySqlSource" + | "PostgreSqlSource" + | "SybaseSource" + | "SapBwSource" + | "ODataSource" + | "SalesforceSource" + | "SalesforceServiceCloudSource" + | "SapCloudForCustomerSource" + | "SapEccSource" + | "SapHanaSource" + | "SapOpenHubSource" + | "SapTableSource" + | "RestSource" + | "SqlSource" + | "SqlServerSource" + | "AmazonRdsForSqlServerSource" + | "AzureSqlSource" + | "SqlMISource" + | "SqlDWSource" + | "FileSystemSource" + | "HdfsSource" + | "AzureMySqlSource" + | "AzureDataExplorerSource" + | "OracleSource" + | "AmazonRdsForOracleSource" + | "TeradataSource" + | "WebSource" + | "CassandraSource" + | "MongoDbSource" + | "MongoDbAtlasSource" + | "MongoDbV2Source" + | "CosmosDbMongoDbApiSource" + | "Office365Source" + | "AzureDataLakeStoreSource" + | "AzureBlobFSSource" + | "HttpSource" + | "AmazonMWSSource" + | "AzurePostgreSqlSource" + | "ConcurSource" + | "CouchbaseSource" + | "DrillSource" + | "EloquaSource" + | "GoogleBigQuerySource" + | "GreenplumSource" + | "HBaseSource" + | "HiveSource" + | "HubspotSource" + | "ImpalaSource" + | "JiraSource" + | "MagentoSource" + | "MariaDBSource" + | "AzureMariaDBSource" + | "MarketoSource" + | "PaypalSource" + | "PhoenixSource" + | "PrestoSource" + | "QuickBooksSource" + | "ServiceNowSource" + | "ShopifySource" + | "SparkSource" + | "SquareSource" + | "XeroSource" + | "ZohoSource" + | "NetezzaSource" + | "VerticaSource" + | "SalesforceMarketingCloudSource" + | "ResponsysSource" + | "DynamicsAXSource" + | "OracleServiceCloudSource" + | "GoogleAdWordsSource" + | "AmazonRedshiftSource" + | "SnowflakeSource" + | "AzureDatabricksDeltaLakeSource" + | "SharePointOnlineListSource"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Source retry count. Type: integer (or Expression with resultType integer). */ + sourceRetryCount?: Record; + /** Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + sourceRetryWait?: Record; + /** The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). */ + maxConcurrentConnections?: Record; + /** If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ + disableMetricsCollection?: Record; +} + +/** A copy activity sink. */ +export interface CopySink { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "DelimitedTextSink" + | "JsonSink" + | "OrcSink" + | "RestSink" + | "AzurePostgreSqlSink" + | "AzureMySqlSink" + | "AzureDatabricksDeltaLakeSink" + | "SapCloudForCustomerSink" + | "AzureQueueSink" + | "AzureTableSink" + | "AvroSink" + | "ParquetSink" + | "BinarySink" + | "BlobSink" + | "FileSystemSink" + | "DocumentDbCollectionSink" + | "CosmosDbSqlApiSink" + | "SqlSink" + | "SqlServerSink" + | "AzureSqlSink" + | "SqlMISink" + | "SqlDWSink" + | "SnowflakeSink" + | "OracleSink" + | "AzureDataLakeStoreSink" + | "AzureBlobFSSink" + | "AzureSearchIndexSink" + | "OdbcSink" + | "InformixSink" + | "MicrosoftAccessSink" + | "DynamicsSink" + | "DynamicsCrmSink" + | "CommonDataServiceForAppsSink" + | "AzureDataExplorerSink" + | "SalesforceSink" + | "SalesforceServiceCloudSink" + | "MongoDbAtlasSink" + | "MongoDbV2Sink" + | "CosmosDbMongoDbApiSink"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. */ + writeBatchSize?: Record; + /** Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + writeBatchTimeout?: Record; + /** Sink retry count. Type: integer (or Expression with resultType integer). */ + sinkRetryCount?: Record; + /** Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + sinkRetryWait?: Record; + /** The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). */ + maxConcurrentConnections?: Record; + /** If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). */ + disableMetricsCollection?: Record; +} + +/** Staging settings. */ +export interface StagingSettings { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Staging linked service reference. */ + linkedServiceName: LinkedServiceReference; + /** The path to storage for storing the interim data. Type: string (or Expression with resultType string). */ + path?: Record; + /** Specifies whether to use compression when copying data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). */ + enableCompression?: Record; +} + +/** Redirect incompatible row settings */ +export interface RedirectIncompatibleRowSettings { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is specified. Type: string (or Expression with resultType string). */ + linkedServiceName: Record; + /** The path for storing the redirect incompatible row data. Type: string (or Expression with resultType string). */ + path?: Record; +} + +/** (Deprecated. Please use LogSettings) Log storage settings. */ +export interface LogStorageSettings { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Log storage linked service reference. */ + linkedServiceName: LinkedServiceReference; + /** The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). */ + path?: Record; + /** Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). */ + logLevel?: Record; + /** Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). */ + enableReliableLogging?: Record; +} + +/** Log settings. */ +export interface LogSettings { + /** Specifies whether to enable copy activity log. Type: boolean (or Expression with resultType boolean). */ + enableCopyActivityLog?: Record; + /** Specifies settings for copy activity log. */ + copyActivityLogSettings?: CopyActivityLogSettings; + /** Log location settings customer needs to provide when enabling log. */ + logLocationSettings: LogLocationSettings; +} + +/** Settings for copy activity log. */ +export interface CopyActivityLogSettings { + /** Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). */ + logLevel?: Record; + /** Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). */ + enableReliableLogging?: Record; +} + +/** Log location settings. */ +export interface LogLocationSettings { + /** Log storage linked service reference. */ + linkedServiceName: LinkedServiceReference; + /** The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). */ + path?: Record; +} + +/** Skip error file. */ +export interface SkipErrorFile { + /** Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean). */ + fileMissing?: Record; + /** Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean). */ + dataInconsistency?: Record; +} + +/** The settings that will be leveraged for SAP HANA source partitioning. */ +export interface SapHanaPartitionSettings { + /** The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionColumnName?: Record; +} + +/** The settings that will be leveraged for SAP table source partitioning. */ +export interface SapTablePartitionSettings { + /** The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionColumnName?: Record; + /** The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionUpperBound?: Record; + /** The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionLowerBound?: Record; + /** The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string). */ + maxPartitionsNumber?: Record; +} + +/** SQL stored procedure parameter. */ +export interface StoredProcedureParameter { + /** Stored procedure parameter value. Type: string (or Expression with resultType string). */ + value?: Record; + /** Stored procedure parameter type. */ + type?: StoredProcedureParameterType; +} + +/** The settings that will be leveraged for Sql source partitioning. */ +export interface SqlPartitionSettings { + /** The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string). */ + partitionColumnName?: Record; + /** The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). */ + partitionUpperBound?: Record; + /** The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string). */ + partitionLowerBound?: Record; +} + +/** The settings that will be leveraged for Oracle source partitioning. */ +export interface OraclePartitionSettings { + /** Names of the physical partitions of Oracle table. */ + partitionNames?: Record; + /** The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionColumnName?: Record; + /** The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionUpperBound?: Record; + /** The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionLowerBound?: Record; +} + +/** The settings that will be leveraged for AmazonRdsForOracle source partitioning. */ +export interface AmazonRdsForOraclePartitionSettings { + /** Names of the physical partitions of AmazonRdsForOracle table. */ + partitionNames?: Record; + /** The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionColumnName?: Record; + /** The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionUpperBound?: Record; + /** The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionLowerBound?: Record; +} + +/** The settings that will be leveraged for teradata source partitioning. */ +export interface TeradataPartitionSettings { + /** The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string). */ + partitionColumnName?: Record; + /** The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionUpperBound?: Record; + /** The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionLowerBound?: Record; +} + +/** Cursor methods for Mongodb query */ +export interface MongoDbCursorMethodsProperties { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string). */ + project?: Record; + /** Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ + sort?: Record; + /** Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer). */ + skip?: Record; + /** Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer). */ + limit?: Record; +} + +/** The settings that will be leveraged for Netezza source partitioning. */ +export interface NetezzaPartitionSettings { + /** The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionColumnName?: Record; + /** The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionUpperBound?: Record; + /** The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ + partitionLowerBound?: Record; +} + +/** The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. */ +export interface RedshiftUnloadSettings { + /** The name of the Amazon S3 linked service which will be used for the unload operation when copying from the Amazon Redshift source. */ + s3LinkedServiceName: LinkedServiceReference; + /** The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: string (or Expression with resultType string). */ + bucketName: Record; +} + +/** Export command settings. */ +export interface ExportSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SnowflakeExportCopyCommand" | "AzureDatabricksDeltaLakeExportCommand"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; +} + +/** Import command settings. */ +export interface ImportSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricksDeltaLakeImportCommand" | "SnowflakeImportCopyCommand"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; +} + +/** Specify the name and value of custom metadata item. */ +export interface MetadataItem { + /** Metadata item key name. Type: string (or Expression with resultType string). */ + name?: Record; + /** Metadata item value. Type: string (or Expression with resultType string). */ + value?: Record; +} + +/** Sql upsert option settings */ +export interface SqlUpsertSettings { + /** Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean). */ + useTempDB?: Record; + /** Schema name for interim table. Type: string (or Expression with resultType string). */ + interimSchemaName?: Record; + /** Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings). */ + keys?: Record; +} + +/** PolyBase settings. */ +export interface PolybaseSettings { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Reject type. */ + rejectType?: PolybaseSettingsRejectType; + /** Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0. */ + rejectValue?: Record; + /** Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0. */ + rejectSampleValue?: Record; + /** Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean). */ + useTypeDefault?: Record; +} + +/** DW Copy Command settings. */ +export interface DWCopyCommandSettings { + /** Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). */ + defaultValues?: DWCopyCommandDefaultValue[]; + /** Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" } */ + additionalOptions?: { [propertyName: string]: string }; +} + +/** Default value. */ +export interface DWCopyCommandDefaultValue { + /** Column name. Type: object (or Expression with resultType string). */ + columnName?: Record; + /** The default value of the column. Type: object (or Expression with resultType string). */ + defaultValue?: Record; +} + +/** Sql DW upsert option settings */ +export interface SqlDWUpsertSettings { + /** Schema name for interim table. Type: string (or Expression with resultType string). */ + interimSchemaName?: Record; + /** Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings). */ + keys?: Record; +} + +/** Specify the column name and value of additional columns. */ +export interface AdditionalColumns { + /** Additional column name. Type: string (or Expression with resultType string). */ + name?: Record; + /** Additional column value. Type: string (or Expression with resultType string). */ + value?: Record; +} + +/** A copy activity translator. */ +export interface CopyTranslator { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TabularTranslator"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; } -/** - * Trigger that creates pipeline runs periodically, on schedule. - */ -export interface ScheduleTrigger { - /** - * Polymorphic Discriminator - */ - type: "ScheduleTrigger"; - /** - * Trigger description. - */ - description?: string; - /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runtimeState?: TriggerRuntimeState; - /** - * List of tags that can be used for describing the trigger. - */ - annotations?: any[]; - /** - * Pipelines that need to be started. - */ - pipelines?: TriggerPipelineReference[]; - /** - * Recurrence schedule configuration. - */ - recurrence: ScheduleTriggerRecurrence; +/** Type conversion settings */ +export interface TypeConversionSettings { + /** Whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean). */ + allowDataTruncation?: Record; + /** Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean). */ + treatBooleanAsNumber?: Record; + /** The format for DateTime values. Type: string (or Expression with resultType string). */ + dateTimeFormat?: Record; + /** The format for DateTimeOffset values. Type: string (or Expression with resultType string). */ + dateTimeOffsetFormat?: Record; + /** The format for TimeSpan values. Type: string (or Expression with resultType string). */ + timeSpanFormat?: Record; + /** The culture used to convert data from/to string. Type: string (or Expression with resultType string). */ + culture?: Record; +} + +/** SSIS package location. */ +export interface SsisPackageLocation { + /** The SSIS package path. Type: string (or Expression with resultType string). */ + packagePath?: Record; + /** The type of SSIS package location. */ + type?: SsisPackageLocationType; + /** Password of the package. */ + packagePassword?: SecretBaseUnion; + /** The package access credential. */ + accessCredential?: SsisAccessCredential; + /** The configuration file of the package execution. Type: string (or Expression with resultType string). */ + configurationPath?: Record; + /** The configuration file access credential. */ + configurationAccessCredential?: SsisAccessCredential; + /** The package name. */ + packageName?: string; + /** The embedded package content. Type: string (or Expression with resultType string). */ + packageContent?: Record; + /** The embedded package last modified date. */ + packageLastModifiedDate?: string; + /** The embedded child package list. */ + childPackages?: SsisChildPackage[]; } -/** - * Execution policy for an activity. - */ -export interface ActivityPolicy { - /** - * Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or - * Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - timeout?: any; - /** - * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType - * integer), minimum: 0. - */ - retry?: any; - /** - * Interval between each retry attempt (in seconds). The default is 30 sec. - */ - retryIntervalInSeconds?: number; - /** - * When set to true, Input from activity is considered as secure and will not be logged to - * monitoring. - */ - secureInput?: boolean; - /** - * When set to true, Output from activity is considered as secure and will not be logged to - * monitoring. - */ - secureOutput?: boolean; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; +/** SSIS access credential. */ +export interface SsisAccessCredential { + /** Domain for windows authentication. */ + domain: Record; + /** UseName for windows authentication. */ + userName: Record; + /** Password for windows authentication. */ + password: SecretBaseUnion; } -/** - * Compute properties for data flow activity. - */ -export interface ExecuteDataFlowActivityTypePropertiesCompute { - /** - * Compute type of the cluster which will execute data flow job. Possible values include: - * 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: string (or Expression with resultType - * string) - */ - computeType?: any; - /** - * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, - * 48, 80, 144 and 272. Type: integer (or Expression with resultType integer) - */ - coreCount?: any; +/** SSIS embedded child package. */ +export interface SsisChildPackage { + /** Path for embedded child package. Type: string (or Expression with resultType string). */ + packagePath: Record; + /** Name for embedded child package. */ + packageName?: string; + /** Content for embedded child package. Type: string (or Expression with resultType string). */ + packageContent: Record; + /** Last modified date for embedded child package. */ + packageLastModifiedDate?: string; } -/** - * Contains the possible cases for ExecutionActivity. - */ -export type ExecutionActivityUnion = - | ExecutionActivity - | ExecuteDataFlowActivity - | AzureFunctionActivity - | DatabricksSparkPythonActivity - | DatabricksSparkJarActivity - | DatabricksNotebookActivity - | DataLakeAnalyticsUSQLActivity - | AzureMLExecutePipelineActivity - | AzureMLUpdateResourceActivity - | AzureMLBatchExecutionActivity - | GetMetadataActivity - | WebActivity - | LookupActivity - | AzureDataExplorerCommandActivity - | DeleteActivity - | SqlServerStoredProcedureActivity - | CustomActivity - | ExecuteSSISPackageActivity - | HDInsightSparkActivity - | HDInsightStreamingActivity - | HDInsightMapReduceActivity - | HDInsightPigActivity - | HDInsightHiveActivity - | CopyActivity; +/** SSIS package execution credential. */ +export interface SsisExecutionCredential { + /** Domain for windows authentication. */ + domain: Record; + /** UseName for windows authentication. */ + userName: Record; + /** Password for windows authentication. */ + password: SecureString; +} -/** - * Base class for all execution activities. - */ -export interface ExecutionActivity { - /** - * Polymorphic Discriminator - */ - type: "Execution"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; +/** SSIS execution parameter. */ +export interface SsisExecutionParameter { + /** SSIS package execution parameter value. Type: string (or Expression with resultType string). */ + value: Record; } -/** - * Execute data flow activity. - */ -export interface ExecuteDataFlowActivity { - /** - * Polymorphic Discriminator - */ - type: "ExecuteDataFlow"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Data flow reference. - */ +/** SSIS property override. */ +export interface SsisPropertyOverride { + /** SSIS package property override value. Type: string (or Expression with resultType string). */ + value: Record; + /** Whether SSIS package property override value is sensitive data. Value will be encrypted in SSISDB if it is true */ + isSensitive?: boolean; +} + +/** SSIS package execution log location */ +export interface SsisLogLocation { + /** The SSIS package execution log path. Type: string (or Expression with resultType string). */ + logPath: Record; + /** The type of SSIS log location. */ + type: SsisLogLocationType; + /** The package execution log access credential. */ + accessCredential?: SsisAccessCredential; + /** Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + logRefreshInterval?: Record; +} + +/** Reference objects for custom activity */ +export interface CustomActivityReferenceObject { + /** Linked service references. */ + linkedServices?: LinkedServiceReference[]; + /** Dataset references. */ + datasets?: DatasetReference[]; +} + +/** Web activity authentication properties. */ +export interface WebActivityAuthentication { + /** Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal) */ + type?: string; + /** Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal */ + pfx?: SecretBaseUnion; + /** Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password for the PFX file or basic authentication / Secret when used for ServicePrincipal */ + password?: SecretBaseUnion; + /** Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string). */ + resource?: Record; + /** TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication. Type: string (or Expression with resultType string). */ + userTenant?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +} + +/** Switch cases with have a value and corresponding activities. */ +export interface SwitchCase { + /** Expected value that satisfies the expression result of the 'on' property. */ + value?: string; + /** List of activities to execute for satisfied case condition. */ + activities?: ActivityUnion[]; +} + +/** Azure ML WebService Input/Output file */ +export interface AzureMLWebServiceFile { + /** The relative file path, including container name, in the Azure Blob Storage specified by the LinkedService. Type: string (or Expression with resultType string). */ + filePath: Record; + /** Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file located. */ + linkedServiceName: LinkedServiceReference; +} + +/** Execute data flow activity properties. */ +export interface ExecuteDataFlowActivityTypeProperties { + /** Data flow reference. */ dataFlow: DataFlowReference; - /** - * Staging info for execute data flow activity. - */ + /** Staging info for execute data flow activity. */ staging?: DataFlowStagingInfo; - /** - * The integration runtime reference. - */ + /** The integration runtime reference. */ integrationRuntime?: IntegrationRuntimeReference; - /** - * Compute properties for data flow activity. - */ + /** Compute properties for data flow activity. */ compute?: ExecuteDataFlowActivityTypePropertiesCompute; - /** - * Trace level setting used for data flow monitoring output. Supported values are: 'coarse', - * 'fine', and 'none'. Type: string (or Expression with resultType string) - */ - traceLevel?: any; - /** - * Continue on error setting used for data flow execution. Enables processing to continue if a - * sink fails. Type: boolean (or Expression with resultType boolean) - */ - continueOnError?: any; - /** - * Concurrent run setting used for data flow execution. Allows sinks with the same save order to - * be processed concurrently. Type: boolean (or Expression with resultType boolean) - */ - runConcurrently?: any; + /** Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) */ + traceLevel?: Record; + /** Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean) */ + continueOnError?: Record; + /** Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean) */ + runConcurrently?: Record; } -/** - * Azure Function activity. - */ -export interface AzureFunctionActivity { - /** - * Polymorphic Discriminator - */ - type: "AzureFunctionActivity"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Rest API method for target endpoint. Possible values include: 'GET', 'POST', 'PUT', 'DELETE', - * 'OPTIONS', 'HEAD', 'TRACE' - */ - method: AzureFunctionActivityMethod; - /** - * Name of the Function that the Azure Function Activity will call. Type: string (or Expression - * with resultType string) - */ - functionName: any; - /** - * Represents the headers that will be sent to the request. For example, to set the language and - * type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": - * "application/json" }. Type: string (or Expression with resultType string). - */ - headers?: any; - /** - * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not - * allowed for GET method Type: string (or Expression with resultType string). - */ - body?: any; +/** Compute properties for data flow activity. */ +export interface ExecuteDataFlowActivityTypePropertiesCompute { + /** Compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: string (or Expression with resultType string) */ + computeType?: Record; + /** Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. Type: integer (or Expression with resultType integer) */ + coreCount?: Record; } -/** - * DatabricksSparkPython activity. - */ -export interface DatabricksSparkPythonActivity { - /** - * Polymorphic Discriminator - */ - type: "DatabricksSparkPython"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * The URI of the Python file to be executed. DBFS paths are supported. Type: string (or - * Expression with resultType string). - */ - pythonFile: any; - /** - * Command line parameters that will be passed to the Python file. - */ - parameters?: any[]; - /** - * A list of libraries to be installed on the cluster that will execute the job. - */ - libraries?: { [propertyName: string]: any }[]; +/** Map Power Query mashup query to sink dataset(s). */ +export interface PowerQuerySinkMapping { + /** Name of the query in Power Query mashup document. */ + queryName?: string; + /** List of sinks mapped to Power Query mashup query. */ + dataflowSinks?: PowerQuerySink[]; } -/** - * DatabricksSparkJar activity. - */ -export interface DatabricksSparkJarActivity { - /** - * Polymorphic Discriminator - */ - type: "DatabricksSparkJar"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * The full name of the class containing the main method to be executed. This class must be - * contained in a JAR provided as a library. Type: string (or Expression with resultType string). - */ - mainClassName: any; - /** - * Parameters that will be passed to the main method. - */ - parameters?: any[]; - /** - * A list of libraries to be installed on the cluster that will execute the job. - */ - libraries?: { [propertyName: string]: any }[]; +/** The workflow trigger recurrence. */ +export interface ScheduleTriggerRecurrence { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The frequency. */ + frequency?: RecurrenceFrequency; + /** The interval. */ + interval?: number; + /** The start time. */ + startTime?: Date; + /** The end time. */ + endTime?: Date; + /** The time zone. */ + timeZone?: string; + /** The recurrence schedule. */ + schedule?: RecurrenceSchedule; } -/** - * DatabricksNotebook activity. - */ -export interface DatabricksNotebookActivity { - /** - * Polymorphic Discriminator - */ - type: "DatabricksNotebook"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * The absolute path of the notebook to be run in the Databricks Workspace. This path must begin - * with a slash. Type: string (or Expression with resultType string). - */ - notebookPath: any; - /** - * Base parameters to be used for each run of this job.If the notebook takes a parameter that is - * not specified, the default value from the notebook will be used. - */ - baseParameters?: { [propertyName: string]: any }; - /** - * A list of libraries to be installed on the cluster that will execute the job. - */ - libraries?: { [propertyName: string]: any }[]; +/** The recurrence schedule. */ +export interface RecurrenceSchedule { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The minutes. */ + minutes?: number[]; + /** The hours. */ + hours?: number[]; + /** The days of the week. */ + weekDays?: DaysOfWeek[]; + /** The month days. */ + monthDays?: number[]; + /** The monthly occurrences. */ + monthlyOccurrences?: RecurrenceScheduleOccurrence[]; } -/** - * Data Lake Analytics U-SQL activity. - */ -export interface DataLakeAnalyticsUSQLActivity { - /** - * Polymorphic Discriminator - */ - type: "DataLakeAnalyticsU-SQL"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with - * resultType string). - */ - scriptPath: any; - /** - * Script linked service reference. - */ - scriptLinkedService: LinkedServiceReference; - /** - * The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: - * integer (or Expression with resultType integer), minimum: 1. - */ - degreeOfParallelism?: any; - /** - * Determines which jobs out of all that are queued should be selected to run first. The lower - * the number, the higher the priority. Default value is 1000. Type: integer (or Expression with - * resultType integer), minimum: 1. - */ - priority?: any; - /** - * Parameters for U-SQL job request. - */ - parameters?: { [propertyName: string]: any }; - /** - * Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType - * string). - */ - runtimeVersion?: any; - /** - * Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: - * string (or Expression with resultType string). - */ - compilationMode?: any; +/** The recurrence schedule occurrence. */ +export interface RecurrenceScheduleOccurrence { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The day of the week. */ + day?: DayOfWeek; + /** The occurrence. */ + occurrence?: number; } -/** - * Azure ML Execute Pipeline activity. - */ -export interface AzureMLExecutePipelineActivity { - /** - * Polymorphic Discriminator - */ - type: "AzureMLExecutePipeline"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * ID of the published Azure ML pipeline. Type: string (or Expression with resultType string). - */ - mlPipelineId?: any; - /** - * ID of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType - * string). - */ - mlPipelineEndpointId?: any; - /** - * Version of the published Azure ML pipeline endpoint. Type: string (or Expression with - * resultType string). - */ - version?: any; - /** - * Run history experiment name of the pipeline run. This information will be passed in the - * ExperimentName property of the published pipeline execution request. Type: string (or - * Expression with resultType string). - */ - experimentName?: any; - /** - * Key,Value pairs to be passed to the published Azure ML pipeline endpoint. Keys must match the - * names of pipeline parameters defined in the published pipeline. Values will be passed in the - * ParameterAssignments property of the published pipeline execution request. Type: object with - * key value pairs (or Expression with resultType object). - */ - mlPipelineParameters?: any; - /** - * Dictionary used for changing data path assignments without retraining. Values will be passed - * in the dataPathAssignments property of the published pipeline execution request. Type: object - * with key value pairs (or Expression with resultType object). - */ - dataPathAssignments?: any; - /** - * The parent Azure ML Service pipeline run id. This information will be passed in the - * ParentRunId property of the published pipeline execution request. Type: string (or Expression - * with resultType string). - */ - mlParentRunId?: any; - /** - * Whether to continue execution of other steps in the PipelineRun if a step fails. This - * information will be passed in the continueOnStepFailure property of the published pipeline - * execution request. Type: boolean (or Expression with resultType boolean). - */ - continueOnStepFailure?: any; +/** Execution policy for an activity. */ +export interface RetryPolicy { + /** Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0. */ + count?: Record; + /** Interval between retries in seconds. Default is 30. */ + intervalInSeconds?: number; } -/** - * Azure ML Update Resource management activity. - */ -export interface AzureMLUpdateResourceActivity { +/** Referenced dependency. */ +export interface DependencyReference { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "TriggerDependencyReference" + | "TumblingWindowTriggerDependencyReference" + | "SelfDependencyTumblingWindowTriggerReference"; +} + +/** Trigger reference type. */ +export interface TriggerReference { + /** Trigger reference type. */ + type: "TriggerReference"; + /** Reference trigger name. */ + referenceName: string; +} + +/** Factory resource type. */ +export type Factory = Resource & { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Managed service identity of the factory. */ + identity?: FactoryIdentity; /** - * Polymorphic Discriminator + * Factory provisioning state, example Succeeded. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "AzureMLUpdateResource"; + readonly provisioningState?: string; /** - * Activity name. + * Time the factory was created in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - name: string; + readonly createTime?: Date; /** - * Activity description. + * Version of the factory. + * NOTE: This property will not be serialized. It can only be populated by the server. */ + readonly version?: string; + /** Git repo information of the factory. */ + repoConfiguration?: FactoryRepoConfigurationUnion; + /** List of parameters for factory. */ + globalParameters?: { [propertyName: string]: GlobalParameterSpecification }; + /** Properties to enable Customer Managed Key for the factory. */ + encryption?: EncryptionConfiguration; + /** Whether or not public network access is allowed for the data factory. */ + publicNetworkAccess?: PublicNetworkAccess; +}; + +/** Factory's VSTS repo information. */ +export type FactoryVstsConfiguration = FactoryRepoConfiguration & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FactoryVSTSConfiguration"; + /** VSTS project name. */ + projectName: string; + /** VSTS tenant id. */ + tenantId?: string; +}; + +/** Factory's GitHub repo information. */ +export type FactoryGitHubConfiguration = FactoryRepoConfiguration & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FactoryGitHubConfiguration"; + /** GitHub Enterprise host name. For example: https://github.mydomain.com */ + hostName?: string; + /** GitHub bring your own app client id. */ + clientId?: string; + /** GitHub bring your own app client secret information. */ + clientSecret?: GitHubClientSecret; +}; + +/** Integration runtime resource type. */ +export type IntegrationRuntimeResource = SubResource & { + /** Integration runtime properties. */ + properties: IntegrationRuntimeUnion; +}; + +/** Linked service resource type. */ +export type LinkedServiceResource = SubResource & { + /** Properties of linked service. */ + properties: LinkedServiceUnion; +}; + +/** Dataset resource type. */ +export type DatasetResource = SubResource & { + /** Dataset properties. */ + properties: DatasetUnion; +}; + +/** Pipeline resource type. */ +export type PipelineResource = SubResource & { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** The description of the pipeline. */ description?: string; + /** List of activities in pipeline. */ + activities?: ActivityUnion[]; + /** List of parameters for pipeline. */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** List of variables for pipeline. */ + variables?: { [propertyName: string]: VariableSpecification }; + /** The max number of concurrent runs for the pipeline. */ + concurrency?: number; + /** List of tags that can be used for describing the Pipeline. */ + annotations?: Record[]; + /** Dimensions emitted by Pipeline. */ + runDimensions?: { [propertyName: string]: Record }; + /** The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level. */ + folder?: PipelineFolder; + /** Pipeline Policy. */ + policy?: PipelinePolicy; +}; + +/** Trigger resource type. */ +export type TriggerResource = SubResource & { + /** Properties of the trigger. */ + properties: TriggerUnion; +}; + +/** Data flow resource type. */ +export type DataFlowResource = SubResource & { + /** Data flow properties. */ + properties: DataFlowUnion; +}; + +/** Managed Virtual Network resource type. */ +export type ManagedVirtualNetworkResource = SubResource & { + /** Managed Virtual Network properties. */ + properties: ManagedVirtualNetwork; +}; + +/** Managed private endpoint resource type. */ +export type ManagedPrivateEndpointResource = SubResource & { + /** Managed private endpoint properties. */ + properties: ManagedPrivateEndpoint; +}; + +/** Private Endpoint Connection ARM resource. */ +export type PrivateEndpointConnectionResource = SubResource & { + /** Core resource properties */ + properties?: RemotePrivateEndpointConnection; +}; + +/** Private Endpoint Connection Approval ARM resource. */ +export type PrivateLinkConnectionApprovalRequestResource = SubResource & { + /** Core resource properties */ + properties?: PrivateLinkConnectionApprovalRequest; +}; + +/** A private link resource */ +export type PrivateLinkResource = SubResource & { + /** Core resource properties */ + properties?: PrivateLinkResourceProperties; +}; + +/** Credential resource type. */ +export type CredentialResource = SubResource & { + /** Properties of credentials. */ + properties: CredentialUnion; +}; + +/** Managed integration runtime, including managed elastic and managed dedicated integration runtimes. */ +export type ManagedIntegrationRuntime = IntegrationRuntime & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Managed"; /** - * Activity depends on condition. + * Integration runtime state, only valid for managed dedicated integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - dependsOn?: ActivityDependency[]; + readonly state?: IntegrationRuntimeState; + /** Managed Virtual Network reference. */ + managedVirtualNetwork?: ManagedVirtualNetworkReference; + /** The compute resource for managed integration runtime. */ + computeProperties?: IntegrationRuntimeComputeProperties; + /** SSIS properties for managed integration runtime. */ + ssisProperties?: IntegrationRuntimeSsisProperties; + /** The name of virtual network to which Azure-SSIS integration runtime will join */ + customerVirtualNetwork?: IntegrationRuntimeCustomerVirtualNetwork; +}; + +/** Self-hosted integration runtime. */ +export type SelfHostedIntegrationRuntime = IntegrationRuntime & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SelfHosted"; + /** The base definition of a linked integration runtime. */ + linkedInfo?: LinkedIntegrationRuntimeTypeUnion; +}; + +/** Managed integration runtime status. */ +export type ManagedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Managed"; /** - * Activity user properties. + * The time at which the integration runtime was created, in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - userProperties?: UserProperty[]; + readonly createTime?: Date; /** - * Linked service reference. + * The list of nodes for managed integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - linkedServiceName?: LinkedServiceReference; + readonly nodes?: ManagedIntegrationRuntimeNode[]; /** - * Activity policy. + * The errors that occurred on this integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - policy?: ActivityPolicy; + readonly otherErrors?: ManagedIntegrationRuntimeError[]; /** - * Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or - * Expression with resultType string). + * The last operation result that occurred on this integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - trainedModelName: any; + readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; +}; + +/** Self-hosted integration runtime status. */ +export type SelfHostedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SelfHosted"; /** - * Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the - * update operation. + * The time at which the integration runtime was created, in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - trainedModelLinkedServiceName: LinkedServiceReference; + readonly createTime?: Date; /** - * The relative file path in trainedModelLinkedService to represent the .ilearner file that will - * be uploaded by the update operation. Type: string (or Expression with resultType string). + * The task queue id of the integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - trainedModelFilePath: any; -} - -/** - * Azure ML WebService Input/Output file - */ -export interface AzureMLWebServiceFile { + readonly taskQueueId?: string; /** - * The relative file path, including container name, in the Azure Blob Storage specified by the - * LinkedService. Type: string (or Expression with resultType string). + * It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted integration runtime nodes exist). + * NOTE: This property will not be serialized. It can only be populated by the server. */ - filePath: any; + readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; /** - * Reference to an Azure Storage LinkedService, where Azure ML WebService Input/Output file - * located. + * Version of the integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - linkedServiceName: LinkedServiceReference; -} - -/** - * Azure ML Batch Execution activity. - */ -export interface AzureMLBatchExecutionActivity { + readonly version?: string; + /** The list of nodes for this integration runtime. */ + nodes?: SelfHostedIntegrationRuntimeNode[]; /** - * Polymorphic Discriminator + * The date at which the integration runtime will be scheduled to update, in ISO8601 format. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - type: "AzureMLBatchExecution"; + readonly scheduledUpdateDate?: Date; /** - * Activity name. + * The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 hours + * NOTE: This property will not be serialized. It can only be populated by the server. */ - name: string; + readonly updateDelayOffset?: string; /** - * Activity description. + * The local time zone offset in hours. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - description?: string; + readonly localTimeZoneOffset?: string; /** - * Activity depends on condition. + * Object with additional information about integration runtime capabilities. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - dependsOn?: ActivityDependency[]; + readonly capabilities?: { [propertyName: string]: string }; /** - * Activity user properties. + * The URLs for the services used in integration runtime backend service. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - userProperties?: UserProperty[]; + readonly serviceUrls?: string[]; /** - * Linked service reference. + * Whether Self-hosted integration runtime auto update has been turned on. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - linkedServiceName?: LinkedServiceReference; + readonly autoUpdate?: IntegrationRuntimeAutoUpdate; /** - * Activity policy. + * Status of the integration runtime version. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - policy?: ActivityPolicy; + readonly versionStatus?: string; + /** The list of linked integration runtimes that are created to share with this integration runtime. */ + links?: LinkedIntegrationRuntime[]; /** - * Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match - * the names of web service parameters defined in the published Azure ML web service. Values will - * be passed in the GlobalParameters property of the Azure ML batch execution request. + * The version that the integration runtime is going to update to. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - globalParameters?: { [propertyName: string]: any }; + readonly pushedVersion?: string; /** - * Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to - * AzureMLWebServiceFile objects specifying the output Blob locations. This information will be - * passed in the WebServiceOutputs property of the Azure ML batch execution request. + * The latest version on download center. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - webServiceOutputs?: { [propertyName: string]: AzureMLWebServiceFile }; + readonly latestVersion?: string; /** - * Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to - * AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be - * passed in the WebServiceInputs property of the Azure ML batch execution request. + * The estimated time when the self-hosted integration runtime will be updated. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - webServiceInputs?: { [propertyName: string]: AzureMLWebServiceFile }; -} + readonly autoUpdateETA?: Date; +}; + +/** Ssis folder. */ +export type SsisFolder = SsisObjectMetadata & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Folder"; +}; + +/** Ssis project. */ +export type SsisProject = SsisObjectMetadata & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Project"; + /** Folder id which contains project. */ + folderId?: number; + /** Project version. */ + version?: number; + /** Environment reference in project */ + environmentRefs?: SsisEnvironmentReference[]; + /** Parameters in project */ + parameters?: SsisParameter[]; +}; + +/** Ssis Package. */ +export type SsisPackage = SsisObjectMetadata & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Package"; + /** Folder id which contains package. */ + folderId?: number; + /** Project version which contains package. */ + projectVersion?: number; + /** Project id which contains package. */ + projectId?: number; + /** Parameters in package */ + parameters?: SsisParameter[]; +}; + +/** Ssis environment. */ +export type SsisEnvironment = SsisObjectMetadata & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Environment"; + /** Folder id which contains environment. */ + folderId?: number; + /** Variable in environment */ + variables?: SsisVariable[]; +}; + +/** The storage account linked service. */ +export type AzureStorageLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureStorage"; + /** The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of accountKey in connection string. */ + accountKey?: AzureKeyVaultSecretReference; + /** SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + sasUri?: Record; + /** The Azure key vault secret reference of sasToken in sas uri. */ + sasToken?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: string; +}; + +/** The azure blob storage linked service. */ +export type AzureBlobStorageLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobStorage"; + /** The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of accountKey in connection string. */ + accountKey?: AzureKeyVaultSecretReference; + /** SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + sasUri?: Record; + /** The Azure key vault secret reference of sasToken in sas uri. */ + sasToken?: AzureKeyVaultSecretReference; + /** Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with connectionString, sasUri property. */ + serviceEndpoint?: string; + /** The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate against Azure SQL Data Warehouse. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** Specify the kind of your storage account. Allowed values are: Storage (general purpose v1), StorageV2 (general purpose v2), BlobStorage, or BlockBlobStorage. Type: string (or Expression with resultType string). */ + accountKind?: string; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: string; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; + +/** The azure table storage linked service. */ +export type AzureTableStorageLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureTableStorage"; + /** The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of accountKey in connection string. */ + accountKey?: AzureKeyVaultSecretReference; + /** SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + sasUri?: Record; + /** The Azure key vault secret reference of sasToken in sas uri. */ + sasToken?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: string; +}; + +/** Azure SQL Data Warehouse linked service. */ +export type AzureSqlDWLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSqlDW"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate against Azure SQL Data Warehouse. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; + +/** SQL Server linked service. */ +export type SqlServerLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlServer"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The on-premises Windows authentication user name. Type: string (or Expression with resultType string). */ + userName?: Record; + /** The on-premises Windows authentication password. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** Sql always encrypted properties. */ + alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; +}; + +/** Amazon RDS for SQL Server linked service. */ +export type AmazonRdsForSqlServerLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRdsForSqlServer"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The on-premises Windows authentication user name. Type: string (or Expression with resultType string). */ + userName?: Record; + /** The on-premises Windows authentication password. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** Sql always encrypted properties. */ + alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; +}; + +/** Microsoft Azure SQL Database linked service. */ +export type AzureSqlDatabaseLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSqlDatabase"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The ID of the service principal used to authenticate against Azure SQL Database. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate against Azure SQL Database. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** Sql always encrypted properties. */ + alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; + +/** Azure SQL Managed Instance linked service. */ +export type AzureSqlMILinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSqlMI"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate against Azure SQL Managed Instance. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** Sql always encrypted properties. */ + alwaysEncryptedSettings?: SqlAlwaysEncryptedProperties; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; + +/** Azure Batch linked service. */ +export type AzureBatchLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBatch"; + /** The Azure Batch account name. Type: string (or Expression with resultType string). */ + accountName: Record; + /** The Azure Batch account access key. */ + accessKey?: SecretBaseUnion; + /** The Azure Batch URI. Type: string (or Expression with resultType string). */ + batchUri: Record; + /** The Azure Batch pool name. Type: string (or Expression with resultType string). */ + poolName: Record; + /** The Azure Storage linked service reference. */ + linkedServiceName: LinkedServiceReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; + +/** Azure Key Vault linked service. */ +export type AzureKeyVaultLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureKeyVault"; + /** The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or Expression with resultType string). */ + baseUrl: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; + +/** Microsoft Azure Cosmos Database (CosmosDB) linked service. */ +export type CosmosDbLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CosmosDb"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType string) */ + accountEndpoint?: Record; + /** The name of the database. Type: string (or Expression with resultType string) */ + database?: Record; + /** The account key of the Azure CosmosDB account. Type: SecureString or AzureKeyVaultSecretReference. */ + accountKey?: SecretBaseUnion; + /** The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). */ + servicePrincipalCredentialType?: CosmosDbServicePrincipalCredentialType; + /** The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. */ + servicePrincipalCredential?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** The connection mode used to access CosmosDB account. Type: string (or Expression with resultType string). */ + connectionMode?: CosmosDbConnectionMode; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Dynamics linked service. */ +export type DynamicsLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Dynamics"; + /** The deployment type of the Dynamics instance. 'Online' for Dynamics Online and 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with resultType string). */ + deploymentType: Record; + /** The host name of the on-premises Dynamics server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). */ + hostName?: Record; + /** The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. */ + port?: Record; + /** The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). */ + serviceUri?: Record; + /** The organization name of the Dynamics instance. The property is required for on-prem and required for online when there are more than one Dynamics instances associated with the user. Type: string (or Expression with resultType string). */ + organizationName?: Record; + /** The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ + authenticationType: Record; + /** User name to access the Dynamics instance. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password to access the Dynamics instance. */ + password?: SecretBaseUnion; + /** The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). */ + servicePrincipalCredentialType?: Record; + /** The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. */ + servicePrincipalCredential?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Dynamics CRM linked service. */ +export type DynamicsCrmLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsCrm"; + /** The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string). */ + deploymentType: Record; + /** The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). */ + hostName?: Record; + /** The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. */ + port?: Record; + /** The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). */ + serviceUri?: Record; + /** The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string). */ + organizationName?: Record; + /** The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ + authenticationType: Record; + /** User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password to access the Dynamics CRM instance. */ + password?: SecretBaseUnion; + /** The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). */ + servicePrincipalCredentialType?: Record; + /** The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. */ + servicePrincipalCredential?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Common Data Service for Apps linked service. */ +export type CommonDataServiceForAppsLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CommonDataServiceForApps"; + /** The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string). */ + deploymentType: Record; + /** The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string). */ + hostName?: Record; + /** The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. */ + port?: Record; + /** The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string). */ + serviceUri?: Record; + /** The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string). */ + organizationName?: Record; + /** The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string). */ + authenticationType: Record; + /** User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password to access the Common Data Service for Apps instance. */ + password?: SecretBaseUnion; + /** The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). */ + servicePrincipalCredentialType?: Record; + /** The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. */ + servicePrincipalCredential?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** HDInsight linked service. */ +export type HDInsightLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HDInsight"; + /** HDInsight cluster URI. Type: string (or Expression with resultType string). */ + clusterUri: Record; + /** HDInsight cluster user name. Type: string (or Expression with resultType string). */ + userName?: Record; + /** HDInsight cluster password. */ + password?: SecretBaseUnion; + /** The Azure Storage linked service reference. */ + linkedServiceName?: LinkedServiceReference; + /** A reference to the Azure SQL linked service that points to the HCatalog database. */ + hcatalogLinkedServiceName?: LinkedServiceReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. */ + isEspEnabled?: Record; + /** Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). */ + fileSystem?: Record; +}; + +/** File system linked service. */ +export type FileServerLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FileServer"; + /** Host name of the server. Type: string (or Expression with resultType string). */ + host: Record; + /** User ID to logon the server. Type: string (or Expression with resultType string). */ + userId?: Record; + /** Password to logon the server. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Azure File Storage linked service. */ +export type AzureFileStorageLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureFileStorage"; + /** Host name of the server. Type: string (or Expression with resultType string). */ + host?: Record; + /** User ID to logon the server. Type: string (or Expression with resultType string). */ + userId?: Record; + /** Password to logon the server. */ + password?: SecretBaseUnion; + /** The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of accountKey in connection string. */ + accountKey?: AzureKeyVaultSecretReference; + /** SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + sasUri?: Record; + /** The Azure key vault secret reference of sasToken in sas uri. */ + sasToken?: AzureKeyVaultSecretReference; + /** The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). */ + fileShare?: Record; + /** The azure file share snapshot version. Type: string (or Expression with resultType string). */ + snapshot?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for Amazon S3 Compatible. */ +export type AmazonS3CompatibleLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonS3Compatible"; + /** The access key identifier of the Amazon S3 Compatible Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ + accessKeyId?: Record; + /** The secret access key of the Amazon S3 Compatible Identity and Access Management (IAM) user. */ + secretAccessKey?: SecretBaseUnion; + /** This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ + serviceUrl?: Record; + /** If true, use S3 path-style access instead of virtual hosted-style access. Default value is false. Type: boolean (or Expression with resultType boolean). */ + forcePathStyle?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for Oracle Cloud Storage. */ +export type OracleCloudStorageLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleCloudStorage"; + /** The access key identifier of the Oracle Cloud Storage Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ + accessKeyId?: Record; + /** The secret access key of the Oracle Cloud Storage Identity and Access Management (IAM) user. */ + secretAccessKey?: SecretBaseUnion; + /** This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ + serviceUrl?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for Google Cloud Storage. */ +export type GoogleCloudStorageLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleCloudStorage"; + /** The access key identifier of the Google Cloud Storage Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ + accessKeyId?: Record; + /** The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. */ + secretAccessKey?: SecretBaseUnion; + /** This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ + serviceUrl?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Oracle database. */ +export type OracleLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Oracle"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** AmazonRdsForOracle database. */ +export type AmazonRdsForOracleLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRdsForOracle"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Azure MySQL database linked service. */ +export type AzureMySqlLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMySql"; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for MySQL data source. */ +export type MySqlLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MySql"; + /** The connection string. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for PostgreSQL data source. */ +export type PostgreSqlLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PostgreSql"; + /** The connection string. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for Sybase data source. */ +export type SybaseLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Sybase"; + /** Server name for connection. Type: string (or Expression with resultType string). */ + server: Record; + /** Database name for connection. Type: string (or Expression with resultType string). */ + database: Record; + /** Schema name for connection. Type: string (or Expression with resultType string). */ + schema?: Record; + /** AuthenticationType to be used for connection. */ + authenticationType?: SybaseAuthenticationType; + /** Username for authentication. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password for authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for DB2 data source. */ +export type Db2LinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Db2"; + /** The connection string. It is mutually exclusive with server, database, authenticationType, userName, packageCollection and certificateCommonName property. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ + server?: Record; + /** Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ + database?: Record; + /** AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. */ + authenticationType?: Db2AuthenticationType; + /** Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password for authentication. */ + password?: SecretBaseUnion; + /** Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ + packageCollection?: Record; + /** Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ + certificateCommonName?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for Teradata data source. */ +export type TeradataLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Teradata"; + /** Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** Server name for connection. Type: string (or Expression with resultType string). */ + server?: Record; + /** AuthenticationType to be used for connection. */ + authenticationType?: TeradataAuthenticationType; + /** Username for authentication. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password for authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Azure ML Studio Web Service linked service. */ +export type AzureMLLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureML"; + /** The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). */ + mlEndpoint: Record; + /** The API key for accessing the Azure ML model endpoint. */ + apiKey: SecretBaseUnion; + /** The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or Expression with resultType string). */ + updateResourceEndpoint?: Record; + /** The ID of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate against the ARM-based updateResourceEndpoint of an Azure ML Studio web service. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string). */ + authentication?: Record; +}; + +/** Azure ML Service linked service. */ +export type AzureMLServiceLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMLService"; + /** Azure ML Service workspace subscription ID. Type: string (or Expression with resultType string). */ + subscriptionId: Record; + /** Azure ML Service workspace resource group name. Type: string (or Expression with resultType string). */ + resourceGroupName: Record; + /** Azure ML Service workspace name. Type: string (or Expression with resultType string). */ + mlWorkspaceName: Record; + /** The ID of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate against the endpoint of a published Azure ML Service pipeline. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Open Database Connectivity (ODBC) linked service. */ +export type OdbcLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Odbc"; + /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ + authenticationType?: Record; + /** The access credential portion of the connection string specified in driver-specific property-value format. */ + credential?: SecretBaseUnion; + /** User name for Basic authentication. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password for Basic authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Informix linked service. */ +export type InformixLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Informix"; + /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ + authenticationType?: Record; + /** The access credential portion of the connection string specified in driver-specific property-value format. */ + credential?: SecretBaseUnion; + /** User name for Basic authentication. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password for Basic authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Microsoft Access linked service. */ +export type MicrosoftAccessLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MicrosoftAccess"; + /** The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ + authenticationType?: Record; + /** The access credential portion of the connection string specified in driver-specific property-value format. */ + credential?: SecretBaseUnion; + /** User name for Basic authentication. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password for Basic authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Hadoop Distributed File System (HDFS) linked service. */ +export type HdfsLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Hdfs"; + /** The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string). */ + url: Record; + /** Type of authentication used to connect to the HDFS. Possible values are: Anonymous and Windows. Type: string (or Expression with resultType string). */ + authenticationType?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** User name for Windows authentication. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password for Windows authentication. */ + password?: SecretBaseUnion; +}; + +/** Open Data Protocol (OData) linked service. */ +export type ODataLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OData"; + /** The URL of the OData service endpoint. Type: string (or Expression with resultType string). */ + url: Record; + /** Type of authentication used to connect to the OData service. */ + authenticationType?: ODataAuthenticationType; + /** User name of the OData service. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password of the OData service. */ + password?: SecretBaseUnion; + /** The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). */ + authHeaders?: Record; + /** Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string). */ + aadResourceId?: Record; + /** Specify the credential type (key or cert) is used for service principal. */ + aadServicePrincipalCredentialType?: ODataAadServicePrincipalCredentialType; + /** Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ + servicePrincipalKey?: SecretBaseUnion; + /** Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCert?: SecretBaseUnion; + /** Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Web linked service. */ +export type WebLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Web"; + /** Web linked service properties. */ + typeProperties: WebLinkedServiceTypePropertiesUnion; +}; + +/** Linked service for Cassandra data source. */ +export type CassandraLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Cassandra"; + /** Host name for connection. Type: string (or Expression with resultType string). */ + host: Record; + /** AuthenticationType to be used for connection. Type: string (or Expression with resultType string). */ + authenticationType?: Record; + /** The port for the connection. Type: integer (or Expression with resultType integer). */ + port?: Record; + /** Username for authentication. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password for authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for MongoDb data source. */ +export type MongoDbLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDb"; + /** The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string). */ + server: Record; + /** The authentication type to be used to connect to the MongoDB database. */ + authenticationType?: MongoDbAuthenticationType; + /** The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). */ + databaseName: Record; + /** Username for authentication. Type: string (or Expression with resultType string). */ + username?: Record; + /** Password for authentication. */ + password?: SecretBaseUnion; + /** Database to verify the username and password. Type: string (or Expression with resultType string). */ + authSource?: Record; + /** The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. */ + port?: Record; + /** Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean). */ + enableSsl?: Record; + /** Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean). */ + allowSelfSignedServerCert?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for MongoDB Atlas data source. */ +export type MongoDbAtlasLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbAtlas"; + /** The MongoDB Atlas connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string). */ + database: Record; +}; + +/** Linked service for MongoDB data source. */ +export type MongoDbV2LinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbV2"; + /** The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string). */ + database: Record; +}; + +/** Linked service for CosmosDB (MongoDB API) data source. */ +export type CosmosDbMongoDbApiLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CosmosDbMongoDbApi"; + /** Whether the CosmosDB (MongoDB API) server version is higher than 3.2. The default value is false. Type: boolean (or Expression with resultType boolean). */ + isServerVersionAbove32?: Record; + /** The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString: Record; + /** The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string). */ + database: Record; +}; + +/** Azure Data Lake Store linked service. */ +export type AzureDataLakeStoreLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataLakeStore"; + /** Data Lake Store service URI. Type: string (or Expression with resultType string). */ + dataLakeStoreUri: Record; + /** The ID of the application used to authenticate against the Azure Data Lake Store account. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The Key of the application used to authenticate against the Azure Data Lake Store account. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** Data Lake Store account name. Type: string (or Expression with resultType string). */ + accountName?: Record; + /** Data Lake Store account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). */ + subscriptionId?: Record; + /** Data Lake Store account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). */ + resourceGroupName?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; + +/** Azure Data Lake Storage Gen2 linked service. */ +export type AzureBlobFSLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobFS"; + /** Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string). */ + url: Record; + /** Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string). */ + accountKey?: Record; + /** The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 account. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; + +/** Office365 linked service. */ +export type Office365LinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Office365"; + /** Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string). */ + office365TenantId: Record; + /** Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string). */ + servicePrincipalTenantId: Record; + /** Specify the application's client ID. Type: string (or Expression with resultType string). */ + servicePrincipalId: Record; + /** Specify the application's key. */ + servicePrincipalKey: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Linked service for Salesforce. */ +export type SalesforceLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Salesforce"; + /** The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). */ + environmentUrl?: Record; + /** The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). */ + username?: Record; + /** The password for Basic authentication of the Salesforce instance. */ + password?: SecretBaseUnion; + /** The security token is optional to remotely access Salesforce instance. */ + securityToken?: SecretBaseUnion; + /** The Salesforce API version used in ADF. Type: string (or Expression with resultType string). */ + apiVersion?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Contains the possible cases for CompressionReadSettings. - */ -export type CompressionReadSettingsUnion = - | CompressionReadSettings - | TarGZipReadSettings - | TarReadSettings - | ZipDeflateReadSettings; +/** Linked service for Salesforce Service Cloud. */ +export type SalesforceServiceCloudLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceServiceCloud"; + /** The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string). */ + environmentUrl?: Record; + /** The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string). */ + username?: Record; + /** The password for Basic authentication of the Salesforce instance. */ + password?: SecretBaseUnion; + /** The security token is optional to remotely access Salesforce instance. */ + securityToken?: SecretBaseUnion; + /** The Salesforce API version used in ADF. Type: string (or Expression with resultType string). */ + apiVersion?: Record; + /** Extended properties appended to the connection string. Type: string (or Expression with resultType string). */ + extendedProperties?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Compression read settings. - */ -export interface CompressionReadSettings { - /** - * Polymorphic Discriminator - */ - type: "CompressionReadSettings"; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** Linked service for SAP Cloud for Customer. */ +export type SapCloudForCustomerLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapCloudForCustomer"; + /** The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string). */ + url: Record; + /** The username for Basic authentication. Type: string (or Expression with resultType string). */ + username?: Record; + /** The password for Basic authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * The TarGZip compression read settings. - */ -export interface TarGZipReadSettings { - /** - * Polymorphic Discriminator - */ - type: "TarGZipReadSettings"; - /** - * Preserve the compression file name as folder path. Type: boolean (or Expression with - * resultType boolean). - */ - preserveCompressionFileNameAsFolder?: any; -} +/** Linked service for SAP ERP Central Component(SAP ECC). */ +export type SapEccLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapEcc"; + /** The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string). */ + url: string; + /** The username for Basic authentication. Type: string (or Expression with resultType string). */ + username?: string; + /** The password for Basic authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string). */ + encryptedCredential?: string; +}; -/** - * The Tar compression read settings. - */ -export interface TarReadSettings { - /** - * Polymorphic Discriminator - */ - type: "TarReadSettings"; - /** - * Preserve the compression file name as folder path. Type: boolean (or Expression with - * resultType boolean). - */ - preserveCompressionFileNameAsFolder?: any; -} +/** SAP Business Warehouse Open Hub Destination Linked Service. */ +export type SapOpenHubLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapOpenHub"; + /** Host name of the SAP BW instance where the open hub destination is located. Type: string (or Expression with resultType string). */ + server?: Record; + /** System number of the BW system where the open hub destination is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). */ + systemNumber?: Record; + /** Client ID of the client on the BW system where the open hub destination is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */ + clientId?: Record; + /** Language of the BW system where the open hub destination is located. The default value is EN. Type: string (or Expression with resultType string). */ + language?: Record; + /** SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). */ + systemId?: Record; + /** Username to access the SAP BW server where the open hub destination is located. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password to access the SAP BW server where the open hub destination is located. */ + password?: SecretBaseUnion; + /** The hostname of the SAP Message Server. Type: string (or Expression with resultType string). */ + messageServer?: Record; + /** The service name or port number of the Message Server. Type: string (or Expression with resultType string). */ + messageServerService?: Record; + /** The Logon Group for the SAP System. Type: string (or Expression with resultType string). */ + logonGroup?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * The ZipDeflate compression read settings. - */ -export interface ZipDeflateReadSettings { - /** - * Polymorphic Discriminator - */ - type: "ZipDeflateReadSettings"; - /** - * Preserve the zip file name as folder path. Type: boolean (or Expression with resultType - * boolean). - */ - preserveZipFileNameAsFolder?: any; -} +/** Rest Service linked service. */ +export type RestServiceLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "RestService"; + /** The base URL of the REST service. */ + url: Record; + /** Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean). */ + enableServerCertificateValidation?: Record; + /** Type of authentication used to connect to the REST service. */ + authenticationType: RestServiceAuthenticationType; + /** The user name used in Basic authentication type. */ + userName?: Record; + /** The password used in Basic authentication type. */ + password?: SecretBaseUnion; + /** The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). */ + authHeaders?: Record; + /** The application's client ID used in AadServicePrincipal authentication type. */ + servicePrincipalId?: Record; + /** The application's key used in AadServicePrincipal authentication type. */ + servicePrincipalKey?: SecretBaseUnion; + /** The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides. */ + tenant?: Record; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: Record; + /** The resource you are requesting authorization to use. */ + aadResourceId?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; -/** - * Contains the possible cases for FormatReadSettings. - */ -export type FormatReadSettingsUnion = - | FormatReadSettings - | BinaryReadSettings - | XmlReadSettings - | JsonReadSettings - | DelimitedTextReadSettings; +/** Linked service for Amazon S3. */ +export type AmazonS3LinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonS3"; + /** The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). */ + authenticationType?: Record; + /** The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ + accessKeyId?: Record; + /** The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */ + secretAccessKey?: SecretBaseUnion; + /** This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ + serviceUrl?: Record; + /** The session token for the S3 temporary security credential. */ + sessionToken?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Format read settings. - */ -export interface FormatReadSettings { - /** - * Polymorphic Discriminator - */ - type: "FormatReadSettings"; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** Linked service for Amazon Redshift. */ +export type AmazonRedshiftLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRedshift"; + /** The name of the Amazon Redshift server. Type: string (or Expression with resultType string). */ + server: Record; + /** The username of the Amazon Redshift source. Type: string (or Expression with resultType string). */ + username?: Record; + /** The password of the Amazon Redshift source. */ + password?: SecretBaseUnion; + /** The database name of the Amazon Redshift source. Type: string (or Expression with resultType string). */ + database: Record; + /** The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer). */ + port?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Binary read settings. - */ -export interface BinaryReadSettings { - /** - * Polymorphic Discriminator - */ - type: "BinaryReadSettings"; - /** - * Compression settings. - */ - compressionProperties?: CompressionReadSettingsUnion; -} +/** Custom linked service. */ +export type CustomDataSourceLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CustomDataSource"; + /** Custom linked service properties. */ + typeProperties: Record; +}; -/** - * Xml read settings. - */ -export interface XmlReadSettings { - /** - * Polymorphic Discriminator - */ - type: "XmlReadSettings"; - /** - * Compression settings. - */ - compressionProperties?: CompressionReadSettingsUnion; - /** - * Indicates what validation method is used when reading the xml files. Allowed values: 'none', - * 'xsd', or 'dtd'. Type: string (or Expression with resultType string). - */ - validationMode?: any; - /** - * Indicates whether type detection is enabled when reading the xml files. Type: boolean (or - * Expression with resultType boolean). - */ - detectDataType?: any; - /** - * Indicates whether namespace is enabled when reading the xml files. Type: boolean (or - * Expression with resultType boolean). - */ - namespaces?: any; - /** - * Namespace uri to prefix mappings to override the prefixes in column names when namespace is - * enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name - * in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: - * object (or Expression with resultType object). - */ - namespacePrefixes?: any; -} +/** Linked service for Windows Azure Search Service. */ +export type AzureSearchLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSearch"; + /** URL for Azure Search service. Type: string (or Expression with resultType string). */ + url: Record; + /** Admin Key for Azure Search service */ + key?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Json read settings. - */ -export interface JsonReadSettings { - /** - * Polymorphic Discriminator - */ - type: "JsonReadSettings"; - /** - * Compression settings. - */ - compressionProperties?: CompressionReadSettingsUnion; -} +/** Linked service for an HTTP source. */ +export type HttpLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HttpServer"; + /** The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string). */ + url: Record; + /** The authentication type to be used to connect to the HTTP server. */ + authenticationType?: HttpAuthenticationType; + /** User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication. */ + password?: SecretBaseUnion; + /** The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object). */ + authHeaders?: Record; + /** Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). */ + embeddedCertData?: Record; + /** Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string). */ + certThumbprint?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean). */ + enableServerCertificateValidation?: Record; +}; -/** - * Delimited text read settings. - */ -export interface DelimitedTextReadSettings { - /** - * Polymorphic Discriminator - */ - type: "DelimitedTextReadSettings"; - /** - * Indicates the number of non-empty rows to skip when reading data from input files. Type: - * integer (or Expression with resultType integer). - */ - skipLineCount?: any; - /** - * Compression settings. - */ - compressionProperties?: CompressionReadSettingsUnion; -} +/** A FTP server Linked Service. */ +export type FtpServerLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FtpServer"; + /** Host name of the FTP server. Type: string (or Expression with resultType string). */ + host: Record; + /** The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0. */ + port?: Record; + /** The authentication type to be used to connect to the FTP server. */ + authenticationType?: FtpAuthenticationType; + /** Username to logon the FTP server. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password to logon the FTP server. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). */ + enableSsl?: Record; + /** If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default value is true. Type: boolean (or Expression with resultType boolean). */ + enableServerCertificateValidation?: Record; +}; -/** - * Distcp settings. - */ -export interface DistcpSettings { - /** - * Specifies the Yarn ResourceManager endpoint. Type: string (or Expression with resultType - * string). - */ - resourceManagerEndpoint: any; - /** - * Specifies an existing folder path which will be used to store temp Distcp command script. The - * script file is generated by ADF and will be removed after Copy job finished. Type: string (or - * Expression with resultType string). - */ - tempScriptPath: any; - /** - * Specifies the Distcp options. Type: string (or Expression with resultType string). - */ - distcpOptions?: any; -} +/** A linked service for an SSH File Transfer Protocol (SFTP) server. */ +export type SftpServerLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Sftp"; + /** The SFTP server host name. Type: string (or Expression with resultType string). */ + host: Record; + /** The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0. */ + port?: Record; + /** The authentication type to be used to connect to the FTP server. */ + authenticationType?: SftpAuthenticationType; + /** The username used to log on to the SFTP server. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password to logon the SFTP server for Basic authentication. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string). */ + privateKeyPath?: Record; + /** Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. */ + privateKeyContent?: SecretBaseUnion; + /** The password to decrypt the SSH private key if the SSH private key is encrypted. */ + passPhrase?: SecretBaseUnion; + /** If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean). */ + skipHostKeyValidation?: Record; + /** The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). */ + hostKeyFingerprint?: Record; +}; -/** - * Contains the possible cases for StoreReadSettings. - */ -export type StoreReadSettingsUnion = - | StoreReadSettings - | HdfsReadSettings - | HttpReadSettings - | SftpReadSettings - | FtpReadSettings - | GoogleCloudStorageReadSettings - | OracleCloudStorageReadSettings - | AmazonS3CompatibleReadSettings - | AzureFileStorageReadSettings - | FileServerReadSettings - | AmazonS3ReadSettings - | AzureDataLakeStoreReadSettings - | AzureBlobFSReadSettings - | AzureBlobStorageReadSettings; +/** SAP Business Warehouse Linked Service. */ +export type SapBWLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapBW"; + /** Host name of the SAP BW instance. Type: string (or Expression with resultType string). */ + server: Record; + /** System number of the BW system. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). */ + systemNumber: Record; + /** Client ID of the client on the BW system. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */ + clientId: Record; + /** Username to access the SAP BW server. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password to access the SAP BW server. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Connector read setting. - */ -export interface StoreReadSettings { - /** - * Polymorphic Discriminator - */ - type: "StoreReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** SAP HANA Linked Service. */ +export type SapHanaLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapHana"; + /** SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** Host name of the SAP HANA server. Type: string (or Expression with resultType string). */ + server?: Record; + /** The authentication type to be used to connect to the SAP HANA server. */ + authenticationType?: SapHanaAuthenticationType; + /** Username to access the SAP HANA server. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password to access the SAP HANA server. */ + password?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * HDFS read settings. - */ -export interface HdfsReadSettings { - /** - * Polymorphic Discriminator - */ - type: "HdfsReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * HDFS wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * HDFS wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * Specifies Distcp-related settings. - */ - distcpSettings?: DistcpSettings; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; -} +/** Amazon Marketplace Web Service linked service. */ +export type AmazonMWSLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonMWS"; + /** The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com) */ + endpoint: Record; + /** The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) */ + marketplaceID: Record; + /** The Amazon seller ID. */ + sellerID: Record; + /** The Amazon MWS authentication token. */ + mwsAuthToken?: SecretBaseUnion; + /** The access key id used to access data. */ + accessKeyId: Record; + /** The secret key used to access data. */ + secretKey?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Sftp read settings. - */ -export interface HttpReadSettings { - /** - * Polymorphic Discriminator - */ - type: "HttpReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression - * with resultType string). - */ - requestMethod?: any; - /** - * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression - * with resultType string). - */ - requestBody?: any; - /** - * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression - * with resultType string). - */ - additionalHeaders?: any; - /** - * Specifies the timeout for a HTTP client to get HTTP response from HTTP server. - */ - requestTimeout?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; -} +/** Azure PostgreSQL linked service. */ +export type AzurePostgreSqlLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzurePostgreSql"; + /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Concur Service linked service. */ +export type ConcurLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Concur"; + /** Properties used to connect to Concur. It is mutually exclusive with any other properties in the linked service. Type: object. */ + connectionProperties?: Record; + /** Application client_id supplied by Concur App Management. */ + clientId: Record; + /** The user name that you use to access Concur Service. */ + username: Record; + /** The password corresponding to the user name that you provided in the username field. */ + password?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Sftp read settings. - */ -export interface SftpReadSettings { - /** - * Polymorphic Discriminator - */ - type: "SftpReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Sftp wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * Sftp wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** Couchbase server linked service. */ +export type CouchbaseLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Couchbase"; + /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of credString in connection string. */ + credString?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Ftp read settings. - */ -export interface FtpReadSettings { - /** - * Polymorphic Discriminator - */ - type: "FtpReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Ftp wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * Ftp wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Specify whether to use binary transfer mode for FTP stores. - */ - useBinaryTransfer?: boolean; -} +/** Drill server linked service. */ +export type DrillLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Drill"; + /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of password in connection string. */ + pwd?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Google Cloud Storage read settings. - */ -export interface GoogleCloudStorageReadSettings { - /** - * Polymorphic Discriminator - */ - type: "GoogleCloudStorageReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Google Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * Google Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * The prefix filter for the Google Cloud Storage object name. Type: string (or Expression with - * resultType string). - */ - prefix?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** Eloqua server linked service. */ +export type EloquaLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Eloqua"; + /** The endpoint of the Eloqua server. (i.e. eloqua.example.com) */ + endpoint: Record; + /** The site name and user name of your Eloqua account in the form: sitename/username. (i.e. Eloqua/Alice) */ + username: Record; + /** The password corresponding to the user name. */ + password?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Oracle Cloud Storage read settings. - */ -export interface OracleCloudStorageReadSettings { - /** - * Polymorphic Discriminator - */ - type: "OracleCloudStorageReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Oracle Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * Oracle Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * The prefix filter for the Oracle Cloud Storage object name. Type: string (or Expression with - * resultType string). - */ - prefix?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** Google BigQuery service linked service. */ +export type GoogleBigQueryLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleBigQuery"; + /** The default BigQuery project to query against. */ + project: Record; + /** A comma-separated list of public BigQuery projects to access. */ + additionalProjects?: Record; + /** Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false. */ + requestGoogleDriveScope?: Record; + /** The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. */ + authenticationType: GoogleBigQueryAuthenticationType; + /** The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. */ + refreshToken?: SecretBaseUnion; + /** The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). */ + clientId?: Record; + /** The client secret of the google application used to acquire the refresh token. */ + clientSecret?: SecretBaseUnion; + /** The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. */ + email?: Record; + /** The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. */ + keyFilePath?: Record; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + trustedCertPath?: Record; + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + useSystemTrustStore?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Amazon S3 Compatible read settings. - */ -export interface AmazonS3CompatibleReadSettings { - /** - * Polymorphic Discriminator - */ - type: "AmazonS3CompatibleReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Amazon S3 Compatible wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * Amazon S3 Compatible wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * The prefix filter for the S3 Compatible object name. Type: string (or Expression with - * resultType string). - */ - prefix?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** Greenplum Database linked service. */ +export type GreenplumLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Greenplum"; + /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of password in connection string. */ + pwd?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Azure File Storage read settings. - */ -export interface AzureFileStorageReadSettings { - /** - * Polymorphic Discriminator - */ - type: "AzureFileStorageReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Azure File Storage wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * Azure File Storage wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * The prefix filter for the Azure File name starting from root path. Type: string (or Expression - * with resultType string). - */ - prefix?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** HBase server linked service. */ +export type HBaseLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HBase"; + /** The IP address or host name of the HBase server. (i.e. 192.168.222.160) */ + host: Record; + /** The TCP port that the HBase instance uses to listen for client connections. The default value is 9090. */ + port?: Record; + /** The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version) */ + httpPath?: Record; + /** The authentication mechanism to use to connect to the HBase server. */ + authenticationType: HBaseAuthenticationType; + /** The user name used to connect to the HBase instance. */ + username?: Record; + /** The password corresponding to the user name. */ + password?: SecretBaseUnion; + /** Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ + enableSsl?: Record; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + trustedCertPath?: Record; + /** Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ + allowHostNameCNMismatch?: Record; + /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ + allowSelfSignedServerCert?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * File server read settings. - */ -export interface FileServerReadSettings { - /** - * Polymorphic Discriminator - */ - type: "FileServerReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * FileServer wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * FileServer wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * Specify a filter to be used to select a subset of files in the folderPath rather than all - * files. Type: string (or Expression with resultType string). - */ - fileFilter?: any; -} +/** Hive Server linked service. */ +export type HiveLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Hive"; + /** IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable). */ + host: Record; + /** The TCP port that the Hive server uses to listen for client connections. */ + port?: Record; + /** The type of Hive server. */ + serverType?: HiveServerType; + /** The transport protocol to use in the Thrift layer. */ + thriftTransportProtocol?: HiveThriftTransportProtocol; + /** The authentication method used to access the Hive server. */ + authenticationType: HiveAuthenticationType; + /** true to indicate using the ZooKeeper service, false not. */ + serviceDiscoveryMode?: Record; + /** The namespace on ZooKeeper under which Hive Server 2 nodes are added. */ + zooKeeperNameSpace?: Record; + /** Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL. */ + useNativeQuery?: Record; + /** The user name that you use to access Hive Server. */ + username?: Record; + /** The password corresponding to the user name that you provided in the Username field */ + password?: SecretBaseUnion; + /** The partial URL corresponding to the Hive server. */ + httpPath?: Record; + /** Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ + enableSsl?: Record; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + trustedCertPath?: Record; + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + useSystemTrustStore?: Record; + /** Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ + allowHostNameCNMismatch?: Record; + /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ + allowSelfSignedServerCert?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Hubspot Service linked service. */ +export type HubspotLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Hubspot"; + /** The client ID associated with your Hubspot application. */ + clientId: Record; + /** The client secret associated with your Hubspot application. */ + clientSecret?: SecretBaseUnion; + /** The access token obtained when initially authenticating your OAuth integration. */ + accessToken?: SecretBaseUnion; + /** The refresh token obtained when initially authenticating your OAuth integration. */ + refreshToken?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Impala server linked service. */ +export type ImpalaLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Impala"; + /** The IP address or host name of the Impala server. (i.e. 192.168.222.160) */ + host: Record; + /** The TCP port that the Impala server uses to listen for client connections. The default value is 21050. */ + port?: Record; + /** The authentication type to use. */ + authenticationType: ImpalaAuthenticationType; + /** The user name used to access the Impala server. The default value is anonymous when using SASLUsername. */ + username?: Record; + /** The password corresponding to the user name when using UsernameAndPassword. */ + password?: SecretBaseUnion; + /** Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ + enableSsl?: Record; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + trustedCertPath?: Record; + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + useSystemTrustStore?: Record; + /** Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ + allowHostNameCNMismatch?: Record; + /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ + allowSelfSignedServerCert?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Jira Service linked service. */ +export type JiraLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Jira"; + /** The IP address or host name of the Jira service. (e.g. jira.example.com) */ + host: Record; + /** The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP. */ + port?: Record; + /** The user name that you use to access Jira Service. */ + username: Record; + /** The password corresponding to the user name that you provided in the username field. */ + password?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Magento server linked service. */ +export type MagentoLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Magento"; + /** The URL of the Magento instance. (i.e. 192.168.222.110/magento3) */ + host: Record; + /** The access token from Magento. */ + accessToken?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Amazon S3 read settings. - */ -export interface AmazonS3ReadSettings { - /** - * Polymorphic Discriminator - */ - type: "AmazonS3ReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * AmazonS3 wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). - */ - prefix?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** MariaDB server linked service. */ +export type MariaDBLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MariaDB"; + /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of password in connection string. */ + pwd?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Azure data lake store read settings. - */ -export interface AzureDataLakeStoreReadSettings { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeStoreReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * ADLS wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * ADLS wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Lists files after the value (exclusive) based on file/folder names’ lexicographical order. - * Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. - * Type: string (or Expression with resultType string). - */ - listAfter?: any; - /** - * Lists files before the value (inclusive) based on file/folder names’ lexicographical order. - * Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. - * Type: string (or Expression with resultType string). - */ - listBefore?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** Azure Database for MariaDB linked service. */ +export type AzureMariaDBLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMariaDB"; + /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of password in connection string. */ + pwd?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Azure blobFS read settings. - */ -export interface AzureBlobFSReadSettings { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobFSReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * Azure blobFS wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** Marketo server linked service. */ +export type MarketoLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Marketo"; + /** The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com) */ + endpoint: Record; + /** The client Id of your Marketo service. */ + clientId: Record; + /** The client secret of your Marketo service. */ + clientSecret?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Azure blob read settings. - */ -export interface AzureBlobStorageReadSettings { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobStorageReadSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Azure blob wildcardFolderPath. Type: string (or Expression with resultType string). - */ - wildcardFolderPath?: any; - /** - * Azure blob wildcardFileName. Type: string (or Expression with resultType string). - */ - wildcardFileName?: any; - /** - * The prefix filter for the Azure Blob name. Type: string (or Expression with resultType - * string). - */ - prefix?: any; - /** - * Point to a text file that lists each file (relative path to the path configured in the - * dataset) that you want to copy. Type: string (or Expression with resultType string). - */ - fileListPath?: any; - /** - * Indicates whether to enable partition discovery. - */ - enablePartitionDiscovery?: boolean; - /** - * Specify the root path where partition discovery starts from. Type: string (or Expression with - * resultType string). - */ - partitionRootPath?: any; - /** - * Indicates whether the source files need to be deleted after copy completion. Default is false. - * Type: boolean (or Expression with resultType boolean). - */ - deleteFilesAfterCompletion?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; -} +/** Paypal Service linked service. */ +export type PaypalLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Paypal"; + /** The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) */ + host: Record; + /** The client ID associated with your PayPal application. */ + clientId: Record; + /** The client secret associated with your PayPal application. */ + clientSecret?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Activity to get metadata of dataset - */ -export interface GetMetadataActivity { - /** - * Polymorphic Discriminator - */ - type: "GetMetadata"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * GetMetadata activity dataset reference. - */ - dataset: DatasetReference; - /** - * Fields of metadata to get from dataset. - */ - fieldList?: any[]; - /** - * GetMetadata activity store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * GetMetadata activity format settings. - */ - formatSettings?: FormatReadSettingsUnion; -} +/** Phoenix server linked service. */ +export type PhoenixLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Phoenix"; + /** The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) */ + host: Record; + /** The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765. */ + port?: Record; + /** The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). The default value is hbasephoenix if using WindowsAzureHDInsightService. */ + httpPath?: Record; + /** The authentication mechanism used to connect to the Phoenix server. */ + authenticationType: PhoenixAuthenticationType; + /** The user name used to connect to the Phoenix server. */ + username?: Record; + /** The password corresponding to the user name. */ + password?: SecretBaseUnion; + /** Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ + enableSsl?: Record; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + trustedCertPath?: Record; + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + useSystemTrustStore?: Record; + /** Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ + allowHostNameCNMismatch?: Record; + /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ + allowSelfSignedServerCert?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Web activity authentication properties. - */ -export interface WebActivityAuthentication { - /** - * Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal) - */ - type: string; - /** - * Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal - */ - pfx?: SecretBaseUnion; - /** - * Web activity authentication user name for basic authentication or ClientID when used for - * ServicePrincipal. Type: string (or Expression with resultType string). - */ - username?: any; - /** - * Password for the PFX file or basic authentication / Secret when used for ServicePrincipal - */ +/** Presto server linked service. */ +export type PrestoLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Presto"; + /** The IP address or host name of the Presto server. (i.e. 192.168.222.160) */ + host: Record; + /** The version of the Presto server. (i.e. 0.148-t) */ + serverVersion: Record; + /** The catalog context for all request against the server. */ + catalog: Record; + /** The TCP port that the Presto server uses to listen for client connections. The default value is 8080. */ + port?: Record; + /** The authentication mechanism used to connect to the Presto server. */ + authenticationType: PrestoAuthenticationType; + /** The user name used to connect to the Presto server. */ + username?: Record; + /** The password corresponding to the user name. */ password?: SecretBaseUnion; - /** - * Resource for which Azure Auth token will be requested when using MSI Authentication. Type: - * string (or Expression with resultType string). - */ - resource?: any; - /** - * TenantId for which Azure Auth token will be requested when using ServicePrincipal - * Authentication. Type: string (or Expression with resultType string). - */ - userTenant?: any; -} + /** Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ + enableSsl?: Record; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + trustedCertPath?: Record; + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + useSystemTrustStore?: Record; + /** Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ + allowHostNameCNMismatch?: Record; + /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ + allowSelfSignedServerCert?: Record; + /** The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. */ + timeZoneID?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Web activity. - */ -export interface WebActivity { - /** - * Polymorphic Discriminator - */ - type: "WebActivity"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Rest API method for target endpoint. Possible values include: 'GET', 'POST', 'PUT', 'DELETE' - */ - method: WebActivityMethod; - /** - * Web activity target endpoint and path. Type: string (or Expression with resultType string). - */ - url: any; - /** - * Represents the headers that will be sent to the request. For example, to set the language and - * type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": - * "application/json" }. Type: string (or Expression with resultType string). - */ - headers?: any; - /** - * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not - * allowed for GET method Type: string (or Expression with resultType string). - */ - body?: any; - /** - * Authentication method used for calling the endpoint. - */ - authentication?: WebActivityAuthentication; - /** - * List of datasets passed to web endpoint. - */ - datasets?: DatasetReference[]; - /** - * List of linked services passed to web endpoint. - */ - linkedServices?: LinkedServiceReference[]; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; -} +/** QuickBooks server linked service. */ +export type QuickBooksLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "QuickBooks"; + /** Properties used to connect to QuickBooks. It is mutually exclusive with any other properties in the linked service. Type: object. */ + connectionProperties?: Record; + /** The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) */ + endpoint?: Record; + /** The company ID of the QuickBooks company to authorize. */ + companyId?: Record; + /** The consumer key for OAuth 1.0 authentication. */ + consumerKey?: Record; + /** The consumer secret for OAuth 1.0 authentication. */ + consumerSecret?: SecretBaseUnion; + /** The access token for OAuth 1.0 authentication. */ + accessToken?: SecretBaseUnion; + /** The access token secret for OAuth 1.0 authentication. */ + accessTokenSecret?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** ServiceNow server linked service. */ +export type ServiceNowLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceNow"; + /** The endpoint of the ServiceNow server. (i.e. .service-now.com) */ + endpoint: Record; + /** The authentication type to use. */ + authenticationType: ServiceNowAuthenticationType; + /** The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. */ + username?: Record; + /** The password corresponding to the user name for Basic and OAuth2 authentication. */ + password?: SecretBaseUnion; + /** The client id for OAuth2 authentication. */ + clientId?: Record; + /** The client secret for OAuth2 authentication. */ + clientSecret?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Shopify Service linked service. */ +export type ShopifyLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Shopify"; + /** The endpoint of the Shopify server. (i.e. mystore.myshopify.com) */ + host: Record; + /** The API access token that can be used to access Shopify’s data. The token won't expire if it is offline mode. */ + accessToken?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Contains the possible cases for CopySource. - */ -export type CopySourceUnion = - | CopySource - | SharePointOnlineListSource - | AzureDatabricksDeltaLakeSource - | SnowflakeSource - | HttpSource - | AzureBlobFSSource - | AzureDataLakeStoreSource - | Office365Source - | CosmosDbMongoDbApiSource - | MongoDbV2Source - | MongoDbAtlasSource - | MongoDbSource - | WebSource - | OracleSource - | AzureDataExplorerSource - | HdfsSource - | FileSystemSource - | RestSource - | SalesforceServiceCloudSource - | ODataSource - | MicrosoftAccessSource - | RelationalSource - | CommonDataServiceForAppsSource - | DynamicsCrmSource - | DynamicsSource - | CosmosDbSqlApiSource - | DocumentDbCollectionSource - | BlobSource - | TabularSourceUnion - | BinarySource - | OrcSource - | XmlSource - | JsonSource - | DelimitedTextSource - | ParquetSource - | ExcelSource - | AvroSource; +/** Spark Server linked service. */ +export type SparkLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Spark"; + /** IP address or host name of the Spark server */ + host: Record; + /** The TCP port that the Spark server uses to listen for client connections. */ + port: Record; + /** The type of Spark server. */ + serverType?: SparkServerType; + /** The transport protocol to use in the Thrift layer. */ + thriftTransportProtocol?: SparkThriftTransportProtocol; + /** The authentication method used to access the Spark server. */ + authenticationType: SparkAuthenticationType; + /** The user name that you use to access Spark Server. */ + username?: Record; + /** The password corresponding to the user name that you provided in the Username field */ + password?: SecretBaseUnion; + /** The partial URL corresponding to the Spark server. */ + httpPath?: Record; + /** Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ + enableSsl?: Record; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + trustedCertPath?: Record; + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + useSystemTrustStore?: Record; + /** Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ + allowHostNameCNMismatch?: Record; + /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ + allowSelfSignedServerCert?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * A copy activity source. - */ -export interface CopySource { - /** - * Polymorphic Discriminator - */ - type: "CopySource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** Square Service linked service. */ +export type SquareLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Square"; + /** Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object. */ + connectionProperties?: Record; + /** The URL of the Square instance. (i.e. mystore.mysquare.com) */ + host?: Record; + /** The client ID associated with your Square application. */ + clientId?: Record; + /** The client secret associated with your Square application. */ + clientSecret?: SecretBaseUnion; + /** The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) */ + redirectUri?: Record; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * A copy activity source for sharePoint online list source. - */ -export interface SharePointOnlineListSource { - /** - * Polymorphic Discriminator - */ - type: "SharePointOnlineListSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: - * string (or Expression with resultType string). - */ - query?: any; +/** Xero Service linked service. */ +export type XeroLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Xero"; + /** Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object. */ + connectionProperties?: Record; + /** The endpoint of the Xero server. (i.e. api.xero.com) */ + host?: Record; + /** The consumer key associated with the Xero application. */ + consumerKey?: SecretBaseUnion; /** - * The wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). - * Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( + * ). */ - httpRequestTimeout?: any; -} + privateKey?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Contains the possible cases for ExportSettings. - */ -export type ExportSettingsUnion = - | ExportSettings - | SnowflakeExportCopyCommand - | AzureDatabricksDeltaLakeExportCommand; +/** Zoho server linked service. */ +export type ZohoLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Zoho"; + /** Properties used to connect to Zoho. It is mutually exclusive with any other properties in the linked service. Type: object. */ + connectionProperties?: Record; + /** The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) */ + endpoint?: Record; + /** The access token for Zoho authentication. */ + accessToken?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Export command settings. - */ -export interface ExportSettings { - /** - * Polymorphic Discriminator - */ - type: "ExportSettings"; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** Vertica linked service. */ +export type VerticaLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Vertica"; + /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of password in connection string. */ + pwd?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Snowflake export command settings. - */ -export interface SnowflakeExportCopyCommand { - /** - * Polymorphic Discriminator - */ - type: "SnowflakeExportCopyCommand"; - /** - * Additional copy options directly passed to snowflake Copy Command. Type: key value pairs - * (value should be string type) (or Expression with resultType object). Example: - * "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } - */ - additionalCopyOptions?: { [propertyName: string]: any }; - /** - * Additional format options directly passed to snowflake Copy Command. Type: key value pairs - * (value should be string type) (or Expression with resultType object). Example: - * "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } - */ - additionalFormatOptions?: { [propertyName: string]: any }; -} +/** Netezza linked service. */ +export type NetezzaLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Netezza"; + /** An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + connectionString?: Record; + /** The Azure key vault secret reference of password in connection string. */ + pwd?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Azure Databricks Delta Lake export command settings. - */ -export interface AzureDatabricksDeltaLakeExportCommand { - /** - * Polymorphic Discriminator - */ - type: "AzureDatabricksDeltaLakeExportCommand"; - /** - * Specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or - * Expression with resultType string). - */ - dateFormat?: any; - /** - * Specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or - * Expression with resultType string). - */ - timestampFormat?: any; -} +/** Salesforce Marketing Cloud linked service. */ +export type SalesforceMarketingCloudLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceMarketingCloud"; + /** Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any other properties in the linked service. Type: object. */ + connectionProperties?: Record; + /** The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). */ + clientId?: Record; + /** The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string). */ + clientSecret?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * A copy activity Azure Databricks Delta Lake source. - */ -export interface AzureDatabricksDeltaLakeSource { - /** - * Polymorphic Discriminator - */ - type: "AzureDatabricksDeltaLakeSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Azure Databricks Delta Lake Sql query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Azure Databricks Delta Lake export settings. - */ - exportSettings?: AzureDatabricksDeltaLakeExportCommand; -} +/** HDInsight ondemand linked service. */ +export type HDInsightOnDemandLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HDInsightOnDemand"; + /** Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). */ + clusterSize: Record; + /** The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string). */ + timeToLive: Record; + /** Version of the HDInsight cluster.  Type: string (or Expression with resultType string). */ + version: Record; + /** Azure Storage linked service to be used by the on-demand cluster for storing and processing data. */ + linkedServiceName: LinkedServiceReference; + /** The customer’s subscription to host the cluster. Type: string (or Expression with resultType string). */ + hostSubscriptionId: Record; + /** The service principal id for the hostSubscriptionId. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key for the service principal id. */ + servicePrincipalKey?: SecretBaseUnion; + /** The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant: Record; + /** The resource group where the cluster belongs. Type: string (or Expression with resultType string). */ + clusterResourceGroup: Record; + /** The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string). */ + clusterNamePrefix?: Record; + /** The username to access the cluster. Type: string (or Expression with resultType string). */ + clusterUserName?: Record; + /** The password to access the cluster. */ + clusterPassword?: SecretBaseUnion; + /** The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string). */ + clusterSshUserName?: Record; + /** The password to SSH remotely connect cluster’s node (for Linux). */ + clusterSshPassword?: SecretBaseUnion; + /** Specifies additional storage accounts for the HDInsight linked service so that the Data Factory service can register them on your behalf. */ + additionalLinkedServiceNames?: LinkedServiceReference[]; + /** The name of Azure SQL linked service that point to the HCatalog database. The on-demand HDInsight cluster is created by using the Azure SQL database as the metastore. */ + hcatalogLinkedServiceName?: LinkedServiceReference; + /** The cluster type. Type: string (or Expression with resultType string). */ + clusterType?: Record; + /** The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string). */ + sparkVersion?: Record; + /** Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to be created. */ + coreConfiguration?: Record; + /** Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. */ + hBaseConfiguration?: Record; + /** Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. */ + hdfsConfiguration?: Record; + /** Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. */ + hiveConfiguration?: Record; + /** Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. */ + mapReduceConfiguration?: Record; + /** Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. */ + oozieConfiguration?: Record; + /** Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. */ + stormConfiguration?: Record; + /** Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. */ + yarnConfiguration?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** Specifies the size of the head node for the HDInsight cluster. */ + headNodeSize?: Record; + /** Specifies the size of the data node for the HDInsight cluster. */ + dataNodeSize?: Record; + /** Specifies the size of the Zoo Keeper node for the HDInsight cluster. */ + zookeeperNodeSize?: Record; + /** Custom script actions to run on HDI ondemand cluster once it's up. Please refer to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. */ + scriptActions?: ScriptAction[]; + /** The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). */ + virtualNetworkId?: Record; + /** The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). */ + subnetName?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; -/** - * A copy activity snowflake source. - */ -export interface SnowflakeSource { - /** - * Polymorphic Discriminator - */ - type: "SnowflakeSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Snowflake Sql query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Snowflake export settings. - */ - exportSettings?: SnowflakeExportCopyCommand; -} +/** Azure Data Lake Analytics linked service. */ +export type AzureDataLakeAnalyticsLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataLakeAnalytics"; + /** The Azure Data Lake Analytics account name. Type: string (or Expression with resultType string). */ + accountName: Record; + /** The ID of the application used to authenticate against the Azure Data Lake Analytics account. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The Key of the application used to authenticate against the Azure Data Lake Analytics account. */ + servicePrincipalKey?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant: Record; + /** Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string). */ + subscriptionId?: Record; + /** Data Lake Analytics account resource group name (if different from Data Factory account). Type: string (or Expression with resultType string). */ + resourceGroupName?: Record; + /** Azure Data Lake Analytics URI Type: string (or Expression with resultType string). */ + dataLakeAnalyticsUri?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * A copy activity source for an HTTP file. - */ -export interface HttpSource { - /** - * Polymorphic Discriminator - */ - type: "HttpSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default - * value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; -} +/** Azure Databricks linked service. */ +export type AzureDatabricksLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricks"; + /** .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). */ + domain: Record; + /** Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression with resultType string). */ + accessToken?: SecretBaseUnion; + /** Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). */ + authentication?: Record; + /** Workspace resource id for databricks REST API. Type: string (or Expression with resultType string). */ + workspaceResourceId?: Record; + /** The id of an existing interactive cluster that will be used for all runs of this activity. Type: string (or Expression with resultType string). */ + existingClusterId?: Record; + /** The id of an existing instance pool that will be used for all runs of this activity. Type: string (or Expression with resultType string). */ + instancePoolId?: Record; + /** If not using an existing interactive cluster, this specifies the Spark version of a new job cluster or instance pool nodes created for each run of this activity. Required if instancePoolId is specified. Type: string (or Expression with resultType string). */ + newClusterVersion?: Record; + /** If not using an existing interactive cluster, this specifies the number of worker nodes to use for the new job cluster or instance pool. For new job clusters, this a string-formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For instance pools, this is a string-formatted Int32, and can only specify a fixed number of worker nodes, such as '2'. Required if newClusterVersion is specified. Type: string (or Expression with resultType string). */ + newClusterNumOfWorker?: Record; + /** The node type of the new job cluster. This property is required if newClusterVersion is specified and instancePoolId is not specified. If instancePoolId is specified, this property is ignored. Type: string (or Expression with resultType string). */ + newClusterNodeType?: Record; + /** A set of optional, user-specified Spark configuration key-value pairs. */ + newClusterSparkConf?: { [propertyName: string]: Record }; + /** A set of optional, user-specified Spark environment variables key-value pairs. */ + newClusterSparkEnvVars?: { [propertyName: string]: Record }; + /** Additional tags for cluster resources. This property is ignored in instance pool configurations. */ + newClusterCustomTags?: { [propertyName: string]: Record }; + /** Specify a location to deliver Spark driver, worker, and event logs. Type: string (or Expression with resultType string). */ + newClusterLogDestination?: Record; + /** The driver node type for the new job cluster. This property is ignored in instance pool configurations. Type: string (or Expression with resultType string). */ + newClusterDriverNodeType?: Record; + /** User-defined initialization scripts for the new cluster. Type: array of strings (or Expression with resultType array of strings). */ + newClusterInitScripts?: Record; + /** Enable the elastic disk on the new cluster. This property is now ignored, and takes the default elastic disk behavior in Databricks (elastic disks are always enabled). Type: boolean (or Expression with resultType boolean). */ + newClusterEnableElasticDisk?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** The policy id for limiting the ability to configure clusters based on a user defined set of rules. Type: string (or Expression with resultType string). */ + policyId?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; -/** - * A copy activity Azure BlobFS source. - */ -export interface AzureBlobFSSource { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobFSSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Treat empty as null. Type: boolean (or Expression with resultType boolean). - */ - treatEmptyAsNull?: any; - /** - * Number of header lines to skip from each blob. Type: integer (or Expression with resultType - * integer). - */ - skipHeaderLineCount?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; -} +/** Azure Databricks Delta Lake linked service. */ +export type AzureDatabricksDeltaLakeLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricksDeltaLake"; + /** .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string). */ + domain: Record; + /** Access token for databricks REST API. Refer to https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or AzureKeyVaultSecretReference. */ + accessToken?: SecretBaseUnion; + /** The id of an existing interactive cluster that will be used for all runs of this job. Type: string (or Expression with resultType string). */ + clusterId?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * A copy activity Azure Data Lake source. - */ -export interface AzureDataLakeStoreSource { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeStoreSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; -} +/** Responsys linked service. */ +export type ResponsysLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Responsys"; + /** The endpoint of the Responsys server. */ + endpoint: Record; + /** The client ID associated with the Responsys application. Type: string (or Expression with resultType string). */ + clientId: Record; + /** The client secret associated with the Responsys application. Type: string (or Expression with resultType string). */ + clientSecret?: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Dynamics AX linked service. */ +export type DynamicsAXLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsAX"; + /** The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. */ + url: Record; + /** Specify the application's client ID. Type: string (or Expression with resultType string). */ + servicePrincipalId: Record; + /** Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string). */ + servicePrincipalKey: SecretBaseUnion; + /** Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string). */ + tenant: Record; + /** Specify the resource you are requesting authorization. Type: string (or Expression with resultType string). */ + aadResourceId: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Oracle Service Cloud linked service. */ +export type OracleServiceCloudLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleServiceCloud"; + /** The URL of the Oracle Service Cloud instance. */ + host: Record; + /** The user name that you use to access Oracle Service Cloud server. */ + username: Record; + /** The password corresponding to the user name that you provided in the username key. */ + password: SecretBaseUnion; + /** Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean). */ + useEncryptedEndpoints?: Record; + /** Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ + useHostVerification?: Record; + /** Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean). */ + usePeerVerification?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; + +/** Google AdWords service linked service. */ +export type GoogleAdWordsLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleAdWords"; + /** The Client customer ID of the AdWords account that you want to fetch report data for. */ + clientCustomerID: Record; + /** The developer token associated with the manager account that you use to grant access to the AdWords API. */ + developerToken: SecretBaseUnion; + /** The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. */ + authenticationType: GoogleAdWordsAuthenticationType; + /** The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication. */ + refreshToken?: SecretBaseUnion; + /** The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). */ + clientId?: Record; + /** The client secret of the google application used to acquire the refresh token. */ + clientSecret?: SecretBaseUnion; + /** The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR. */ + email?: Record; + /** The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR. */ + keyFilePath?: Record; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + trustedCertPath?: Record; + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + useSystemTrustStore?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * A copy activity source for an Office 365 service. - */ -export interface Office365Source { - /** - * Polymorphic Discriminator - */ - type: "Office365Source"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The groups containing all the users. Type: array of strings (or Expression with resultType - * array of strings). - */ - allowedGroups?: any; - /** - * The user scope uri. Type: string (or Expression with resultType string). - */ - userScopeFilterUri?: any; - /** - * The Column to apply the and . Type: - * string (or Expression with resultType string). - */ - dateFilterColumn?: any; - /** - * Start time of the requested range for this dataset. Type: string (or Expression with - * resultType string). - */ - startTime?: any; - /** - * End time of the requested range for this dataset. Type: string (or Expression with resultType - * string). - */ - endTime?: any; - /** - * The columns to be read out from the Office 365 table. Type: array of objects (or Expression - * with resultType array of objects). Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } - * ] - */ - outputColumns?: any; -} +/** SAP Table Linked Service. */ +export type SapTableLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapTable"; + /** Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). */ + server?: Record; + /** System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). */ + systemNumber?: Record; + /** Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */ + clientId?: Record; + /** Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). */ + language?: Record; + /** SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). */ + systemId?: Record; + /** Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ + userName?: Record; + /** Password to access the SAP server where the table is located. */ + password?: SecretBaseUnion; + /** The hostname of the SAP Message Server. Type: string (or Expression with resultType string). */ + messageServer?: Record; + /** The service name or port number of the Message Server. Type: string (or Expression with resultType string). */ + messageServerService?: Record; + /** SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). */ + sncMode?: Record; + /** Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ + sncMyName?: Record; + /** Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ + sncPartnerName?: Record; + /** External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ + sncLibraryPath?: Record; + /** SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). */ + sncQop?: Record; + /** The Logon Group for the SAP System. Type: string (or Expression with resultType string). */ + logonGroup?: Record; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * Specify the column name and value of additional columns. - */ -export interface AdditionalColumns { - /** - * Additional column name. Type: string (or Expression with resultType string). - */ - name?: any; - /** - * Additional column value. Type: string (or Expression with resultType string). - */ - value?: any; -} +/** Azure Data Explorer (Kusto) linked service. */ +export type AzureDataExplorerLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataExplorer"; + /** The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format https://..kusto.windows.net. Type: string (or Expression with resultType string) */ + endpoint: Record; + /** The ID of the service principal used to authenticate against Azure Data Explorer. Type: string (or Expression with resultType string). */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate against Kusto. */ + servicePrincipalKey?: SecretBaseUnion; + /** Database name for connection. Type: string (or Expression with resultType string). */ + database: Record; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; +}; -/** - * Cursor methods for Mongodb query - */ -export interface MongoDbCursorMethodsProperties { - /** - * Specifies the fields to return in the documents that match the query filter. To return all - * fields in the matching documents, omit this parameter. Type: string (or Expression with - * resultType string). - */ - project?: any; - /** - * Specifies the order in which the query returns matching documents. Type: string (or Expression - * with resultType string). Type: string (or Expression with resultType string). - */ - sort?: any; - /** - * Specifies the how many documents skipped and where MongoDB begins returning results. This - * approach may be useful in implementing paginated results. Type: integer (or Expression with - * resultType integer). - */ - skip?: any; - /** - * Specifies the maximum number of documents the server returns. limit() is analogous to the - * LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer). - */ - limit?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** Azure Function linked service. */ +export type AzureFunctionLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureFunction"; + /** The endpoint of the Azure Function App. URL will be in the format https://.azurewebsites.net. */ + functionAppUrl: Record; + /** Function or Host key for Azure Function App. */ + functionKey?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; + /** Allowed token audiences for azure function. */ + resourceId?: Record; + /** Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string). */ + authentication?: Record; +}; -/** - * A copy activity source for a CosmosDB (MongoDB API) database. - */ -export interface CosmosDbMongoDbApiSource { - /** - * Polymorphic Discriminator - */ - type: "CosmosDbMongoDbApiSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies selection filter using query operators. To return all documents in a collection, - * omit this parameter or pass an empty document ({}). Type: string (or Expression with - * resultType string). - */ - filter?: any; - /** - * Cursor methods for Mongodb query. - */ - cursorMethods?: MongoDbCursorMethodsProperties; - /** - * Specifies the number of documents to return in each batch of the response from MongoDB - * instance. In most cases, modifying the batch size will not affect the user or the application. - * This property's main purpose is to avoid hit the limitation of response size. Type: integer - * (or Expression with resultType integer). - */ - batchSize?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** Snowflake linked service. */ +export type SnowflakeLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Snowflake"; + /** The connection string of snowflake. Type: string, SecureString. */ + connectionString: Record; + /** The Azure key vault secret reference of password in connection string. */ + password?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * A copy activity source for a MongoDB database. - */ -export interface MongoDbV2Source { - /** - * Polymorphic Discriminator - */ - type: "MongoDbV2Source"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies selection filter using query operators. To return all documents in a collection, - * omit this parameter or pass an empty document ({}). Type: string (or Expression with - * resultType string). - */ - filter?: any; - /** - * Cursor methods for Mongodb query - */ - cursorMethods?: MongoDbCursorMethodsProperties; - /** - * Specifies the number of documents to return in each batch of the response from MongoDB - * instance. In most cases, modifying the batch size will not affect the user or the application. - * This property's main purpose is to avoid hit the limitation of response size. Type: integer - * (or Expression with resultType integer). - */ - batchSize?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** SharePoint Online List linked service. */ +export type SharePointOnlineListLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SharePointOnlineList"; + /** The URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string). */ + siteUrl: Record; + /** The tenant ID under which your application resides. You can find it from Azure portal Active Directory overview page. Type: string (or Expression with resultType string). */ + tenantId: Record; + /** The application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). */ + servicePrincipalId: Record; + /** The client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ + servicePrincipalKey: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: Record; +}; -/** - * A copy activity source for a MongoDB Atlas database. - */ -export interface MongoDbAtlasSource { - /** - * Polymorphic Discriminator - */ - type: "MongoDbAtlasSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies selection filter using query operators. To return all documents in a collection, - * omit this parameter or pass an empty document ({}). Type: string (or Expression with - * resultType string). - */ - filter?: any; - /** - * Cursor methods for Mongodb query - */ - cursorMethods?: MongoDbCursorMethodsProperties; - /** - * Specifies the number of documents to return in each batch of the response from MongoDB Atlas - * instance. In most cases, modifying the batch size will not affect the user or the application. - * This property's main purpose is to avoid hit the limitation of response size. Type: integer - * (or Expression with resultType integer). - */ - batchSize?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** A single Amazon Simple Storage Service (S3) object or a set of S3 objects. */ +export type AmazonS3Dataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonS3Object"; + /** The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). */ + bucketName: Record; + /** The key of the Amazon S3 object. Type: string (or Expression with resultType string). */ + key?: Record; + /** The prefix filter for the S3 object name. Type: string (or Expression with resultType string). */ + prefix?: Record; + /** The version for the S3 object. Type: string (or Expression with resultType string). */ + version?: Record; + /** The start of S3 object's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of S3 object's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; + /** The format of files. */ + format?: DatasetStorageFormatUnion; + /** The data compression method used for the Amazon S3 object. */ + compression?: DatasetCompression; +}; -/** - * A copy activity source for a MongoDB database. - */ -export interface MongoDbSource { - /** - * Polymorphic Discriminator - */ - type: "MongoDbSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Database query. Should be a SQL-92 query expression. Type: string (or Expression with - * resultType string). - */ - query?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** Avro dataset. */ +export type AvroDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Avro"; + /** The location of the avro storage. */ + location?: DatasetLocationUnion; + /** The data avroCompressionCodec. Type: string (or Expression with resultType string). */ + avroCompressionCodec?: Record; + avroCompressionLevel?: number; +}; -/** - * A copy activity source for web page table. - */ -export interface WebSource { - /** - * Polymorphic Discriminator - */ - type: "WebSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** Excel dataset. */ +export type ExcelDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Excel"; + /** The location of the excel storage. */ + location?: DatasetLocationUnion; + /** The sheet name of excel file. Type: string (or Expression with resultType string). */ + sheetName?: Record; + /** The sheet index of excel file and default value is 0. Type: integer (or Expression with resultType integer) */ + sheetIndex?: Record; + /** The partial data of one sheet. Type: string (or Expression with resultType string). */ + range?: Record; + /** When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). */ + firstRowAsHeader?: Record; + /** The data compression method used for the json dataset. */ + compression?: DatasetCompression; + /** The null value string. Type: string (or Expression with resultType string). */ + nullValue?: Record; +}; -/** - * The settings that will be leveraged for Oracle source partitioning. - */ -export interface OraclePartitionSettings { - /** - * Names of the physical partitions of Oracle table. - */ - partitionNames?: any; - /** - * The name of the column in integer type that will be used for proceeding range partitioning. - * Type: string (or Expression with resultType string). - */ - partitionColumnName?: any; - /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding - * range partitioning. Type: string (or Expression with resultType string). - */ - partitionUpperBound?: any; - /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding - * range partitioning. Type: string (or Expression with resultType string). - */ - partitionLowerBound?: any; -} +/** Parquet dataset. */ +export type ParquetDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Parquet"; + /** The location of the parquet storage. */ + location?: DatasetLocationUnion; + /** The data compressionCodec. Type: string (or Expression with resultType string). */ + compressionCodec?: Record; +}; -/** - * A copy activity Oracle source. - */ -export interface OracleSource { - /** - * Polymorphic Discriminator - */ - type: "OracleSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Oracle reader query. Type: string (or Expression with resultType string). - */ - oracleReaderQuery?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * The partition mechanism that will be used for Oracle read in parallel. Possible values - * include: "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Oracle source partitioning. - */ - partitionSettings?: OraclePartitionSettings; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** Delimited text dataset. */ +export type DelimitedTextDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DelimitedText"; + /** The location of the delimited text storage. */ + location?: DatasetLocationUnion; + /** The column delimiter. Type: string (or Expression with resultType string). */ + columnDelimiter?: Record; + /** The row delimiter. Type: string (or Expression with resultType string). */ + rowDelimiter?: Record; + /** The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). */ + encodingName?: Record; + /** The data compressionCodec. Type: string (or Expression with resultType string). */ + compressionCodec?: Record; + /** The data compression method used for DelimitedText. */ + compressionLevel?: Record; + /** The quote character. Type: string (or Expression with resultType string). */ + quoteChar?: Record; + /** The escape character. Type: string (or Expression with resultType string). */ + escapeChar?: Record; + /** When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). */ + firstRowAsHeader?: Record; + /** The null value string. Type: string (or Expression with resultType string). */ + nullValue?: Record; +}; -/** - * A copy activity Azure Data Explorer (Kusto) source. - */ -export interface AzureDataExplorerSource { - /** - * Polymorphic Discriminator - */ - type: "AzureDataExplorerSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with - * resultType string). - */ - query: any; - /** - * The name of the Boolean option that controls whether truncation is applied to result-sets that - * go beyond a certain row-count limit. - */ - noTruncation?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** Json dataset. */ +export type JsonDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Json"; + /** The location of the json data storage. */ + location?: DatasetLocationUnion; + /** The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). */ + encodingName?: Record; + /** The data compression method used for the json dataset. */ + compression?: DatasetCompression; +}; + +/** Xml dataset. */ +export type XmlDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Xml"; + /** The location of the json data storage. */ + location?: DatasetLocationUnion; + /** The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). */ + encodingName?: Record; + /** The null value string. Type: string (or Expression with resultType string). */ + nullValue?: Record; + /** The data compression method used for the json dataset. */ + compression?: DatasetCompression; +}; + +/** ORC dataset. */ +export type OrcDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Orc"; + /** The location of the ORC data storage. */ + location?: DatasetLocationUnion; + /** The data orcCompressionCodec. Type: string (or Expression with resultType string). */ + orcCompressionCodec?: Record; +}; -/** - * A copy activity HDFS source. - */ -export interface HdfsSource { - /** - * Polymorphic Discriminator - */ - type: "HdfsSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Specifies Distcp-related settings. - */ - distcpSettings?: DistcpSettings; -} +/** Binary dataset. */ +export type BinaryDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Binary"; + /** The location of the Binary storage. */ + location?: DatasetLocationUnion; + /** The data compression method used for the binary dataset. */ + compression?: DatasetCompression; +}; -/** - * A copy activity file system source. - */ -export interface FileSystemSource { - /** - * Polymorphic Discriminator - */ - type: "FileSystemSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The Azure Blob storage. */ +export type AzureBlobDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlob"; + /** The path of the Azure Blob storage. Type: string (or Expression with resultType string). */ + folderPath?: Record; + /** The root of blob path. Type: string (or Expression with resultType string). */ + tableRootLocation?: Record; + /** The name of the Azure Blob. Type: string (or Expression with resultType string). */ + fileName?: Record; + /** The start of Azure Blob's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of Azure Blob's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; + /** The format of the Azure Blob storage. */ + format?: DatasetStorageFormatUnion; + /** The data compression method used for the blob storage. */ + compression?: DatasetCompression; +}; -/** - * A copy activity Rest service source. - */ -export interface RestSource { - /** - * Polymorphic Discriminator - */ - type: "RestSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression - * with resultType string). - */ - requestMethod?: any; - /** - * The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression - * with resultType string). - */ - requestBody?: any; - /** - * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression - * with resultType string). - */ - additionalHeaders?: any; - /** - * The pagination rules to compose next page requests. Type: string (or Expression with - * resultType string). - */ - paginationRules?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the - * timeout to read response data. Default value: 00:01:40. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; - /** - * The time to await before sending next page request. - */ - requestInterval?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The Azure Table storage dataset. */ +export type AzureTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureTable"; + /** The table name of the Azure Table storage. Type: string (or Expression with resultType string). */ + tableName: Record; +}; -/** - * A copy activity Salesforce Service Cloud source. - */ -export interface SalesforceServiceCloudSource { - /** - * Polymorphic Discriminator - */ - type: "SalesforceServiceCloudSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The read behavior for the operation. Default is Query. Possible values include: 'Query', - * 'QueryAll' - */ - readBehavior?: SalesforceSourceReadBehavior; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The Azure SQL Server database dataset. */ +export type AzureSqlTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSqlTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The schema name of the Azure SQL database. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of the Azure SQL database. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * A copy activity source for OData source. - */ -export interface ODataSource { - /** - * Polymorphic Discriminator - */ - type: "ODataSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * OData query. For example, "$top=1". Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the - * timeout to read response data. Default value: 00:05:00. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The Azure SQL Managed Instance dataset. */ +export type AzureSqlMITableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSqlMITable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * A copy activity source for Microsoft Access. - */ -export interface MicrosoftAccessSource { - /** - * Polymorphic Discriminator - */ - type: "MicrosoftAccessSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The Azure SQL Data Warehouse dataset. */ +export type AzureSqlDWTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSqlDWTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * A copy activity source for various relational databases. - */ -export interface RelationalSource { - /** - * Polymorphic Discriminator - */ - type: "RelationalSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The Cassandra database dataset. */ +export type CassandraTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CassandraTable"; + /** The table name of the Cassandra database. Type: string (or Expression with resultType string). */ + tableName?: Record; + /** The keyspace of the Cassandra database. Type: string (or Expression with resultType string). */ + keyspace?: Record; +}; -/** - * A copy activity Common Data Service for Apps source. - */ -export interface CommonDataServiceForAppsSource { - /** - * Polymorphic Discriminator - */ - type: "CommonDataServiceForAppsSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * FetchXML is a proprietary query language that is used in Microsoft Common Data Service for - * Apps (online & on-premises). Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The custom dataset. */ +export type CustomDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CustomDataset"; + /** Custom dataset properties. */ + typeProperties?: Record; +}; -/** - * A copy activity Dynamics CRM source. - */ -export interface DynamicsCrmSource { - /** - * Polymorphic Discriminator - */ - type: "DynamicsCrmSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & - * on-premises). Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** Microsoft Azure CosmosDB (SQL API) Collection dataset. */ +export type CosmosDbSqlApiCollectionDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CosmosDbSqlApiCollection"; + /** CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). */ + collectionName: Record; +}; -/** - * A copy activity Dynamics source. - */ -export interface DynamicsSource { - /** - * Polymorphic Discriminator - */ - type: "DynamicsSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & - * on-premises). Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** Microsoft Azure Document Database Collection dataset. */ +export type DocumentDbCollectionDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DocumentDbCollection"; + /** Document Database collection name. Type: string (or Expression with resultType string). */ + collectionName: Record; +}; -/** - * A copy activity Azure CosmosDB (SQL API) Collection source. - */ -export interface CosmosDbSqlApiSource { - /** - * Polymorphic Discriminator - */ - type: "CosmosDbSqlApiSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL API query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Page size of the result. Type: integer (or Expression with resultType integer). - */ - pageSize?: any; - /** - * Preferred regions. Type: array of strings (or Expression with resultType array of strings). - */ - preferredRegions?: any; - /** - * Whether detect primitive values as datetime values. Type: boolean (or Expression with - * resultType boolean). - */ - detectDatetime?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The Dynamics entity dataset. */ +export type DynamicsEntityDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsEntity"; + /** The logical name of the entity. Type: string (or Expression with resultType string). */ + entityName?: Record; +}; + +/** The Dynamics CRM entity dataset. */ +export type DynamicsCrmEntityDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsCrmEntity"; + /** The logical name of the entity. Type: string (or Expression with resultType string). */ + entityName?: Record; +}; + +/** The Common Data Service for Apps entity dataset. */ +export type CommonDataServiceForAppsEntityDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CommonDataServiceForAppsEntity"; + /** The logical name of the entity. Type: string (or Expression with resultType string). */ + entityName?: Record; +}; + +/** Azure Data Lake Store dataset. */ +export type AzureDataLakeStoreDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataLakeStoreFile"; + /** Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string). */ + folderPath?: Record; + /** The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string). */ + fileName?: Record; + /** The format of the Data Lake Store. */ + format?: DatasetStorageFormatUnion; + /** The data compression method used for the item(s) in the Azure Data Lake Store. */ + compression?: DatasetCompression; +}; + +/** The Azure Data Lake Storage Gen2 storage. */ +export type AzureBlobFSDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobFSFile"; + /** The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with resultType string). */ + folderPath?: Record; + /** The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with resultType string). */ + fileName?: Record; + /** The format of the Azure Data Lake Storage Gen2 storage. */ + format?: DatasetStorageFormatUnion; + /** The data compression method used for the blob storage. */ + compression?: DatasetCompression; +}; -/** - * A copy activity Document Database Collection source. - */ -export interface DocumentDbCollectionSource { - /** - * Polymorphic Discriminator - */ - type: "DocumentDbCollectionSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Documents query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * Nested properties separator. Type: string (or Expression with resultType string). - */ - nestingSeparator?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The Office365 account. */ +export type Office365Dataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Office365Table"; + /** Name of the dataset to extract from Office 365. Type: string (or Expression with resultType string). */ + tableName: Record; + /** A predicate expression that can be used to filter the specific rows to extract from Office 365. Type: string (or Expression with resultType string). */ + predicate?: Record; +}; -/** - * A copy activity Azure Blob source. - */ -export interface BlobSource { - /** - * Polymorphic Discriminator - */ - type: "BlobSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Treat empty as null. Type: boolean (or Expression with resultType boolean). - */ - treatEmptyAsNull?: any; - /** - * Number of header lines to skip from each blob. Type: integer (or Expression with resultType - * integer). - */ - skipHeaderLineCount?: any; - /** - * If true, files under the folder path will be read recursively. Default is true. Type: boolean - * (or Expression with resultType boolean). - */ - recursive?: any; -} +/** An on-premises file system dataset. */ +export type FileShareDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FileShare"; + /** The path of the on-premises file system. Type: string (or Expression with resultType string). */ + folderPath?: Record; + /** The name of the on-premises file system. Type: string (or Expression with resultType string). */ + fileName?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; + /** The format of the files. */ + format?: DatasetStorageFormatUnion; + /** Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). */ + fileFilter?: Record; + /** The data compression method used for the file system. */ + compression?: DatasetCompression; +}; -/** - * The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with - * unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then - * copied into the targeted sink from the interim S3. - */ -export interface RedshiftUnloadSettings { - /** - * The name of the Amazon S3 linked service which will be used for the unload operation when - * copying from the Amazon Redshift source. - */ - s3LinkedServiceName: LinkedServiceReference; - /** - * The bucket of the interim Amazon S3 which will be used to store the unloaded data from Amazon - * Redshift source. The bucket must be in the same region as the Amazon Redshift source. Type: - * string (or Expression with resultType string). - */ - bucketName: any; -} +/** The MongoDB database dataset. */ +export type MongoDbCollectionDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbCollection"; + /** The table name of the MongoDB database. Type: string (or Expression with resultType string). */ + collectionName: Record; +}; -/** - * Contains the possible cases for TabularSource. - */ -export type TabularSourceUnion = - | TabularSource - | AmazonRedshiftSource - | GoogleAdWordsSource - | OracleServiceCloudSource - | DynamicsAXSource - | ResponsysSource - | SalesforceMarketingCloudSource - | VerticaSource - | NetezzaSource - | ZohoSource - | XeroSource - | SquareSource - | SparkSource - | ShopifySource - | ServiceNowSource - | QuickBooksSource - | PrestoSource - | PhoenixSource - | PaypalSource - | MarketoSource - | AzureMariaDBSource - | MariaDBSource - | MagentoSource - | JiraSource - | ImpalaSource - | HubspotSource - | HiveSource - | HBaseSource - | GreenplumSource - | GoogleBigQuerySource - | EloquaSource - | DrillSource - | CouchbaseSource - | ConcurSource - | AzurePostgreSqlSource - | AmazonMWSSource - | CassandraSource - | TeradataSource - | AzureMySqlSource - | SqlDWSource - | SqlMISource - | AzureSqlSource - | SqlServerSource - | SqlSource - | SapTableSource - | SapOpenHubSource - | SapHanaSource - | SapEccSource - | SapCloudForCustomerSource - | SalesforceSource - | SapBwSource - | SybaseSource - | PostgreSqlSource - | MySqlSource - | OdbcSource - | Db2Source - | InformixSource - | AzureTableSource; +/** The MongoDB Atlas database dataset. */ +export type MongoDbAtlasCollectionDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbAtlasCollection"; + /** The collection name of the MongoDB Atlas database. Type: string (or Expression with resultType string). */ + collection: Record; +}; -/** - * Copy activity sources of tabular type. - */ -export interface TabularSource { - /** - * Polymorphic Discriminator - */ - type: "TabularSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The MongoDB database dataset. */ +export type MongoDbV2CollectionDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbV2Collection"; + /** The collection name of the MongoDB database. Type: string (or Expression with resultType string). */ + collection: Record; +}; -/** - * A copy activity source for Amazon Redshift Source. - */ -export interface AmazonRedshiftSource { - /** - * Polymorphic Discriminator - */ - type: "AmazonRedshiftSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with - * unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then - * copied into the targeted sink from the interim S3. - */ - redshiftUnloadSettings?: RedshiftUnloadSettings; -} +/** The CosmosDB (MongoDB API) database dataset. */ +export type CosmosDbMongoDbApiCollectionDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CosmosDbMongoDbApiCollection"; + /** The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string). */ + collection: Record; +}; -/** - * A copy activity Google AdWords service source. - */ -export interface GoogleAdWordsSource { - /** - * Polymorphic Discriminator - */ - type: "GoogleAdWordsSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Open Data Protocol (OData) resource dataset. */ +export type ODataResourceDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ODataResource"; + /** The OData resource path. Type: string (or Expression with resultType string). */ + path?: Record; +}; -/** - * A copy activity Oracle Service Cloud source. - */ -export interface OracleServiceCloudSource { - /** - * Polymorphic Discriminator - */ - type: "OracleServiceCloudSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The on-premises Oracle database dataset. */ +export type OracleTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of the on-premises Oracle database. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * A copy activity Dynamics AX source. - */ -export interface DynamicsAXSource { - /** - * Polymorphic Discriminator - */ - type: "DynamicsAXSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the - * timeout to read response data. Default value: 00:05:00. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; -} +/** The AmazonRdsForOracle database dataset. */ +export type AmazonRdsForOracleTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRdsForOracleTable"; + /** The schema name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * A copy activity Responsys source. - */ -export interface ResponsysSource { - /** - * Polymorphic Discriminator - */ - type: "ResponsysSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Teradata database dataset. */ +export type TeradataTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TeradataTable"; + /** The database name of Teradata. Type: string (or Expression with resultType string). */ + database?: Record; + /** The table name of Teradata. Type: string (or Expression with resultType string). */ + table?: Record; +}; + +/** The Azure MySQL database dataset. */ +export type AzureMySqlTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMySqlTable"; + /** The Azure MySQL database table name. Type: string (or Expression with resultType string). */ + tableName?: Record; + /** The name of Azure MySQL database table. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * A copy activity Salesforce Marketing Cloud source. - */ -export interface SalesforceMarketingCloudSource { - /** - * Polymorphic Discriminator - */ - type: "SalesforceMarketingCloudSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Amazon Redshift table dataset. */ +export type AmazonRedshiftTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRedshiftTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The Amazon Redshift table name. Type: string (or Expression with resultType string). */ + table?: Record; + /** The Amazon Redshift schema name. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; -/** - * A copy activity Vertica source. - */ -export interface VerticaSource { - /** - * Polymorphic Discriminator - */ - type: "VerticaSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Db2 table dataset. */ +export type Db2TableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Db2Table"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The Db2 schema name. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The Db2 table name. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * The settings that will be leveraged for Netezza source partitioning. - */ -export interface NetezzaPartitionSettings { - /** - * The name of the column in integer type that will be used for proceeding range partitioning. - * Type: string (or Expression with resultType string). - */ - partitionColumnName?: any; - /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding - * range partitioning. Type: string (or Expression with resultType string). - */ - partitionUpperBound?: any; - /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding - * range partitioning. Type: string (or Expression with resultType string). - */ - partitionLowerBound?: any; -} +/** The relational table dataset. */ +export type RelationalTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "RelationalTable"; + /** The relational table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Netezza source. - */ -export interface NetezzaSource { - /** - * Polymorphic Discriminator - */ - type: "NetezzaSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The partition mechanism that will be used for Netezza read in parallel. Possible values - * include: "None", "DataSlice", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Netezza source partitioning. - */ - partitionSettings?: NetezzaPartitionSettings; -} +/** The Informix table dataset. */ +export type InformixTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "InformixTable"; + /** The Informix table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Zoho server source. - */ -export interface ZohoSource { - /** - * Polymorphic Discriminator - */ - type: "ZohoSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The ODBC table dataset. */ +export type OdbcTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OdbcTable"; + /** The ODBC table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Xero Service source. - */ -export interface XeroSource { - /** - * Polymorphic Discriminator - */ - type: "XeroSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The MySQL table dataset. */ +export type MySqlTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MySqlTable"; + /** The MySQL table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Square Service source. - */ -export interface SquareSource { - /** - * Polymorphic Discriminator - */ - type: "SquareSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The PostgreSQL table dataset. */ +export type PostgreSqlTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PostgreSqlTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The PostgreSQL table name. Type: string (or Expression with resultType string). */ + table?: Record; + /** The PostgreSQL schema name. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; -/** - * A copy activity Spark Server source. - */ -export interface SparkSource { - /** - * Polymorphic Discriminator - */ - type: "SparkSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Microsoft Access table dataset. */ +export type MicrosoftAccessTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MicrosoftAccessTable"; + /** The Microsoft Access table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Shopify Service source. - */ -export interface ShopifySource { - /** - * Polymorphic Discriminator - */ - type: "ShopifySource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Salesforce object dataset. */ +export type SalesforceObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceObject"; + /** The Salesforce object API name. Type: string (or Expression with resultType string). */ + objectApiName?: Record; +}; -/** - * A copy activity ServiceNow server source. - */ -export interface ServiceNowSource { - /** - * Polymorphic Discriminator - */ - type: "ServiceNowSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Salesforce Service Cloud object dataset. */ +export type SalesforceServiceCloudObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceServiceCloudObject"; + /** The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string). */ + objectApiName?: Record; +}; -/** - * A copy activity QuickBooks server source. - */ -export interface QuickBooksSource { - /** - * Polymorphic Discriminator - */ - type: "QuickBooksSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Sybase table dataset. */ +export type SybaseTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SybaseTable"; + /** The Sybase table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** The SAP BW cube dataset. */ +export type SapBwCubeDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapBwCube"; +}; + +/** The path of the SAP Cloud for Customer OData entity. */ +export type SapCloudForCustomerResourceDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapCloudForCustomerResource"; + /** The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with resultType string). */ + path: Record; +}; + +/** The path of the SAP ECC OData entity. */ +export type SapEccResourceDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapEccResource"; + /** The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). */ + path: Record; +}; + +/** SAP HANA Table properties. */ +export type SapHanaTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapHanaTable"; + /** The schema name of SAP HANA. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of SAP HANA. Type: string (or Expression with resultType string). */ + table?: Record; +}; + +/** Sap Business Warehouse Open Hub Destination Table properties. */ +export type SapOpenHubTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapOpenHubTable"; + /** The name of the Open Hub Destination with destination type as Database Table. Type: string (or Expression with resultType string). */ + openHubDestinationName: Record; + /** Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). */ + excludeLastRequest?: Record; + /** The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). */ + baseRequestId?: Record; +}; + +/** The on-premises SQL Server dataset. */ +export type SqlServerTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlServerTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of the SQL Server dataset. Type: string (or Expression with resultType string). */ + table?: Record; +}; + +/** The Amazon RDS for SQL Server dataset. */ +export type AmazonRdsForSqlServerTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRdsForSqlServerTable"; + /** The schema name of the SQL Server dataset. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of the SQL Server dataset. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * A copy activity Presto server source. - */ -export interface PrestoSource { - /** - * Polymorphic Discriminator - */ - type: "PrestoSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** A Rest service dataset. */ +export type RestResourceDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "RestResource"; + /** The relative URL to the resource that the RESTful API provides. Type: string (or Expression with resultType string). */ + relativeUrl?: Record; + /** The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). */ + requestMethod?: Record; + /** The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). */ + requestBody?: Record; + /** The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). */ + additionalHeaders?: Record; + /** The pagination rules to compose next page requests. Type: string (or Expression with resultType string). */ + paginationRules?: Record; +}; -/** - * A copy activity Phoenix server source. - */ -export interface PhoenixSource { - /** - * Polymorphic Discriminator - */ - type: "PhoenixSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** SAP Table Resource properties. */ +export type SapTableResourceDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapTableResource"; + /** The name of the SAP Table. Type: string (or Expression with resultType string). */ + tableName: Record; +}; -/** - * A copy activity Paypal Service source. - */ -export interface PaypalSource { - /** - * Polymorphic Discriminator - */ - type: "PaypalSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The dataset points to a HTML table in the web page. */ +export type WebTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "WebTable"; + /** The zero-based index of the table in the web page. Type: integer (or Expression with resultType integer), minimum: 0. */ + index: Record; + /** The relative URL to the web page from the linked service URL. Type: string (or Expression with resultType string). */ + path?: Record; +}; -/** - * A copy activity Marketo server source. - */ -export interface MarketoSource { - /** - * Polymorphic Discriminator - */ - type: "MarketoSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Azure Search Index. */ +export type AzureSearchIndexDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSearchIndex"; + /** The name of the Azure Search Index. Type: string (or Expression with resultType string). */ + indexName: Record; +}; -/** - * A copy activity Azure MariaDB source. - */ -export interface AzureMariaDBSource { - /** - * Polymorphic Discriminator - */ - type: "AzureMariaDBSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; +/** A file in an HTTP web server. */ +export type HttpDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HttpFile"; + /** The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string). */ + relativeUrl?: Record; + /** The HTTP method for the HTTP request. Type: string (or Expression with resultType string). */ + requestMethod?: Record; + /** The body for the HTTP request. Type: string (or Expression with resultType string). */ + requestBody?: Record; /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). + * The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 + * ... + * request-header-name-n:request-header-value-n Type: string (or Expression with resultType string). */ - query?: any; -} + additionalHeaders?: Record; + /** The format of files. */ + format?: DatasetStorageFormatUnion; + /** The data compression method used on files. */ + compression?: DatasetCompression; +}; -/** - * A copy activity MariaDB server source. - */ -export interface MariaDBSource { - /** - * Polymorphic Discriminator - */ - type: "MariaDBSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Amazon Marketplace Web Service dataset. */ +export type AmazonMWSObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonMWSObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Magento server source. - */ -export interface MagentoSource { - /** - * Polymorphic Discriminator - */ - type: "MagentoSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Azure PostgreSQL dataset. */ +export type AzurePostgreSqlTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzurePostgreSqlTable"; + /** The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). */ + tableName?: Record; + /** The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; -/** - * A copy activity Jira Service source. - */ -export interface JiraSource { - /** - * Polymorphic Discriminator - */ - type: "JiraSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Concur Service dataset. */ +export type ConcurObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ConcurObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Impala server source. - */ -export interface ImpalaSource { - /** - * Polymorphic Discriminator - */ - type: "ImpalaSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Couchbase server dataset. */ +export type CouchbaseTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CouchbaseTable"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Hubspot Service source. - */ -export interface HubspotSource { - /** - * Polymorphic Discriminator - */ - type: "HubspotSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Drill server dataset. */ +export type DrillTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DrillTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of the Drill. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Drill. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; + +/** Eloqua server dataset. */ +export type EloquaObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "EloquaObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** Google BigQuery service dataset. */ +export type GoogleBigQueryObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleBigQueryObject"; + /** This property will be retired. Please consider using database + table properties instead. */ + tableName?: Record; + /** The table name of the Google BigQuery. Type: string (or Expression with resultType string). */ + table?: Record; + /** The database name of the Google BigQuery. Type: string (or Expression with resultType string). */ + dataset?: Record; +}; + +/** Greenplum Database dataset. */ +export type GreenplumTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GreenplumTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of Greenplum. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of Greenplum. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; + +/** HBase server dataset. */ +export type HBaseObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HBaseObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** Hive Server dataset. */ +export type HiveObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HiveObject"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of the Hive. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Hive. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; + +/** Hubspot Service dataset. */ +export type HubspotObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HubspotObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** Impala server dataset. */ +export type ImpalaObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ImpalaObject"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of the Impala. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Impala. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; + +/** Jira Service dataset. */ +export type JiraObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "JiraObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** Magento server dataset. */ +export type MagentoObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MagentoObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** MariaDB server dataset. */ +export type MariaDBTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MariaDBTable"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** Azure Database for MariaDB dataset. */ +export type AzureMariaDBTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMariaDBTable"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** Marketo server dataset. */ +export type MarketoObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MarketoObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Hive Server source. - */ -export interface HiveSource { - /** - * Polymorphic Discriminator - */ - type: "HiveSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Paypal Service dataset. */ +export type PaypalObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PaypalObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity HBase server source. - */ -export interface HBaseSource { - /** - * Polymorphic Discriminator - */ - type: "HBaseSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Phoenix server dataset. */ +export type PhoenixObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PhoenixObject"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of the Phoenix. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Phoenix. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; -/** - * A copy activity Greenplum Database source. - */ -export interface GreenplumSource { - /** - * Polymorphic Discriminator - */ - type: "GreenplumSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Presto server dataset. */ +export type PrestoObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrestoObject"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of the Presto. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Presto. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; -/** - * A copy activity Google BigQuery service source. - */ -export interface GoogleBigQuerySource { - /** - * Polymorphic Discriminator - */ - type: "GoogleBigQuerySource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** QuickBooks server dataset. */ +export type QuickBooksObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "QuickBooksObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Eloqua server source. - */ -export interface EloquaSource { - /** - * Polymorphic Discriminator - */ - type: "EloquaSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** ServiceNow server dataset. */ +export type ServiceNowObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceNowObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Drill server source. - */ -export interface DrillSource { - /** - * Polymorphic Discriminator - */ - type: "DrillSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Shopify Service dataset. */ +export type ShopifyObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ShopifyObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Couchbase server source. - */ -export interface CouchbaseSource { - /** - * Polymorphic Discriminator - */ - type: "CouchbaseSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Spark Server dataset. */ +export type SparkObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SparkObject"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of the Spark. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Spark. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; -/** - * A copy activity Concur Service source. - */ -export interface ConcurSource { - /** - * Polymorphic Discriminator - */ - type: "ConcurSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Square Service dataset. */ +export type SquareObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SquareObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Azure PostgreSQL source. - */ -export interface AzurePostgreSqlSource { - /** - * Polymorphic Discriminator - */ - type: "AzurePostgreSqlSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Xero Service dataset. */ +export type XeroObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "XeroObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Amazon Marketplace Web Service source. - */ -export interface AmazonMWSSource { - /** - * Polymorphic Discriminator - */ - type: "AmazonMWSSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * A query to retrieve data from source. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** Zoho server dataset. */ +export type ZohoObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ZohoObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity source for a Cassandra database. - */ -export interface CassandraSource { - /** - * Polymorphic Discriminator - */ - type: "CassandraSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. - * Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The consistency level specifies how many Cassandra servers must respond to a read request - * before returning data to the client application. Cassandra checks the specified number of - * Cassandra servers for data to satisfy the read request. Must be one of - * cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. - * Possible values include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', - * 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL' - */ - consistencyLevel?: CassandraSourceReadConsistencyLevels; -} +/** Netezza dataset. */ +export type NetezzaTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "NetezzaTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of the Netezza. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Netezza. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; + +/** Vertica dataset. */ +export type VerticaTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "VerticaTable"; + /** This property will be retired. Please consider using schema + table properties instead. */ + tableName?: Record; + /** The table name of the Vertica. Type: string (or Expression with resultType string). */ + table?: Record; + /** The schema name of the Vertica. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; +}; + +/** Salesforce Marketing Cloud dataset. */ +export type SalesforceMarketingCloudObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceMarketingCloudObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; + +/** Responsys dataset. */ +export type ResponsysObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ResponsysObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * The settings that will be leveraged for teradata source partitioning. - */ -export interface TeradataPartitionSettings { - /** - * The name of the column that will be used for proceeding range or hash partitioning. Type: - * string (or Expression with resultType string). - */ - partitionColumnName?: any; - /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding - * range partitioning. Type: string (or Expression with resultType string). - */ - partitionUpperBound?: any; - /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding - * range partitioning. Type: string (or Expression with resultType string). - */ - partitionLowerBound?: any; -} +/** The path of the Dynamics AX OData entity. */ +export type DynamicsAXResourceDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsAXResource"; + /** The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). */ + path: Record; +}; -/** - * A copy activity Teradata source. - */ -export interface TeradataSource { - /** - * Polymorphic Discriminator - */ - type: "TeradataSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Teradata query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The partition mechanism that will be used for teradata read in parallel. Possible values - * include: "None", "Hash", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for teradata source partitioning. - */ - partitionSettings?: TeradataPartitionSettings; -} +/** Oracle Service Cloud dataset. */ +export type OracleServiceCloudObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleServiceCloudObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity Azure MySQL source. - */ -export interface AzureMySqlSource { - /** - * Polymorphic Discriminator - */ - type: "AzureMySqlSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The Azure Data Explorer (Kusto) dataset. */ +export type AzureDataExplorerTableDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataExplorerTable"; + /** The table name of the Azure Data Explorer database. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * The settings that will be leveraged for Sql source partitioning. - */ -export interface SqlPartitionSettings { - /** - * The name of the column in integer or datetime type that will be used for proceeding - * partitioning. If not specified, the primary key of the table is auto-detected and used as the - * partition column. Type: string (or Expression with resultType string). - */ - partitionColumnName?: any; - /** - * The maximum value of the partition column for partition range splitting. This value is used to - * decide the partition stride, not for filtering the rows in table. All rows in the table or - * query result will be partitioned and copied. Type: string (or Expression with resultType - * string). - */ - partitionUpperBound?: any; - /** - * The minimum value of the partition column for partition range splitting. This value is used to - * decide the partition stride, not for filtering the rows in table. All rows in the table or - * query result will be partitioned and copied. Type: string (or Expression with resultType - * string). - */ - partitionLowerBound?: any; -} +/** Google AdWords service dataset. */ +export type GoogleAdWordsObjectDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleAdWordsObject"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: Record; +}; -/** - * A copy activity SQL Data Warehouse source. - */ -export interface SqlDWSource { - /** - * Polymorphic Discriminator - */ - type: "SqlDWSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * SQL Data Warehouse reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a SQL Data Warehouse source. This cannot be used at the same - * time as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", - * type: "int"}}". Type: object (or Expression with resultType object), itemType: - * StoredProcedureParameter. - */ - storedProcedureParameters?: any; - /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. - */ - partitionSettings?: SqlPartitionSettings; -} +/** The snowflake dataset. */ +export type SnowflakeDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SnowflakeTable"; + /** The schema name of the Snowflake database. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: Record; + /** The table name of the Snowflake database. Type: string (or Expression with resultType string). */ + table?: Record; +}; -/** - * SQL stored procedure parameter. - */ -export interface StoredProcedureParameter { - /** - * Stored procedure parameter value. Type: string (or Expression with resultType string). - */ - value?: any; - /** - * Stored procedure parameter type. Possible values include: 'String', 'Int', 'Int64', 'Decimal', - * 'Guid', 'Boolean', 'Date' - */ - type?: StoredProcedureParameterType; -} +/** The sharepoint online list resource dataset. */ +export type SharePointOnlineListResourceDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SharePointOnlineListResource"; + /** The name of the SharePoint Online list. Type: string (or Expression with resultType string). */ + listName?: Record; +}; -/** - * A copy activity Azure SQL Managed Instance source. - */ -export interface SqlMISource { - /** - * Polymorphic Discriminator - */ - type: "SqlMISource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * SQL reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at - * the same time as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", - * type: "int"}}". - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; - /** - * Which additional types to produce. - */ - produceAdditionalTypes?: any; - /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. - */ - partitionSettings?: SqlPartitionSettings; -} +/** Azure Databricks Delta Lake dataset. */ +export type AzureDatabricksDeltaLakeDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricksDeltaLakeDataset"; + /** The name of delta table. Type: string (or Expression with resultType string). */ + table?: Record; + /** The database name of delta table. Type: string (or Expression with resultType string). */ + database?: Record; +}; -/** - * A copy activity Azure SQL source. - */ -export interface AzureSqlSource { - /** - * Polymorphic Discriminator - */ - type: "AzureSqlSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * SQL reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a SQL Database source. This cannot be used at the same time - * as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", - * type: "int"}}". - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; - /** - * Which additional types to produce. - */ - produceAdditionalTypes?: any; - /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. - */ - partitionSettings?: SqlPartitionSettings; -} +/** Base class for all control activities like IfCondition, ForEach , Until. */ +export type ControlActivity = Activity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "Container" + | "ExecutePipeline" + | "IfCondition" + | "Switch" + | "ForEach" + | "Wait" + | "Until" + | "Validation" + | "Filter" + | "SetVariable" + | "AppendVariable" + | "WebHook"; +}; -/** - * A copy activity SQL server source. - */ -export interface SqlServerSource { - /** - * Polymorphic Discriminator - */ - type: "SqlServerSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * SQL reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a SQL Database source. This cannot be used at the same time - * as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", - * type: "int"}}". - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; - /** - * Which additional types to produce. - */ - produceAdditionalTypes?: any; - /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. - */ - partitionSettings?: SqlPartitionSettings; -} +/** Base class for all execution activities. */ +export type ExecutionActivity = Activity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "Execution" + | "Copy" + | "HDInsightHive" + | "HDInsightPig" + | "HDInsightMapReduce" + | "HDInsightStreaming" + | "HDInsightSpark" + | "ExecuteSSISPackage" + | "Custom" + | "SqlServerStoredProcedure" + | "Delete" + | "AzureDataExplorerCommand" + | "Lookup" + | "WebActivity" + | "GetMetadata" + | "AzureMLBatchExecution" + | "AzureMLUpdateResource" + | "AzureMLExecutePipeline" + | "DataLakeAnalyticsU-SQL" + | "DatabricksNotebook" + | "DatabricksSparkJar" + | "DatabricksSparkPython" + | "AzureFunctionActivity" + | "ExecuteDataFlow"; + /** Linked service reference. */ + linkedServiceName?: LinkedServiceReference; + /** Activity policy. */ + policy?: ActivityPolicy; +}; + +/** Execute power query activity. */ +export type ExecuteWranglingDataflowActivity = Activity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ExecuteWranglingDataflow"; + /** Activity policy. */ + policy?: ActivityPolicy; + /** Data flow reference. */ + dataFlow: DataFlowReference; + /** Staging info for execute data flow activity. */ + staging?: DataFlowStagingInfo; + /** The integration runtime reference. */ + integrationRuntime?: IntegrationRuntimeReference; + /** Compute properties for data flow activity. */ + compute?: ExecuteDataFlowActivityTypePropertiesCompute; + /** Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) */ + traceLevel?: Record; + /** Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean) */ + continueOnError?: Record; + /** Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean) */ + runConcurrently?: Record; + /** (Deprecated. Please use Queries). List of Power Query activity sinks mapped to a queryName. */ + sinks?: { [propertyName: string]: PowerQuerySink }; + /** List of mapping for Power Query mashup query to sink dataset(s). */ + queries?: PowerQuerySinkMapping[]; +}; + +/** Base class for all triggers that support one to many model for trigger to pipeline. */ +export type MultiplePipelineTrigger = Trigger & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "MultiplePipelineTrigger" + | "ScheduleTrigger" + | "BlobTrigger" + | "BlobEventsTrigger" + | "CustomEventsTrigger"; + /** Pipelines that need to be started. */ + pipelines?: TriggerPipelineReference[]; +}; + +/** Trigger that schedules pipeline runs for all fixed time interval windows from a start time without gaps and also supports backfill scenarios (when start time is in the past). */ +export type TumblingWindowTrigger = Trigger & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TumblingWindowTrigger"; + /** Pipeline for which runs are created when an event is fired for trigger window that is ready. */ + pipeline: TriggerPipelineReference; + /** The frequency of the time windows. */ + frequency: TumblingWindowFrequency; + /** The interval of the time windows. The minimum interval allowed is 15 Minutes. */ + interval: number; + /** The start time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. */ + startTime: Date; + /** The end time for the time period for the trigger during which events are fired for windows that are ready. Only UTC time is currently supported. */ + endTime?: Date; + /** Specifies how long the trigger waits past due time before triggering new run. It doesn't alter window start and end time. The default is 0. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + delay?: Record; + /** The max number of parallel time windows (ready for execution) for which a new run is triggered. */ + maxConcurrency: number; + /** Retry policy that will be applied for failed pipeline runs. */ + retryPolicy?: RetryPolicy; + /** Triggers that this trigger depends on. Only tumbling window triggers are supported. */ + dependsOn?: DependencyReferenceUnion[]; +}; + +/** Trigger that schedules pipeline reruns for all fixed time interval windows from a requested start time to requested end time. */ +export type RerunTumblingWindowTrigger = Trigger & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "RerunTumblingWindowTrigger"; + /** The parent trigger reference. */ + parentTrigger: Record; + /** The start time for the time period for which restatement is initiated. Only UTC time is currently supported. */ + requestedStartTime: Date; + /** The end time for the time period for which restatement is initiated. Only UTC time is currently supported. */ + requestedEndTime: Date; + /** The max number of parallel time windows (ready for execution) for which a rerun is triggered. */ + rerunConcurrency: number; +}; + +/** Trigger that allows the referenced pipeline to depend on other pipeline runs based on runDimension Name/Value pairs. Upstream pipelines should declare the same runDimension Name and their runs should have the values for those runDimensions. The referenced pipeline run would be triggered if the values for the runDimension match for all upstream pipeline runs. */ +export type ChainingTrigger = Trigger & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ChainingTrigger"; + /** Pipeline for which runs are created when all upstream pipelines complete successfully. */ + pipeline: TriggerPipelineReference; + /** Upstream Pipelines. */ + dependsOn: PipelineReference[]; + /** Run Dimension property that needs to be emitted by upstream pipelines. */ + runDimension: string; +}; + +/** Mapping data flow. */ +export type MappingDataFlow = DataFlow & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MappingDataFlow"; + /** List of sources in data flow. */ + sources?: DataFlowSource[]; + /** List of sinks in data flow. */ + sinks?: DataFlowSink[]; + /** List of transformations in data flow. */ + transformations?: Transformation[]; + /** DataFlow script. */ + script?: string; + /** Data flow script lines. */ + scriptLines?: string[]; +}; + +/** Data flow flowlet */ +export type Flowlet = DataFlow & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Flowlet"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** List of sources in Flowlet. */ + sources?: DataFlowSource[]; + /** List of sinks in Flowlet. */ + sinks?: DataFlowSink[]; + /** List of transformations in Flowlet. */ + transformations?: Transformation[]; + /** Flowlet script. */ + script?: string; + /** Flowlet script lines. */ + scriptLines?: string[]; + /** Any object */ + additionalProperties?: Record; +}; -/** - * A copy activity SQL source. - */ -export interface SqlSource { - /** - * Polymorphic Discriminator - */ - type: "SqlSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * SQL reader query. Type: string (or Expression with resultType string). - */ - sqlReaderQuery?: any; - /** - * Name of the stored procedure for a SQL Database source. This cannot be used at the same time - * as SqlReaderQuery. Type: string (or Expression with resultType string). - */ - sqlReaderStoredProcedureName?: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", - * type: "int"}}". - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; - /** - * Specifies the transaction locking behavior for the SQL source. Allowed values: - * ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is - * ReadCommitted. Type: string (or Expression with resultType string). - */ - isolationLevel?: any; - /** - * The partition mechanism that will be used for Sql read in parallel. Possible values include: - * "None", "PhysicalPartitionsOfTable", "DynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for Sql source partitioning. - */ - partitionSettings?: SqlPartitionSettings; -} +/** Power Query data flow. */ +export type WranglingDataFlow = DataFlow & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "WranglingDataFlow"; + /** List of sources in Power Query. */ + sources?: PowerQuerySource[]; + /** Power query mashup script. */ + script?: string; + /** Locale of the Power query mashup document. */ + documentLocale?: string; +}; -/** - * The settings that will be leveraged for SAP table source partitioning. - */ -export interface SapTablePartitionSettings { - /** - * The name of the column that will be used for proceeding range partitioning. Type: string (or - * Expression with resultType string). - */ - partitionColumnName?: any; - /** - * The maximum value of column specified in partitionColumnName that will be used for proceeding - * range partitioning. Type: string (or Expression with resultType string). - */ - partitionUpperBound?: any; - /** - * The minimum value of column specified in partitionColumnName that will be used for proceeding - * range partitioning. Type: string (or Expression with resultType string). - */ - partitionLowerBound?: any; - /** - * The maximum value of partitions the table will be split into. Type: integer (or Expression - * with resultType string). - */ - maxPartitionsNumber?: any; -} +/** Integration runtime debug resource. */ +export type IntegrationRuntimeDebugResource = SubResourceDebugResource & { + /** Integration runtime properties. */ + properties: IntegrationRuntimeUnion; +}; -/** - * A copy activity source for SAP Table source. - */ -export interface SapTableSource { - /** - * Polymorphic Discriminator - */ - type: "SapTableSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * The number of rows to be retrieved. Type: integer(or Expression with resultType integer). - */ - rowCount?: any; - /** - * The number of rows that will be skipped. Type: integer (or Expression with resultType - * integer). - */ - rowSkips?: any; - /** - * The fields of the SAP table that will be retrieved. For example, column0, column1. Type: - * string (or Expression with resultType string). - */ - rfcTableFields?: any; - /** - * The options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: - * string (or Expression with resultType string). - */ - rfcTableOptions?: any; - /** - * Specifies the maximum number of rows that will be retrieved at a time when retrieving data - * from SAP Table. Type: integer (or Expression with resultType integer). - */ - batchSize?: any; - /** - * Specifies the custom RFC function module that will be used to read data from SAP Table. Type: - * string (or Expression with resultType string). - */ - customRfcReadTableFunctionModule?: any; - /** - * The single character that will be used as delimiter passed to SAP RFC as well as splitting the - * output data retrieved. Type: string (or Expression with resultType string). - */ - sapDataColumnDelimiter?: any; - /** - * The partition mechanism that will be used for SAP table read in parallel. Possible values - * include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", - * "PartitionOnCalendarDate", "PartitionOnTime". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for SAP table source partitioning. - */ - partitionSettings?: SapTablePartitionSettings; -} +/** Data flow debug resource. */ +export type DataFlowDebugResource = SubResourceDebugResource & { + /** Data flow properties. */ + properties: DataFlowUnion; +}; -/** - * A copy activity source for SAP Business Warehouse Open Hub Destination source. - */ -export interface SapOpenHubSource { - /** - * Polymorphic Discriminator - */ - type: "SapOpenHubSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Whether to exclude the records of the last request. The default value is true. Type: boolean - * (or Expression with resultType boolean). - */ - excludeLastRequest?: any; - /** - * The ID of request for delta loading. Once it is set, only data with requestId larger than the - * value of this property will be retrieved. The default value is 0. Type: integer (or Expression - * with resultType integer ). - */ - baseRequestId?: any; - /** - * Specifies the custom RFC function module that will be used to read data from SAP Table. Type: - * string (or Expression with resultType string). - */ - customRfcReadTableFunctionModule?: any; - /** - * The single character that will be used as delimiter passed to SAP RFC as well as splitting the - * output data retrieved. Type: string (or Expression with resultType string). - */ - sapDataColumnDelimiter?: any; -} +/** Dataset debug resource. */ +export type DatasetDebugResource = SubResourceDebugResource & { + /** Dataset properties. */ + properties: DatasetUnion; +}; -/** - * The settings that will be leveraged for SAP HANA source partitioning. - */ -export interface SapHanaPartitionSettings { - /** - * The name of the column that will be used for proceeding range partitioning. Type: string (or - * Expression with resultType string). - */ - partitionColumnName?: any; -} +/** Linked service debug resource. */ +export type LinkedServiceDebugResource = SubResourceDebugResource & { + /** Properties of linked service. */ + properties: LinkedServiceUnion; +}; -/** - * A copy activity source for SAP HANA source. - */ -export interface SapHanaSource { - /** - * Polymorphic Discriminator - */ - type: "SapHanaSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * SAP HANA Sql query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The packet size of data read from SAP HANA. Type: integer(or Expression with resultType - * integer). - */ - packetSize?: any; - /** - * The partition mechanism that will be used for SAP HANA read in parallel. Possible values - * include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". - */ - partitionOption?: any; - /** - * The settings that will be leveraged for SAP HANA source partitioning. - */ - partitionSettings?: SapHanaPartitionSettings; -} +/** Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls. */ +export type SecureString = SecretBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SecureString"; + /** Value of secure string. */ + value: string; +}; -/** - * A copy activity source for SAP ECC source. - */ -export interface SapEccSource { - /** - * Polymorphic Discriminator - */ - type: "SapEccSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType - * string). - */ - query?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the - * timeout to read response data. Default value: 00:05:00. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; -} +/** Azure Key Vault secret reference. */ +export type AzureKeyVaultSecretReference = SecretBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureKeyVaultSecret"; + /** The Azure Key Vault linked service reference. */ + store: LinkedServiceReference; + /** The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string). */ + secretName: Record; + /** The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string). */ + secretVersion?: Record; +}; -/** - * A copy activity source for SAP Cloud for Customer source. - */ -export interface SapCloudForCustomerSource { - /** - * Polymorphic Discriminator - */ - type: "SapCloudForCustomerSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with - * resultType string). - */ - query?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the - * timeout to read response data. Default value: 00:05:00. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; -} +/** Service principal credential. */ +export type ServicePrincipalCredential = Credential & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServicePrincipal"; + /** The app ID of the service principal used to authenticate */ + servicePrincipalId?: Record; + /** The key of the service principal used to authenticate. */ + servicePrincipalKey?: AzureKeyVaultSecretReference; + /** The ID of the tenant to which the service principal belongs */ + tenant?: Record; +}; -/** - * A copy activity Salesforce source. - */ -export interface SalesforceSource { - /** - * Polymorphic Discriminator - */ - type: "SalesforceSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; - /** - * The read behavior for the operation. Default is Query. Possible values include: 'Query', - * 'QueryAll' - */ - readBehavior?: SalesforceSourceReadBehavior; -} +/** Managed identity credential. */ +export type ManagedIdentityCredential = Credential & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ManagedIdentity"; + /** The resource id of user assigned managed identity */ + resourceId?: string; +}; + +/** Transformation for data flow source. */ +export type DataFlowSource = Transformation & { + /** Dataset reference. */ + dataset?: DatasetReference; + /** Linked service reference. */ + linkedService?: LinkedServiceReference; + /** Schema linked service reference. */ + schemaLinkedService?: LinkedServiceReference; +}; + +/** Transformation for data flow sink. */ +export type DataFlowSink = Transformation & { + /** Dataset reference. */ + dataset?: DatasetReference; + /** Linked service reference. */ + linkedService?: LinkedServiceReference; + /** Schema linked service reference. */ + schemaLinkedService?: LinkedServiceReference; +}; + +/** The location of azure blob dataset. */ +export type AzureBlobStorageLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobStorageLocation"; + /** Specify the container of azure blob. Type: string (or Expression with resultType string). */ + container?: Record; +}; + +/** The location of azure blobFS dataset. */ +export type AzureBlobFSLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobFSLocation"; + /** Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). */ + fileSystem?: Record; +}; + +/** The location of azure data lake store dataset. */ +export type AzureDataLakeStoreLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataLakeStoreLocation"; +}; + +/** The location of amazon S3 dataset. */ +export type AmazonS3Location = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonS3Location"; + /** Specify the bucketName of amazon S3. Type: string (or Expression with resultType string) */ + bucketName?: Record; + /** Specify the version of amazon S3. Type: string (or Expression with resultType string). */ + version?: Record; +}; + +/** The location of file server dataset. */ +export type FileServerLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FileServerLocation"; +}; + +/** The location of file server dataset. */ +export type AzureFileStorageLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureFileStorageLocation"; +}; + +/** The location of Amazon S3 Compatible dataset. */ +export type AmazonS3CompatibleLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonS3CompatibleLocation"; + /** Specify the bucketName of Amazon S3 Compatible. Type: string (or Expression with resultType string) */ + bucketName?: Record; + /** Specify the version of Amazon S3 Compatible. Type: string (or Expression with resultType string). */ + version?: Record; +}; -/** - * A copy activity source for SapBW server via MDX. - */ -export interface SapBwSource { - /** - * Polymorphic Discriminator - */ - type: "SapBwSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * MDX query. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The location of Oracle Cloud Storage dataset. */ +export type OracleCloudStorageLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleCloudStorageLocation"; + /** Specify the bucketName of Oracle Cloud Storage. Type: string (or Expression with resultType string) */ + bucketName?: Record; + /** Specify the version of Oracle Cloud Storage. Type: string (or Expression with resultType string). */ + version?: Record; +}; -/** - * A copy activity source for Sybase databases. - */ -export interface SybaseSource { - /** - * Polymorphic Discriminator - */ - type: "SybaseSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The location of Google Cloud Storage dataset. */ +export type GoogleCloudStorageLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleCloudStorageLocation"; + /** Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType string) */ + bucketName?: Record; + /** Specify the version of Google Cloud Storage. Type: string (or Expression with resultType string). */ + version?: Record; +}; -/** - * A copy activity source for PostgreSQL databases. - */ -export interface PostgreSqlSource { - /** - * Polymorphic Discriminator - */ - type: "PostgreSqlSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The location of ftp server dataset. */ +export type FtpServerLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FtpServerLocation"; +}; -/** - * A copy activity source for MySQL databases. - */ -export interface MySqlSource { - /** - * Polymorphic Discriminator - */ - type: "MySqlSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The location of SFTP dataset. */ +export type SftpLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SftpLocation"; +}; -/** - * A copy activity source for ODBC databases. - */ -export interface OdbcSource { - /** - * Polymorphic Discriminator - */ - type: "OdbcSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The location of http server. */ +export type HttpServerLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HttpServerLocation"; + /** Specify the relativeUrl of http server. Type: string (or Expression with resultType string) */ + relativeUrl?: Record; +}; -/** - * A copy activity source for Db2 databases. - */ -export interface Db2Source { - /** - * Polymorphic Discriminator - */ - type: "Db2Source"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The location of HDFS. */ +export type HdfsLocation = DatasetLocation & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HdfsLocation"; +}; -/** - * A copy activity source for Informix. - */ -export interface InformixSource { - /** - * Polymorphic Discriminator - */ - type: "InformixSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Database query. Type: string (or Expression with resultType string). - */ - query?: any; -} +/** The data stored in text format. */ +export type TextFormat = DatasetStorageFormat & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TextFormat"; + /** The column delimiter. Type: string (or Expression with resultType string). */ + columnDelimiter?: Record; + /** The row delimiter. Type: string (or Expression with resultType string). */ + rowDelimiter?: Record; + /** The escape character. Type: string (or Expression with resultType string). */ + escapeChar?: Record; + /** The quote character. Type: string (or Expression with resultType string). */ + quoteChar?: Record; + /** The null value string. Type: string (or Expression with resultType string). */ + nullValue?: Record; + /** The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). */ + encodingName?: Record; + /** Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean). */ + treatEmptyAsNull?: Record; + /** The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer). */ + skipLineCount?: Record; + /** When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). */ + firstRowAsHeader?: Record; +}; -/** - * A copy activity Azure Table source. - */ -export interface AzureTableSource { - /** - * Polymorphic Discriminator - */ - type: "AzureTableSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Query timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - queryTimeout?: any; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; - /** - * Azure Table source query. Type: string (or Expression with resultType string). - */ - azureTableSourceQuery?: any; - /** - * Azure Table source ignore table not found. Type: boolean (or Expression with resultType - * boolean). - */ - azureTableSourceIgnoreTableNotFound?: any; -} +/** The data stored in JSON format. */ +export type JsonFormat = DatasetStorageFormat & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "JsonFormat"; + /** File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. */ + filePattern?: Record; + /** The character used to separate nesting levels. Default value is '.' (dot). Type: string (or Expression with resultType string). */ + nestingSeparator?: Record; + /** The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType string). */ + encodingName?: Record; + /** The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string (or Expression with resultType string). */ + jsonNodeReference?: Record; + /** The JSONPath definition for each column mapping with a customized column name to extract data from JSON file. For fields under root object, start with "$"; for fields inside the array chosen by jsonNodeReference property, start from the array element. Example: {"Column1": "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType object). */ + jsonPathDefinition?: Record; +}; -/** - * A copy activity Binary source. - */ -export interface BinarySource { - /** - * Polymorphic Discriminator - */ - type: "BinarySource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Binary store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * Binary format settings. - */ - formatSettings?: BinaryReadSettings; -} +/** The data stored in Avro format. */ +export type AvroFormat = DatasetStorageFormat & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AvroFormat"; +}; -/** - * A copy activity ORC source. - */ -export interface OrcSource { - /** - * Polymorphic Discriminator - */ - type: "OrcSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * ORC store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The data stored in Optimized Row Columnar (ORC) format. */ +export type OrcFormat = DatasetStorageFormat & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OrcFormat"; +}; -/** - * A copy activity Xml source. - */ -export interface XmlSource { - /** - * Polymorphic Discriminator - */ - type: "XmlSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Xml store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * Xml format settings. - */ - formatSettings?: XmlReadSettings; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The data stored in Parquet format. */ +export type ParquetFormat = DatasetStorageFormat & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ParquetFormat"; +}; + +/** The custom setup of running cmdkey commands. */ +export type CmdkeySetup = CustomSetupBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CmdkeySetup"; + /** The server name of data source access. */ + targetName: Record; + /** The user name of data source access. */ + userName: Record; + /** The password of data source access. */ + password: SecretBaseUnion; +}; + +/** The custom setup of setting environment variable. */ +export type EnvironmentVariableSetup = CustomSetupBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "EnvironmentVariableSetup"; + /** The name of the environment variable. */ + variableName: string; + /** The value of the environment variable. */ + variableValue: string; +}; -/** - * A copy activity Json source. - */ -export interface JsonSource { - /** - * Polymorphic Discriminator - */ - type: "JsonSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Json store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * Json format settings. - */ - formatSettings?: JsonReadSettings; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The custom setup of installing 3rd party components. */ +export type ComponentSetup = CustomSetupBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ComponentSetup"; + /** The name of the 3rd party component. */ + componentName: string; + /** The license key to activate the component. */ + licenseKey?: SecretBaseUnion; +}; -/** - * A copy activity DelimitedText source. - */ -export interface DelimitedTextSource { - /** - * Polymorphic Discriminator - */ - type: "DelimitedTextSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * DelimitedText store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * DelimitedText format settings. - */ - formatSettings?: DelimitedTextReadSettings; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The express custom setup of installing Azure PowerShell. */ +export type AzPowerShellSetup = CustomSetupBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzPowerShellSetup"; + /** The required version of Azure PowerShell to install. */ + version: string; +}; -/** - * A copy activity Parquet source. - */ -export interface ParquetSource { - /** - * Polymorphic Discriminator - */ - type: "ParquetSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Parquet store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The key authorization type integration runtime. */ +export type LinkedIntegrationRuntimeKeyAuthorization = LinkedIntegrationRuntimeType & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authorizationType: "Key"; + /** The key used for authorization. */ + key: SecureString; +}; -/** - * A copy activity excel source. - */ -export interface ExcelSource { - /** - * Polymorphic Discriminator - */ - type: "ExcelSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Excel store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** The role based access control (RBAC) authorization type integration runtime. */ +export type LinkedIntegrationRuntimeRbacAuthorization = LinkedIntegrationRuntimeType & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authorizationType: "RBAC"; + /** The resource identifier of the integration runtime to be shared. */ + resourceId: string; +}; -/** - * A copy activity Avro source. - */ -export interface AvroSource { - /** - * Polymorphic Discriminator - */ - type: "AvroSource"; - /** - * Source retry count. Type: integer (or Expression with resultType integer). - */ - sourceRetryCount?: any; - /** - * Source retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sourceRetryWait?: any; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Avro store settings. - */ - storeSettings?: StoreReadSettingsUnion; - /** - * Specifies the additional columns to be added to source data. Type: array of objects (or - * Expression with resultType array of objects). - */ - additionalColumns?: AdditionalColumns[]; -} +/** A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. */ +export type WebAnonymousAuthentication = WebLinkedServiceTypeProperties & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authenticationType: "Anonymous"; +}; -/** - * Lookup activity. - */ -export interface LookupActivity { - /** - * Polymorphic Discriminator - */ - type: "Lookup"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Dataset-specific source properties, same as copy activity source. - */ - source: CopySourceUnion; - /** - * Lookup activity dataset reference. - */ - dataset: DatasetReference; - /** - * Whether to return first row or all rows. Default value is true. Type: boolean (or Expression - * with resultType boolean). - */ - firstRowOnly?: any; -} +/** A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint. */ +export type WebBasicAuthentication = WebLinkedServiceTypeProperties & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authenticationType: "Basic"; + /** User name for Basic authentication. Type: string (or Expression with resultType string). */ + username: Record; + /** The password for Basic authentication. */ + password: SecretBaseUnion; +}; -/** - * Azure Data Explorer command activity. - */ -export interface AzureDataExplorerCommandActivity { - /** - * Polymorphic Discriminator - */ - type: "AzureDataExplorerCommand"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * A control command, according to the Azure Data Explorer command syntax. Type: string (or - * Expression with resultType string). - */ - command: any; - /** - * Control command timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..) - */ - commandTimeout?: any; -} +/** A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client. */ +export type WebClientCertificateAuthentication = WebLinkedServiceTypeProperties & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authenticationType: "ClientCertificate"; + /** Base64-encoded contents of a PFX file. */ + pfx: SecretBaseUnion; + /** Password for the PFX file. */ + password: SecretBaseUnion; +}; -/** - * (Deprecated. Please use LogSettings) Log storage settings. - */ -export interface LogStorageSettings { - /** - * Log storage linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * The path to storage for storing detailed logs of activity execution. Type: string (or - * Expression with resultType string). - */ - path?: any; - /** - * Gets or sets the log level, support: Info, Warning. Type: string (or Expression with - * resultType string). - */ - logLevel?: any; - /** - * Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType - * boolean). - */ - enableReliableLogging?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** Azure blob read settings. */ +export type AzureBlobStorageReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobStorageReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Azure blob wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** Azure blob wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** The prefix filter for the Azure Blob name. Type: string (or Expression with resultType string). */ + prefix?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; -/** - * Delete activity. - */ -export interface DeleteActivity { - /** - * Polymorphic Discriminator - */ - type: "Delete"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * If true, files or sub-folders under current folder path will be deleted recursively. Default - * is false. Type: boolean (or Expression with resultType boolean). - */ - recursive?: any; - /** - * The max concurrent connections to connect data source at the same time. - */ - maxConcurrentConnections?: number; - /** - * Whether to record detailed logs of delete-activity execution. Default value is false. Type: - * boolean (or Expression with resultType boolean). - */ - enableLogging?: any; - /** - * Log storage settings customer need to provide when enableLogging is true. - */ - logStorageSettings?: LogStorageSettings; - /** - * Delete activity dataset reference. - */ - dataset: DatasetReference; - /** - * Delete activity store settings. - */ - storeSettings?: StoreReadSettingsUnion; -} +/** Azure blobFS read settings. */ +export type AzureBlobFSReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobFSReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** Azure blobFS wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; + +/** Azure data lake store read settings. */ +export type AzureDataLakeStoreReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataLakeStoreReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** ADLS wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** ADLS wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Lists files after the value (exclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). */ + listAfter?: Record; + /** Lists files before the value (inclusive) based on file/folder names’ lexicographical order. Applies under the folderPath in data set, and filter files/sub-folders under the folderPath. Type: string (or Expression with resultType string). */ + listBefore?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; + +/** Amazon S3 read settings. */ +export type AmazonS3ReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonS3ReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** AmazonS3 wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** The prefix filter for the S3 object name. Type: string (or Expression with resultType string). */ + prefix?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; + +/** File server read settings. */ +export type FileServerReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FileServerReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** FileServer wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** FileServer wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; + /** Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). */ + fileFilter?: Record; +}; -/** - * SQL stored procedure activity type. - */ -export interface SqlServerStoredProcedureActivity { - /** - * Polymorphic Discriminator - */ - type: "SqlServerStoredProcedure"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Stored procedure name. Type: string (or Expression with resultType string). - */ - storedProcedureName: any; - /** - * Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", - * type: "int"}}". - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; -} +/** Azure File Storage read settings. */ +export type AzureFileStorageReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureFileStorageReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Azure File Storage wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** Azure File Storage wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** The prefix filter for the Azure File name starting from root path. Type: string (or Expression with resultType string). */ + prefix?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; -/** - * Reference objects for custom activity - */ -export interface CustomActivityReferenceObject { - /** - * Linked service references. - */ - linkedServices?: LinkedServiceReference[]; - /** - * Dataset references. - */ - datasets?: DatasetReference[]; -} +/** Amazon S3 Compatible read settings. */ +export type AmazonS3CompatibleReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonS3CompatibleReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Amazon S3 Compatible wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** Amazon S3 Compatible wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** The prefix filter for the S3 Compatible object name. Type: string (or Expression with resultType string). */ + prefix?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; -/** - * Custom activity type. - */ -export interface CustomActivity { - /** - * Polymorphic Discriminator - */ - type: "Custom"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Command for custom activity Type: string (or Expression with resultType string). - */ - command: any; - /** - * Resource linked service reference. - */ - resourceLinkedService?: LinkedServiceReference; - /** - * Folder path for resource files Type: string (or Expression with resultType string). - */ - folderPath?: any; - /** - * Reference objects - */ - referenceObjects?: CustomActivityReferenceObject; - /** - * User defined property bag. There is no restriction on the keys or values that can be used. The - * user specified custom activity has the full responsibility to consume and interpret the - * content defined. - */ - extendedProperties?: { [propertyName: string]: any }; - /** - * The retention time for the files submitted for custom activity. Type: double (or Expression - * with resultType double). - */ - retentionTimeInDays?: any; - /** - * Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression - * with resultType double). - */ - autoUserSpecification?: any; -} +/** Oracle Cloud Storage read settings. */ +export type OracleCloudStorageReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleCloudStorageReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Oracle Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** Oracle Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** The prefix filter for the Oracle Cloud Storage object name. Type: string (or Expression with resultType string). */ + prefix?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; -/** - * SSIS access credential. - */ -export interface SSISAccessCredential { - /** - * Domain for windows authentication. - */ - domain: any; - /** - * UseName for windows authentication. - */ - userName: any; - /** - * Password for windows authentication. - */ - password: SecretBaseUnion; -} +/** Google Cloud Storage read settings. */ +export type GoogleCloudStorageReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleCloudStorageReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Google Cloud Storage wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** Google Cloud Storage wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** The prefix filter for the Google Cloud Storage object name. Type: string (or Expression with resultType string). */ + prefix?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; -/** - * SSIS package execution log location - */ -export interface SSISLogLocation { - /** - * The SSIS package execution log path. Type: string (or Expression with resultType string). - */ - logPath: any; - /** - * The package execution log access credential. - */ - accessCredential?: SSISAccessCredential; - /** - * Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or - * Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - logRefreshInterval?: any; -} +/** Ftp read settings. */ +export type FtpReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FtpReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Ftp wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** Ftp wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Specify whether to use binary transfer mode for FTP stores. */ + useBinaryTransfer?: boolean; +}; -/** - * SSIS property override. - */ -export interface SSISPropertyOverride { - /** - * SSIS package property override value. Type: string (or Expression with resultType string). - */ - value: any; - /** - * Whether SSIS package property override value is sensitive data. Value will be encrypted in - * SSISDB if it is true - */ - isSensitive?: boolean; -} +/** Sftp read settings. */ +export type SftpReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SftpReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Sftp wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** Sftp wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; +}; -/** - * SSIS execution parameter. - */ -export interface SSISExecutionParameter { - /** - * SSIS package execution parameter value. Type: string (or Expression with resultType string). - */ - value: any; -} +/** Sftp read settings. */ +export type HttpReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HttpReadSettings"; + /** The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). */ + requestMethod?: Record; + /** The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). */ + requestBody?: Record; + /** The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). */ + additionalHeaders?: Record; + /** Specifies the timeout for a HTTP client to get HTTP response from HTTP server. */ + requestTimeout?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; +}; -/** - * SSIS package execution credential. - */ -export interface SSISExecutionCredential { - /** - * Domain for windows authentication. - */ - domain: any; - /** - * UseName for windows authentication. - */ - userName: any; - /** - * Password for windows authentication. - */ - password: SecureString; -} +/** HDFS read settings. */ +export type HdfsReadSettings = StoreReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HdfsReadSettings"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** HDFS wildcardFolderPath. Type: string (or Expression with resultType string). */ + wildcardFolderPath?: Record; + /** HDFS wildcardFileName. Type: string (or Expression with resultType string). */ + wildcardFileName?: Record; + /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ + fileListPath?: Record; + /** Indicates whether to enable partition discovery. */ + enablePartitionDiscovery?: boolean; + /** Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). */ + partitionRootPath?: Record; + /** The start of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeStart?: Record; + /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ + modifiedDatetimeEnd?: Record; + /** Specifies Distcp-related settings. */ + distcpSettings?: DistcpSettings; + /** Indicates whether the source files need to be deleted after copy completion. Default is false. Type: boolean (or Expression with resultType boolean). */ + deleteFilesAfterCompletion?: Record; +}; -/** - * SSIS embedded child package. - */ -export interface SSISChildPackage { - /** - * Path for embedded child package. Type: string (or Expression with resultType string). - */ - packagePath: any; - /** - * Name for embedded child package. - */ - packageName?: string; - /** - * Content for embedded child package. Type: string (or Expression with resultType string). - */ - packageContent: any; - /** - * Last modified date for embedded child package. - */ - packageLastModifiedDate?: string; -} +/** Sftp write settings. */ +export type SftpWriteSettings = StoreWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SftpWriteSettings"; + /** Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string). */ + operationTimeout?: Record; + /** Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't support rename operation. Type: boolean (or Expression with resultType boolean). */ + useTempFileRename?: Record; +}; -/** - * SSIS package location. - */ -export interface SSISPackageLocation { - /** - * The SSIS package path. Type: string (or Expression with resultType string). - */ - packagePath?: any; - /** - * The type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage', - * 'PackageStore' - */ - type?: SsisPackageLocationType; - /** - * Password of the package. - */ - packagePassword?: SecretBaseUnion; - /** - * The package access credential. - */ - accessCredential?: SSISAccessCredential; - /** - * The configuration file of the package execution. Type: string (or Expression with resultType - * string). - */ - configurationPath?: any; - /** - * The configuration file access credential. - */ - configurationAccessCredential?: SSISAccessCredential; - /** - * The package name. - */ - packageName?: string; - /** - * The embedded package content. Type: string (or Expression with resultType string). - */ - packageContent?: any; - /** - * The embedded package last modified date. - */ - packageLastModifiedDate?: string; - /** - * The embedded child package list. - */ - childPackages?: SSISChildPackage[]; -} +/** Azure blob write settings. */ +export type AzureBlobStorageWriteSettings = StoreWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobStorageWriteSettings"; + /** Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). */ + blockSizeInMB?: Record; +}; -/** - * Execute SSIS package activity. - */ -export interface ExecuteSSISPackageActivity { - /** - * Polymorphic Discriminator - */ - type: "ExecuteSSISPackage"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * SSIS package location. - */ - packageLocation: SSISPackageLocation; - /** - * Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: - * string (or Expression with resultType string). - */ - runtime?: any; - /** - * The logging level of SSIS package execution. Type: string (or Expression with resultType - * string). - */ - loggingLevel?: any; - /** - * The environment path to execute the SSIS package. Type: string (or Expression with resultType - * string). - */ - environmentPath?: any; - /** - * The package execution credential. - */ - executionCredential?: SSISExecutionCredential; - /** - * The integration runtime reference. - */ - connectVia: IntegrationRuntimeReference; - /** - * The project level parameters to execute the SSIS package. - */ - projectParameters?: { [propertyName: string]: SSISExecutionParameter }; - /** - * The package level parameters to execute the SSIS package. - */ - packageParameters?: { [propertyName: string]: SSISExecutionParameter }; - /** - * The project level connection managers to execute the SSIS package. - */ - projectConnectionManagers?: { - [propertyName: string]: { [propertyName: string]: SSISExecutionParameter }; - }; - /** - * The package level connection managers to execute the SSIS package. - */ - packageConnectionManagers?: { - [propertyName: string]: { [propertyName: string]: SSISExecutionParameter }; - }; - /** - * The property overrides to execute the SSIS package. - */ - propertyOverrides?: { [propertyName: string]: SSISPropertyOverride }; - /** - * SSIS package execution log location. - */ - logLocation?: SSISLogLocation; -} +/** Azure blobFS write settings. */ +export type AzureBlobFSWriteSettings = StoreWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobFSWriteSettings"; + /** Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer). */ + blockSizeInMB?: Record; +}; + +/** Azure data lake store write settings. */ +export type AzureDataLakeStoreWriteSettings = StoreWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataLakeStoreWriteSettings"; + /** Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with resultType integer). */ + expiryDateTime?: Record; +}; + +/** File server write settings. */ +export type FileServerWriteSettings = StoreWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FileServerWriteSettings"; +}; + +/** Azure File Storage write settings. */ +export type AzureFileStorageWriteSettings = StoreWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureFileStorageWriteSettings"; +}; + +/** Delimited text read settings. */ +export type DelimitedTextReadSettings = FormatReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DelimitedTextReadSettings"; + /** Indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). */ + skipLineCount?: Record; + /** Compression settings. */ + compressionProperties?: CompressionReadSettingsUnion; +}; -/** - * HDInsight Spark activity. - */ -export interface HDInsightSparkActivity { - /** - * Polymorphic Discriminator - */ - type: "HDInsightSpark"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression - * with resultType string). - */ - rootPath: any; - /** - * The relative path to the root folder of the code/package to be executed. Type: string (or - * Expression with resultType string). - */ - entryFilePath: any; - /** - * The user-specified arguments to HDInsightSparkActivity. - */ - argumentsProperty?: any[]; - /** - * Debug info option. Possible values include: 'None', 'Always', 'Failure' - */ - getDebugInfo?: HDInsightActivityDebugInfoOption; - /** - * The storage linked service for uploading the entry file and dependencies, and for receiving - * logs. - */ - sparkJobLinkedService?: LinkedServiceReference; - /** - * The application's Java/Spark main class. - */ - className?: string; - /** - * The user to impersonate that will execute the job. Type: string (or Expression with resultType - * string). - */ - proxyUser?: any; - /** - * Spark configuration property. - */ - sparkConfig?: { [propertyName: string]: any }; -} +/** Json read settings. */ +export type JsonReadSettings = FormatReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "JsonReadSettings"; + /** Compression settings. */ + compressionProperties?: CompressionReadSettingsUnion; +}; -/** - * HDInsight streaming activity type. - */ -export interface HDInsightStreamingActivity { - /** - * Polymorphic Discriminator - */ - type: "HDInsightStreaming"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Storage linked service references. - */ - storageLinkedServices?: LinkedServiceReference[]; - /** - * User specified arguments to HDInsightActivity. - */ - argumentsProperty?: any[]; - /** - * Debug info option. Possible values include: 'None', 'Always', 'Failure' - */ - getDebugInfo?: HDInsightActivityDebugInfoOption; - /** - * Mapper executable name. Type: string (or Expression with resultType string). - */ - mapper: any; - /** - * Reducer executable name. Type: string (or Expression with resultType string). - */ - reducer: any; - /** - * Input blob path. Type: string (or Expression with resultType string). - */ - input: any; - /** - * Output blob path. Type: string (or Expression with resultType string). - */ - output: any; - /** - * Paths to streaming job files. Can be directories. - */ - filePaths: any[]; - /** - * Linked service reference where the files are located. - */ - fileLinkedService?: LinkedServiceReference; - /** - * Combiner executable name. Type: string (or Expression with resultType string). - */ - combiner?: any; - /** - * Command line environment values. - */ - commandEnvironment?: any[]; - /** - * Allows user to specify defines for streaming job request. - */ - defines?: { [propertyName: string]: any }; -} +/** Xml read settings. */ +export type XmlReadSettings = FormatReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "XmlReadSettings"; + /** Compression settings. */ + compressionProperties?: CompressionReadSettingsUnion; + /** Indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). */ + validationMode?: Record; + /** Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). */ + detectDataType?: Record; + /** Indicates whether namespace is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean). */ + namespaces?: Record; + /** Namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object). */ + namespacePrefixes?: Record; +}; -/** - * HDInsight MapReduce activity type. - */ -export interface HDInsightMapReduceActivity { - /** - * Polymorphic Discriminator - */ - type: "HDInsightMapReduce"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Storage linked service references. - */ - storageLinkedServices?: LinkedServiceReference[]; - /** - * User specified arguments to HDInsightActivity. - */ - argumentsProperty?: any[]; - /** - * Debug info option. Possible values include: 'None', 'Always', 'Failure' - */ - getDebugInfo?: HDInsightActivityDebugInfoOption; - /** - * Class name. Type: string (or Expression with resultType string). - */ - className: any; - /** - * Jar path. Type: string (or Expression with resultType string). - */ - jarFilePath: any; - /** - * Jar linked service reference. - */ - jarLinkedService?: LinkedServiceReference; - /** - * Jar libs. - */ - jarLibs?: any[]; - /** - * Allows user to specify defines for the MapReduce job request. - */ - defines?: { [propertyName: string]: any }; -} +/** Binary read settings. */ +export type BinaryReadSettings = FormatReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "BinaryReadSettings"; + /** Compression settings. */ + compressionProperties?: CompressionReadSettingsUnion; +}; -/** - * HDInsight Pig activity type. - */ -export interface HDInsightPigActivity { - /** - * Polymorphic Discriminator - */ - type: "HDInsightPig"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Storage linked service references. - */ - storageLinkedServices?: LinkedServiceReference[]; - /** - * User specified arguments to HDInsightActivity. Type: array (or Expression with resultType - * array). - */ - argumentsProperty?: any; - /** - * Debug info option. Possible values include: 'None', 'Always', 'Failure' - */ - getDebugInfo?: HDInsightActivityDebugInfoOption; - /** - * Script path. Type: string (or Expression with resultType string). - */ - scriptPath?: any; - /** - * Script linked service reference. - */ - scriptLinkedService?: LinkedServiceReference; - /** - * Allows user to specify defines for Pig job request. - */ - defines?: { [propertyName: string]: any }; -} +/** The ZipDeflate compression read settings. */ +export type ZipDeflateReadSettings = CompressionReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ZipDeflateReadSettings"; + /** Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean). */ + preserveZipFileNameAsFolder?: Record; +}; -/** - * HDInsight Hive activity type. - */ -export interface HDInsightHiveActivity { - /** - * Polymorphic Discriminator - */ - type: "HDInsightHive"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Storage linked service references. - */ - storageLinkedServices?: LinkedServiceReference[]; - /** - * User specified arguments to HDInsightActivity. - */ - argumentsProperty?: any[]; - /** - * Debug info option. Possible values include: 'None', 'Always', 'Failure' - */ - getDebugInfo?: HDInsightActivityDebugInfoOption; - /** - * Script path. Type: string (or Expression with resultType string). - */ - scriptPath?: any; - /** - * Script linked service reference. - */ - scriptLinkedService?: LinkedServiceReference; - /** - * Allows user to specify defines for Hive job request. - */ - defines?: { [propertyName: string]: any }; - /** - * User specified arguments under hivevar namespace. - */ - variables?: any[]; - /** - * Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP - * (Enterprise Security Package) - */ - queryTimeout?: number; -} +/** The Tar compression read settings. */ +export type TarReadSettings = CompressionReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TarReadSettings"; + /** Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). */ + preserveCompressionFileNameAsFolder?: Record; +}; -/** - * Skip error file. - */ -export interface SkipErrorFile { - /** - * Skip if file is deleted by other client during copy. Default is true. Type: boolean (or - * Expression with resultType boolean). - */ - fileMissing?: any; - /** - * Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean - * (or Expression with resultType boolean). - */ - dataInconsistency?: any; -} +/** The TarGZip compression read settings. */ +export type TarGZipReadSettings = CompressionReadSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TarGZipReadSettings"; + /** Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean). */ + preserveCompressionFileNameAsFolder?: Record; +}; -/** - * Log location settings. - */ -export interface LogLocationSettings { - /** - * Log storage linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * The path to storage for storing detailed logs of activity execution. Type: string (or - * Expression with resultType string). - */ - path?: any; -} +/** Avro write settings. */ +export type AvroWriteSettings = FormatWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AvroWriteSettings"; + /** Top level record name in write result, which is required in AVRO spec. */ + recordName?: string; + /** Record namespace in the write result. */ + recordNamespace?: string; + /** Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). */ + maxRowsPerFile?: Record; + /** Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). */ + fileNamePrefix?: Record; +}; -/** - * Settings for copy activity log. - */ -export interface CopyActivityLogSettings { - /** - * Gets or sets the log level, support: Info, Warning. Type: string (or Expression with - * resultType string). - */ - logLevel?: any; - /** - * Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType - * boolean). - */ - enableReliableLogging?: any; -} +/** Orc write settings. */ +export type OrcWriteSettings = FormatWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OrcWriteSettings"; + /** Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). */ + maxRowsPerFile?: Record; + /** Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). */ + fileNamePrefix?: Record; +}; -/** - * Log settings. - */ -export interface LogSettings { - /** - * Specifies whether to enable copy activity log. Type: boolean (or Expression with resultType - * boolean). - */ - enableCopyActivityLog?: any; - /** - * Specifies settings for copy activity log. - */ - copyActivityLogSettings?: CopyActivityLogSettings; - /** - * Log location settings customer needs to provide when enabling log. - */ - logLocationSettings: LogLocationSettings; -} +/** Parquet write settings. */ +export type ParquetWriteSettings = FormatWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ParquetWriteSettings"; + /** Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). */ + maxRowsPerFile?: Record; + /** Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). */ + fileNamePrefix?: Record; +}; -/** - * Redirect incompatible row settings - */ -export interface RedirectIncompatibleRowSettings { - /** - * Name of the Azure Storage, Storage SAS, or Azure Data Lake Store linked service used for - * redirecting incompatible row. Must be specified if redirectIncompatibleRowSettings is - * specified. Type: string (or Expression with resultType string). - */ - linkedServiceName: any; - /** - * The path for storing the redirect incompatible row data. Type: string (or Expression with - * resultType string). - */ - path?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** Delimited text write settings. */ +export type DelimitedTextWriteSettings = FormatWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DelimitedTextWriteSettings"; + /** Indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean). */ + quoteAllText?: Record; + /** The file extension used to create the files. Type: string (or Expression with resultType string). */ + fileExtension: Record; + /** Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer). */ + maxRowsPerFile?: Record; + /** Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string). */ + fileNamePrefix?: Record; +}; -/** - * Staging settings. - */ -export interface StagingSettings { - /** - * Staging linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * The path to storage for storing the interim data. Type: string (or Expression with resultType - * string). - */ - path?: any; - /** - * Specifies whether to use compression when copying data via an interim staging. Default value - * is false. Type: boolean (or Expression with resultType boolean). - */ - enableCompression?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** Json write settings. */ +export type JsonWriteSettings = FormatWriteSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "JsonWriteSettings"; + /** File pattern of JSON. This setting controls the way a collection of JSON objects will be treated. The default value is 'setOfObjects'. It is case-sensitive. */ + filePattern?: Record; +}; -/** - * Contains the possible cases for CopySink. - */ -export type CopySinkUnion = - | CopySink - | CosmosDbMongoDbApiSink - | MongoDbV2Sink - | MongoDbAtlasSink - | SalesforceServiceCloudSink - | SalesforceSink - | AzureDataExplorerSink - | CommonDataServiceForAppsSink - | DynamicsCrmSink - | DynamicsSink - | MicrosoftAccessSink - | InformixSink - | OdbcSink - | AzureSearchIndexSink - | AzureBlobFSSink - | AzureDataLakeStoreSink - | OracleSink - | SnowflakeSink - | SqlDWSink - | SqlMISink - | AzureSqlSink - | SqlServerSink - | SqlSink - | CosmosDbSqlApiSink - | DocumentDbCollectionSink - | FileSystemSink - | BlobSink - | BinarySink - | ParquetSink - | AvroSink - | AzureTableSink - | AzureQueueSink - | SapCloudForCustomerSink - | AzureDatabricksDeltaLakeSink - | AzureMySqlSink - | AzurePostgreSqlSink - | RestSink - | OrcSink - | JsonSink - | DelimitedTextSink; +/** A copy activity Avro source. */ +export type AvroSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AvroSource"; + /** Avro store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity sink. - */ -export interface CopySink { - /** - * Polymorphic Discriminator - */ - type: "CopySink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity excel source. */ +export type ExcelSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ExcelSource"; + /** Excel store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity sink for a CosmosDB (MongoDB API) database. - */ -export interface CosmosDbMongoDbApiSink { - /** - * Polymorphic Discriminator - */ - type: "CosmosDbMongoDbApiSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies whether the document with same key to be overwritten (upsert) rather than throw - * exception (insert). The default value is "insert". Type: string (or Expression with resultType - * string). Type: string (or Expression with resultType string). - */ - writeBehavior?: any; -} +/** A copy activity Parquet source. */ +export type ParquetSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ParquetSource"; + /** Parquet store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity MongoDB sink. - */ -export interface MongoDbV2Sink { - /** - * Polymorphic Discriminator - */ - type: "MongoDbV2Sink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies whether the document with same key to be overwritten (upsert) rather than throw - * exception (insert). The default value is "insert". Type: string (or Expression with resultType - * string). Type: string (or Expression with resultType string). - */ - writeBehavior?: any; -} +/** A copy activity DelimitedText source. */ +export type DelimitedTextSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DelimitedTextSource"; + /** DelimitedText store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** DelimitedText format settings. */ + formatSettings?: DelimitedTextReadSettings; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity MongoDB Atlas sink. - */ -export interface MongoDbAtlasSink { - /** - * Polymorphic Discriminator - */ - type: "MongoDbAtlasSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specifies whether the document with same key to be overwritten (upsert) rather than throw - * exception (insert). The default value is "insert". Type: string (or Expression with resultType - * string). Type: string (or Expression with resultType string). - */ - writeBehavior?: any; -} +/** A copy activity Json source. */ +export type JsonSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "JsonSource"; + /** Json store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** Json format settings. */ + formatSettings?: JsonReadSettings; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Salesforce Service Cloud sink. - */ -export interface SalesforceServiceCloudSink { - /** - * Polymorphic Discriminator - */ - type: "SalesforceServiceCloudSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The write behavior for the operation. Default is Insert. Possible values include: 'Insert', - * 'Upsert' - */ - writeBehavior?: SalesforceSinkWriteBehavior; - /** - * The name of the external ID field for upsert operation. Default value is 'Id' column. Type: - * string (or Expression with resultType string). - */ - externalIdFieldName?: any; - /** - * The flag indicating whether or not to ignore null values from input dataset (except key - * fields) during write operation. Default value is false. If set it to true, it means ADF will - * leave the data in the destination object unchanged when doing upsert/update operation and - * insert defined default value when doing insert operation, versus ADF will update the data in - * the destination object to NULL when doing upsert/update operation and insert NULL value when - * doing insert operation. Type: boolean (or Expression with resultType boolean). - */ - ignoreNullValues?: any; -} +/** A copy activity Xml source. */ +export type XmlSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "XmlSource"; + /** Xml store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** Xml format settings. */ + formatSettings?: XmlReadSettings; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Salesforce sink. - */ -export interface SalesforceSink { - /** - * Polymorphic Discriminator - */ - type: "SalesforceSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The write behavior for the operation. Default is Insert. Possible values include: 'Insert', - * 'Upsert' - */ - writeBehavior?: SalesforceSinkWriteBehavior; - /** - * The name of the external ID field for upsert operation. Default value is 'Id' column. Type: - * string (or Expression with resultType string). - */ - externalIdFieldName?: any; - /** - * The flag indicating whether or not to ignore null values from input dataset (except key - * fields) during write operation. Default value is false. If set it to true, it means ADF will - * leave the data in the destination object unchanged when doing upsert/update operation and - * insert defined default value when doing insert operation, versus ADF will update the data in - * the destination object to NULL when doing upsert/update operation and insert NULL value when - * doing insert operation. Type: boolean (or Expression with resultType boolean). - */ - ignoreNullValues?: any; -} +/** A copy activity ORC source. */ +export type OrcSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OrcSource"; + /** ORC store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; + +/** A copy activity Binary source. */ +export type BinarySource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "BinarySource"; + /** Binary store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** Binary format settings. */ + formatSettings?: BinaryReadSettings; +}; -/** - * A copy activity Azure Data Explorer sink. - */ -export interface AzureDataExplorerSink { - /** - * Polymorphic Discriminator - */ - type: "AzureDataExplorerSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. - */ - ingestionMappingName?: any; - /** - * An explicit column mapping description provided in a json format. Type: string. - */ - ingestionMappingAsJson?: any; - /** - * If set to true, any aggregation will be skipped. Default is false. Type: boolean. - */ - flushImmediately?: any; -} +/** Copy activity sources of tabular type. */ +export type TabularSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "TabularSource" + | "AzureTableSource" + | "InformixSource" + | "Db2Source" + | "OdbcSource" + | "MySqlSource" + | "PostgreSqlSource" + | "SybaseSource" + | "SapBwSource" + | "SalesforceSource" + | "SapCloudForCustomerSource" + | "SapEccSource" + | "SapHanaSource" + | "SapOpenHubSource" + | "SapTableSource" + | "SqlSource" + | "SqlServerSource" + | "AmazonRdsForSqlServerSource" + | "AzureSqlSource" + | "SqlMISource" + | "SqlDWSource" + | "AzureMySqlSource" + | "TeradataSource" + | "CassandraSource" + | "AmazonMWSSource" + | "AzurePostgreSqlSource" + | "ConcurSource" + | "CouchbaseSource" + | "DrillSource" + | "EloquaSource" + | "GoogleBigQuerySource" + | "GreenplumSource" + | "HBaseSource" + | "HiveSource" + | "HubspotSource" + | "ImpalaSource" + | "JiraSource" + | "MagentoSource" + | "MariaDBSource" + | "AzureMariaDBSource" + | "MarketoSource" + | "PaypalSource" + | "PhoenixSource" + | "PrestoSource" + | "QuickBooksSource" + | "ServiceNowSource" + | "ShopifySource" + | "SparkSource" + | "SquareSource" + | "XeroSource" + | "ZohoSource" + | "NetezzaSource" + | "VerticaSource" + | "SalesforceMarketingCloudSource" + | "ResponsysSource" + | "DynamicsAXSource" + | "OracleServiceCloudSource" + | "GoogleAdWordsSource" + | "AmazonRedshiftSource"; + /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + queryTimeout?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Common Data Service for Apps sink. - */ -export interface CommonDataServiceForAppsSink { - /** - * Polymorphic Discriminator - */ - type: "CommonDataServiceForAppsSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The flag indicating whether to ignore null values from input dataset (except key fields) - * during write operation. Default is false. Type: boolean (or Expression with resultType - * boolean). - */ - ignoreNullValues?: any; - /** - * The logical name of the alternate key which will be used when upserting records. Type: string - * (or Expression with resultType string). - */ - alternateKeyName?: any; -} +/** A copy activity Azure Blob source. */ +export type BlobSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "BlobSource"; + /** Treat empty as null. Type: boolean (or Expression with resultType boolean). */ + treatEmptyAsNull?: Record; + /** Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). */ + skipHeaderLineCount?: Record; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; +}; -/** - * A copy activity Dynamics CRM sink. - */ -export interface DynamicsCrmSink { - /** - * Polymorphic Discriminator - */ - type: "DynamicsCrmSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The flag indicating whether to ignore null values from input dataset (except key fields) - * during write operation. Default is false. Type: boolean (or Expression with resultType - * boolean). - */ - ignoreNullValues?: any; - /** - * The logical name of the alternate key which will be used when upserting records. Type: string - * (or Expression with resultType string). - */ - alternateKeyName?: any; -} +/** A copy activity Document Database Collection source. */ +export type DocumentDbCollectionSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DocumentDbCollectionSource"; + /** Documents query. Type: string (or Expression with resultType string). */ + query?: Record; + /** Nested properties separator. Type: string (or Expression with resultType string). */ + nestingSeparator?: Record; + /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + queryTimeout?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Dynamics sink. - */ -export interface DynamicsSink { - /** - * Polymorphic Discriminator - */ - type: "DynamicsSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The flag indicating whether ignore null values from input dataset (except key fields) during - * write operation. Default is false. Type: boolean (or Expression with resultType boolean). - */ - ignoreNullValues?: any; - /** - * The logical name of the alternate key which will be used when upserting records. Type: string - * (or Expression with resultType string). - */ - alternateKeyName?: any; -} +/** A copy activity Azure CosmosDB (SQL API) Collection source. */ +export type CosmosDbSqlApiSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CosmosDbSqlApiSource"; + /** SQL API query. Type: string (or Expression with resultType string). */ + query?: Record; + /** Page size of the result. Type: integer (or Expression with resultType integer). */ + pageSize?: Record; + /** Preferred regions. Type: array of strings (or Expression with resultType array of strings). */ + preferredRegions?: Record; + /** Whether detect primitive values as datetime values. Type: boolean (or Expression with resultType boolean). */ + detectDatetime?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Microsoft Access sink. - */ -export interface MicrosoftAccessSink { - /** - * Polymorphic Discriminator - */ - type: "MicrosoftAccessSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * A query to execute before starting the copy. Type: string (or Expression with resultType - * string). - */ - preCopyScript?: any; -} +/** A copy activity Dynamics source. */ +export type DynamicsSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsSource"; + /** FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). */ + query?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Informix sink. - */ -export interface InformixSink { - /** - * Polymorphic Discriminator - */ - type: "InformixSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * A query to execute before starting the copy. Type: string (or Expression with resultType - * string). - */ - preCopyScript?: any; -} +/** A copy activity Dynamics CRM source. */ +export type DynamicsCrmSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsCrmSource"; + /** FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). */ + query?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity ODBC sink. - */ -export interface OdbcSink { - /** - * Polymorphic Discriminator - */ - type: "OdbcSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * A query to execute before starting the copy. Type: string (or Expression with resultType - * string). - */ - preCopyScript?: any; -} +/** A copy activity Common Data Service for Apps source. */ +export type CommonDataServiceForAppsSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CommonDataServiceForAppsSource"; + /** FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string). */ + query?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Azure Search Index sink. - */ -export interface AzureSearchIndexSink { - /** - * Polymorphic Discriminator - */ - type: "AzureSearchIndexSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Specify the write behavior when upserting documents into Azure Search Index. Possible values - * include: 'Merge', 'Upload' - */ - writeBehavior?: AzureSearchIndexWriteBehaviorType; -} +/** A copy activity source for various relational databases. */ +export type RelationalSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "RelationalSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * Specify the name and value of custom metadata item. - */ -export interface MetadataItem { - /** - * Metadata item key name. Type: string (or Expression with resultType string). - */ - name?: any; - /** - * Metadata item value. Type: string (or Expression with resultType string). - */ - value?: any; -} +/** A copy activity source for Microsoft Access. */ +export type MicrosoftAccessSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MicrosoftAccessSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Azure Data Lake Storage Gen2 sink. - */ -export interface AzureBlobFSSink { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobFSSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * Specify the custom metadata to be added to sink data. Type: array of objects (or Expression - * with resultType array of objects). - */ - metadata?: MetadataItem[]; -} +/** A copy activity source for OData source. */ +export type ODataSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ODataSource"; + /** OData query. For example, "$top=1". Type: string (or Expression with resultType string). */ + query?: Record; + /** The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity Azure Data Lake Store sink. - */ -export interface AzureDataLakeStoreSink { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeStoreSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * Single File Parallel. - */ - enableAdlsSingleFileParallel?: any; -} +/** A copy activity Salesforce Service Cloud source. */ +export type SalesforceServiceCloudSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceServiceCloudSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; + /** The read behavior for the operation. Default is Query. */ + readBehavior?: SalesforceSourceReadBehavior; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; + +/** A copy activity Rest service source. */ +export type RestSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "RestSource"; + /** The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). */ + requestMethod?: Record; + /** The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). */ + requestBody?: Record; + /** The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). */ + additionalHeaders?: Record; + /** The pagination rules to compose next page requests. Type: string (or Expression with resultType string). */ + paginationRules?: Record; + /** The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; + /** The time to await before sending next page request. */ + requestInterval?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; + +/** A copy activity file system source. */ +export type FileSystemSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FileSystemSource"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; + +/** A copy activity HDFS source. */ +export type HdfsSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HdfsSource"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** Specifies Distcp-related settings. */ + distcpSettings?: DistcpSettings; +}; -/** - * A copy activity Oracle sink. - */ -export interface OracleSink { - /** - * Polymorphic Discriminator - */ - type: "OracleSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL pre-copy script. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; -} +/** A copy activity Azure Data Explorer (Kusto) source. */ +export type AzureDataExplorerSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataExplorerSource"; + /** Database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with resultType string). */ + query: Record; + /** The name of the Boolean option that controls whether truncation is applied to result-sets that go beyond a certain row-count limit. */ + noTruncation?: Record; + /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. */ + queryTimeout?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * Contains the possible cases for ImportSettings. - */ -export type ImportSettingsUnion = - | ImportSettings - | AzureDatabricksDeltaLakeImportCommand - | SnowflakeImportCopyCommand; +/** A copy activity Oracle source. */ +export type OracleSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleSource"; + /** Oracle reader query. Type: string (or Expression with resultType string). */ + oracleReaderQuery?: Record; + /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + queryTimeout?: Record; + /** The partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for Oracle source partitioning. */ + partitionSettings?: OraclePartitionSettings; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * Import command settings. - */ -export interface ImportSettings { - /** - * Polymorphic Discriminator - */ - type: "ImportSettings"; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity AmazonRdsForOracle source. */ +export type AmazonRdsForOracleSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRdsForOracleSource"; + /** AmazonRdsForOracle reader query. Type: string (or Expression with resultType string). */ + oracleReaderQuery?: Record; + /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + queryTimeout?: Record; + /** The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string). */ + partitionOption?: Record; + /** The settings that will be leveraged for AmazonRdsForOracle source partitioning. */ + partitionSettings?: AmazonRdsForOraclePartitionSettings; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * Azure Databricks Delta Lake import command settings. - */ -export interface AzureDatabricksDeltaLakeImportCommand { - /** - * Polymorphic Discriminator - */ - type: "AzureDatabricksDeltaLakeImportCommand"; - /** - * Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or - * Expression with resultType string). - */ - dateFormat?: any; - /** - * Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or - * Expression with resultType string). - */ - timestampFormat?: any; -} +/** A copy activity source for web page table. */ +export type WebSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "WebSource"; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * Snowflake import command settings. - */ -export interface SnowflakeImportCopyCommand { - /** - * Polymorphic Discriminator - */ - type: "SnowflakeImportCopyCommand"; - /** - * Additional copy options directly passed to snowflake Copy Command. Type: key value pairs - * (value should be string type) (or Expression with resultType object). Example: - * "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } - */ - additionalCopyOptions?: { [propertyName: string]: any }; - /** - * Additional format options directly passed to snowflake Copy Command. Type: key value pairs - * (value should be string type) (or Expression with resultType object). Example: - * "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" } - */ - additionalFormatOptions?: { [propertyName: string]: any }; -} +/** A copy activity source for a MongoDB database. */ +export type MongoDbSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbSource"; + /** Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). */ + query?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * A copy activity snowflake sink. - */ -export interface SnowflakeSink { - /** - * Polymorphic Discriminator - */ - type: "SnowflakeSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL pre-copy script. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; - /** - * Snowflake import settings. - */ - importSettings?: SnowflakeImportCopyCommand; -} +/** A copy activity source for a MongoDB Atlas database. */ +export type MongoDbAtlasSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbAtlasSource"; + /** Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). */ + filter?: Record; + /** Cursor methods for Mongodb query */ + cursorMethods?: MongoDbCursorMethodsProperties; + /** Specifies the number of documents to return in each batch of the response from MongoDB Atlas instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). */ + batchSize?: Record; + /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + queryTimeout?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * Default value. - */ -export interface DWCopyCommandDefaultValue { - /** - * Column name. Type: object (or Expression with resultType string). - */ - columnName?: any; - /** - * The default value of the column. Type: object (or Expression with resultType string). - */ - defaultValue?: any; -} +/** A copy activity source for a MongoDB database. */ +export type MongoDbV2Source = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbV2Source"; + /** Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). */ + filter?: Record; + /** Cursor methods for Mongodb query */ + cursorMethods?: MongoDbCursorMethodsProperties; + /** Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). */ + batchSize?: Record; + /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + queryTimeout?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * DW Copy Command settings. - */ -export interface DWCopyCommandSettings { - /** - * Specifies the default values for each target column in SQL DW. The default values in the - * property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a - * default value. Type: array of objects (or Expression with resultType array of objects). - */ - defaultValues?: DWCopyCommandDefaultValue[]; - /** - * Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value - * should be string type) (or Expression with resultType object). Example: "additionalOptions": { - * "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" } - */ - additionalOptions?: { [propertyName: string]: string }; -} +/** A copy activity source for a CosmosDB (MongoDB API) database. */ +export type CosmosDbMongoDbApiSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CosmosDbMongoDbApiSource"; + /** Specifies selection filter using query operators. To return all documents in a collection, omit this parameter or pass an empty document ({}). Type: string (or Expression with resultType string). */ + filter?: Record; + /** Cursor methods for Mongodb query. */ + cursorMethods?: MongoDbCursorMethodsProperties; + /** Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). */ + batchSize?: Record; + /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + queryTimeout?: Record; + /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ + additionalColumns?: Record; +}; -/** - * PolyBase settings. - */ -export interface PolybaseSettings { - /** - * Reject type. Possible values include: 'value', 'percentage' - */ - rejectType?: PolybaseSettingsRejectType; - /** - * Specifies the value or the percentage of rows that can be rejected before the query fails. - * Type: number (or Expression with resultType number), minimum: 0. - */ - rejectValue?: any; - /** - * Determines the number of rows to attempt to retrieve before the PolyBase recalculates the - * percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: - * 0. - */ - rejectSampleValue?: any; - /** - * Specifies how to handle missing values in delimited text files when PolyBase retrieves data - * from the text file. Type: boolean (or Expression with resultType boolean). - */ - useTypeDefault?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity source for an Office 365 service. */ +export type Office365Source = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Office365Source"; + /** The groups containing all the users. Type: array of strings (or Expression with resultType array of strings). */ + allowedGroups?: Record; + /** The user scope uri. Type: string (or Expression with resultType string). */ + userScopeFilterUri?: Record; + /** The Column to apply the and . Type: string (or Expression with resultType string). */ + dateFilterColumn?: Record; + /** Start time of the requested range for this dataset. Type: string (or Expression with resultType string). */ + startTime?: Record; + /** End time of the requested range for this dataset. Type: string (or Expression with resultType string). */ + endTime?: Record; + /** The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ] */ + outputColumns?: Record; +}; -/** - * A copy activity SQL Data Warehouse sink. - */ -export interface SqlDWSink { - /** - * Polymorphic Discriminator - */ - type: "SqlDWSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL pre-copy script. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; - /** - * Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean - * (or Expression with resultType boolean). - */ - allowPolyBase?: any; - /** - * Specifies PolyBase-related settings when allowPolyBase is true. - */ - polyBaseSettings?: PolybaseSettings; - /** - * Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or - * Expression with resultType boolean). - */ - allowCopyCommand?: any; - /** - * Specifies Copy Command related settings when allowCopyCommand is true. - */ - copyCommandSettings?: DWCopyCommandSettings; - /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is - * supported. Type: string (or Expression with resultType string). - */ - tableOption?: any; -} +/** A copy activity Azure Data Lake source. */ +export type AzureDataLakeStoreSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataLakeStoreSource"; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; +}; -/** - * A copy activity Azure SQL Managed Instance sink. - */ -export interface SqlMISink { - /** - * Polymorphic Discriminator - */ - type: "SqlMISink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL writer stored procedure name. Type: string (or Expression with resultType string). - */ - sqlWriterStoredProcedureName?: any; - /** - * SQL writer table type. Type: string (or Expression with resultType string). - */ - sqlWriterTableType?: any; - /** - * SQL pre-copy script. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; - /** - * SQL stored procedure parameters. - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; - /** - * The stored procedure parameter name of the table type. Type: string (or Expression with - * resultType string). - */ - storedProcedureTableTypeParameterName?: any; - /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is - * supported. Type: string (or Expression with resultType string). - */ - tableOption?: any; -} +/** A copy activity Azure BlobFS source. */ +export type AzureBlobFSSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobFSSource"; + /** Treat empty as null. Type: boolean (or Expression with resultType boolean). */ + treatEmptyAsNull?: Record; + /** Number of header lines to skip from each blob. Type: integer (or Expression with resultType integer). */ + skipHeaderLineCount?: Record; + /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; +}; -/** - * A copy activity Azure SQL sink. - */ -export interface AzureSqlSink { - /** - * Polymorphic Discriminator - */ - type: "AzureSqlSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL writer stored procedure name. Type: string (or Expression with resultType string). - */ - sqlWriterStoredProcedureName?: any; - /** - * SQL writer table type. Type: string (or Expression with resultType string). - */ - sqlWriterTableType?: any; - /** - * SQL pre-copy script. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; - /** - * SQL stored procedure parameters. - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; - /** - * The stored procedure parameter name of the table type. Type: string (or Expression with - * resultType string). - */ - storedProcedureTableTypeParameterName?: any; - /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is - * supported. Type: string (or Expression with resultType string). - */ - tableOption?: any; -} +/** A copy activity source for an HTTP file. */ +export type HttpSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HttpSource"; + /** Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; +}; + +/** A copy activity snowflake source. */ +export type SnowflakeSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SnowflakeSource"; + /** Snowflake Sql query. Type: string (or Expression with resultType string). */ + query?: Record; + /** Snowflake export settings. */ + exportSettings?: SnowflakeExportCopyCommand; +}; + +/** A copy activity Azure Databricks Delta Lake source. */ +export type AzureDatabricksDeltaLakeSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricksDeltaLakeSource"; + /** Azure Databricks Delta Lake Sql query. Type: string (or Expression with resultType string). */ + query?: Record; + /** Azure Databricks Delta Lake export settings. */ + exportSettings?: AzureDatabricksDeltaLakeExportCommand; +}; + +/** A copy activity source for sharePoint online list source. */ +export type SharePointOnlineListSource = CopySource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SharePointOnlineListSource"; + /** The OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). */ + query?: Record; + /** The wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; +}; + +/** A copy activity DelimitedText sink. */ +export type DelimitedTextSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DelimitedTextSink"; + /** DelimitedText store settings. */ + storeSettings?: StoreWriteSettingsUnion; + /** DelimitedText format settings. */ + formatSettings?: DelimitedTextWriteSettings; +}; + +/** A copy activity Json sink. */ +export type JsonSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "JsonSink"; + /** Json store settings. */ + storeSettings?: StoreWriteSettingsUnion; + /** Json format settings. */ + formatSettings?: JsonWriteSettings; +}; + +/** A copy activity ORC sink. */ +export type OrcSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OrcSink"; + /** ORC store settings. */ + storeSettings?: StoreWriteSettingsUnion; + /** ORC format settings. */ + formatSettings?: OrcWriteSettings; +}; -/** - * A copy activity SQL server sink. - */ -export interface SqlServerSink { - /** - * Polymorphic Discriminator - */ - type: "SqlServerSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL writer stored procedure name. Type: string (or Expression with resultType string). - */ - sqlWriterStoredProcedureName?: any; - /** - * SQL writer table type. Type: string (or Expression with resultType string). - */ - sqlWriterTableType?: any; - /** - * SQL pre-copy script. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; - /** - * SQL stored procedure parameters. - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; - /** - * The stored procedure parameter name of the table type. Type: string (or Expression with - * resultType string). - */ - storedProcedureTableTypeParameterName?: any; - /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is - * supported. Type: string (or Expression with resultType string). - */ - tableOption?: any; -} +/** A copy activity Rest service Sink. */ +export type RestSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "RestSink"; + /** The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression with resultType string). */ + requestMethod?: Record; + /** The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). */ + additionalHeaders?: Record; + /** The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; + /** The time to await before sending next request, in milliseconds */ + requestInterval?: Record; + /** Http Compression Type to Send data in compressed format with Optimal Compression Level, Default is None. And The Only Supported option is Gzip. */ + httpCompressionType?: Record; +}; -/** - * A copy activity SQL sink. - */ -export interface SqlSink { - /** - * Polymorphic Discriminator - */ - type: "SqlSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL writer stored procedure name. Type: string (or Expression with resultType string). - */ - sqlWriterStoredProcedureName?: any; - /** - * SQL writer table type. Type: string (or Expression with resultType string). - */ - sqlWriterTableType?: any; - /** - * SQL pre-copy script. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; - /** - * SQL stored procedure parameters. - */ - storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; - /** - * The stored procedure parameter name of the table type. Type: string (or Expression with - * resultType string). - */ - storedProcedureTableTypeParameterName?: any; - /** - * The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is - * supported. Type: string (or Expression with resultType string). - */ - tableOption?: any; -} +/** A copy activity Azure PostgreSQL sink. */ +export type AzurePostgreSqlSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzurePostgreSqlSink"; + /** A query to execute before starting the copy. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; +}; -/** - * A copy activity Azure CosmosDB (SQL API) Collection sink. - */ -export interface CosmosDbSqlApiSink { - /** - * Polymorphic Discriminator - */ - type: "CosmosDbSqlApiSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType - * string). Allowed values: insert and upsert. - */ - writeBehavior?: any; -} +/** A copy activity Azure MySql sink. */ +export type AzureMySqlSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMySqlSink"; + /** A query to execute before starting the copy. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; +}; -/** - * A copy activity Document Database Collection sink. - */ -export interface DocumentDbCollectionSink { - /** - * Polymorphic Discriminator - */ - type: "DocumentDbCollectionSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Nested properties separator. Default is . (dot). Type: string (or Expression with resultType - * string). - */ - nestingSeparator?: any; - /** - * Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType - * string). Allowed values: insert and upsert. - */ - writeBehavior?: any; -} +/** A copy activity Azure Databricks Delta Lake sink. */ +export type AzureDatabricksDeltaLakeSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricksDeltaLakeSink"; + /** SQL pre-copy script. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; + /** Azure Databricks Delta Lake import settings. */ + importSettings?: AzureDatabricksDeltaLakeImportCommand; +}; -/** - * A copy activity file system sink. - */ -export interface FileSystemSink { - /** - * Polymorphic Discriminator - */ - type: "FileSystemSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; -} +/** A copy activity SAP Cloud for Customer sink. */ +export type SapCloudForCustomerSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapCloudForCustomerSink"; + /** The write behavior for the operation. Default is 'Insert'. */ + writeBehavior?: SapCloudForCustomerSinkWriteBehavior; + /** The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; +}; -/** - * A copy activity Azure Blob sink. - */ -export interface BlobSink { - /** - * Polymorphic Discriminator - */ +/** A copy activity Azure Queue sink. */ +export type AzureQueueSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureQueueSink"; +}; + +/** A copy activity Azure Table sink. */ +export type AzureTableSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureTableSink"; + /** Azure Table default partition key value. Type: string (or Expression with resultType string). */ + azureTableDefaultPartitionKeyValue?: Record; + /** Azure Table partition key name. Type: string (or Expression with resultType string). */ + azureTablePartitionKeyName?: Record; + /** Azure Table row key name. Type: string (or Expression with resultType string). */ + azureTableRowKeyName?: Record; + /** Azure Table insert type. Type: string (or Expression with resultType string). */ + azureTableInsertType?: Record; +}; + +/** A copy activity Avro sink. */ +export type AvroSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AvroSink"; + /** Avro store settings. */ + storeSettings?: StoreWriteSettingsUnion; + /** Avro format settings. */ + formatSettings?: AvroWriteSettings; +}; + +/** A copy activity Parquet sink. */ +export type ParquetSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ParquetSink"; + /** Parquet store settings. */ + storeSettings?: StoreWriteSettingsUnion; + /** Parquet format settings. */ + formatSettings?: ParquetWriteSettings; +}; + +/** A copy activity Binary sink. */ +export type BinarySink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "BinarySink"; + /** Binary store settings. */ + storeSettings?: StoreWriteSettingsUnion; +}; + +/** A copy activity Azure Blob sink. */ +export type BlobSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ type: "BlobSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). - */ - blobWriterOverwriteFiles?: any; - /** - * Blob writer date time format. Type: string (or Expression with resultType string). - */ - blobWriterDateTimeFormat?: any; - /** - * Blob writer add header. Type: boolean (or Expression with resultType boolean). - */ - blobWriterAddHeader?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * Specify the custom metadata to be added to sink data. Type: array of objects (or Expression - * with resultType array of objects). - */ + /** Blob writer overwrite files. Type: boolean (or Expression with resultType boolean). */ + blobWriterOverwriteFiles?: Record; + /** Blob writer date time format. Type: string (or Expression with resultType string). */ + blobWriterDateTimeFormat?: Record; + /** Blob writer add header. Type: boolean (or Expression with resultType boolean). */ + blobWriterAddHeader?: Record; + /** The type of copy behavior for copy sink. */ + copyBehavior?: Record; + /** Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). */ metadata?: MetadataItem[]; -} +}; -/** - * Contains the possible cases for StoreWriteSettings. - */ -export type StoreWriteSettingsUnion = - | StoreWriteSettings - | AzureFileStorageWriteSettings - | FileServerWriteSettings - | AzureDataLakeStoreWriteSettings - | AzureBlobFSWriteSettings - | AzureBlobStorageWriteSettings - | SftpWriteSettings; +/** A copy activity file system sink. */ +export type FileSystemSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FileSystemSink"; + /** The type of copy behavior for copy sink. */ + copyBehavior?: Record; +}; -/** - * Connector write settings. - */ -export interface StoreWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "StoreWriteSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Document Database Collection sink. */ +export type DocumentDbCollectionSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DocumentDbCollectionSink"; + /** Nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). */ + nestingSeparator?: Record; + /** Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. */ + writeBehavior?: Record; +}; -/** - * Azure File Storage write settings. - */ -export interface AzureFileStorageWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "AzureFileStorageWriteSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; -} +/** A copy activity Azure CosmosDB (SQL API) Collection sink. */ +export type CosmosDbSqlApiSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CosmosDbSqlApiSink"; + /** Describes how to write data to Azure Cosmos DB. Type: string (or Expression with resultType string). Allowed values: insert and upsert. */ + writeBehavior?: Record; +}; + +/** A copy activity SQL sink. */ +export type SqlSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlSink"; + /** SQL writer stored procedure name. Type: string (or Expression with resultType string). */ + sqlWriterStoredProcedureName?: Record; + /** SQL writer table type. Type: string (or Expression with resultType string). */ + sqlWriterTableType?: Record; + /** SQL pre-copy script. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; + /** SQL stored procedure parameters. */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). */ + storedProcedureTableTypeParameterName?: Record; + /** The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ + tableOption?: Record; + /** Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ + sqlWriterUseTableLock?: Record; + /** Write behavior when copying data into sql. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) */ + writeBehavior?: Record; + /** SQL upsert settings. */ + upsertSettings?: SqlUpsertSettings; +}; + +/** A copy activity SQL server sink. */ +export type SqlServerSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlServerSink"; + /** SQL writer stored procedure name. Type: string (or Expression with resultType string). */ + sqlWriterStoredProcedureName?: Record; + /** SQL writer table type. Type: string (or Expression with resultType string). */ + sqlWriterTableType?: Record; + /** SQL pre-copy script. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; + /** SQL stored procedure parameters. */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). */ + storedProcedureTableTypeParameterName?: Record; + /** The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ + tableOption?: Record; + /** Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ + sqlWriterUseTableLock?: Record; + /** Write behavior when copying data into sql server. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) */ + writeBehavior?: Record; + /** SQL upsert settings. */ + upsertSettings?: SqlUpsertSettings; +}; + +/** A copy activity Azure SQL sink. */ +export type AzureSqlSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSqlSink"; + /** SQL writer stored procedure name. Type: string (or Expression with resultType string). */ + sqlWriterStoredProcedureName?: Record; + /** SQL writer table type. Type: string (or Expression with resultType string). */ + sqlWriterTableType?: Record; + /** SQL pre-copy script. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; + /** SQL stored procedure parameters. */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). */ + storedProcedureTableTypeParameterName?: Record; + /** The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ + tableOption?: Record; + /** Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ + sqlWriterUseTableLock?: Record; + /** Write behavior when copying data into Azure SQL. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) */ + writeBehavior?: Record; + /** SQL upsert settings. */ + upsertSettings?: SqlUpsertSettings; +}; + +/** A copy activity Azure SQL Managed Instance sink. */ +export type SqlMISink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlMISink"; + /** SQL writer stored procedure name. Type: string (or Expression with resultType string). */ + sqlWriterStoredProcedureName?: Record; + /** SQL writer table type. Type: string (or Expression with resultType string). */ + sqlWriterTableType?: Record; + /** SQL pre-copy script. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; + /** SQL stored procedure parameters. */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** The stored procedure parameter name of the table type. Type: string (or Expression with resultType string). */ + storedProcedureTableTypeParameterName?: Record; + /** The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ + tableOption?: Record; + /** Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ + sqlWriterUseTableLock?: Record; + /** White behavior when copying data into azure SQL MI. Type: SqlWriteBehaviorEnum (or Expression with resultType SqlWriteBehaviorEnum) */ + writeBehavior?: Record; + /** SQL upsert settings. */ + upsertSettings?: SqlUpsertSettings; +}; + +/** A copy activity SQL Data Warehouse sink. */ +export type SqlDWSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlDWSink"; + /** SQL pre-copy script. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; + /** Indicates to use PolyBase to copy data into SQL Data Warehouse when applicable. Type: boolean (or Expression with resultType boolean). */ + allowPolyBase?: Record; + /** Specifies PolyBase-related settings when allowPolyBase is true. */ + polyBaseSettings?: PolybaseSettings; + /** Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean). */ + allowCopyCommand?: Record; + /** Specifies Copy Command related settings when allowCopyCommand is true. */ + copyCommandSettings?: DWCopyCommandSettings; + /** The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string). */ + tableOption?: Record; + /** Whether to use table lock during bulk copy. Type: boolean (or Expression with resultType boolean). */ + sqlWriterUseTableLock?: Record; + /** Write behavior when copying data into azure SQL DW. Type: SqlDWWriteBehaviorEnum (or Expression with resultType SqlDWWriteBehaviorEnum) */ + writeBehavior?: Record; + /** SQL DW upsert settings. */ + upsertSettings?: SqlDWUpsertSettings; +}; + +/** A copy activity snowflake sink. */ +export type SnowflakeSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SnowflakeSink"; + /** SQL pre-copy script. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; + /** Snowflake import settings. */ + importSettings?: SnowflakeImportCopyCommand; +}; + +/** A copy activity Oracle sink. */ +export type OracleSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleSink"; + /** SQL pre-copy script. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; +}; + +/** A copy activity Azure Data Lake Store sink. */ +export type AzureDataLakeStoreSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataLakeStoreSink"; + /** The type of copy behavior for copy sink. */ + copyBehavior?: Record; + /** Single File Parallel. */ + enableAdlsSingleFileParallel?: Record; +}; -/** - * File server write settings. - */ -export interface FileServerWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "FileServerWriteSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; -} +/** A copy activity Azure Data Lake Storage Gen2 sink. */ +export type AzureBlobFSSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureBlobFSSink"; + /** The type of copy behavior for copy sink. */ + copyBehavior?: Record; + /** Specify the custom metadata to be added to sink data. Type: array of objects (or Expression with resultType array of objects). */ + metadata?: MetadataItem[]; +}; -/** - * Azure data lake store write settings. - */ -export interface AzureDataLakeStoreWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeStoreWriteSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * Specifies the expiry time of the written files. The time is applied to the UTC time zone in - * the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with - * resultType integer). - */ - expiryDateTime?: any; -} +/** A copy activity Azure Search Index sink. */ +export type AzureSearchIndexSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSearchIndexSink"; + /** Specify the write behavior when upserting documents into Azure Search Index. */ + writeBehavior?: AzureSearchIndexWriteBehaviorType; +}; -/** - * Azure blobFS write settings. - */ -export interface AzureBlobFSWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobFSWriteSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with - * resultType integer). - */ - blockSizeInMB?: any; -} +/** A copy activity ODBC sink. */ +export type OdbcSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OdbcSink"; + /** A query to execute before starting the copy. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; +}; -/** - * Azure blob write settings. - */ -export interface AzureBlobStorageWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobStorageWriteSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with - * resultType integer). - */ - blockSizeInMB?: any; -} +/** A copy activity Informix sink. */ +export type InformixSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "InformixSink"; + /** A query to execute before starting the copy. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; +}; -/** - * Sftp write settings. - */ -export interface SftpWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "SftpWriteSettings"; - /** - * The maximum concurrent connection count for the source data store. Type: integer (or - * Expression with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The type of copy behavior for copy sink. - */ - copyBehavior?: any; - /** - * Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one - * hour). Type: string (or Expression with resultType string). - */ - operationTimeout?: any; - /** - * Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't - * support rename operation. Type: boolean (or Expression with resultType boolean). - */ - useTempFileRename?: any; -} +/** A copy activity Microsoft Access sink. */ +export type MicrosoftAccessSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MicrosoftAccessSink"; + /** A query to execute before starting the copy. Type: string (or Expression with resultType string). */ + preCopyScript?: Record; +}; -/** - * A copy activity Binary sink. - */ -export interface BinarySink { - /** - * Polymorphic Discriminator - */ - type: "BinarySink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Binary store settings. - */ - storeSettings?: StoreWriteSettingsUnion; -} +/** A copy activity Dynamics sink. */ +export type DynamicsSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsSink"; + /** The write behavior for the operation. */ + writeBehavior: DynamicsSinkWriteBehavior; + /** The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). */ + ignoreNullValues?: Record; + /** The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ + alternateKeyName?: Record; +}; -/** - * Contains the possible cases for FormatWriteSettings. - */ -export type FormatWriteSettingsUnion = - | FormatWriteSettings - | JsonWriteSettings - | DelimitedTextWriteSettings - | OrcWriteSettings - | AvroWriteSettings - | ParquetWriteSettings; +/** A copy activity Dynamics CRM sink. */ +export type DynamicsCrmSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsCrmSink"; + /** The write behavior for the operation. */ + writeBehavior: DynamicsSinkWriteBehavior; + /** The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). */ + ignoreNullValues?: Record; + /** The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ + alternateKeyName?: Record; +}; -/** - * Format write settings. - */ -export interface FormatWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "FormatWriteSettings"; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Common Data Service for Apps sink. */ +export type CommonDataServiceForAppsSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CommonDataServiceForAppsSink"; + /** The write behavior for the operation. */ + writeBehavior: DynamicsSinkWriteBehavior; + /** The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). */ + ignoreNullValues?: Record; + /** The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ + alternateKeyName?: Record; +}; -/** - * Json write settings. - */ -export interface JsonWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "JsonWriteSettings"; - /** - * File pattern of JSON. This setting controls the way a collection of JSON objects will be - * treated. The default value is 'setOfObjects'. It is case-sensitive. - */ - filePattern?: any; -} +/** A copy activity Azure Data Explorer sink. */ +export type AzureDataExplorerSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataExplorerSink"; + /** A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. */ + ingestionMappingName?: Record; + /** An explicit column mapping description provided in a json format. Type: string. */ + ingestionMappingAsJson?: Record; + /** If set to true, any aggregation will be skipped. Default is false. Type: boolean. */ + flushImmediately?: Record; +}; -/** - * Delimited text write settings. - */ -export interface DelimitedTextWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "DelimitedTextWriteSettings"; - /** - * Indicates whether string values should always be enclosed with quotes. Type: boolean (or - * Expression with resultType boolean). - */ - quoteAllText?: any; - /** - * The file extension used to create the files. Type: string (or Expression with resultType - * string). - */ - fileExtension: any; - /** - * Limit the written file's row count to be smaller than or equal to the specified count. Type: - * integer (or Expression with resultType integer). - */ - maxRowsPerFile?: any; - /** - * Specifies the file name pattern _. when copy from - * non-file based store without partitionOptions. Type: string (or Expression with resultType - * string). - */ - fileNamePrefix?: any; -} +/** A copy activity Salesforce sink. */ +export type SalesforceSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceSink"; + /** The write behavior for the operation. Default is Insert. */ + writeBehavior?: SalesforceSinkWriteBehavior; + /** The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). */ + externalIdFieldName?: Record; + /** The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). */ + ignoreNullValues?: Record; +}; -/** - * Orc write settings. - */ -export interface OrcWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "OrcWriteSettings"; - /** - * Limit the written file's row count to be smaller than or equal to the specified count. Type: - * integer (or Expression with resultType integer). - */ - maxRowsPerFile?: any; - /** - * Specifies the file name pattern _. when copy from - * non-file based store without partitionOptions. Type: string (or Expression with resultType - * string). - */ - fileNamePrefix?: any; -} +/** A copy activity Salesforce Service Cloud sink. */ +export type SalesforceServiceCloudSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceServiceCloudSink"; + /** The write behavior for the operation. Default is Insert. */ + writeBehavior?: SalesforceSinkWriteBehavior; + /** The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string). */ + externalIdFieldName?: Record; + /** The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean). */ + ignoreNullValues?: Record; +}; -/** - * Avro write settings. - */ -export interface AvroWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "AvroWriteSettings"; - /** - * Top level record name in write result, which is required in AVRO spec. - */ - recordName?: string; - /** - * Record namespace in the write result. - */ - recordNamespace?: string; - /** - * Limit the written file's row count to be smaller than or equal to the specified count. Type: - * integer (or Expression with resultType integer). - */ - maxRowsPerFile?: any; - /** - * Specifies the file name pattern _. when copy from - * non-file based store without partitionOptions. Type: string (or Expression with resultType - * string). - */ - fileNamePrefix?: any; -} +/** A copy activity MongoDB Atlas sink. */ +export type MongoDbAtlasSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbAtlasSink"; + /** Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ + writeBehavior?: Record; +}; -/** - * Parquet write settings. - */ -export interface ParquetWriteSettings { - /** - * Polymorphic Discriminator - */ - type: "ParquetWriteSettings"; - /** - * Limit the written file's row count to be smaller than or equal to the specified count. Type: - * integer (or Expression with resultType integer). - */ - maxRowsPerFile?: any; - /** - * Specifies the file name pattern _. when copy from - * non-file based store without partitionOptions. Type: string (or Expression with resultType - * string). - */ - fileNamePrefix?: any; -} +/** A copy activity MongoDB sink. */ +export type MongoDbV2Sink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MongoDbV2Sink"; + /** Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ + writeBehavior?: Record; +}; -/** - * A copy activity Parquet sink. - */ -export interface ParquetSink { - /** - * Polymorphic Discriminator - */ - type: "ParquetSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Parquet store settings. - */ - storeSettings?: StoreWriteSettingsUnion; - /** - * Parquet format settings. - */ - formatSettings?: ParquetWriteSettings; -} +/** A copy activity sink for a CosmosDB (MongoDB API) database. */ +export type CosmosDbMongoDbApiSink = CopySink & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CosmosDbMongoDbApiSink"; + /** Specifies whether the document with same key to be overwritten (upsert) rather than throw exception (insert). The default value is "insert". Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ + writeBehavior?: Record; +}; -/** - * A copy activity Avro sink. - */ -export interface AvroSink { - /** - * Polymorphic Discriminator - */ - type: "AvroSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Avro store settings. - */ - storeSettings?: StoreWriteSettingsUnion; - /** - * Avro format settings. - */ - formatSettings?: AvroWriteSettings; -} +/** Snowflake export command settings. */ +export type SnowflakeExportCopyCommand = ExportSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SnowflakeExportCopyCommand"; + /** Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } */ + additionalCopyOptions?: { [propertyName: string]: Record }; + /** Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } */ + additionalFormatOptions?: { [propertyName: string]: Record }; +}; + +/** Azure Databricks Delta Lake export command settings. */ +export type AzureDatabricksDeltaLakeExportCommand = ExportSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricksDeltaLakeExportCommand"; + /** Specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ + dateFormat?: Record; + /** Specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ + timestampFormat?: Record; +}; + +/** Azure Databricks Delta Lake import command settings. */ +export type AzureDatabricksDeltaLakeImportCommand = ImportSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricksDeltaLakeImportCommand"; + /** Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ + dateFormat?: Record; + /** Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ + timestampFormat?: Record; +}; + +/** Snowflake import command settings. */ +export type SnowflakeImportCopyCommand = ImportSettings & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SnowflakeImportCopyCommand"; + /** Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } */ + additionalCopyOptions?: { [propertyName: string]: Record }; + /** Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" } */ + additionalFormatOptions?: { [propertyName: string]: Record }; +}; -/** - * A copy activity Azure Table sink. - */ -export interface AzureTableSink { - /** - * Polymorphic Discriminator - */ - type: "AzureTableSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Azure Table default partition key value. Type: string (or Expression with resultType string). - */ - azureTableDefaultPartitionKeyValue?: any; - /** - * Azure Table partition key name. Type: string (or Expression with resultType string). - */ - azureTablePartitionKeyName?: any; - /** - * Azure Table row key name. Type: string (or Expression with resultType string). - */ - azureTableRowKeyName?: any; - /** - * Azure Table insert type. Type: string (or Expression with resultType string). - */ - azureTableInsertType?: any; -} +/** A copy activity tabular translator. */ +export type TabularTranslator = CopyTranslator & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TabularTranslator"; + /** Column mappings. Example: "UserId: MyUserId, Group: MyGroup, Name: MyName" Type: string (or Expression with resultType string). This property will be retired. Please use mappings property. */ + columnMappings?: Record; + /** The schema mapping to map between tabular data and hierarchical data. Example: {"Column1": "$.Column1", "Column2": "$.Column2.Property1", "Column3": "$.Column2.Property2"}. Type: object (or Expression with resultType object). This property will be retired. Please use mappings property. */ + schemaMapping?: Record; + /** The JSON Path of the Nested Array that is going to do cross-apply. Type: object (or Expression with resultType object). */ + collectionReference?: Record; + /** Whether to map complex (array and object) values to simple strings in json format. Type: boolean (or Expression with resultType boolean). */ + mapComplexValuesToString?: Record; + /** Column mappings with logical types. Tabular->tabular example: [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. Hierarchical->tabular example: [{"source":{"path":"$.CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$.CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. Type: object (or Expression with resultType object). */ + mappings?: Record; + /** Whether to enable the advanced type conversion feature in the Copy activity. Type: boolean (or Expression with resultType boolean). */ + typeConversion?: Record; + /** Type conversion settings */ + typeConversionSettings?: TypeConversionSettings; +}; -/** - * A copy activity Azure Queue sink. - */ -export interface AzureQueueSink { - /** - * Polymorphic Discriminator - */ - type: "AzureQueueSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; -} +/** Execute power query data flow activity properties. */ +export type ExecutePowerQueryActivityTypeProperties = ExecuteDataFlowActivityTypeProperties & { + /** (Deprecated. Please use Queries). List of Power Query activity sinks mapped to a queryName. */ + sinks?: { [propertyName: string]: PowerQuerySink }; + /** List of mapping for Power Query mashup query to sink dataset(s). */ + queries?: PowerQuerySinkMapping[]; +}; -/** - * A copy activity SAP Cloud for Customer sink. - */ -export interface SapCloudForCustomerSink { - /** - * Polymorphic Discriminator - */ - type: "SapCloudForCustomerSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The write behavior for the operation. Default is 'Insert'. Possible values include: 'Insert', - * 'Update' - */ - writeBehavior?: SapCloudForCustomerSinkWriteBehavior; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the - * timeout to read response data. Default value: 00:05:00. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; -} +/** Trigger referenced dependency. */ +export type TriggerDependencyReference = DependencyReference & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "TriggerDependencyReference" + | "TumblingWindowTriggerDependencyReference"; + /** Referenced trigger. */ + referenceTrigger: TriggerReference; +}; -/** - * A copy activity Azure Databricks Delta Lake sink. - */ -export interface AzureDatabricksDeltaLakeSink { - /** - * Polymorphic Discriminator - */ - type: "AzureDatabricksDeltaLakeSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * SQL pre-copy script. Type: string (or Expression with resultType string). - */ - preCopyScript?: any; - /** - * Azure Databricks Delta Lake import settings. - */ - importSettings?: AzureDatabricksDeltaLakeImportCommand; -} +/** Self referenced tumbling window trigger dependency. */ +export type SelfDependencyTumblingWindowTriggerReference = DependencyReference & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SelfDependencyTumblingWindowTriggerReference"; + /** Timespan applied to the start time of a tumbling window when evaluating dependency. */ + offset: string; + /** The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. */ + size?: string; +}; -/** - * A copy activity Azure MySql sink. - */ -export interface AzureMySqlSink { - /** - * Polymorphic Discriminator - */ - type: "AzureMySqlSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * A query to execute before starting the copy. Type: string (or Expression with resultType - * string). - */ - preCopyScript?: any; -} +/** Execute pipeline activity. */ +export type ExecutePipelineActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ExecutePipeline"; + /** Pipeline reference. */ + pipeline: PipelineReference; + /** Pipeline parameters. */ + parameters?: { [propertyName: string]: Record }; + /** Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false. */ + waitOnCompletion?: boolean; +}; -/** - * A copy activity Azure PostgreSQL sink. - */ -export interface AzurePostgreSqlSink { - /** - * Polymorphic Discriminator - */ - type: "AzurePostgreSqlSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * A query to execute before starting the copy. Type: string (or Expression with resultType - * string). - */ - preCopyScript?: any; -} +/** This activity evaluates a boolean expression and executes either the activities under the ifTrueActivities property or the ifFalseActivities property depending on the result of the expression. */ +export type IfConditionActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "IfCondition"; + /** An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. */ + expression: Expression; + /** List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. */ + ifTrueActivities?: ActivityUnion[]; + /** List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. */ + ifFalseActivities?: ActivityUnion[]; +}; -/** - * A copy activity Rest service Sink. - */ -export interface RestSink { - /** - * Polymorphic Discriminator - */ - type: "RestSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * The HTTP method used to call the RESTful API. The default is POST. Type: string (or Expression - * with resultType string). - */ - requestMethod?: any; - /** - * The additional HTTP headers in the request to the RESTful API. Type: string (or Expression - * with resultType string). - */ - additionalHeaders?: any; - /** - * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the - * timeout to read response data. Default value: 00:01:40. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - httpRequestTimeout?: any; - /** - * The time to await before sending next request, in milliseconds - */ - requestInterval?: any; - /** - * Http Compression Type to Send data in compressed format with Optimal Compression Level, - * Default is None. And The Only Supported option is Gzip. - */ - httpCompressionType?: any; -} +/** This activity evaluates an expression and executes activities under the cases property that correspond to the expression evaluation expected in the equals property. */ +export type SwitchActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Switch"; + /** An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. */ + on: Expression; + /** List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. */ + cases?: SwitchCase[]; + /** List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. */ + defaultActivities?: ActivityUnion[]; +}; -/** - * A copy activity ORC sink. - */ -export interface OrcSink { - /** - * Polymorphic Discriminator - */ - type: "OrcSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * ORC store settings. - */ - storeSettings?: StoreWriteSettingsUnion; - /** - * ORC format settings. - */ - formatSettings?: OrcWriteSettings; -} +/** This activity is used for iterating over a collection and execute given activities. */ +export type ForEachActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ForEach"; + /** Should the loop be executed in sequence or in parallel (max 50) */ + isSequential?: boolean; + /** Batch count to be used for controlling the number of parallel execution (when isSequential is set to false). */ + batchCount?: number; + /** Collection to iterate. */ + items: Expression; + /** List of activities to execute . */ + activities: ActivityUnion[]; +}; -/** - * A copy activity Json sink. - */ -export interface JsonSink { - /** - * Polymorphic Discriminator - */ - type: "JsonSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * Json store settings. - */ - storeSettings?: StoreWriteSettingsUnion; - /** - * Json format settings. - */ - formatSettings?: JsonWriteSettings; -} +/** This activity suspends pipeline execution for the specified interval. */ +export type WaitActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Wait"; + /** Duration in seconds. */ + waitTimeInSeconds: Record; +}; + +/** This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier. */ +export type UntilActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Until"; + /** An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true */ + expression: Expression; + /** Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + timeout?: Record; + /** List of activities to execute. */ + activities: ActivityUnion[]; +}; + +/** This activity verifies that an external resource exists. */ +export type ValidationActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Validation"; + /** Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + timeout?: Record; + /** A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer). */ + sleep?: Record; + /** Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer). */ + minimumSize?: Record; + /** Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean). */ + childItems?: Record; + /** Validation activity dataset reference. */ + dataset: DatasetReference; +}; + +/** Filter and return results from input array based on the conditions. */ +export type FilterActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Filter"; + /** Input array on which filter should be applied. */ + items: Expression; + /** Condition to be used for filtering the input. */ + condition: Expression; +}; + +/** Set value for a Variable. */ +export type SetVariableActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SetVariable"; + /** Name of the variable whose value needs to be set. */ + variableName?: string; + /** Value to be set. Could be a static value or Expression */ + value?: Record; +}; + +/** Append value for a Variable of type Array. */ +export type AppendVariableActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AppendVariable"; + /** Name of the variable whose value needs to be appended to. */ + variableName?: string; + /** Value to be appended. Could be a static value or Expression */ + value?: Record; +}; -/** - * A copy activity DelimitedText sink. - */ -export interface DelimitedTextSink { - /** - * Polymorphic Discriminator - */ - type: "DelimitedTextSink"; - /** - * Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. - */ - writeBatchSize?: any; - /** - * Write batch timeout. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - writeBatchTimeout?: any; - /** - * Sink retry count. Type: integer (or Expression with resultType integer). - */ - sinkRetryCount?: any; - /** - * Sink retry wait. Type: string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - sinkRetryWait?: any; - /** - * The maximum concurrent connection count for the sink data store. Type: integer (or Expression - * with resultType integer). - */ - maxConcurrentConnections?: any; - /** - * If true, disable data store metrics collection. Default is false. Type: boolean (or Expression - * with resultType boolean). - */ - disableMetricsCollection?: any; - /** - * DelimitedText store settings. - */ - storeSettings?: StoreWriteSettingsUnion; - /** - * DelimitedText format settings. - */ - formatSettings?: DelimitedTextWriteSettings; -} +/** WebHook activity. */ +export type WebHookActivity = ControlActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "WebHook"; + /** Rest API method for target endpoint. */ + method: WebHookActivityMethod; + /** WebHook activity target endpoint and path. Type: string (or Expression with resultType string). */ + url: Record; + /** The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + timeout?: string; + /** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */ + headers?: Record; + /** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */ + body?: Record; + /** Authentication method used for calling the endpoint. */ + authentication?: WebActivityAuthentication; + /** When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean). */ + reportStatusOnCallBack?: Record; +}; -/** - * Copy activity. - */ -export interface CopyActivity { - /** - * Polymorphic Discriminator - */ +/** Copy activity. */ +export type CopyActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Copy"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Linked service reference. - */ - linkedServiceName?: LinkedServiceReference; - /** - * Activity policy. - */ - policy?: ActivityPolicy; - /** - * Copy activity source. - */ + /** List of inputs for the activity. */ + inputs?: DatasetReference[]; + /** List of outputs for the activity. */ + outputs?: DatasetReference[]; + /** Copy activity source. */ source: CopySourceUnion; - /** - * Copy activity sink. - */ + /** Copy activity sink. */ sink: CopySinkUnion; - /** - * Copy activity translator. If not specified, tabular translator is used. - */ - translator?: any; - /** - * Specifies whether to copy data via an interim staging. Default value is false. Type: boolean - * (or Expression with resultType boolean). - */ - enableStaging?: any; - /** - * Specifies interim staging settings when EnableStaging is true. - */ + /** Copy activity translator. If not specified, tabular translator is used. */ + translator?: Record; + /** Specifies whether to copy data via an interim staging. Default value is false. Type: boolean (or Expression with resultType boolean). */ + enableStaging?: Record; + /** Specifies interim staging settings when EnableStaging is true. */ stagingSettings?: StagingSettings; - /** - * Maximum number of concurrent sessions opened on the source or sink to avoid overloading the - * data store. Type: integer (or Expression with resultType integer), minimum: 0. - */ - parallelCopies?: any; - /** - * Maximum number of data integration units that can be used to perform this data movement. Type: - * integer (or Expression with resultType integer), minimum: 0. - */ - dataIntegrationUnits?: any; - /** - * Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with - * resultType boolean). - */ - enableSkipIncompatibleRow?: any; - /** - * Redirect incompatible row settings when EnableSkipIncompatibleRow is true. - */ + /** Maximum number of concurrent sessions opened on the source or sink to avoid overloading the data store. Type: integer (or Expression with resultType integer), minimum: 0. */ + parallelCopies?: Record; + /** Maximum number of data integration units that can be used to perform this data movement. Type: integer (or Expression with resultType integer), minimum: 0. */ + dataIntegrationUnits?: Record; + /** Whether to skip incompatible row. Default value is false. Type: boolean (or Expression with resultType boolean). */ + enableSkipIncompatibleRow?: Record; + /** Redirect incompatible row settings when EnableSkipIncompatibleRow is true. */ redirectIncompatibleRowSettings?: RedirectIncompatibleRowSettings; - /** - * (Deprecated. Please use LogSettings) Log storage settings customer need to provide when - * enabling session log. - */ + /** (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log. */ logStorageSettings?: LogStorageSettings; - /** - * Log settings customer needs provide when enabling log. - */ + /** Log settings customer needs provide when enabling log. */ logSettings?: LogSettings; - /** - * Preserve Rules. - */ - preserveRules?: any[]; - /** - * Preserve rules. - */ - preserve?: any[]; - /** - * Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType - * boolean). - */ - validateDataConsistency?: any; - /** - * Specify the fault tolerance for data consistency. - */ + /** Preserve Rules. */ + preserveRules?: Record[]; + /** Preserve rules. */ + preserve?: Record[]; + /** Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean). */ + validateDataConsistency?: Record; + /** Specify the fault tolerance for data consistency. */ skipErrorFile?: SkipErrorFile; - /** - * List of inputs for the activity. - */ - inputs?: DatasetReference[]; - /** - * List of outputs for the activity. - */ - outputs?: DatasetReference[]; -} +}; -/** - * Contains the possible cases for ControlActivity. - */ -export type ControlActivityUnion = - | ControlActivity - | WebHookActivity - | AppendVariableActivity - | SetVariableActivity - | FilterActivity - | ValidationActivity - | UntilActivity - | WaitActivity - | ForEachActivity - | SwitchActivity - | IfConditionActivity - | ExecutePipelineActivity; +/** HDInsight Hive activity type. */ +export type HDInsightHiveActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HDInsightHive"; + /** Storage linked service references. */ + storageLinkedServices?: LinkedServiceReference[]; + /** User specified arguments to HDInsightActivity. */ + arguments?: Record[]; + /** Debug info option. */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** Script path. Type: string (or Expression with resultType string). */ + scriptPath?: Record; + /** Script linked service reference. */ + scriptLinkedService?: LinkedServiceReference; + /** Allows user to specify defines for Hive job request. */ + defines?: { [propertyName: string]: Record }; + /** User specified arguments under hivevar namespace. */ + variables?: Record[]; + /** Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package) */ + queryTimeout?: number; +}; -/** - * Base class for all control activities like IfCondition, ForEach , Until. - */ -export interface ControlActivity { - /** - * Polymorphic Discriminator - */ - type: "Container"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; -} +/** HDInsight Pig activity type. */ +export type HDInsightPigActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HDInsightPig"; + /** Storage linked service references. */ + storageLinkedServices?: LinkedServiceReference[]; + /** User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array). */ + arguments?: Record; + /** Debug info option. */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** Script path. Type: string (or Expression with resultType string). */ + scriptPath?: Record; + /** Script linked service reference. */ + scriptLinkedService?: LinkedServiceReference; + /** Allows user to specify defines for Pig job request. */ + defines?: { [propertyName: string]: Record }; +}; -/** - * WebHook activity. - */ -export interface WebHookActivity { - /** - * Polymorphic Discriminator - */ - type: "WebHook"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * WebHook activity target endpoint and path. Type: string (or Expression with resultType - * string). - */ - url: any; - /** - * The timeout within which the webhook should be called back. If there is no value specified, it - * defaults to 10 minutes. Type: string. Pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - timeout?: string; - /** - * Represents the headers that will be sent to the request. For example, to set the language and - * type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": - * "application/json" }. Type: string (or Expression with resultType string). - */ - headers?: any; - /** - * Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not - * allowed for GET method Type: string (or Expression with resultType string). - */ - body?: any; - /** - * Authentication method used for calling the endpoint. - */ - authentication?: WebActivityAuthentication; - /** - * When set to true, statusCode, output and error in callback request body will be consumed by - * activity. The activity can be marked as failed by setting statusCode >= 400 in callback - * request. Default is false. Type: boolean (or Expression with resultType boolean). - */ - reportStatusOnCallBack?: any; -} +/** HDInsight MapReduce activity type. */ +export type HDInsightMapReduceActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HDInsightMapReduce"; + /** Storage linked service references. */ + storageLinkedServices?: LinkedServiceReference[]; + /** User specified arguments to HDInsightActivity. */ + arguments?: Record[]; + /** Debug info option. */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** Class name. Type: string (or Expression with resultType string). */ + className: Record; + /** Jar path. Type: string (or Expression with resultType string). */ + jarFilePath: Record; + /** Jar linked service reference. */ + jarLinkedService?: LinkedServiceReference; + /** Jar libs. */ + jarLibs?: Record[]; + /** Allows user to specify defines for the MapReduce job request. */ + defines?: { [propertyName: string]: Record }; +}; -/** - * Append value for a Variable of type Array. - */ -export interface AppendVariableActivity { - /** - * Polymorphic Discriminator - */ - type: "AppendVariable"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Name of the variable whose value needs to be appended to. - */ - variableName?: string; - /** - * Value to be appended. Could be a static value or Expression - */ - value?: any; -} +/** HDInsight streaming activity type. */ +export type HDInsightStreamingActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HDInsightStreaming"; + /** Storage linked service references. */ + storageLinkedServices?: LinkedServiceReference[]; + /** User specified arguments to HDInsightActivity. */ + arguments?: Record[]; + /** Debug info option. */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** Mapper executable name. Type: string (or Expression with resultType string). */ + mapper: Record; + /** Reducer executable name. Type: string (or Expression with resultType string). */ + reducer: Record; + /** Input blob path. Type: string (or Expression with resultType string). */ + input: Record; + /** Output blob path. Type: string (or Expression with resultType string). */ + output: Record; + /** Paths to streaming job files. Can be directories. */ + filePaths: Record[]; + /** Linked service reference where the files are located. */ + fileLinkedService?: LinkedServiceReference; + /** Combiner executable name. Type: string (or Expression with resultType string). */ + combiner?: Record; + /** Command line environment values. */ + commandEnvironment?: Record[]; + /** Allows user to specify defines for streaming job request. */ + defines?: { [propertyName: string]: Record }; +}; -/** - * Set value for a Variable. - */ -export interface SetVariableActivity { - /** - * Polymorphic Discriminator - */ - type: "SetVariable"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Name of the variable whose value needs to be set. - */ - variableName?: string; - /** - * Value to be set. Could be a static value or Expression - */ - value?: any; -} +/** HDInsight Spark activity. */ +export type HDInsightSparkActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HDInsightSpark"; + /** The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string). */ + rootPath: Record; + /** The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string). */ + entryFilePath: Record; + /** The user-specified arguments to HDInsightSparkActivity. */ + arguments?: Record[]; + /** Debug info option. */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** The storage linked service for uploading the entry file and dependencies, and for receiving logs. */ + sparkJobLinkedService?: LinkedServiceReference; + /** The application's Java/Spark main class. */ + className?: string; + /** The user to impersonate that will execute the job. Type: string (or Expression with resultType string). */ + proxyUser?: Record; + /** Spark configuration property. */ + sparkConfig?: { [propertyName: string]: Record }; +}; + +/** Execute SSIS package activity. */ +export type ExecuteSsisPackageActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ExecuteSSISPackage"; + /** SSIS package location. */ + packageLocation: SsisPackageLocation; + /** Specifies the runtime to execute SSIS package. The value should be "x86" or "x64". Type: string (or Expression with resultType string). */ + runtime?: Record; + /** The logging level of SSIS package execution. Type: string (or Expression with resultType string). */ + loggingLevel?: Record; + /** The environment path to execute the SSIS package. Type: string (or Expression with resultType string). */ + environmentPath?: Record; + /** The package execution credential. */ + executionCredential?: SsisExecutionCredential; + /** The integration runtime reference. */ + connectVia: IntegrationRuntimeReference; + /** The project level parameters to execute the SSIS package. */ + projectParameters?: { [propertyName: string]: SsisExecutionParameter }; + /** The package level parameters to execute the SSIS package. */ + packageParameters?: { [propertyName: string]: SsisExecutionParameter }; + /** The project level connection managers to execute the SSIS package. */ + projectConnectionManagers?: { + [propertyName: string]: { [propertyName: string]: SsisExecutionParameter }; + }; + /** The package level connection managers to execute the SSIS package. */ + packageConnectionManagers?: { + [propertyName: string]: { [propertyName: string]: SsisExecutionParameter }; + }; + /** The property overrides to execute the SSIS package. */ + propertyOverrides?: { [propertyName: string]: SsisPropertyOverride }; + /** SSIS package execution log location. */ + logLocation?: SsisLogLocation; +}; + +/** Custom activity type. */ +export type CustomActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Custom"; + /** Command for custom activity Type: string (or Expression with resultType string). */ + command: Record; + /** Resource linked service reference. */ + resourceLinkedService?: LinkedServiceReference; + /** Folder path for resource files Type: string (or Expression with resultType string). */ + folderPath?: Record; + /** Reference objects */ + referenceObjects?: CustomActivityReferenceObject; + /** User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined. */ + extendedProperties?: { [propertyName: string]: Record }; + /** The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). */ + retentionTimeInDays?: Record; + /** Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double). */ + autoUserSpecification?: Record; +}; + +/** SQL stored procedure activity type. */ +export type SqlServerStoredProcedureActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlServerStoredProcedure"; + /** Stored procedure name. Type: string (or Expression with resultType string). */ + storedProcedureName: Record; + /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; +}; + +/** Delete activity. */ +export type DeleteActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Delete"; + /** If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). */ + recursive?: Record; + /** The max concurrent connections to connect data source at the same time. */ + maxConcurrentConnections?: number; + /** Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). */ + enableLogging?: Record; + /** Log storage settings customer need to provide when enableLogging is true. */ + logStorageSettings?: LogStorageSettings; + /** Delete activity dataset reference. */ + dataset: DatasetReference; + /** Delete activity store settings. */ + storeSettings?: StoreReadSettingsUnion; +}; + +/** Azure Data Explorer command activity. */ +export type AzureDataExplorerCommandActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDataExplorerCommand"; + /** A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string). */ + command: Record; + /** Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..) */ + commandTimeout?: Record; +}; + +/** Lookup activity. */ +export type LookupActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Lookup"; + /** Dataset-specific source properties, same as copy activity source. */ + source: CopySourceUnion; + /** Lookup activity dataset reference. */ + dataset: DatasetReference; + /** Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). */ + firstRowOnly?: Record; +}; -/** - * Filter and return results from input array based on the conditions. - */ -export interface FilterActivity { - /** - * Polymorphic Discriminator - */ - type: "Filter"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Input array on which filter should be applied. - */ - items: Expression; - /** - * Condition to be used for filtering the input. - */ - condition: Expression; -} +/** Web activity. */ +export type WebActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "WebActivity"; + /** Rest API method for target endpoint. */ + method: WebActivityMethod; + /** Web activity target endpoint and path. Type: string (or Expression with resultType string). */ + url: Record; + /** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */ + headers?: Record; + /** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */ + body?: Record; + /** Authentication method used for calling the endpoint. */ + authentication?: WebActivityAuthentication; + /** List of datasets passed to web endpoint. */ + datasets?: DatasetReference[]; + /** List of linked services passed to web endpoint. */ + linkedServices?: LinkedServiceReference[]; + /** The integration runtime reference. */ + connectVia?: IntegrationRuntimeReference; +}; -/** - * This activity verifies that an external resource exists. - */ -export interface ValidationActivity { - /** - * Polymorphic Discriminator - */ - type: "Validation"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Specifies the timeout for the activity to run. If there is no value specified, it takes the - * value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - timeout?: any; - /** - * A delay in seconds between validation attempts. If no value is specified, 10 seconds will be - * used as the default. Type: integer (or Expression with resultType integer). - */ - sleep?: any; - /** - * Can be used if dataset points to a file. The file must be greater than or equal in size to the - * value specified. Type: integer (or Expression with resultType integer). - */ - minimumSize?: any; - /** - * Can be used if dataset points to a folder. If set to true, the folder must have at least one - * file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType - * boolean). - */ - childItems?: any; - /** - * Validation activity dataset reference. - */ +/** Activity to get metadata of dataset */ +export type GetMetadataActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GetMetadata"; + /** GetMetadata activity dataset reference. */ dataset: DatasetReference; -} + /** Fields of metadata to get from dataset. */ + fieldList?: Record[]; + /** GetMetadata activity store settings. */ + storeSettings?: StoreReadSettingsUnion; + /** GetMetadata activity format settings. */ + formatSettings?: FormatReadSettingsUnion; +}; -/** - * This activity executes inner activities until the specified boolean expression results to true - * or timeout is reached, whichever is earlier. - */ -export interface UntilActivity { - /** - * Polymorphic Discriminator - */ - type: "Until"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * An expression that would evaluate to Boolean. The loop will continue until this expression - * evaluates to true - */ - expression: Expression; - /** - * Specifies the timeout for the activity to run. If there is no value specified, it takes the - * value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with - * resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: - * string (or Expression with resultType string), pattern: - * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - */ - timeout?: any; - /** - * List of activities to execute. - */ - activities: ActivityUnion[]; -} +/** Azure ML Batch Execution activity. */ +export type AzureMLBatchExecutionActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMLBatchExecution"; + /** Key,Value pairs to be passed to the Azure ML Batch Execution Service endpoint. Keys must match the names of web service parameters defined in the published Azure ML web service. Values will be passed in the GlobalParameters property of the Azure ML batch execution request. */ + globalParameters?: { [propertyName: string]: Record }; + /** Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Outputs to AzureMLWebServiceFile objects specifying the output Blob locations. This information will be passed in the WebServiceOutputs property of the Azure ML batch execution request. */ + webServiceOutputs?: { [propertyName: string]: AzureMLWebServiceFile }; + /** Key,Value pairs, mapping the names of Azure ML endpoint's Web Service Inputs to AzureMLWebServiceFile objects specifying the input Blob locations.. This information will be passed in the WebServiceInputs property of the Azure ML batch execution request. */ + webServiceInputs?: { [propertyName: string]: AzureMLWebServiceFile }; +}; -/** - * This activity suspends pipeline execution for the specified interval. - */ -export interface WaitActivity { - /** - * Polymorphic Discriminator - */ - type: "Wait"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Duration in seconds. - */ - waitTimeInSeconds: any; -} +/** Azure ML Update Resource management activity. */ +export type AzureMLUpdateResourceActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMLUpdateResource"; + /** Name of the Trained Model module in the Web Service experiment to be updated. Type: string (or Expression with resultType string). */ + trainedModelName: Record; + /** Name of Azure Storage linked service holding the .ilearner file that will be uploaded by the update operation. */ + trainedModelLinkedServiceName: LinkedServiceReference; + /** The relative file path in trainedModelLinkedService to represent the .ilearner file that will be uploaded by the update operation. Type: string (or Expression with resultType string). */ + trainedModelFilePath: Record; +}; -/** - * This activity is used for iterating over a collection and execute given activities. - */ -export interface ForEachActivity { - /** - * Polymorphic Discriminator - */ - type: "ForEach"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Should the loop be executed in sequence or in parallel (max 50) - */ - isSequential?: boolean; - /** - * Batch count to be used for controlling the number of parallel execution (when isSequential is - * set to false). - */ - batchCount?: number; - /** - * Collection to iterate. - */ - items: Expression; - /** - * List of activities to execute . - */ - activities: ActivityUnion[]; -} +/** Azure ML Execute Pipeline activity. */ +export type AzureMLExecutePipelineActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMLExecutePipeline"; + /** ID of the published Azure ML pipeline. Type: string (or Expression with resultType string). */ + mlPipelineId?: Record; + /** ID of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType string). */ + mlPipelineEndpointId?: Record; + /** Version of the published Azure ML pipeline endpoint. Type: string (or Expression with resultType string). */ + version?: Record; + /** Run history experiment name of the pipeline run. This information will be passed in the ExperimentName property of the published pipeline execution request. Type: string (or Expression with resultType string). */ + experimentName?: Record; + /** Key,Value pairs to be passed to the published Azure ML pipeline endpoint. Keys must match the names of pipeline parameters defined in the published pipeline. Values will be passed in the ParameterAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). */ + mlPipelineParameters?: Record; + /** Dictionary used for changing data path assignments without retraining. Values will be passed in the dataPathAssignments property of the published pipeline execution request. Type: object with key value pairs (or Expression with resultType object). */ + dataPathAssignments?: Record; + /** The parent Azure ML Service pipeline run id. This information will be passed in the ParentRunId property of the published pipeline execution request. Type: string (or Expression with resultType string). */ + mlParentRunId?: Record; + /** Whether to continue execution of other steps in the PipelineRun if a step fails. This information will be passed in the continueOnStepFailure property of the published pipeline execution request. Type: boolean (or Expression with resultType boolean). */ + continueOnStepFailure?: Record; +}; -/** - * Switch cases with have a value and corresponding activities. - */ -export interface SwitchCase { - /** - * Expected value that satisfies the expression result of the 'on' property. - */ - value?: string; - /** - * List of activities to execute for satisfied case condition. - */ - activities?: ActivityUnion[]; -} +/** Data Lake Analytics U-SQL activity. */ +export type DataLakeAnalyticsUsqlActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DataLakeAnalyticsU-SQL"; + /** Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). */ + scriptPath: Record; + /** Script linked service reference. */ + scriptLinkedService: LinkedServiceReference; + /** The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. */ + degreeOfParallelism?: Record; + /** Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1. */ + priority?: Record; + /** Parameters for U-SQL job request. */ + parameters?: { [propertyName: string]: Record }; + /** Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). */ + runtimeVersion?: Record; + /** Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). */ + compilationMode?: Record; +}; -/** - * This activity evaluates an expression and executes activities under the cases property that - * correspond to the expression evaluation expected in the equals property. - */ -export interface SwitchActivity { - /** - * Polymorphic Discriminator - */ - type: "Switch"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * An expression that would evaluate to a string or integer. This is used to determine the block - * of activities in cases that will be executed. - */ - on: Expression; - /** - * List of cases that correspond to expected values of the 'on' property. This is an optional - * property and if not provided, the activity will execute activities provided in - * defaultActivities. - */ - cases?: SwitchCase[]; - /** - * List of activities to execute if no case condition is satisfied. This is an optional property - * and if not provided, the activity will exit without any action. - */ - defaultActivities?: ActivityUnion[]; -} +/** DatabricksNotebook activity. */ +export type DatabricksNotebookActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DatabricksNotebook"; + /** The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). */ + notebookPath: Record; + /** Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used. */ + baseParameters?: { [propertyName: string]: Record }; + /** A list of libraries to be installed on the cluster that will execute the job. */ + libraries?: { [propertyName: string]: Record }[]; +}; -/** - * This activity evaluates a boolean expression and executes either the activities under the - * ifTrueActivities property or the ifFalseActivities property depending on the result of the - * expression. - */ -export interface IfConditionActivity { - /** - * Polymorphic Discriminator - */ - type: "IfCondition"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * An expression that would evaluate to Boolean. This is used to determine the block of - * activities (ifTrueActivities or ifFalseActivities) that will be executed. - */ - expression: Expression; - /** - * List of activities to execute if expression is evaluated to true. This is an optional property - * and if not provided, the activity will exit without any action. - */ - ifTrueActivities?: ActivityUnion[]; - /** - * List of activities to execute if expression is evaluated to false. This is an optional - * property and if not provided, the activity will exit without any action. - */ - ifFalseActivities?: ActivityUnion[]; -} +/** DatabricksSparkJar activity. */ +export type DatabricksSparkJarActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DatabricksSparkJar"; + /** The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string). */ + mainClassName: Record; + /** Parameters that will be passed to the main method. */ + parameters?: Record[]; + /** A list of libraries to be installed on the cluster that will execute the job. */ + libraries?: { [propertyName: string]: Record }[]; +}; + +/** DatabricksSparkPython activity. */ +export type DatabricksSparkPythonActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DatabricksSparkPython"; + /** The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string). */ + pythonFile: Record; + /** Command line parameters that will be passed to the Python file. */ + parameters?: Record[]; + /** A list of libraries to be installed on the cluster that will execute the job. */ + libraries?: { [propertyName: string]: Record }[]; +}; + +/** Azure Function activity. */ +export type AzureFunctionActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureFunctionActivity"; + /** Rest API method for target endpoint. */ + method: AzureFunctionActivityMethod; + /** Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string) */ + functionName: Record; + /** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */ + headers?: Record; + /** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */ + body?: Record; +}; + +/** Execute data flow activity. */ +export type ExecuteDataFlowActivity = ExecutionActivity & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ExecuteDataFlow"; + /** Data flow reference. */ + dataFlow: DataFlowReference; + /** Staging info for execute data flow activity. */ + staging?: DataFlowStagingInfo; + /** The integration runtime reference. */ + integrationRuntime?: IntegrationRuntimeReference; + /** Compute properties for data flow activity. */ + compute?: ExecuteDataFlowActivityTypePropertiesCompute; + /** Trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string) */ + traceLevel?: Record; + /** Continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean) */ + continueOnError?: Record; + /** Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean) */ + runConcurrently?: Record; +}; + +/** Trigger that creates pipeline runs periodically, on schedule. */ +export type ScheduleTrigger = MultiplePipelineTrigger & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ScheduleTrigger"; + /** Recurrence schedule configuration. */ + recurrence: ScheduleTriggerRecurrence; +}; + +/** Trigger that runs every time the selected Blob container changes. */ +export type BlobTrigger = MultiplePipelineTrigger & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "BlobTrigger"; + /** The path of the container/folder that will trigger the pipeline. */ + folderPath: string; + /** The max number of parallel files to handle when it is triggered. */ + maxConcurrency: number; + /** The Azure Storage linked service reference. */ + linkedService: LinkedServiceReference; +}; + +/** Trigger that runs every time a Blob event occurs. */ +export type BlobEventsTrigger = MultiplePipelineTrigger & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "BlobEventsTrigger"; + /** The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. */ + blobPathBeginsWith?: string; + /** The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. */ + blobPathEndsWith?: string; + /** If set to true, blobs with zero bytes will be ignored. */ + ignoreEmptyBlobs?: boolean; + /** The type of events that cause this trigger to fire. */ + events: BlobEventTypes[]; + /** The ARM resource ID of the Storage Account. */ + scope: string; +}; + +/** Trigger that runs every time a custom event is received. */ +export type CustomEventsTrigger = MultiplePipelineTrigger & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CustomEventsTrigger"; + /** The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. */ + subjectBeginsWith?: string; + /** The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith. */ + subjectEndsWith?: string; + /** The list of event types that cause this trigger to fire. */ + events: Record[]; + /** The ARM resource ID of the Azure Event Grid Topic. */ + scope: string; +}; -/** - * Execute pipeline activity. - */ -export interface ExecutePipelineActivity { - /** - * Polymorphic Discriminator - */ - type: "ExecutePipeline"; - /** - * Activity name. - */ - name: string; - /** - * Activity description. - */ - description?: string; - /** - * Activity depends on condition. - */ - dependsOn?: ActivityDependency[]; - /** - * Activity user properties. - */ - userProperties?: UserProperty[]; - /** - * Pipeline reference. - */ - pipelineProperty: PipelineReference; - /** - * Pipeline parameters. - */ - parameters?: { [propertyName: string]: any }; - /** - * Defines whether activity execution will wait for the dependent pipeline execution to finish. - * Default is false. - */ - waitOnCompletion?: boolean; -} +/** Power query source. */ +export type PowerQuerySource = DataFlowSource & { + /** source script. */ + script?: string; +}; -/** - * The linked integration runtime information. - */ -export interface LinkedIntegrationRuntime { - /** - * The name of the linked integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * The subscription ID for which the linked integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly subscriptionId?: string; - /** - * The name of the data factory for which the linked integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dataFactoryName?: string; - /** - * The location of the data factory for which the linked integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dataFactoryLocation?: string; - /** - * The creating time of the linked integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly createTime?: Date; -} +/** Power query sink. */ +export type PowerQuerySink = DataFlowSink & { + /** sink script. */ + script?: string; +}; -/** - * Properties of Self-hosted integration runtime node. - */ -export interface SelfHostedIntegrationRuntimeNode { - /** - * Name of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nodeName?: string; - /** - * Machine name of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly machineName?: string; - /** - * URI for the host machine of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly hostServiceUri?: string; - /** - * Status of the integration runtime node. Possible values include: 'NeedRegistration', 'Online', - * 'Limited', 'Offline', 'Upgrading', 'Initializing', 'InitializeFailed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: SelfHostedIntegrationRuntimeNodeStatus; - /** - * The integration runtime capabilities dictionary - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly capabilities?: { [propertyName: string]: string }; - /** - * Status of the integration runtime node version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly versionStatus?: string; - /** - * Version of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly version?: string; - /** - * The time at which the integration runtime node was registered in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly registerTime?: Date; - /** - * The most recent time at which the integration runtime was connected in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastConnectTime?: Date; - /** - * The time at which the integration runtime will expire in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly expiryTime?: Date; - /** - * The time the node last started up. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastStartTime?: Date; - /** - * The integration runtime node last stop time. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastStopTime?: Date; - /** - * The result of the last integration runtime node update. Possible values include: 'None', - * 'Succeed', 'Fail' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastUpdateResult?: IntegrationRuntimeUpdateResult; - /** - * The last time for the integration runtime node update start. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastStartUpdateTime?: Date; - /** - * The last time for the integration runtime node update end. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastEndUpdateTime?: Date; - /** - * Indicates whether this node is the active dispatcher for integration runtime requests. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly isActiveDispatcher?: boolean; - /** - * Maximum concurrent jobs on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly concurrentJobsLimit?: number; - /** - * The maximum concurrent jobs in this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly maxConcurrentJobs?: number; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Azure Table source. */ +export type AzureTableSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureTableSource"; + /** Azure Table source query. Type: string (or Expression with resultType string). */ + azureTableSourceQuery?: Record; + /** Azure Table source ignore table not found. Type: boolean (or Expression with resultType boolean). */ + azureTableSourceIgnoreTableNotFound?: Record; +}; -/** - * Self-hosted integration runtime status. - */ -export interface SelfHostedIntegrationRuntimeStatus { - /** - * Polymorphic Discriminator - */ - type: "SelfHosted"; - /** - * The data factory name which the integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dataFactoryName?: string; - /** - * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', - * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: IntegrationRuntimeState; - /** - * The time at which the integration runtime was created, in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly createTime?: Date; - /** - * The task queue id of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly taskQueueId?: string; - /** - * It is used to set the encryption mode for node-node communication channel (when more than 2 - * self-hosted integration runtime nodes exist). Possible values include: 'NotSet', - * 'SslEncrypted', 'NotEncrypted' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly internalChannelEncryption?: IntegrationRuntimeInternalChannelEncryptionMode; - /** - * Version of the integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly version?: string; - /** - * The list of nodes for this integration runtime. - */ - nodes?: SelfHostedIntegrationRuntimeNode[]; - /** - * The date at which the integration runtime will be scheduled to update, in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly scheduledUpdateDate?: Date; - /** - * The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 - * hours - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly updateDelayOffset?: string; - /** - * The local time zone offset in hours. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly localTimeZoneOffset?: string; - /** - * Object with additional information about integration runtime capabilities. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly capabilities?: { [propertyName: string]: string }; - /** - * The URLs for the services used in integration runtime backend service. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly serviceUrls?: string[]; - /** - * Whether Self-hosted integration runtime auto update has been turned on. Possible values - * include: 'On', 'Off' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly autoUpdate?: IntegrationRuntimeAutoUpdate; - /** - * Status of the integration runtime version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly versionStatus?: string; - /** - * The list of linked integration runtimes that are created to share with this integration - * runtime. - */ - links?: LinkedIntegrationRuntime[]; - /** - * The version that the integration runtime is going to update to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly pushedVersion?: string; - /** - * The latest version on download center. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly latestVersion?: string; - /** - * The estimated time when the self-hosted integration runtime will be updated. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly autoUpdateETA?: Date; -} +/** A copy activity source for Informix. */ +export type InformixSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "InformixSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Properties of managed integration runtime operation result. - */ -export interface ManagedIntegrationRuntimeOperationResult { - /** - * The operation type. Could be start or stop. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * The start time of the operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly startTime?: Date; - /** - * The operation result. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly result?: string; - /** - * The error code. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly errorCode?: string; - /** - * Managed integration runtime error parameters. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly parameters?: string[]; - /** - * The activity id for the operation request. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly activityId?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity source for Db2 databases. */ +export type Db2Source = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Db2Source"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity source for ODBC databases. */ +export type OdbcSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OdbcSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity source for MySQL databases. */ +export type MySqlSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MySqlSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity source for PostgreSQL databases. */ +export type PostgreSqlSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PostgreSqlSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity source for Sybase databases. */ +export type SybaseSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SybaseSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity source for SapBW server via MDX. */ +export type SapBwSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapBwSource"; + /** MDX query. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Error definition for managed integration runtime. - */ -export interface ManagedIntegrationRuntimeError { - /** - * The time when the error occurred. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly time?: Date; - /** - * Error code. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly code?: string; - /** - * Managed integration runtime error parameters. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly parameters?: string[]; - /** - * Error message. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly message?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Salesforce source. */ +export type SalesforceSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; + /** The read behavior for the operation. Default is Query. */ + readBehavior?: SalesforceSourceReadBehavior; +}; -/** - * Properties of integration runtime node. - */ -export interface ManagedIntegrationRuntimeNode { - /** - * The managed integration runtime node id. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nodeId?: string; - /** - * The managed integration runtime node status. Possible values include: 'Starting', 'Available', - * 'Recycling', 'Unavailable' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly status?: ManagedIntegrationRuntimeNodeStatus; - /** - * The errors that occurred on this integration runtime node. - */ - errors?: ManagedIntegrationRuntimeError[]; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity source for SAP Cloud for Customer source. */ +export type SapCloudForCustomerSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapCloudForCustomerSource"; + /** SAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). */ + query?: Record; + /** The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; +}; -/** - * Managed integration runtime status. - */ -export interface ManagedIntegrationRuntimeStatus { - /** - * Polymorphic Discriminator - */ - type: "Managed"; - /** - * The data factory name which the integration runtime belong to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly dataFactoryName?: string; - /** - * The state of integration runtime. Possible values include: 'Initial', 'Stopped', 'Started', - * 'Starting', 'Stopping', 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: IntegrationRuntimeState; - /** - * The time at which the integration runtime was created, in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly createTime?: Date; - /** - * The list of nodes for managed integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nodes?: ManagedIntegrationRuntimeNode[]; - /** - * The errors that occurred on this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly otherErrors?: ManagedIntegrationRuntimeError[]; - /** - * The last operation result that occurred on this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly lastOperation?: ManagedIntegrationRuntimeOperationResult; -} +/** A copy activity source for SAP ECC source. */ +export type SapEccSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapEccSource"; + /** SAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). */ + query?: Record; + /** The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; +}; -/** - * Contains the possible cases for LinkedIntegrationRuntimeType. - */ -export type LinkedIntegrationRuntimeTypeUnion = - | LinkedIntegrationRuntimeType - | LinkedIntegrationRuntimeRbacAuthorization - | LinkedIntegrationRuntimeKeyAuthorization; +/** A copy activity source for SAP HANA source. */ +export type SapHanaSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapHanaSource"; + /** SAP HANA Sql query. Type: string (or Expression with resultType string). */ + query?: Record; + /** The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). */ + packetSize?: Record; + /** The partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for SAP HANA source partitioning. */ + partitionSettings?: SapHanaPartitionSettings; +}; -/** - * The base definition of a linked integration runtime. - */ -export interface LinkedIntegrationRuntimeType { - /** - * Polymorphic Discriminator - */ - authorizationType: "LinkedIntegrationRuntimeType"; -} +/** A copy activity source for SAP Business Warehouse Open Hub Destination source. */ +export type SapOpenHubSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapOpenHubSource"; + /** Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). */ + excludeLastRequest?: Record; + /** The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). */ + baseRequestId?: Record; + /** Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). */ + customRfcReadTableFunctionModule?: Record; + /** The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). */ + sapDataColumnDelimiter?: Record; +}; -/** - * The role based access control (RBAC) authorization type integration runtime. - */ -export interface LinkedIntegrationRuntimeRbacAuthorization { - /** - * Polymorphic Discriminator - */ - authorizationType: "RBAC"; - /** - * The resource identifier of the integration runtime to be shared. - */ - resourceId: string; -} +/** A copy activity source for SAP Table source. */ +export type SapTableSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapTableSource"; + /** The number of rows to be retrieved. Type: integer(or Expression with resultType integer). */ + rowCount?: Record; + /** The number of rows that will be skipped. Type: integer (or Expression with resultType integer). */ + rowSkips?: Record; + /** The fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string). */ + rfcTableFields?: Record; + /** The options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string). */ + rfcTableOptions?: Record; + /** Specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer). */ + batchSize?: Record; + /** Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). */ + customRfcReadTableFunctionModule?: Record; + /** The single character that will be used as delimiter passed to SAP RFC as well as splitting the output data retrieved. Type: string (or Expression with resultType string). */ + sapDataColumnDelimiter?: Record; + /** The partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". */ + partitionOption?: Record; + /** The settings that will be leveraged for SAP table source partitioning. */ + partitionSettings?: SapTablePartitionSettings; +}; -/** - * The key authorization type integration runtime. - */ -export interface LinkedIntegrationRuntimeKeyAuthorization { - /** - * Polymorphic Discriminator - */ - authorizationType: "Key"; - /** - * The key used for authorization. - */ - key: SecureString; -} +/** A copy activity SQL source. */ +export type SqlSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlSource"; + /** SQL reader query. Type: string (or Expression with resultType string). */ + sqlReaderQuery?: Record; + /** Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ + sqlReaderStoredProcedureName?: Record; + /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). */ + isolationLevel?: Record; + /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for Sql source partitioning. */ + partitionSettings?: SqlPartitionSettings; +}; -/** - * Self-hosted integration runtime. - */ -export interface SelfHostedIntegrationRuntime { - /** - * Polymorphic Discriminator - */ - type: "SelfHosted"; - /** - * Integration runtime description. - */ - description?: string; - linkedInfo?: LinkedIntegrationRuntimeTypeUnion; -} +/** A copy activity SQL server source. */ +export type SqlServerSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlServerSource"; + /** SQL reader query. Type: string (or Expression with resultType string). */ + sqlReaderQuery?: Record; + /** Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ + sqlReaderStoredProcedureName?: Record; + /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** Which additional types to produce. */ + produceAdditionalTypes?: Record; + /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for Sql source partitioning. */ + partitionSettings?: SqlPartitionSettings; +}; -/** - * The entity reference. - */ -export interface EntityReference { - /** - * The type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', - * 'LinkedServiceReference', 'CredentialReference' - */ - type?: IntegrationRuntimeEntityReferenceType; - /** - * The name of this referenced entity. - */ - referenceName?: string; -} +/** A copy activity Amazon RDS for SQL Server source. */ +export type AmazonRdsForSqlServerSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRdsForSqlServerSource"; + /** SQL reader query. Type: string (or Expression with resultType string). */ + sqlReaderQuery?: Record; + /** Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ + sqlReaderStoredProcedureName?: Record; + /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** Which additional types to produce. */ + produceAdditionalTypes?: Record; + /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for Sql source partitioning. */ + partitionSettings?: SqlPartitionSettings; +}; -/** - * Package store for the SSIS integration runtime. - */ -export interface PackageStore { - /** - * The name of the package store - */ - name: string; - /** - * The package store linked service reference. - */ - packageStoreLinkedService: EntityReference; -} +/** A copy activity Azure SQL source. */ +export type AzureSqlSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSqlSource"; + /** SQL reader query. Type: string (or Expression with resultType string). */ + sqlReaderQuery?: Record; + /** Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ + sqlReaderStoredProcedureName?: Record; + /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** Which additional types to produce. */ + produceAdditionalTypes?: Record; + /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for Sql source partitioning. */ + partitionSettings?: SqlPartitionSettings; +}; -/** - * Contains the possible cases for CustomSetupBase. - */ -export type CustomSetupBaseUnion = - | CustomSetupBase - | AzPowerShellSetup - | ComponentSetup - | EnvironmentVariableSetup - | CmdkeySetup; +/** A copy activity Azure SQL Managed Instance source. */ +export type SqlMISource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlMISource"; + /** SQL reader query. Type: string (or Expression with resultType string). */ + sqlReaderQuery?: Record; + /** Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ + sqlReaderStoredProcedureName?: Record; + /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". */ + storedProcedureParameters?: { + [propertyName: string]: StoredProcedureParameter; + }; + /** Which additional types to produce. */ + produceAdditionalTypes?: Record; + /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for Sql source partitioning. */ + partitionSettings?: SqlPartitionSettings; +}; -/** - * The base definition of the custom setup. - */ -export interface CustomSetupBase { - /** - * Polymorphic Discriminator - */ - type: "CustomSetupBase"; -} +/** A copy activity SQL Data Warehouse source. */ +export type SqlDWSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SqlDWSource"; + /** SQL Data Warehouse reader query. Type: string (or Expression with resultType string). */ + sqlReaderQuery?: Record; + /** Name of the stored procedure for a SQL Data Warehouse source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string). */ + sqlReaderStoredProcedureName?: Record; + /** Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter. */ + storedProcedureParameters?: Record; + /** The partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for Sql source partitioning. */ + partitionSettings?: SqlPartitionSettings; +}; -/** - * The express custom setup of installing Azure PowerShell. - */ -export interface AzPowerShellSetup { - /** - * Polymorphic Discriminator - */ - type: "AzPowerShellSetup"; - /** - * The required version of Azure PowerShell to install. - */ - version: string; -} +/** A copy activity Azure MySQL source. */ +export type AzureMySqlSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMySqlSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * The custom setup of installing 3rd party components. - */ -export interface ComponentSetup { - /** - * Polymorphic Discriminator - */ - type: "ComponentSetup"; - /** - * The name of the 3rd party component. - */ - componentName: string; - /** - * The license key to activate the component. - */ - licenseKey?: SecretBaseUnion; -} +/** A copy activity Teradata source. */ +export type TeradataSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TeradataSource"; + /** Teradata query. Type: string (or Expression with resultType string). */ + query?: Record; + /** The partition mechanism that will be used for teradata read in parallel. Possible values include: "None", "Hash", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for teradata source partitioning. */ + partitionSettings?: TeradataPartitionSettings; +}; -/** - * The custom setup of setting environment variable. - */ -export interface EnvironmentVariableSetup { - /** - * Polymorphic Discriminator - */ - type: "EnvironmentVariableSetup"; - /** - * The name of the environment variable. - */ - variableName: string; - /** - * The value of the environment variable. - */ - variableValue: string; -} +/** A copy activity source for a Cassandra database. */ +export type CassandraSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CassandraSource"; + /** Database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). */ + query?: Record; + /** The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. */ + consistencyLevel?: CassandraSourceReadConsistencyLevels; +}; -/** - * The custom setup of running cmdkey commands. - */ -export interface CmdkeySetup { - /** - * Polymorphic Discriminator - */ - type: "CmdkeySetup"; - /** - * The server name of data source access. - */ - targetName: any; - /** - * The user name of data source access. - */ - userName: any; - /** - * The password of data source access. - */ - password: SecretBaseUnion; -} +/** A copy activity Amazon Marketplace Web Service source. */ +export type AmazonMWSSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonMWSSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity Azure PostgreSQL source. */ +export type AzurePostgreSqlSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzurePostgreSqlSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity Concur Service source. */ +export type ConcurSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ConcurSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity Couchbase server source. */ +export type CouchbaseSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "CouchbaseSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity Drill server source. */ +export type DrillSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DrillSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity Eloqua server source. */ +export type EloquaSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "EloquaSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity Google BigQuery service source. */ +export type GoogleBigQuerySource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleBigQuerySource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity Greenplum Database source. */ +export type GreenplumSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GreenplumSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity HBase server source. */ +export type HBaseSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HBaseSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Data proxy properties for a managed dedicated integration runtime. - */ -export interface IntegrationRuntimeDataProxyProperties { - /** - * The self-hosted integration runtime reference. - */ - connectVia?: EntityReference; - /** - * The staging linked service reference. - */ - stagingLinkedService?: EntityReference; - /** - * The path to contain the staged data in the Blob storage. - */ - path?: string; -} +/** A copy activity Hive Server source. */ +export type HiveSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HiveSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Custom setup script properties for a managed dedicated integration runtime. - */ -export interface IntegrationRuntimeCustomSetupScriptProperties { - /** - * The URI of the Azure blob container that contains the custom setup script. - */ - blobContainerUri?: string; - /** - * The SAS token of the Azure blob container. - */ - sasToken?: SecureString; -} +/** A copy activity Hubspot Service source. */ +export type HubspotSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "HubspotSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Catalog information for managed dedicated integration runtime. - */ -export interface IntegrationRuntimeSsisCatalogInfo { - /** - * The catalog database server URL. - */ - catalogServerEndpoint?: string; - /** - * The administrator user name of catalog database. - */ - catalogAdminUserName?: string; - /** - * The password of the administrator user account of the catalog database. - */ - catalogAdminPassword?: SecureString; - /** - * The pricing tier for the catalog database. The valid values could be found in - * https://azure.microsoft.com/en-us/pricing/details/sql-database/. Possible values include: - * 'Basic', 'Standard', 'Premium', 'PremiumRS' - */ - catalogPricingTier?: IntegrationRuntimeSsisCatalogPricingTier; - /** - * The dual standby pair name of Azure-SSIS Integration Runtimes to support SSISDB failover. - */ - dualStandbyPairName?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Impala server source. */ +export type ImpalaSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ImpalaSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * SSIS properties for managed integration runtime. - */ -export interface IntegrationRuntimeSsisProperties { - /** - * Catalog information for managed dedicated integration runtime. - */ - catalogInfo?: IntegrationRuntimeSsisCatalogInfo; - /** - * License type for bringing your own license scenario. Possible values include: 'BasePrice', - * 'LicenseIncluded' - */ - licenseType?: IntegrationRuntimeLicenseType; - /** - * Custom setup script properties for a managed dedicated integration runtime. - */ - customSetupScriptProperties?: IntegrationRuntimeCustomSetupScriptProperties; - /** - * Data proxy properties for a managed dedicated integration runtime. - */ - dataProxyProperties?: IntegrationRuntimeDataProxyProperties; - /** - * The edition for the SSIS Integration Runtime. Possible values include: 'Standard', - * 'Enterprise' - */ - edition?: IntegrationRuntimeEdition; - /** - * Custom setup without script properties for a SSIS integration runtime. - */ - expressCustomSetupProperties?: CustomSetupBaseUnion[]; - /** - * Package stores for the SSIS Integration Runtime. - */ - packageStores?: PackageStore[]; - /** - * The user-assigned managed identity reference. - */ - managedCredential?: EntityReference; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Jira Service source. */ +export type JiraSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "JiraSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * VNet properties for managed integration runtime. - */ -export interface IntegrationRuntimeVNetProperties { - /** - * The ID of the VNet that this integration runtime will join. - */ - vNetId?: string; - /** - * The name of the subnet this integration runtime will join. - */ - subnet?: string; - /** - * Resource IDs of the public IP addresses that this integration runtime will use. - */ - publicIPs?: string[]; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Magento server source. */ +export type MagentoSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MagentoSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Data flow properties for managed integration runtime. - */ -export interface IntegrationRuntimeDataFlowProperties { - /** - * Compute type of the cluster which will execute data flow job. Possible values include: - * 'General', 'MemoryOptimized', 'ComputeOptimized' - */ - computeType?: DataFlowComputeType; - /** - * Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, - * 48, 80, 144 and 272. - */ - coreCount?: number; - /** - * Time to live (in minutes) setting of the cluster which will execute data flow job. - */ - timeToLive?: number; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity MariaDB server source. */ +export type MariaDBSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MariaDBSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * The compute resource properties for managed integration runtime. - */ -export interface IntegrationRuntimeComputeProperties { - /** - * The location for managed integration runtime. The supported regions could be found on - * https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities - */ - location?: string; - /** - * The node size requirement to managed integration runtime. - */ - nodeSize?: string; - /** - * The required number of nodes for managed integration runtime. - */ - numberOfNodes?: number; - /** - * Maximum parallel executions count per node for managed integration runtime. - */ - maxParallelExecutionsPerNode?: number; - /** - * Data flow properties for managed integration runtime. - */ - dataFlowProperties?: IntegrationRuntimeDataFlowProperties; - /** - * VNet properties for managed integration runtime. - */ - vNetProperties?: IntegrationRuntimeVNetProperties; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Azure MariaDB source. */ +export type AzureMariaDBSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureMariaDBSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Managed integration runtime, including managed elastic and managed dedicated integration - * runtimes. - */ -export interface ManagedIntegrationRuntime { - /** - * Polymorphic Discriminator - */ - type: "Managed"; - /** - * Integration runtime description. - */ - description?: string; - /** - * Integration runtime state, only valid for managed dedicated integration runtime. Possible - * values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', 'NeedRegistration', - * 'Online', 'Limited', 'Offline', 'AccessDenied' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: IntegrationRuntimeState; - /** - * The compute resource for managed integration runtime. - */ - computeProperties?: IntegrationRuntimeComputeProperties; - /** - * SSIS properties for managed integration runtime. - */ - ssisProperties?: IntegrationRuntimeSsisProperties; - /** - * Managed Virtual Network reference. - */ - managedVirtualNetwork?: ManagedVirtualNetworkReference; -} +/** A copy activity Marketo server source. */ +export type MarketoSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "MarketoSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * The IP address of self-hosted integration runtime node. - */ -export interface IntegrationRuntimeNodeIpAddress { - /** - * The IP address of self-hosted integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly ipAddress?: string; -} +/** A copy activity Paypal Service source. */ +export type PaypalSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PaypalSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Ssis variable. - */ -export interface SsisVariable { - /** - * Variable id. - */ - id?: number; - /** - * Variable name. - */ - name?: string; - /** - * Variable description. - */ - description?: string; - /** - * Variable type. - */ - dataType?: string; - /** - * Whether variable is sensitive. - */ - sensitive?: boolean; - /** - * Variable value. - */ - value?: string; - /** - * Variable sensitive value. - */ - sensitiveValue?: string; -} +/** A copy activity Phoenix server source. */ +export type PhoenixSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PhoenixSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Contains the possible cases for SsisObjectMetadata. - */ -export type SsisObjectMetadataUnion = - | SsisObjectMetadata - | SsisEnvironment - | SsisPackage - | SsisProject - | SsisFolder; +/** A copy activity Presto server source. */ +export type PrestoSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PrestoSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * SSIS object metadata. - */ -export interface SsisObjectMetadata { - /** - * Polymorphic Discriminator - */ - type: "SsisObjectMetadata"; - /** - * Metadata id. - */ - id?: number; - /** - * Metadata name. - */ - name?: string; - /** - * Metadata description. - */ - description?: string; -} +/** A copy activity QuickBooks server source. */ +export type QuickBooksSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "QuickBooksSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Ssis environment. - */ -export interface SsisEnvironment { - /** - * Polymorphic Discriminator - */ - type: "Environment"; - /** - * Metadata id. - */ - id?: number; - /** - * Metadata name. - */ - name?: string; - /** - * Metadata description. - */ - description?: string; - /** - * Folder id which contains environment. - */ - folderId?: number; - /** - * Variable in environment - */ - variables?: SsisVariable[]; -} +/** A copy activity ServiceNow server source. */ +export type ServiceNowSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceNowSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Ssis parameter. - */ -export interface SsisParameter { - /** - * Parameter id. - */ - id?: number; - /** - * Parameter name. - */ - name?: string; - /** - * Parameter description. - */ - description?: string; - /** - * Parameter type. - */ - dataType?: string; - /** - * Whether parameter is required. - */ - required?: boolean; - /** - * Whether parameter is sensitive. - */ - sensitive?: boolean; - /** - * Design default value of parameter. - */ - designDefaultValue?: string; - /** - * Default value of parameter. - */ - defaultValue?: string; - /** - * Default sensitive value of parameter. - */ - sensitiveDefaultValue?: string; - /** - * Parameter value type. - */ - valueType?: string; - /** - * Parameter value set. - */ - valueSet?: boolean; - /** - * Parameter reference variable. - */ - variable?: string; -} +/** A copy activity Shopify Service source. */ +export type ShopifySource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ShopifySource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Ssis Package. - */ -export interface SsisPackage { - /** - * Polymorphic Discriminator - */ - type: "Package"; - /** - * Metadata id. - */ - id?: number; - /** - * Metadata name. - */ - name?: string; - /** - * Metadata description. - */ - description?: string; - /** - * Folder id which contains package. - */ - folderId?: number; - /** - * Project version which contains package. - */ - projectVersion?: number; - /** - * Project id which contains package. - */ - projectId?: number; - /** - * Parameters in package - */ - parameters?: SsisParameter[]; -} +/** A copy activity Spark Server source. */ +export type SparkSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SparkSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Ssis environment reference. - */ -export interface SsisEnvironmentReference { - /** - * Environment reference id. - */ - id?: number; - /** - * Environment folder name. - */ - environmentFolderName?: string; - /** - * Environment name. - */ - environmentName?: string; - /** - * Reference type - */ - referenceType?: string; -} +/** A copy activity Square Service source. */ +export type SquareSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SquareSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Ssis project. - */ -export interface SsisProject { - /** - * Polymorphic Discriminator - */ - type: "Project"; - /** - * Metadata id. - */ - id?: number; - /** - * Metadata name. - */ - name?: string; - /** - * Metadata description. - */ - description?: string; - /** - * Folder id which contains project. - */ - folderId?: number; - /** - * Project version. - */ - version?: number; - /** - * Environment reference in project - */ - environmentRefs?: SsisEnvironmentReference[]; - /** - * Parameters in project - */ - parameters?: SsisParameter[]; -} +/** A copy activity Xero Service source. */ +export type XeroSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "XeroSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Ssis folder. - */ -export interface SsisFolder { - /** - * Polymorphic Discriminator - */ - type: "Folder"; - /** - * Metadata id. - */ - id?: number; - /** - * Metadata name. - */ - name?: string; - /** - * Metadata description. - */ - description?: string; -} +/** A copy activity Zoho server source. */ +export type ZohoSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ZohoSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * A list of SSIS object metadata. - */ -export interface SsisObjectMetadataListResponse { - /** - * List of SSIS object metadata. - */ - value?: SsisObjectMetadataUnion[]; - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; -} +/** A copy activity Netezza source. */ +export type NetezzaSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "NetezzaSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; + /** The partition mechanism that will be used for Netezza read in parallel. Possible values include: "None", "DataSlice", "DynamicRange". */ + partitionOption?: Record; + /** The settings that will be leveraged for Netezza source partitioning. */ + partitionSettings?: NetezzaPartitionSettings; +}; -/** - * Monitoring data for integration runtime node. - */ -export interface IntegrationRuntimeNodeMonitoringData { - /** - * Name of the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nodeName?: string; - /** - * Available memory (MB) on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly availableMemoryInMB?: number; - /** - * CPU percentage on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly cpuUtilization?: number; - /** - * Maximum concurrent jobs on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly concurrentJobsLimit?: number; - /** - * The number of jobs currently running on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly concurrentJobsRunning?: number; - /** - * The maximum concurrent jobs in this integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly maxConcurrentJobs?: number; - /** - * Sent bytes on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly sentBytes?: number; - /** - * Received bytes on the integration runtime node. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly receivedBytes?: number; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} +/** A copy activity Vertica source. */ +export type VerticaSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "VerticaSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Get monitoring data response. - */ -export interface IntegrationRuntimeMonitoringData { - /** - * Integration runtime name. - */ - name?: string; - /** - * Integration runtime node monitoring data. - */ - nodes?: IntegrationRuntimeNodeMonitoringData[]; -} +/** A copy activity Salesforce Marketing Cloud source. */ +export type SalesforceMarketingCloudSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SalesforceMarketingCloudSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * The integration runtime authentication keys. - */ -export interface IntegrationRuntimeAuthKeys { - /** - * The primary integration runtime authentication key. - */ - authKey1?: string; - /** - * The secondary integration runtime authentication key. - */ - authKey2?: string; -} +/** A copy activity Responsys source. */ +export type ResponsysSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ResponsysSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; -/** - * Parameters to regenerate the authentication key. - */ -export interface IntegrationRuntimeRegenerateKeyParameters { - /** - * The name of the authentication key to regenerate. Possible values include: 'authKey1', - * 'authKey2' - */ - keyName?: IntegrationRuntimeAuthKeyName; -} +/** A copy activity Dynamics AX source. */ +export type DynamicsAXSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "DynamicsAXSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; + /** The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ + httpRequestTimeout?: Record; +}; -/** - * Connection information for encrypting the on-premises data source credentials. - */ -export interface IntegrationRuntimeConnectionInfo { - /** - * The token generated in service. Callers use this token to authenticate to integration runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly serviceToken?: string; - /** - * The integration runtime SSL certificate thumbprint. Click-Once application uses it to do - * server validation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly identityCertThumbprint?: string; - /** - * The on-premises integration runtime host URL. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly hostServiceUri?: string; - /** - * The integration runtime version. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly version?: string; - /** - * The public key for encrypting a credential when transferring the credential to the integration - * runtime. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly publicKey?: string; - /** - * Whether the identity certificate is expired. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly isIdentityCertExprired?: boolean; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; +/** A copy activity Oracle Service Cloud source. */ +export type OracleServiceCloudSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "OracleServiceCloudSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity Google AdWords service source. */ +export type GoogleAdWordsSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleAdWordsSource"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: Record; +}; + +/** A copy activity source for Amazon Redshift Source. */ +export type AmazonRedshiftSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonRedshiftSource"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: Record; + /** The Amazon S3 settings needed for the interim Amazon S3 when copying from Amazon Redshift with unload. With this, data from Amazon Redshift source will be unloaded into S3 first and then copied into the targeted sink from the interim S3. */ + redshiftUnloadSettings?: RedshiftUnloadSettings; +}; + +/** Referenced tumbling window trigger dependency. */ +export type TumblingWindowTriggerDependencyReference = TriggerDependencyReference & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TumblingWindowTriggerDependencyReference"; + /** Timespan applied to the start time of a tumbling window when evaluating dependency. */ + offset?: string; + /** The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used. */ + size?: string; +}; + +/** Defines headers for DataFlowDebugSession_create operation. */ +export interface DataFlowDebugSessionCreateHeaders { + /** URI to poll for asynchronous operation status. */ + location?: string; } -/** - * Columns that define the structure of the dataset. - */ -export interface DatasetDataElement { - /** - * Name of the column. Type: string (or Expression with resultType string). - */ - name?: any; - /** - * Type of the column. Type: string (or Expression with resultType string). - */ - type?: any; +/** Defines headers for DataFlowDebugSession_executeCommand operation. */ +export interface DataFlowDebugSessionExecuteCommandHeaders { + /** URI to poll for asynchronous operation status. */ + location?: string; } -/** - * Columns that define the physical type schema of the dataset. - */ -export interface DatasetSchemaDataElement { - /** - * Name of the schema column. Type: string (or Expression with resultType string). - */ - name?: any; - /** - * Type of the schema column. Type: string (or Expression with resultType string). - */ - type?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; +/** Known values of {@link FactoryIdentityType} that the service accepts. */ +export enum KnownFactoryIdentityType { + SystemAssigned = "SystemAssigned", + UserAssigned = "UserAssigned", + SystemAssignedUserAssigned = "SystemAssigned,UserAssigned" } /** - * Contains the possible cases for CopyTranslator. + * Defines values for FactoryIdentityType. \ + * {@link KnownFactoryIdentityType} can be used interchangeably with FactoryIdentityType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SystemAssigned** \ + * **UserAssigned** \ + * **SystemAssigned,UserAssigned** */ -export type CopyTranslatorUnion = CopyTranslator | TabularTranslator; +export type FactoryIdentityType = string; -/** - * A copy activity translator. - */ -export interface CopyTranslator { - /** - * Polymorphic Discriminator - */ - type: "CopyTranslator"; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; +/** Known values of {@link GlobalParameterType} that the service accepts. */ +export enum KnownGlobalParameterType { + Object = "Object", + String = "String", + Int = "Int", + Float = "Float", + Bool = "Bool", + Array = "Array" } /** - * Type conversion settings + * Defines values for GlobalParameterType. \ + * {@link KnownGlobalParameterType} can be used interchangeably with GlobalParameterType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Object** \ + * **String** \ + * **Int** \ + * **Float** \ + * **Bool** \ + * **Array** */ -export interface TypeConversionSettings { - /** - * Whether to allow data truncation when converting the data. Type: boolean (or Expression with - * resultType boolean). - */ - allowDataTruncation?: any; - /** - * Whether to treat boolean values as numbers. Type: boolean (or Expression with resultType - * boolean). - */ - treatBooleanAsNumber?: any; - /** - * The format for DateTime values. Type: string (or Expression with resultType string). - */ - dateTimeFormat?: any; - /** - * The format for DateTimeOffset values. Type: string (or Expression with resultType string). - */ - dateTimeOffsetFormat?: any; - /** - * The format for TimeSpan values. Type: string (or Expression with resultType string). - */ - timeSpanFormat?: any; - /** - * The culture used to convert data from/to string. Type: string (or Expression with resultType - * string). - */ - culture?: any; -} +export type GlobalParameterType = string; -/** - * A copy activity tabular translator. - */ -export interface TabularTranslator { - /** - * Polymorphic Discriminator - */ - type: "TabularTranslator"; - /** - * Column mappings. Example: "UserId: MyUserId, Group: MyGroup, Name: MyName" Type: string (or - * Expression with resultType string). This property will be retired. Please use mappings - * property. - */ - columnMappings?: any; - /** - * The schema mapping to map between tabular data and hierarchical data. Example: {"Column1": - * "$.Column1", "Column2": "$.Column2.Property1", "Column3": "$.Column2.Property2"}. Type: object - * (or Expression with resultType object). This property will be retired. Please use mappings - * property. - */ - schemaMapping?: any; - /** - * The JSON Path of the Nested Array that is going to do cross-apply. Type: object (or Expression - * with resultType object). - */ - collectionReference?: any; - /** - * Whether to map complex (array and object) values to simple strings in json format. Type: - * boolean (or Expression with resultType boolean). - */ - mapComplexValuesToString?: any; - /** - * Column mappings with logical types. Tabular->tabular example: - * [{"source":{"name":"CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"name":"CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. - * Hierarchical->tabular example: - * [{"source":{"path":"$.CustomerName","type":"String"},"sink":{"name":"ClientName","type":"String"}},{"source":{"path":"$.CustomerAddress","type":"String"},"sink":{"name":"ClientAddress","type":"String"}}]. - * Type: object (or Expression with resultType object). - */ - mappings?: any; - /** - * Whether to enable the advanced type conversion feature in the Copy activity. Type: boolean (or - * Expression with resultType boolean). - */ - typeConversion?: any; - /** - * Type conversion settings - */ - typeConversionSettings?: TypeConversionSettings; +/** Known values of {@link PublicNetworkAccess} that the service accepts. */ +export enum KnownPublicNetworkAccess { + Enabled = "Enabled", + Disabled = "Disabled" } /** - * Optional Parameters. + * Defines values for PublicNetworkAccess. \ + * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Disabled** */ -export interface FactoriesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the factory entity. Should only be specified for update, for which it should match - * existing entity or can be * for unconditional update. - */ - ifMatch?: string; -} +export type PublicNetworkAccess = string; -/** - * Optional Parameters. - */ -export interface FactoriesGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the factory entity. Should only be specified for get. If the ETag matches the existing - * entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +/** Known values of {@link IntegrationRuntimeType} that the service accepts. */ +export enum KnownIntegrationRuntimeType { + Managed = "Managed", + SelfHosted = "SelfHosted" } /** - * Optional Parameters. + * Defines values for IntegrationRuntimeType. \ + * {@link KnownIntegrationRuntimeType} can be used interchangeably with IntegrationRuntimeType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Managed** \ + * **SelfHosted** */ -export interface IntegrationRuntimesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the integration runtime entity. Should only be specified for update, for which it - * should match existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type IntegrationRuntimeType = string; + +/** Known values of {@link IntegrationRuntimeAutoUpdate} that the service accepts. */ +export enum KnownIntegrationRuntimeAutoUpdate { + On = "On", + Off = "Off" } /** - * Optional Parameters. + * Defines values for IntegrationRuntimeAutoUpdate. \ + * {@link KnownIntegrationRuntimeAutoUpdate} can be used interchangeably with IntegrationRuntimeAutoUpdate, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **On** \ + * **Off** */ -export interface IntegrationRuntimesGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the integration runtime entity. Should only be specified for get. If the ETag matches - * the existing entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type IntegrationRuntimeAutoUpdate = string; + +/** Known values of {@link IntegrationRuntimeState} that the service accepts. */ +export enum KnownIntegrationRuntimeState { + Initial = "Initial", + Stopped = "Stopped", + Started = "Started", + Starting = "Starting", + Stopping = "Stopping", + NeedRegistration = "NeedRegistration", + Online = "Online", + Limited = "Limited", + Offline = "Offline", + AccessDenied = "AccessDenied" } /** - * Optional Parameters. + * Defines values for IntegrationRuntimeState. \ + * {@link KnownIntegrationRuntimeState} can be used interchangeably with IntegrationRuntimeState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Initial** \ + * **Stopped** \ + * **Started** \ + * **Starting** \ + * **Stopping** \ + * **NeedRegistration** \ + * **Online** \ + * **Limited** \ + * **Offline** \ + * **AccessDenied** + */ +export type IntegrationRuntimeState = string; + +/** Known values of {@link IntegrationRuntimeAuthKeyName} that the service accepts. */ +export enum KnownIntegrationRuntimeAuthKeyName { + AuthKey1 = "authKey1", + AuthKey2 = "authKey2" +} + +/** + * Defines values for IntegrationRuntimeAuthKeyName. \ + * {@link KnownIntegrationRuntimeAuthKeyName} can be used interchangeably with IntegrationRuntimeAuthKeyName, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **authKey1** \ + * **authKey2** + */ +export type IntegrationRuntimeAuthKeyName = string; + +/** Known values of {@link SsisObjectMetadataType} that the service accepts. */ +export enum KnownSsisObjectMetadataType { + Folder = "Folder", + Project = "Project", + Package = "Package", + Environment = "Environment" +} + +/** + * Defines values for SsisObjectMetadataType. \ + * {@link KnownSsisObjectMetadataType} can be used interchangeably with SsisObjectMetadataType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Folder** \ + * **Project** \ + * **Package** \ + * **Environment** */ -export interface IntegrationRuntimeObjectMetadataGetOptionalParams - extends msRest.RequestOptionsBase { - /** - * The parameters for getting a SSIS object metadata. - */ - getMetadataRequest?: GetSsisObjectMetadataRequest; +export type SsisObjectMetadataType = string; + +/** Known values of {@link SelfHostedIntegrationRuntimeNodeStatus} that the service accepts. */ +export enum KnownSelfHostedIntegrationRuntimeNodeStatus { + NeedRegistration = "NeedRegistration", + Online = "Online", + Limited = "Limited", + Offline = "Offline", + Upgrading = "Upgrading", + Initializing = "Initializing", + InitializeFailed = "InitializeFailed" +} + +/** + * Defines values for SelfHostedIntegrationRuntimeNodeStatus. \ + * {@link KnownSelfHostedIntegrationRuntimeNodeStatus} can be used interchangeably with SelfHostedIntegrationRuntimeNodeStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NeedRegistration** \ + * **Online** \ + * **Limited** \ + * **Offline** \ + * **Upgrading** \ + * **Initializing** \ + * **InitializeFailed** + */ +export type SelfHostedIntegrationRuntimeNodeStatus = string; + +/** Known values of {@link IntegrationRuntimeUpdateResult} that the service accepts. */ +export enum KnownIntegrationRuntimeUpdateResult { + None = "None", + Succeed = "Succeed", + Fail = "Fail" +} + +/** + * Defines values for IntegrationRuntimeUpdateResult. \ + * {@link KnownIntegrationRuntimeUpdateResult} can be used interchangeably with IntegrationRuntimeUpdateResult, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Succeed** \ + * **Fail** + */ +export type IntegrationRuntimeUpdateResult = string; + +/** Known values of {@link ParameterType} that the service accepts. */ +export enum KnownParameterType { + Object = "Object", + String = "String", + Int = "Int", + Float = "Float", + Bool = "Bool", + Array = "Array", + SecureString = "SecureString" +} + +/** + * Defines values for ParameterType. \ + * {@link KnownParameterType} can be used interchangeably with ParameterType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Object** \ + * **String** \ + * **Int** \ + * **Float** \ + * **Bool** \ + * **Array** \ + * **SecureString** + */ +export type ParameterType = string; + +/** Known values of {@link DependencyCondition} that the service accepts. */ +export enum KnownDependencyCondition { + Succeeded = "Succeeded", + Failed = "Failed", + Skipped = "Skipped", + Completed = "Completed" +} + +/** + * Defines values for DependencyCondition. \ + * {@link KnownDependencyCondition} can be used interchangeably with DependencyCondition, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Skipped** \ + * **Completed** + */ +export type DependencyCondition = string; + +/** Known values of {@link VariableType} that the service accepts. */ +export enum KnownVariableType { + String = "String", + Bool = "Bool", + Array = "Array" +} + +/** + * Defines values for VariableType. \ + * {@link KnownVariableType} can be used interchangeably with VariableType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **String** \ + * **Bool** \ + * **Array** + */ +export type VariableType = string; + +/** Known values of {@link RunQueryFilterOperand} that the service accepts. */ +export enum KnownRunQueryFilterOperand { + PipelineName = "PipelineName", + Status = "Status", + RunStart = "RunStart", + RunEnd = "RunEnd", + ActivityName = "ActivityName", + ActivityRunStart = "ActivityRunStart", + ActivityRunEnd = "ActivityRunEnd", + ActivityType = "ActivityType", + TriggerName = "TriggerName", + TriggerRunTimestamp = "TriggerRunTimestamp", + RunGroupId = "RunGroupId", + LatestOnly = "LatestOnly" +} + +/** + * Defines values for RunQueryFilterOperand. \ + * {@link KnownRunQueryFilterOperand} can be used interchangeably with RunQueryFilterOperand, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **PipelineName** \ + * **Status** \ + * **RunStart** \ + * **RunEnd** \ + * **ActivityName** \ + * **ActivityRunStart** \ + * **ActivityRunEnd** \ + * **ActivityType** \ + * **TriggerName** \ + * **TriggerRunTimestamp** \ + * **RunGroupId** \ + * **LatestOnly** + */ +export type RunQueryFilterOperand = string; + +/** Known values of {@link RunQueryFilterOperator} that the service accepts. */ +export enum KnownRunQueryFilterOperator { + Equals = "Equals", + NotEquals = "NotEquals", + In = "In", + NotIn = "NotIn" +} + +/** + * Defines values for RunQueryFilterOperator. \ + * {@link KnownRunQueryFilterOperator} can be used interchangeably with RunQueryFilterOperator, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Equals** \ + * **NotEquals** \ + * **In** \ + * **NotIn** + */ +export type RunQueryFilterOperator = string; + +/** Known values of {@link RunQueryOrderByField} that the service accepts. */ +export enum KnownRunQueryOrderByField { + RunStart = "RunStart", + RunEnd = "RunEnd", + PipelineName = "PipelineName", + Status = "Status", + ActivityName = "ActivityName", + ActivityRunStart = "ActivityRunStart", + ActivityRunEnd = "ActivityRunEnd", + TriggerName = "TriggerName", + TriggerRunTimestamp = "TriggerRunTimestamp" +} + +/** + * Defines values for RunQueryOrderByField. \ + * {@link KnownRunQueryOrderByField} can be used interchangeably with RunQueryOrderByField, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **RunStart** \ + * **RunEnd** \ + * **PipelineName** \ + * **Status** \ + * **ActivityName** \ + * **ActivityRunStart** \ + * **ActivityRunEnd** \ + * **TriggerName** \ + * **TriggerRunTimestamp** + */ +export type RunQueryOrderByField = string; + +/** Known values of {@link RunQueryOrder} that the service accepts. */ +export enum KnownRunQueryOrder { + ASC = "ASC", + Desc = "DESC" +} + +/** + * Defines values for RunQueryOrder. \ + * {@link KnownRunQueryOrder} can be used interchangeably with RunQueryOrder, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ASC** \ + * **DESC** + */ +export type RunQueryOrder = string; + +/** Known values of {@link TriggerRuntimeState} that the service accepts. */ +export enum KnownTriggerRuntimeState { + Started = "Started", + Stopped = "Stopped", + Disabled = "Disabled" +} + +/** + * Defines values for TriggerRuntimeState. \ + * {@link KnownTriggerRuntimeState} can be used interchangeably with TriggerRuntimeState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Started** \ + * **Stopped** \ + * **Disabled** + */ +export type TriggerRuntimeState = string; + +/** Known values of {@link EventSubscriptionStatus} that the service accepts. */ +export enum KnownEventSubscriptionStatus { + Enabled = "Enabled", + Provisioning = "Provisioning", + Deprovisioning = "Deprovisioning", + Disabled = "Disabled", + Unknown = "Unknown" } /** - * Optional Parameters. + * Defines values for EventSubscriptionStatus. \ + * {@link KnownEventSubscriptionStatus} can be used interchangeably with EventSubscriptionStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Enabled** \ + * **Provisioning** \ + * **Deprovisioning** \ + * **Disabled** \ + * **Unknown** */ -export interface LinkedServicesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the linkedService entity. Should only be specified for update, for which it should - * match existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type EventSubscriptionStatus = string; + +/** Known values of {@link TriggerRunStatus} that the service accepts. */ +export enum KnownTriggerRunStatus { + Succeeded = "Succeeded", + Failed = "Failed", + Inprogress = "Inprogress" } /** - * Optional Parameters. + * Defines values for TriggerRunStatus. \ + * {@link KnownTriggerRunStatus} can be used interchangeably with TriggerRunStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Inprogress** */ -export interface LinkedServicesGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the linked service entity. Should only be specified for get. If the ETag matches the - * existing entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type TriggerRunStatus = string; + +/** Known values of {@link DataFlowDebugCommandType} that the service accepts. */ +export enum KnownDataFlowDebugCommandType { + ExecutePreviewQuery = "executePreviewQuery", + ExecuteStatisticsQuery = "executeStatisticsQuery", + ExecuteExpressionQuery = "executeExpressionQuery" } /** - * Optional Parameters. + * Defines values for DataFlowDebugCommandType. \ + * {@link KnownDataFlowDebugCommandType} can be used interchangeably with DataFlowDebugCommandType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **executePreviewQuery** \ + * **executeStatisticsQuery** \ + * **executeExpressionQuery** */ -export interface DatasetsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the dataset entity. Should only be specified for update, for which it should match - * existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type DataFlowDebugCommandType = string; + +/** Known values of {@link DataFlowComputeType} that the service accepts. */ +export enum KnownDataFlowComputeType { + General = "General", + MemoryOptimized = "MemoryOptimized", + ComputeOptimized = "ComputeOptimized" } /** - * Optional Parameters. + * Defines values for DataFlowComputeType. \ + * {@link KnownDataFlowComputeType} can be used interchangeably with DataFlowComputeType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **General** \ + * **MemoryOptimized** \ + * **ComputeOptimized** */ -export interface DatasetsGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the dataset entity. Should only be specified for get. If the ETag matches the existing - * entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type DataFlowComputeType = string; + +/** Known values of {@link IntegrationRuntimeSsisCatalogPricingTier} that the service accepts. */ +export enum KnownIntegrationRuntimeSsisCatalogPricingTier { + Basic = "Basic", + Standard = "Standard", + Premium = "Premium", + PremiumRS = "PremiumRS" } /** - * Optional Parameters. + * Defines values for IntegrationRuntimeSsisCatalogPricingTier. \ + * {@link KnownIntegrationRuntimeSsisCatalogPricingTier} can be used interchangeably with IntegrationRuntimeSsisCatalogPricingTier, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Standard** \ + * **Premium** \ + * **PremiumRS** */ -export interface PipelinesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the pipeline entity. Should only be specified for update, for which it should match - * existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type IntegrationRuntimeSsisCatalogPricingTier = string; + +/** Known values of {@link IntegrationRuntimeLicenseType} that the service accepts. */ +export enum KnownIntegrationRuntimeLicenseType { + BasePrice = "BasePrice", + LicenseIncluded = "LicenseIncluded" } /** - * Optional Parameters. + * Defines values for IntegrationRuntimeLicenseType. \ + * {@link KnownIntegrationRuntimeLicenseType} can be used interchangeably with IntegrationRuntimeLicenseType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **BasePrice** \ + * **LicenseIncluded** */ -export interface PipelinesGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the pipeline entity. Should only be specified for get. If the ETag matches the - * existing entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type IntegrationRuntimeLicenseType = string; + +/** Known values of {@link IntegrationRuntimeEntityReferenceType} that the service accepts. */ +export enum KnownIntegrationRuntimeEntityReferenceType { + IntegrationRuntimeReference = "IntegrationRuntimeReference", + LinkedServiceReference = "LinkedServiceReference" } /** - * Optional Parameters. + * Defines values for IntegrationRuntimeEntityReferenceType. \ + * {@link KnownIntegrationRuntimeEntityReferenceType} can be used interchangeably with IntegrationRuntimeEntityReferenceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **IntegrationRuntimeReference** \ + * **LinkedServiceReference** */ -export interface PipelinesCreateRunOptionalParams extends msRest.RequestOptionsBase { - /** - * The pipeline run identifier. If run ID is specified the parameters of the specified run will - * be used to create a new run. - */ - referencePipelineRunId?: string; - /** - * Recovery mode flag. If recovery mode is set to true, the specified referenced pipeline run and - * the new run will be grouped under the same groupId. - */ - isRecovery?: boolean; - /** - * In recovery mode, the rerun will start from this activity. If not specified, all activities - * will run. - */ - startActivityName?: string; - /** - * In recovery mode, if set to true, the rerun will start from failed activities. The property - * will be used only if startActivityName is not specified. - */ - startFromFailure?: boolean; - /** - * Parameters of the pipeline run. These parameters will be used only if the runId is not - * specified. - */ - parameters?: { [propertyName: string]: any }; +export type IntegrationRuntimeEntityReferenceType = string; + +/** Known values of {@link IntegrationRuntimeEdition} that the service accepts. */ +export enum KnownIntegrationRuntimeEdition { + Standard = "Standard", + Enterprise = "Enterprise" } /** - * Optional Parameters. + * Defines values for IntegrationRuntimeEdition. \ + * {@link KnownIntegrationRuntimeEdition} can be used interchangeably with IntegrationRuntimeEdition, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Standard** \ + * **Enterprise** */ -export interface PipelineRunsCancelOptionalParams extends msRest.RequestOptionsBase { - /** - * If true, cancel all the Child pipelines that are triggered by the current pipeline. - */ - isRecursive?: boolean; +export type IntegrationRuntimeEdition = string; + +/** Known values of {@link ManagedIntegrationRuntimeNodeStatus} that the service accepts. */ +export enum KnownManagedIntegrationRuntimeNodeStatus { + Starting = "Starting", + Available = "Available", + Recycling = "Recycling", + Unavailable = "Unavailable" } /** - * Optional Parameters. + * Defines values for ManagedIntegrationRuntimeNodeStatus. \ + * {@link KnownManagedIntegrationRuntimeNodeStatus} can be used interchangeably with ManagedIntegrationRuntimeNodeStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Starting** \ + * **Available** \ + * **Recycling** \ + * **Unavailable** */ -export interface TriggersCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the trigger entity. Should only be specified for update, for which it should match - * existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type ManagedIntegrationRuntimeNodeStatus = string; + +/** Known values of {@link IntegrationRuntimeInternalChannelEncryptionMode} that the service accepts. */ +export enum KnownIntegrationRuntimeInternalChannelEncryptionMode { + NotSet = "NotSet", + SslEncrypted = "SslEncrypted", + NotEncrypted = "NotEncrypted" } /** - * Optional Parameters. + * Defines values for IntegrationRuntimeInternalChannelEncryptionMode. \ + * {@link KnownIntegrationRuntimeInternalChannelEncryptionMode} can be used interchangeably with IntegrationRuntimeInternalChannelEncryptionMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSet** \ + * **SslEncrypted** \ + * **NotEncrypted** */ -export interface TriggersGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the trigger entity. Should only be specified for get. If the ETag matches the existing - * entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type IntegrationRuntimeInternalChannelEncryptionMode = string; + +/** Known values of {@link SqlAlwaysEncryptedAkvAuthType} that the service accepts. */ +export enum KnownSqlAlwaysEncryptedAkvAuthType { + ServicePrincipal = "ServicePrincipal", + ManagedIdentity = "ManagedIdentity", + UserAssignedManagedIdentity = "UserAssignedManagedIdentity" } /** - * Optional Parameters. + * Defines values for SqlAlwaysEncryptedAkvAuthType. \ + * {@link KnownSqlAlwaysEncryptedAkvAuthType} can be used interchangeably with SqlAlwaysEncryptedAkvAuthType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServicePrincipal** \ + * **ManagedIdentity** \ + * **UserAssignedManagedIdentity** */ -export interface DataFlowsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the data flow entity. Should only be specified for update, for which it should match - * existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type SqlAlwaysEncryptedAkvAuthType = string; + +/** Known values of {@link CosmosDbServicePrincipalCredentialType} that the service accepts. */ +export enum KnownCosmosDbServicePrincipalCredentialType { + ServicePrincipalKey = "ServicePrincipalKey", + ServicePrincipalCert = "ServicePrincipalCert" } /** - * Optional Parameters. + * Defines values for CosmosDbServicePrincipalCredentialType. \ + * {@link KnownCosmosDbServicePrincipalCredentialType} can be used interchangeably with CosmosDbServicePrincipalCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServicePrincipalKey** \ + * **ServicePrincipalCert** */ -export interface DataFlowsGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the data flow entity. Should only be specified for get. If the ETag matches the - * existing entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type CosmosDbServicePrincipalCredentialType = string; + +/** Known values of {@link CosmosDbConnectionMode} that the service accepts. */ +export enum KnownCosmosDbConnectionMode { + Gateway = "Gateway", + Direct = "Direct" } /** - * Optional Parameters. + * Defines values for CosmosDbConnectionMode. \ + * {@link KnownCosmosDbConnectionMode} can be used interchangeably with CosmosDbConnectionMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Gateway** \ + * **Direct** */ -export interface ManagedVirtualNetworksCreateOrUpdateOptionalParams - extends msRest.RequestOptionsBase { - /** - * ETag of the managed Virtual Network entity. Should only be specified for update, for which it - * should match existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type CosmosDbConnectionMode = string; + +/** Known values of {@link SybaseAuthenticationType} that the service accepts. */ +export enum KnownSybaseAuthenticationType { + Basic = "Basic", + Windows = "Windows" } /** - * Optional Parameters. + * Defines values for SybaseAuthenticationType. \ + * {@link KnownSybaseAuthenticationType} can be used interchangeably with SybaseAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Windows** */ -export interface ManagedVirtualNetworksGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the managed Virtual Network entity. Should only be specified for get. If the ETag - * matches the existing entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type SybaseAuthenticationType = string; + +/** Known values of {@link Db2AuthenticationType} that the service accepts. */ +export enum KnownDb2AuthenticationType { + Basic = "Basic" } /** - * Optional Parameters. + * Defines values for Db2AuthenticationType. \ + * {@link KnownDb2AuthenticationType} can be used interchangeably with Db2AuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** */ -export interface ManagedPrivateEndpointsCreateOrUpdateOptionalParams - extends msRest.RequestOptionsBase { - /** - * ETag of the managed private endpoint entity. Should only be specified for update, for which it - * should match existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type Db2AuthenticationType = string; + +/** Known values of {@link TeradataAuthenticationType} that the service accepts. */ +export enum KnownTeradataAuthenticationType { + Basic = "Basic", + Windows = "Windows" } /** - * Optional Parameters. + * Defines values for TeradataAuthenticationType. \ + * {@link KnownTeradataAuthenticationType} can be used interchangeably with TeradataAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Windows** */ -export interface ManagedPrivateEndpointsGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the managed private endpoint entity. Should only be specified for get. If the ETag - * matches the existing entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type TeradataAuthenticationType = string; + +/** Known values of {@link ODataAuthenticationType} that the service accepts. */ +export enum KnownODataAuthenticationType { + Basic = "Basic", + Anonymous = "Anonymous", + Windows = "Windows", + AadServicePrincipal = "AadServicePrincipal", + ManagedServiceIdentity = "ManagedServiceIdentity" } /** - * Optional Parameters. + * Defines values for ODataAuthenticationType. \ + * {@link KnownODataAuthenticationType} can be used interchangeably with ODataAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Anonymous** \ + * **Windows** \ + * **AadServicePrincipal** \ + * **ManagedServiceIdentity** */ -export interface PrivateEndpointConnectionCreateOrUpdateOptionalParams - extends msRest.RequestOptionsBase { - /** - * ETag of the private endpoint connection entity. Should only be specified for update, for - * which it should match existing entity or can be * for unconditional update. - */ - ifMatch?: string; +export type ODataAuthenticationType = string; + +/** Known values of {@link ODataAadServicePrincipalCredentialType} that the service accepts. */ +export enum KnownODataAadServicePrincipalCredentialType { + ServicePrincipalKey = "ServicePrincipalKey", + ServicePrincipalCert = "ServicePrincipalCert" } /** - * Optional Parameters. + * Defines values for ODataAadServicePrincipalCredentialType. \ + * {@link KnownODataAadServicePrincipalCredentialType} can be used interchangeably with ODataAadServicePrincipalCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServicePrincipalKey** \ + * **ServicePrincipalCert** */ -export interface PrivateEndpointConnectionGetOptionalParams extends msRest.RequestOptionsBase { - /** - * ETag of the private endpoint connection entity. Should only be specified for get. If the ETag - * matches the existing entity tag, or if * was provided, then no content will be returned. - */ - ifNoneMatch?: string; +export type ODataAadServicePrincipalCredentialType = string; + +/** Known values of {@link WebAuthenticationType} that the service accepts. */ +export enum KnownWebAuthenticationType { + Basic = "Basic", + Anonymous = "Anonymous", + ClientCertificate = "ClientCertificate" } /** - * An interface representing DataFactoryManagementClientOptions. + * Defines values for WebAuthenticationType. \ + * {@link KnownWebAuthenticationType} can be used interchangeably with WebAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Anonymous** \ + * **ClientCertificate** */ -export interface DataFactoryManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export type WebAuthenticationType = string; + +/** Known values of {@link MongoDbAuthenticationType} that the service accepts. */ +export enum KnownMongoDbAuthenticationType { + Basic = "Basic", + Anonymous = "Anonymous" } /** - * Defines headers for Create operation. + * Defines values for MongoDbAuthenticationType. \ + * {@link KnownMongoDbAuthenticationType} can be used interchangeably with MongoDbAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Anonymous** */ -export interface DataFlowDebugSessionCreateHeaders { - /** - * URI to poll for asynchronous operation status. - */ - location: string; +export type MongoDbAuthenticationType = string; + +/** Known values of {@link RestServiceAuthenticationType} that the service accepts. */ +export enum KnownRestServiceAuthenticationType { + Anonymous = "Anonymous", + Basic = "Basic", + AadServicePrincipal = "AadServicePrincipal", + ManagedServiceIdentity = "ManagedServiceIdentity" } /** - * Defines headers for ExecuteCommand operation. + * Defines values for RestServiceAuthenticationType. \ + * {@link KnownRestServiceAuthenticationType} can be used interchangeably with RestServiceAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Anonymous** \ + * **Basic** \ + * **AadServicePrincipal** \ + * **ManagedServiceIdentity** */ -export interface DataFlowDebugSessionExecuteCommandHeaders { - /** - * URI to poll for asynchronous operation status. - */ - location: string; +export type RestServiceAuthenticationType = string; + +/** Known values of {@link HttpAuthenticationType} that the service accepts. */ +export enum KnownHttpAuthenticationType { + Basic = "Basic", + Anonymous = "Anonymous", + Digest = "Digest", + Windows = "Windows", + ClientCertificate = "ClientCertificate" } /** - * @interface - * A list of operations that can be performed by the Data Factory service. - * @extends Array + * Defines values for HttpAuthenticationType. \ + * {@link KnownHttpAuthenticationType} can be used interchangeably with HttpAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Anonymous** \ + * **Digest** \ + * **Windows** \ + * **ClientCertificate** */ -export interface OperationListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type HttpAuthenticationType = string; + +/** Known values of {@link FtpAuthenticationType} that the service accepts. */ +export enum KnownFtpAuthenticationType { + Basic = "Basic", + Anonymous = "Anonymous" } /** - * @interface - * A list of factory resources. - * @extends Array + * Defines values for FtpAuthenticationType. \ + * {@link KnownFtpAuthenticationType} can be used interchangeably with FtpAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Anonymous** */ -export interface FactoryListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type FtpAuthenticationType = string; + +/** Known values of {@link SftpAuthenticationType} that the service accepts. */ +export enum KnownSftpAuthenticationType { + Basic = "Basic", + SshPublicKey = "SshPublicKey", + MultiFactor = "MultiFactor" } /** - * @interface - * A list of integration runtime resources. - * @extends Array + * Defines values for SftpAuthenticationType. \ + * {@link KnownSftpAuthenticationType} can be used interchangeably with SftpAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **SshPublicKey** \ + * **MultiFactor** */ -export interface IntegrationRuntimeListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type SftpAuthenticationType = string; + +/** Known values of {@link SapHanaAuthenticationType} that the service accepts. */ +export enum KnownSapHanaAuthenticationType { + Basic = "Basic", + Windows = "Windows" } /** - * @interface - * A list of linked service resources. - * @extends Array + * Defines values for SapHanaAuthenticationType. \ + * {@link KnownSapHanaAuthenticationType} can be used interchangeably with SapHanaAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **Windows** */ -export interface LinkedServiceListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type SapHanaAuthenticationType = string; + +/** Known values of {@link GoogleBigQueryAuthenticationType} that the service accepts. */ +export enum KnownGoogleBigQueryAuthenticationType { + ServiceAuthentication = "ServiceAuthentication", + UserAuthentication = "UserAuthentication" } /** - * @interface - * A list of dataset resources. - * @extends Array + * Defines values for GoogleBigQueryAuthenticationType. \ + * {@link KnownGoogleBigQueryAuthenticationType} can be used interchangeably with GoogleBigQueryAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServiceAuthentication** \ + * **UserAuthentication** */ -export interface DatasetListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type GoogleBigQueryAuthenticationType = string; + +/** Known values of {@link HBaseAuthenticationType} that the service accepts. */ +export enum KnownHBaseAuthenticationType { + Anonymous = "Anonymous", + Basic = "Basic" } /** - * @interface - * A list of pipeline resources. - * @extends Array + * Defines values for HBaseAuthenticationType. \ + * {@link KnownHBaseAuthenticationType} can be used interchangeably with HBaseAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Anonymous** \ + * **Basic** */ -export interface PipelineListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type HBaseAuthenticationType = string; + +/** Known values of {@link HiveServerType} that the service accepts. */ +export enum KnownHiveServerType { + HiveServer1 = "HiveServer1", + HiveServer2 = "HiveServer2", + HiveThriftServer = "HiveThriftServer" } /** - * @interface - * A list of trigger resources. - * @extends Array + * Defines values for HiveServerType. \ + * {@link KnownHiveServerType} can be used interchangeably with HiveServerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **HiveServer1** \ + * **HiveServer2** \ + * **HiveThriftServer** */ -export interface TriggerListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type HiveServerType = string; + +/** Known values of {@link HiveThriftTransportProtocol} that the service accepts. */ +export enum KnownHiveThriftTransportProtocol { + Binary = "Binary", + Sasl = "SASL", + Http = "HTTP " } /** - * @interface - * A list of data flow resources. - * @extends Array + * Defines values for HiveThriftTransportProtocol. \ + * {@link KnownHiveThriftTransportProtocol} can be used interchangeably with HiveThriftTransportProtocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Binary** \ + * **SASL** \ + * **HTTP ** */ -export interface DataFlowListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type HiveThriftTransportProtocol = string; + +/** Known values of {@link HiveAuthenticationType} that the service accepts. */ +export enum KnownHiveAuthenticationType { + Anonymous = "Anonymous", + Username = "Username", + UsernameAndPassword = "UsernameAndPassword", + WindowsAzureHDInsightService = "WindowsAzureHDInsightService" } /** - * @interface - * A list of active debug sessions. - * @extends Array + * Defines values for HiveAuthenticationType. \ + * {@link KnownHiveAuthenticationType} can be used interchangeably with HiveAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Anonymous** \ + * **Username** \ + * **UsernameAndPassword** \ + * **WindowsAzureHDInsightService** */ -export interface QueryDataFlowDebugSessionsResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type HiveAuthenticationType = string; + +/** Known values of {@link ImpalaAuthenticationType} that the service accepts. */ +export enum KnownImpalaAuthenticationType { + Anonymous = "Anonymous", + SaslUsername = "SASLUsername", + UsernameAndPassword = "UsernameAndPassword" } /** - * @interface - * A list of managed Virtual Network resources. - * @extends Array + * Defines values for ImpalaAuthenticationType. \ + * {@link KnownImpalaAuthenticationType} can be used interchangeably with ImpalaAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Anonymous** \ + * **SASLUsername** \ + * **UsernameAndPassword** */ -export interface ManagedVirtualNetworkListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type ImpalaAuthenticationType = string; + +/** Known values of {@link PhoenixAuthenticationType} that the service accepts. */ +export enum KnownPhoenixAuthenticationType { + Anonymous = "Anonymous", + UsernameAndPassword = "UsernameAndPassword", + WindowsAzureHDInsightService = "WindowsAzureHDInsightService" } /** - * @interface - * A list of managed private endpoint resources. - * @extends Array + * Defines values for PhoenixAuthenticationType. \ + * {@link KnownPhoenixAuthenticationType} can be used interchangeably with PhoenixAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Anonymous** \ + * **UsernameAndPassword** \ + * **WindowsAzureHDInsightService** */ -export interface ManagedPrivateEndpointListResponse extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type PhoenixAuthenticationType = string; + +/** Known values of {@link PrestoAuthenticationType} that the service accepts. */ +export enum KnownPrestoAuthenticationType { + Anonymous = "Anonymous", + Ldap = "LDAP" } /** - * @interface - * A list of linked service resources. - * @extends Array + * Defines values for PrestoAuthenticationType. \ + * {@link KnownPrestoAuthenticationType} can be used interchangeably with PrestoAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Anonymous** \ + * **LDAP** */ -export interface PrivateEndpointConnectionListResponse - extends Array { - /** - * The link to the next page of results, if any remaining results exist. - */ - nextLink?: string; +export type PrestoAuthenticationType = string; + +/** Known values of {@link ServiceNowAuthenticationType} that the service accepts. */ +export enum KnownServiceNowAuthenticationType { + Basic = "Basic", + OAuth2 = "OAuth2" } /** - * Defines values for FactoryIdentityType. - * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned' - * @readonly - * @enum {string} + * Defines values for ServiceNowAuthenticationType. \ + * {@link KnownServiceNowAuthenticationType} can be used interchangeably with ServiceNowAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **OAuth2** */ -export type FactoryIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned"; +export type ServiceNowAuthenticationType = string; -/** - * Defines values for GlobalParameterType. - * Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', 'Array' - * @readonly - * @enum {string} - */ -export type GlobalParameterType = "Object" | "String" | "Int" | "Float" | "Bool" | "Array"; +/** Known values of {@link SparkServerType} that the service accepts. */ +export enum KnownSparkServerType { + SharkServer = "SharkServer", + SharkServer2 = "SharkServer2", + SparkThriftServer = "SparkThriftServer" +} /** - * Defines values for PublicNetworkAccess. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Defines values for SparkServerType. \ + * {@link KnownSparkServerType} can be used interchangeably with SparkServerType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SharkServer** \ + * **SharkServer2** \ + * **SparkThriftServer** */ -export type PublicNetworkAccess = "Enabled" | "Disabled"; +export type SparkServerType = string; -/** - * Defines values for IntegrationRuntimeState. - * Possible values include: 'Initial', 'Stopped', 'Started', 'Starting', 'Stopping', - * 'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeState = - | "Initial" - | "Stopped" - | "Started" - | "Starting" - | "Stopping" - | "NeedRegistration" - | "Online" - | "Limited" - | "Offline" - | "AccessDenied"; +/** Known values of {@link SparkThriftTransportProtocol} that the service accepts. */ +export enum KnownSparkThriftTransportProtocol { + Binary = "Binary", + Sasl = "SASL", + Http = "HTTP " +} /** - * Defines values for IntegrationRuntimeAutoUpdate. - * Possible values include: 'On', 'Off' - * @readonly - * @enum {string} + * Defines values for SparkThriftTransportProtocol. \ + * {@link KnownSparkThriftTransportProtocol} can be used interchangeably with SparkThriftTransportProtocol, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Binary** \ + * **SASL** \ + * **HTTP ** */ -export type IntegrationRuntimeAutoUpdate = "On" | "Off"; +export type SparkThriftTransportProtocol = string; -/** - * Defines values for ParameterType. - * Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', 'Array', 'SecureString' - * @readonly - * @enum {string} - */ -export type ParameterType = - | "Object" - | "String" - | "Int" - | "Float" - | "Bool" - | "Array" - | "SecureString"; +/** Known values of {@link SparkAuthenticationType} that the service accepts. */ +export enum KnownSparkAuthenticationType { + Anonymous = "Anonymous", + Username = "Username", + UsernameAndPassword = "UsernameAndPassword", + WindowsAzureHDInsightService = "WindowsAzureHDInsightService" +} /** - * Defines values for DependencyCondition. - * Possible values include: 'Succeeded', 'Failed', 'Skipped', 'Completed' - * @readonly - * @enum {string} + * Defines values for SparkAuthenticationType. \ + * {@link KnownSparkAuthenticationType} can be used interchangeably with SparkAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Anonymous** \ + * **Username** \ + * **UsernameAndPassword** \ + * **WindowsAzureHDInsightService** */ -export type DependencyCondition = "Succeeded" | "Failed" | "Skipped" | "Completed"; +export type SparkAuthenticationType = string; -/** - * Defines values for VariableType. - * Possible values include: 'String', 'Bool', 'Array' - * @readonly - * @enum {string} - */ -export type VariableType = "String" | "Bool" | "Array"; +/** Known values of {@link GoogleAdWordsAuthenticationType} that the service accepts. */ +export enum KnownGoogleAdWordsAuthenticationType { + ServiceAuthentication = "ServiceAuthentication", + UserAuthentication = "UserAuthentication" +} /** - * Defines values for TriggerRuntimeState. - * Possible values include: 'Started', 'Stopped', 'Disabled' - * @readonly - * @enum {string} + * Defines values for GoogleAdWordsAuthenticationType. \ + * {@link KnownGoogleAdWordsAuthenticationType} can be used interchangeably with GoogleAdWordsAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServiceAuthentication** \ + * **UserAuthentication** */ -export type TriggerRuntimeState = "Started" | "Stopped" | "Disabled"; +export type GoogleAdWordsAuthenticationType = string; -/** - * Defines values for EventSubscriptionStatus. - * Possible values include: 'Enabled', 'Provisioning', 'Deprovisioning', 'Disabled', 'Unknown' - * @readonly - * @enum {string} - */ -export type EventSubscriptionStatus = - | "Enabled" - | "Provisioning" - | "Deprovisioning" - | "Disabled" - | "Unknown"; +/** Known values of {@link SalesforceSourceReadBehavior} that the service accepts. */ +export enum KnownSalesforceSourceReadBehavior { + Query = "Query", + QueryAll = "QueryAll" +} /** - * Defines values for RunQueryFilterOperand. - * Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd', 'ActivityName', - * 'ActivityRunStart', 'ActivityRunEnd', 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', - * 'RunGroupId', 'LatestOnly' - * @readonly - * @enum {string} + * Defines values for SalesforceSourceReadBehavior. \ + * {@link KnownSalesforceSourceReadBehavior} can be used interchangeably with SalesforceSourceReadBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Query** \ + * **QueryAll** */ -export type RunQueryFilterOperand = - | "PipelineName" - | "Status" - | "RunStart" - | "RunEnd" - | "ActivityName" - | "ActivityRunStart" - | "ActivityRunEnd" - | "ActivityType" - | "TriggerName" - | "TriggerRunTimestamp" - | "RunGroupId" - | "LatestOnly"; +export type SalesforceSourceReadBehavior = string; -/** - * Defines values for RunQueryFilterOperator. - * Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn' - * @readonly - * @enum {string} - */ -export type RunQueryFilterOperator = "Equals" | "NotEquals" | "In" | "NotIn"; +/** Known values of {@link StoredProcedureParameterType} that the service accepts. */ +export enum KnownStoredProcedureParameterType { + String = "String", + Int = "Int", + Int64 = "Int64", + Decimal = "Decimal", + Guid = "Guid", + Boolean = "Boolean", + Date = "Date" +} /** - * Defines values for RunQueryOrderByField. - * Possible values include: 'RunStart', 'RunEnd', 'PipelineName', 'Status', 'ActivityName', - * 'ActivityRunStart', 'ActivityRunEnd', 'TriggerName', 'TriggerRunTimestamp' - * @readonly - * @enum {string} + * Defines values for StoredProcedureParameterType. \ + * {@link KnownStoredProcedureParameterType} can be used interchangeably with StoredProcedureParameterType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **String** \ + * **Int** \ + * **Int64** \ + * **Decimal** \ + * **Guid** \ + * **Boolean** \ + * **Date** */ -export type RunQueryOrderByField = - | "RunStart" - | "RunEnd" - | "PipelineName" - | "Status" - | "ActivityName" - | "ActivityRunStart" - | "ActivityRunEnd" - | "TriggerName" - | "TriggerRunTimestamp"; +export type StoredProcedureParameterType = string; -/** - * Defines values for RunQueryOrder. - * Possible values include: 'ASC', 'DESC' - * @readonly - * @enum {string} - */ -export type RunQueryOrder = "ASC" | "DESC"; +/** Known values of {@link CassandraSourceReadConsistencyLevels} that the service accepts. */ +export enum KnownCassandraSourceReadConsistencyLevels { + ALL = "ALL", + EachQuorum = "EACH_QUORUM", + Quorum = "QUORUM", + LocalQuorum = "LOCAL_QUORUM", + ONE = "ONE", + TWO = "TWO", + Three = "THREE", + LocalONE = "LOCAL_ONE", + Serial = "SERIAL", + LocalSerial = "LOCAL_SERIAL" +} /** - * Defines values for TriggerRunStatus. - * Possible values include: 'Succeeded', 'Failed', 'Inprogress' - * @readonly - * @enum {string} + * Defines values for CassandraSourceReadConsistencyLevels. \ + * {@link KnownCassandraSourceReadConsistencyLevels} can be used interchangeably with CassandraSourceReadConsistencyLevels, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ALL** \ + * **EACH_QUORUM** \ + * **QUORUM** \ + * **LOCAL_QUORUM** \ + * **ONE** \ + * **TWO** \ + * **THREE** \ + * **LOCAL_ONE** \ + * **SERIAL** \ + * **LOCAL_SERIAL** */ -export type TriggerRunStatus = "Succeeded" | "Failed" | "Inprogress"; +export type CassandraSourceReadConsistencyLevels = string; + +/** Known values of {@link SapCloudForCustomerSinkWriteBehavior} that the service accepts. */ +export enum KnownSapCloudForCustomerSinkWriteBehavior { + Insert = "Insert", + Update = "Update" +} /** - * Defines values for DataFlowDebugCommandType. - * Possible values include: 'executePreviewQuery', 'executeStatisticsQuery', - * 'executeExpressionQuery' - * @readonly - * @enum {string} + * Defines values for SapCloudForCustomerSinkWriteBehavior. \ + * {@link KnownSapCloudForCustomerSinkWriteBehavior} can be used interchangeably with SapCloudForCustomerSinkWriteBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Insert** \ + * **Update** */ -export type DataFlowDebugCommandType = - | "executePreviewQuery" - | "executeStatisticsQuery" - | "executeExpressionQuery"; +export type SapCloudForCustomerSinkWriteBehavior = string; + +/** Known values of {@link PolybaseSettingsRejectType} that the service accepts. */ +export enum KnownPolybaseSettingsRejectType { + Value = "value", + Percentage = "percentage" +} /** - * Defines values for GoogleAdWordsAuthenticationType. - * Possible values include: 'ServiceAuthentication', 'UserAuthentication' - * @readonly - * @enum {string} + * Defines values for PolybaseSettingsRejectType. \ + * {@link KnownPolybaseSettingsRejectType} can be used interchangeably with PolybaseSettingsRejectType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **value** \ + * **percentage** */ -export type GoogleAdWordsAuthenticationType = "ServiceAuthentication" | "UserAuthentication"; +export type PolybaseSettingsRejectType = string; + +/** Known values of {@link AzureSearchIndexWriteBehaviorType} that the service accepts. */ +export enum KnownAzureSearchIndexWriteBehaviorType { + Merge = "Merge", + Upload = "Upload" +} /** - * Defines values for SparkServerType. - * Possible values include: 'SharkServer', 'SharkServer2', 'SparkThriftServer' - * @readonly - * @enum {string} + * Defines values for AzureSearchIndexWriteBehaviorType. \ + * {@link KnownAzureSearchIndexWriteBehaviorType} can be used interchangeably with AzureSearchIndexWriteBehaviorType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Merge** \ + * **Upload** */ -export type SparkServerType = "SharkServer" | "SharkServer2" | "SparkThriftServer"; +export type AzureSearchIndexWriteBehaviorType = string; + +/** Known values of {@link DynamicsSinkWriteBehavior} that the service accepts. */ +export enum KnownDynamicsSinkWriteBehavior { + Upsert = "Upsert" +} /** - * Defines values for SparkThriftTransportProtocol. - * Possible values include: 'Binary', 'SASL', 'HTTP ' - * @readonly - * @enum {string} + * Defines values for DynamicsSinkWriteBehavior. \ + * {@link KnownDynamicsSinkWriteBehavior} can be used interchangeably with DynamicsSinkWriteBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Upsert** */ -export type SparkThriftTransportProtocol = "Binary" | "SASL" | "HTTP "; +export type DynamicsSinkWriteBehavior = string; + +/** Known values of {@link SalesforceSinkWriteBehavior} that the service accepts. */ +export enum KnownSalesforceSinkWriteBehavior { + Insert = "Insert", + Upsert = "Upsert" +} /** - * Defines values for SparkAuthenticationType. - * Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', - * 'WindowsAzureHDInsightService' - * @readonly - * @enum {string} + * Defines values for SalesforceSinkWriteBehavior. \ + * {@link KnownSalesforceSinkWriteBehavior} can be used interchangeably with SalesforceSinkWriteBehavior, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Insert** \ + * **Upsert** */ -export type SparkAuthenticationType = - | "Anonymous" - | "Username" - | "UsernameAndPassword" - | "WindowsAzureHDInsightService"; +export type SalesforceSinkWriteBehavior = string; + +/** Known values of {@link HDInsightActivityDebugInfoOption} that the service accepts. */ +export enum KnownHDInsightActivityDebugInfoOption { + None = "None", + Always = "Always", + Failure = "Failure" +} /** - * Defines values for ServiceNowAuthenticationType. - * Possible values include: 'Basic', 'OAuth2' - * @readonly - * @enum {string} + * Defines values for HDInsightActivityDebugInfoOption. \ + * {@link KnownHDInsightActivityDebugInfoOption} can be used interchangeably with HDInsightActivityDebugInfoOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Always** \ + * **Failure** */ -export type ServiceNowAuthenticationType = "Basic" | "OAuth2"; +export type HDInsightActivityDebugInfoOption = string; + +/** Known values of {@link SsisPackageLocationType} that the service accepts. */ +export enum KnownSsisPackageLocationType { + Ssisdb = "SSISDB", + File = "File", + InlinePackage = "InlinePackage", + PackageStore = "PackageStore" +} /** - * Defines values for PrestoAuthenticationType. - * Possible values include: 'Anonymous', 'LDAP' - * @readonly - * @enum {string} + * Defines values for SsisPackageLocationType. \ + * {@link KnownSsisPackageLocationType} can be used interchangeably with SsisPackageLocationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SSISDB** \ + * **File** \ + * **InlinePackage** \ + * **PackageStore** */ -export type PrestoAuthenticationType = "Anonymous" | "LDAP"; +export type SsisPackageLocationType = string; + +/** Known values of {@link SsisLogLocationType} that the service accepts. */ +export enum KnownSsisLogLocationType { + File = "File" +} /** - * Defines values for PhoenixAuthenticationType. - * Possible values include: 'Anonymous', 'UsernameAndPassword', 'WindowsAzureHDInsightService' - * @readonly - * @enum {string} + * Defines values for SsisLogLocationType. \ + * {@link KnownSsisLogLocationType} can be used interchangeably with SsisLogLocationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **File** */ -export type PhoenixAuthenticationType = - | "Anonymous" - | "UsernameAndPassword" - | "WindowsAzureHDInsightService"; +export type SsisLogLocationType = string; + +/** Known values of {@link WebActivityMethod} that the service accepts. */ +export enum KnownWebActivityMethod { + GET = "GET", + Post = "POST", + PUT = "PUT", + Delete = "DELETE" +} /** - * Defines values for ImpalaAuthenticationType. - * Possible values include: 'Anonymous', 'SASLUsername', 'UsernameAndPassword' - * @readonly - * @enum {string} + * Defines values for WebActivityMethod. \ + * {@link KnownWebActivityMethod} can be used interchangeably with WebActivityMethod, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **GET** \ + * **POST** \ + * **PUT** \ + * **DELETE** */ -export type ImpalaAuthenticationType = "Anonymous" | "SASLUsername" | "UsernameAndPassword"; +export type WebActivityMethod = string; + +/** Known values of {@link AzureFunctionActivityMethod} that the service accepts. */ +export enum KnownAzureFunctionActivityMethod { + GET = "GET", + Post = "POST", + PUT = "PUT", + Delete = "DELETE", + Options = "OPTIONS", + Head = "HEAD", + Trace = "TRACE" +} /** - * Defines values for HiveServerType. - * Possible values include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer' - * @readonly - * @enum {string} + * Defines values for AzureFunctionActivityMethod. \ + * {@link KnownAzureFunctionActivityMethod} can be used interchangeably with AzureFunctionActivityMethod, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **GET** \ + * **POST** \ + * **PUT** \ + * **DELETE** \ + * **OPTIONS** \ + * **HEAD** \ + * **TRACE** */ -export type HiveServerType = "HiveServer1" | "HiveServer2" | "HiveThriftServer"; +export type AzureFunctionActivityMethod = string; + +/** Known values of {@link WebHookActivityMethod} that the service accepts. */ +export enum KnownWebHookActivityMethod { + Post = "POST" +} /** - * Defines values for HiveThriftTransportProtocol. - * Possible values include: 'Binary', 'SASL', 'HTTP ' - * @readonly - * @enum {string} + * Defines values for WebHookActivityMethod. \ + * {@link KnownWebHookActivityMethod} can be used interchangeably with WebHookActivityMethod, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **POST** */ -export type HiveThriftTransportProtocol = "Binary" | "SASL" | "HTTP "; +export type WebHookActivityMethod = string; + +/** Known values of {@link RecurrenceFrequency} that the service accepts. */ +export enum KnownRecurrenceFrequency { + NotSpecified = "NotSpecified", + Minute = "Minute", + Hour = "Hour", + Day = "Day", + Week = "Week", + Month = "Month", + Year = "Year" +} /** - * Defines values for HiveAuthenticationType. - * Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', - * 'WindowsAzureHDInsightService' - * @readonly - * @enum {string} + * Defines values for RecurrenceFrequency. \ + * {@link KnownRecurrenceFrequency} can be used interchangeably with RecurrenceFrequency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **NotSpecified** \ + * **Minute** \ + * **Hour** \ + * **Day** \ + * **Week** \ + * **Month** \ + * **Year** */ -export type HiveAuthenticationType = - | "Anonymous" - | "Username" - | "UsernameAndPassword" - | "WindowsAzureHDInsightService"; +export type RecurrenceFrequency = string; + +/** Known values of {@link BlobEventTypes} that the service accepts. */ +export enum KnownBlobEventTypes { + MicrosoftStorageBlobCreated = "Microsoft.Storage.BlobCreated", + MicrosoftStorageBlobDeleted = "Microsoft.Storage.BlobDeleted" +} /** - * Defines values for HBaseAuthenticationType. - * Possible values include: 'Anonymous', 'Basic' - * @readonly - * @enum {string} + * Defines values for BlobEventTypes. \ + * {@link KnownBlobEventTypes} can be used interchangeably with BlobEventTypes, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Microsoft.Storage.BlobCreated** \ + * **Microsoft.Storage.BlobDeleted** + */ +export type BlobEventTypes = string; + +/** Known values of {@link TumblingWindowFrequency} that the service accepts. */ +export enum KnownTumblingWindowFrequency { + Minute = "Minute", + Hour = "Hour", + Month = "Month" +} + +/** + * Defines values for TumblingWindowFrequency. \ + * {@link KnownTumblingWindowFrequency} can be used interchangeably with TumblingWindowFrequency, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Minute** \ + * **Hour** \ + * **Month** */ -export type HBaseAuthenticationType = "Anonymous" | "Basic"; +export type TumblingWindowFrequency = string; + +/** Known values of {@link JsonFormatFilePattern} that the service accepts. */ +export enum KnownJsonFormatFilePattern { + SetOfObjects = "setOfObjects", + ArrayOfObjects = "arrayOfObjects" +} /** - * Defines values for GoogleBigQueryAuthenticationType. - * Possible values include: 'ServiceAuthentication', 'UserAuthentication' - * @readonly - * @enum {string} + * Defines values for JsonFormatFilePattern. \ + * {@link KnownJsonFormatFilePattern} can be used interchangeably with JsonFormatFilePattern, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **setOfObjects** \ + * **arrayOfObjects** */ -export type GoogleBigQueryAuthenticationType = "ServiceAuthentication" | "UserAuthentication"; +export type JsonFormatFilePattern = string; + +/** Known values of {@link DatasetCompressionLevel} that the service accepts. */ +export enum KnownDatasetCompressionLevel { + Optimal = "Optimal", + Fastest = "Fastest" +} /** - * Defines values for SapHanaAuthenticationType. - * Possible values include: 'Basic', 'Windows' - * @readonly - * @enum {string} + * Defines values for DatasetCompressionLevel. \ + * {@link KnownDatasetCompressionLevel} can be used interchangeably with DatasetCompressionLevel, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Optimal** \ + * **Fastest** */ -export type SapHanaAuthenticationType = "Basic" | "Windows"; +export type DatasetCompressionLevel = string; + +/** Known values of {@link AvroCompressionCodec} that the service accepts. */ +export enum KnownAvroCompressionCodec { + None = "none", + Deflate = "deflate", + Snappy = "snappy", + Xz = "xz", + Bzip2 = "bzip2" +} /** - * Defines values for SftpAuthenticationType. - * Possible values include: 'Basic', 'SshPublicKey', 'MultiFactor' - * @readonly - * @enum {string} + * Defines values for AvroCompressionCodec. \ + * {@link KnownAvroCompressionCodec} can be used interchangeably with AvroCompressionCodec, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **none** \ + * **deflate** \ + * **snappy** \ + * **xz** \ + * **bzip2** */ -export type SftpAuthenticationType = "Basic" | "SshPublicKey" | "MultiFactor"; +export type AvroCompressionCodec = string; + +/** Known values of {@link CompressionCodec} that the service accepts. */ +export enum KnownCompressionCodec { + None = "none", + Lzo = "lzo", + Bzip2 = "bzip2", + Gzip = "gzip", + Deflate = "deflate", + ZipDeflate = "zipDeflate", + Snappy = "snappy", + Lz4 = "lz4", + Tar = "tar", + TarGZip = "tarGZip" +} /** - * Defines values for FtpAuthenticationType. - * Possible values include: 'Basic', 'Anonymous' - * @readonly - * @enum {string} + * Defines values for CompressionCodec. \ + * {@link KnownCompressionCodec} can be used interchangeably with CompressionCodec, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **none** \ + * **lzo** \ + * **bzip2** \ + * **gzip** \ + * **deflate** \ + * **zipDeflate** \ + * **snappy** \ + * **lz4** \ + * **tar** \ + * **tarGZip** */ -export type FtpAuthenticationType = "Basic" | "Anonymous"; +export type CompressionCodec = string; + +/** Known values of {@link OrcCompressionCodec} that the service accepts. */ +export enum KnownOrcCompressionCodec { + None = "none", + Zlib = "zlib", + Snappy = "snappy", + Lzo = "lzo" +} /** - * Defines values for HttpAuthenticationType. - * Possible values include: 'Basic', 'Anonymous', 'Digest', 'Windows', 'ClientCertificate' - * @readonly - * @enum {string} + * Defines values for OrcCompressionCodec. \ + * {@link KnownOrcCompressionCodec} can be used interchangeably with OrcCompressionCodec, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **none** \ + * **zlib** \ + * **snappy** \ + * **lzo** */ -export type HttpAuthenticationType = - | "Basic" - | "Anonymous" - | "Digest" - | "Windows" - | "ClientCertificate"; +export type OrcCompressionCodec = string; + +/** Known values of {@link DynamicsDeploymentType} that the service accepts. */ +export enum KnownDynamicsDeploymentType { + Online = "Online", + OnPremisesWithIfd = "OnPremisesWithIfd" +} /** - * Defines values for RestServiceAuthenticationType. - * Possible values include: 'Anonymous', 'Basic', 'AadServicePrincipal', 'ManagedServiceIdentity' - * @readonly - * @enum {string} + * Defines values for DynamicsDeploymentType. \ + * {@link KnownDynamicsDeploymentType} can be used interchangeably with DynamicsDeploymentType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Online** \ + * **OnPremisesWithIfd** */ -export type RestServiceAuthenticationType = - | "Anonymous" - | "Basic" - | "AadServicePrincipal" - | "ManagedServiceIdentity"; +export type DynamicsDeploymentType = string; + +/** Known values of {@link DynamicsAuthenticationType} that the service accepts. */ +export enum KnownDynamicsAuthenticationType { + Office365 = "Office365", + Ifd = "Ifd", + AADServicePrincipal = "AADServicePrincipal" +} /** - * Defines values for MongoDbAuthenticationType. - * Possible values include: 'Basic', 'Anonymous' - * @readonly - * @enum {string} + * Defines values for DynamicsAuthenticationType. \ + * {@link KnownDynamicsAuthenticationType} can be used interchangeably with DynamicsAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Office365** \ + * **Ifd** \ + * **AADServicePrincipal** */ -export type MongoDbAuthenticationType = "Basic" | "Anonymous"; +export type DynamicsAuthenticationType = string; + +/** Known values of {@link ServicePrincipalCredentialType} that the service accepts. */ +export enum KnownServicePrincipalCredentialType { + ServicePrincipalKey = "ServicePrincipalKey", + ServicePrincipalCert = "ServicePrincipalCert" +} /** - * Defines values for ODataAuthenticationType. - * Possible values include: 'Basic', 'Anonymous', 'Windows', 'AadServicePrincipal', - * 'ManagedServiceIdentity' - * @readonly - * @enum {string} + * Defines values for ServicePrincipalCredentialType. \ + * {@link KnownServicePrincipalCredentialType} can be used interchangeably with ServicePrincipalCredentialType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServicePrincipalKey** \ + * **ServicePrincipalCert** */ -export type ODataAuthenticationType = - | "Basic" - | "Anonymous" - | "Windows" - | "AadServicePrincipal" - | "ManagedServiceIdentity"; +export type ServicePrincipalCredentialType = string; + +/** Known values of {@link HdiNodeTypes} that the service accepts. */ +export enum KnownHdiNodeTypes { + Headnode = "Headnode", + Workernode = "Workernode", + Zookeeper = "Zookeeper" +} /** - * Defines values for ODataAadServicePrincipalCredentialType. - * Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert' - * @readonly - * @enum {string} + * Defines values for HdiNodeTypes. \ + * {@link KnownHdiNodeTypes} can be used interchangeably with HdiNodeTypes, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Headnode** \ + * **Workernode** \ + * **Zookeeper** */ -export type ODataAadServicePrincipalCredentialType = "ServicePrincipalKey" | "ServicePrincipalCert"; +export type HdiNodeTypes = string; + +/** Known values of {@link JsonWriteFilePattern} that the service accepts. */ +export enum KnownJsonWriteFilePattern { + SetOfObjects = "setOfObjects", + ArrayOfObjects = "arrayOfObjects" +} /** - * Defines values for TeradataAuthenticationType. - * Possible values include: 'Basic', 'Windows' - * @readonly - * @enum {string} + * Defines values for JsonWriteFilePattern. \ + * {@link KnownJsonWriteFilePattern} can be used interchangeably with JsonWriteFilePattern, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **setOfObjects** \ + * **arrayOfObjects** */ -export type TeradataAuthenticationType = "Basic" | "Windows"; +export type JsonWriteFilePattern = string; + +/** Known values of {@link AmazonRdsForOraclePartitionOption} that the service accepts. */ +export enum KnownAmazonRdsForOraclePartitionOption { + None = "None", + PhysicalPartitionsOfTable = "PhysicalPartitionsOfTable", + DynamicRange = "DynamicRange" +} /** - * Defines values for Db2AuthenticationType. - * Possible values include: 'Basic' - * @readonly - * @enum {string} + * Defines values for AmazonRdsForOraclePartitionOption. \ + * {@link KnownAmazonRdsForOraclePartitionOption} can be used interchangeably with AmazonRdsForOraclePartitionOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **PhysicalPartitionsOfTable** \ + * **DynamicRange** */ -export type Db2AuthenticationType = "Basic"; +export type AmazonRdsForOraclePartitionOption = string; + +/** Known values of {@link CopyBehaviorType} that the service accepts. */ +export enum KnownCopyBehaviorType { + PreserveHierarchy = "PreserveHierarchy", + FlattenHierarchy = "FlattenHierarchy", + MergeFiles = "MergeFiles" +} /** - * Defines values for SybaseAuthenticationType. - * Possible values include: 'Basic', 'Windows' - * @readonly - * @enum {string} + * Defines values for CopyBehaviorType. \ + * {@link KnownCopyBehaviorType} can be used interchangeably with CopyBehaviorType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **PreserveHierarchy** \ + * **FlattenHierarchy** \ + * **MergeFiles** */ -export type SybaseAuthenticationType = "Basic" | "Windows"; +export type CopyBehaviorType = string; + +/** Known values of {@link SqlWriteBehaviorEnum} that the service accepts. */ +export enum KnownSqlWriteBehaviorEnum { + Insert = "Insert", + Upsert = "Upsert", + StoredProcedure = "StoredProcedure" +} /** - * Defines values for CosmosDbServicePrincipalCredentialType. - * Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert' - * @readonly - * @enum {string} + * Defines values for SqlWriteBehaviorEnum. \ + * {@link KnownSqlWriteBehaviorEnum} can be used interchangeably with SqlWriteBehaviorEnum, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Insert** \ + * **Upsert** \ + * **StoredProcedure** */ -export type CosmosDbServicePrincipalCredentialType = "ServicePrincipalKey" | "ServicePrincipalCert"; +export type SqlWriteBehaviorEnum = string; + +/** Known values of {@link SqlDWWriteBehaviorEnum} that the service accepts. */ +export enum KnownSqlDWWriteBehaviorEnum { + Insert = "Insert", + Upsert = "Upsert" +} /** - * Defines values for CosmosDbConnectionMode. - * Possible values include: 'Gateway', 'Direct' - * @readonly - * @enum {string} + * Defines values for SqlDWWriteBehaviorEnum. \ + * {@link KnownSqlDWWriteBehaviorEnum} can be used interchangeably with SqlDWWriteBehaviorEnum, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Insert** \ + * **Upsert** */ -export type CosmosDbConnectionMode = "Gateway" | "Direct"; +export type SqlDWWriteBehaviorEnum = string; + +/** Known values of {@link SqlPartitionOption} that the service accepts. */ +export enum KnownSqlPartitionOption { + None = "None", + PhysicalPartitionsOfTable = "PhysicalPartitionsOfTable", + DynamicRange = "DynamicRange" +} /** - * Defines values for SqlAlwaysEncryptedAkvAuthType. - * Possible values include: 'ServicePrincipal', 'ManagedIdentity' - * @readonly - * @enum {string} + * Defines values for SqlPartitionOption. \ + * {@link KnownSqlPartitionOption} can be used interchangeably with SqlPartitionOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **PhysicalPartitionsOfTable** \ + * **DynamicRange** */ -export type SqlAlwaysEncryptedAkvAuthType = "ServicePrincipal" | "ManagedIdentity"; +export type SqlPartitionOption = string; + +/** Known values of {@link SapHanaPartitionOption} that the service accepts. */ +export enum KnownSapHanaPartitionOption { + None = "None", + PhysicalPartitionsOfTable = "PhysicalPartitionsOfTable", + SapHanaDynamicRange = "SapHanaDynamicRange" +} /** - * Defines values for OrcCompressionCodec. - * Possible values include: 'none', 'zlib', 'snappy', 'lzo' - * @readonly - * @enum {string} + * Defines values for SapHanaPartitionOption. \ + * {@link KnownSapHanaPartitionOption} can be used interchangeably with SapHanaPartitionOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **PhysicalPartitionsOfTable** \ + * **SapHanaDynamicRange** */ -export type OrcCompressionCodec = "none" | "zlib" | "snappy" | "lzo"; +export type SapHanaPartitionOption = string; + +/** Known values of {@link SapTablePartitionOption} that the service accepts. */ +export enum KnownSapTablePartitionOption { + None = "None", + PartitionOnInt = "PartitionOnInt", + PartitionOnCalendarYear = "PartitionOnCalendarYear", + PartitionOnCalendarMonth = "PartitionOnCalendarMonth", + PartitionOnCalendarDate = "PartitionOnCalendarDate", + PartitionOnTime = "PartitionOnTime" +} /** - * Defines values for AvroCompressionCodec. - * Possible values include: 'none', 'deflate', 'snappy', 'xz', 'bzip2' - * @readonly - * @enum {string} + * Defines values for SapTablePartitionOption. \ + * {@link KnownSapTablePartitionOption} can be used interchangeably with SapTablePartitionOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **PartitionOnInt** \ + * **PartitionOnCalendarYear** \ + * **PartitionOnCalendarMonth** \ + * **PartitionOnCalendarDate** \ + * **PartitionOnTime** */ -export type AvroCompressionCodec = "none" | "deflate" | "snappy" | "xz" | "bzip2"; +export type SapTablePartitionOption = string; + +/** Known values of {@link OraclePartitionOption} that the service accepts. */ +export enum KnownOraclePartitionOption { + None = "None", + PhysicalPartitionsOfTable = "PhysicalPartitionsOfTable", + DynamicRange = "DynamicRange" +} /** - * Defines values for TumblingWindowFrequency. - * Possible values include: 'Minute', 'Hour', 'Month' - * @readonly - * @enum {string} + * Defines values for OraclePartitionOption. \ + * {@link KnownOraclePartitionOption} can be used interchangeably with OraclePartitionOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **PhysicalPartitionsOfTable** \ + * **DynamicRange** */ -export type TumblingWindowFrequency = "Minute" | "Hour" | "Month"; +export type OraclePartitionOption = string; + +/** Known values of {@link TeradataPartitionOption} that the service accepts. */ +export enum KnownTeradataPartitionOption { + None = "None", + Hash = "Hash", + DynamicRange = "DynamicRange" +} /** - * Defines values for BlobEventTypes. - * Possible values include: 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobDeleted' - * @readonly - * @enum {string} + * Defines values for TeradataPartitionOption. \ + * {@link KnownTeradataPartitionOption} can be used interchangeably with TeradataPartitionOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **Hash** \ + * **DynamicRange** */ -export type BlobEventTypes = "Microsoft.Storage.BlobCreated" | "Microsoft.Storage.BlobDeleted"; +export type TeradataPartitionOption = string; + +/** Known values of {@link NetezzaPartitionOption} that the service accepts. */ +export enum KnownNetezzaPartitionOption { + None = "None", + DataSlice = "DataSlice", + DynamicRange = "DynamicRange" +} /** - * Defines values for DayOfWeek. - * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', - * 'Saturday' - * @readonly - * @enum {string} + * Defines values for NetezzaPartitionOption. \ + * {@link KnownNetezzaPartitionOption} can be used interchangeably with NetezzaPartitionOption, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **None** \ + * **DataSlice** \ + * **DynamicRange** */ -export type DayOfWeek = +export type NetezzaPartitionOption = string; +/** Defines values for DaysOfWeek. */ +export type DaysOfWeek = | "Sunday" | "Monday" | "Tuesday" @@ -27332,15 +12031,8 @@ export type DayOfWeek = | "Thursday" | "Friday" | "Saturday"; - -/** - * Defines values for DaysOfWeek. - * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', - * 'Saturday' - * @readonly - * @enum {string} - */ -export type DaysOfWeek = +/** Defines values for DayOfWeek. */ +export type DayOfWeek = | "Sunday" | "Monday" | "Tuesday" @@ -27349,2075 +12041,773 @@ export type DaysOfWeek = | "Friday" | "Saturday"; -/** - * Defines values for RecurrenceFrequency. - * Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' - * @readonly - * @enum {string} - */ -export type RecurrenceFrequency = - | "NotSpecified" - | "Minute" - | "Hour" - | "Day" - | "Week" - | "Month" - | "Year"; +/** Optional parameters. */ +export interface OperationsListOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for AzureFunctionActivityMethod. - * Possible values include: 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'HEAD', 'TRACE' - * @readonly - * @enum {string} - */ -export type AzureFunctionActivityMethod = - | "GET" - | "POST" - | "PUT" - | "DELETE" - | "OPTIONS" - | "HEAD" - | "TRACE"; +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResponse; -/** - * Defines values for WebActivityMethod. - * Possible values include: 'GET', 'POST', 'PUT', 'DELETE' - * @readonly - * @enum {string} - */ -export type WebActivityMethod = "GET" | "POST" | "PUT" | "DELETE"; +/** Optional parameters. */ +export interface OperationsListNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for SalesforceSourceReadBehavior. - * Possible values include: 'Query', 'QueryAll' - * @readonly - * @enum {string} - */ -export type SalesforceSourceReadBehavior = "Query" | "QueryAll"; +/** Contains response data for the listNext operation. */ +export type OperationsListNextResponse = OperationListResponse; -/** - * Defines values for CassandraSourceReadConsistencyLevels. - * Possible values include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', - * 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL' - * @readonly - * @enum {string} - */ -export type CassandraSourceReadConsistencyLevels = - | "ALL" - | "EACH_QUORUM" - | "QUORUM" - | "LOCAL_QUORUM" - | "ONE" - | "TWO" - | "THREE" - | "LOCAL_ONE" - | "SERIAL" - | "LOCAL_SERIAL"; +/** Optional parameters. */ +export interface FactoriesListOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for StoredProcedureParameterType. - * Possible values include: 'String', 'Int', 'Int64', 'Decimal', 'Guid', 'Boolean', 'Date' - * @readonly - * @enum {string} - */ -export type StoredProcedureParameterType = - | "String" - | "Int" - | "Int64" - | "Decimal" - | "Guid" - | "Boolean" - | "Date"; +/** Contains response data for the list operation. */ +export type FactoriesListResponse = FactoryListResponse; -/** - * Defines values for SsisPackageLocationType. - * Possible values include: 'SSISDB', 'File', 'InlinePackage', 'PackageStore' - * @readonly - * @enum {string} - */ -export type SsisPackageLocationType = "SSISDB" | "File" | "InlinePackage" | "PackageStore"; +/** Optional parameters. */ +export interface FactoriesConfigureFactoryRepoOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for HDInsightActivityDebugInfoOption. - * Possible values include: 'None', 'Always', 'Failure' - * @readonly - * @enum {string} - */ -export type HDInsightActivityDebugInfoOption = "None" | "Always" | "Failure"; +/** Contains response data for the configureFactoryRepo operation. */ +export type FactoriesConfigureFactoryRepoResponse = Factory; -/** - * Defines values for SalesforceSinkWriteBehavior. - * Possible values include: 'Insert', 'Upsert' - * @readonly - * @enum {string} - */ -export type SalesforceSinkWriteBehavior = "Insert" | "Upsert"; +/** Optional parameters. */ +export interface FactoriesListByResourceGroupOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for DynamicsSinkWriteBehavior. - * Possible values include: 'Upsert' - * @readonly - * @enum {string} - */ -export type DynamicsSinkWriteBehavior = "Upsert"; +/** Contains response data for the listByResourceGroup operation. */ +export type FactoriesListByResourceGroupResponse = FactoryListResponse; -/** - * Defines values for AzureSearchIndexWriteBehaviorType. - * Possible values include: 'Merge', 'Upload' - * @readonly - * @enum {string} - */ -export type AzureSearchIndexWriteBehaviorType = "Merge" | "Upload"; +/** Optional parameters. */ +export interface FactoriesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the factory entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} -/** - * Defines values for PolybaseSettingsRejectType. - * Possible values include: 'value', 'percentage' - * @readonly - * @enum {string} - */ -export type PolybaseSettingsRejectType = "value" | "percentage"; +/** Contains response data for the createOrUpdate operation. */ +export type FactoriesCreateOrUpdateResponse = Factory; -/** - * Defines values for SapCloudForCustomerSinkWriteBehavior. - * Possible values include: 'Insert', 'Update' - * @readonly - * @enum {string} - */ -export type SapCloudForCustomerSinkWriteBehavior = "Insert" | "Update"; +/** Optional parameters. */ +export interface FactoriesUpdateOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for WebHookActivityMethod. - * Possible values include: 'POST' - * @readonly - * @enum {string} - */ -export type WebHookActivityMethod = "POST"; +/** Contains response data for the update operation. */ +export type FactoriesUpdateResponse = Factory; -/** - * Defines values for IntegrationRuntimeType. - * Possible values include: 'Managed', 'SelfHosted' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeType = "Managed" | "SelfHosted"; +/** Optional parameters. */ +export interface FactoriesGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the factory entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} -/** - * Defines values for SelfHostedIntegrationRuntimeNodeStatus. - * Possible values include: 'NeedRegistration', 'Online', 'Limited', 'Offline', 'Upgrading', - * 'Initializing', 'InitializeFailed' - * @readonly - * @enum {string} - */ -export type SelfHostedIntegrationRuntimeNodeStatus = - | "NeedRegistration" - | "Online" - | "Limited" - | "Offline" - | "Upgrading" - | "Initializing" - | "InitializeFailed"; +/** Contains response data for the get operation. */ +export type FactoriesGetResponse = Factory; -/** - * Defines values for IntegrationRuntimeUpdateResult. - * Possible values include: 'None', 'Succeed', 'Fail' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeUpdateResult = "None" | "Succeed" | "Fail"; +/** Optional parameters. */ +export interface FactoriesDeleteOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for IntegrationRuntimeInternalChannelEncryptionMode. - * Possible values include: 'NotSet', 'SslEncrypted', 'NotEncrypted' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeInternalChannelEncryptionMode = - | "NotSet" - | "SslEncrypted" - | "NotEncrypted"; +/** Optional parameters. */ +export interface FactoriesGetGitHubAccessTokenOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for ManagedIntegrationRuntimeNodeStatus. - * Possible values include: 'Starting', 'Available', 'Recycling', 'Unavailable' - * @readonly - * @enum {string} - */ -export type ManagedIntegrationRuntimeNodeStatus = - | "Starting" - | "Available" - | "Recycling" - | "Unavailable"; +/** Contains response data for the getGitHubAccessToken operation. */ +export type FactoriesGetGitHubAccessTokenResponse = GitHubAccessTokenResponse; -/** - * Defines values for IntegrationRuntimeEntityReferenceType. - * Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference', - * 'CredentialReference' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeEntityReferenceType = - | "IntegrationRuntimeReference" - | "LinkedServiceReference" - | "CredentialReference"; +/** Optional parameters. */ +export interface FactoriesGetDataPlaneAccessOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for IntegrationRuntimeSsisCatalogPricingTier. - * Possible values include: 'Basic', 'Standard', 'Premium', 'PremiumRS' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeSsisCatalogPricingTier = - | "Basic" - | "Standard" - | "Premium" - | "PremiumRS"; +/** Contains response data for the getDataPlaneAccess operation. */ +export type FactoriesGetDataPlaneAccessResponse = AccessPolicyResponse; -/** - * Defines values for IntegrationRuntimeLicenseType. - * Possible values include: 'BasePrice', 'LicenseIncluded' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeLicenseType = "BasePrice" | "LicenseIncluded"; +/** Optional parameters. */ +export interface FactoriesListNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for IntegrationRuntimeEdition. - * Possible values include: 'Standard', 'Enterprise' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeEdition = "Standard" | "Enterprise"; +/** Contains response data for the listNext operation. */ +export type FactoriesListNextResponse = FactoryListResponse; -/** - * Defines values for DataFlowComputeType. - * Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized' - * @readonly - * @enum {string} - */ -export type DataFlowComputeType = "General" | "MemoryOptimized" | "ComputeOptimized"; +/** Optional parameters. */ +export interface FactoriesListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for SsisObjectMetadataType. - * Possible values include: 'Folder', 'Project', 'Package', 'Environment' - * @readonly - * @enum {string} - */ -export type SsisObjectMetadataType = "Folder" | "Project" | "Package" | "Environment"; +/** Contains response data for the listByResourceGroupNext operation. */ +export type FactoriesListByResourceGroupNextResponse = FactoryListResponse; -/** - * Defines values for IntegrationRuntimeAuthKeyName. - * Possible values include: 'authKey1', 'authKey2' - * @readonly - * @enum {string} - */ -export type IntegrationRuntimeAuthKeyName = "authKey1" | "authKey2"; +/** Optional parameters. */ +export interface ExposureControlGetFeatureValueOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for JsonFormatFilePattern. - * Possible values include: 'setOfObjects', 'arrayOfObjects' - * @readonly - * @enum {string} - */ -export type JsonFormatFilePattern = "setOfObjects" | "arrayOfObjects"; +/** Contains response data for the getFeatureValue operation. */ +export type ExposureControlGetFeatureValueResponse = ExposureControlResponse; -/** - * Defines values for DatasetCompressionLevel. - * Possible values include: 'Optimal', 'Fastest' - * @readonly - * @enum {string} - */ -export type DatasetCompressionLevel = "Optimal" | "Fastest"; +/** Optional parameters. */ +export interface ExposureControlGetFeatureValueByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for CompressionCodec. - * Possible values include: 'none', 'lzo', 'bzip2', 'gzip', 'deflate', 'zipDeflate', 'snappy', - * 'lz4', 'tar', 'tarGZip' - * @readonly - * @enum {string} - */ -export type CompressionCodec = - | "none" - | "lzo" - | "bzip2" - | "gzip" - | "deflate" - | "zipDeflate" - | "snappy" - | "lz4" - | "tar" - | "tarGZip"; +/** Contains response data for the getFeatureValueByFactory operation. */ +export type ExposureControlGetFeatureValueByFactoryResponse = ExposureControlResponse; -/** - * Defines values for DynamicsDeploymentType. - * Possible values include: 'Online', 'OnPremisesWithIfd' - * @readonly - * @enum {string} - */ -export type DynamicsDeploymentType = "Online" | "OnPremisesWithIfd"; +/** Optional parameters. */ +export interface ExposureControlQueryFeatureValuesByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for DynamicsAuthenticationType. - * Possible values include: 'Office365', 'Ifd', 'AADServicePrincipal' - * @readonly - * @enum {string} - */ -export type DynamicsAuthenticationType = "Office365" | "Ifd" | "AADServicePrincipal"; +/** Contains response data for the queryFeatureValuesByFactory operation. */ +export type ExposureControlQueryFeatureValuesByFactoryResponse = ExposureControlBatchResponse; -/** - * Defines values for ServicePrincipalCredentialType. - * Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert' - * @readonly - * @enum {string} - */ -export type ServicePrincipalCredentialType = "ServicePrincipalKey" | "ServicePrincipalCert"; +/** Optional parameters. */ +export interface IntegrationRuntimesListByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for HdiNodeTypes. - * Possible values include: 'Headnode', 'Workernode', 'Zookeeper' - * @readonly - * @enum {string} - */ -export type HdiNodeTypes = "Headnode" | "Workernode" | "Zookeeper"; +/** Contains response data for the listByFactory operation. */ +export type IntegrationRuntimesListByFactoryResponse = IntegrationRuntimeListResponse; -/** - * Defines values for JsonWriteFilePattern. - * Possible values include: 'setOfObjects', 'arrayOfObjects' - * @readonly - * @enum {string} - */ -export type JsonWriteFilePattern = "setOfObjects" | "arrayOfObjects"; +/** Optional parameters. */ +export interface IntegrationRuntimesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the integration runtime entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} -/** - * Defines values for CopyBehaviorType. - * Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles' - * @readonly - * @enum {string} - */ -export type CopyBehaviorType = "PreserveHierarchy" | "FlattenHierarchy" | "MergeFiles"; +/** Contains response data for the createOrUpdate operation. */ +export type IntegrationRuntimesCreateOrUpdateResponse = IntegrationRuntimeResource; -/** - * Defines values for SqlPartitionOption. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' - * @readonly - * @enum {string} - */ -export type SqlPartitionOption = "None" | "PhysicalPartitionsOfTable" | "DynamicRange"; +/** Optional parameters. */ +export interface IntegrationRuntimesGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the integration runtime entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} -/** - * Defines values for SapHanaPartitionOption. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', 'SapHanaDynamicRange' - * @readonly - * @enum {string} - */ -export type SapHanaPartitionOption = "None" | "PhysicalPartitionsOfTable" | "SapHanaDynamicRange"; +/** Contains response data for the get operation. */ +export type IntegrationRuntimesGetResponse = IntegrationRuntimeResource; -/** - * Defines values for SapTablePartitionOption. - * Possible values include: 'None', 'PartitionOnInt', 'PartitionOnCalendarYear', - * 'PartitionOnCalendarMonth', 'PartitionOnCalendarDate', 'PartitionOnTime' - * @readonly - * @enum {string} - */ -export type SapTablePartitionOption = - | "None" - | "PartitionOnInt" - | "PartitionOnCalendarYear" - | "PartitionOnCalendarMonth" - | "PartitionOnCalendarDate" - | "PartitionOnTime"; +/** Optional parameters. */ +export interface IntegrationRuntimesUpdateOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for OraclePartitionOption. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' - * @readonly - * @enum {string} - */ -export type OraclePartitionOption = "None" | "PhysicalPartitionsOfTable" | "DynamicRange"; +/** Contains response data for the update operation. */ +export type IntegrationRuntimesUpdateResponse = IntegrationRuntimeResource; -/** - * Defines values for TeradataPartitionOption. - * Possible values include: 'None', 'Hash', 'DynamicRange' - * @readonly - * @enum {string} - */ -export type TeradataPartitionOption = "None" | "Hash" | "DynamicRange"; +/** Optional parameters. */ +export interface IntegrationRuntimesDeleteOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for NetezzaPartitionOption. - * Possible values include: 'None', 'DataSlice', 'DynamicRange' - * @readonly - * @enum {string} - */ -export type NetezzaPartitionOption = "None" | "DataSlice" | "DynamicRange"; +/** Optional parameters. */ +export interface IntegrationRuntimesGetStatusOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the list operation. - */ -export type OperationsListResponse = OperationListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationListResponse; - }; -}; +/** Contains response data for the getStatus operation. */ +export type IntegrationRuntimesGetStatusResponse = IntegrationRuntimeStatusResponse; -/** - * Contains response data for the listNext operation. - */ -export type OperationsListNextResponse = OperationListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: OperationListResponse; - }; -}; +/** Optional parameters. */ +export interface IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the list operation. - */ -export type FactoriesListResponse = FactoryListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: FactoryListResponse; - }; -}; +/** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ +export type IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse = IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse; -/** - * Contains response data for the configureFactoryRepo operation. - */ -export type FactoriesConfigureFactoryRepoResponse = Factory & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: Factory; - }; -}; +/** Optional parameters. */ +export interface IntegrationRuntimesGetConnectionInfoOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getConnectionInfo operation. */ +export type IntegrationRuntimesGetConnectionInfoResponse = IntegrationRuntimeConnectionInfo; + +/** Optional parameters. */ +export interface IntegrationRuntimesRegenerateAuthKeyOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the regenerateAuthKey operation. */ +export type IntegrationRuntimesRegenerateAuthKeyResponse = IntegrationRuntimeAuthKeys; + +/** Optional parameters. */ +export interface IntegrationRuntimesListAuthKeysOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listAuthKeys operation. */ +export type IntegrationRuntimesListAuthKeysResponse = IntegrationRuntimeAuthKeys; + +/** Optional parameters. */ +export interface IntegrationRuntimesStartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the start operation. */ +export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse; + +/** Optional parameters. */ +export interface IntegrationRuntimesStopOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface IntegrationRuntimesSyncCredentialsOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface IntegrationRuntimesGetMonitoringDataOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getMonitoringData operation. */ +export type IntegrationRuntimesGetMonitoringDataResponse = IntegrationRuntimeMonitoringData; + +/** Optional parameters. */ +export interface IntegrationRuntimesUpgradeOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface IntegrationRuntimesRemoveLinksOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createLinkedIntegrationRuntime operation. */ +export type IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse = IntegrationRuntimeStatusResponse; + +/** Optional parameters. */ +export interface IntegrationRuntimesListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByFactoryNext operation. */ +export type IntegrationRuntimesListByFactoryNextResponse = IntegrationRuntimeListResponse; + +/** Optional parameters. */ +export interface IntegrationRuntimeObjectMetadataRefreshOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the refresh operation. */ +export type IntegrationRuntimeObjectMetadataRefreshResponse = SsisObjectMetadataStatusResponse; + +/** Optional parameters. */ +export interface IntegrationRuntimeObjectMetadataGetOptionalParams + extends coreClient.OperationOptions { + /** The parameters for getting a SSIS object metadata. */ + getMetadataRequest?: GetSsisObjectMetadataRequest; +} + +/** Contains response data for the get operation. */ +export type IntegrationRuntimeObjectMetadataGetResponse = SsisObjectMetadataListResponse; + +/** Optional parameters. */ +export interface IntegrationRuntimeNodesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type IntegrationRuntimeNodesGetResponse = SelfHostedIntegrationRuntimeNode; + +/** Optional parameters. */ +export interface IntegrationRuntimeNodesDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface IntegrationRuntimeNodesUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type IntegrationRuntimeNodesUpdateResponse = SelfHostedIntegrationRuntimeNode; + +/** Optional parameters. */ +export interface IntegrationRuntimeNodesGetIpAddressOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getIpAddress operation. */ +export type IntegrationRuntimeNodesGetIpAddressResponse = IntegrationRuntimeNodeIpAddress; + +/** Optional parameters. */ +export interface LinkedServicesListByFactoryOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByFactory operation. */ +export type LinkedServicesListByFactoryResponse = LinkedServiceListResponse; + +/** Optional parameters. */ +export interface LinkedServicesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type LinkedServicesCreateOrUpdateResponse = LinkedServiceResource; + +/** Optional parameters. */ +export interface LinkedServicesGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the linked service entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} + +/** Contains response data for the get operation. */ +export type LinkedServicesGetResponse = LinkedServiceResource; + +/** Optional parameters. */ +export interface LinkedServicesDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface LinkedServicesListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByFactoryNext operation. */ +export type LinkedServicesListByFactoryNextResponse = LinkedServiceListResponse; + +/** Optional parameters. */ +export interface DatasetsListByFactoryOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByFactory operation. */ +export type DatasetsListByFactoryResponse = DatasetListResponse; + +/** Optional parameters. */ +export interface DatasetsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the dataset entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type DatasetsCreateOrUpdateResponse = DatasetResource; + +/** Optional parameters. */ +export interface DatasetsGetOptionalParams extends coreClient.OperationOptions { + /** ETag of the dataset entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} + +/** Contains response data for the get operation. */ +export type DatasetsGetResponse = DatasetResource; + +/** Optional parameters. */ +export interface DatasetsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface DatasetsListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByFactoryNext operation. */ +export type DatasetsListByFactoryNextResponse = DatasetListResponse; + +/** Optional parameters. */ +export interface PipelinesListByFactoryOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByFactory operation. */ +export type PipelinesListByFactoryResponse = PipelineListResponse; + +/** Optional parameters. */ +export interface PipelinesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type PipelinesCreateOrUpdateResponse = PipelineResource; + +/** Optional parameters. */ +export interface PipelinesGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the pipeline entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} -/** - * Contains response data for the listByResourceGroup operation. - */ -export type FactoriesListByResourceGroupResponse = FactoryListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: FactoryListResponse; - }; -}; +/** Contains response data for the get operation. */ +export type PipelinesGetResponse = PipelineResource; -/** - * Contains response data for the createOrUpdate operation. - */ -export type FactoriesCreateOrUpdateResponse = Factory & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: Factory; - }; -}; +/** Optional parameters. */ +export interface PipelinesDeleteOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the update operation. - */ -export type FactoriesUpdateResponse = Factory & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: Factory; - }; -}; +/** Optional parameters. */ +export interface PipelinesCreateRunOptionalParams + extends coreClient.OperationOptions { + /** Parameters of the pipeline run. These parameters will be used only if the runId is not specified. */ + parameters?: { [propertyName: string]: Record }; + /** The pipeline run identifier. If run ID is specified the parameters of the specified run will be used to create a new run. */ + referencePipelineRunId?: string; + /** Recovery mode flag. If recovery mode is set to true, the specified referenced pipeline run and the new run will be grouped under the same groupId. */ + isRecovery?: boolean; + /** In recovery mode, the rerun will start from this activity. If not specified, all activities will run. */ + startActivityName?: string; + /** In recovery mode, if set to true, the rerun will start from failed activities. The property will be used only if startActivityName is not specified. */ + startFromFailure?: boolean; +} -/** - * Contains response data for the get operation. - */ -export type FactoriesGetResponse = Factory & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: Factory; - }; -}; +/** Contains response data for the createRun operation. */ +export type PipelinesCreateRunResponse = CreateRunResponse; -/** - * Contains response data for the getGitHubAccessToken operation. - */ -export type FactoriesGetGitHubAccessTokenResponse = GitHubAccessTokenResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: GitHubAccessTokenResponse; - }; -}; +/** Optional parameters. */ +export interface PipelinesListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the getDataPlaneAccess operation. - */ -export type FactoriesGetDataPlaneAccessResponse = AccessPolicyResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: AccessPolicyResponse; - }; -}; +/** Contains response data for the listByFactoryNext operation. */ +export type PipelinesListByFactoryNextResponse = PipelineListResponse; -/** - * Contains response data for the listNext operation. - */ -export type FactoriesListNextResponse = FactoryListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: FactoryListResponse; - }; -}; +/** Optional parameters. */ +export interface PipelineRunsQueryByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByResourceGroupNext operation. - */ -export type FactoriesListByResourceGroupNextResponse = FactoryListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: FactoryListResponse; - }; -}; +/** Contains response data for the queryByFactory operation. */ +export type PipelineRunsQueryByFactoryResponse = PipelineRunsQueryResponse; -/** - * Contains response data for the getFeatureValue operation. - */ -export type ExposureControlGetFeatureValueResponse = ExposureControlResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExposureControlResponse; - }; -}; +/** Optional parameters. */ +export interface PipelineRunsGetOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the getFeatureValueByFactory operation. - */ -export type ExposureControlGetFeatureValueByFactoryResponse = ExposureControlResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExposureControlResponse; - }; -}; +/** Contains response data for the get operation. */ +export type PipelineRunsGetResponse = PipelineRun; -/** - * Contains response data for the queryFeatureValuesByFactory operation. - */ -export type ExposureControlQueryFeatureValuesByFactoryResponse = ExposureControlBatchResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ExposureControlBatchResponse; - }; -}; +/** Optional parameters. */ +export interface PipelineRunsCancelOptionalParams + extends coreClient.OperationOptions { + /** If true, cancel all the Child pipelines that are triggered by the current pipeline. */ + isRecursive?: boolean; +} -/** - * Contains response data for the listByFactory operation. - */ -export type IntegrationRuntimesListByFactoryResponse = IntegrationRuntimeListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeListResponse; - }; -}; +/** Optional parameters. */ +export interface ActivityRunsQueryByPipelineRunOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the createOrUpdate operation. - */ -export type IntegrationRuntimesCreateOrUpdateResponse = IntegrationRuntimeResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeResource; - }; -}; +/** Contains response data for the queryByPipelineRun operation. */ +export type ActivityRunsQueryByPipelineRunResponse = ActivityRunsQueryResponse; -/** - * Contains response data for the get operation. - */ -export type IntegrationRuntimesGetResponse = IntegrationRuntimeResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeResource; - }; -}; +/** Optional parameters. */ +export interface TriggersListByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the update operation. - */ -export type IntegrationRuntimesUpdateResponse = IntegrationRuntimeResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeResource; - }; -}; +/** Contains response data for the listByFactory operation. */ +export type TriggersListByFactoryResponse = TriggerListResponse; -/** - * Contains response data for the getStatus operation. - */ -export type IntegrationRuntimesGetStatusResponse = IntegrationRuntimeStatusResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeStatusResponse; - }; -}; +/** Optional parameters. */ +export interface TriggersQueryByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the getConnectionInfo operation. - */ -export type IntegrationRuntimesGetConnectionInfoResponse = IntegrationRuntimeConnectionInfo & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeConnectionInfo; - }; -}; +/** Contains response data for the queryByFactory operation. */ +export type TriggersQueryByFactoryResponse = TriggerQueryResponse; -/** - * Contains response data for the regenerateAuthKey operation. - */ -export type IntegrationRuntimesRegenerateAuthKeyResponse = IntegrationRuntimeAuthKeys & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeAuthKeys; - }; -}; +/** Optional parameters. */ +export interface TriggersCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the trigger entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} -/** - * Contains response data for the listAuthKeys operation. - */ -export type IntegrationRuntimesListAuthKeysResponse = IntegrationRuntimeAuthKeys & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeAuthKeys; - }; -}; +/** Contains response data for the createOrUpdate operation. */ +export type TriggersCreateOrUpdateResponse = TriggerResource; -/** - * Contains response data for the start operation. - */ -export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeStatusResponse; - }; -}; +/** Optional parameters. */ +export interface TriggersGetOptionalParams extends coreClient.OperationOptions { + /** ETag of the trigger entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} -/** - * Contains response data for the getMonitoringData operation. - */ -export type IntegrationRuntimesGetMonitoringDataResponse = IntegrationRuntimeMonitoringData & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeMonitoringData; - }; -}; +/** Contains response data for the get operation. */ +export type TriggersGetResponse = TriggerResource; -/** - * Contains response data for the createLinkedIntegrationRuntime operation. - */ -export type IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse = IntegrationRuntimeStatusResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeStatusResponse; - }; -}; +/** Optional parameters. */ +export interface TriggersDeleteOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the beginStart operation. - */ -export type IntegrationRuntimesBeginStartResponse = IntegrationRuntimeStatusResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeStatusResponse; - }; -}; +/** Optional parameters. */ +export interface TriggersSubscribeToEventsOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** - * Contains response data for the listByFactoryNext operation. - */ -export type IntegrationRuntimesListByFactoryNextResponse = IntegrationRuntimeListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeListResponse; - }; -}; +/** Contains response data for the subscribeToEvents operation. */ +export type TriggersSubscribeToEventsResponse = TriggerSubscriptionOperationStatus; -/** - * Contains response data for the refresh operation. - */ -export type IntegrationRuntimeObjectMetadataRefreshResponse = SsisObjectMetadataStatusResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: SsisObjectMetadataStatusResponse; - }; -}; +/** Optional parameters. */ +export interface TriggersGetEventSubscriptionStatusOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the get operation. - */ -export type IntegrationRuntimeObjectMetadataGetResponse = SsisObjectMetadataListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: SsisObjectMetadataListResponse; - }; -}; +/** Contains response data for the getEventSubscriptionStatus operation. */ +export type TriggersGetEventSubscriptionStatusResponse = TriggerSubscriptionOperationStatus; -/** - * Contains response data for the beginRefresh operation. - */ -export type IntegrationRuntimeObjectMetadataBeginRefreshResponse = SsisObjectMetadataStatusResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: SsisObjectMetadataStatusResponse; - }; -}; +/** Optional parameters. */ +export interface TriggersUnsubscribeFromEventsOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** - * Contains response data for the get operation. - */ -export type IntegrationRuntimeNodesGetResponse = SelfHostedIntegrationRuntimeNode & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: SelfHostedIntegrationRuntimeNode; - }; -}; +/** Contains response data for the unsubscribeFromEvents operation. */ +export type TriggersUnsubscribeFromEventsResponse = TriggerSubscriptionOperationStatus; -/** - * Contains response data for the update operation. - */ -export type IntegrationRuntimeNodesUpdateResponse = SelfHostedIntegrationRuntimeNode & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: SelfHostedIntegrationRuntimeNode; - }; -}; +/** Optional parameters. */ +export interface TriggersStartOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** - * Contains response data for the getIpAddress operation. - */ -export type IntegrationRuntimeNodesGetIpAddressResponse = IntegrationRuntimeNodeIpAddress & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: IntegrationRuntimeNodeIpAddress; - }; -}; +/** Optional parameters. */ +export interface TriggersStopOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** - * Contains response data for the listByFactory operation. - */ -export type LinkedServicesListByFactoryResponse = LinkedServiceListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: LinkedServiceListResponse; - }; -}; +/** Optional parameters. */ +export interface TriggersListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the createOrUpdate operation. - */ -export type LinkedServicesCreateOrUpdateResponse = LinkedServiceResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: LinkedServiceResource; - }; -}; +/** Contains response data for the listByFactoryNext operation. */ +export type TriggersListByFactoryNextResponse = TriggerListResponse; -/** - * Contains response data for the get operation. - */ -export type LinkedServicesGetResponse = LinkedServiceResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: LinkedServiceResource; - }; -}; +/** Optional parameters. */ +export interface TriggerRunsRerunOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByFactoryNext operation. - */ -export type LinkedServicesListByFactoryNextResponse = LinkedServiceListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: LinkedServiceListResponse; - }; -}; +/** Optional parameters. */ +export interface TriggerRunsCancelOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByFactory operation. - */ -export type DatasetsListByFactoryResponse = DatasetListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DatasetListResponse; - }; -}; +/** Optional parameters. */ +export interface TriggerRunsQueryByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the createOrUpdate operation. - */ -export type DatasetsCreateOrUpdateResponse = DatasetResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DatasetResource; - }; -}; +/** Contains response data for the queryByFactory operation. */ +export type TriggerRunsQueryByFactoryResponse = TriggerRunsQueryResponse; -/** - * Contains response data for the get operation. - */ -export type DatasetsGetResponse = DatasetResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DatasetResource; - }; -}; +/** Optional parameters. */ +export interface DataFlowsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the data flow entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} -/** - * Contains response data for the listByFactoryNext operation. - */ -export type DatasetsListByFactoryNextResponse = DatasetListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DatasetListResponse; - }; -}; +/** Contains response data for the createOrUpdate operation. */ +export type DataFlowsCreateOrUpdateResponse = DataFlowResource; -/** - * Contains response data for the listByFactory operation. - */ -export type PipelinesListByFactoryResponse = PipelineListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PipelineListResponse; - }; -}; +/** Optional parameters. */ +export interface DataFlowsGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the data flow entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} + +/** Contains response data for the get operation. */ +export type DataFlowsGetResponse = DataFlowResource; + +/** Optional parameters. */ +export interface DataFlowsDeleteOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the createOrUpdate operation. - */ -export type PipelinesCreateOrUpdateResponse = PipelineResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PipelineResource; - }; -}; +/** Optional parameters. */ +export interface DataFlowsListByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the get operation. - */ -export type PipelinesGetResponse = PipelineResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PipelineResource; - }; -}; +/** Contains response data for the listByFactory operation. */ +export type DataFlowsListByFactoryResponse = DataFlowListResponse; -/** - * Contains response data for the createRun operation. - */ -export type PipelinesCreateRunResponse = CreateRunResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: CreateRunResponse; - }; -}; +/** Optional parameters. */ +export interface DataFlowsListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByFactoryNext operation. - */ -export type PipelinesListByFactoryNextResponse = PipelineListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PipelineListResponse; - }; -}; +/** Contains response data for the listByFactoryNext operation. */ +export type DataFlowsListByFactoryNextResponse = DataFlowListResponse; -/** - * Contains response data for the queryByFactory operation. - */ -export type PipelineRunsQueryByFactoryResponse = PipelineRunsQueryResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PipelineRunsQueryResponse; - }; -}; +/** Optional parameters. */ +export interface DataFlowDebugSessionCreateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** - * Contains response data for the get operation. - */ -export type PipelineRunsGetResponse = PipelineRun & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PipelineRun; - }; -}; +/** Contains response data for the create operation. */ +export type DataFlowDebugSessionCreateResponse = CreateDataFlowDebugSessionResponse; -/** - * Contains response data for the queryByPipelineRun operation. - */ -export type ActivityRunsQueryByPipelineRunResponse = ActivityRunsQueryResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ActivityRunsQueryResponse; - }; -}; +/** Optional parameters. */ +export interface DataFlowDebugSessionQueryByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByFactory operation. - */ -export type TriggersListByFactoryResponse = TriggerListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerListResponse; - }; -}; +/** Contains response data for the queryByFactory operation. */ +export type DataFlowDebugSessionQueryByFactoryResponse = QueryDataFlowDebugSessionsResponse; -/** - * Contains response data for the queryByFactory operation. - */ -export type TriggersQueryByFactoryResponse = TriggerQueryResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerQueryResponse; - }; -}; +/** Optional parameters. */ +export interface DataFlowDebugSessionAddDataFlowOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the createOrUpdate operation. - */ -export type TriggersCreateOrUpdateResponse = TriggerResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerResource; - }; -}; +/** Contains response data for the addDataFlow operation. */ +export type DataFlowDebugSessionAddDataFlowResponse = AddDataFlowToDebugSessionResponse; -/** - * Contains response data for the get operation. - */ -export type TriggersGetResponse = TriggerResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerResource; - }; -}; +/** Optional parameters. */ +export interface DataFlowDebugSessionDeleteOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the subscribeToEvents operation. - */ -export type TriggersSubscribeToEventsResponse = TriggerSubscriptionOperationStatus & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerSubscriptionOperationStatus; - }; -}; +/** Optional parameters. */ +export interface DataFlowDebugSessionExecuteCommandOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** - * Contains response data for the getEventSubscriptionStatus operation. - */ -export type TriggersGetEventSubscriptionStatusResponse = TriggerSubscriptionOperationStatus & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerSubscriptionOperationStatus; - }; -}; +/** Contains response data for the executeCommand operation. */ +export type DataFlowDebugSessionExecuteCommandResponse = DataFlowDebugCommandResponse; -/** - * Contains response data for the unsubscribeFromEvents operation. - */ -export type TriggersUnsubscribeFromEventsResponse = TriggerSubscriptionOperationStatus & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerSubscriptionOperationStatus; - }; -}; +/** Optional parameters. */ +export interface DataFlowDebugSessionQueryByFactoryNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the beginSubscribeToEvents operation. - */ -export type TriggersBeginSubscribeToEventsResponse = TriggerSubscriptionOperationStatus & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerSubscriptionOperationStatus; - }; -}; +/** Contains response data for the queryByFactoryNext operation. */ +export type DataFlowDebugSessionQueryByFactoryNextResponse = QueryDataFlowDebugSessionsResponse; -/** - * Contains response data for the beginUnsubscribeFromEvents operation. - */ -export type TriggersBeginUnsubscribeFromEventsResponse = TriggerSubscriptionOperationStatus & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerSubscriptionOperationStatus; - }; -}; +/** Optional parameters. */ +export interface ManagedVirtualNetworksListByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByFactoryNext operation. - */ -export type TriggersListByFactoryNextResponse = TriggerListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerListResponse; - }; -}; +/** Contains response data for the listByFactory operation. */ +export type ManagedVirtualNetworksListByFactoryResponse = ManagedVirtualNetworkListResponse; -/** - * Contains response data for the queryByFactory operation. - */ -export type TriggerRunsQueryByFactoryResponse = TriggerRunsQueryResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerRunsQueryResponse; - }; -}; +/** Optional parameters. */ +export interface ManagedVirtualNetworksCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} -/** - * Contains response data for the createOrUpdate operation. - */ -export type DataFlowsCreateOrUpdateResponse = DataFlowResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataFlowResource; - }; -}; +/** Contains response data for the createOrUpdate operation. */ +export type ManagedVirtualNetworksCreateOrUpdateResponse = ManagedVirtualNetworkResource; -/** - * Contains response data for the get operation. - */ -export type DataFlowsGetResponse = DataFlowResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataFlowResource; - }; -}; +/** Optional parameters. */ +export interface ManagedVirtualNetworksGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the managed Virtual Network entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} -/** - * Contains response data for the listByFactory operation. - */ -export type DataFlowsListByFactoryResponse = DataFlowListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataFlowListResponse; - }; -}; +/** Contains response data for the get operation. */ +export type ManagedVirtualNetworksGetResponse = ManagedVirtualNetworkResource; -/** - * Contains response data for the listByFactoryNext operation. - */ -export type DataFlowsListByFactoryNextResponse = DataFlowListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataFlowListResponse; - }; -}; +/** Optional parameters. */ +export interface ManagedVirtualNetworksListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the create operation. - */ -export type DataFlowDebugSessionCreateResponse = CreateDataFlowDebugSessionResponse & - DataFlowDebugSessionCreateHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: DataFlowDebugSessionCreateHeaders; - - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: CreateDataFlowDebugSessionResponse; - }; - }; +/** Contains response data for the listByFactoryNext operation. */ +export type ManagedVirtualNetworksListByFactoryNextResponse = ManagedVirtualNetworkListResponse; -/** - * Contains response data for the queryByFactory operation. - */ -export type DataFlowDebugSessionQueryByFactoryResponse = QueryDataFlowDebugSessionsResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: QueryDataFlowDebugSessionsResponse; - }; -}; +/** Optional parameters. */ +export interface ManagedPrivateEndpointsListByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the addDataFlow operation. - */ -export type DataFlowDebugSessionAddDataFlowResponse = AddDataFlowToDebugSessionResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: AddDataFlowToDebugSessionResponse; - }; -}; +/** Contains response data for the listByFactory operation. */ +export type ManagedPrivateEndpointsListByFactoryResponse = ManagedPrivateEndpointListResponse; -/** - * Contains response data for the executeCommand operation. - */ -export type DataFlowDebugSessionExecuteCommandResponse = DataFlowDebugCommandResponse & - DataFlowDebugSessionExecuteCommandHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: DataFlowDebugSessionExecuteCommandHeaders; - - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: DataFlowDebugCommandResponse; - }; - }; +/** Optional parameters. */ +export interface ManagedPrivateEndpointsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} -/** - * Contains response data for the queryByFactoryNext operation. - */ -export type DataFlowDebugSessionQueryByFactoryNextResponse = QueryDataFlowDebugSessionsResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: QueryDataFlowDebugSessionsResponse; - }; -}; +/** Contains response data for the createOrUpdate operation. */ +export type ManagedPrivateEndpointsCreateOrUpdateResponse = ManagedPrivateEndpointResource; -/** - * Contains response data for the listByFactory operation. - */ -export type ManagedVirtualNetworksListByFactoryResponse = ManagedVirtualNetworkListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedVirtualNetworkListResponse; - }; -}; +/** Optional parameters. */ +export interface ManagedPrivateEndpointsGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the managed private endpoint entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} -/** - * Contains response data for the createOrUpdate operation. - */ -export type ManagedVirtualNetworksCreateOrUpdateResponse = ManagedVirtualNetworkResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedVirtualNetworkResource; - }; -}; +/** Contains response data for the get operation. */ +export type ManagedPrivateEndpointsGetResponse = ManagedPrivateEndpointResource; -/** - * Contains response data for the get operation. - */ -export type ManagedVirtualNetworksGetResponse = ManagedVirtualNetworkResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedVirtualNetworkResource; - }; -}; +/** Optional parameters. */ +export interface ManagedPrivateEndpointsDeleteOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByFactoryNext operation. - */ -export type ManagedVirtualNetworksListByFactoryNextResponse = ManagedVirtualNetworkListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedVirtualNetworkListResponse; - }; -}; +/** Optional parameters. */ +export interface ManagedPrivateEndpointsListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByFactory operation. - */ -export type ManagedPrivateEndpointsListByFactoryResponse = ManagedPrivateEndpointListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedPrivateEndpointListResponse; - }; -}; +/** Contains response data for the listByFactoryNext operation. */ +export type ManagedPrivateEndpointsListByFactoryNextResponse = ManagedPrivateEndpointListResponse; -/** - * Contains response data for the createOrUpdate operation. - */ -export type ManagedPrivateEndpointsCreateOrUpdateResponse = ManagedPrivateEndpointResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedPrivateEndpointResource; - }; -}; +/** Optional parameters. */ +export interface PrivateEndPointConnectionsListByFactoryOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the get operation. - */ -export type ManagedPrivateEndpointsGetResponse = ManagedPrivateEndpointResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedPrivateEndpointResource; - }; -}; +/** Contains response data for the listByFactory operation. */ +export type PrivateEndPointConnectionsListByFactoryResponse = PrivateEndpointConnectionListResponse; -/** - * Contains response data for the listByFactoryNext operation. - */ -export type ManagedPrivateEndpointsListByFactoryNextResponse = ManagedPrivateEndpointListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ManagedPrivateEndpointListResponse; - }; -}; +/** Optional parameters. */ +export interface PrivateEndPointConnectionsListByFactoryNextOptionalParams + extends coreClient.OperationOptions {} -/** - * Contains response data for the listByFactory operation. - */ -export type PrivateEndPointConnectionsListByFactoryResponse = PrivateEndpointConnectionListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnectionListResponse; - }; -}; +/** Contains response data for the listByFactoryNext operation. */ +export type PrivateEndPointConnectionsListByFactoryNextResponse = PrivateEndpointConnectionListResponse; -/** - * Contains response data for the listByFactoryNext operation. - */ -export type PrivateEndPointConnectionsListByFactoryNextResponse = PrivateEndpointConnectionListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnectionListResponse; - }; -}; +/** Optional parameters. */ +export interface PrivateEndpointConnectionCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** ETag of the private endpoint connection entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update. */ + ifMatch?: string; +} -/** - * Contains response data for the createOrUpdate operation. - */ -export type PrivateEndpointConnectionCreateOrUpdateResponse = PrivateEndpointConnectionResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnectionResource; - }; -}; +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionCreateOrUpdateResponse = PrivateEndpointConnectionResource; -/** - * Contains response data for the get operation. - */ -export type PrivateEndpointConnectionGetResponse = PrivateEndpointConnectionResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateEndpointConnectionResource; - }; -}; +/** Optional parameters. */ +export interface PrivateEndpointConnectionGetOptionalParams + extends coreClient.OperationOptions { + /** ETag of the private endpoint connection entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned. */ + ifNoneMatch?: string; +} -/** - * Contains response data for the get operation. - */ -export type PrivateLinkResourcesGetResponse = PrivateLinkResourcesWrapper & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PrivateLinkResourcesWrapper; - }; -}; +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionGetResponse = PrivateEndpointConnectionResource; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface PrivateLinkResourcesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateLinkResourcesGetResponse = PrivateLinkResourcesWrapper; + +/** Optional parameters. */ +export interface DataFactoryManagementClientOptionalParams + extends coreClient.ServiceClientOptions { + /** server parameter */ + $host?: string; + /** Api Version */ + apiVersion?: string; + /** Overrides client endpoint. */ + endpoint?: string; +} diff --git a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimeNodesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimeNodesMappers.ts deleted file mode 100644 index 983947a169d7..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimeNodesMappers.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - CloudError, - IntegrationRuntimeNodeIpAddress, - SelfHostedIntegrationRuntimeNode, - UpdateIntegrationRuntimeNodeRequest -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimeObjectMetadataMappers.ts b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimeObjectMetadataMappers.ts deleted file mode 100644 index 94dc5afaa449..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimeObjectMetadataMappers.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - CloudError, - GetSsisObjectMetadataRequest, - SsisEnvironment, - SsisEnvironmentReference, - SsisFolder, - SsisObjectMetadata, - SsisObjectMetadataListResponse, - SsisObjectMetadataStatusResponse, - SsisPackage, - SsisParameter, - SsisProject, - SsisVariable -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts deleted file mode 100644 index de856fa59889..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts +++ /dev/null @@ -1,600 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CreateLinkedIntegrationRuntimeRequest, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeAuthKeys, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeConnectionInfo, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeListResponse, - IntegrationRuntimeMonitoringData, - IntegrationRuntimeNodeMonitoringData, - IntegrationRuntimeReference, - IntegrationRuntimeRegenerateKeyParameters, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeStatus, - IntegrationRuntimeStatusResponse, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntime, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeRequest, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedIntegrationRuntimeError, - ManagedIntegrationRuntimeNode, - ManagedIntegrationRuntimeOperationResult, - ManagedIntegrationRuntimeStatus, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - SelfHostedIntegrationRuntimeNode, - SelfHostedIntegrationRuntimeStatus, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UpdateIntegrationRuntimeRequest, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts deleted file mode 100644 index b96f244c0c0a..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts +++ /dev/null @@ -1,583 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceListResponse, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/managedPrivateEndpointsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/managedPrivateEndpointsMappers.ts deleted file mode 100644 index dc3ab19f4d0f..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/managedPrivateEndpointsMappers.ts +++ /dev/null @@ -1,583 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointListResponse, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/managedVirtualNetworksMappers.ts b/sdk/datafactory/arm-datafactory/src/models/managedVirtualNetworksMappers.ts deleted file mode 100644 index 128d16bf987b..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/managedVirtualNetworksMappers.ts +++ /dev/null @@ -1,583 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkListResponse, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index b2ce562eca04..38493c224d38 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -6,97 +6,95 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; -import * as msRest from "@azure/ms-rest-js"; +import * as coreClient from "@azure/core-client"; -export const CloudError = CloudErrorMapper; -export const BaseResource = BaseResourceMapper; - -export const Resource: msRest.CompositeMapper = { - serializedName: "Resource", +export const OperationListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Resource", + className: "OperationListResponse", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } } }, - name: { - readOnly: true, - serializedName: "name", + nextLink: { + serializedName: "nextLink", type: { name: "String" } - }, - type: { - readOnly: true, - serializedName: "type", + } + } + } +}; + +export const Operation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - location: { - serializedName: "location", + origin: { + serializedName: "origin", type: { name: "String" } }, - tags: { - serializedName: "tags", + display: { + serializedName: "display", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "Composite", + className: "OperationDisplay" } }, - eTag: { - readOnly: true, - serializedName: "eTag", + serviceSpecification: { + serializedName: "properties.serviceSpecification", type: { - name: "String" + name: "Composite", + className: "OperationServiceSpecification" } } } } }; -export const SubResource: msRest.CompositeMapper = { - serializedName: "SubResource", +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SubResource", + className: "OperationDisplay", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + description: { + serializedName: "description", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + provider: { + serializedName: "provider", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + resource: { + serializedName: "resource", type: { name: "String" } }, - etag: { - readOnly: true, - serializedName: "etag", + operation: { + serializedName: "operation", type: { name: "String" } @@ -105,40 +103,58 @@ export const SubResource: msRest.CompositeMapper = { } }; -export const SubResourceDebugResource: msRest.CompositeMapper = { - serializedName: "SubResourceDebugResource", +export const OperationServiceSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SubResourceDebugResource", + className: "OperationServiceSpecification", modelProperties: { - name: { - serializedName: "name", + logSpecifications: { + serializedName: "logSpecifications", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationLogSpecification" + } + } + } + }, + metricSpecifications: { + serializedName: "metricSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationMetricSpecification" + } + } } } } } }; -export const Expression: msRest.CompositeMapper = { - serializedName: "Expression", +export const OperationLogSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Expression", + className: "OperationLogSpecification", modelProperties: { - type: { - required: true, - isConstant: true, - serializedName: "type", - defaultValue: "Expression", + name: { + serializedName: "name", type: { name: "String" } }, - value: { - required: true, - serializedName: "value", + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", type: { name: "String" } @@ -147,40 +163,100 @@ export const Expression: msRest.CompositeMapper = { } }; -export const SecretBase: msRest.CompositeMapper = { - serializedName: "SecretBase", +export const OperationMetricSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SecretBase", - className: "SecretBase", + className: "OperationMetricSpecification", modelProperties: { - type: { - required: true, - serializedName: "type", + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + displayDescription: { + serializedName: "displayDescription", + type: { + name: "String" + } + }, + unit: { + serializedName: "unit", + type: { + name: "String" + } + }, + aggregationType: { + serializedName: "aggregationType", + type: { + name: "String" + } + }, + enableRegionalMdmAccount: { + serializedName: "enableRegionalMdmAccount", + type: { + name: "String" + } + }, + sourceMdmAccount: { + serializedName: "sourceMdmAccount", type: { name: "String" } + }, + sourceMdmNamespace: { + serializedName: "sourceMdmNamespace", + type: { + name: "String" + } + }, + availabilities: { + serializedName: "availabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationMetricAvailability" + } + } + } + }, + dimensions: { + serializedName: "dimensions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationMetricDimension" + } + } + } } } } }; -export const SecureString: msRest.CompositeMapper = { - serializedName: "SecureString", +export const OperationMetricAvailability: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", - className: "SecureString", + className: "OperationMetricAvailability", modelProperties: { - ...SecretBase.type.modelProperties, - value: { - required: true, - serializedName: "value", + timeGrain: { + serializedName: "timeGrain", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", type: { name: "String" } @@ -189,101 +265,174 @@ export const SecureString: msRest.CompositeMapper = { } }; -export const LinkedServiceReference: msRest.CompositeMapper = { - serializedName: "LinkedServiceReference", +export const OperationMetricDimension: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LinkedServiceReference", + className: "OperationMetricDimension", modelProperties: { - type: { - required: true, - isConstant: true, - serializedName: "type", - defaultValue: "LinkedServiceReference", + name: { + serializedName: "name", type: { name: "String" } }, - referenceName: { - required: true, - serializedName: "referenceName", + displayName: { + serializedName: "displayName", type: { name: "String" } }, - parameters: { - serializedName: "parameters", + toBeExportedForShoebox: { + serializedName: "toBeExportedForShoebox", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Boolean" } } } } }; -export const AzureKeyVaultSecretReference: msRest.CompositeMapper = { - serializedName: "AzureKeyVaultSecret", +export const CloudError: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, - uberParent: "SecretBase", - className: "AzureKeyVaultSecretReference", + className: "CloudError", modelProperties: { - ...SecretBase.type.modelProperties, - store: { + code: { + serializedName: "error.code", required: true, - serializedName: "store", - defaultValue: {}, type: { - name: "Composite", - className: "LinkedServiceReference" + name: "String" } }, - secretName: { + message: { + serializedName: "error.message", required: true, - serializedName: "secretName", type: { - name: "Object" + name: "String" } }, - secretVersion: { - serializedName: "secretVersion", + target: { + serializedName: "error.target", + type: { + name: "String" + } + }, + details: { + serializedName: "error.details", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudError" + } + } + } + } + } + } +}; + +export const FactoryListResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FactoryListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Factory" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + eTag: { + serializedName: "eTag", + readOnly: true, type: { - name: "Object" + name: "String" } } } } }; -export const FactoryIdentity: msRest.CompositeMapper = { - serializedName: "FactoryIdentity", +export const FactoryIdentity: coreClient.CompositeMapper = { type: { name: "Composite", className: "FactoryIdentity", modelProperties: { type: { - required: true, serializedName: "type", + required: true, type: { name: "String" } }, principalId: { - readOnly: true, serializedName: "principalId", + readOnly: true, type: { name: "Uuid" } }, tenantId: { - readOnly: true, serializedName: "tenantId", + readOnly: true, type: { name: "Uuid" } @@ -293,9 +442,7 @@ export const FactoryIdentity: msRest.CompositeMapper = { type: { name: "Dictionary", value: { - type: { - name: "Object" - } + type: { name: "Dictionary", value: { type: { name: "any" } } } } } } @@ -303,41 +450,47 @@ export const FactoryIdentity: msRest.CompositeMapper = { } }; -export const FactoryRepoConfiguration: msRest.CompositeMapper = { - serializedName: "FactoryRepoConfiguration", +export const FactoryRepoConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", + className: "FactoryRepoConfiguration", + uberParent: "FactoryRepoConfiguration", polymorphicDiscriminator: { serializedName: "type", clientName: "type" }, - uberParent: "FactoryRepoConfiguration", - className: "FactoryRepoConfiguration", modelProperties: { - accountName: { + type: { + serializedName: "type", required: true, + type: { + name: "String" + } + }, + accountName: { serializedName: "accountName", + required: true, type: { name: "String" } }, repositoryName: { - required: true, serializedName: "repositoryName", + required: true, type: { name: "String" } }, collaborationBranch: { - required: true, serializedName: "collaborationBranch", + required: true, type: { name: "String" } }, rootFolder: { - required: true, serializedName: "rootFolder", + required: true, type: { name: "String" } @@ -347,74 +500,50 @@ export const FactoryRepoConfiguration: msRest.CompositeMapper = { type: { name: "String" } - }, - type: { - required: true, - serializedName: "type", - type: { - name: "String" - } } } } }; -export const GlobalParameterSpecification: msRest.CompositeMapper = { - serializedName: "GlobalParameterSpecification", +export const GlobalParameterSpecification: coreClient.CompositeMapper = { type: { name: "Composite", className: "GlobalParameterSpecification", modelProperties: { type: { - required: true, serializedName: "type", + required: true, type: { name: "String" } }, value: { - required: true, serializedName: "value", + required: true, type: { - name: "Object" - } - } - } - } -}; - -export const CMKIdentityDefinition: msRest.CompositeMapper = { - serializedName: "CMKIdentityDefinition", - type: { - name: "Composite", - className: "CMKIdentityDefinition", - modelProperties: { - userAssignedIdentity: { - serializedName: "userAssignedIdentity", - type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const EncryptionConfiguration: msRest.CompositeMapper = { - serializedName: "EncryptionConfiguration", +export const EncryptionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", className: "EncryptionConfiguration", modelProperties: { keyName: { - required: true, serializedName: "keyName", + required: true, type: { name: "String" } }, vaultBaseUrl: { - required: true, serializedName: "vaultBaseUrl", + required: true, type: { name: "String" } @@ -436,131 +565,101 @@ export const EncryptionConfiguration: msRest.CompositeMapper = { } }; -export const Factory: msRest.CompositeMapper = { - serializedName: "Factory", +export const CMKIdentityDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Factory", + className: "CMKIdentityDefinition", modelProperties: { - ...Resource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "FactoryIdentity" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + userAssignedIdentity: { + serializedName: "userAssignedIdentity", type: { name: "String" } - }, - createTime: { - readOnly: true, - serializedName: "properties.createTime", - type: { - name: "DateTime" - } - }, - version: { - readOnly: true, - serializedName: "properties.version", + } + } + } +}; + +export const FactoryRepoUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FactoryRepoUpdate", + modelProperties: { + factoryResourceId: { + serializedName: "factoryResourceId", type: { name: "String" } }, repoConfiguration: { - serializedName: "properties.repoConfiguration", + serializedName: "repoConfiguration", type: { name: "Composite", className: "FactoryRepoConfiguration" } - }, - globalParameters: { - serializedName: "properties.globalParameters", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "GlobalParameterSpecification" - } - } - } - }, - encryption: { - serializedName: "properties.encryption", + } + } + } +}; + +export const ExposureControlRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExposureControlRequest", + modelProperties: { + featureName: { + serializedName: "featureName", type: { - name: "Composite", - className: "EncryptionConfiguration" + name: "String" } }, - publicNetworkAccess: { - serializedName: "properties.publicNetworkAccess", + featureType: { + serializedName: "featureType", type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntime: msRest.CompositeMapper = { - serializedName: "IntegrationRuntime", +export const ExposureControlResponse: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "IntegrationRuntime", - className: "IntegrationRuntime", + className: "ExposureControlResponse", modelProperties: { - description: { - serializedName: "description", + featureName: { + serializedName: "featureName", + readOnly: true, type: { name: "String" } }, - type: { - required: true, - serializedName: "type", + value: { + serializedName: "value", + readOnly: true, type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeResource: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeResource", +export const ExposureControlBatchRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IntegrationRuntimeResource", + className: "ExposureControlBatchRequest", modelProperties: { - ...SubResource.type.modelProperties, - properties: { + exposureControlRequests: { + serializedName: "exposureControlRequests", required: true, - serializedName: "properties", type: { - name: "Composite", - className: "IntegrationRuntime", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "ExposureControlRequest" } } } @@ -569,35 +668,20 @@ export const IntegrationRuntimeResource: msRest.CompositeMapper = { } }; -export const IntegrationRuntimeReference: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeReference", +export const ExposureControlBatchResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IntegrationRuntimeReference", + className: "ExposureControlBatchResponse", modelProperties: { - type: { - required: true, - isConstant: true, - serializedName: "type", - defaultValue: "IntegrationRuntimeReference", - type: { - name: "String" - } - }, - referenceName: { + exposureControlResponses: { + serializedName: "exposureControlResponses", required: true, - serializedName: "referenceName", - type: { - name: "String" - } - }, - parameters: { - serializedName: "parameters", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "ExposureControlResponse" } } } @@ -606,122 +690,99 @@ export const IntegrationRuntimeReference: msRest.CompositeMapper = { } }; -export const IntegrationRuntimeDebugResource: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeDebugResource", +export const FactoryUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IntegrationRuntimeDebugResource", + className: "FactoryUpdateParameters", modelProperties: { - ...SubResourceDebugResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + identity: { + serializedName: "identity", type: { name: "Composite", - className: "IntegrationRuntime", - additionalProperties: { - type: { - name: "Object" - } - } + className: "FactoryIdentity" + } + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String" } } } } }; -export const IntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeStatus", +export const GitHubAccessTokenRequest: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "IntegrationRuntimeStatus", - className: "IntegrationRuntimeStatus", + className: "GitHubAccessTokenRequest", modelProperties: { - dataFactoryName: { - readOnly: true, - serializedName: "dataFactoryName", + gitHubAccessCode: { + serializedName: "gitHubAccessCode", + required: true, type: { name: "String" } }, - state: { - readOnly: true, - serializedName: "state", + gitHubClientId: { + serializedName: "gitHubClientId", type: { name: "String" } }, - type: { + gitHubClientSecret: { + serializedName: "gitHubClientSecret", + type: { + name: "Composite", + className: "GitHubClientSecret" + } + }, + gitHubAccessTokenBaseUrl: { + serializedName: "gitHubAccessTokenBaseUrl", required: true, - serializedName: "type", type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeStatusResponse: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeStatusResponse", +export const GitHubClientSecret: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IntegrationRuntimeStatusResponse", + className: "GitHubClientSecret", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + byoaSecretAkvUrl: { + serializedName: "byoaSecretAkvUrl", type: { name: "String" } }, - properties: { - required: true, - serializedName: "properties", + byoaSecretName: { + serializedName: "byoaSecretName", type: { - name: "Composite", - className: "IntegrationRuntimeStatus", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } } } } }; -export const IntegrationRuntimeStatusListResponse: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeStatusListResponse", +export const GitHubAccessTokenResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "IntegrationRuntimeStatusListResponse", + className: "GitHubAccessTokenResponse", modelProperties: { - value: { - required: true, - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IntegrationRuntimeStatusResponse" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + gitHubAccessToken: { + serializedName: "gitHubAccessToken", type: { name: "String" } @@ -730,20 +791,37 @@ export const IntegrationRuntimeStatusListResponse: msRest.CompositeMapper = { } }; -export const UpdateIntegrationRuntimeRequest: msRest.CompositeMapper = { - serializedName: "UpdateIntegrationRuntimeRequest", +export const UserAccessPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateIntegrationRuntimeRequest", + className: "UserAccessPolicy", modelProperties: { - autoUpdate: { - serializedName: "autoUpdate", + permissions: { + serializedName: "permissions", type: { name: "String" } }, - updateDelayOffset: { - serializedName: "updateDelayOffset", + accessResourcePath: { + serializedName: "accessResourcePath", + type: { + name: "String" + } + }, + profileName: { + serializedName: "profileName", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "String" + } + }, + expireTime: { + serializedName: "expireTime", type: { name: "String" } @@ -752,34 +830,54 @@ export const UpdateIntegrationRuntimeRequest: msRest.CompositeMapper = { } }; -export const UpdateIntegrationRuntimeNodeRequest: msRest.CompositeMapper = { - serializedName: "UpdateIntegrationRuntimeNodeRequest", +export const AccessPolicyResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UpdateIntegrationRuntimeNodeRequest", + className: "AccessPolicyResponse", modelProperties: { - concurrentJobsLimit: { - serializedName: "concurrentJobsLimit", - constraints: { - InclusiveMinimum: 1 - }, + policy: { + serializedName: "policy", type: { - name: "Number" + name: "Composite", + className: "UserAccessPolicy" + } + }, + accessToken: { + serializedName: "accessToken", + type: { + name: "String" + } + }, + dataPlaneUrl: { + serializedName: "dataPlaneUrl", + type: { + name: "String" } } } } }; -export const LinkedIntegrationRuntimeRequest: msRest.CompositeMapper = { - serializedName: "LinkedIntegrationRuntimeRequest", +export const IntegrationRuntimeListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LinkedIntegrationRuntimeRequest", + className: "IntegrationRuntimeListResponse", modelProperties: { - linkedFactoryName: { + value: { + serializedName: "value", required: true, - serializedName: "factoryName", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -788,32 +886,35 @@ export const LinkedIntegrationRuntimeRequest: msRest.CompositeMapper = { } }; -export const CreateLinkedIntegrationRuntimeRequest: msRest.CompositeMapper = { - serializedName: "CreateLinkedIntegrationRuntimeRequest", +export const SubResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CreateLinkedIntegrationRuntimeRequest", + className: "SubResource", modelProperties: { - name: { - serializedName: "name", + id: { + serializedName: "id", + readOnly: true, type: { name: "String" } }, - subscriptionId: { - serializedName: "subscriptionId", + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } }, - dataFactoryName: { - serializedName: "dataFactoryName", + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - dataFactoryLocation: { - serializedName: "dataFactoryLocation", + etag: { + serializedName: "etag", + readOnly: true, type: { name: "String" } @@ -822,234 +923,157 @@ export const CreateLinkedIntegrationRuntimeRequest: msRest.CompositeMapper = { } }; -export const ParameterSpecification: msRest.CompositeMapper = { - serializedName: "ParameterSpecification", +export const IntegrationRuntime: coreClient.CompositeMapper = { + serializedName: "IntegrationRuntime", type: { name: "Composite", - className: "ParameterSpecification", + className: "IntegrationRuntime", + uberParent: "IntegrationRuntime", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { type: { - required: true, serializedName: "type", + required: true, type: { name: "String" } }, - defaultValue: { - serializedName: "defaultValue", + description: { + serializedName: "description", type: { - name: "Object" + name: "String" } } } } }; -export const LinkedService: msRest.CompositeMapper = { - serializedName: "LinkedService", +export const UpdateIntegrationRuntimeRequest: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "LinkedService", - className: "LinkedService", + className: "UpdateIntegrationRuntimeRequest", modelProperties: { - connectVia: { - serializedName: "connectVia", + autoUpdate: { + serializedName: "autoUpdate", type: { - name: "Composite", - className: "IntegrationRuntimeReference" + name: "String" } }, - description: { - serializedName: "description", + updateDelayOffset: { + serializedName: "updateDelayOffset", type: { name: "String" } - }, - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "ParameterSpecification" - } - } - } - }, - annotations: { - serializedName: "annotations", - type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } - } - }, - type: { - required: true, - serializedName: "type", + } + } + } +}; + +export const IntegrationRuntimeStatusResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IntegrationRuntimeStatusResponse", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const LinkedServiceResource: msRest.CompositeMapper = { - serializedName: "LinkedServiceResource", - type: { - name: "Composite", - className: "LinkedServiceResource", - modelProperties: { - ...SubResource.type.modelProperties, + }, properties: { - required: true, serializedName: "properties", - defaultValue: {}, type: { name: "Composite", - className: "LinkedService", - additionalProperties: { - type: { - name: "Object" - } - } - } - } - } - } -}; - -export const DatasetFolder: msRest.CompositeMapper = { - serializedName: "Dataset_folder", - type: { - name: "Composite", - className: "DatasetFolder", - modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" + className: "IntegrationRuntimeStatus" } } } } }; -export const Dataset: msRest.CompositeMapper = { - serializedName: "Dataset", +export const IntegrationRuntimeStatus: coreClient.CompositeMapper = { + serializedName: "IntegrationRuntimeStatus", type: { name: "Composite", + className: "IntegrationRuntimeStatus", + uberParent: "IntegrationRuntimeStatus", + additionalProperties: { type: { name: "Object" } }, polymorphicDiscriminator: { serializedName: "type", clientName: "type" }, - uberParent: "Dataset", - className: "Dataset", modelProperties: { - description: { - serializedName: "description", + type: { + serializedName: "type", + required: true, type: { name: "String" } }, - structure: { - serializedName: "structure", - type: { - name: "Object" - } - }, - schema: { - serializedName: "schema", - type: { - name: "Object" - } - }, - linkedServiceName: { - required: true, - serializedName: "linkedServiceName", - defaultValue: {}, + dataFactoryName: { + serializedName: "dataFactoryName", + readOnly: true, type: { - name: "Composite", - className: "LinkedServiceReference" + name: "String" } }, - parameters: { - serializedName: "parameters", + state: { + serializedName: "state", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "ParameterSpecification" - } - } + name: "String" } - }, - annotations: { - serializedName: "annotations", + } + } + } +}; + +export const IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { - name: "Object" + name: "Composite", + className: + "IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint" } } } - }, - folder: { - serializedName: "folder", - type: { - name: "Composite", - className: "DatasetFolder" - } - }, - type: { - required: true, - serializedName: "type", - type: { - name: "String" - } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const DatasetResource: msRest.CompositeMapper = { - serializedName: "DatasetResource", +export const IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatasetResource", + className: "IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint", modelProperties: { - ...SubResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", - defaultValue: {}, + category: { + serializedName: "category", type: { - name: "Composite", - className: "Dataset", - additionalProperties: { + name: "String" + } + }, + endpoints: { + serializedName: "endpoints", + type: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntimeOutboundNetworkDependenciesEndpoint" } } } @@ -1058,164 +1082,129 @@ export const DatasetResource: msRest.CompositeMapper = { } }; -export const ActivityDependency: msRest.CompositeMapper = { - serializedName: "ActivityDependency", +export const IntegrationRuntimeOutboundNetworkDependenciesEndpoint: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityDependency", + className: "IntegrationRuntimeOutboundNetworkDependenciesEndpoint", modelProperties: { - activity: { - required: true, - serializedName: "activity", + domainName: { + serializedName: "domainName", type: { name: "String" } }, - dependencyConditions: { - required: true, - serializedName: "dependencyConditions", + endpointDetails: { + serializedName: "endpointDetails", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: + "IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const UserProperty: msRest.CompositeMapper = { - serializedName: "UserProperty", +export const IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserProperty", + className: "IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails", modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - value: { - required: true, - serializedName: "value", + port: { + serializedName: "port", type: { - name: "Object" + name: "Number" } } } } }; -export const Activity: msRest.CompositeMapper = { - serializedName: "Activity", +export const IntegrationRuntimeConnectionInfo: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Activity", - className: "Activity", + className: "IntegrationRuntimeConnectionInfo", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - name: { - required: true, - serializedName: "name", + serviceToken: { + serializedName: "serviceToken", + readOnly: true, type: { name: "String" } }, - description: { - serializedName: "description", + identityCertThumbprint: { + serializedName: "identityCertThumbprint", + readOnly: true, type: { name: "String" } }, - dependsOn: { - serializedName: "dependsOn", + hostServiceUri: { + serializedName: "hostServiceUri", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ActivityDependency", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "String" } }, - userProperties: { - serializedName: "userProperties", + version: { + serializedName: "version", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserProperty" - } - } + name: "String" } }, - type: { - required: true, - serializedName: "type", + publicKey: { + serializedName: "publicKey", + readOnly: true, type: { name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" + }, + isIdentityCertExprired: { + serializedName: "isIdentityCertExprired", + readOnly: true, + type: { + name: "Boolean" + } } } } }; -export const VariableSpecification: msRest.CompositeMapper = { - serializedName: "VariableSpecification", +export const IntegrationRuntimeRegenerateKeyParameters: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VariableSpecification", + className: "IntegrationRuntimeRegenerateKeyParameters", modelProperties: { - type: { - required: true, - serializedName: "type", + keyName: { + serializedName: "keyName", type: { name: "String" } - }, - defaultValue: { - serializedName: "defaultValue", - type: { - name: "Object" - } } } } }; -export const PipelineFolder: msRest.CompositeMapper = { - serializedName: "Pipeline_folder", +export const IntegrationRuntimeAuthKeys: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineFolder", + className: "IntegrationRuntimeAuthKeys", modelProperties: { - name: { - serializedName: "name", + authKey1: { + serializedName: "authKey1", + type: { + name: "String" + } + }, + authKey2: { + serializedName: "authKey2", type: { name: "String" } @@ -1224,243 +1213,215 @@ export const PipelineFolder: msRest.CompositeMapper = { } }; -export const PipelineElapsedTimeMetricPolicy: msRest.CompositeMapper = { - serializedName: "PipelineElapsedTimeMetricPolicy", +export const IntegrationRuntimeMonitoringData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineElapsedTimeMetricPolicy", + className: "IntegrationRuntimeMonitoringData", modelProperties: { - duration: { - serializedName: "duration", + name: { + serializedName: "name", type: { - name: "Object" + name: "String" } - } - } - } -}; - -export const PipelinePolicy: msRest.CompositeMapper = { - serializedName: "PipelinePolicy", - type: { - name: "Composite", - className: "PipelinePolicy", - modelProperties: { - elapsedTimeMetric: { - serializedName: "elapsedTimeMetric", + }, + nodes: { + serializedName: "nodes", type: { - name: "Composite", - className: "PipelineElapsedTimeMetricPolicy" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeNodeMonitoringData" + } + } } } } } }; -export const PipelineResource: msRest.CompositeMapper = { - serializedName: "PipelineResource", +export const IntegrationRuntimeNodeMonitoringData: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineResource", + className: "IntegrationRuntimeNodeMonitoringData", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...SubResource.type.modelProperties, - description: { - serializedName: "properties.description", + nodeName: { + serializedName: "nodeName", + readOnly: true, type: { name: "String" } }, - activities: { - serializedName: "properties.activities", + availableMemoryInMB: { + serializedName: "availableMemoryInMB", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Activity", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Number" } }, - parameters: { - serializedName: "properties.parameters", + cpuUtilization: { + serializedName: "cpuUtilization", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "ParameterSpecification" - } - } + name: "Number" } }, - variables: { - serializedName: "properties.variables", + concurrentJobsLimit: { + serializedName: "concurrentJobsLimit", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "VariableSpecification" - } - } + name: "Number" } }, - concurrency: { - serializedName: "properties.concurrency", - constraints: { - InclusiveMinimum: 1 - }, + concurrentJobsRunning: { + serializedName: "concurrentJobsRunning", + readOnly: true, type: { name: "Number" } }, - annotations: { - serializedName: "properties.annotations", + maxConcurrentJobs: { + serializedName: "maxConcurrentJobs", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Number" } }, - runDimensions: { - serializedName: "properties.runDimensions", + sentBytes: { + serializedName: "sentBytes", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Number" } }, - folder: { - serializedName: "properties.folder", + receivedBytes: { + serializedName: "receivedBytes", + readOnly: true, type: { - name: "Composite", - className: "PipelineFolder" + name: "Number" } - }, - policy: { - serializedName: "properties.policy", + } + } + } +}; + +export const LinkedIntegrationRuntimeRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinkedIntegrationRuntimeRequest", + modelProperties: { + linkedFactoryName: { + serializedName: "factoryName", + required: true, type: { - name: "Composite", - className: "PipelinePolicy" + name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const Trigger: msRest.CompositeMapper = { - serializedName: "Trigger", +export const CreateLinkedIntegrationRuntimeRequest: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "Trigger", - className: "Trigger", + className: "CreateLinkedIntegrationRuntimeRequest", modelProperties: { - description: { - serializedName: "description", + name: { + serializedName: "name", type: { name: "String" } }, - runtimeState: { - readOnly: true, - serializedName: "runtimeState", + subscriptionId: { + serializedName: "subscriptionId", type: { name: "String" } }, - annotations: { - serializedName: "annotations", + dataFactoryName: { + serializedName: "dataFactoryName", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "String" } }, - type: { - required: true, - serializedName: "type", + dataFactoryLocation: { + serializedName: "dataFactoryLocation", type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const TriggerResource: msRest.CompositeMapper = { - serializedName: "TriggerResource", +export const SsisObjectMetadataStatusResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerResource", + className: "SsisObjectMetadataStatusResponse", modelProperties: { - ...SubResource.type.modelProperties, + status: { + serializedName: "status", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, properties: { - required: true, serializedName: "properties", type: { - name: "Composite", - className: "Trigger", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" + } + }, + error: { + serializedName: "error", + type: { + name: "String" } } } } }; -export const TriggerQueryResponse: msRest.CompositeMapper = { - serializedName: "TriggerQueryResponse", +export const GetSsisObjectMetadataRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerQueryResponse", + className: "GetSsisObjectMetadataRequest", + modelProperties: { + metadataPath: { + serializedName: "metadataPath", + type: { + name: "String" + } + } + } + } +}; + +export const SsisObjectMetadataListResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SsisObjectMetadataListResponse", modelProperties: { value: { - required: true, serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TriggerResource" + className: "SsisObjectMetadata" } } } }, - continuationToken: { - serializedName: "continuationToken", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -1469,15 +1430,37 @@ export const TriggerQueryResponse: msRest.CompositeMapper = { } }; -export const CreateRunResponse: msRest.CompositeMapper = { - serializedName: "CreateRunResponse", +export const SsisObjectMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CreateRunResponse", + className: "SsisObjectMetadata", + uberParent: "SsisObjectMetadata", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - runId: { + type: { + serializedName: "type", required: true, - serializedName: "runId", + type: { + name: "String" + } + }, + id: { + serializedName: "id", + type: { + name: "Number" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + description: { + serializedName: "description", type: { name: "String" } @@ -1486,136 +1469,197 @@ export const CreateRunResponse: msRest.CompositeMapper = { } }; -export const TriggerSubscriptionOperationStatus: msRest.CompositeMapper = { - serializedName: "TriggerSubscriptionOperationStatus", +export const SelfHostedIntegrationRuntimeNode: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerSubscriptionOperationStatus", + className: "SelfHostedIntegrationRuntimeNode", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - triggerName: { + nodeName: { + serializedName: "nodeName", readOnly: true, - serializedName: "triggerName", type: { name: "String" } }, - status: { + machineName: { + serializedName: "machineName", readOnly: true, - serializedName: "status", type: { name: "String" } - } - } - } -}; - -export const FactoryVSTSConfiguration: msRest.CompositeMapper = { - serializedName: "FactoryVSTSConfiguration", - type: { - name: "Composite", - polymorphicDiscriminator: FactoryRepoConfiguration.type.polymorphicDiscriminator, - uberParent: "FactoryRepoConfiguration", - className: "FactoryVSTSConfiguration", - modelProperties: { - ...FactoryRepoConfiguration.type.modelProperties, - projectName: { - required: true, - serializedName: "projectName", + }, + hostServiceUri: { + serializedName: "hostServiceUri", + readOnly: true, type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", + status: { + serializedName: "status", + readOnly: true, + type: { + name: "String" + } + }, + capabilities: { + serializedName: "capabilities", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + versionStatus: { + serializedName: "versionStatus", + readOnly: true, + type: { + name: "String" + } + }, + version: { + serializedName: "version", + readOnly: true, + type: { + name: "String" + } + }, + registerTime: { + serializedName: "registerTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + lastConnectTime: { + serializedName: "lastConnectTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + expiryTime: { + serializedName: "expiryTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + lastStartTime: { + serializedName: "lastStartTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + lastStopTime: { + serializedName: "lastStopTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + lastUpdateResult: { + serializedName: "lastUpdateResult", + readOnly: true, type: { name: "String" } + }, + lastStartUpdateTime: { + serializedName: "lastStartUpdateTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + lastEndUpdateTime: { + serializedName: "lastEndUpdateTime", + readOnly: true, + type: { + name: "DateTime" + } + }, + isActiveDispatcher: { + serializedName: "isActiveDispatcher", + readOnly: true, + type: { + name: "Boolean" + } + }, + concurrentJobsLimit: { + serializedName: "concurrentJobsLimit", + readOnly: true, + type: { + name: "Number" + } + }, + maxConcurrentJobs: { + serializedName: "maxConcurrentJobs", + readOnly: true, + type: { + name: "Number" + } } } } }; -export const FactoryGitHubConfiguration: msRest.CompositeMapper = { - serializedName: "FactoryGitHubConfiguration", +export const UpdateIntegrationRuntimeNodeRequest: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: FactoryRepoConfiguration.type.polymorphicDiscriminator, - uberParent: "FactoryRepoConfiguration", - className: "FactoryGitHubConfiguration", + className: "UpdateIntegrationRuntimeNodeRequest", modelProperties: { - ...FactoryRepoConfiguration.type.modelProperties, - hostName: { - serializedName: "hostName", + concurrentJobsLimit: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "concurrentJobsLimit", type: { - name: "String" + name: "Number" } } } } }; -export const FactoryRepoUpdate: msRest.CompositeMapper = { - serializedName: "FactoryRepoUpdate", +export const IntegrationRuntimeNodeIpAddress: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FactoryRepoUpdate", + className: "IntegrationRuntimeNodeIpAddress", modelProperties: { - factoryResourceId: { - serializedName: "factoryResourceId", + ipAddress: { + serializedName: "ipAddress", + readOnly: true, type: { name: "String" } - }, - repoConfiguration: { - serializedName: "repoConfiguration", - type: { - name: "Composite", - className: "FactoryRepoConfiguration" - } } } } }; -export const GitHubAccessTokenRequest: msRest.CompositeMapper = { - serializedName: "GitHubAccessTokenRequest", +export const LinkedServiceListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GitHubAccessTokenRequest", + className: "LinkedServiceListResponse", modelProperties: { - gitHubAccessCode: { + value: { + serializedName: "value", required: true, - serializedName: "gitHubAccessCode", - type: { - name: "String" - } - }, - gitHubClientId: { - serializedName: "gitHubClientId", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceResource" + } + } } }, - gitHubAccessTokenBaseUrl: { - required: true, - serializedName: "gitHubAccessTokenBaseUrl", - type: { - name: "String" - } - } - } - } -}; - -export const GitHubAccessTokenResponse: msRest.CompositeMapper = { - serializedName: "GitHubAccessTokenResponse", - type: { - name: "Composite", - className: "GitHubAccessTokenResponse", - modelProperties: { - gitHubAccessToken: { - serializedName: "gitHubAccessToken", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -1624,181 +1668,241 @@ export const GitHubAccessTokenResponse: msRest.CompositeMapper = { } }; -export const UserAccessPolicy: msRest.CompositeMapper = { - serializedName: "UserAccessPolicy", +export const LinkedService: coreClient.CompositeMapper = { + serializedName: "LinkedService", type: { name: "Composite", - className: "UserAccessPolicy", + className: "LinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - permissions: { - serializedName: "permissions", + type: { + serializedName: "type", + required: true, type: { name: "String" } }, - accessResourcePath: { - serializedName: "accessResourcePath", + connectVia: { + serializedName: "connectVia", type: { - name: "String" + name: "Composite", + className: "IntegrationRuntimeReference" } }, - profileName: { - serializedName: "profileName", + description: { + serializedName: "description", type: { name: "String" } }, - startTime: { - serializedName: "startTime", + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Composite", className: "ParameterSpecification" } + } } }, - expireTime: { - serializedName: "expireTime", + annotations: { + serializedName: "annotations", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } } } } }; -export const AccessPolicyResponse: msRest.CompositeMapper = { - serializedName: "AccessPolicyResponse", +export const IntegrationRuntimeReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AccessPolicyResponse", + className: "IntegrationRuntimeReference", modelProperties: { - policy: { - serializedName: "policy", + type: { + defaultValue: "IntegrationRuntimeReference", + isConstant: true, + serializedName: "type", type: { - name: "Composite", - className: "UserAccessPolicy" + name: "String" } }, - accessToken: { - serializedName: "accessToken", + referenceName: { + serializedName: "referenceName", + required: true, type: { name: "String" } }, - dataPlaneUrl: { - serializedName: "dataPlaneUrl", + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } } } } }; -export const PipelineReference: msRest.CompositeMapper = { - serializedName: "PipelineReference", +export const ParameterSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineReference", + className: "ParameterSpecification", modelProperties: { type: { - required: true, - isConstant: true, serializedName: "type", - defaultValue: "PipelineReference", + required: true, type: { name: "String" } }, - referenceName: { - required: true, - serializedName: "referenceName", - type: { - name: "String" - } - }, - name: { - serializedName: "name", + defaultValue: { + serializedName: "defaultValue", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const TriggerPipelineReference: msRest.CompositeMapper = { - serializedName: "TriggerPipelineReference", +export const DatasetListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TriggerPipelineReference", + className: "DatasetListResponse", modelProperties: { - pipelineReference: { - serializedName: "pipelineReference", - type: { - name: "Composite", - className: "PipelineReference" - } - }, - parameters: { - serializedName: "parameters", + value: { + serializedName: "value", + required: true, type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "DatasetResource" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const FactoryUpdateParameters: msRest.CompositeMapper = { - serializedName: "FactoryUpdateParameters", +export const Dataset: coreClient.CompositeMapper = { + serializedName: "Dataset", type: { name: "Composite", - className: "FactoryUpdateParameters", + className: "Dataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - tags: { - serializedName: "tags", + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + structure: { + serializedName: "structure", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + schema: { + serializedName: "schema", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + linkedServiceName: { + serializedName: "linkedServiceName", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + parameters: { + serializedName: "parameters", type: { name: "Dictionary", value: { + type: { name: "Composite", className: "ParameterSpecification" } + } + } + }, + annotations: { + serializedName: "annotations", + type: { + name: "Sequence", + element: { type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } }, - identity: { - serializedName: "identity", + folder: { + serializedName: "folder", type: { name: "Composite", - className: "FactoryIdentity" + className: "DatasetFolder" } } } } }; -export const DatasetReference: msRest.CompositeMapper = { - serializedName: "DatasetReference", +export const LinkedServiceReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatasetReference", + className: "LinkedServiceReference", modelProperties: { type: { - required: true, + defaultValue: "LinkedServiceReference", isConstant: true, serializedName: "type", - defaultValue: "DatasetReference", type: { name: "String" } }, referenceName: { - required: true, serializedName: "referenceName", + required: true, type: { name: "String" } @@ -1808,9 +1912,7 @@ export const DatasetReference: msRest.CompositeMapper = { type: { name: "Dictionary", value: { - type: { - name: "Object" - } + type: { name: "Dictionary", value: { type: { name: "any" } } } } } } @@ -1818,101 +1920,125 @@ export const DatasetReference: msRest.CompositeMapper = { } }; -export const DatasetDebugResource: msRest.CompositeMapper = { - serializedName: "DatasetDebugResource", +export const DatasetFolder: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatasetDebugResource", + className: "DatasetFolder", modelProperties: { - ...SubResourceDebugResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", - defaultValue: {}, + name: { + serializedName: "name", type: { - name: "Composite", - className: "Dataset", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } } } } }; -export const LinkedServiceDebugResource: msRest.CompositeMapper = { - serializedName: "LinkedServiceDebugResource", +export const PipelineListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LinkedServiceDebugResource", + className: "PipelineListResponse", modelProperties: { - ...SubResourceDebugResource.type.modelProperties, - properties: { + value: { + serializedName: "value", required: true, - serializedName: "properties", - defaultValue: {}, type: { - name: "Composite", - className: "LinkedService", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "PipelineResource" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const TriggerFilterParameters: msRest.CompositeMapper = { - serializedName: "TriggerFilterParameters", +export const Activity: coreClient.CompositeMapper = { + serializedName: "Activity", type: { name: "Composite", - className: "TriggerFilterParameters", + className: "Activity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - continuationToken: { - serializedName: "continuationToken", + name: { + serializedName: "name", + required: true, type: { name: "String" } }, - parentTriggerName: { - serializedName: "parentTriggerName", + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + }, + description: { + serializedName: "description", type: { name: "String" } + }, + dependsOn: { + serializedName: "dependsOn", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityDependency" + } + } + } + }, + userProperties: { + serializedName: "userProperties", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UserProperty" + } + } + } } } } }; -export const RunQueryFilter: msRest.CompositeMapper = { - serializedName: "RunQueryFilter", +export const ActivityDependency: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunQueryFilter", + className: "ActivityDependency", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - operand: { - required: true, - serializedName: "operand", - type: { - name: "String" - } - }, - operator: { + activity: { + serializedName: "activity", required: true, - serializedName: "operator", type: { name: "String" } }, - values: { + dependencyConditions: { + serializedName: "dependencyConditions", required: true, - serializedName: "values", type: { name: "Sequence", element: { @@ -1926,68 +2052,153 @@ export const RunQueryFilter: msRest.CompositeMapper = { } }; -export const RunQueryOrderBy: msRest.CompositeMapper = { - serializedName: "RunQueryOrderBy", +export const UserProperty: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunQueryOrderBy", + className: "UserProperty", modelProperties: { - orderBy: { + name: { + serializedName: "name", required: true, - serializedName: "orderBy", type: { name: "String" } }, - order: { + value: { + serializedName: "value", required: true, - serializedName: "order", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const RunFilterParameters: msRest.CompositeMapper = { - serializedName: "RunFilterParameters", +export const VariableSpecification: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RunFilterParameters", + className: "VariableSpecification", modelProperties: { - continuationToken: { - serializedName: "continuationToken", - type: { - name: "String" - } - }, - lastUpdatedAfter: { + type: { + serializedName: "type", required: true, - serializedName: "lastUpdatedAfter", type: { - name: "DateTime" + name: "String" } }, - lastUpdatedBefore: { - required: true, - serializedName: "lastUpdatedBefore", + defaultValue: { + serializedName: "defaultValue", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - filters: { - serializedName: "filters", + } + } + } +}; + +export const PipelineFolder: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PipelineFolder", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RunQueryFilter" - } - } + name: "String" } - }, + } + } + } +}; + +export const PipelinePolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PipelinePolicy", + modelProperties: { + elapsedTimeMetric: { + serializedName: "elapsedTimeMetric", + type: { + name: "Composite", + className: "PipelineElapsedTimeMetricPolicy" + } + } + } + } +}; + +export const PipelineElapsedTimeMetricPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PipelineElapsedTimeMetricPolicy", + modelProperties: { + duration: { + serializedName: "duration", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const CreateRunResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CreateRunResponse", + modelProperties: { + runId: { + serializedName: "runId", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const RunFilterParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RunFilterParameters", + modelProperties: { + continuationToken: { + serializedName: "continuationToken", + type: { + name: "String" + } + }, + lastUpdatedAfter: { + serializedName: "lastUpdatedAfter", + required: true, + type: { + name: "DateTime" + } + }, + lastUpdatedBefore: { + serializedName: "lastUpdatedBefore", + required: true, + type: { + name: "DateTime" + } + }, + filters: { + serializedName: "filters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunQueryFilter" + } + } + } + }, orderBy: { serializedName: "orderBy", type: { @@ -2004,29 +2215,84 @@ export const RunFilterParameters: msRest.CompositeMapper = { } }; -export const PipelineRunInvokedBy: msRest.CompositeMapper = { - serializedName: "PipelineRunInvokedBy", +export const RunQueryFilter: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineRunInvokedBy", + className: "RunQueryFilter", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + operand: { + serializedName: "operand", + required: true, type: { name: "String" } }, - id: { - readOnly: true, - serializedName: "id", + operator: { + serializedName: "operator", + required: true, type: { name: "String" } }, - invokedByType: { - readOnly: true, - serializedName: "invokedByType", + values: { + serializedName: "values", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const RunQueryOrderBy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RunQueryOrderBy", + modelProperties: { + orderBy: { + serializedName: "orderBy", + required: true, + type: { + name: "String" + } + }, + order: { + serializedName: "order", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const PipelineRunsQueryResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PipelineRunsQueryResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PipelineRun" + } + } + } + }, + continuationToken: { + serializedName: "continuationToken", type: { name: "String" } @@ -2035,66 +2301,57 @@ export const PipelineRunInvokedBy: msRest.CompositeMapper = { } }; -export const PipelineRun: msRest.CompositeMapper = { - serializedName: "PipelineRun", +export const PipelineRun: coreClient.CompositeMapper = { type: { name: "Composite", className: "PipelineRun", + additionalProperties: { type: { name: "Object" } }, modelProperties: { runId: { - readOnly: true, serializedName: "runId", + readOnly: true, type: { name: "String" } }, runGroupId: { - readOnly: true, serializedName: "runGroupId", + readOnly: true, type: { name: "String" } }, isLatest: { - readOnly: true, serializedName: "isLatest", + readOnly: true, type: { name: "Boolean" } }, pipelineName: { - readOnly: true, serializedName: "pipelineName", + readOnly: true, type: { name: "String" } }, parameters: { - readOnly: true, serializedName: "parameters", + readOnly: true, type: { name: "Dictionary", - value: { - type: { - name: "String" - } - } + value: { type: { name: "String" } } } }, runDimensions: { - readOnly: true, serializedName: "runDimensions", + readOnly: true, type: { name: "Dictionary", - value: { - type: { - name: "String" - } - } + value: { type: { name: "String" } } } }, invokedBy: { - readOnly: true, serializedName: "invokedBy", type: { name: "Composite", @@ -2102,76 +2359,109 @@ export const PipelineRun: msRest.CompositeMapper = { } }, lastUpdated: { - readOnly: true, serializedName: "lastUpdated", + readOnly: true, type: { name: "DateTime" } }, runStart: { - readOnly: true, serializedName: "runStart", + readOnly: true, type: { name: "DateTime" } }, runEnd: { - readOnly: true, serializedName: "runEnd", + readOnly: true, type: { name: "DateTime" } }, durationInMs: { - readOnly: true, serializedName: "durationInMs", + readOnly: true, type: { name: "Number" } }, status: { - readOnly: true, serializedName: "status", + readOnly: true, type: { name: "String" } }, message: { - readOnly: true, serializedName: "message", + readOnly: true, type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" + } + } +}; + +export const PipelineRunInvokedBy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PipelineRunInvokedBy", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + invokedByType: { + serializedName: "invokedByType", + readOnly: true, + type: { + name: "String" + } + }, + pipelineName: { + serializedName: "pipelineName", + readOnly: true, + type: { + name: "String" + } + }, + pipelineRunId: { + serializedName: "pipelineRunId", + readOnly: true, + type: { + name: "String" + } } } } }; -export const PipelineRunsQueryResponse: msRest.CompositeMapper = { - serializedName: "PipelineRunsQueryResponse", +export const ActivityRunsQueryResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PipelineRunsQueryResponse", + className: "ActivityRunsQueryResponse", modelProperties: { value: { - required: true, serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "PipelineRun", - additionalProperties: { - type: { - name: "Object" - } - } + className: "ActivityRun" } } } @@ -2186,138 +2476,130 @@ export const PipelineRunsQueryResponse: msRest.CompositeMapper = { } }; -export const ActivityRun: msRest.CompositeMapper = { - serializedName: "ActivityRun", +export const ActivityRun: coreClient.CompositeMapper = { type: { name: "Composite", className: "ActivityRun", + additionalProperties: { type: { name: "Object" } }, modelProperties: { pipelineName: { - readOnly: true, serializedName: "pipelineName", + readOnly: true, type: { name: "String" } }, pipelineRunId: { - readOnly: true, serializedName: "pipelineRunId", + readOnly: true, type: { name: "String" } }, activityName: { - readOnly: true, serializedName: "activityName", + readOnly: true, type: { name: "String" } }, activityType: { - readOnly: true, serializedName: "activityType", + readOnly: true, type: { name: "String" } }, activityRunId: { - readOnly: true, serializedName: "activityRunId", + readOnly: true, type: { name: "String" } }, linkedServiceName: { - readOnly: true, serializedName: "linkedServiceName", + readOnly: true, type: { name: "String" } }, status: { - readOnly: true, serializedName: "status", + readOnly: true, type: { name: "String" } }, activityRunStart: { - readOnly: true, serializedName: "activityRunStart", + readOnly: true, type: { name: "DateTime" } }, activityRunEnd: { - readOnly: true, serializedName: "activityRunEnd", + readOnly: true, type: { name: "DateTime" } }, durationInMs: { - readOnly: true, serializedName: "durationInMs", + readOnly: true, type: { name: "Number" } }, input: { - readOnly: true, serializedName: "input", + readOnly: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, output: { - readOnly: true, serializedName: "output", + readOnly: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, error: { - readOnly: true, serializedName: "error", + readOnly: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ActivityRunsQueryResponse: msRest.CompositeMapper = { - serializedName: "ActivityRunsQueryResponse", +export const TriggerListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ActivityRunsQueryResponse", + className: "TriggerListResponse", modelProperties: { value: { - required: true, serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ActivityRun", - additionalProperties: { - type: { - name: "Object" - } - } + className: "TriggerResource" } } } }, - continuationToken: { - serializedName: "continuationToken", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -2326,131 +2608,140 @@ export const ActivityRunsQueryResponse: msRest.CompositeMapper = { } }; -export const TriggerRun: msRest.CompositeMapper = { - serializedName: "TriggerRun", +export const Trigger: coreClient.CompositeMapper = { + serializedName: "Trigger", type: { name: "Composite", - className: "TriggerRun", + className: "Trigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - triggerRunId: { - readOnly: true, - serializedName: "triggerRunId", + type: { + serializedName: "type", + required: true, type: { name: "String" } }, - triggerName: { - readOnly: true, - serializedName: "triggerName", + description: { + serializedName: "description", type: { name: "String" } }, - triggerType: { + runtimeState: { + serializedName: "runtimeState", readOnly: true, - serializedName: "triggerType", type: { name: "String" } }, - triggerRunTimestamp: { - readOnly: true, - serializedName: "triggerRunTimestamp", + annotations: { + serializedName: "annotations", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } - }, - status: { - readOnly: true, - serializedName: "status", + } + } + } +}; + +export const TriggerFilterParameters: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TriggerFilterParameters", + modelProperties: { + continuationToken: { + serializedName: "continuationToken", type: { name: "String" } }, - message: { - readOnly: true, - serializedName: "message", + parentTriggerName: { + serializedName: "parentTriggerName", type: { name: "String" } - }, - properties: { - readOnly: true, - serializedName: "properties", + } + } + } +}; + +export const TriggerQueryResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TriggerQueryResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "TriggerResource" } } } }, - triggeredPipelines: { - readOnly: true, - serializedName: "triggeredPipelines", + continuationToken: { + serializedName: "continuationToken", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } - }, - runDimension: { + } + } + } +}; + +export const TriggerSubscriptionOperationStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TriggerSubscriptionOperationStatus", + modelProperties: { + triggerName: { + serializedName: "triggerName", readOnly: true, - serializedName: "runDimension", type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } + name: "String" } }, - dependencyStatus: { + status: { + serializedName: "status", readOnly: true, - serializedName: "dependencyStatus", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const TriggerRunsQueryResponse: msRest.CompositeMapper = { - serializedName: "TriggerRunsQueryResponse", +export const TriggerRunsQueryResponse: coreClient.CompositeMapper = { type: { name: "Composite", className: "TriggerRunsQueryResponse", modelProperties: { value: { - required: true, serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "TriggerRun", - additionalProperties: { - type: { - name: "Object" - } - } + className: "TriggerRun" } } } @@ -2465,334 +2756,242 @@ export const TriggerRunsQueryResponse: msRest.CompositeMapper = { } }; -export const OperationDisplay: msRest.CompositeMapper = { - serializedName: "Operation_display", +export const TriggerRun: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationDisplay", + className: "TriggerRun", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - description: { - serializedName: "description", + triggerRunId: { + serializedName: "triggerRunId", + readOnly: true, type: { name: "String" } }, - provider: { - serializedName: "provider", + triggerName: { + serializedName: "triggerName", + readOnly: true, type: { name: "String" } }, - resource: { - serializedName: "resource", + triggerType: { + serializedName: "triggerType", + readOnly: true, type: { name: "String" } }, - operation: { - serializedName: "operation", + triggerRunTimestamp: { + serializedName: "triggerRunTimestamp", + readOnly: true, type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const OperationLogSpecification: msRest.CompositeMapper = { - serializedName: "OperationLogSpecification", - type: { - name: "Composite", - className: "OperationLogSpecification", - modelProperties: { - name: { - serializedName: "name", + }, + status: { + serializedName: "status", + readOnly: true, type: { name: "String" } }, - displayName: { - serializedName: "displayName", + message: { + serializedName: "message", + readOnly: true, type: { name: "String" } }, - blobDuration: { - serializedName: "blobDuration", + properties: { + serializedName: "properties", + readOnly: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } - } - } - } -}; - -export const OperationMetricAvailability: msRest.CompositeMapper = { - serializedName: "OperationMetricAvailability", - type: { - name: "Composite", - className: "OperationMetricAvailability", - modelProperties: { - timeGrain: { - serializedName: "timeGrain", + }, + triggeredPipelines: { + serializedName: "triggeredPipelines", + readOnly: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } }, - blobDuration: { - serializedName: "blobDuration", + runDimension: { + serializedName: "runDimension", + readOnly: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + dependencyStatus: { + serializedName: "dependencyStatus", + readOnly: true, + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } } } } }; -export const OperationMetricDimension: msRest.CompositeMapper = { - serializedName: "OperationMetricDimension", +export const DataFlow: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationMetricDimension", + className: "DataFlow", + uberParent: "DataFlow", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - name: { - serializedName: "name", + type: { + serializedName: "type", type: { name: "String" } }, - displayName: { - serializedName: "displayName", + description: { + serializedName: "description", type: { name: "String" } }, - toBeExportedForShoebox: { - serializedName: "toBeExportedForShoebox", + annotations: { + serializedName: "annotations", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + }, + folder: { + serializedName: "folder", + type: { + name: "Composite", + className: "DataFlowFolder" } } } } }; -export const OperationMetricSpecification: msRest.CompositeMapper = { - serializedName: "OperationMetricSpecification", +export const DataFlowFolder: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationMetricSpecification", + className: "DataFlowFolder", modelProperties: { name: { serializedName: "name", type: { name: "String" } - }, - displayName: { - serializedName: "displayName", - type: { - name: "String" - } - }, - displayDescription: { - serializedName: "displayDescription", - type: { - name: "String" - } - }, - unit: { - serializedName: "unit", - type: { - name: "String" - } - }, - aggregationType: { - serializedName: "aggregationType", - type: { - name: "String" - } - }, - enableRegionalMdmAccount: { - serializedName: "enableRegionalMdmAccount", - type: { - name: "String" - } - }, - sourceMdmAccount: { - serializedName: "sourceMdmAccount", - type: { - name: "String" - } - }, - sourceMdmNamespace: { - serializedName: "sourceMdmNamespace", - type: { - name: "String" - } - }, - availabilities: { - serializedName: "availabilities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationMetricAvailability" - } - } - } - }, - dimensions: { - serializedName: "dimensions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationMetricDimension" - } - } - } } } } }; -export const OperationServiceSpecification: msRest.CompositeMapper = { - serializedName: "OperationServiceSpecification", +export const DataFlowListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationServiceSpecification", + className: "DataFlowListResponse", modelProperties: { - logSpecifications: { - serializedName: "logSpecifications", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "OperationLogSpecification" + className: "DataFlowResource" } } } }, - metricSpecifications: { - serializedName: "metricSpecifications", + nextLink: { + serializedName: "nextLink", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OperationMetricSpecification" - } - } + name: "String" } } } } }; -export const Operation: msRest.CompositeMapper = { - serializedName: "Operation", +export const CreateDataFlowDebugSessionRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Operation", + className: "CreateDataFlowDebugSessionRequest", modelProperties: { - name: { - serializedName: "name", + computeType: { + serializedName: "computeType", type: { name: "String" } }, - origin: { - serializedName: "origin", + coreCount: { + serializedName: "coreCount", type: { - name: "String" + name: "Number" } }, - display: { - serializedName: "display", + timeToLive: { + serializedName: "timeToLive", type: { - name: "Composite", - className: "OperationDisplay" + name: "Number" } }, - serviceSpecification: { - serializedName: "properties.serviceSpecification", + integrationRuntime: { + serializedName: "integrationRuntime", type: { name: "Composite", - className: "OperationServiceSpecification" - } - } - } - } -}; - -export const GetSsisObjectMetadataRequest: msRest.CompositeMapper = { - serializedName: "GetSsisObjectMetadataRequest", - type: { - name: "Composite", - className: "GetSsisObjectMetadataRequest", - modelProperties: { - metadataPath: { - serializedName: "metadataPath", - type: { - name: "String" + className: "IntegrationRuntimeDebugResource" } } } } }; -export const SsisObjectMetadataStatusResponse: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadataStatusResponse", +export const SubResourceDebugResource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SsisObjectMetadataStatusResponse", + className: "SubResourceDebugResource", modelProperties: { - status: { - serializedName: "status", - type: { - name: "String" - } - }, name: { serializedName: "name", type: { name: "String" } - }, - properties: { - serializedName: "properties", - type: { - name: "String" - } - }, - error: { - serializedName: "error", - type: { - name: "String" - } } } } }; -export const ExposureControlRequest: msRest.CompositeMapper = { - serializedName: "ExposureControlRequest", +export const CreateDataFlowDebugSessionResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExposureControlRequest", + className: "CreateDataFlowDebugSessionResponse", modelProperties: { - featureName: { - serializedName: "featureName", + status: { + serializedName: "status", type: { name: "String" } }, - featureType: { - serializedName: "featureType", + sessionId: { + serializedName: "sessionId", type: { name: "String" } @@ -2801,45 +3000,89 @@ export const ExposureControlRequest: msRest.CompositeMapper = { } }; -export const ExposureControlBatchRequest: msRest.CompositeMapper = { - serializedName: "ExposureControlBatchRequest", +export const QueryDataFlowDebugSessionsResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExposureControlBatchRequest", + className: "QueryDataFlowDebugSessionsResponse", modelProperties: { - exposureControlRequests: { - required: true, - serializedName: "exposureControlRequests", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExposureControlRequest" + className: "DataFlowDebugSessionInfo" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ExposureControlResponse: msRest.CompositeMapper = { - serializedName: "ExposureControlResponse", +export const DataFlowDebugSessionInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExposureControlResponse", + className: "DataFlowDebugSessionInfo", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - featureName: { - readOnly: true, - serializedName: "featureName", + dataFlowName: { + serializedName: "dataFlowName", type: { name: "String" } }, - value: { - readOnly: true, - serializedName: "value", + computeType: { + serializedName: "computeType", + type: { + name: "String" + } + }, + coreCount: { + serializedName: "coreCount", + type: { + name: "Number" + } + }, + nodeCount: { + serializedName: "nodeCount", + type: { + name: "Number" + } + }, + integrationRuntimeName: { + serializedName: "integrationRuntimeName", + type: { + name: "String" + } + }, + sessionId: { + serializedName: "sessionId", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "String" + } + }, + timeToLiveInMinutes: { + serializedName: "timeToLiveInMinutes", + type: { + name: "Number" + } + }, + lastActivityTime: { + serializedName: "lastActivityTime", type: { name: "String" } @@ -2848,172 +3091,144 @@ export const ExposureControlResponse: msRest.CompositeMapper = { } }; -export const ExposureControlBatchResponse: msRest.CompositeMapper = { - serializedName: "ExposureControlBatchResponse", +export const DataFlowDebugPackage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExposureControlBatchResponse", + className: "DataFlowDebugPackage", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - exposureControlResponses: { - required: true, - serializedName: "exposureControlResponses", + sessionId: { + serializedName: "sessionId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExposureControlResponse" - } - } + name: "String" } - } - } - } -}; - -export const DataFlowFolder: msRest.CompositeMapper = { - serializedName: "DataFlow_folder", - type: { - name: "Composite", - className: "DataFlowFolder", - modelProperties: { - name: { - serializedName: "name", + }, + dataFlow: { + serializedName: "dataFlow", type: { - name: "String" + name: "Composite", + className: "DataFlowDebugResource" } - } - } - } -}; - -export const DataFlow: msRest.CompositeMapper = { - serializedName: "DataFlow", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DataFlow", - className: "DataFlow", - modelProperties: { - description: { - serializedName: "description", + }, + dataFlows: { + serializedName: "dataFlows", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowDebugResource" + } + } } }, - annotations: { - serializedName: "annotations", + datasets: { + serializedName: "datasets", type: { name: "Sequence", element: { type: { - name: "Object" + name: "Composite", + className: "DatasetDebugResource" } } } }, - folder: { - serializedName: "folder", + linkedServices: { + serializedName: "linkedServices", type: { - name: "Composite", - className: "DataFlowFolder" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceDebugResource" + } + } } }, - type: { - required: true, - serializedName: "type", + staging: { + serializedName: "staging", type: { - name: "String" + name: "Composite", + className: "DataFlowStagingInfo" } - } - } - } -}; - -export const DataFlowResource: msRest.CompositeMapper = { - serializedName: "DataFlowResource", - type: { - name: "Composite", - className: "DataFlowResource", - modelProperties: { - ...SubResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", + }, + debugSettings: { + serializedName: "debugSettings", type: { name: "Composite", - className: "DataFlow" + className: "DataFlowDebugPackageDebugSettings" } } } } }; -export const CreateDataFlowDebugSessionRequest: msRest.CompositeMapper = { - serializedName: "CreateDataFlowDebugSessionRequest", +export const DataFlowStagingInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CreateDataFlowDebugSessionRequest", + className: "DataFlowStagingInfo", modelProperties: { - computeType: { - serializedName: "computeType", - type: { - name: "String" - } - }, - coreCount: { - serializedName: "coreCount", - type: { - name: "Number" - } - }, - timeToLive: { - serializedName: "timeToLive", + linkedService: { + serializedName: "linkedService", type: { - name: "Number" + name: "Composite", + className: "LinkedServiceReference" } }, - integrationRuntime: { - serializedName: "integrationRuntime", + folderPath: { + serializedName: "folderPath", type: { - name: "Composite", - className: "IntegrationRuntimeDebugResource" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const CreateDataFlowDebugSessionResponse: msRest.CompositeMapper = { - serializedName: "CreateDataFlowDebugSessionResponse", +export const DataFlowDebugPackageDebugSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CreateDataFlowDebugSessionResponse", + className: "DataFlowDebugPackageDebugSettings", modelProperties: { - status: { - serializedName: "status", + sourceSettings: { + serializedName: "sourceSettings", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowSourceSetting" + } + } } }, - sessionId: { - serializedName: "sessionId", + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } + }, + datasetParameters: { + serializedName: "datasetParameters", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const DataFlowSourceSetting: msRest.CompositeMapper = { - serializedName: "DataFlowSourceSetting", +export const DataFlowSourceSetting: coreClient.CompositeMapper = { type: { name: "Composite", className: "DataFlowSourceSetting", + additionalProperties: { type: { name: "Object" } }, modelProperties: { sourceName: { serializedName: "sourceName", @@ -3027,191 +3242,120 @@ export const DataFlowSourceSetting: msRest.CompositeMapper = { name: "Number" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const DataFlowStagingInfo: msRest.CompositeMapper = { - serializedName: "DataFlowStagingInfo", +export const AddDataFlowToDebugSessionResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowStagingInfo", + className: "AddDataFlowToDebugSessionResponse", modelProperties: { - linkedService: { - serializedName: "linkedService", - type: { - name: "Composite", - className: "LinkedServiceReference" - } - }, - folderPath: { - serializedName: "folderPath", + jobVersion: { + serializedName: "jobVersion", type: { - name: "Object" + name: "String" } } } } }; -export const DataFlowDebugResource: msRest.CompositeMapper = { - serializedName: "DataFlowDebugResource", +export const DeleteDataFlowDebugSessionRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugResource", + className: "DeleteDataFlowDebugSessionRequest", modelProperties: { - ...SubResourceDebugResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", + sessionId: { + serializedName: "sessionId", type: { - name: "Composite", - className: "DataFlow" + name: "String" } } } } }; -export const DataFlowDebugPackageDebugSettings: msRest.CompositeMapper = { - serializedName: "DataFlowDebugPackage_debugSettings", +export const DataFlowDebugCommandRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugPackageDebugSettings", + className: "DataFlowDebugCommandRequest", modelProperties: { - sourceSettings: { - serializedName: "sourceSettings", + sessionId: { + serializedName: "sessionId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataFlowSourceSetting", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "String" } }, - parameters: { - serializedName: "parameters", + command: { + serializedName: "command", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "String" } }, - datasetParameters: { - serializedName: "datasetParameters", + commandPayload: { + serializedName: "commandPayload", type: { - name: "Object" + name: "Composite", + className: "DataFlowDebugCommandPayload" } } } } }; -export const DataFlowDebugPackage: msRest.CompositeMapper = { - serializedName: "DataFlowDebugPackage", +export const DataFlowDebugCommandPayload: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugPackage", + className: "DataFlowDebugCommandPayload", modelProperties: { - sessionId: { - serializedName: "sessionId", + streamName: { + serializedName: "streamName", + required: true, type: { name: "String" } }, - dataFlow: { - serializedName: "dataFlow", - type: { - name: "Composite", - className: "DataFlowDebugResource" - } - }, - datasets: { - serializedName: "datasets", + rowLimits: { + serializedName: "rowLimits", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatasetDebugResource" - } - } + name: "Number" } }, - linkedServices: { - serializedName: "linkedServices", + columns: { + serializedName: "columns", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "LinkedServiceDebugResource" + name: "String" } } } }, - staging: { - serializedName: "staging", - type: { - name: "Composite", - className: "DataFlowStagingInfo" - } - }, - debugSettings: { - serializedName: "debugSettings", + expression: { + serializedName: "expression", type: { - name: "Composite", - className: "DataFlowDebugPackageDebugSettings" + name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const AddDataFlowToDebugSessionResponse: msRest.CompositeMapper = { - serializedName: "AddDataFlowToDebugSessionResponse", +export const DataFlowDebugCommandResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AddDataFlowToDebugSessionResponse", + className: "DataFlowDebugCommandResponse", modelProperties: { - jobVersion: { - serializedName: "jobVersion", + status: { + serializedName: "status", type: { name: "String" } - } - } - } -}; - -export const DeleteDataFlowDebugSessionRequest: msRest.CompositeMapper = { - serializedName: "DeleteDataFlowDebugSessionRequest", - type: { - name: "Composite", - className: "DeleteDataFlowDebugSessionRequest", - modelProperties: { - sessionId: { - serializedName: "sessionId", + }, + data: { + serializedName: "data", type: { name: "String" } @@ -3220,38 +3364,26 @@ export const DeleteDataFlowDebugSessionRequest: msRest.CompositeMapper = { } }; -export const DataFlowDebugCommandPayload: msRest.CompositeMapper = { - serializedName: "DataFlowDebugCommandPayload", +export const ManagedVirtualNetworkListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugCommandPayload", + className: "ManagedVirtualNetworkListResponse", modelProperties: { - streamName: { + value: { + serializedName: "value", required: true, - serializedName: "streamName", - type: { - name: "String" - } - }, - rowLimits: { - serializedName: "rowLimits", - type: { - name: "Number" - } - }, - columns: { - serializedName: "columns", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ManagedVirtualNetworkResource" } } } }, - expression: { - serializedName: "expression", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -3260,49 +3392,54 @@ export const DataFlowDebugCommandPayload: msRest.CompositeMapper = { } }; -export const DataFlowDebugCommandRequest: msRest.CompositeMapper = { - serializedName: "DataFlowDebugCommandRequest", +export const ManagedVirtualNetwork: coreClient.CompositeMapper = { + serializedName: "ManagedVirtualNetwork", type: { name: "Composite", - className: "DataFlowDebugCommandRequest", + className: "ManagedVirtualNetwork", + uberParent: "ManagedVirtualNetwork", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - sessionId: { - serializedName: "sessionId", + vNetId: { + serializedName: "vNetId", + readOnly: true, type: { name: "String" } }, - command: { - serializedName: "command", + alias: { + serializedName: "alias", + readOnly: true, type: { name: "String" } - }, - commandPayload: { - serializedName: "commandPayload", - type: { - name: "Composite", - className: "DataFlowDebugCommandPayload" - } } } } }; +ManagedVirtualNetwork.type.polymorphicDiscriminator = + ManagedVirtualNetwork.type.polymorphicDiscriminator; -export const DataFlowDebugCommandResponse: msRest.CompositeMapper = { - serializedName: "DataFlowDebugCommandResponse", +export const ManagedPrivateEndpointListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowDebugCommandResponse", + className: "ManagedPrivateEndpointListResponse", modelProperties: { - status: { - serializedName: "status", + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedPrivateEndpointResource" + } + } } }, - data: { - serializedName: "data", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -3311,156 +3448,187 @@ export const DataFlowDebugCommandResponse: msRest.CompositeMapper = { } }; -export const DataFlowDebugSessionInfo: msRest.CompositeMapper = { - serializedName: "DataFlowDebugSessionInfo", +export const ManagedPrivateEndpoint: coreClient.CompositeMapper = { + serializedName: "ManagedPrivateEndpoint", type: { name: "Composite", - className: "DataFlowDebugSessionInfo", + className: "ManagedPrivateEndpoint", + uberParent: "ManagedPrivateEndpoint", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - dataFlowName: { - serializedName: "dataFlowName", + connectionState: { + serializedName: "connectionState", type: { - name: "String" + name: "Composite", + className: "ConnectionStateProperties" } }, - computeType: { - serializedName: "computeType", + fqdns: { + serializedName: "fqdns", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - coreCount: { - serializedName: "coreCount", + groupId: { + serializedName: "groupId", type: { - name: "Number" + name: "String" } }, - nodeCount: { - serializedName: "nodeCount", + isReserved: { + serializedName: "isReserved", + readOnly: true, type: { - name: "Number" + name: "Boolean" } }, - integrationRuntimeName: { - serializedName: "integrationRuntimeName", + privateLinkResourceId: { + serializedName: "privateLinkResourceId", type: { name: "String" } }, - sessionId: { - serializedName: "sessionId", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String" } - }, - startTime: { - serializedName: "startTime", + } + } + } +}; +ManagedPrivateEndpoint.type.polymorphicDiscriminator = + ManagedPrivateEndpoint.type.polymorphicDiscriminator; + +export const ConnectionStateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectionStateProperties", + modelProperties: { + actionsRequired: { + serializedName: "actionsRequired", + readOnly: true, type: { name: "String" } }, - timeToLiveInMinutes: { - serializedName: "timeToLiveInMinutes", + description: { + serializedName: "description", + readOnly: true, type: { - name: "Number" + name: "String" } }, - lastActivityTime: { - serializedName: "lastActivityTime", + status: { + serializedName: "status", + readOnly: true, type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const GetDataFactoryOperationStatusResponse: msRest.CompositeMapper = { - serializedName: "GetDataFactoryOperationStatusResponse", +export const PrivateEndpointConnectionListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GetDataFactoryOperationStatusResponse", + className: "PrivateEndpointConnectionListResponse", modelProperties: { - status: { - serializedName: "status", + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnectionResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const DataFlowReference: msRest.CompositeMapper = { - serializedName: "DataFlowReference", +export const RemotePrivateEndpointConnection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowReference", + className: "RemotePrivateEndpointConnection", modelProperties: { - type: { - required: true, - isConstant: true, - serializedName: "type", - defaultValue: "DataFlowReference", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String" } }, - referenceName: { - required: true, - serializedName: "referenceName", + privateEndpoint: { + serializedName: "privateEndpoint", type: { - name: "String" + name: "Composite", + className: "ArmIdWrapper" } }, - datasetParameters: { - serializedName: "datasetParameters", + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", type: { - name: "Object" + name: "Composite", + className: "PrivateLinkConnectionState" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ConnectionStateProperties: msRest.CompositeMapper = { - serializedName: "ConnectionStateProperties", +export const ArmIdWrapper: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectionStateProperties", + className: "ArmIdWrapper", modelProperties: { - actionsRequired: { + id: { + serializedName: "id", readOnly: true, - serializedName: "actionsRequired", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkConnectionState: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkConnectionState", + modelProperties: { + status: { + serializedName: "status", type: { name: "String" } }, description: { - readOnly: true, serializedName: "description", type: { name: "String" } }, - status: { - readOnly: true, - serializedName: "status", + actionsRequired: { + serializedName: "actionsRequired", type: { name: "String" } @@ -3469,135 +3637,205 @@ export const ConnectionStateProperties: msRest.CompositeMapper = { } }; -export const ManagedPrivateEndpoint: msRest.CompositeMapper = { - serializedName: "ManagedPrivateEndpoint", +export const PrivateLinkConnectionApprovalRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedPrivateEndpoint", + className: "PrivateLinkConnectionApprovalRequest", modelProperties: { - connectionState: { - serializedName: "connectionState", + privateLinkServiceConnectionState: { + serializedName: "privateLinkServiceConnectionState", type: { name: "Composite", - className: "ConnectionStateProperties" + className: "PrivateLinkConnectionState" } - }, - fqdns: { - serializedName: "fqdns", + } + } + } +}; + +export const PrivateLinkResourcesWrapper: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourcesWrapper", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "PrivateLinkResource" } } } - }, - groupId: { - serializedName: "groupId", + } + } + } +}; + +export const PrivateLinkResourceProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceProperties", + modelProperties: { + groupId: { + serializedName: "groupId", + readOnly: true, type: { name: "String" } }, - isReserved: { + requiredMembers: { + serializedName: "requiredMembers", readOnly: true, - serializedName: "isReserved", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - privateLinkResourceId: { - serializedName: "privateLinkResourceId", + requiredZoneNames: { + serializedName: "requiredZoneNames", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const Expression: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Expression", + modelProperties: { + type: { + defaultValue: "Expression", + isConstant: true, + serializedName: "type", type: { name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "provisioningState", + value: { + serializedName: "value", + required: true, type: { name: "String" } } + } + } +}; + +export const SecretBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecretBase", + uberParent: "SecretBase", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" }, - additionalProperties: { + modelProperties: { type: { - name: "Object" + serializedName: "type", + required: true, + type: { + name: "String" + } } } } }; -export const ManagedPrivateEndpointResource: msRest.CompositeMapper = { - serializedName: "ManagedPrivateEndpointResource", +export const IntegrationRuntimeStatusListResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedPrivateEndpointResource", + className: "IntegrationRuntimeStatusListResponse", modelProperties: { - ...SubResource.type.modelProperties, - properties: { + value: { + serializedName: "value", required: true, - serializedName: "properties", type: { - name: "Composite", - className: "ManagedPrivateEndpoint", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntimeStatusResponse" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ManagedVirtualNetwork: msRest.CompositeMapper = { - serializedName: "ManagedVirtualNetwork", +export const PipelineReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedVirtualNetwork", + className: "PipelineReference", modelProperties: { - vNetId: { - readOnly: true, - serializedName: "vNetId", + type: { + defaultValue: "PipelineReference", + isConstant: true, + serializedName: "type", type: { name: "String" } }, - alias: { - readOnly: true, - serializedName: "alias", + referenceName: { + serializedName: "referenceName", + required: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", type: { name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const ManagedVirtualNetworkResource: msRest.CompositeMapper = { - serializedName: "ManagedVirtualNetworkResource", +export const TriggerPipelineReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedVirtualNetworkResource", + className: "TriggerPipelineReference", modelProperties: { - ...SubResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", + pipelineReference: { + serializedName: "pipelineReference", type: { name: "Composite", - className: "ManagedVirtualNetwork", - additionalProperties: { - type: { - name: "Object" - } + className: "PipelineReference" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } } } } @@ -3605,41 +3843,47 @@ export const ManagedVirtualNetworkResource: msRest.CompositeMapper = { } }; -export const ManagedVirtualNetworkReference: msRest.CompositeMapper = { - serializedName: "ManagedVirtualNetworkReference", +export const DatasetReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedVirtualNetworkReference", + className: "DatasetReference", modelProperties: { type: { - required: true, + defaultValue: "DatasetReference", isConstant: true, serializedName: "type", - defaultValue: "ManagedVirtualNetworkReference", type: { name: "String" } }, referenceName: { - required: true, serializedName: "referenceName", + required: true, type: { name: "String" } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } } } } }; -export const ArmIdWrapper: msRest.CompositeMapper = { - serializedName: "ArmIdWrapper", +export const GetDataFactoryOperationStatusResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ArmIdWrapper", + className: "GetDataFactoryOperationStatusResponse", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - id: { - readOnly: true, - serializedName: "id", + status: { + serializedName: "status", type: { name: "String" } @@ -3648,334 +3892,425 @@ export const ArmIdWrapper: msRest.CompositeMapper = { } }; -export const PrivateLinkConnectionState: msRest.CompositeMapper = { - serializedName: "PrivateLinkConnectionState", +export const DataFlowReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkConnectionState", + className: "DataFlowReference", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - status: { - serializedName: "status", + type: { + defaultValue: "DataFlowReference", + isConstant: true, + serializedName: "type", type: { name: "String" } }, - description: { - serializedName: "description", + referenceName: { + serializedName: "referenceName", + required: true, type: { name: "String" } }, - actionsRequired: { - serializedName: "actionsRequired", + datasetParameters: { + serializedName: "datasetParameters", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const RemotePrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "RemotePrivateEndpointConnection", +export const ManagedVirtualNetworkReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RemotePrivateEndpointConnection", + className: "ManagedVirtualNetworkReference", modelProperties: { - provisioningState: { - readOnly: true, - serializedName: "provisioningState", + type: { + defaultValue: "ManagedVirtualNetworkReference", + isConstant: true, + serializedName: "type", type: { name: "String" } }, - privateEndpoint: { - serializedName: "privateEndpoint", - type: { - name: "Composite", - className: "ArmIdWrapper" - } - }, - privateLinkServiceConnectionState: { - serializedName: "privateLinkServiceConnectionState", + referenceName: { + serializedName: "referenceName", + required: true, type: { - name: "Composite", - className: "PrivateLinkConnectionState" + name: "String" } } } } }; -export const PrivateEndpointConnectionResource: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionResource", +export const CredentialReference: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateEndpointConnectionResource", + className: "CredentialReference", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...SubResource.type.modelProperties, - properties: { - serializedName: "properties", + type: { + defaultValue: "CredentialReference", + isConstant: true, + serializedName: "type", type: { - name: "Composite", - className: "RemotePrivateEndpointConnection" + name: "String" + } + }, + referenceName: { + serializedName: "referenceName", + required: true, + type: { + name: "String" } } } } }; -export const PrivateLinkConnectionApprovalRequest: msRest.CompositeMapper = { - serializedName: "PrivateLinkConnectionApprovalRequest", +export const Credential: coreClient.CompositeMapper = { + serializedName: "Credential", type: { name: "Composite", - className: "PrivateLinkConnectionApprovalRequest", + className: "Credential", + uberParent: "Credential", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - privateLinkServiceConnectionState: { - serializedName: "privateLinkServiceConnectionState", + type: { + serializedName: "type", + required: true, type: { - name: "Composite", - className: "PrivateLinkConnectionState" + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + annotations: { + serializedName: "annotations", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } } } } }; -export const PrivateLinkConnectionApprovalRequestResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkConnectionApprovalRequestResource", +export const Transformation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkConnectionApprovalRequestResource", + className: "Transformation", modelProperties: { - ...SubResource.type.modelProperties, - properties: { - serializedName: "properties", + name: { + serializedName: "name", + required: true, type: { - name: "Composite", - className: "PrivateLinkConnectionApprovalRequest" + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + flowlet: { + serializedName: "flowlet", + type: { + name: "Composite", + className: "DataFlowReference" } } } } }; -export const PrivateLinkResourceProperties: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourceProperties", +export const DatasetLocation: coreClient.CompositeMapper = { + serializedName: "DatasetLocation", type: { name: "Composite", - className: "PrivateLinkResourceProperties", + className: "DatasetLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - groupId: { - readOnly: true, - serializedName: "groupId", + type: { + serializedName: "type", + required: true, type: { name: "String" } }, - requiredMembers: { - readOnly: true, - serializedName: "requiredMembers", + folderPath: { + serializedName: "folderPath", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - requiredZoneNames: { - readOnly: true, - serializedName: "requiredZoneNames", + fileName: { + serializedName: "fileName", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const PrivateLinkResource: msRest.CompositeMapper = { - serializedName: "PrivateLinkResource", +export const DatasetDataElement: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResource", + className: "DatasetDataElement", modelProperties: { - ...SubResource.type.modelProperties, - properties: { - serializedName: "properties", + name: { + serializedName: "name", type: { - name: "Composite", - className: "PrivateLinkResourceProperties" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + type: { + serializedName: "type", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const PrivateLinkResourcesWrapper: msRest.CompositeMapper = { - serializedName: "PrivateLinkResourcesWrapper", +export const DatasetSchemaDataElement: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PrivateLinkResourcesWrapper", + className: "DatasetSchemaDataElement", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - value: { - required: true, - serializedName: "value", + name: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateLinkResource" - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + type: { + serializedName: "type", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const Transformation: msRest.CompositeMapper = { - serializedName: "Transformation", +export const DatasetStorageFormat: coreClient.CompositeMapper = { + serializedName: "DatasetStorageFormat", type: { name: "Composite", - className: "Transformation", + className: "DatasetStorageFormat", + uberParent: "DatasetStorageFormat", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - name: { + type: { + serializedName: "type", required: true, - serializedName: "name", type: { name: "String" } }, - description: { - serializedName: "description", + serializer: { + serializedName: "serializer", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + deserializer: { + serializedName: "deserializer", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const DataFlowSink: msRest.CompositeMapper = { - serializedName: "DataFlowSink", +export const DatasetCompression: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowSink", + className: "DatasetCompression", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...Transformation.type.modelProperties, - dataset: { - serializedName: "dataset", + type: { + serializedName: "type", + required: true, type: { - name: "Composite", - className: "DatasetReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - linkedService: { - serializedName: "linkedService", + level: { + serializedName: "level", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const IntegrationRuntimeComputeProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IntegrationRuntimeComputeProperties", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + }, + nodeSize: { + serializedName: "nodeSize", + type: { + name: "String" + } + }, + numberOfNodes: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "numberOfNodes", + type: { + name: "Number" + } + }, + maxParallelExecutionsPerNode: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "maxParallelExecutionsPerNode", + type: { + name: "Number" + } + }, + dataFlowProperties: { + serializedName: "dataFlowProperties", type: { name: "Composite", - className: "LinkedServiceReference" + className: "IntegrationRuntimeDataFlowProperties" } }, - schemaLinkedService: { - serializedName: "schemaLinkedService", + vNetProperties: { + serializedName: "vNetProperties", type: { name: "Composite", - className: "LinkedServiceReference" + className: "IntegrationRuntimeVNetProperties" } } } } }; -export const DataFlowSource: msRest.CompositeMapper = { - serializedName: "DataFlowSource", +export const IntegrationRuntimeDataFlowProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DataFlowSource", + className: "IntegrationRuntimeDataFlowProperties", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...Transformation.type.modelProperties, - dataset: { - serializedName: "dataset", + computeType: { + serializedName: "computeType", type: { - name: "Composite", - className: "DatasetReference" + name: "String" } }, - linkedService: { - serializedName: "linkedService", + coreCount: { + serializedName: "coreCount", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Number" } }, - schemaLinkedService: { - serializedName: "schemaLinkedService", + timeToLive: { + constraints: { + InclusiveMinimum: 0 + }, + serializedName: "timeToLive", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Number" + } + }, + cleanup: { + serializedName: "cleanup", + type: { + name: "Boolean" } } } } }; -export const MappingDataFlow: msRest.CompositeMapper = { - serializedName: "MappingDataFlow", +export const IntegrationRuntimeVNetProperties: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: DataFlow.type.polymorphicDiscriminator, - uberParent: "DataFlow", - className: "MappingDataFlow", + className: "IntegrationRuntimeVNetProperties", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...DataFlow.type.modelProperties, - sources: { - serializedName: "typeProperties.sources", + vNetId: { + serializedName: "vNetId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataFlowSource" - } - } + name: "String" } }, - sinks: { - serializedName: "typeProperties.sinks", + subnet: { + serializedName: "subnet", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataFlowSink" - } - } + name: "String" } }, - transformations: { - serializedName: "typeProperties.transformations", + publicIPs: { + serializedName: "publicIPs", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Transformation" + name: "String" } } } }, - script: { - serializedName: "typeProperties.script", + subnetId: { + serializedName: "subnetId", type: { name: "String" } @@ -3984,815 +4319,945 @@ export const MappingDataFlow: msRest.CompositeMapper = { } }; -export const SharePointOnlineListLinkedService: msRest.CompositeMapper = { - serializedName: "SharePointOnlineList", +export const IntegrationRuntimeSsisProperties: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SharePointOnlineListLinkedService", + className: "IntegrationRuntimeSsisProperties", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...LinkedService.type.modelProperties, - siteUrl: { - required: true, - serializedName: "typeProperties.siteUrl", + catalogInfo: { + serializedName: "catalogInfo", type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntimeSsisCatalogInfo" } }, - tenantId: { - required: true, - serializedName: "typeProperties.tenantId", + licenseType: { + serializedName: "licenseType", type: { - name: "Object" + name: "String" } }, - servicePrincipalId: { - required: true, - serializedName: "typeProperties.servicePrincipalId", + customSetupScriptProperties: { + serializedName: "customSetupScriptProperties", type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntimeCustomSetupScriptProperties" } }, - servicePrincipalKey: { - required: true, - serializedName: "typeProperties.servicePrincipalKey", + dataProxyProperties: { + serializedName: "dataProxyProperties", type: { name: "Composite", - className: "SecretBase" + className: "IntegrationRuntimeDataProxyProperties" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + edition: { + serializedName: "edition", + type: { + name: "String" + } + }, + expressCustomSetupProperties: { + serializedName: "expressCustomSetupProperties", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomSetupBase" + } + } + } + }, + packageStores: { + serializedName: "packageStores", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageStore" + } + } + } + }, + credential: { + serializedName: "credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SnowflakeLinkedService: msRest.CompositeMapper = { - serializedName: "Snowflake", +export const IntegrationRuntimeSsisCatalogInfo: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SnowflakeLinkedService", + className: "IntegrationRuntimeSsisCatalogInfo", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", + catalogServerEndpoint: { + serializedName: "catalogServerEndpoint", type: { - name: "Object" + name: "String" } }, - password: { - serializedName: "typeProperties.password", + catalogAdminUserName: { + constraints: { + MaxLength: 128, + MinLength: 1 + }, + serializedName: "catalogAdminUserName", + type: { + name: "String" + } + }, + catalogAdminPassword: { + serializedName: "catalogAdminPassword", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecureString" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + catalogPricingTier: { + serializedName: "catalogPricingTier", type: { - name: "Object" + name: "String" + } + }, + dualStandbyPairName: { + serializedName: "dualStandbyPairName", + type: { + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureFunctionLinkedService: msRest.CompositeMapper = { - serializedName: "AzureFunction", +export const IntegrationRuntimeCustomSetupScriptProperties: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureFunctionLinkedService", + className: "IntegrationRuntimeCustomSetupScriptProperties", modelProperties: { - ...LinkedService.type.modelProperties, - functionAppUrl: { - required: true, - serializedName: "typeProperties.functionAppUrl", + blobContainerUri: { + serializedName: "blobContainerUri", type: { - name: "Object" + name: "String" } }, - functionKey: { - serializedName: "typeProperties.functionKey", + sasToken: { + serializedName: "sasToken", type: { name: "Composite", - className: "SecretBase" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "SecureString" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureDataExplorerLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDataExplorer", +export const IntegrationRuntimeDataProxyProperties: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureDataExplorerLinkedService", + className: "IntegrationRuntimeDataProxyProperties", modelProperties: { - ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", + connectVia: { + serializedName: "connectVia", type: { - name: "Object" + name: "Composite", + className: "EntityReference" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + stagingLinkedService: { + serializedName: "stagingLinkedService", type: { - name: "Object" + name: "Composite", + className: "EntityReference" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + path: { + serializedName: "path", type: { - name: "Composite", - className: "SecretBase" + name: "String" } - }, - database: { - required: true, - serializedName: "typeProperties.database", + } + } + } +}; + +export const EntityReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EntityReference", + modelProperties: { + type: { + serializedName: "type", type: { - name: "Object" + name: "String" } }, - tenant: { - serializedName: "typeProperties.tenant", + referenceName: { + serializedName: "referenceName", type: { - name: "Object" + name: "String" } } + } + } +}; + +export const CustomSetupBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomSetupBase", + uberParent: "CustomSetupBase", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" }, - additionalProperties: LinkedService.type.additionalProperties + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + } + } } }; -export const SapTableLinkedService: msRest.CompositeMapper = { - serializedName: "SapTable", +export const PackageStore: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SapTableLinkedService", + className: "PackageStore", modelProperties: { - ...LinkedService.type.modelProperties, - server: { - serializedName: "typeProperties.server", + name: { + serializedName: "name", + required: true, type: { - name: "Object" + name: "String" } }, - systemNumber: { - serializedName: "typeProperties.systemNumber", + packageStoreLinkedService: { + serializedName: "packageStoreLinkedService", type: { - name: "Object" + name: "Composite", + className: "EntityReference" } - }, - clientId: { - serializedName: "typeProperties.clientId", + } + } + } +}; + +export const IntegrationRuntimeCustomerVirtualNetwork: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IntegrationRuntimeCustomerVirtualNetwork", + modelProperties: { + subnetId: { + serializedName: "subnetId", type: { - name: "Object" + name: "String" } - }, - language: { - serializedName: "typeProperties.language", + } + } + } +}; + +export const LinkedIntegrationRuntimeType: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinkedIntegrationRuntimeType", + uberParent: "LinkedIntegrationRuntimeType", + polymorphicDiscriminator: { + serializedName: "authorizationType", + clientName: "authorizationType" + }, + modelProperties: { + authorizationType: { + serializedName: "authorizationType", + required: true, type: { - name: "Object" + name: "String" } - }, - systemId: { - serializedName: "typeProperties.systemId", + } + } + } +}; + +export const ManagedIntegrationRuntimeNode: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeNode", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + nodeId: { + serializedName: "nodeId", + readOnly: true, type: { - name: "Object" + name: "String" } }, - userName: { - serializedName: "typeProperties.userName", + status: { + serializedName: "status", + readOnly: true, type: { - name: "Object" + name: "String" } }, - password: { - serializedName: "typeProperties.password", + errors: { + serializedName: "errors", type: { - name: "Composite", - className: "SecretBase" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError" + } + } } - }, - messageServer: { - serializedName: "typeProperties.messageServer", + } + } + } +}; + +export const ManagedIntegrationRuntimeError: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + time: { + serializedName: "time", + readOnly: true, type: { - name: "Object" + name: "DateTime" } }, - messageServerService: { - serializedName: "typeProperties.messageServerService", + code: { + serializedName: "code", + readOnly: true, type: { - name: "Object" + name: "String" } }, - sncMode: { - serializedName: "typeProperties.sncMode", + parameters: { + serializedName: "parameters", + readOnly: true, type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - sncMyName: { - serializedName: "typeProperties.sncMyName", + message: { + serializedName: "message", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ManagedIntegrationRuntimeOperationResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeOperationResult", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + type: { + serializedName: "type", + readOnly: true, type: { - name: "Object" + name: "String" } }, - sncPartnerName: { - serializedName: "typeProperties.sncPartnerName", + startTime: { + serializedName: "startTime", + readOnly: true, type: { - name: "Object" + name: "DateTime" } }, - sncLibraryPath: { - serializedName: "typeProperties.sncLibraryPath", + result: { + serializedName: "result", + readOnly: true, type: { - name: "Object" + name: "String" } }, - sncQop: { - serializedName: "typeProperties.sncQop", + errorCode: { + serializedName: "errorCode", + readOnly: true, type: { - name: "Object" + name: "String" } }, - logonGroup: { - serializedName: "typeProperties.logonGroup", + parameters: { + serializedName: "parameters", + readOnly: true, type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + activityId: { + serializedName: "activityId", + readOnly: true, type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const GoogleAdWordsLinkedService: msRest.CompositeMapper = { - serializedName: "GoogleAdWords", +export const LinkedIntegrationRuntime: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "GoogleAdWordsLinkedService", + className: "LinkedIntegrationRuntime", modelProperties: { - ...LinkedService.type.modelProperties, - clientCustomerID: { - required: true, - serializedName: "typeProperties.clientCustomerID", - type: { - name: "Object" - } - }, - developerToken: { - required: true, - serializedName: "typeProperties.developerToken", - type: { - name: "Composite", - className: "SecretBase" - } - }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } }, - refreshToken: { - serializedName: "typeProperties.refreshToken", + subscriptionId: { + serializedName: "subscriptionId", + readOnly: true, type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - clientId: { - serializedName: "typeProperties.clientId", + dataFactoryName: { + serializedName: "dataFactoryName", + readOnly: true, type: { - name: "Object" + name: "String" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + dataFactoryLocation: { + serializedName: "dataFactoryLocation", + readOnly: true, type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - email: { - serializedName: "typeProperties.email", + createTime: { + serializedName: "createTime", + readOnly: true, type: { - name: "Object" + name: "DateTime" } - }, - keyFilePath: { - serializedName: "typeProperties.keyFilePath", + } + } + } +}; + +export const SsisEnvironmentReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SsisEnvironmentReference", + modelProperties: { + id: { + serializedName: "id", type: { - name: "Object" + name: "Number" } }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + environmentFolderName: { + serializedName: "environmentFolderName", type: { - name: "Object" + name: "String" } }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", + environmentName: { + serializedName: "environmentName", type: { - name: "Object" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + referenceType: { + serializedName: "referenceType", type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const OracleServiceCloudLinkedService: msRest.CompositeMapper = { - serializedName: "OracleServiceCloud", +export const SsisParameter: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "OracleServiceCloudLinkedService", + className: "SsisParameter", modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", + id: { + serializedName: "id", type: { - name: "Object" + name: "Number" } }, - username: { - required: true, - serializedName: "typeProperties.username", + name: { + serializedName: "name", type: { - name: "Object" + name: "String" } }, - password: { - required: true, - serializedName: "typeProperties.password", + description: { + serializedName: "description", type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + dataType: { + serializedName: "dataType", type: { - name: "Object" + name: "String" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + required: { + serializedName: "required", type: { - name: "Object" + name: "Boolean" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + sensitive: { + serializedName: "sensitive", type: { - name: "Object" + name: "Boolean" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + designDefaultValue: { + serializedName: "designDefaultValue", type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const DynamicsAXLinkedService: msRest.CompositeMapper = { - serializedName: "DynamicsAX", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "DynamicsAXLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - url: { - required: true, - serializedName: "typeProperties.url", - type: { - name: "Object" + name: "String" } }, - servicePrincipalId: { - required: true, - serializedName: "typeProperties.servicePrincipalId", + defaultValue: { + serializedName: "defaultValue", type: { - name: "Object" + name: "String" } }, - servicePrincipalKey: { - required: true, - serializedName: "typeProperties.servicePrincipalKey", + sensitiveDefaultValue: { + serializedName: "sensitiveDefaultValue", type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - tenant: { - required: true, - serializedName: "typeProperties.tenant", + valueType: { + serializedName: "valueType", type: { - name: "Object" + name: "String" } }, - aadResourceId: { - required: true, - serializedName: "typeProperties.aadResourceId", + valueSet: { + serializedName: "valueSet", type: { - name: "Object" + name: "Boolean" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + variable: { + serializedName: "variable", type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const ResponsysLinkedService: msRest.CompositeMapper = { - serializedName: "Responsys", +export const SsisVariable: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ResponsysLinkedService", + className: "SsisVariable", modelProperties: { - ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", + id: { + serializedName: "id", type: { - name: "Object" + name: "Number" } }, - clientId: { - required: true, - serializedName: "typeProperties.clientId", + name: { + serializedName: "name", type: { - name: "Object" + name: "String" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + description: { + serializedName: "description", type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + dataType: { + serializedName: "dataType", type: { - name: "Object" + name: "String" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + sensitive: { + serializedName: "sensitive", type: { - name: "Object" + name: "Boolean" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + value: { + serializedName: "value", type: { - name: "Object" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + sensitiveValue: { + serializedName: "sensitiveValue", type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureDatabricksDeltaLakeLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDatabricksDeltaLake", +export const SqlAlwaysEncryptedProperties: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureDatabricksDeltaLakeLinkedService", + className: "SqlAlwaysEncryptedProperties", modelProperties: { - ...LinkedService.type.modelProperties, - domain: { + alwaysEncryptedAkvAuthType: { + serializedName: "alwaysEncryptedAkvAuthType", required: true, - serializedName: "typeProperties.domain", type: { - name: "Object" + name: "String" } }, - accessToken: { - serializedName: "typeProperties.accessToken", + servicePrincipalId: { + serializedName: "servicePrincipalId", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clusterId: { - serializedName: "typeProperties.clusterId", + servicePrincipalKey: { + serializedName: "servicePrincipalKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + credential: { + serializedName: "credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureDatabricksLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDatabricks", +export const WebLinkedServiceTypeProperties: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureDatabricksLinkedService", + className: "WebLinkedServiceTypeProperties", + uberParent: "WebLinkedServiceTypeProperties", + polymorphicDiscriminator: { + serializedName: "authenticationType", + clientName: "authenticationType" + }, modelProperties: { - ...LinkedService.type.modelProperties, - domain: { + url: { + serializedName: "url", required: true, - serializedName: "typeProperties.domain", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accessToken: { - serializedName: "typeProperties.accessToken", + authenticationType: { + serializedName: "authenticationType", + required: true, type: { - name: "Composite", - className: "SecretBase" + name: "String" } - }, - authentication: { - serializedName: "typeProperties.authentication", + } + } + } +}; + +export const ScriptAction: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ScriptAction", + modelProperties: { + name: { + serializedName: "name", + required: true, type: { - name: "Object" + name: "String" } }, - workspaceResourceId: { - serializedName: "typeProperties.workspaceResourceId", + uri: { + serializedName: "uri", + required: true, type: { - name: "Object" + name: "String" } }, - existingClusterId: { - serializedName: "typeProperties.existingClusterId", + roles: { + serializedName: "roles", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - instancePoolId: { - serializedName: "typeProperties.instancePoolId", + parameters: { + serializedName: "parameters", type: { - name: "Object" + name: "String" } - }, - newClusterVersion: { - serializedName: "typeProperties.newClusterVersion", + } + } + } +}; + +export const ActivityPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ActivityPolicy", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + timeout: { + serializedName: "timeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - newClusterNumOfWorker: { - serializedName: "typeProperties.newClusterNumOfWorker", + retry: { + serializedName: "retry", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - newClusterNodeType: { - serializedName: "typeProperties.newClusterNodeType", + retryIntervalInSeconds: { + constraints: { + InclusiveMaximum: 86400, + InclusiveMinimum: 30 + }, + serializedName: "retryIntervalInSeconds", type: { - name: "Object" + name: "Number" } }, - newClusterSparkConf: { - serializedName: "typeProperties.newClusterSparkConf", + secureInput: { + serializedName: "secureInput", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Boolean" } }, - newClusterSparkEnvVars: { - serializedName: "typeProperties.newClusterSparkEnvVars", + secureOutput: { + serializedName: "secureOutput", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Boolean" } - }, - newClusterCustomTags: { - serializedName: "typeProperties.newClusterCustomTags", + } + } + } +}; + +export const StoreReadSettings: coreClient.CompositeMapper = { + serializedName: "StoreReadSettings", + type: { + name: "Composite", + className: "StoreReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", + required: true, type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "String" } }, - newClusterLogDestination: { - serializedName: "typeProperties.newClusterLogDestination", + maxConcurrentConnections: { + serializedName: "maxConcurrentConnections", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - newClusterDriverNodeType: { - serializedName: "typeProperties.newClusterDriverNodeType", + disableMetricsCollection: { + serializedName: "disableMetricsCollection", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - newClusterInitScripts: { - serializedName: "typeProperties.newClusterInitScripts", + } + } + } +}; + +export const StoreWriteSettings: coreClient.CompositeMapper = { + serializedName: "StoreWriteSettings", + type: { + name: "Composite", + className: "StoreWriteSettings", + uberParent: "StoreWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", + required: true, type: { - name: "Object" + name: "String" } }, - newClusterEnableElasticDisk: { - serializedName: "typeProperties.newClusterEnableElasticDisk", + maxConcurrentConnections: { + serializedName: "maxConcurrentConnections", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + disableMetricsCollection: { + serializedName: "disableMetricsCollection", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - policyId: { - serializedName: "typeProperties.policyId", + copyBehavior: { + serializedName: "copyBehavior", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureDataLakeAnalyticsLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDataLakeAnalytics", +export const DistcpSettings: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureDataLakeAnalyticsLinkedService", + className: "DistcpSettings", modelProperties: { - ...LinkedService.type.modelProperties, - accountName: { + resourceManagerEndpoint: { + serializedName: "resourceManagerEndpoint", required: true, - serializedName: "typeProperties.accountName", - type: { - name: "Object" - } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", - type: { - name: "Object" - } - }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - tenant: { + tempScriptPath: { + serializedName: "tempScriptPath", required: true, - serializedName: "typeProperties.tenant", - type: { - name: "Object" - } - }, - subscriptionId: { - serializedName: "typeProperties.subscriptionId", - type: { - name: "Object" - } - }, - resourceGroupName: { - serializedName: "typeProperties.resourceGroupName", - type: { - name: "Object" - } - }, - dataLakeAnalyticsUri: { - serializedName: "typeProperties.dataLakeAnalyticsUri", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + distcpOptions: { + serializedName: "distcpOptions", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const ScriptAction: msRest.CompositeMapper = { - serializedName: "ScriptAction", +export const FormatReadSettings: coreClient.CompositeMapper = { + serializedName: "FormatReadSettings", type: { name: "Composite", - className: "ScriptAction", + className: "FormatReadSettings", + uberParent: "FormatReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - name: { + type: { + serializedName: "type", required: true, - serializedName: "name", type: { name: "String" } - }, - uri: { + } + } + } +}; + +export const CompressionReadSettings: coreClient.CompositeMapper = { + serializedName: "CompressionReadSettings", + type: { + name: "Composite", + className: "CompressionReadSettings", + uberParent: "CompressionReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", required: true, - serializedName: "uri", type: { name: "String" } - }, - roles: { + } + } + } +}; + +export const FormatWriteSettings: coreClient.CompositeMapper = { + serializedName: "FormatWriteSettings", + type: { + name: "Composite", + className: "FormatWriteSettings", + uberParent: "FormatWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", required: true, - serializedName: "roles", - type: { - name: "Object" - } - }, - parameters: { - serializedName: "parameters", type: { name: "String" } @@ -4801,2664 +5266,2861 @@ export const ScriptAction: msRest.CompositeMapper = { } }; -export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { - serializedName: "HDInsightOnDemand", +export const CopySource: coreClient.CompositeMapper = { + serializedName: "CopySource", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "HDInsightOnDemandLinkedService", + className: "CopySource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - ...LinkedService.type.modelProperties, - clusterSize: { + type: { + serializedName: "type", required: true, - serializedName: "typeProperties.clusterSize", type: { - name: "Object" + name: "String" } }, - timeToLive: { - required: true, - serializedName: "typeProperties.timeToLive", + sourceRetryCount: { + serializedName: "sourceRetryCount", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - version: { - required: true, - serializedName: "typeProperties.version", + sourceRetryWait: { + serializedName: "sourceRetryWait", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - linkedServiceName: { - required: true, - serializedName: "typeProperties.linkedServiceName", - defaultValue: {}, + maxConcurrentConnections: { + serializedName: "maxConcurrentConnections", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - hostSubscriptionId: { + disableMetricsCollection: { + serializedName: "disableMetricsCollection", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const CopySink: coreClient.CompositeMapper = { + serializedName: "CopySink", + type: { + name: "Composite", + className: "CopySink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", required: true, - serializedName: "typeProperties.hostSubscriptionId", type: { - name: "Object" + name: "String" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + writeBatchSize: { + serializedName: "writeBatchSize", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + writeBatchTimeout: { + serializedName: "writeBatchTimeout", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - tenant: { - required: true, - serializedName: "typeProperties.tenant", + sinkRetryCount: { + serializedName: "sinkRetryCount", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clusterResourceGroup: { - required: true, - serializedName: "typeProperties.clusterResourceGroup", + sinkRetryWait: { + serializedName: "sinkRetryWait", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clusterNamePrefix: { - serializedName: "typeProperties.clusterNamePrefix", + maxConcurrentConnections: { + serializedName: "maxConcurrentConnections", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clusterUserName: { - serializedName: "typeProperties.clusterUserName", + disableMetricsCollection: { + serializedName: "disableMetricsCollection", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - clusterPassword: { - serializedName: "typeProperties.clusterPassword", + } + } + } +}; + +export const StagingSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StagingSettings", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + linkedServiceName: { + serializedName: "linkedServiceName", type: { name: "Composite", - className: "SecretBase" + className: "LinkedServiceReference" } }, - clusterSshUserName: { - serializedName: "typeProperties.clusterSshUserName", + path: { + serializedName: "path", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clusterSshPassword: { - serializedName: "typeProperties.clusterSshPassword", + enableCompression: { + serializedName: "enableCompression", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - additionalLinkedServiceNames: { - serializedName: "typeProperties.additionalLinkedServiceNames", + } + } + } +}; + +export const RedirectIncompatibleRowSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RedirectIncompatibleRowSettings", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + linkedServiceName: { + serializedName: "linkedServiceName", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - hcatalogLinkedServiceName: { - serializedName: "typeProperties.hcatalogLinkedServiceName", + path: { + serializedName: "path", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const LogStorageSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LogStorageSettings", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + linkedServiceName: { + serializedName: "linkedServiceName", type: { name: "Composite", className: "LinkedServiceReference" } }, - clusterType: { - serializedName: "typeProperties.clusterType", + path: { + serializedName: "path", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sparkVersion: { - serializedName: "typeProperties.sparkVersion", + logLevel: { + serializedName: "logLevel", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - coreConfiguration: { - serializedName: "typeProperties.coreConfiguration", + enableReliableLogging: { + serializedName: "enableReliableLogging", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - hBaseConfiguration: { - serializedName: "typeProperties.hBaseConfiguration", + } + } + } +}; + +export const LogSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LogSettings", + modelProperties: { + enableCopyActivityLog: { + serializedName: "enableCopyActivityLog", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - hdfsConfiguration: { - serializedName: "typeProperties.hdfsConfiguration", + copyActivityLogSettings: { + serializedName: "copyActivityLogSettings", type: { - name: "Object" + name: "Composite", + className: "CopyActivityLogSettings" } }, - hiveConfiguration: { - serializedName: "typeProperties.hiveConfiguration", + logLocationSettings: { + serializedName: "logLocationSettings", type: { - name: "Object" + name: "Composite", + className: "LogLocationSettings" } - }, - mapReduceConfiguration: { - serializedName: "typeProperties.mapReduceConfiguration", + } + } + } +}; + +export const CopyActivityLogSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CopyActivityLogSettings", + modelProperties: { + logLevel: { + serializedName: "logLevel", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - oozieConfiguration: { - serializedName: "typeProperties.oozieConfiguration", + enableReliableLogging: { + serializedName: "enableReliableLogging", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - stormConfiguration: { - serializedName: "typeProperties.stormConfiguration", + } + } + } +}; + +export const LogLocationSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LogLocationSettings", + modelProperties: { + linkedServiceName: { + serializedName: "linkedServiceName", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } }, - yarnConfiguration: { - serializedName: "typeProperties.yarnConfiguration", + path: { + serializedName: "path", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + } + } + } +}; + +export const SkipErrorFile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SkipErrorFile", + modelProperties: { + fileMissing: { + serializedName: "fileMissing", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - headNodeSize: { - serializedName: "typeProperties.headNodeSize", + dataInconsistency: { + serializedName: "dataInconsistency", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - dataNodeSize: { - serializedName: "typeProperties.dataNodeSize", + } + } + } +}; + +export const SapHanaPartitionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SapHanaPartitionSettings", + modelProperties: { + partitionColumnName: { + serializedName: "partitionColumnName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - zookeeperNodeSize: { - serializedName: "typeProperties.zookeeperNodeSize", + } + } + } +}; + +export const SapTablePartitionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SapTablePartitionSettings", + modelProperties: { + partitionColumnName: { + serializedName: "partitionColumnName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - scriptActions: { - serializedName: "typeProperties.scriptActions", + partitionUpperBound: { + serializedName: "partitionUpperBound", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScriptAction" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - virtualNetworkId: { - serializedName: "typeProperties.virtualNetworkId", + partitionLowerBound: { + serializedName: "partitionLowerBound", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - subnetName: { - serializedName: "typeProperties.subnetName", + maxPartitionsNumber: { + serializedName: "maxPartitionsNumber", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SalesforceMarketingCloudLinkedService: msRest.CompositeMapper = { - serializedName: "SalesforceMarketingCloud", +export const StoredProcedureParameter: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SalesforceMarketingCloudLinkedService", + className: "StoredProcedureParameter", modelProperties: { - ...LinkedService.type.modelProperties, - connectionProperties: { - serializedName: "typeProperties.connectionProperties", + value: { + serializedName: "value", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clientId: { - serializedName: "typeProperties.clientId", + type: { + serializedName: "type", type: { - name: "Object" + name: "String" } - }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + } + } + } +}; + +export const SqlPartitionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SqlPartitionSettings", + modelProperties: { + partitionColumnName: { + serializedName: "partitionColumnName", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + partitionUpperBound: { + serializedName: "partitionUpperBound", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + partitionLowerBound: { + serializedName: "partitionLowerBound", type: { - name: "Object" - } - }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const NetezzaLinkedService: msRest.CompositeMapper = { - serializedName: "Netezza", +export const OraclePartitionSettings: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "NetezzaLinkedService", + className: "OraclePartitionSettings", modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + partitionNames: { + serializedName: "partitionNames", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - pwd: { - serializedName: "typeProperties.pwd", + partitionColumnName: { + serializedName: "partitionColumnName", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + partitionUpperBound: { + serializedName: "partitionUpperBound", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionLowerBound: { + serializedName: "partitionLowerBound", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const VerticaLinkedService: msRest.CompositeMapper = { - serializedName: "Vertica", +export const AmazonRdsForOraclePartitionSettings: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "VerticaLinkedService", + className: "AmazonRdsForOraclePartitionSettings", modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + partitionNames: { + serializedName: "partitionNames", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - pwd: { - serializedName: "typeProperties.pwd", + partitionColumnName: { + serializedName: "partitionColumnName", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + partitionUpperBound: { + serializedName: "partitionUpperBound", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionLowerBound: { + serializedName: "partitionLowerBound", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const ZohoLinkedService: msRest.CompositeMapper = { - serializedName: "Zoho", +export const TeradataPartitionSettings: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ZohoLinkedService", + className: "TeradataPartitionSettings", modelProperties: { - ...LinkedService.type.modelProperties, - connectionProperties: { - serializedName: "typeProperties.connectionProperties", + partitionColumnName: { + serializedName: "partitionColumnName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - endpoint: { - serializedName: "typeProperties.endpoint", + partitionUpperBound: { + serializedName: "partitionUpperBound", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accessToken: { - serializedName: "typeProperties.accessToken", + partitionLowerBound: { + serializedName: "partitionLowerBound", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + } + } + } +}; + +export const MongoDbCursorMethodsProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MongoDbCursorMethodsProperties", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + project: { + serializedName: "project", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + sort: { + serializedName: "sort", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + skip: { + serializedName: "skip", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + limit: { + serializedName: "limit", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const XeroLinkedService: msRest.CompositeMapper = { - serializedName: "Xero", +export const NetezzaPartitionSettings: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "XeroLinkedService", + className: "NetezzaPartitionSettings", modelProperties: { - ...LinkedService.type.modelProperties, - connectionProperties: { - serializedName: "typeProperties.connectionProperties", + partitionColumnName: { + serializedName: "partitionColumnName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - host: { - serializedName: "typeProperties.host", + partitionUpperBound: { + serializedName: "partitionUpperBound", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - consumerKey: { - serializedName: "typeProperties.consumerKey", + partitionLowerBound: { + serializedName: "partitionLowerBound", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - privateKey: { - serializedName: "typeProperties.privateKey", + } + } + } +}; + +export const RedshiftUnloadSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RedshiftUnloadSettings", + modelProperties: { + s3LinkedServiceName: { + serializedName: "s3LinkedServiceName", type: { name: "Composite", - className: "SecretBase" - } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", - type: { - name: "Object" + className: "LinkedServiceReference" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + bucketName: { + serializedName: "bucketName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + } + } + } +}; + +export const ExportSettings: coreClient.CompositeMapper = { + serializedName: "ExportSettings", + type: { + name: "Composite", + className: "ExportSettings", + uberParent: "ExportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", + required: true, type: { - name: "Object" + name: "String" } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + } + } + } +}; + +export const ImportSettings: coreClient.CompositeMapper = { + serializedName: "ImportSettings", + type: { + name: "Composite", + className: "ImportSettings", + uberParent: "ImportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", + required: true, type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SquareLinkedService: msRest.CompositeMapper = { - serializedName: "Square", +export const MetadataItem: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SquareLinkedService", + className: "MetadataItem", modelProperties: { - ...LinkedService.type.modelProperties, - connectionProperties: { - serializedName: "typeProperties.connectionProperties", + name: { + serializedName: "name", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - host: { - serializedName: "typeProperties.host", + value: { + serializedName: "value", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - clientId: { - serializedName: "typeProperties.clientId", + } + } + } +}; + +export const SqlUpsertSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SqlUpsertSettings", + modelProperties: { + useTempDB: { + serializedName: "useTempDB", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + interimSchemaName: { + serializedName: "interimSchemaName", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - redirectUri: { - serializedName: "typeProperties.redirectUri", - type: { - name: "Object" - } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", - type: { - name: "Object" - } - }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", - type: { - name: "Object" - } - }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + keys: { + serializedName: "keys", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SparkLinkedService: msRest.CompositeMapper = { - serializedName: "Spark", +export const PolybaseSettings: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SparkLinkedService", + className: "PolybaseSettings", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" - } - }, - port: { - required: true, - serializedName: "typeProperties.port", - type: { - name: "Object" - } - }, - serverType: { - serializedName: "typeProperties.serverType", + rejectType: { + serializedName: "rejectType", type: { name: "String" } }, - thriftTransportProtocol: { - serializedName: "typeProperties.thriftTransportProtocol", + rejectValue: { + serializedName: "rejectValue", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + rejectSampleValue: { + serializedName: "rejectSampleValue", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - username: { - serializedName: "typeProperties.username", + useTypeDefault: { + serializedName: "useTypeDefault", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - password: { - serializedName: "typeProperties.password", + } + } + } +}; + +export const DWCopyCommandSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DWCopyCommandSettings", + modelProperties: { + defaultValues: { + serializedName: "defaultValues", type: { - name: "Composite", - className: "SecretBase" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DWCopyCommandDefaultValue" + } + } } }, - httpPath: { - serializedName: "typeProperties.httpPath", + additionalOptions: { + serializedName: "additionalOptions", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "String" } } } - }, - enableSsl: { - serializedName: "typeProperties.enableSsl", + } + } + } +}; + +export const DWCopyCommandDefaultValue: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DWCopyCommandDefaultValue", + modelProperties: { + columnName: { + serializedName: "columnName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + defaultValue: { + serializedName: "defaultValue", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", + } + } + } +}; + +export const SqlDWUpsertSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SqlDWUpsertSettings", + modelProperties: { + interimSchemaName: { + serializedName: "interimSchemaName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", + keys: { + serializedName: "keys", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + } + } + } +}; + +export const AdditionalColumns: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdditionalColumns", + modelProperties: { + name: { + serializedName: "name", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + value: { + serializedName: "value", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const ShopifyLinkedService: msRest.CompositeMapper = { - serializedName: "Shopify", +export const CopyTranslator: coreClient.CompositeMapper = { + serializedName: "CopyTranslator", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ShopifyLinkedService", + className: "CopyTranslator", + uberParent: "CopyTranslator", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - ...LinkedService.type.modelProperties, - host: { + type: { + serializedName: "type", required: true, - serializedName: "typeProperties.host", type: { - name: "Object" + name: "String" + } + } + } + } +}; + +export const TypeConversionSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TypeConversionSettings", + modelProperties: { + allowDataTruncation: { + serializedName: "allowDataTruncation", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, - accessToken: { - serializedName: "typeProperties.accessToken", + treatBooleanAsNumber: { + serializedName: "treatBooleanAsNumber", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + dateTimeFormat: { + serializedName: "dateTimeFormat", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + dateTimeOffsetFormat: { + serializedName: "dateTimeOffsetFormat", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + timeSpanFormat: { + serializedName: "timeSpanFormat", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + culture: { + serializedName: "culture", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const ServiceNowLinkedService: msRest.CompositeMapper = { - serializedName: "ServiceNow", +export const SsisPackageLocation: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ServiceNowLinkedService", + className: "SsisPackageLocation", modelProperties: { - ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", + packagePath: { + serializedName: "packagePath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + type: { + serializedName: "type", type: { name: "String" } }, - username: { - serializedName: "typeProperties.username", + packagePassword: { + serializedName: "typeProperties.packagePassword", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - password: { - serializedName: "typeProperties.password", + accessCredential: { + serializedName: "typeProperties.accessCredential", type: { name: "Composite", - className: "SecretBase" + className: "SsisAccessCredential" } }, - clientId: { - serializedName: "typeProperties.clientId", + configurationPath: { + serializedName: "typeProperties.configurationPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + configurationAccessCredential: { + serializedName: "typeProperties.configurationAccessCredential", type: { name: "Composite", - className: "SecretBase" + className: "SsisAccessCredential" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + packageName: { + serializedName: "typeProperties.packageName", type: { - name: "Object" + name: "String" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + packageContent: { + serializedName: "typeProperties.packageContent", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + packageLastModifiedDate: { + serializedName: "typeProperties.packageLastModifiedDate", type: { - name: "Object" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + childPackages: { + serializedName: "typeProperties.childPackages", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisChildPackage" + } + } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const QuickBooksLinkedService: msRest.CompositeMapper = { - serializedName: "QuickBooks", +export const SsisAccessCredential: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "QuickBooksLinkedService", + className: "SsisAccessCredential", modelProperties: { - ...LinkedService.type.modelProperties, - connectionProperties: { - serializedName: "typeProperties.connectionProperties", - type: { - name: "Object" - } - }, - endpoint: { - serializedName: "typeProperties.endpoint", - type: { - name: "Object" - } - }, - companyId: { - serializedName: "typeProperties.companyId", - type: { - name: "Object" - } - }, - consumerKey: { - serializedName: "typeProperties.consumerKey", - type: { - name: "Object" - } - }, - consumerSecret: { - serializedName: "typeProperties.consumerSecret", + domain: { + serializedName: "domain", + required: true, type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accessToken: { - serializedName: "typeProperties.accessToken", + userName: { + serializedName: "userName", + required: true, type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accessTokenSecret: { - serializedName: "typeProperties.accessTokenSecret", + password: { + serializedName: "password", type: { name: "Composite", className: "SecretBase" } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" - } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const PrestoLinkedService: msRest.CompositeMapper = { - serializedName: "Presto", +export const SsisChildPackage: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "PrestoLinkedService", + className: "SsisChildPackage", modelProperties: { - ...LinkedService.type.modelProperties, - host: { + packagePath: { + serializedName: "packagePath", required: true, - serializedName: "typeProperties.host", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - serverVersion: { - required: true, - serializedName: "typeProperties.serverVersion", + packageName: { + serializedName: "packageName", type: { - name: "Object" + name: "String" } }, - catalog: { + packageContent: { + serializedName: "packageContent", required: true, - serializedName: "typeProperties.catalog", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - port: { - serializedName: "typeProperties.port", + packageLastModifiedDate: { + serializedName: "packageLastModifiedDate", type: { - name: "Object" + name: "String" } - }, - authenticationType: { + } + } + } +}; + +export const SsisExecutionCredential: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SsisExecutionCredential", + modelProperties: { + domain: { + serializedName: "domain", required: true, - serializedName: "typeProperties.authenticationType", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - username: { - serializedName: "typeProperties.username", + userName: { + serializedName: "userName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { - serializedName: "typeProperties.password", + serializedName: "password", type: { name: "Composite", - className: "SecretBase" + className: "SecureString" } - }, - enableSsl: { - serializedName: "typeProperties.enableSsl", + } + } + } +}; + +export const SsisExecutionParameter: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SsisExecutionParameter", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + } + } + } +}; + +export const SsisPropertyOverride: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SsisPropertyOverride", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", + isSensitive: { + serializedName: "isSensitive", type: { - name: "Object" + name: "Boolean" } - }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", + } + } + } +}; + +export const SsisLogLocation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SsisLogLocation", + modelProperties: { + logPath: { + serializedName: "logPath", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + type: { + serializedName: "type", + required: true, type: { - name: "Object" + name: "String" } }, - timeZoneID: { - serializedName: "typeProperties.timeZoneID", + accessCredential: { + serializedName: "typeProperties.accessCredential", type: { - name: "Object" + name: "Composite", + className: "SsisAccessCredential" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + logRefreshInterval: { + serializedName: "typeProperties.logRefreshInterval", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const PhoenixLinkedService: msRest.CompositeMapper = { - serializedName: "Phoenix", +export const CustomActivityReferenceObject: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "PhoenixLinkedService", + className: "CustomActivityReferenceObject", modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", + linkedServices: { + serializedName: "linkedServices", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } } }, - port: { - serializedName: "typeProperties.port", + datasets: { + serializedName: "datasets", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetReference" + } + } } - }, - httpPath: { - serializedName: "typeProperties.httpPath", + } + } + } +}; + +export const WebActivityAuthentication: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "WebActivityAuthentication", + modelProperties: { + type: { + serializedName: "type", type: { - name: "Object" + name: "String" } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + pfx: { + serializedName: "pfx", type: { - name: "String" + name: "Composite", + className: "SecretBase" } }, username: { - serializedName: "typeProperties.username", + serializedName: "username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { - serializedName: "typeProperties.password", + serializedName: "password", type: { name: "Composite", className: "SecretBase" } }, - enableSsl: { - serializedName: "typeProperties.enableSsl", + resource: { + serializedName: "resource", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", - type: { - name: "Object" - } - }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", + userTenant: { + serializedName: "userTenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", + credential: { + serializedName: "credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } - }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + } + } + } +}; + +export const SwitchCase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SwitchCase", + modelProperties: { + value: { + serializedName: "value", type: { - name: "Object" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + activities: { + serializedName: "activities", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity" + } + } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const PaypalLinkedService: msRest.CompositeMapper = { - serializedName: "Paypal", +export const AzureMLWebServiceFile: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "PaypalLinkedService", + className: "AzureMLWebServiceFile", modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" - } - }, - clientId: { + filePath: { + serializedName: "filePath", required: true, - serializedName: "typeProperties.clientId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + linkedServiceName: { + serializedName: "linkedServiceName", type: { name: "Composite", - className: "SecretBase" - } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", - type: { - name: "Object" - } - }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", - type: { - name: "Object" - } - }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "LinkedServiceReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const MarketoLinkedService: msRest.CompositeMapper = { - serializedName: "Marketo", +export const ExecuteDataFlowActivityTypeProperties: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "MarketoLinkedService", + className: "ExecuteDataFlowActivityTypeProperties", modelProperties: { - ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", + dataFlow: { + serializedName: "dataFlow", type: { - name: "Object" + name: "Composite", + className: "DataFlowReference" } }, - clientId: { - required: true, - serializedName: "typeProperties.clientId", + staging: { + serializedName: "staging", type: { - name: "Object" + name: "Composite", + className: "DataFlowStagingInfo" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + integrationRuntime: { + serializedName: "integrationRuntime", type: { name: "Composite", - className: "SecretBase" + className: "IntegrationRuntimeReference" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + compute: { + serializedName: "compute", type: { - name: "Object" + name: "Composite", + className: "ExecuteDataFlowActivityTypePropertiesCompute" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + traceLevel: { + serializedName: "traceLevel", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + continueOnError: { + serializedName: "continueOnError", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + runConcurrently: { + serializedName: "runConcurrently", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureMariaDBLinkedService: msRest.CompositeMapper = { - serializedName: "AzureMariaDB", +export const ExecuteDataFlowActivityTypePropertiesCompute: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureMariaDBLinkedService", + className: "ExecuteDataFlowActivityTypePropertiesCompute", modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - pwd: { - serializedName: "typeProperties.pwd", + computeType: { + serializedName: "computeType", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + coreCount: { + serializedName: "coreCount", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const MariaDBLinkedService: msRest.CompositeMapper = { - serializedName: "MariaDB", +export const PowerQuerySinkMapping: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "MariaDBLinkedService", + className: "PowerQuerySinkMapping", modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - pwd: { - serializedName: "typeProperties.pwd", + queryName: { + serializedName: "queryName", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + dataflowSinks: { + serializedName: "dataflowSinks", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PowerQuerySink" + } + } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const MagentoLinkedService: msRest.CompositeMapper = { - serializedName: "Magento", +export const ScheduleTriggerRecurrence: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "MagentoLinkedService", + className: "ScheduleTriggerRecurrence", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", + frequency: { + serializedName: "frequency", type: { - name: "Object" + name: "String" } }, - accessToken: { - serializedName: "typeProperties.accessToken", + interval: { + serializedName: "interval", type: { - name: "Composite", - className: "SecretBase" + name: "Number" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + startTime: { + serializedName: "startTime", type: { - name: "Object" + name: "DateTime" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + endTime: { + serializedName: "endTime", type: { - name: "Object" + name: "DateTime" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + timeZone: { + serializedName: "timeZone", type: { - name: "Object" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + schedule: { + serializedName: "schedule", type: { - name: "Object" + name: "Composite", + className: "RecurrenceSchedule" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const JiraLinkedService: msRest.CompositeMapper = { - serializedName: "Jira", +export const RecurrenceSchedule: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "JiraLinkedService", + className: "RecurrenceSchedule", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", + minutes: { + serializedName: "minutes", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - port: { - serializedName: "typeProperties.port", + hours: { + serializedName: "hours", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - username: { - required: true, - serializedName: "typeProperties.username", + weekDays: { + serializedName: "weekDays", type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + } } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + monthDays: { + serializedName: "monthDays", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + monthlyOccurrences: { + serializedName: "monthlyOccurrences", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence" + } + } } - }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + } + } + } +}; + +export const RecurrenceScheduleOccurrence: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + day: { + serializedName: "day", type: { - name: "Object" + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + occurrence: { + serializedName: "occurrence", type: { - name: "Object" + name: "Number" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const ImpalaLinkedService: msRest.CompositeMapper = { - serializedName: "Impala", +export const RetryPolicy: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ImpalaLinkedService", + className: "RetryPolicy", modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", + count: { + serializedName: "count", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - port: { - serializedName: "typeProperties.port", + intervalInSeconds: { + constraints: { + InclusiveMaximum: 86400, + InclusiveMinimum: 30 + }, + serializedName: "intervalInSeconds", type: { - name: "Object" + name: "Number" } - }, - authenticationType: { + } + } + } +}; + +export const DependencyReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DependencyReference", + uberParent: "DependencyReference", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", required: true, - serializedName: "typeProperties.authenticationType", type: { name: "String" } - }, - username: { - serializedName: "typeProperties.username", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - enableSsl: { - serializedName: "typeProperties.enableSsl", - type: { - name: "Object" - } - }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", - type: { - name: "Object" - } - }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", - type: { - name: "Object" - } - }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", - type: { - name: "Object" - } - }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + } + } + } +}; + +export const TriggerReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TriggerReference", + modelProperties: { + type: { + defaultValue: "TriggerReference", + isConstant: true, + serializedName: "type", type: { - name: "Object" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + referenceName: { + serializedName: "referenceName", + required: true, type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const HubspotLinkedService: msRest.CompositeMapper = { - serializedName: "Hubspot", +export const Factory: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "HubspotLinkedService", + className: "Factory", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - ...LinkedService.type.modelProperties, - clientId: { - required: true, - serializedName: "typeProperties.clientId", + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", type: { - name: "Object" + name: "Composite", + className: "FactoryIdentity" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - accessToken: { - serializedName: "typeProperties.accessToken", + createTime: { + serializedName: "properties.createTime", + readOnly: true, type: { - name: "Composite", - className: "SecretBase" + name: "DateTime" } }, - refreshToken: { - serializedName: "typeProperties.refreshToken", + version: { + serializedName: "properties.version", + readOnly: true, type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + repoConfiguration: { + serializedName: "properties.repoConfiguration", type: { - name: "Object" + name: "Composite", + className: "FactoryRepoConfiguration" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + globalParameters: { + serializedName: "properties.globalParameters", type: { - name: "Object" + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "GlobalParameterSpecification" + } + } } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + encryption: { + serializedName: "properties.encryption", type: { - name: "Object" + name: "Composite", + className: "EncryptionConfiguration" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const HiveLinkedService: msRest.CompositeMapper = { - serializedName: "Hive", +export const FactoryVstsConfiguration: coreClient.CompositeMapper = { + serializedName: "FactoryVSTSConfiguration", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "HiveLinkedService", + className: "FactoryVstsConfiguration", + uberParent: "FactoryRepoConfiguration", + polymorphicDiscriminator: + FactoryRepoConfiguration.type.polymorphicDiscriminator, modelProperties: { - ...LinkedService.type.modelProperties, - host: { + ...FactoryRepoConfiguration.type.modelProperties, + projectName: { + serializedName: "projectName", required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", type: { - name: "Object" + name: "String" } }, - serverType: { - serializedName: "typeProperties.serverType", + tenantId: { + serializedName: "tenantId", type: { name: "String" } - }, - thriftTransportProtocol: { - serializedName: "typeProperties.thriftTransportProtocol", + } + } + } +}; + +export const FactoryGitHubConfiguration: coreClient.CompositeMapper = { + serializedName: "FactoryGitHubConfiguration", + type: { + name: "Composite", + className: "FactoryGitHubConfiguration", + uberParent: "FactoryRepoConfiguration", + polymorphicDiscriminator: + FactoryRepoConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...FactoryRepoConfiguration.type.modelProperties, + hostName: { + serializedName: "hostName", type: { name: "String" } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + clientId: { + serializedName: "clientId", type: { name: "String" } }, - serviceDiscoveryMode: { - serializedName: "typeProperties.serviceDiscoveryMode", - type: { - name: "Object" - } - }, - zooKeeperNameSpace: { - serializedName: "typeProperties.zooKeeperNameSpace", - type: { - name: "Object" - } - }, - useNativeQuery: { - serializedName: "typeProperties.useNativeQuery", - type: { - name: "Object" - } - }, - username: { - serializedName: "typeProperties.username", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", + clientSecret: { + serializedName: "clientSecret", type: { name: "Composite", - className: "SecretBase" - } - }, - httpPath: { - serializedName: "typeProperties.httpPath", - type: { - name: "Object" - } - }, - enableSsl: { - serializedName: "typeProperties.enableSsl", - type: { - name: "Object" - } - }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", - type: { - name: "Object" - } - }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", - type: { - name: "Object" - } - }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", - type: { - name: "Object" - } - }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", - type: { - name: "Object" + className: "GitHubClientSecret" } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + } + } + } +}; + +export const IntegrationRuntimeResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IntegrationRuntimeResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntime" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const HBaseLinkedService: msRest.CompositeMapper = { - serializedName: "HBase", +export const LinkedServiceResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "HBaseLinkedService", + className: "LinkedServiceResource", modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "LinkedService" } - }, - port: { - serializedName: "typeProperties.port", + } + } + } +}; + +export const DatasetResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DatasetResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "Dataset" } - }, - httpPath: { - serializedName: "typeProperties.httpPath", + } + } + } +}; + +export const PipelineResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PipelineResource", + additionalProperties: { type: { name: "Object" } }, + modelProperties: { + ...SubResource.type.modelProperties, + description: { + serializedName: "properties.description", type: { - name: "Object" + name: "String" } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + activities: { + serializedName: "properties.activities", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity" + } + } } }, - username: { - serializedName: "typeProperties.username", + parameters: { + serializedName: "properties.parameters", type: { - name: "Object" + name: "Dictionary", + value: { + type: { name: "Composite", className: "ParameterSpecification" } + } } }, - password: { - serializedName: "typeProperties.password", + variables: { + serializedName: "properties.variables", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { + type: { name: "Composite", className: "VariableSpecification" } + } } }, - enableSsl: { - serializedName: "typeProperties.enableSsl", + concurrency: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "properties.concurrency", type: { - name: "Object" + name: "Number" } }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + annotations: { + serializedName: "properties.annotations", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", + runDimensions: { + serializedName: "properties.runDimensions", type: { - name: "Object" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + folder: { + serializedName: "properties.folder", type: { - name: "Object" + name: "Composite", + className: "PipelineFolder" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + policy: { + serializedName: "properties.policy", type: { - name: "Object" + name: "Composite", + className: "PipelinePolicy" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const GreenplumLinkedService: msRest.CompositeMapper = { - serializedName: "Greenplum", +export const TriggerResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "GreenplumLinkedService", + className: "TriggerResource", modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - pwd: { - serializedName: "typeProperties.pwd", + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "Trigger" } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + } + } + } +}; + +export const DataFlowResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "DataFlow" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { - serializedName: "GoogleBigQuery", +export const ManagedVirtualNetworkResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "GoogleBigQueryLinkedService", + className: "ManagedVirtualNetworkResource", modelProperties: { - ...LinkedService.type.modelProperties, - project: { - required: true, - serializedName: "typeProperties.project", + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "ManagedVirtualNetwork" } - }, - additionalProjects: { - serializedName: "typeProperties.additionalProjects", - type: { - name: "Object" - } - }, - requestGoogleDriveScope: { - serializedName: "typeProperties.requestGoogleDriveScope", - type: { - name: "Object" - } - }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, - refreshToken: { - serializedName: "typeProperties.refreshToken", + } + } + } +}; + +export const ManagedPrivateEndpointResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedPrivateEndpointResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "SecretBase" - } - }, - clientId: { - serializedName: "typeProperties.clientId", - type: { - name: "Object" + className: "ManagedPrivateEndpoint" } - }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + } + } + } +}; + +export const PrivateEndpointConnectionResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "SecretBase" - } - }, - email: { - serializedName: "typeProperties.email", - type: { - name: "Object" - } - }, - keyFilePath: { - serializedName: "typeProperties.keyFilePath", - type: { - name: "Object" - } - }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", - type: { - name: "Object" - } - }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "RemotePrivateEndpointConnection" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const EloquaLinkedService: msRest.CompositeMapper = { - serializedName: "Eloqua", +export const PrivateLinkConnectionApprovalRequestResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "EloquaLinkedService", + className: "PrivateLinkConnectionApprovalRequestResource", modelProperties: { - ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", - type: { - name: "Object" - } - }, - username: { - required: true, - serializedName: "typeProperties.username", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "SecretBase" - } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", - type: { - name: "Object" - } - }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", - type: { - name: "Object" - } - }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "PrivateLinkConnectionApprovalRequest" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const DrillLinkedService: msRest.CompositeMapper = { - serializedName: "Drill", +export const PrivateLinkResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "DrillLinkedService", + className: "PrivateLinkResource", modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - pwd: { - serializedName: "typeProperties.pwd", + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "PrivateLinkResourceProperties" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const CouchbaseLinkedService: msRest.CompositeMapper = { - serializedName: "Couchbase", +export const CredentialResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "CouchbaseLinkedService", + className: "CredentialResource", modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - credString: { - serializedName: "typeProperties.credString", + ...SubResource.type.modelProperties, + properties: { + serializedName: "properties", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "Credential" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const ConcurLinkedService: msRest.CompositeMapper = { - serializedName: "Concur", +export const ManagedIntegrationRuntime: coreClient.CompositeMapper = { + serializedName: "Managed", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ConcurLinkedService", + className: "ManagedIntegrationRuntime", + uberParent: "IntegrationRuntime", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, modelProperties: { - ...LinkedService.type.modelProperties, - connectionProperties: { - serializedName: "typeProperties.connectionProperties", - type: { - name: "Object" - } - }, - clientId: { - required: true, - serializedName: "typeProperties.clientId", - type: { - name: "Object" - } - }, - username: { - required: true, - serializedName: "typeProperties.username", + ...IntegrationRuntime.type.modelProperties, + state: { + serializedName: "state", + readOnly: true, type: { - name: "Object" + name: "String" } }, - password: { - serializedName: "typeProperties.password", + managedVirtualNetwork: { + serializedName: "managedVirtualNetwork", type: { name: "Composite", - className: "SecretBase" - } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", - type: { - name: "Object" + className: "ManagedVirtualNetworkReference" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + computeProperties: { + serializedName: "typeProperties.computeProperties", type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntimeComputeProperties" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + ssisProperties: { + serializedName: "typeProperties.ssisProperties", type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntimeSsisProperties" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + customerVirtualNetwork: { + serializedName: "typeProperties.customerVirtualNetwork", type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntimeCustomerVirtualNetwork" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzurePostgreSqlLinkedService: msRest.CompositeMapper = { - serializedName: "AzurePostgreSql", +export const SelfHostedIntegrationRuntime: coreClient.CompositeMapper = { + serializedName: "SelfHosted", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzurePostgreSqlLinkedService", + className: "SelfHostedIntegrationRuntime", + uberParent: "IntegrationRuntime", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", + ...IntegrationRuntime.type.modelProperties, + linkedInfo: { + serializedName: "typeProperties.linkedInfo", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "LinkedIntegrationRuntimeType" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AmazonMWSLinkedService: msRest.CompositeMapper = { - serializedName: "AmazonMWS", +export const ManagedIntegrationRuntimeStatus: coreClient.CompositeMapper = { + serializedName: "Managed", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AmazonMWSLinkedService", + className: "ManagedIntegrationRuntimeStatus", + uberParent: "IntegrationRuntimeStatus", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + IntegrationRuntimeStatus.type.polymorphicDiscriminator, modelProperties: { - ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", + ...IntegrationRuntimeStatus.type.modelProperties, + createTime: { + serializedName: "typeProperties.createTime", + readOnly: true, type: { - name: "Object" + name: "DateTime" } }, - marketplaceID: { - required: true, - serializedName: "typeProperties.marketplaceID", + nodes: { + serializedName: "typeProperties.nodes", + readOnly: true, type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeNode" + } + } } }, - sellerID: { - required: true, - serializedName: "typeProperties.sellerID", + otherErrors: { + serializedName: "typeProperties.otherErrors", + readOnly: true, type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError" + } + } } }, - mwsAuthToken: { - serializedName: "typeProperties.mwsAuthToken", + lastOperation: { + serializedName: "typeProperties.lastOperation", type: { name: "Composite", - className: "SecretBase" + className: "ManagedIntegrationRuntimeOperationResult" } - }, - accessKeyId: { - required: true, - serializedName: "typeProperties.accessKeyId", + } + } + } +}; + +export const SelfHostedIntegrationRuntimeStatus: coreClient.CompositeMapper = { + serializedName: "SelfHosted", + type: { + name: "Composite", + className: "SelfHostedIntegrationRuntimeStatus", + uberParent: "IntegrationRuntimeStatus", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + IntegrationRuntimeStatus.type.polymorphicDiscriminator, + modelProperties: { + ...IntegrationRuntimeStatus.type.modelProperties, + createTime: { + serializedName: "typeProperties.createTime", + readOnly: true, type: { - name: "Object" + name: "DateTime" } }, - secretKey: { - serializedName: "typeProperties.secretKey", + taskQueueId: { + serializedName: "typeProperties.taskQueueId", + readOnly: true, type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + internalChannelEncryption: { + serializedName: "typeProperties.internalChannelEncryption", + readOnly: true, type: { - name: "Object" + name: "String" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + version: { + serializedName: "typeProperties.version", + readOnly: true, type: { - name: "Object" + name: "String" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + nodes: { + serializedName: "typeProperties.nodes", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SelfHostedIntegrationRuntimeNode" + } + } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const SapHanaLinkedService: msRest.CompositeMapper = { - serializedName: "SapHana", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SapHanaLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + scheduledUpdateDate: { + serializedName: "typeProperties.scheduledUpdateDate", + readOnly: true, type: { - name: "Object" + name: "DateTime" } }, - server: { - serializedName: "typeProperties.server", + updateDelayOffset: { + serializedName: "typeProperties.updateDelayOffset", + readOnly: true, type: { - name: "Object" + name: "String" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + localTimeZoneOffset: { + serializedName: "typeProperties.localTimeZoneOffset", + readOnly: true, type: { name: "String" } }, - userName: { - serializedName: "typeProperties.userName", + capabilities: { + serializedName: "typeProperties.capabilities", + readOnly: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "String" } } } }, - password: { - serializedName: "typeProperties.password", + serviceUrls: { + serializedName: "typeProperties.serviceUrls", + readOnly: true, type: { - name: "Composite", - className: "SecretBase" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const SapBWLinkedService: msRest.CompositeMapper = { - serializedName: "SapBW", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SapBWLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - server: { - required: true, - serializedName: "typeProperties.server", + autoUpdate: { + serializedName: "typeProperties.autoUpdate", + readOnly: true, type: { - name: "Object" + name: "String" } }, - systemNumber: { - required: true, - serializedName: "typeProperties.systemNumber", + versionStatus: { + serializedName: "typeProperties.versionStatus", + readOnly: true, type: { - name: "Object" + name: "String" } }, - clientId: { - required: true, - serializedName: "typeProperties.clientId", + links: { + serializedName: "typeProperties.links", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedIntegrationRuntime" + } + } } }, - userName: { - serializedName: "typeProperties.userName", + pushedVersion: { + serializedName: "typeProperties.pushedVersion", + readOnly: true, type: { - name: "Object" + name: "String" } }, - password: { - serializedName: "typeProperties.password", + latestVersion: { + serializedName: "typeProperties.latestVersion", + readOnly: true, type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + autoUpdateETA: { + serializedName: "typeProperties.autoUpdateETA", + readOnly: true, type: { - name: "Object" + name: "DateTime" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SftpServerLinkedService: msRest.CompositeMapper = { - serializedName: "Sftp", +export const SsisFolder: coreClient.CompositeMapper = { + serializedName: "Folder", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SftpServerLinkedService", + className: "SsisFolder", + uberParent: "SsisObjectMetadata", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", + ...SsisObjectMetadata.type.modelProperties + } + } +}; + +export const SsisProject: coreClient.CompositeMapper = { + serializedName: "Project", + type: { + name: "Composite", + className: "SsisProject", + uberParent: "SsisObjectMetadata", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + modelProperties: { + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", type: { - name: "Object" + name: "Number" } }, - port: { - serializedName: "typeProperties.port", + version: { + serializedName: "version", type: { - name: "Object" + name: "Number" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + environmentRefs: { + serializedName: "environmentRefs", type: { - name: "String" - } - }, - userName: { - serializedName: "typeProperties.userName", - type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisEnvironmentReference" + } + } } }, - password: { - serializedName: "typeProperties.password", + parameters: { + serializedName: "parameters", type: { - name: "Composite", - className: "SecretBase" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisParameter" + } + } } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + } + } + } +}; + +export const SsisPackage: coreClient.CompositeMapper = { + serializedName: "Package", + type: { + name: "Composite", + className: "SsisPackage", + uberParent: "SsisObjectMetadata", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + modelProperties: { + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", type: { - name: "Object" + name: "Number" } }, - privateKeyPath: { - serializedName: "typeProperties.privateKeyPath", + projectVersion: { + serializedName: "projectVersion", type: { - name: "Object" + name: "Number" } }, - privateKeyContent: { - serializedName: "typeProperties.privateKeyContent", + projectId: { + serializedName: "projectId", type: { - name: "Composite", - className: "SecretBase" + name: "Number" } }, - passPhrase: { - serializedName: "typeProperties.passPhrase", + parameters: { + serializedName: "parameters", type: { - name: "Composite", - className: "SecretBase" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisParameter" + } + } } - }, - skipHostKeyValidation: { - serializedName: "typeProperties.skipHostKeyValidation", + } + } + } +}; + +export const SsisEnvironment: coreClient.CompositeMapper = { + serializedName: "Environment", + type: { + name: "Composite", + className: "SsisEnvironment", + uberParent: "SsisObjectMetadata", + polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, + modelProperties: { + ...SsisObjectMetadata.type.modelProperties, + folderId: { + serializedName: "folderId", type: { - name: "Object" + name: "Number" } }, - hostKeyFingerprint: { - serializedName: "typeProperties.hostKeyFingerprint", + variables: { + serializedName: "variables", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisVariable" + } + } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const FtpServerLinkedService: msRest.CompositeMapper = { - serializedName: "FtpServer", +export const AzureStorageLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureStorage", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureStorageLinkedService", uberParent: "LinkedService", - className: "FtpServerLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + accountKey: { + serializedName: "typeProperties.accountKey", type: { - name: "String" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - userName: { - serializedName: "typeProperties.userName", + sasUri: { + serializedName: "typeProperties.sasUri", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + sasToken: { + serializedName: "typeProperties.sasToken", type: { name: "Composite", - className: "SecretBase" + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" - } - }, - enableSsl: { - serializedName: "typeProperties.enableSsl", - type: { - name: "Object" - } - }, - enableServerCertificateValidation: { - serializedName: "typeProperties.enableServerCertificateValidation", - type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const HttpLinkedService: msRest.CompositeMapper = { - serializedName: "HttpServer", +export const AzureBlobStorageLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureBlobStorage", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureBlobStorageLinkedService", uberParent: "LinkedService", - className: "HttpLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - url: { - required: true, - serializedName: "typeProperties.url", + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + accountKey: { + serializedName: "typeProperties.accountKey", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + sasUri: { + serializedName: "typeProperties.sasUri", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sasToken: { + serializedName: "typeProperties.sasToken", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + serviceEndpoint: { + serializedName: "typeProperties.serviceEndpoint", type: { name: "String" } }, - userName: { - serializedName: "typeProperties.userName", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", className: "SecretBase" } }, - authHeaders: { - serializedName: "typeProperties.authHeaders", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - embeddedCertData: { - serializedName: "typeProperties.embeddedCertData", + azureCloudType: { + serializedName: "typeProperties.azureCloudType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - certThumbprint: { - serializedName: "typeProperties.certThumbprint", + accountKind: { + serializedName: "typeProperties.accountKind", type: { - name: "Object" + name: "String" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "String" } }, - enableServerCertificateValidation: { - serializedName: "typeProperties.enableServerCertificateValidation", + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureSearchLinkedService: msRest.CompositeMapper = { - serializedName: "AzureSearch", +export const AzureTableStorageLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureTableStorage", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureTableStorageLinkedService", uberParent: "LinkedService", - className: "AzureSearchLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - url: { - required: true, - serializedName: "typeProperties.url", + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - key: { - serializedName: "typeProperties.key", + accountKey: { + serializedName: "typeProperties.accountKey", type: { name: "Composite", - className: "SecretBase" + className: "AzureKeyVaultSecretReference" + } + }, + sasUri: { + serializedName: "typeProperties.sasUri", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sasToken: { + serializedName: "typeProperties.sasToken", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const CustomDataSourceLinkedService: msRest.CompositeMapper = { - serializedName: "CustomDataSource", +export const AzureSqlDWLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureSqlDW", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureSqlDWLinkedService", uberParent: "LinkedService", - className: "CustomDataSourceLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - typeProperties: { + connectionString: { + serializedName: "typeProperties.connectionString", required: true, - serializedName: "typeProperties", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AmazonRedshiftLinkedService: msRest.CompositeMapper = { - serializedName: "AmazonRedshift", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AmazonRedshiftLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - server: { - required: true, - serializedName: "typeProperties.server", + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - username: { - serializedName: "typeProperties.username", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", className: "SecretBase" } }, - database: { - required: true, - serializedName: "typeProperties.database", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - port: { - serializedName: "typeProperties.port", + azureCloudType: { + serializedName: "typeProperties.azureCloudType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + credential: { + serializedName: "typeProperties.credential", + type: { + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AmazonS3LinkedService: msRest.CompositeMapper = { - serializedName: "AmazonS3", +export const SqlServerLinkedService: coreClient.CompositeMapper = { + serializedName: "SqlServer", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "SqlServerLinkedService", uberParent: "LinkedService", - className: "AmazonS3LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - authenticationType: { - serializedName: "typeProperties.authenticationType", + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accessKeyId: { - serializedName: "typeProperties.accessKeyId", + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - secretAccessKey: { - serializedName: "typeProperties.secretAccessKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - serviceUrl: { - serializedName: "typeProperties.serviceUrl", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sessionToken: { - serializedName: "typeProperties.sessionToken", + alwaysEncryptedSettings: { + serializedName: "typeProperties.alwaysEncryptedSettings", type: { name: "Composite", - className: "SecretBase" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "SqlAlwaysEncryptedProperties" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const RestServiceLinkedService: msRest.CompositeMapper = { - serializedName: "RestService", +export const AmazonRdsForSqlServerLinkedService: coreClient.CompositeMapper = { + serializedName: "AmazonRdsForSqlServer", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AmazonRdsForSqlServerLinkedService", uberParent: "LinkedService", - className: "RestServiceLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - url: { + connectionString: { + serializedName: "typeProperties.connectionString", required: true, - serializedName: "typeProperties.url", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enableServerCertificateValidation: { - serializedName: "typeProperties.enableServerCertificateValidation", + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + password: { + serializedName: "typeProperties.password", type: { - name: "String" + name: "Composite", + className: "SecretBase" } }, - userName: { - serializedName: "typeProperties.userName", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + alwaysEncryptedSettings: { + serializedName: "typeProperties.alwaysEncryptedSettings", type: { name: "Composite", - className: "SecretBase" + className: "SqlAlwaysEncryptedProperties" + } + } + } + } +}; + +export const AzureSqlDatabaseLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureSqlDatabase", + type: { + name: "Composite", + className: "AzureSqlDatabaseLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, - authHeaders: { - serializedName: "typeProperties.authHeaders", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, servicePrincipalId: { serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, servicePrincipalKey: { @@ -7471,336 +8133,388 @@ export const RestServiceLinkedService: msRest.CompositeMapper = { tenant: { serializedName: "typeProperties.tenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, azureCloudType: { serializedName: "typeProperties.azureCloudType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - aadResourceId: { - serializedName: "typeProperties.aadResourceId", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + alwaysEncryptedSettings: { + serializedName: "typeProperties.alwaysEncryptedSettings", + type: { + name: "Composite", + className: "SqlAlwaysEncryptedProperties" + } + }, + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SapOpenHubLinkedService: msRest.CompositeMapper = { - serializedName: "SapOpenHub", +export const AzureSqlMILinkedService: coreClient.CompositeMapper = { + serializedName: "AzureSqlMI", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureSqlMILinkedService", uberParent: "LinkedService", - className: "SapOpenHubLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - server: { - serializedName: "typeProperties.server", - type: { - name: "Object" - } - }, - systemNumber: { - serializedName: "typeProperties.systemNumber", - type: { - name: "Object" - } - }, - clientId: { - serializedName: "typeProperties.clientId", + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - language: { - serializedName: "typeProperties.language", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - systemId: { - serializedName: "typeProperties.systemId", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userName: { - serializedName: "typeProperties.userName", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - password: { - serializedName: "typeProperties.password", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - messageServer: { - serializedName: "typeProperties.messageServer", + azureCloudType: { + serializedName: "typeProperties.azureCloudType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - messageServerService: { - serializedName: "typeProperties.messageServerService", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - logonGroup: { - serializedName: "typeProperties.logonGroup", + alwaysEncryptedSettings: { + serializedName: "typeProperties.alwaysEncryptedSettings", type: { - name: "Object" + name: "Composite", + className: "SqlAlwaysEncryptedProperties" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SapEccLinkedService: msRest.CompositeMapper = { - serializedName: "SapEcc", +export const AzureBatchLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureBatch", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureBatchLinkedService", uberParent: "LinkedService", - className: "SapEccLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - url: { + accountName: { + serializedName: "typeProperties.accountName", required: true, - serializedName: "typeProperties.url", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - username: { - serializedName: "typeProperties.username", + accessKey: { + serializedName: "typeProperties.accessKey", type: { - name: "String" + name: "Composite", + className: "SecretBase" } }, - password: { - serializedName: "typeProperties.password", + batchUri: { + serializedName: "typeProperties.batchUri", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + poolName: { + serializedName: "typeProperties.poolName", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + linkedServiceName: { + serializedName: "typeProperties.linkedServiceName", type: { name: "Composite", - className: "SecretBase" + className: "LinkedServiceReference" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + credential: { + serializedName: "typeProperties.credential", + type: { + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SapCloudForCustomerLinkedService: msRest.CompositeMapper = { - serializedName: "SapCloudForCustomer", +export const AzureKeyVaultLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureKeyVault", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureKeyVaultLinkedService", uberParent: "LinkedService", - className: "SapCloudForCustomerLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - url: { + baseUrl: { + serializedName: "typeProperties.baseUrl", required: true, - serializedName: "typeProperties.url", - type: { - name: "Object" - } - }, - username: { - serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + credential: { + serializedName: "typeProperties.credential", type: { name: "Composite", - className: "SecretBase" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SalesforceServiceCloudLinkedService: msRest.CompositeMapper = { - serializedName: "SalesforceServiceCloud", +export const CosmosDbLinkedService: coreClient.CompositeMapper = { + serializedName: "CosmosDb", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "CosmosDbLinkedService", uberParent: "LinkedService", - className: "SalesforceServiceCloudLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - environmentUrl: { - serializedName: "typeProperties.environmentUrl", + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - username: { - serializedName: "typeProperties.username", + accountEndpoint: { + serializedName: "typeProperties.accountEndpoint", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + database: { + serializedName: "typeProperties.database", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + accountKey: { + serializedName: "typeProperties.accountKey", type: { name: "Composite", className: "SecretBase" } }, - securityToken: { - serializedName: "typeProperties.securityToken", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", + type: { + name: "String" + } + }, + servicePrincipalCredential: { + serializedName: "typeProperties.servicePrincipalCredential", type: { name: "Composite", className: "SecretBase" } }, - apiVersion: { - serializedName: "typeProperties.apiVersion", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - extendedProperties: { - serializedName: "typeProperties.extendedProperties", + azureCloudType: { + serializedName: "typeProperties.azureCloudType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + connectionMode: { + serializedName: "typeProperties.connectionMode", + type: { + name: "String" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SalesforceLinkedService: msRest.CompositeMapper = { - serializedName: "Salesforce", +export const DynamicsLinkedService: coreClient.CompositeMapper = { + serializedName: "Dynamics", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "DynamicsLinkedService", uberParent: "LinkedService", - className: "SalesforceLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - environmentUrl: { - serializedName: "typeProperties.environmentUrl", + deploymentType: { + serializedName: "typeProperties.deploymentType", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - username: { - serializedName: "typeProperties.username", + hostName: { + serializedName: "typeProperties.hostName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + port: { + serializedName: "typeProperties.port", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - securityToken: { - serializedName: "typeProperties.securityToken", + serviceUri: { + serializedName: "typeProperties.serviceUri", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - apiVersion: { - serializedName: "typeProperties.apiVersion", + organizationName: { + serializedName: "typeProperties.organizationName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const Office365LinkedService: msRest.CompositeMapper = { - serializedName: "Office365", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "Office365LinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - office365TenantId: { - required: true, - serializedName: "typeProperties.office365TenantId", + }, + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalTenantId: { - required: true, - serializedName: "typeProperties.servicePrincipalTenantId", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, servicePrincipalId: { - required: true, serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - required: true, - serializedName: "typeProperties.servicePrincipalKey", + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + servicePrincipalCredential: { + serializedName: "typeProperties.servicePrincipalCredential", type: { name: "Composite", className: "SecretBase" @@ -7809,259 +8523,173 @@ export const Office365LinkedService: msRest.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureBlobFSLinkedService: msRest.CompositeMapper = { - serializedName: "AzureBlobFS", +export const DynamicsCrmLinkedService: coreClient.CompositeMapper = { + serializedName: "DynamicsCrm", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "DynamicsCrmLinkedService", uberParent: "LinkedService", - className: "AzureBlobFSLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - url: { + deploymentType: { + serializedName: "typeProperties.deploymentType", required: true, - serializedName: "typeProperties.url", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accountKey: { - serializedName: "typeProperties.accountKey", + hostName: { + serializedName: "typeProperties.hostName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + serviceUri: { + serializedName: "typeProperties.serviceUri", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - tenant: { - serializedName: "typeProperties.tenant", + organizationName: { + serializedName: "typeProperties.organizationName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureCloudType: { - serializedName: "typeProperties.azureCloudType", + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + username: { + serializedName: "typeProperties.username", type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDataLakeStore", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureDataLakeStoreLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - dataLakeStoreUri: { - required: true, - serializedName: "typeProperties.dataLakeStoreUri", - type: { - name: "Object" - } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" - } - }, - azureCloudType: { - serializedName: "typeProperties.azureCloudType", - type: { - name: "Object" - } - }, - accountName: { - serializedName: "typeProperties.accountName", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - subscriptionId: { - serializedName: "typeProperties.subscriptionId", + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - resourceGroupName: { - serializedName: "typeProperties.resourceGroupName", + servicePrincipalCredential: { + serializedName: "typeProperties.servicePrincipalCredential", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const CosmosDbMongoDbApiLinkedService: msRest.CompositeMapper = { - serializedName: "CosmosDbMongoDbApi", +export const CommonDataServiceForAppsLinkedService: coreClient.CompositeMapper = { + serializedName: "CommonDataServiceForApps", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "CommonDataServiceForAppsLinkedService", uberParent: "LinkedService", - className: "CosmosDbMongoDbApiLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - database: { - required: true, - serializedName: "typeProperties.database", - type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const MongoDbV2LinkedService: msRest.CompositeMapper = { - serializedName: "MongoDbV2", - type: { - name: "Composite", + additionalProperties: { type: { name: "Object" } }, polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "MongoDbV2LinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { + deploymentType: { + serializedName: "typeProperties.deploymentType", required: true, - serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - database: { - required: true, - serializedName: "typeProperties.database", + hostName: { + serializedName: "typeProperties.hostName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const MongoDbAtlasLinkedService: msRest.CompositeMapper = { - serializedName: "MongoDbAtlas", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "MongoDbAtlasLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", + }, + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - database: { - required: true, - serializedName: "typeProperties.database", + serviceUri: { + serializedName: "typeProperties.serviceUri", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const MongoDbLinkedService: msRest.CompositeMapper = { - serializedName: "MongoDb", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "MongoDbLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - server: { - required: true, - serializedName: "typeProperties.server", + }, + organizationName: { + serializedName: "typeProperties.organizationName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, authenticationType: { serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, - databaseName: { required: true, - serializedName: "typeProperties.databaseName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, username: { serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -8071,240 +8699,174 @@ export const MongoDbLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - authSource: { - serializedName: "typeProperties.authSource", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enableSsl: { - serializedName: "typeProperties.enableSsl", + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + servicePrincipalCredential: { + serializedName: "typeProperties.servicePrincipalCredential", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const CassandraLinkedService: msRest.CompositeMapper = { - serializedName: "Cassandra", +export const HDInsightLinkedService: coreClient.CompositeMapper = { + serializedName: "HDInsight", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "HDInsightLinkedService", uberParent: "LinkedService", - className: "CassandraLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - host: { + clusterUri: { + serializedName: "typeProperties.clusterUri", required: true, - serializedName: "typeProperties.host", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - port: { - serializedName: "typeProperties.port", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - username: { - serializedName: "typeProperties.username", + linkedServiceName: { + serializedName: "typeProperties.linkedServiceName", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } }, - password: { - serializedName: "typeProperties.password", + hcatalogLinkedServiceName: { + serializedName: "typeProperties.hcatalogLinkedServiceName", type: { name: "Composite", - className: "SecretBase" + className: "LinkedServiceReference" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const WebLinkedServiceTypeProperties: msRest.CompositeMapper = { - serializedName: "WebLinkedServiceTypeProperties", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "authenticationType", - clientName: "authenticationType" - }, - uberParent: "WebLinkedServiceTypeProperties", - className: "WebLinkedServiceTypeProperties", - modelProperties: { - url: { - required: true, - serializedName: "url", + }, + isEspEnabled: { + serializedName: "typeProperties.isEspEnabled", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - required: true, - serializedName: "authenticationType", + fileSystem: { + serializedName: "typeProperties.fileSystem", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const WebClientCertificateAuthentication: msRest.CompositeMapper = { - serializedName: "ClientCertificate", +export const FileServerLinkedService: coreClient.CompositeMapper = { + serializedName: "FileServer", type: { name: "Composite", - polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, - uberParent: "WebLinkedServiceTypeProperties", - className: "WebClientCertificateAuthentication", + className: "FileServerLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...WebLinkedServiceTypeProperties.type.modelProperties, - pfx: { + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", required: true, - serializedName: "pfx", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + userId: { + serializedName: "typeProperties.userId", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { - required: true, - serializedName: "password", + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } - } - } - } -}; - -export const WebBasicAuthentication: msRest.CompositeMapper = { - serializedName: "Basic", - type: { - name: "Composite", - polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, - uberParent: "WebLinkedServiceTypeProperties", - className: "WebBasicAuthentication", - modelProperties: { - ...WebLinkedServiceTypeProperties.type.modelProperties, - username: { - required: true, - serializedName: "username", - type: { - name: "Object" - } }, - password: { - required: true, - serializedName: "password", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const WebAnonymousAuthentication: msRest.CompositeMapper = { - serializedName: "Anonymous", - type: { - name: "Composite", - polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, - uberParent: "WebLinkedServiceTypeProperties", - className: "WebAnonymousAuthentication", - modelProperties: { - ...WebLinkedServiceTypeProperties.type.modelProperties - } - } -}; - -export const WebLinkedService: msRest.CompositeMapper = { - serializedName: "Web", +export const AzureFileStorageLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureFileStorage", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureFileStorageLinkedService", uberParent: "LinkedService", - className: "WebLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - typeProperties: { - required: true, - serializedName: "typeProperties", - type: { - name: "Composite", - className: "WebLinkedServiceTypeProperties" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const ODataLinkedService: msRest.CompositeMapper = { - serializedName: "OData", - type: { - name: "Composite", + additionalProperties: { type: { name: "Object" } }, polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ODataLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - url: { - required: true, - serializedName: "typeProperties.url", - type: { - name: "Object" - } - }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + host: { + serializedName: "typeProperties.host", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userName: { - serializedName: "typeProperties.userName", + userId: { + serializedName: "typeProperties.userId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -8314,259 +8876,244 @@ export const ODataLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - authHeaders: { - serializedName: "typeProperties.authHeaders", - type: { - name: "Object" - } - }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" - } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", - type: { - name: "Object" - } - }, - azureCloudType: { - serializedName: "typeProperties.azureCloudType", + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - aadResourceId: { - serializedName: "typeProperties.aadResourceId", + accountKey: { + serializedName: "typeProperties.accountKey", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - aadServicePrincipalCredentialType: { - serializedName: "typeProperties.aadServicePrincipalCredentialType", + sasUri: { + serializedName: "typeProperties.sasUri", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + sasToken: { + serializedName: "typeProperties.sasToken", type: { name: "Composite", - className: "SecretBase" + className: "AzureKeyVaultSecretReference" } }, - servicePrincipalEmbeddedCert: { - serializedName: "typeProperties.servicePrincipalEmbeddedCert", + fileShare: { + serializedName: "typeProperties.fileShare", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalEmbeddedCertPassword: { - serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", + snapshot: { + serializedName: "typeProperties.snapshot", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const HdfsLinkedService: msRest.CompositeMapper = { - serializedName: "Hdfs", +export const AmazonS3CompatibleLinkedService: coreClient.CompositeMapper = { + serializedName: "AmazonS3Compatible", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AmazonS3CompatibleLinkedService", uberParent: "LinkedService", - className: "HdfsLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - url: { - required: true, - serializedName: "typeProperties.url", + accessKeyId: { + serializedName: "typeProperties.accessKeyId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + secretAccessKey: { + serializedName: "typeProperties.secretAccessKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + serviceUrl: { + serializedName: "typeProperties.serviceUrl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userName: { - serializedName: "typeProperties.userName", + forcePathStyle: { + serializedName: "typeProperties.forcePathStyle", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const MicrosoftAccessLinkedService: msRest.CompositeMapper = { - serializedName: "MicrosoftAccess", +export const OracleCloudStorageLinkedService: coreClient.CompositeMapper = { + serializedName: "OracleCloudStorage", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "OracleCloudStorageLinkedService", uberParent: "LinkedService", - className: "MicrosoftAccessLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + accessKeyId: { + serializedName: "typeProperties.accessKeyId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - credential: { - serializedName: "typeProperties.credential", + secretAccessKey: { + serializedName: "typeProperties.secretAccessKey", type: { name: "Composite", className: "SecretBase" } }, - userName: { - serializedName: "typeProperties.userName", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", + serviceUrl: { + serializedName: "typeProperties.serviceUrl", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const InformixLinkedService: msRest.CompositeMapper = { - serializedName: "Informix", +export const GoogleCloudStorageLinkedService: coreClient.CompositeMapper = { + serializedName: "GoogleCloudStorage", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "GoogleCloudStorageLinkedService", uberParent: "LinkedService", - className: "InformixLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + accessKeyId: { + serializedName: "typeProperties.accessKeyId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - credential: { - serializedName: "typeProperties.credential", + secretAccessKey: { + serializedName: "typeProperties.secretAccessKey", type: { name: "Composite", className: "SecretBase" } }, - userName: { - serializedName: "typeProperties.userName", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", + serviceUrl: { + serializedName: "typeProperties.serviceUrl", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const OdbcLinkedService: msRest.CompositeMapper = { - serializedName: "Odbc", +export const OracleLinkedService: coreClient.CompositeMapper = { + serializedName: "Oracle", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "OracleLinkedService", uberParent: "LinkedService", - className: "OdbcLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, connectionString: { - required: true, serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - credential: { - serializedName: "typeProperties.credential", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - userName: { - serializedName: "typeProperties.userName", + } + } + } +}; + +export const AmazonRdsForOracleLinkedService: coreClient.CompositeMapper = { + serializedName: "AmazonRdsForOracle", + type: { + name: "Composite", + className: "AmazonRdsForOracleLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -8579,153 +9126,153 @@ export const OdbcLinkedService: msRest.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureMLServiceLinkedService: msRest.CompositeMapper = { - serializedName: "AzureMLService", +export const AzureMySqlLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureMySql", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureMySqlLinkedService", uberParent: "LinkedService", - className: "AzureMLServiceLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - subscriptionId: { - required: true, - serializedName: "typeProperties.subscriptionId", - type: { - name: "Object" - } - }, - resourceGroupName: { - required: true, - serializedName: "typeProperties.resourceGroupName", - type: { - name: "Object" - } - }, - mlWorkspaceName: { + connectionString: { + serializedName: "typeProperties.connectionString", required: true, - serializedName: "typeProperties.mlWorkspaceName", - type: { - name: "Object" - } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "SecretBase" - } - }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureMLLinkedService: msRest.CompositeMapper = { - serializedName: "AzureML", +export const MySqlLinkedService: coreClient.CompositeMapper = { + serializedName: "MySql", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "MySqlLinkedService", uberParent: "LinkedService", - className: "AzureMLLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - mlEndpoint: { + connectionString: { + serializedName: "typeProperties.connectionString", required: true, - serializedName: "typeProperties.mlEndpoint", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - apiKey: { - required: true, - serializedName: "typeProperties.apiKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "SecretBase" + className: "AzureKeyVaultSecretReference" } }, - updateResourceEndpoint: { - serializedName: "typeProperties.updateResourceEndpoint", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + } + } + } +}; + +export const PostgreSqlLinkedService: coreClient.CompositeMapper = { + serializedName: "PostgreSql", + type: { + name: "Composite", + className: "PostgreSqlLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "SecretBase" - } - }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const TeradataLinkedService: msRest.CompositeMapper = { - serializedName: "Teradata", +export const SybaseLinkedService: coreClient.CompositeMapper = { + serializedName: "Sybase", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "SybaseLinkedService", uberParent: "LinkedService", - className: "TeradataLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + server: { + serializedName: "typeProperties.server", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - server: { - serializedName: "typeProperties.server", + database: { + serializedName: "typeProperties.database", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + schema: { + serializedName: "typeProperties.schema", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, authenticationType: { @@ -8737,7 +9284,8 @@ export const TeradataLinkedService: msRest.CompositeMapper = { username: { serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -8750,39 +9298,43 @@ export const TeradataLinkedService: msRest.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const Db2LinkedService: msRest.CompositeMapper = { +export const Db2LinkedService: coreClient.CompositeMapper = { serializedName: "Db2", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", className: "Db2LinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, connectionString: { serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, server: { serializedName: "typeProperties.server", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, database: { serializedName: "typeProperties.database", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, authenticationType: { @@ -8794,7 +9346,8 @@ export const Db2LinkedService: msRest.CompositeMapper = { username: { serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -8807,53 +9360,50 @@ export const Db2LinkedService: msRest.CompositeMapper = { packageCollection: { serializedName: "typeProperties.packageCollection", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, certificateCommonName: { serializedName: "typeProperties.certificateCommonName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SybaseLinkedService: msRest.CompositeMapper = { - serializedName: "Sybase", +export const TeradataLinkedService: coreClient.CompositeMapper = { + serializedName: "Teradata", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "TeradataLinkedService", uberParent: "LinkedService", - className: "SybaseLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - server: { - required: true, - serializedName: "typeProperties.server", - type: { - name: "Object" - } - }, - database: { - required: true, - serializedName: "typeProperties.database", + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - schema: { - serializedName: "typeProperties.schema", + server: { + serializedName: "typeProperties.server", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, authenticationType: { @@ -8865,7 +9415,8 @@ export const SybaseLinkedService: msRest.CompositeMapper = { username: { serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -8878,292 +9429,401 @@ export const SybaseLinkedService: msRest.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const PostgreSqlLinkedService: msRest.CompositeMapper = { - serializedName: "PostgreSql", +export const AzureMLLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureML", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureMLLinkedService", uberParent: "LinkedService", - className: "PostgreSqlLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { + mlEndpoint: { + serializedName: "typeProperties.mlEndpoint", required: true, - serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + apiKey: { + serializedName: "typeProperties.apiKey", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" + } + }, + updateResourceEndpoint: { + serializedName: "typeProperties.updateResourceEndpoint", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + authentication: { + serializedName: "typeProperties.authentication", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const MySqlLinkedService: msRest.CompositeMapper = { - serializedName: "MySql", +export const AzureMLServiceLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureMLService", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureMLServiceLinkedService", uberParent: "LinkedService", - className: "MySqlLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { + subscriptionId: { + serializedName: "typeProperties.subscriptionId", required: true, - serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + resourceGroupName: { + serializedName: "typeProperties.resourceGroupName", + required: true, type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + mlWorkspaceName: { + serializedName: "typeProperties.mlWorkspaceName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureMySqlLinkedService: msRest.CompositeMapper = { - serializedName: "AzureMySql", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureMySqlLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const OracleLinkedService: msRest.CompositeMapper = { - serializedName: "Oracle", +export const OdbcLinkedService: coreClient.CompositeMapper = { + serializedName: "Odbc", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "OdbcLinkedService", uberParent: "LinkedService", - className: "OracleLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, connectionString: { - required: true, serializedName: "typeProperties.connectionString", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + credential: { + serializedName: "typeProperties.credential", + type: { + name: "Composite", + className: "SecretBase" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { serializedName: "typeProperties.password", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const GoogleCloudStorageLinkedService: msRest.CompositeMapper = { - serializedName: "GoogleCloudStorage", +export const InformixLinkedService: coreClient.CompositeMapper = { + serializedName: "Informix", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "InformixLinkedService", uberParent: "LinkedService", - className: "GoogleCloudStorageLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - accessKeyId: { - serializedName: "typeProperties.accessKeyId", + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - secretAccessKey: { - serializedName: "typeProperties.secretAccessKey", + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + credential: { + serializedName: "typeProperties.credential", type: { name: "Composite", className: "SecretBase" } }, - serviceUrl: { - serializedName: "typeProperties.serviceUrl", + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const OracleCloudStorageLinkedService: msRest.CompositeMapper = { - serializedName: "OracleCloudStorage", +export const MicrosoftAccessLinkedService: coreClient.CompositeMapper = { + serializedName: "MicrosoftAccess", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "MicrosoftAccessLinkedService", uberParent: "LinkedService", - className: "OracleCloudStorageLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - accessKeyId: { - serializedName: "typeProperties.accessKeyId", + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - secretAccessKey: { - serializedName: "typeProperties.secretAccessKey", + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + credential: { + serializedName: "typeProperties.credential", type: { name: "Composite", className: "SecretBase" } }, - serviceUrl: { - serializedName: "typeProperties.serviceUrl", + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AmazonS3CompatibleLinkedService: msRest.CompositeMapper = { - serializedName: "AmazonS3Compatible", +export const HdfsLinkedService: coreClient.CompositeMapper = { + serializedName: "Hdfs", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "HdfsLinkedService", uberParent: "LinkedService", - className: "AmazonS3CompatibleLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - accessKeyId: { - serializedName: "typeProperties.accessKeyId", + url: { + serializedName: "typeProperties.url", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - secretAccessKey: { - serializedName: "typeProperties.secretAccessKey", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - serviceUrl: { - serializedName: "typeProperties.serviceUrl", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - forcePathStyle: { - serializedName: "typeProperties.forcePathStyle", + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureFileStorageLinkedService: msRest.CompositeMapper = { - serializedName: "AzureFileStorage", +export const ODataLinkedService: coreClient.CompositeMapper = { + serializedName: "OData", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "ODataLinkedService", uberParent: "LinkedService", - className: "AzureFileStorageLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - host: { - serializedName: "typeProperties.host", + url: { + serializedName: "typeProperties.url", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userId: { - serializedName: "typeProperties.userId", + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -9173,79 +9833,63 @@ export const AzureFileStorageLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - connectionString: { - serializedName: "typeProperties.connectionString", + authHeaders: { + serializedName: "typeProperties.authHeaders", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accountKey: { - serializedName: "typeProperties.accountKey", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sasUri: { - serializedName: "typeProperties.sasUri", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sasToken: { - serializedName: "typeProperties.sasToken", + azureCloudType: { + serializedName: "typeProperties.azureCloudType", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileShare: { - serializedName: "typeProperties.fileShare", + aadResourceId: { + serializedName: "typeProperties.aadResourceId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - snapshot: { - serializedName: "typeProperties.snapshot", + aadServicePrincipalCredentialType: { + serializedName: "typeProperties.aadServicePrincipalCredentialType", type: { - name: "Object" + name: "String" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const FileServerLinkedService: msRest.CompositeMapper = { - serializedName: "FileServer", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "FileServerLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - userId: { - serializedName: "typeProperties.userId", + servicePrincipalEmbeddedCert: { + serializedName: "typeProperties.servicePrincipalEmbeddedCert", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - password: { - serializedName: "typeProperties.password", + servicePrincipalEmbeddedCertPassword: { + serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", type: { name: "Composite", className: "SecretBase" @@ -9254,131 +9898,72 @@ export const FileServerLinkedService: msRest.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const HDInsightLinkedService: msRest.CompositeMapper = { - serializedName: "HDInsight", +export const WebLinkedService: coreClient.CompositeMapper = { + serializedName: "Web", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "WebLinkedService", uberParent: "LinkedService", - className: "HDInsightLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - clusterUri: { - required: true, - serializedName: "typeProperties.clusterUri", - type: { - name: "Object" - } - }, - userName: { - serializedName: "typeProperties.userName", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - linkedServiceName: { - serializedName: "typeProperties.linkedServiceName", - type: { - name: "Composite", - className: "LinkedServiceReference" - } - }, - hcatalogLinkedServiceName: { - serializedName: "typeProperties.hcatalogLinkedServiceName", + typeProperties: { + serializedName: "typeProperties", type: { name: "Composite", - className: "LinkedServiceReference" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" - } - }, - isEspEnabled: { - serializedName: "typeProperties.isEspEnabled", - type: { - name: "Object" - } - }, - fileSystem: { - serializedName: "typeProperties.fileSystem", - type: { - name: "Object" + className: "WebLinkedServiceTypeProperties" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const CommonDataServiceForAppsLinkedService: msRest.CompositeMapper = { - serializedName: "CommonDataServiceForApps", +export const CassandraLinkedService: coreClient.CompositeMapper = { + serializedName: "Cassandra", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "CassandraLinkedService", uberParent: "LinkedService", - className: "CommonDataServiceForAppsLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - deploymentType: { + host: { + serializedName: "typeProperties.host", required: true, - serializedName: "typeProperties.deploymentType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - hostName: { - serializedName: "typeProperties.hostName", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, port: { serializedName: "typeProperties.port", type: { - name: "Object" - } - }, - serviceUri: { - serializedName: "typeProperties.serviceUri", - type: { - name: "Object" - } - }, - organizationName: { - serializedName: "typeProperties.organizationName", - type: { - name: "Object" - } - }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, username: { serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -9388,87 +9973,54 @@ export const CommonDataServiceForAppsLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", - type: { - name: "Object" - } - }, - servicePrincipalCredentialType: { - serializedName: "typeProperties.servicePrincipalCredentialType", - type: { - name: "Object" - } - }, - servicePrincipalCredential: { - serializedName: "typeProperties.servicePrincipalCredential", - type: { - name: "Composite", - className: "SecretBase" - } - }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const DynamicsCrmLinkedService: msRest.CompositeMapper = { - serializedName: "DynamicsCrm", +export const MongoDbLinkedService: coreClient.CompositeMapper = { + serializedName: "MongoDb", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "MongoDbLinkedService", uberParent: "LinkedService", - className: "DynamicsCrmLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - deploymentType: { + server: { + serializedName: "typeProperties.server", required: true, - serializedName: "typeProperties.deploymentType", - type: { - name: "Object" - } - }, - hostName: { - serializedName: "typeProperties.hostName", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", type: { - name: "Object" - } - }, - serviceUri: { - serializedName: "typeProperties.serviceUri", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - organizationName: { - serializedName: "typeProperties.organizationName", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } }, - authenticationType: { + databaseName: { + serializedName: "typeProperties.databaseName", required: true, - serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, username: { serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -9478,174 +10030,169 @@ export const DynamicsCrmLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + authSource: { + serializedName: "typeProperties.authSource", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalCredentialType: { - serializedName: "typeProperties.servicePrincipalCredentialType", + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalCredential: { - serializedName: "typeProperties.servicePrincipalCredential", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const DynamicsLinkedService: msRest.CompositeMapper = { - serializedName: "Dynamics", +export const MongoDbAtlasLinkedService: coreClient.CompositeMapper = { + serializedName: "MongoDbAtlas", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "MongoDbAtlasLinkedService", uberParent: "LinkedService", - className: "DynamicsLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - deploymentType: { + connectionString: { + serializedName: "typeProperties.connectionString", required: true, - serializedName: "typeProperties.deploymentType", - type: { - name: "Object" - } - }, - hostName: { - serializedName: "typeProperties.hostName", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - serviceUri: { - serializedName: "typeProperties.serviceUri", + database: { + serializedName: "typeProperties.database", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - organizationName: { - serializedName: "typeProperties.organizationName", + } + } + } +}; + +export const MongoDbV2LinkedService: coreClient.CompositeMapper = { + serializedName: "MongoDbV2", + type: { + name: "Composite", + className: "MongoDbV2LinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authenticationType: { + database: { + serializedName: "typeProperties.database", required: true, - serializedName: "typeProperties.authenticationType", type: { - name: "Object" - } - }, - username: { - serializedName: "typeProperties.username", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", - type: { - name: "Object" - } - }, - servicePrincipalCredentialType: { - serializedName: "typeProperties.servicePrincipalCredentialType", - type: { - name: "Object" - } - }, - servicePrincipalCredential: { - serializedName: "typeProperties.servicePrincipalCredential", - type: { - name: "Composite", - className: "SecretBase" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const CosmosDbLinkedService: msRest.CompositeMapper = { - serializedName: "CosmosDb", +export const CosmosDbMongoDbApiLinkedService: coreClient.CompositeMapper = { + serializedName: "CosmosDbMongoDbApi", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "CosmosDbMongoDbApiLinkedService", uberParent: "LinkedService", - className: "CosmosDbLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + isServerVersionAbove32: { + serializedName: "typeProperties.isServerVersionAbove32", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accountEndpoint: { - serializedName: "typeProperties.accountEndpoint", + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, database: { serializedName: "typeProperties.database", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - accountKey: { - serializedName: "typeProperties.accountKey", + } + } + } +}; + +export const AzureDataLakeStoreLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeStore", + type: { + name: "Composite", + className: "AzureDataLakeStoreLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + dataLakeStoreUri: { + serializedName: "typeProperties.dataLakeStoreUri", + required: true, type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, servicePrincipalId: { serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" - } - }, - servicePrincipalCredentialType: { - serializedName: "typeProperties.servicePrincipalCredentialType", - type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalCredential: { - serializedName: "typeProperties.servicePrincipalCredential", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", className: "SecretBase" @@ -9654,167 +10201,86 @@ export const CosmosDbLinkedService: msRest.CompositeMapper = { tenant: { serializedName: "typeProperties.tenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, azureCloudType: { serializedName: "typeProperties.azureCloudType", type: { - name: "Object" - } - }, - connectionMode: { - serializedName: "typeProperties.connectionMode", - type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureKeyVaultLinkedService: msRest.CompositeMapper = { - serializedName: "AzureKeyVault", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureKeyVaultLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - baseUrl: { - required: true, - serializedName: "typeProperties.baseUrl", - type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureBatchLinkedService: msRest.CompositeMapper = { - serializedName: "AzureBatch", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureBatchLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, accountName: { - required: true, serializedName: "typeProperties.accountName", type: { - name: "Object" - } - }, - accessKey: { - serializedName: "typeProperties.accessKey", - type: { - name: "Composite", - className: "SecretBase" - } - }, - batchUri: { - required: true, - serializedName: "typeProperties.batchUri", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - poolName: { - required: true, - serializedName: "typeProperties.poolName", + subscriptionId: { + serializedName: "typeProperties.subscriptionId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - linkedServiceName: { - required: true, - serializedName: "typeProperties.linkedServiceName", - defaultValue: {}, + resourceGroupName: { + serializedName: "typeProperties.resourceGroupName", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const SqlAlwaysEncryptedProperties: msRest.CompositeMapper = { - serializedName: "SqlAlwaysEncryptedProperties", - type: { - name: "Composite", - className: "SqlAlwaysEncryptedProperties", - modelProperties: { - alwaysEncryptedAkvAuthType: { - required: true, - serializedName: "alwaysEncryptedAkvAuthType", - type: { - name: "String" - } - }, - servicePrincipalId: { - serializedName: "servicePrincipalId", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - serializedName: "servicePrincipalKey", + credential: { + serializedName: "typeProperties.credential", type: { name: "Composite", - className: "SecretBase" + className: "CredentialReference" } } } } }; -export const AzureSqlMILinkedService: msRest.CompositeMapper = { - serializedName: "AzureSqlMI", +export const AzureBlobFSLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureBlobFS", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "AzureBlobFSLinkedService", uberParent: "LinkedService", - className: "AzureSqlMILinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { + url: { + serializedName: "typeProperties.url", required: true, - serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + accountKey: { + serializedName: "typeProperties.accountKey", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, servicePrincipalId: { serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, servicePrincipalKey: { @@ -9827,60 +10293,67 @@ export const AzureSqlMILinkedService: msRest.CompositeMapper = { tenant: { serializedName: "typeProperties.tenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, azureCloudType: { serializedName: "typeProperties.azureCloudType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - alwaysEncryptedSettings: { - serializedName: "typeProperties.alwaysEncryptedSettings", + credential: { + serializedName: "typeProperties.credential", type: { name: "Composite", - className: "SqlAlwaysEncryptedProperties" + className: "CredentialReference" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { - serializedName: "AzureSqlDatabase", +export const Office365LinkedService: coreClient.CompositeMapper = { + serializedName: "Office365", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "Office365LinkedService", uberParent: "LinkedService", - className: "AzureSqlDatabaseLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { + office365TenantId: { + serializedName: "typeProperties.office365TenantId", required: true, - serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + servicePrincipalTenantId: { + serializedName: "typeProperties.servicePrincipalTenantId", + required: true, type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, servicePrincipalId: { serializedName: "typeProperties.servicePrincipalId", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, servicePrincipalKey: { @@ -9890,56 +10363,39 @@ export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" - } - }, - azureCloudType: { - serializedName: "typeProperties.azureCloudType", - type: { - name: "Object" - } - }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" - } - }, - alwaysEncryptedSettings: { - serializedName: "typeProperties.alwaysEncryptedSettings", - type: { - name: "Composite", - className: "SqlAlwaysEncryptedProperties" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const SqlServerLinkedService: msRest.CompositeMapper = { - serializedName: "SqlServer", +export const SalesforceLinkedService: coreClient.CompositeMapper = { + serializedName: "Salesforce", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "SalesforceLinkedService", uberParent: "LinkedService", - className: "SqlServerLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", + environmentUrl: { + serializedName: "typeProperties.environmentUrl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userName: { - serializedName: "typeProperties.userName", + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, password: { @@ -9949,116 +10405,165 @@ export const SqlServerLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + securityToken: { + serializedName: "typeProperties.securityToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - alwaysEncryptedSettings: { - serializedName: "typeProperties.alwaysEncryptedSettings", + apiVersion: { + serializedName: "typeProperties.apiVersion", type: { - name: "Composite", - className: "SqlAlwaysEncryptedProperties" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureSqlDWLinkedService: msRest.CompositeMapper = { - serializedName: "AzureSqlDW", +export const SalesforceServiceCloudLinkedService: coreClient.CompositeMapper = { + serializedName: "SalesforceServiceCloud", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "SalesforceServiceCloudLinkedService", uberParent: "LinkedService", - className: "AzureSqlDWLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", + environmentUrl: { + serializedName: "typeProperties.environmentUrl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - serializedName: "typeProperties.password", + username: { + serializedName: "typeProperties.username", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + securityToken: { + serializedName: "typeProperties.securityToken", type: { name: "Composite", className: "SecretBase" } }, - tenant: { - serializedName: "typeProperties.tenant", + apiVersion: { + serializedName: "typeProperties.apiVersion", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureCloudType: { - serializedName: "typeProperties.azureCloudType", + extendedProperties: { + serializedName: "typeProperties.extendedProperties", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureTableStorageLinkedService: msRest.CompositeMapper = { - serializedName: "AzureTableStorage", +export const SapCloudForCustomerLinkedService: coreClient.CompositeMapper = { + serializedName: "SapCloudForCustomer", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "SapCloudForCustomerLinkedService", uberParent: "LinkedService", - className: "AzureTableStorageLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + url: { + serializedName: "typeProperties.url", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accountKey: { - serializedName: "typeProperties.accountKey", + username: { + serializedName: "typeProperties.username", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" } }, - sasUri: { - serializedName: "typeProperties.sasUri", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SapEccLinkedService: coreClient.CompositeMapper = { + serializedName: "SapEcc", + type: { + name: "Composite", + className: "SapEccLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + serializedName: "typeProperties.url", + required: true, type: { - name: "Object" + name: "String" } }, - sasToken: { - serializedName: "typeProperties.sasToken", + username: { + serializedName: "typeProperties.username", + type: { + name: "String" + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" } }, encryptedCredential: { @@ -10067,15269 +10572,14570 @@ export const AzureTableStorageLinkedService: msRest.CompositeMapper = { name: "String" } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { - serializedName: "AzureBlobStorage", +export const SapOpenHubLinkedService: coreClient.CompositeMapper = { + serializedName: "SapOpenHub", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "SapOpenHubLinkedService", uberParent: "LinkedService", - className: "AzureBlobStorageLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + server: { + serializedName: "typeProperties.server", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accountKey: { - serializedName: "typeProperties.accountKey", + systemNumber: { + serializedName: "typeProperties.systemNumber", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sasUri: { - serializedName: "typeProperties.sasUri", + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sasToken: { - serializedName: "typeProperties.sasToken", + language: { + serializedName: "typeProperties.language", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - serviceEndpoint: { - serializedName: "typeProperties.serviceEndpoint", + systemId: { + serializedName: "typeProperties.systemId", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - tenant: { - serializedName: "typeProperties.tenant", + messageServer: { + serializedName: "typeProperties.messageServer", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureCloudType: { - serializedName: "typeProperties.azureCloudType", + messageServerService: { + serializedName: "typeProperties.messageServerService", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accountKind: { - serializedName: "typeProperties.accountKind", + logonGroup: { + serializedName: "typeProperties.logonGroup", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: LinkedService.type.additionalProperties + } } }; -export const AzureStorageLinkedService: msRest.CompositeMapper = { - serializedName: "AzureStorage", +export const RestServiceLinkedService: coreClient.CompositeMapper = { + serializedName: "RestService", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + className: "RestServiceLinkedService", uberParent: "LinkedService", - className: "AzureStorageLinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + url: { + serializedName: "typeProperties.url", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accountKey: { - serializedName: "typeProperties.accountKey", + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sasUri: { - serializedName: "typeProperties.sasUri", + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "String" } }, - sasToken: { - serializedName: "typeProperties.sasToken", + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + authHeaders: { + serializedName: "typeProperties.authHeaders", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureDatabricksDeltaLakeDataset: msRest.CompositeMapper = { - serializedName: "AzureDatabricksDeltaLakeDataset", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureDatabricksDeltaLakeDataset", - modelProperties: { - ...Dataset.type.modelProperties, - table: { - serializedName: "typeProperties.table", + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - database: { - serializedName: "typeProperties.database", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SharePointOnlineListResourceDataset: msRest.CompositeMapper = { - serializedName: "SharePointOnlineListResource", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SharePointOnlineListResourceDataset", - modelProperties: { - ...Dataset.type.modelProperties, - listName: { - serializedName: "typeProperties.listName", + }, + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SnowflakeDataset: msRest.CompositeMapper = { - serializedName: "SnowflakeTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SnowflakeDataset", - modelProperties: { - ...Dataset.type.modelProperties, - snowflakeDatasetSchema: { - serializedName: "typeProperties.schema", + }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + aadResourceId: { + serializedName: "typeProperties.aadResourceId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const GoogleAdWordsObjectDataset: msRest.CompositeMapper = { - serializedName: "GoogleAdWordsObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "GoogleAdWordsObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AzureDataExplorerTableDataset: msRest.CompositeMapper = { - serializedName: "AzureDataExplorerTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureDataExplorerTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - table: { - serializedName: "typeProperties.table", + }, + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const OracleServiceCloudObjectDataset: msRest.CompositeMapper = { - serializedName: "OracleServiceCloudObject", +export const AmazonS3LinkedService: coreClient.CompositeMapper = { + serializedName: "AmazonS3", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "OracleServiceCloudObjectDataset", + className: "AmazonS3LinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + accessKeyId: { + serializedName: "typeProperties.accessKeyId", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + secretAccessKey: { + serializedName: "typeProperties.secretAccessKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + serviceUrl: { + serializedName: "typeProperties.serviceUrl", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sessionToken: { + serializedName: "typeProperties.sessionToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const DynamicsAXResourceDataset: msRest.CompositeMapper = { - serializedName: "DynamicsAXResource", +export const AmazonRedshiftLinkedService: coreClient.CompositeMapper = { + serializedName: "AmazonRedshift", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "DynamicsAXResourceDataset", + className: "AmazonRedshiftLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - path: { + ...LinkedService.type.modelProperties, + server: { + serializedName: "typeProperties.server", required: true, - serializedName: "typeProperties.path", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const ResponsysObjectDataset: msRest.CompositeMapper = { - serializedName: "ResponsysObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ResponsysObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + database: { + serializedName: "typeProperties.database", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const SalesforceMarketingCloudObjectDataset: msRest.CompositeMapper = { - serializedName: "SalesforceMarketingCloudObject", +export const CustomDataSourceLinkedService: coreClient.CompositeMapper = { + serializedName: "CustomDataSource", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SalesforceMarketingCloudObjectDataset", + className: "CustomDataSourceLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + typeProperties: { + serializedName: "typeProperties", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const VerticaTableDataset: msRest.CompositeMapper = { - serializedName: "VerticaTable", +export const AzureSearchLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureSearch", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "VerticaTableDataset", + className: "AzureSearchLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + url: { + serializedName: "typeProperties.url", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + key: { + serializedName: "typeProperties.key", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - verticaTableDatasetSchema: { - serializedName: "typeProperties.schema", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const NetezzaTableDataset: msRest.CompositeMapper = { - serializedName: "NetezzaTable", +export const HttpLinkedService: coreClient.CompositeMapper = { + serializedName: "HttpServer", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "NetezzaTableDataset", + className: "HttpLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + url: { + serializedName: "typeProperties.url", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } }, - netezzaTableDatasetSchema: { - serializedName: "typeProperties.schema", + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const ZohoObjectDataset: msRest.CompositeMapper = { - serializedName: "ZohoObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ZohoObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const XeroObjectDataset: msRest.CompositeMapper = { - serializedName: "XeroObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "XeroObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + authHeaders: { + serializedName: "typeProperties.authHeaders", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SquareObjectDataset: msRest.CompositeMapper = { - serializedName: "SquareObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SquareObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + embeddedCertData: { + serializedName: "typeProperties.embeddedCertData", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SparkObjectDataset: msRest.CompositeMapper = { - serializedName: "SparkObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SparkObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + certThumbprint: { + serializedName: "typeProperties.certThumbprint", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sparkObjectDatasetSchema: { - serializedName: "typeProperties.schema", + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const ShopifyObjectDataset: msRest.CompositeMapper = { - serializedName: "ShopifyObject", +export const FtpServerLinkedService: coreClient.CompositeMapper = { + serializedName: "FtpServer", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ShopifyObjectDataset", + className: "FtpServerLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const ServiceNowObjectDataset: msRest.CompositeMapper = { - serializedName: "ServiceNowObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ServiceNowObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const QuickBooksObjectDataset: msRest.CompositeMapper = { - serializedName: "QuickBooksObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "QuickBooksObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const PrestoObjectDataset: msRest.CompositeMapper = { - serializedName: "PrestoObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "PrestoObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - prestoObjectDatasetSchema: { - serializedName: "typeProperties.schema", + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const PhoenixObjectDataset: msRest.CompositeMapper = { - serializedName: "PhoenixObject", +export const SftpServerLinkedService: coreClient.CompositeMapper = { + serializedName: "Sftp", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "PhoenixObjectDataset", + className: "SftpServerLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - phoenixObjectDatasetSchema: { - serializedName: "typeProperties.schema", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const PaypalObjectDataset: msRest.CompositeMapper = { - serializedName: "PaypalObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "PaypalObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const MarketoObjectDataset: msRest.CompositeMapper = { - serializedName: "MarketoObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "MarketoObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", - type: { - name: "Object" - } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AzureMariaDBTableDataset: msRest.CompositeMapper = { - serializedName: "AzureMariaDBTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureMariaDBTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const MariaDBTableDataset: msRest.CompositeMapper = { - serializedName: "MariaDBTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "MariaDBTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const MagentoObjectDataset: msRest.CompositeMapper = { - serializedName: "MagentoObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "MagentoObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + privateKeyPath: { + serializedName: "typeProperties.privateKeyPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const JiraObjectDataset: msRest.CompositeMapper = { - serializedName: "JiraObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "JiraObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + privateKeyContent: { + serializedName: "typeProperties.privateKeyContent", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const ImpalaObjectDataset: msRest.CompositeMapper = { - serializedName: "ImpalaObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ImpalaObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + passPhrase: { + serializedName: "typeProperties.passPhrase", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - table: { - serializedName: "typeProperties.table", + skipHostKeyValidation: { + serializedName: "typeProperties.skipHostKeyValidation", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - impalaObjectDatasetSchema: { - serializedName: "typeProperties.schema", + hostKeyFingerprint: { + serializedName: "typeProperties.hostKeyFingerprint", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const HubspotObjectDataset: msRest.CompositeMapper = { - serializedName: "HubspotObject", +export const SapBWLinkedService: coreClient.CompositeMapper = { + serializedName: "SapBW", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "HubspotObjectDataset", + className: "SapBWLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + server: { + serializedName: "typeProperties.server", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const HiveObjectDataset: msRest.CompositeMapper = { - serializedName: "HiveObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "HiveObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + systemNumber: { + serializedName: "typeProperties.systemNumber", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + clientId: { + serializedName: "typeProperties.clientId", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - hiveObjectDatasetSchema: { - serializedName: "typeProperties.schema", + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const HBaseObjectDataset: msRest.CompositeMapper = { - serializedName: "HBaseObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "HBaseObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const GreenplumTableDataset: msRest.CompositeMapper = { - serializedName: "GreenplumTable", +export const SapHanaLinkedService: coreClient.CompositeMapper = { + serializedName: "SapHana", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "GreenplumTableDataset", + className: "SapHanaLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + server: { + serializedName: "typeProperties.server", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - greenplumTableDatasetSchema: { - serializedName: "typeProperties.schema", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const GoogleBigQueryObjectDataset: msRest.CompositeMapper = { - serializedName: "GoogleBigQueryObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "GoogleBigQueryObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + userName: { + serializedName: "typeProperties.userName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - dataset: { - serializedName: "typeProperties.dataset", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const EloquaObjectDataset: msRest.CompositeMapper = { - serializedName: "EloquaObject", +export const AmazonMWSLinkedService: coreClient.CompositeMapper = { + serializedName: "AmazonMWS", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "EloquaObjectDataset", + className: "AmazonMWSLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + endpoint: { + serializedName: "typeProperties.endpoint", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const DrillTableDataset: msRest.CompositeMapper = { - serializedName: "DrillTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "DrillTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + marketplaceID: { + serializedName: "typeProperties.marketplaceID", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + sellerID: { + serializedName: "typeProperties.sellerID", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - drillTableDatasetSchema: { - serializedName: "typeProperties.schema", + mwsAuthToken: { + serializedName: "typeProperties.mwsAuthToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const CouchbaseTableDataset: msRest.CompositeMapper = { - serializedName: "CouchbaseTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "CouchbaseTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + accessKeyId: { + serializedName: "typeProperties.accessKeyId", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + secretKey: { + serializedName: "typeProperties.secretKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const ConcurObjectDataset: msRest.CompositeMapper = { - serializedName: "ConcurObject", +export const AzurePostgreSqlLinkedService: coreClient.CompositeMapper = { + serializedName: "AzurePostgreSql", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ConcurObjectDataset", + className: "AzurePostgreSqlLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const AzurePostgreSqlTableDataset: msRest.CompositeMapper = { - serializedName: "AzurePostgreSqlTable", +export const ConcurLinkedService: coreClient.CompositeMapper = { + serializedName: "Concur", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzurePostgreSqlTableDataset", + className: "ConcurLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + clientId: { + serializedName: "typeProperties.clientId", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azurePostgreSqlTableDatasetSchema: { - serializedName: "typeProperties.schema", + username: { + serializedName: "typeProperties.username", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const AmazonMWSObjectDataset: msRest.CompositeMapper = { - serializedName: "AmazonMWSObject", +export const CouchbaseLinkedService: coreClient.CompositeMapper = { + serializedName: "Couchbase", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AmazonMWSObjectDataset", + className: "CouchbaseLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + credString: { + serializedName: "typeProperties.credString", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const DatasetCompression: msRest.CompositeMapper = { - serializedName: "DatasetCompression", +export const DrillLinkedService: coreClient.CompositeMapper = { + serializedName: "Drill", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetCompression", - className: "DatasetCompression", + className: "DrillLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - type: { - required: true, - serializedName: "type", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + pwd: { + serializedName: "typeProperties.pwd", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const DatasetTarGZipCompression: msRest.CompositeMapper = { - serializedName: "TarGZip", +export const EloquaLinkedService: coreClient.CompositeMapper = { + serializedName: "Eloqua", type: { name: "Composite", - polymorphicDiscriminator: DatasetCompression.type.polymorphicDiscriminator, - uberParent: "DatasetCompression", - className: "DatasetTarGZipCompression", + className: "EloquaLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...DatasetCompression.type.modelProperties, - level: { - serializedName: "level", - type: { - name: "Object" + ...LinkedService.type.modelProperties, + endpoint: { + serializedName: "typeProperties.endpoint", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetCompression.type.additionalProperties - } -}; - -export const DatasetTarCompression: msRest.CompositeMapper = { - serializedName: "Tar", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetCompression.type.polymorphicDiscriminator, - uberParent: "DatasetCompression", - className: "DatasetTarCompression", - modelProperties: { - ...DatasetCompression.type.modelProperties - }, - additionalProperties: DatasetCompression.type.additionalProperties - } -}; - -export const DatasetZipDeflateCompression: msRest.CompositeMapper = { - serializedName: "ZipDeflate", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetCompression.type.polymorphicDiscriminator, - uberParent: "DatasetCompression", - className: "DatasetZipDeflateCompression", - modelProperties: { - ...DatasetCompression.type.modelProperties, - level: { - serializedName: "level", + }, + username: { + serializedName: "typeProperties.username", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetCompression.type.additionalProperties - } -}; - -export const DatasetDeflateCompression: msRest.CompositeMapper = { - serializedName: "Deflate", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetCompression.type.polymorphicDiscriminator, - uberParent: "DatasetCompression", - className: "DatasetDeflateCompression", - modelProperties: { - ...DatasetCompression.type.modelProperties, - level: { - serializedName: "level", + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: DatasetCompression.type.additionalProperties - } -}; - -export const DatasetGZipCompression: msRest.CompositeMapper = { - serializedName: "GZip", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetCompression.type.polymorphicDiscriminator, - uberParent: "DatasetCompression", - className: "DatasetGZipCompression", - modelProperties: { - ...DatasetCompression.type.modelProperties, - level: { - serializedName: "level", + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetCompression.type.additionalProperties - } -}; - -export const DatasetBZip2Compression: msRest.CompositeMapper = { - serializedName: "BZip2", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetCompression.type.polymorphicDiscriminator, - uberParent: "DatasetCompression", - className: "DatasetBZip2Compression", - modelProperties: { - ...DatasetCompression.type.modelProperties - }, - additionalProperties: DatasetCompression.type.additionalProperties - } -}; - -export const DatasetStorageFormat: msRest.CompositeMapper = { - serializedName: "DatasetStorageFormat", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetStorageFormat", - className: "DatasetStorageFormat", - modelProperties: { - serializer: { - serializedName: "serializer", + }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deserializer: { - serializedName: "deserializer", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - required: true, - serializedName: "type", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ParquetFormat: msRest.CompositeMapper = { - serializedName: "ParquetFormat", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetStorageFormat.type.polymorphicDiscriminator, - uberParent: "DatasetStorageFormat", - className: "ParquetFormat", - modelProperties: { - ...DatasetStorageFormat.type.modelProperties - }, - additionalProperties: DatasetStorageFormat.type.additionalProperties - } -}; - -export const OrcFormat: msRest.CompositeMapper = { - serializedName: "OrcFormat", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetStorageFormat.type.polymorphicDiscriminator, - uberParent: "DatasetStorageFormat", - className: "OrcFormat", - modelProperties: { - ...DatasetStorageFormat.type.modelProperties - }, - additionalProperties: DatasetStorageFormat.type.additionalProperties - } -}; - -export const AvroFormat: msRest.CompositeMapper = { - serializedName: "AvroFormat", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetStorageFormat.type.polymorphicDiscriminator, - uberParent: "DatasetStorageFormat", - className: "AvroFormat", - modelProperties: { - ...DatasetStorageFormat.type.modelProperties - }, - additionalProperties: DatasetStorageFormat.type.additionalProperties - } -}; - -export const JsonFormat: msRest.CompositeMapper = { - serializedName: "JsonFormat", +export const GoogleBigQueryLinkedService: coreClient.CompositeMapper = { + serializedName: "GoogleBigQuery", type: { name: "Composite", - polymorphicDiscriminator: DatasetStorageFormat.type.polymorphicDiscriminator, - uberParent: "DatasetStorageFormat", - className: "JsonFormat", + className: "GoogleBigQueryLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...DatasetStorageFormat.type.modelProperties, - filePattern: { - serializedName: "filePattern", - type: { - name: "Object" - } - }, - nestingSeparator: { - serializedName: "nestingSeparator", + ...LinkedService.type.modelProperties, + project: { + serializedName: "typeProperties.project", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encodingName: { - serializedName: "encodingName", + additionalProjects: { + serializedName: "typeProperties.additionalProjects", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - jsonNodeReference: { - serializedName: "jsonNodeReference", + requestGoogleDriveScope: { + serializedName: "typeProperties.requestGoogleDriveScope", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - jsonPathDefinition: { - serializedName: "jsonPathDefinition", - type: { - name: "Object" - } - } - }, - additionalProperties: DatasetStorageFormat.type.additionalProperties - } -}; - -export const TextFormat: msRest.CompositeMapper = { - serializedName: "TextFormat", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetStorageFormat.type.polymorphicDiscriminator, - uberParent: "DatasetStorageFormat", - className: "TextFormat", - modelProperties: { - ...DatasetStorageFormat.type.modelProperties, - columnDelimiter: { - serializedName: "columnDelimiter", + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "String" } }, - rowDelimiter: { - serializedName: "rowDelimiter", + refreshToken: { + serializedName: "typeProperties.refreshToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - escapeChar: { - serializedName: "escapeChar", + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - quoteChar: { - serializedName: "quoteChar", + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - nullValue: { - serializedName: "nullValue", + email: { + serializedName: "typeProperties.email", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encodingName: { - serializedName: "encodingName", + keyFilePath: { + serializedName: "typeProperties.keyFilePath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - treatEmptyAsNull: { - serializedName: "treatEmptyAsNull", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - skipLineCount: { - serializedName: "skipLineCount", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - firstRowAsHeader: { - serializedName: "firstRowAsHeader", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: DatasetStorageFormat.type.additionalProperties + } } }; -export const HttpDataset: msRest.CompositeMapper = { - serializedName: "HttpFile", +export const GreenplumLinkedService: coreClient.CompositeMapper = { + serializedName: "Greenplum", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "HttpDataset", + className: "GreenplumLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - relativeUrl: { - serializedName: "typeProperties.relativeUrl", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - requestMethod: { - serializedName: "typeProperties.requestMethod", + pwd: { + serializedName: "typeProperties.pwd", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - requestBody: { - serializedName: "typeProperties.requestBody", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" - } - }, - additionalHeaders: { - serializedName: "typeProperties.additionalHeaders", - type: { - name: "Object" - } - }, - format: { - serializedName: "typeProperties.format", - type: { - name: "Composite", - className: "DatasetStorageFormat", - additionalProperties: { - type: { - name: "Object" - } - } - } - }, - compression: { - serializedName: "typeProperties.compression", - type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const AzureSearchIndexDataset: msRest.CompositeMapper = { - serializedName: "AzureSearchIndex", +export const HBaseLinkedService: coreClient.CompositeMapper = { + serializedName: "HBase", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureSearchIndexDataset", + className: "HBaseLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - indexName: { + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", required: true, - serializedName: "typeProperties.indexName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const WebTableDataset: msRest.CompositeMapper = { - serializedName: "WebTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "WebTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - index: { - required: true, - serializedName: "typeProperties.index", + }, + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - path: { - serializedName: "typeProperties.path", + httpPath: { + serializedName: "typeProperties.httpPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SapTableResourceDataset: msRest.CompositeMapper = { - serializedName: "SapTableResource", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SapTableResourceDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", required: true, - serializedName: "typeProperties.tableName", - type: { - name: "Object" - } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const RestResourceDataset: msRest.CompositeMapper = { - serializedName: "RestResource", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "RestResourceDataset", - modelProperties: { - ...Dataset.type.modelProperties, - relativeUrl: { - serializedName: "typeProperties.relativeUrl", type: { - name: "Object" + name: "String" } }, - requestMethod: { - serializedName: "typeProperties.requestMethod", + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - requestBody: { - serializedName: "typeProperties.requestBody", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - additionalHeaders: { - serializedName: "typeProperties.additionalHeaders", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - paginationRules: { - serializedName: "typeProperties.paginationRules", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SqlServerTableDataset: msRest.CompositeMapper = { - serializedName: "SqlServerTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SqlServerTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sqlServerTableDatasetSchema: { - serializedName: "typeProperties.schema", + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const SapOpenHubTableDataset: msRest.CompositeMapper = { - serializedName: "SapOpenHubTable", +export const HiveLinkedService: coreClient.CompositeMapper = { + serializedName: "Hive", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SapOpenHubTableDataset", + className: "HiveLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - openHubDestinationName: { + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", required: true, - serializedName: "typeProperties.openHubDestinationName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - excludeLastRequest: { - serializedName: "typeProperties.excludeLastRequest", + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - baseRequestId: { - serializedName: "typeProperties.baseRequestId", + serverType: { + serializedName: "typeProperties.serverType", type: { - name: "Object" + name: "String" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SapHanaTableDataset: msRest.CompositeMapper = { - serializedName: "SapHanaTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SapHanaTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - sapHanaTableDatasetSchema: { - serializedName: "typeProperties.schema", + }, + thriftTransportProtocol: { + serializedName: "typeProperties.thriftTransportProtocol", type: { - name: "Object" + name: "String" } }, - table: { - serializedName: "typeProperties.table", + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "String" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SapEccResourceDataset: msRest.CompositeMapper = { - serializedName: "SapEccResource", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SapEccResourceDataset", - modelProperties: { - ...Dataset.type.modelProperties, - path: { - required: true, - serializedName: "typeProperties.path", + }, + serviceDiscoveryMode: { + serializedName: "typeProperties.serviceDiscoveryMode", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SapCloudForCustomerResourceDataset: msRest.CompositeMapper = { - serializedName: "SapCloudForCustomerResource", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SapCloudForCustomerResourceDataset", - modelProperties: { - ...Dataset.type.modelProperties, - path: { - required: true, - serializedName: "typeProperties.path", + }, + zooKeeperNameSpace: { + serializedName: "typeProperties.zooKeeperNameSpace", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SapBwCubeDataset: msRest.CompositeMapper = { - serializedName: "SapBwCube", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SapBwCubeDataset", - modelProperties: { - ...Dataset.type.modelProperties - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SybaseTableDataset: msRest.CompositeMapper = { - serializedName: "SybaseTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SybaseTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + useNativeQuery: { + serializedName: "typeProperties.useNativeQuery", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SalesforceServiceCloudObjectDataset: msRest.CompositeMapper = { - serializedName: "SalesforceServiceCloudObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SalesforceServiceCloudObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - objectApiName: { - serializedName: "typeProperties.objectApiName", + }, + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const SalesforceObjectDataset: msRest.CompositeMapper = { - serializedName: "SalesforceObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "SalesforceObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - objectApiName: { - serializedName: "typeProperties.objectApiName", + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const MicrosoftAccessTableDataset: msRest.CompositeMapper = { - serializedName: "MicrosoftAccessTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "MicrosoftAccessTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + httpPath: { + serializedName: "typeProperties.httpPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const PostgreSqlTableDataset: msRest.CompositeMapper = { - serializedName: "PostgreSqlTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "PostgreSqlTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - postgreSqlTableDatasetSchema: { - serializedName: "typeProperties.schema", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const MySqlTableDataset: msRest.CompositeMapper = { - serializedName: "MySqlTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "MySqlTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const OdbcTableDataset: msRest.CompositeMapper = { - serializedName: "OdbcTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "OdbcTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const InformixTableDataset: msRest.CompositeMapper = { - serializedName: "InformixTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "InformixTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const RelationalTableDataset: msRest.CompositeMapper = { - serializedName: "RelationalTable", +export const HubspotLinkedService: coreClient.CompositeMapper = { + serializedName: "Hubspot", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "RelationalTableDataset", + className: "HubspotLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + clientId: { + serializedName: "typeProperties.clientId", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const Db2TableDataset: msRest.CompositeMapper = { - serializedName: "Db2Table", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "Db2TableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - db2TableDatasetSchema: { - serializedName: "typeProperties.schema", + accessToken: { + serializedName: "typeProperties.accessToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - table: { - serializedName: "typeProperties.table", + refreshToken: { + serializedName: "typeProperties.refreshToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AmazonRedshiftTableDataset: msRest.CompositeMapper = { - serializedName: "AmazonRedshiftTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AmazonRedshiftTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - amazonRedshiftTableDatasetSchema: { - serializedName: "typeProperties.schema", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const AzureMySqlTableDataset: msRest.CompositeMapper = { - serializedName: "AzureMySqlTable", +export const ImpalaLinkedService: coreClient.CompositeMapper = { + serializedName: "Impala", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureMySqlTableDataset", + className: "ImpalaLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", - type: { - name: "Object" - } + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } }, - table: { - serializedName: "typeProperties.table", + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const TeradataTableDataset: msRest.CompositeMapper = { - serializedName: "TeradataTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "TeradataTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - database: { - serializedName: "typeProperties.database", + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "String" } }, - table: { - serializedName: "typeProperties.table", + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const OracleTableDataset: msRest.CompositeMapper = { - serializedName: "OracleTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "OracleTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - oracleTableDatasetSchema: { - serializedName: "typeProperties.schema", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const ODataResourceDataset: msRest.CompositeMapper = { - serializedName: "ODataResource", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ODataResourceDataset", - modelProperties: { - ...Dataset.type.modelProperties, - path: { - serializedName: "typeProperties.path", + }, + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const CosmosDbMongoDbApiCollectionDataset: msRest.CompositeMapper = { - serializedName: "CosmosDbMongoDbApiCollection", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "CosmosDbMongoDbApiCollectionDataset", - modelProperties: { - ...Dataset.type.modelProperties, - collection: { - required: true, - serializedName: "typeProperties.collection", + }, + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const MongoDbV2CollectionDataset: msRest.CompositeMapper = { - serializedName: "MongoDbV2Collection", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "MongoDbV2CollectionDataset", - modelProperties: { - ...Dataset.type.modelProperties, - collection: { - required: true, - serializedName: "typeProperties.collection", + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const MongoDbAtlasCollectionDataset: msRest.CompositeMapper = { - serializedName: "MongoDbAtlasCollection", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "MongoDbAtlasCollectionDataset", - modelProperties: { - ...Dataset.type.modelProperties, - collection: { - required: true, - serializedName: "typeProperties.collection", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const MongoDbCollectionDataset: msRest.CompositeMapper = { - serializedName: "MongoDbCollection", +export const JiraLinkedService: coreClient.CompositeMapper = { + serializedName: "Jira", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "MongoDbCollectionDataset", + className: "JiraLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - collectionName: { + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", required: true, - serializedName: "typeProperties.collectionName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const FileShareDataset: msRest.CompositeMapper = { - serializedName: "FileShare", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "FileShareDataset", - modelProperties: { - ...Dataset.type.modelProperties, - folderPath: { - serializedName: "typeProperties.folderPath", + }, + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileName: { - serializedName: "typeProperties.fileName", + username: { + serializedName: "typeProperties.username", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "typeProperties.modifiedDatetimeStart", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - modifiedDatetimeEnd: { - serializedName: "typeProperties.modifiedDatetimeEnd", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - format: { - serializedName: "typeProperties.format", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Composite", - className: "DatasetStorageFormat", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileFilter: { - serializedName: "typeProperties.fileFilter", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - compression: { - serializedName: "typeProperties.compression", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const Office365Dataset: msRest.CompositeMapper = { - serializedName: "Office365Table", +export const MagentoLinkedService: coreClient.CompositeMapper = { + serializedName: "Magento", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "Office365Dataset", + className: "MagentoLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", required: true, - serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - predicate: { - serializedName: "typeProperties.predicate", + accessToken: { + serializedName: "typeProperties.accessToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AzureBlobFSDataset: msRest.CompositeMapper = { - serializedName: "AzureBlobFSFile", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureBlobFSDataset", - modelProperties: { - ...Dataset.type.modelProperties, - folderPath: { - serializedName: "typeProperties.folderPath", + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileName: { - serializedName: "typeProperties.fileName", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - format: { - serializedName: "typeProperties.format", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Composite", - className: "DatasetStorageFormat", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - compression: { - serializedName: "typeProperties.compression", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const AzureDataLakeStoreDataset: msRest.CompositeMapper = { - serializedName: "AzureDataLakeStoreFile", +export const MariaDBLinkedService: coreClient.CompositeMapper = { + serializedName: "MariaDB", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureDataLakeStoreDataset", + className: "MariaDBLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - folderPath: { - serializedName: "typeProperties.folderPath", - type: { - name: "Object" - } - }, - fileName: { - serializedName: "typeProperties.fileName", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - format: { - serializedName: "typeProperties.format", + pwd: { + serializedName: "typeProperties.pwd", type: { name: "Composite", - className: "DatasetStorageFormat", - additionalProperties: { - type: { - name: "Object" - } - } + className: "AzureKeyVaultSecretReference" } }, - compression: { - serializedName: "typeProperties.compression", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const CommonDataServiceForAppsEntityDataset: msRest.CompositeMapper = { - serializedName: "CommonDataServiceForAppsEntity", +export const AzureMariaDBLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureMariaDB", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "CommonDataServiceForAppsEntityDataset", + className: "AzureMariaDBLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - entityName: { - serializedName: "typeProperties.entityName", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const DynamicsCrmEntityDataset: msRest.CompositeMapper = { - serializedName: "DynamicsCrmEntity", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "DynamicsCrmEntityDataset", - modelProperties: { - ...Dataset.type.modelProperties, - entityName: { - serializedName: "typeProperties.entityName", + }, + pwd: { + serializedName: "typeProperties.pwd", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const DynamicsEntityDataset: msRest.CompositeMapper = { - serializedName: "DynamicsEntity", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "DynamicsEntityDataset", - modelProperties: { - ...Dataset.type.modelProperties, - entityName: { - serializedName: "typeProperties.entityName", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const DocumentDbCollectionDataset: msRest.CompositeMapper = { - serializedName: "DocumentDbCollection", +export const MarketoLinkedService: coreClient.CompositeMapper = { + serializedName: "Marketo", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "DocumentDbCollectionDataset", + className: "MarketoLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - collectionName: { + ...LinkedService.type.modelProperties, + endpoint: { + serializedName: "typeProperties.endpoint", required: true, - serializedName: "typeProperties.collectionName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const CosmosDbSqlApiCollectionDataset: msRest.CompositeMapper = { - serializedName: "CosmosDbSqlApiCollection", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "CosmosDbSqlApiCollectionDataset", - modelProperties: { - ...Dataset.type.modelProperties, - collectionName: { + }, + clientId: { + serializedName: "typeProperties.clientId", required: true, - serializedName: "typeProperties.collectionName", type: { - name: "Object" - } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const CustomDataset: msRest.CompositeMapper = { - serializedName: "CustomDataset", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "CustomDataset", - modelProperties: { - ...Dataset.type.modelProperties, - typeProperties: { - serializedName: "typeProperties", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const CassandraTableDataset: msRest.CompositeMapper = { - serializedName: "CassandraTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "CassandraTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - keyspace: { - serializedName: "typeProperties.keyspace", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AzureSqlDWTableDataset: msRest.CompositeMapper = { - serializedName: "AzureSqlDWTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureSqlDWTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureSqlDWTableDatasetSchema: { - serializedName: "typeProperties.schema", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const AzureSqlMITableDataset: msRest.CompositeMapper = { - serializedName: "AzureSqlMITable", +export const PaypalLinkedService: coreClient.CompositeMapper = { + serializedName: "Paypal", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureSqlMITableDataset", + className: "PaypalLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureSqlMITableDatasetSchema: { - serializedName: "typeProperties.schema", + clientId: { + serializedName: "typeProperties.clientId", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AzureSqlTableDataset: msRest.CompositeMapper = { - serializedName: "AzureSqlTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureSqlTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureSqlTableDatasetSchema: { - serializedName: "typeProperties.schema", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - table: { - serializedName: "typeProperties.table", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AzureTableDataset: msRest.CompositeMapper = { - serializedName: "AzureTable", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureTableDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - required: true, - serializedName: "typeProperties.tableName", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const AzureBlobDataset: msRest.CompositeMapper = { - serializedName: "AzureBlob", +export const PhoenixLinkedService: coreClient.CompositeMapper = { + serializedName: "Phoenix", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AzureBlobDataset", + className: "PhoenixLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - folderPath: { - serializedName: "typeProperties.folderPath", + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - tableRootLocation: { - serializedName: "typeProperties.tableRootLocation", + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileName: { - serializedName: "typeProperties.fileName", + httpPath: { + serializedName: "typeProperties.httpPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "typeProperties.modifiedDatetimeStart", + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "String" } }, - modifiedDatetimeEnd: { - serializedName: "typeProperties.modifiedDatetimeEnd", + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - format: { - serializedName: "typeProperties.format", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "DatasetStorageFormat", - additionalProperties: { - type: { - name: "Object" - } - } + className: "SecretBase" } }, - compression: { - serializedName: "typeProperties.compression", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const DatasetLocation: msRest.CompositeMapper = { - serializedName: "DatasetLocation", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DatasetLocation", - className: "DatasetLocation", - modelProperties: { - folderPath: { - serializedName: "folderPath", + }, + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileName: { - serializedName: "fileName", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - required: true, - serializedName: "type", + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const HdfsLocation: msRest.CompositeMapper = { - serializedName: "HdfsLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "HdfsLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const HttpServerLocation: msRest.CompositeMapper = { - serializedName: "HttpServerLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "HttpServerLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties, - relativeUrl: { - serializedName: "relativeUrl", + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const SftpLocation: msRest.CompositeMapper = { - serializedName: "SftpLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "SftpLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const FtpServerLocation: msRest.CompositeMapper = { - serializedName: "FtpServerLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "FtpServerLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties - }, - additionalProperties: DatasetLocation.type.additionalProperties + } } }; -export const GoogleCloudStorageLocation: msRest.CompositeMapper = { - serializedName: "GoogleCloudStorageLocation", +export const PrestoLinkedService: coreClient.CompositeMapper = { + serializedName: "Presto", type: { name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "GoogleCloudStorageLocation", + className: "PrestoLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...DatasetLocation.type.modelProperties, - bucketName: { - serializedName: "bucketName", + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - version: { - serializedName: "version", + serverVersion: { + serializedName: "typeProperties.serverVersion", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const OracleCloudStorageLocation: msRest.CompositeMapper = { - serializedName: "OracleCloudStorageLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "OracleCloudStorageLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties, - bucketName: { - serializedName: "bucketName", + }, + catalog: { + serializedName: "typeProperties.catalog", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - version: { - serializedName: "version", + port: { + serializedName: "typeProperties.port", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const AmazonS3CompatibleLocation: msRest.CompositeMapper = { - serializedName: "AmazonS3CompatibleLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "AmazonS3CompatibleLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties, - bucketName: { - serializedName: "bucketName", + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "String" } }, - version: { - serializedName: "version", + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const AzureFileStorageLocation: msRest.CompositeMapper = { - serializedName: "AzureFileStorageLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "AzureFileStorageLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const FileServerLocation: msRest.CompositeMapper = { - serializedName: "FileServerLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "FileServerLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const AmazonS3Location: msRest.CompositeMapper = { - serializedName: "AmazonS3Location", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "AmazonS3Location", - modelProperties: { - ...DatasetLocation.type.modelProperties, - bucketName: { - serializedName: "bucketName", + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - version: { - serializedName: "version", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const AzureDataLakeStoreLocation: msRest.CompositeMapper = { - serializedName: "AzureDataLakeStoreLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "AzureDataLakeStoreLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const AzureBlobFSLocation: msRest.CompositeMapper = { - serializedName: "AzureBlobFSLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "AzureBlobFSLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties, - fileSystem: { - serializedName: "fileSystem", + }, + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const AzureBlobStorageLocation: msRest.CompositeMapper = { - serializedName: "AzureBlobStorageLocation", - type: { - name: "Composite", - polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, - uberParent: "DatasetLocation", - className: "AzureBlobStorageLocation", - modelProperties: { - ...DatasetLocation.type.modelProperties, - container: { - serializedName: "container", + }, + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: DatasetLocation.type.additionalProperties - } -}; - -export const BinaryDataset: msRest.CompositeMapper = { - serializedName: "Binary", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "BinaryDataset", - modelProperties: { - ...Dataset.type.modelProperties, - location: { - required: true, - serializedName: "typeProperties.location", + }, + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", type: { - name: "Composite", - className: "DatasetLocation", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - compression: { - serializedName: "typeProperties.compression", + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const OrcDataset: msRest.CompositeMapper = { - serializedName: "Orc", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "OrcDataset", - modelProperties: { - ...Dataset.type.modelProperties, - location: { - required: true, - serializedName: "typeProperties.location", + }, + timeZoneID: { + serializedName: "typeProperties.timeZoneID", type: { - name: "Composite", - className: "DatasetLocation", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - orcCompressionCodec: { - serializedName: "typeProperties.orcCompressionCodec", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const XmlDataset: msRest.CompositeMapper = { - serializedName: "Xml", +export const QuickBooksLinkedService: coreClient.CompositeMapper = { + serializedName: "QuickBooks", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "XmlDataset", + className: "QuickBooksLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - location: { - required: true, - serializedName: "typeProperties.location", + ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", type: { - name: "Composite", - className: "DatasetLocation", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - encodingName: { - serializedName: "typeProperties.encodingName", + endpoint: { + serializedName: "typeProperties.endpoint", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - nullValue: { - serializedName: "typeProperties.nullValue", + companyId: { + serializedName: "typeProperties.companyId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - compression: { - serializedName: "typeProperties.compression", + consumerKey: { + serializedName: "typeProperties.consumerKey", type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const JsonDataset: msRest.CompositeMapper = { - serializedName: "Json", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "JsonDataset", - modelProperties: { - ...Dataset.type.modelProperties, - location: { - required: true, - serializedName: "typeProperties.location", + }, + consumerSecret: { + serializedName: "typeProperties.consumerSecret", type: { name: "Composite", - className: "DatasetLocation", - additionalProperties: { - type: { - name: "Object" - } - } + className: "SecretBase" } }, - encodingName: { - serializedName: "typeProperties.encodingName", + accessToken: { + serializedName: "typeProperties.accessToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - compression: { - serializedName: "typeProperties.compression", + accessTokenSecret: { + serializedName: "typeProperties.accessTokenSecret", type: { name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + className: "SecretBase" + } + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const DelimitedTextDataset: msRest.CompositeMapper = { - serializedName: "DelimitedText", +export const ServiceNowLinkedService: coreClient.CompositeMapper = { + serializedName: "ServiceNow", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "DelimitedTextDataset", + className: "ServiceNowLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - location: { + ...LinkedService.type.modelProperties, + endpoint: { + serializedName: "typeProperties.endpoint", required: true, - serializedName: "typeProperties.location", type: { - name: "Composite", - className: "DatasetLocation", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - columnDelimiter: { - serializedName: "typeProperties.columnDelimiter", + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, type: { - name: "Object" + name: "String" } }, - rowDelimiter: { - serializedName: "typeProperties.rowDelimiter", + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - encodingName: { - serializedName: "typeProperties.encodingName", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - compressionCodec: { - serializedName: "typeProperties.compressionCodec", + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - compressionLevel: { - serializedName: "typeProperties.compressionLevel", + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - quoteChar: { - serializedName: "typeProperties.quoteChar", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - escapeChar: { - serializedName: "typeProperties.escapeChar", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - firstRowAsHeader: { - serializedName: "typeProperties.firstRowAsHeader", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - nullValue: { - serializedName: "typeProperties.nullValue", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const ParquetDataset: msRest.CompositeMapper = { - serializedName: "Parquet", +export const ShopifyLinkedService: coreClient.CompositeMapper = { + serializedName: "Shopify", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ParquetDataset", + className: "ShopifyLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - location: { + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", required: true, - serializedName: "typeProperties.location", type: { - name: "Composite", - className: "DatasetLocation", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - compressionCodec: { - serializedName: "typeProperties.compressionCodec", - type: { - name: "Object" - } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const ExcelDataset: msRest.CompositeMapper = { - serializedName: "Excel", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ExcelDataset", - modelProperties: { - ...Dataset.type.modelProperties, - location: { - required: true, - serializedName: "typeProperties.location", + accessToken: { + serializedName: "typeProperties.accessToken", type: { name: "Composite", - className: "DatasetLocation", - additionalProperties: { - type: { - name: "Object" - } - } - } - }, - sheetName: { - serializedName: "typeProperties.sheetName", - type: { - name: "Object" - } - }, - sheetIndex: { - serializedName: "typeProperties.sheetIndex", - type: { - name: "Object" + className: "SecretBase" } }, - range: { - serializedName: "typeProperties.range", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - firstRowAsHeader: { - serializedName: "typeProperties.firstRowAsHeader", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - compression: { - serializedName: "typeProperties.compression", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - nullValue: { - serializedName: "typeProperties.nullValue", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const AvroDataset: msRest.CompositeMapper = { - serializedName: "Avro", +export const SparkLinkedService: coreClient.CompositeMapper = { + serializedName: "Spark", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AvroDataset", + className: "SparkLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Dataset.type.modelProperties, - location: { + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", required: true, - serializedName: "typeProperties.location", type: { - name: "Composite", - className: "DatasetLocation", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - avroCompressionCodec: { - serializedName: "typeProperties.avroCompressionCodec", + port: { + serializedName: "typeProperties.port", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + serverType: { + serializedName: "typeProperties.serverType", type: { name: "String" } }, - avroCompressionLevel: { - serializedName: "typeProperties.avroCompressionLevel", - constraints: { - InclusiveMaximum: 9, - InclusiveMinimum: 1 - }, + thriftTransportProtocol: { + serializedName: "typeProperties.thriftTransportProtocol", type: { - name: "Number" + name: "String" } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AmazonS3Dataset: msRest.CompositeMapper = { - serializedName: "AmazonS3Object", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AmazonS3Dataset", - modelProperties: { - ...Dataset.type.modelProperties, - bucketName: { + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", required: true, - serializedName: "typeProperties.bucketName", type: { - name: "Object" + name: "String" } }, - key: { - serializedName: "typeProperties.key", + username: { + serializedName: "typeProperties.username", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - prefix: { - serializedName: "typeProperties.prefix", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - version: { - serializedName: "typeProperties.version", + httpPath: { + serializedName: "typeProperties.httpPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "typeProperties.modifiedDatetimeStart", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeEnd: { - serializedName: "typeProperties.modifiedDatetimeEnd", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - format: { - serializedName: "typeProperties.format", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { - name: "Composite", - className: "DatasetStorageFormat", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - compression: { - serializedName: "typeProperties.compression", + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", type: { - name: "Composite", - className: "DatasetCompression", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Dataset.type.additionalProperties + } } }; -export const ChainingTrigger: msRest.CompositeMapper = { - serializedName: "ChainingTrigger", +export const SquareLinkedService: coreClient.CompositeMapper = { + serializedName: "Square", type: { name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "ChainingTrigger", + className: "SquareLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Trigger.type.modelProperties, - pipelineProperty: { - required: true, - serializedName: "pipeline", - defaultValue: {}, + ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", type: { - name: "Composite", - className: "TriggerPipelineReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dependsOn: { - required: true, - serializedName: "typeProperties.dependsOn", + host: { + serializedName: "typeProperties.host", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PipelineReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - runDimension: { - required: true, - serializedName: "typeProperties.runDimension", + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const RerunTumblingWindowTrigger: msRest.CompositeMapper = { - serializedName: "RerunTumblingWindowTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "RerunTumblingWindowTrigger", - modelProperties: { - ...Trigger.type.modelProperties, - parentTrigger: { - required: true, - serializedName: "typeProperties.parentTrigger", + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - requestedStartTime: { - required: true, - serializedName: "typeProperties.requestedStartTime", + redirectUri: { + serializedName: "typeProperties.redirectUri", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } }, - requestedEndTime: { - required: true, - serializedName: "typeProperties.requestedEndTime", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } }, - rerunConcurrency: { - required: true, - serializedName: "typeProperties.rerunConcurrency", - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 1 - }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const DependencyReference: msRest.CompositeMapper = { - serializedName: "DependencyReference", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DependencyReference", - className: "DependencyReference", - modelProperties: { - type: { - required: true, - serializedName: "type", + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const SelfDependencyTumblingWindowTriggerReference: msRest.CompositeMapper = { - serializedName: "SelfDependencyTumblingWindowTriggerReference", +export const XeroLinkedService: coreClient.CompositeMapper = { + serializedName: "Xero", type: { name: "Composite", - polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, - uberParent: "DependencyReference", - className: "SelfDependencyTumblingWindowTriggerReference", + className: "XeroLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...DependencyReference.type.modelProperties, - offset: { - required: true, - serializedName: "offset", - constraints: { - MaxLength: 15, - MinLength: 8, - Pattern: /-((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ - }, + ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - size: { - serializedName: "size", - constraints: { - MaxLength: 15, - MinLength: 8, - Pattern: /((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ - }, + host: { + serializedName: "typeProperties.host", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - } - } - } -}; - -export const TriggerReference: msRest.CompositeMapper = { - serializedName: "TriggerReference", - type: { - name: "Composite", - className: "TriggerReference", - modelProperties: { - type: { - required: true, - isConstant: true, - serializedName: "type", - defaultValue: "TriggerReference", + }, + consumerKey: { + serializedName: "typeProperties.consumerKey", type: { - name: "String" + name: "Composite", + className: "SecretBase" } }, - referenceName: { - required: true, - serializedName: "referenceName", + privateKey: { + serializedName: "typeProperties.privateKey", type: { - name: "String" + name: "Composite", + className: "SecretBase" + } + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const TriggerDependencyReference: msRest.CompositeMapper = { - serializedName: "TriggerDependencyReference", +export const ZohoLinkedService: coreClient.CompositeMapper = { + serializedName: "Zoho", type: { name: "Composite", - polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, - uberParent: "DependencyReference", - className: "TriggerDependencyReference", + className: "ZohoLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...DependencyReference.type.modelProperties, - referenceTrigger: { - required: true, - serializedName: "referenceTrigger", - defaultValue: {}, + ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + endpoint: { + serializedName: "typeProperties.endpoint", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + accessToken: { + serializedName: "typeProperties.accessToken", type: { name: "Composite", - className: "TriggerReference" + className: "SecretBase" } - } - } - } -}; - -export const TumblingWindowTriggerDependencyReference: msRest.CompositeMapper = { - serializedName: "TumblingWindowTriggerDependencyReference", - type: { - name: "Composite", - polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, - uberParent: "DependencyReference", - className: "TumblingWindowTriggerDependencyReference", - modelProperties: { - ...TriggerDependencyReference.type.modelProperties, - offset: { - serializedName: "offset", - constraints: { - MaxLength: 15, - MinLength: 8, - Pattern: /-?((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ - }, + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - size: { - serializedName: "size", - constraints: { - MaxLength: 15, - MinLength: 8, - Pattern: /((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ - }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const RetryPolicy: msRest.CompositeMapper = { - serializedName: "RetryPolicy", +export const VerticaLinkedService: coreClient.CompositeMapper = { + serializedName: "Vertica", type: { name: "Composite", - className: "RetryPolicy", + className: "VerticaLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - count: { - serializedName: "count", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - intervalInSeconds: { - serializedName: "intervalInSeconds", - constraints: { - InclusiveMaximum: 86400, - InclusiveMinimum: 30 - }, + pwd: { + serializedName: "typeProperties.pwd", type: { - name: "Number" + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const TumblingWindowTrigger: msRest.CompositeMapper = { - serializedName: "TumblingWindowTrigger", +export const NetezzaLinkedService: coreClient.CompositeMapper = { + serializedName: "Netezza", type: { name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "TumblingWindowTrigger", + className: "NetezzaLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...Trigger.type.modelProperties, - pipelineProperty: { - required: true, - serializedName: "pipeline", - defaultValue: {}, + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "Composite", - className: "TriggerPipelineReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - frequency: { - required: true, - serializedName: "typeProperties.frequency", + pwd: { + serializedName: "typeProperties.pwd", type: { - name: "String" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - interval: { - required: true, - serializedName: "typeProperties.interval", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - startTime: { - required: true, - serializedName: "typeProperties.startTime", + } + } + } +}; + +export const SalesforceMarketingCloudLinkedService: coreClient.CompositeMapper = { + serializedName: "SalesforceMarketingCloud", + type: { + name: "Composite", + className: "SalesforceMarketingCloudLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + connectionProperties: { + serializedName: "typeProperties.connectionProperties", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } }, - endTime: { - serializedName: "typeProperties.endTime", + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } }, - delay: { - serializedName: "typeProperties.delay", + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - maxConcurrency: { - required: true, - serializedName: "typeProperties.maxConcurrency", - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 1 - }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - retryPolicy: { - serializedName: "typeProperties.retryPolicy", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Composite", - className: "RetryPolicy" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dependsOn: { - serializedName: "typeProperties.dependsOn", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DependencyReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const MultiplePipelineTrigger: msRest.CompositeMapper = { - serializedName: "MultiplePipelineTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "MultiplePipelineTrigger", - modelProperties: { - ...Trigger.type.modelProperties, - pipelines: { - serializedName: "pipelines", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TriggerPipelineReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Trigger.type.additionalProperties + } } }; -export const CustomEventsTrigger: msRest.CompositeMapper = { - serializedName: "CustomEventsTrigger", +export const HDInsightOnDemandLinkedService: coreClient.CompositeMapper = { + serializedName: "HDInsightOnDemand", type: { name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "CustomEventsTrigger", + className: "HDInsightOnDemandLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...MultiplePipelineTrigger.type.modelProperties, - subjectBeginsWith: { - serializedName: "typeProperties.subjectBeginsWith", + ...LinkedService.type.modelProperties, + clusterSize: { + serializedName: "typeProperties.clusterSize", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - subjectEndsWith: { - serializedName: "typeProperties.subjectEndsWith", + timeToLive: { + serializedName: "typeProperties.timeToLive", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - events: { + version: { + serializedName: "typeProperties.version", required: true, - serializedName: "typeProperties.events", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - scope: { - required: true, - serializedName: "typeProperties.scope", + linkedServiceName: { + serializedName: "typeProperties.linkedServiceName", type: { - name: "String" + name: "Composite", + className: "LinkedServiceReference" } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const BlobEventsTrigger: msRest.CompositeMapper = { - serializedName: "BlobEventsTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "BlobEventsTrigger", - modelProperties: { - ...MultiplePipelineTrigger.type.modelProperties, - blobPathBeginsWith: { - serializedName: "typeProperties.blobPathBeginsWith", + }, + hostSubscriptionId: { + serializedName: "typeProperties.hostSubscriptionId", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - blobPathEndsWith: { - serializedName: "typeProperties.blobPathEndsWith", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - ignoreEmptyBlobs: { - serializedName: "typeProperties.ignoreEmptyBlobs", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Boolean" + name: "Composite", + className: "SecretBase" } }, - events: { + tenant: { + serializedName: "typeProperties.tenant", required: true, - serializedName: "typeProperties.events", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - scope: { + clusterResourceGroup: { + serializedName: "typeProperties.clusterResourceGroup", required: true, - serializedName: "typeProperties.scope", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const BlobTrigger: msRest.CompositeMapper = { - serializedName: "BlobTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "BlobTrigger", - modelProperties: { - ...MultiplePipelineTrigger.type.modelProperties, - folderPath: { - required: true, - serializedName: "typeProperties.folderPath", + }, + clusterNamePrefix: { + serializedName: "typeProperties.clusterNamePrefix", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - maxConcurrency: { - required: true, - serializedName: "typeProperties.maxConcurrency", + clusterUserName: { + serializedName: "typeProperties.clusterUserName", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - linkedService: { - required: true, - serializedName: "typeProperties.linkedService", - defaultValue: {}, + clusterPassword: { + serializedName: "typeProperties.clusterPassword", type: { name: "Composite", - className: "LinkedServiceReference" + className: "SecretBase" } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const RecurrenceScheduleOccurrence: msRest.CompositeMapper = { - serializedName: "RecurrenceScheduleOccurrence", - type: { - name: "Composite", - className: "RecurrenceScheduleOccurrence", - modelProperties: { - day: { - serializedName: "day", + }, + clusterSshUserName: { + serializedName: "typeProperties.clusterSshUserName", type: { - name: "Enum", - allowedValues: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] + name: "Dictionary", + value: { type: { name: "any" } } } }, - occurrence: { - serializedName: "occurrence", + clusterSshPassword: { + serializedName: "typeProperties.clusterSshPassword", type: { - name: "Number" + name: "Composite", + className: "SecretBase" } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const RecurrenceSchedule: msRest.CompositeMapper = { - serializedName: "RecurrenceSchedule", - type: { - name: "Composite", - className: "RecurrenceSchedule", - modelProperties: { - minutes: { - serializedName: "minutes", + }, + additionalLinkedServiceNames: { + serializedName: "typeProperties.additionalLinkedServiceNames", type: { name: "Sequence", element: { type: { - name: "Number" + name: "Composite", + className: "LinkedServiceReference" } } } }, - hours: { - serializedName: "hours", + hcatalogLinkedServiceName: { + serializedName: "typeProperties.hcatalogLinkedServiceName", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "Composite", + className: "LinkedServiceReference" } }, - weekDays: { - serializedName: "weekDays", + clusterType: { + serializedName: "typeProperties.clusterType", type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - monthDays: { - serializedName: "monthDays", + sparkVersion: { + serializedName: "typeProperties.sparkVersion", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - monthlyOccurrences: { - serializedName: "monthlyOccurrences", + coreConfiguration: { + serializedName: "typeProperties.coreConfiguration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecurrenceScheduleOccurrence", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const ScheduleTriggerRecurrence: msRest.CompositeMapper = { - serializedName: "ScheduleTriggerRecurrence", - type: { - name: "Composite", - className: "ScheduleTriggerRecurrence", - modelProperties: { - frequency: { - serializedName: "frequency", + }, + hBaseConfiguration: { + serializedName: "typeProperties.hBaseConfiguration", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - interval: { - serializedName: "interval", + hdfsConfiguration: { + serializedName: "typeProperties.hdfsConfiguration", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - startTime: { - serializedName: "startTime", + hiveConfiguration: { + serializedName: "typeProperties.hiveConfiguration", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } }, - endTime: { - serializedName: "endTime", + mapReduceConfiguration: { + serializedName: "typeProperties.mapReduceConfiguration", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } }, - timeZone: { - serializedName: "timeZone", + oozieConfiguration: { + serializedName: "typeProperties.oozieConfiguration", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - schedule: { - serializedName: "schedule", + stormConfiguration: { + serializedName: "typeProperties.stormConfiguration", type: { - name: "Composite", - className: "RecurrenceSchedule", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const ScheduleTrigger: msRest.CompositeMapper = { - serializedName: "ScheduleTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "ScheduleTrigger", - modelProperties: { - ...MultiplePipelineTrigger.type.modelProperties, - recurrence: { - required: true, - serializedName: "typeProperties.recurrence", + }, + yarnConfiguration: { + serializedName: "typeProperties.yarnConfiguration", type: { - name: "Composite", - className: "ScheduleTriggerRecurrence", - additionalProperties: { - type: { - name: "Object" - } - } - } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const ActivityPolicy: msRest.CompositeMapper = { - serializedName: "ActivityPolicy", - type: { - name: "Composite", - className: "ActivityPolicy", - modelProperties: { - timeout: { - serializedName: "timeout", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - retry: { - serializedName: "retry", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - retryIntervalInSeconds: { - serializedName: "retryIntervalInSeconds", - constraints: { - InclusiveMaximum: 86400, - InclusiveMinimum: 30 - }, + headNodeSize: { + serializedName: "typeProperties.headNodeSize", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - secureInput: { - serializedName: "secureInput", + dataNodeSize: { + serializedName: "typeProperties.dataNodeSize", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - secureOutput: { - serializedName: "secureOutput", + zookeeperNodeSize: { + serializedName: "typeProperties.zookeeperNodeSize", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const ExecuteDataFlowActivityTypePropertiesCompute: msRest.CompositeMapper = { - serializedName: "ExecuteDataFlowActivityTypeProperties_compute", - type: { - name: "Composite", - className: "ExecuteDataFlowActivityTypePropertiesCompute", - modelProperties: { - computeType: { - serializedName: "computeType", + }, + scriptActions: { + serializedName: "typeProperties.scriptActions", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptAction" + } + } } }, - coreCount: { - serializedName: "coreCount", + virtualNetworkId: { + serializedName: "typeProperties.virtualNetworkId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - } - } -}; - -export const ExecutionActivity: msRest.CompositeMapper = { - serializedName: "Execution", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "ExecutionActivity", - modelProperties: { - ...Activity.type.modelProperties, - linkedServiceName: { - serializedName: "linkedServiceName", + }, + subnetName: { + serializedName: "typeProperties.subnetName", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - policy: { - serializedName: "policy", + credential: { + serializedName: "typeProperties.credential", type: { name: "Composite", - className: "ActivityPolicy", - additionalProperties: { - type: { - name: "Object" - } - } + className: "CredentialReference" } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const ExecuteDataFlowActivity: msRest.CompositeMapper = { - serializedName: "ExecuteDataFlow", +export const AzureDataLakeAnalyticsLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeAnalytics", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "ExecuteDataFlowActivity", + className: "AzureDataLakeAnalyticsLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - dataFlow: { + ...LinkedService.type.modelProperties, + accountName: { + serializedName: "typeProperties.accountName", required: true, - serializedName: "typeProperties.dataFlow", - defaultValue: {}, type: { - name: "Composite", - className: "DataFlowReference", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - staging: { - serializedName: "typeProperties.staging", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Composite", - className: "DataFlowStagingInfo" + name: "Dictionary", + value: { type: { name: "any" } } } }, - integrationRuntime: { - serializedName: "typeProperties.integrationRuntime", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - className: "IntegrationRuntimeReference" + className: "SecretBase" } }, - compute: { - serializedName: "typeProperties.compute", + tenant: { + serializedName: "typeProperties.tenant", + required: true, type: { - name: "Composite", - className: "ExecuteDataFlowActivityTypePropertiesCompute" + name: "Dictionary", + value: { type: { name: "any" } } } }, - traceLevel: { - serializedName: "typeProperties.traceLevel", + subscriptionId: { + serializedName: "typeProperties.subscriptionId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - continueOnError: { - serializedName: "typeProperties.continueOnError", + resourceGroupName: { + serializedName: "typeProperties.resourceGroupName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - runConcurrently: { - serializedName: "typeProperties.runConcurrently", + dataLakeAnalyticsUri: { + serializedName: "typeProperties.dataLakeAnalyticsUri", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const AzureFunctionActivity: msRest.CompositeMapper = { - serializedName: "AzureFunctionActivity", +export const AzureDatabricksLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureDatabricks", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "AzureFunctionActivity", + className: "AzureDatabricksLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - method: { + ...LinkedService.type.modelProperties, + domain: { + serializedName: "typeProperties.domain", required: true, - serializedName: "typeProperties.method", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - functionName: { - required: true, - serializedName: "typeProperties.functionName", + accessToken: { + serializedName: "typeProperties.accessToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - headers: { - serializedName: "typeProperties.headers", + authentication: { + serializedName: "typeProperties.authentication", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - body: { - serializedName: "typeProperties.body", + workspaceResourceId: { + serializedName: "typeProperties.workspaceResourceId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const DatabricksSparkPythonActivity: msRest.CompositeMapper = { - serializedName: "DatabricksSparkPython", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "DatabricksSparkPythonActivity", - modelProperties: { - ...ExecutionActivity.type.modelProperties, - pythonFile: { - required: true, - serializedName: "typeProperties.pythonFile", + }, + existingClusterId: { + serializedName: "typeProperties.existingClusterId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - parameters: { - serializedName: "typeProperties.parameters", + instancePoolId: { + serializedName: "typeProperties.instancePoolId", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - libraries: { - serializedName: "typeProperties.libraries", + newClusterVersion: { + serializedName: "typeProperties.newClusterVersion", type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const DatabricksSparkJarActivity: msRest.CompositeMapper = { - serializedName: "DatabricksSparkJar", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "DatabricksSparkJarActivity", - modelProperties: { - ...ExecutionActivity.type.modelProperties, - mainClassName: { - required: true, - serializedName: "typeProperties.mainClassName", + }, + newClusterNumOfWorker: { + serializedName: "typeProperties.newClusterNumOfWorker", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - parameters: { - serializedName: "typeProperties.parameters", + newClusterNodeType: { + serializedName: "typeProperties.newClusterNodeType", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - libraries: { - serializedName: "typeProperties.libraries", + newClusterSparkConf: { + serializedName: "typeProperties.newClusterSparkConf", type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const DatabricksNotebookActivity: msRest.CompositeMapper = { - serializedName: "DatabricksNotebook", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "DatabricksNotebookActivity", - modelProperties: { - ...ExecutionActivity.type.modelProperties, - notebookPath: { - required: true, - serializedName: "typeProperties.notebookPath", - type: { - name: "Object" - } }, - baseParameters: { - serializedName: "typeProperties.baseParameters", + newClusterSparkEnvVars: { + serializedName: "typeProperties.newClusterSparkEnvVars", type: { name: "Dictionary", value: { - type: { - name: "Object" - } + type: { name: "Dictionary", value: { type: { name: "any" } } } } } }, - libraries: { - serializedName: "typeProperties.libraries", + newClusterCustomTags: { + serializedName: "typeProperties.newClusterCustomTags", type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const DataLakeAnalyticsUSQLActivity: msRest.CompositeMapper = { - serializedName: "DataLakeAnalyticsU-SQL", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "DataLakeAnalyticsUSQLActivity", - modelProperties: { - ...ExecutionActivity.type.modelProperties, - scriptPath: { - required: true, - serializedName: "typeProperties.scriptPath", + }, + newClusterLogDestination: { + serializedName: "typeProperties.newClusterLogDestination", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - scriptLinkedService: { - required: true, - serializedName: "typeProperties.scriptLinkedService", - defaultValue: {}, + newClusterDriverNodeType: { + serializedName: "typeProperties.newClusterDriverNodeType", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - degreeOfParallelism: { - serializedName: "typeProperties.degreeOfParallelism", + newClusterInitScripts: { + serializedName: "typeProperties.newClusterInitScripts", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - priority: { - serializedName: "typeProperties.priority", + newClusterEnableElasticDisk: { + serializedName: "typeProperties.newClusterEnableElasticDisk", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - parameters: { - serializedName: "typeProperties.parameters", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } } }, - runtimeVersion: { - serializedName: "typeProperties.runtimeVersion", + policyId: { + serializedName: "typeProperties.policyId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - compilationMode: { - serializedName: "typeProperties.compilationMode", + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const AzureMLExecutePipelineActivity: msRest.CompositeMapper = { - serializedName: "AzureMLExecutePipeline", +export const AzureDatabricksDeltaLakeLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureDatabricksDeltaLake", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "AzureMLExecutePipelineActivity", + className: "AzureDatabricksDeltaLakeLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - mlPipelineId: { - serializedName: "typeProperties.mlPipelineId", + ...LinkedService.type.modelProperties, + domain: { + serializedName: "typeProperties.domain", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - mlPipelineEndpointId: { - serializedName: "typeProperties.mlPipelineEndpointId", + accessToken: { + serializedName: "typeProperties.accessToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - version: { - serializedName: "typeProperties.version", + clusterId: { + serializedName: "typeProperties.clusterId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - experimentName: { - serializedName: "typeProperties.experimentName", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const ResponsysLinkedService: coreClient.CompositeMapper = { + serializedName: "Responsys", + type: { + name: "Composite", + className: "ResponsysLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + serializedName: "typeProperties.endpoint", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - mlPipelineParameters: { - serializedName: "typeProperties.mlPipelineParameters", + clientId: { + serializedName: "typeProperties.clientId", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dataPathAssignments: { - serializedName: "typeProperties.dataPathAssignments", + clientSecret: { + serializedName: "typeProperties.clientSecret", + type: { + name: "Composite", + className: "SecretBase" + } + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - mlParentRunId: { - serializedName: "typeProperties.mlParentRunId", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - continueOnStepFailure: { - serializedName: "typeProperties.continueOnStepFailure", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const AzureMLUpdateResourceActivity: msRest.CompositeMapper = { - serializedName: "AzureMLUpdateResource", +export const DynamicsAXLinkedService: coreClient.CompositeMapper = { + serializedName: "DynamicsAX", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "AzureMLUpdateResourceActivity", + className: "DynamicsAXLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - trainedModelName: { + ...LinkedService.type.modelProperties, + url: { + serializedName: "typeProperties.url", required: true, - serializedName: "typeProperties.trainedModelName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - trainedModelLinkedServiceName: { + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", required: true, - serializedName: "typeProperties.trainedModelLinkedServiceName", - defaultValue: {}, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", - className: "LinkedServiceReference" + className: "SecretBase" } }, - trainedModelFilePath: { + tenant: { + serializedName: "typeProperties.tenant", required: true, - serializedName: "typeProperties.trainedModelFilePath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const AzureMLWebServiceFile: msRest.CompositeMapper = { - serializedName: "AzureMLWebServiceFile", - type: { - name: "Composite", - className: "AzureMLWebServiceFile", - modelProperties: { - filePath: { + }, + aadResourceId: { + serializedName: "typeProperties.aadResourceId", required: true, - serializedName: "filePath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - linkedServiceName: { - required: true, - serializedName: "linkedServiceName", - defaultValue: {}, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const AzureMLBatchExecutionActivity: msRest.CompositeMapper = { - serializedName: "AzureMLBatchExecution", +export const OracleServiceCloudLinkedService: coreClient.CompositeMapper = { + serializedName: "OracleServiceCloud", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "AzureMLBatchExecutionActivity", + className: "OracleServiceCloudLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - globalParameters: { - serializedName: "typeProperties.globalParameters", + ...LinkedService.type.modelProperties, + host: { + serializedName: "typeProperties.host", + required: true, type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } } }, - webServiceOutputs: { - serializedName: "typeProperties.webServiceOutputs", + username: { + serializedName: "typeProperties.username", + required: true, type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "AzureMLWebServiceFile" - } - } + value: { type: { name: "any" } } } }, - webServiceInputs: { - serializedName: "typeProperties.webServiceInputs", + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "AzureMLWebServiceFile" - } - } + value: { type: { name: "any" } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const CompressionReadSettings: msRest.CompositeMapper = { - serializedName: "CompressionReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CompressionReadSettings", - className: "CompressionReadSettings", - modelProperties: { - type: { - required: true, - serializedName: "type", + }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const TarGZipReadSettings: msRest.CompositeMapper = { - serializedName: "TarGZipReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: CompressionReadSettings.type.polymorphicDiscriminator, - uberParent: "CompressionReadSettings", - className: "TarGZipReadSettings", - modelProperties: { - ...CompressionReadSettings.type.modelProperties, - preserveCompressionFileNameAsFolder: { - serializedName: "preserveCompressionFileNameAsFolder", + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CompressionReadSettings.type.additionalProperties - } -}; - -export const TarReadSettings: msRest.CompositeMapper = { - serializedName: "TarReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: CompressionReadSettings.type.polymorphicDiscriminator, - uberParent: "CompressionReadSettings", - className: "TarReadSettings", - modelProperties: { - ...CompressionReadSettings.type.modelProperties, - preserveCompressionFileNameAsFolder: { - serializedName: "preserveCompressionFileNameAsFolder", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CompressionReadSettings.type.additionalProperties + } } }; -export const ZipDeflateReadSettings: msRest.CompositeMapper = { - serializedName: "ZipDeflateReadSettings", +export const GoogleAdWordsLinkedService: coreClient.CompositeMapper = { + serializedName: "GoogleAdWords", type: { name: "Composite", - polymorphicDiscriminator: CompressionReadSettings.type.polymorphicDiscriminator, - uberParent: "CompressionReadSettings", - className: "ZipDeflateReadSettings", + className: "GoogleAdWordsLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...CompressionReadSettings.type.modelProperties, - preserveZipFileNameAsFolder: { - serializedName: "preserveZipFileNameAsFolder", + ...LinkedService.type.modelProperties, + clientCustomerID: { + serializedName: "typeProperties.clientCustomerID", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CompressionReadSettings.type.additionalProperties - } -}; - -export const FormatReadSettings: msRest.CompositeMapper = { - serializedName: "FormatReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "FormatReadSettings", - className: "FormatReadSettings", - modelProperties: { - type: { + }, + developerToken: { + serializedName: "typeProperties.developerToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", required: true, - serializedName: "type", type: { name: "String" } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const BinaryReadSettings: msRest.CompositeMapper = { - serializedName: "BinaryReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: FormatReadSettings.type.polymorphicDiscriminator, - uberParent: "FormatReadSettings", - className: "BinaryReadSettings", - modelProperties: { - ...FormatReadSettings.type.modelProperties, - compressionProperties: { - serializedName: "compressionProperties", + }, + refreshToken: { + serializedName: "typeProperties.refreshToken", type: { name: "Composite", - className: "CompressionReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + className: "SecretBase" } - } - }, - additionalProperties: FormatReadSettings.type.additionalProperties - } -}; - -export const XmlReadSettings: msRest.CompositeMapper = { - serializedName: "XmlReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: FormatReadSettings.type.polymorphicDiscriminator, - uberParent: "FormatReadSettings", - className: "XmlReadSettings", - modelProperties: { - ...FormatReadSettings.type.modelProperties, - compressionProperties: { - serializedName: "compressionProperties", + }, + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { name: "Composite", - className: "CompressionReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + className: "SecretBase" } }, - validationMode: { - serializedName: "validationMode", + email: { + serializedName: "typeProperties.email", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - detectDataType: { - serializedName: "detectDataType", + keyFilePath: { + serializedName: "typeProperties.keyFilePath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - namespaces: { - serializedName: "namespaces", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - namespacePrefixes: { - serializedName: "namespacePrefixes", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: FormatReadSettings.type.additionalProperties - } -}; - -export const JsonReadSettings: msRest.CompositeMapper = { - serializedName: "JsonReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: FormatReadSettings.type.polymorphicDiscriminator, - uberParent: "FormatReadSettings", - className: "JsonReadSettings", - modelProperties: { - ...FormatReadSettings.type.modelProperties, - compressionProperties: { - serializedName: "compressionProperties", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "CompressionReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: FormatReadSettings.type.additionalProperties + } } }; -export const DelimitedTextReadSettings: msRest.CompositeMapper = { - serializedName: "DelimitedTextReadSettings", +export const SapTableLinkedService: coreClient.CompositeMapper = { + serializedName: "SapTable", type: { name: "Composite", - polymorphicDiscriminator: FormatReadSettings.type.polymorphicDiscriminator, - uberParent: "FormatReadSettings", - className: "DelimitedTextReadSettings", + className: "SapTableLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...FormatReadSettings.type.modelProperties, - skipLineCount: { - serializedName: "skipLineCount", + ...LinkedService.type.modelProperties, + server: { + serializedName: "typeProperties.server", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - compressionProperties: { - serializedName: "compressionProperties", - type: { - name: "Composite", - className: "CompressionReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } - } - } - }, - additionalProperties: FormatReadSettings.type.additionalProperties - } -}; - -export const DistcpSettings: msRest.CompositeMapper = { - serializedName: "DistcpSettings", - type: { - name: "Composite", - className: "DistcpSettings", - modelProperties: { - resourceManagerEndpoint: { - required: true, - serializedName: "resourceManagerEndpoint", + systemNumber: { + serializedName: "typeProperties.systemNumber", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - tempScriptPath: { - required: true, - serializedName: "tempScriptPath", + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - distcpOptions: { - serializedName: "distcpOptions", - type: { - name: "Object" - } - } - } - } -}; - -export const StoreReadSettings: msRest.CompositeMapper = { - serializedName: "StoreReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "StoreReadSettings", - className: "StoreReadSettings", - modelProperties: { - maxConcurrentConnections: { - serializedName: "maxConcurrentConnections", + language: { + serializedName: "typeProperties.language", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - disableMetricsCollection: { - serializedName: "disableMetricsCollection", + systemId: { + serializedName: "typeProperties.systemId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - required: true, - serializedName: "type", + userName: { + serializedName: "typeProperties.userName", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const HdfsReadSettings: msRest.CompositeMapper = { - serializedName: "HdfsReadSettings", - type: { - name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "HdfsReadSettings", - modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", + }, + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + messageServer: { + serializedName: "typeProperties.messageServer", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFileName: { - serializedName: "wildcardFileName", + messageServerService: { + serializedName: "typeProperties.messageServerService", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileListPath: { - serializedName: "fileListPath", + sncMode: { + serializedName: "typeProperties.sncMode", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + sncMyName: { + serializedName: "typeProperties.sncMyName", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + sncPartnerName: { + serializedName: "typeProperties.sncPartnerName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + sncLibraryPath: { + serializedName: "typeProperties.sncLibraryPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + sncQop: { + serializedName: "typeProperties.sncQop", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - distcpSettings: { - serializedName: "distcpSettings", + logonGroup: { + serializedName: "typeProperties.logonGroup", type: { - name: "Composite", - className: "DistcpSettings" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const HttpReadSettings: msRest.CompositeMapper = { - serializedName: "HttpReadSettings", +export const AzureDataExplorerLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureDataExplorer", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "HttpReadSettings", + className: "AzureDataExplorerLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - requestMethod: { - serializedName: "requestMethod", + ...LinkedService.type.modelProperties, + endpoint: { + serializedName: "typeProperties.endpoint", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - requestBody: { - serializedName: "requestBody", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalHeaders: { - serializedName: "additionalHeaders", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - requestTimeout: { - serializedName: "requestTimeout", + database: { + serializedName: "typeProperties.database", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const SftpReadSettings: msRest.CompositeMapper = { - serializedName: "SftpReadSettings", +export const AzureFunctionLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureFunction", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "SftpReadSettings", + className: "AzureFunctionLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", - type: { - name: "Object" - } - }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", - type: { - name: "Object" - } - }, - wildcardFileName: { - serializedName: "wildcardFileName", - type: { - name: "Object" - } - }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + ...LinkedService.type.modelProperties, + functionAppUrl: { + serializedName: "typeProperties.functionAppUrl", + required: true, type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + functionKey: { + serializedName: "typeProperties.functionKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - fileListPath: { - serializedName: "fileListPath", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "CredentialReference" } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + resourceId: { + serializedName: "typeProperties.resourceId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + authentication: { + serializedName: "typeProperties.authentication", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const FtpReadSettings: msRest.CompositeMapper = { - serializedName: "FtpReadSettings", +export const SnowflakeLinkedService: coreClient.CompositeMapper = { + serializedName: "Snowflake", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "FtpReadSettings", - modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", + className: "SnowflakeLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - wildcardFileName: { - serializedName: "wildcardFileName", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + } + } + } +}; + +export const SharePointOnlineListLinkedService: coreClient.CompositeMapper = { + serializedName: "SharePointOnlineList", + type: { + name: "Composite", + className: "SharePointOnlineListLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + siteUrl: { + serializedName: "typeProperties.siteUrl", + required: true, type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + tenantId: { + serializedName: "typeProperties.tenantId", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileListPath: { - serializedName: "fileListPath", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - useBinaryTransfer: { - serializedName: "useBinaryTransfer", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const GoogleCloudStorageReadSettings: msRest.CompositeMapper = { - serializedName: "GoogleCloudStorageReadSettings", +export const AmazonS3Dataset: coreClient.CompositeMapper = { + serializedName: "AmazonS3Object", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "GoogleCloudStorageReadSettings", + className: "AmazonS3Dataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", - type: { - name: "Object" - } - }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + ...Dataset.type.modelProperties, + bucketName: { + serializedName: "typeProperties.bucketName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFileName: { - serializedName: "wildcardFileName", + key: { + serializedName: "typeProperties.key", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, prefix: { - serializedName: "prefix", - type: { - name: "Object" - } - }, - fileListPath: { - serializedName: "fileListPath", + serializedName: "typeProperties.prefix", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + version: { + serializedName: "typeProperties.version", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + modifiedDatetimeStart: { + serializedName: "typeProperties.modifiedDatetimeStart", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + modifiedDatetimeEnd: { + serializedName: "typeProperties.modifiedDatetimeEnd", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + format: { + serializedName: "typeProperties.format", type: { - name: "Object" + name: "Composite", + className: "DatasetStorageFormat" } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const OracleCloudStorageReadSettings: msRest.CompositeMapper = { - serializedName: "OracleCloudStorageReadSettings", +export const AvroDataset: coreClient.CompositeMapper = { + serializedName: "Avro", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "OracleCloudStorageReadSettings", + className: "AvroDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", type: { - name: "Object" + name: "Composite", + className: "DatasetLocation" } }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + avroCompressionCodec: { + serializedName: "typeProperties.avroCompressionCodec", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFileName: { - serializedName: "wildcardFileName", + avroCompressionLevel: { + constraints: { + InclusiveMaximum: 9, + InclusiveMinimum: 1 + }, + serializedName: "typeProperties.avroCompressionLevel", type: { - name: "Object" + name: "Number" } - }, - prefix: { - serializedName: "prefix", + } + } + } +}; + +export const ExcelDataset: coreClient.CompositeMapper = { + serializedName: "Excel", + type: { + name: "Composite", + className: "ExcelDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", type: { - name: "Object" + name: "Composite", + className: "DatasetLocation" } }, - fileListPath: { - serializedName: "fileListPath", + sheetName: { + serializedName: "typeProperties.sheetName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + sheetIndex: { + serializedName: "typeProperties.sheetIndex", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + range: { + serializedName: "typeProperties.range", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + firstRowAsHeader: { + serializedName: "typeProperties.firstRowAsHeader", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + nullValue: { + serializedName: "typeProperties.nullValue", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const AmazonS3CompatibleReadSettings: msRest.CompositeMapper = { - serializedName: "AmazonS3CompatibleReadSettings", +export const ParquetDataset: coreClient.CompositeMapper = { + serializedName: "Parquet", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "AmazonS3CompatibleReadSettings", + className: "ParquetDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", type: { - name: "Object" + name: "Composite", + className: "DatasetLocation" } }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + compressionCodec: { + serializedName: "typeProperties.compressionCodec", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - wildcardFileName: { - serializedName: "wildcardFileName", + } + } + } +}; + +export const DelimitedTextDataset: coreClient.CompositeMapper = { + serializedName: "DelimitedText", + type: { + name: "Composite", + className: "DelimitedTextDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", type: { - name: "Object" + name: "Composite", + className: "DatasetLocation" } }, - prefix: { - serializedName: "prefix", + columnDelimiter: { + serializedName: "typeProperties.columnDelimiter", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileListPath: { - serializedName: "fileListPath", + rowDelimiter: { + serializedName: "typeProperties.rowDelimiter", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + encodingName: { + serializedName: "typeProperties.encodingName", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + compressionCodec: { + serializedName: "typeProperties.compressionCodec", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + compressionLevel: { + serializedName: "typeProperties.compressionLevel", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + quoteChar: { + serializedName: "typeProperties.quoteChar", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + escapeChar: { + serializedName: "typeProperties.escapeChar", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + firstRowAsHeader: { + serializedName: "typeProperties.firstRowAsHeader", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + nullValue: { + serializedName: "typeProperties.nullValue", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const AzureFileStorageReadSettings: msRest.CompositeMapper = { - serializedName: "AzureFileStorageReadSettings", +export const JsonDataset: coreClient.CompositeMapper = { + serializedName: "Json", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "AzureFileStorageReadSettings", + className: "JsonDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", - type: { - name: "Object" - } - }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", type: { - name: "Object" + name: "Composite", + className: "DatasetLocation" } }, - wildcardFileName: { - serializedName: "wildcardFileName", + encodingName: { + serializedName: "typeProperties.encodingName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - prefix: { - serializedName: "prefix", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } - }, - fileListPath: { - serializedName: "fileListPath", + } + } + } +}; + +export const XmlDataset: coreClient.CompositeMapper = { + serializedName: "Xml", + type: { + name: "Composite", + className: "XmlDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", type: { - name: "Object" + name: "Composite", + className: "DatasetLocation" } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + encodingName: { + serializedName: "typeProperties.encodingName", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + nullValue: { + serializedName: "typeProperties.nullValue", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } - }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + } + } + } +}; + +export const OrcDataset: coreClient.CompositeMapper = { + serializedName: "Orc", + type: { + name: "Composite", + className: "OrcDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", type: { - name: "Object" + name: "Composite", + className: "DatasetLocation" } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + orcCompressionCodec: { + serializedName: "typeProperties.orcCompressionCodec", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const FileServerReadSettings: msRest.CompositeMapper = { - serializedName: "FileServerReadSettings", +export const BinaryDataset: coreClient.CompositeMapper = { + serializedName: "Binary", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "FileServerReadSettings", + className: "BinaryDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + location: { + serializedName: "typeProperties.location", type: { - name: "Object" + name: "Composite", + className: "DatasetLocation" } }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } - }, - wildcardFileName: { - serializedName: "wildcardFileName", + } + } + } +}; + +export const AzureBlobDataset: coreClient.CompositeMapper = { + serializedName: "AzureBlob", + type: { + name: "Composite", + className: "AzureBlobDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + folderPath: { + serializedName: "typeProperties.folderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileListPath: { - serializedName: "fileListPath", + tableRootLocation: { + serializedName: "typeProperties.tableRootLocation", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + fileName: { + serializedName: "typeProperties.fileName", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + modifiedDatetimeStart: { + serializedName: "typeProperties.modifiedDatetimeStart", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + modifiedDatetimeEnd: { + serializedName: "typeProperties.modifiedDatetimeEnd", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + format: { + serializedName: "typeProperties.format", type: { - name: "Object" + name: "Composite", + className: "DatasetStorageFormat" } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } - }, - fileFilter: { - serializedName: "fileFilter", + } + } + } +}; + +export const AzureTableDataset: coreClient.CompositeMapper = { + serializedName: "AzureTable", + type: { + name: "Composite", + className: "AzureTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const AmazonS3ReadSettings: msRest.CompositeMapper = { - serializedName: "AmazonS3ReadSettings", +export const AzureSqlTableDataset: coreClient.CompositeMapper = { + serializedName: "AzureSqlTable", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "AmazonS3ReadSettings", + className: "AzureSqlTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFileName: { - serializedName: "wildcardFileName", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - prefix: { - serializedName: "prefix", - type: { - name: "Object" - } - }, - fileListPath: { - serializedName: "fileListPath", + } + } + } +}; + +export const AzureSqlMITableDataset: coreClient.CompositeMapper = { + serializedName: "AzureSqlMITable", + type: { + name: "Composite", + className: "AzureSqlMITableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + } + } + } +}; + +export const AzureSqlDWTableDataset: coreClient.CompositeMapper = { + serializedName: "AzureSqlDWTable", + type: { + name: "Composite", + className: "AzureSqlDWTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const AzureDataLakeStoreReadSettings: msRest.CompositeMapper = { - serializedName: "AzureDataLakeStoreReadSettings", +export const CassandraTableDataset: coreClient.CompositeMapper = { + serializedName: "CassandraTable", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "AzureDataLakeStoreReadSettings", + className: "CassandraTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + keyspace: { + serializedName: "typeProperties.keyspace", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - wildcardFileName: { - serializedName: "wildcardFileName", + } + } + } +}; + +export const CustomDataset: coreClient.CompositeMapper = { + serializedName: "CustomDataset", + type: { + name: "Composite", + className: "CustomDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + typeProperties: { + serializedName: "typeProperties", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - fileListPath: { - serializedName: "fileListPath", + } + } + } +}; + +export const CosmosDbSqlApiCollectionDataset: coreClient.CompositeMapper = { + serializedName: "CosmosDbSqlApiCollection", + type: { + name: "Composite", + className: "CosmosDbSqlApiCollectionDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + collectionName: { + serializedName: "typeProperties.collectionName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - listAfter: { - serializedName: "listAfter", + } + } + } +}; + +export const DocumentDbCollectionDataset: coreClient.CompositeMapper = { + serializedName: "DocumentDbCollection", + type: { + name: "Composite", + className: "DocumentDbCollectionDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + collectionName: { + serializedName: "typeProperties.collectionName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - listBefore: { - serializedName: "listBefore", + } + } + } +}; + +export const DynamicsEntityDataset: coreClient.CompositeMapper = { + serializedName: "DynamicsEntity", + type: { + name: "Composite", + className: "DynamicsEntityDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + entityName: { + serializedName: "typeProperties.entityName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + } + } + } +}; + +export const DynamicsCrmEntityDataset: coreClient.CompositeMapper = { + serializedName: "DynamicsCrmEntity", + type: { + name: "Composite", + className: "DynamicsCrmEntityDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + entityName: { + serializedName: "typeProperties.entityName", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - partitionRootPath: { - serializedName: "partitionRootPath", + } + } + } +}; + +export const CommonDataServiceForAppsEntityDataset: coreClient.CompositeMapper = { + serializedName: "CommonDataServiceForAppsEntity", + type: { + name: "Composite", + className: "CommonDataServiceForAppsEntityDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + entityName: { + serializedName: "typeProperties.entityName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const AzureDataLakeStoreDataset: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeStoreFile", + type: { + name: "Composite", + className: "AzureDataLakeStoreDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + folderPath: { + serializedName: "typeProperties.folderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + fileName: { + serializedName: "typeProperties.fileName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + format: { + serializedName: "typeProperties.format", type: { - name: "Object" + name: "Composite", + className: "DatasetStorageFormat" } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const AzureBlobFSReadSettings: msRest.CompositeMapper = { - serializedName: "AzureBlobFSReadSettings", +export const AzureBlobFSDataset: coreClient.CompositeMapper = { + serializedName: "AzureBlobFSFile", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "AzureBlobFSReadSettings", + className: "AzureBlobFSDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + folderPath: { + serializedName: "typeProperties.folderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + fileName: { + serializedName: "typeProperties.fileName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFileName: { - serializedName: "wildcardFileName", - type: { - name: "Object" - } - }, - fileListPath: { - serializedName: "fileListPath", - type: { - name: "Object" - } - }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", - type: { - name: "Boolean" - } - }, - partitionRootPath: { - serializedName: "partitionRootPath", - type: { - name: "Object" - } - }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", - type: { - name: "Object" - } - }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + format: { + serializedName: "typeProperties.format", type: { - name: "Object" + name: "Composite", + className: "DatasetStorageFormat" } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const AzureBlobStorageReadSettings: msRest.CompositeMapper = { - serializedName: "AzureBlobStorageReadSettings", +export const Office365Dataset: coreClient.CompositeMapper = { + serializedName: "Office365Table", type: { name: "Composite", - polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, - uberParent: "StoreReadSettings", - className: "AzureBlobStorageReadSettings", + className: "Office365Dataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...StoreReadSettings.type.modelProperties, - recursive: { - serializedName: "recursive", - type: { - name: "Object" - } - }, - wildcardFolderPath: { - serializedName: "wildcardFolderPath", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - wildcardFileName: { - serializedName: "wildcardFileName", + predicate: { + serializedName: "typeProperties.predicate", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - prefix: { - serializedName: "prefix", + } + } + } +}; + +export const FileShareDataset: coreClient.CompositeMapper = { + serializedName: "FileShare", + type: { + name: "Composite", + className: "FileShareDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + folderPath: { + serializedName: "typeProperties.folderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileListPath: { - serializedName: "fileListPath", + fileName: { + serializedName: "typeProperties.fileName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enablePartitionDiscovery: { - serializedName: "enablePartitionDiscovery", + modifiedDatetimeStart: { + serializedName: "typeProperties.modifiedDatetimeStart", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionRootPath: { - serializedName: "partitionRootPath", + modifiedDatetimeEnd: { + serializedName: "typeProperties.modifiedDatetimeEnd", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - deleteFilesAfterCompletion: { - serializedName: "deleteFilesAfterCompletion", + format: { + serializedName: "typeProperties.format", type: { - name: "Object" + name: "Composite", + className: "DatasetStorageFormat" } }, - modifiedDatetimeStart: { - serializedName: "modifiedDatetimeStart", + fileFilter: { + serializedName: "typeProperties.fileFilter", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - modifiedDatetimeEnd: { - serializedName: "modifiedDatetimeEnd", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Object" + name: "Composite", + className: "DatasetCompression" } } - }, - additionalProperties: StoreReadSettings.type.additionalProperties + } } }; -export const GetMetadataActivity: msRest.CompositeMapper = { - serializedName: "GetMetadata", +export const MongoDbCollectionDataset: coreClient.CompositeMapper = { + serializedName: "MongoDbCollection", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "GetMetadataActivity", + className: "MongoDbCollectionDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - dataset: { + ...Dataset.type.modelProperties, + collectionName: { + serializedName: "typeProperties.collectionName", required: true, - serializedName: "typeProperties.dataset", - defaultValue: {}, - type: { - name: "Composite", - className: "DatasetReference" - } - }, - fieldList: { - serializedName: "typeProperties.fieldList", - type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } - } - }, - storeSettings: { - serializedName: "typeProperties.storeSettings", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } - } - }, - formatSettings: { - serializedName: "typeProperties.formatSettings", - type: { - name: "Composite", - className: "FormatReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const WebActivityAuthentication: msRest.CompositeMapper = { - serializedName: "WebActivityAuthentication", +export const MongoDbAtlasCollectionDataset: coreClient.CompositeMapper = { + serializedName: "MongoDbAtlasCollection", type: { name: "Composite", - className: "WebActivityAuthentication", + className: "MongoDbAtlasCollectionDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - type: { + ...Dataset.type.modelProperties, + collection: { + serializedName: "typeProperties.collection", required: true, - serializedName: "type", - type: { - name: "String" - } - }, - pfx: { - serializedName: "pfx", - type: { - name: "Composite", - className: "SecretBase" - } - }, - username: { - serializedName: "username", - type: { - name: "Object" - } - }, - password: { - serializedName: "password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - resource: { - serializedName: "resource", - type: { - name: "Object" - } - }, - userTenant: { - serializedName: "userTenant", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const WebActivity: msRest.CompositeMapper = { - serializedName: "WebActivity", +export const MongoDbV2CollectionDataset: coreClient.CompositeMapper = { + serializedName: "MongoDbV2Collection", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "WebActivity", + className: "MongoDbV2CollectionDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - method: { + ...Dataset.type.modelProperties, + collection: { + serializedName: "typeProperties.collection", required: true, - serializedName: "typeProperties.method", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - url: { + } + } + } +}; + +export const CosmosDbMongoDbApiCollectionDataset: coreClient.CompositeMapper = { + serializedName: "CosmosDbMongoDbApiCollection", + type: { + name: "Composite", + className: "CosmosDbMongoDbApiCollectionDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + collection: { + serializedName: "typeProperties.collection", required: true, - serializedName: "typeProperties.url", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - headers: { - serializedName: "typeProperties.headers", + } + } + } +}; + +export const ODataResourceDataset: coreClient.CompositeMapper = { + serializedName: "ODataResource", + type: { + name: "Composite", + className: "ODataResourceDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + path: { + serializedName: "typeProperties.path", type: { - name: "Object" - } - }, - body: { - serializedName: "typeProperties.body", - type: { - name: "Object" - } - }, - authentication: { - serializedName: "typeProperties.authentication", - type: { - name: "Composite", - className: "WebActivityAuthentication" - } - }, - datasets: { - serializedName: "typeProperties.datasets", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatasetReference" - } - } - } - }, - linkedServices: { - serializedName: "typeProperties.linkedServices", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceReference" - } - } - } - }, - connectVia: { - serializedName: "typeProperties.connectVia", - type: { - name: "Composite", - className: "IntegrationRuntimeReference" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const CopySource: msRest.CompositeMapper = { - serializedName: "CopySource", +export const OracleTableDataset: coreClient.CompositeMapper = { + serializedName: "OracleTable", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CopySource", - className: "CopySource", + className: "OracleTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - sourceRetryCount: { - serializedName: "sourceRetryCount", - type: { - name: "Object" - } - }, - sourceRetryWait: { - serializedName: "sourceRetryWait", - type: { - name: "Object" - } - }, - maxConcurrentConnections: { - serializedName: "maxConcurrentConnections", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - disableMetricsCollection: { - serializedName: "disableMetricsCollection", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - required: true, - serializedName: "type", + table: { + serializedName: "typeProperties.table", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const SharePointOnlineListSource: msRest.CompositeMapper = { - serializedName: "SharePointOnlineListSource", +export const AmazonRdsForOracleTableDataset: coreClient.CompositeMapper = { + serializedName: "AmazonRdsForOracleTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SharePointOnlineListSource", + className: "AmazonRdsForOracleTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ExportSettings: msRest.CompositeMapper = { - serializedName: "ExportSettings", +export const TeradataTableDataset: coreClient.CompositeMapper = { + serializedName: "TeradataTable", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "ExportSettings", - className: "ExportSettings", + className: "TeradataTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - type: { - required: true, - serializedName: "type", + ...Dataset.type.modelProperties, + database: { + serializedName: "typeProperties.database", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + table: { + serializedName: "typeProperties.table", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const SnowflakeExportCopyCommand: msRest.CompositeMapper = { - serializedName: "SnowflakeExportCopyCommand", +export const AzureMySqlTableDataset: coreClient.CompositeMapper = { + serializedName: "AzureMySqlTable", type: { name: "Composite", - polymorphicDiscriminator: ExportSettings.type.polymorphicDiscriminator, - uberParent: "ExportSettings", - className: "SnowflakeExportCopyCommand", + className: "AzureMySqlTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...ExportSettings.type.modelProperties, - additionalCopyOptions: { - serializedName: "additionalCopyOptions", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } } }, - additionalFormatOptions: { - serializedName: "additionalFormatOptions", + table: { + serializedName: "typeProperties.table", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } } } - }, - additionalProperties: ExportSettings.type.additionalProperties + } } }; -export const AzureDatabricksDeltaLakeExportCommand: msRest.CompositeMapper = { - serializedName: "AzureDatabricksDeltaLakeExportCommand", +export const AmazonRedshiftTableDataset: coreClient.CompositeMapper = { + serializedName: "AmazonRedshiftTable", type: { name: "Composite", - polymorphicDiscriminator: ExportSettings.type.polymorphicDiscriminator, - uberParent: "ExportSettings", - className: "AzureDatabricksDeltaLakeExportCommand", + className: "AmazonRedshiftTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...ExportSettings.type.modelProperties, - dateFormat: { - serializedName: "dateFormat", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - timestampFormat: { - serializedName: "timestampFormat", + table: { + serializedName: "typeProperties.table", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: ExportSettings.type.additionalProperties + } } }; -export const AzureDatabricksDeltaLakeSource: msRest.CompositeMapper = { - serializedName: "AzureDatabricksDeltaLakeSource", +export const Db2TableDataset: coreClient.CompositeMapper = { + serializedName: "Db2Table", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzureDatabricksDeltaLakeSource", + className: "Db2TableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - exportSettings: { - serializedName: "exportSettings", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Composite", - className: "AzureDatabricksDeltaLakeExportCommand", - additionalProperties: ExportSettings.type.additionalProperties + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + table: { + serializedName: "typeProperties.table", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SnowflakeSource: msRest.CompositeMapper = { - serializedName: "SnowflakeSource", +export const RelationalTableDataset: coreClient.CompositeMapper = { + serializedName: "RelationalTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SnowflakeSource", + className: "RelationalTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - exportSettings: { - serializedName: "exportSettings", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Composite", - className: "SnowflakeExportCopyCommand", - additionalProperties: ExportSettings.type.additionalProperties + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const HttpSource: msRest.CompositeMapper = { - serializedName: "HttpSource", +export const InformixTableDataset: coreClient.CompositeMapper = { + serializedName: "InformixTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "HttpSource", + className: "InformixTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AzureBlobFSSource: msRest.CompositeMapper = { - serializedName: "AzureBlobFSSource", +export const OdbcTableDataset: coreClient.CompositeMapper = { + serializedName: "OdbcTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzureBlobFSSource", + className: "OdbcTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - treatEmptyAsNull: { - serializedName: "treatEmptyAsNull", - type: { - name: "Object" - } - }, - skipHeaderLineCount: { - serializedName: "skipHeaderLineCount", - type: { - name: "Object" - } - }, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AzureDataLakeStoreSource: msRest.CompositeMapper = { - serializedName: "AzureDataLakeStoreSource", +export const MySqlTableDataset: coreClient.CompositeMapper = { + serializedName: "MySqlTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzureDataLakeStoreSource", + className: "MySqlTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const Office365Source: msRest.CompositeMapper = { - serializedName: "Office365Source", +export const PostgreSqlTableDataset: coreClient.CompositeMapper = { + serializedName: "PostgreSqlTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "Office365Source", + className: "PostgreSqlTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - allowedGroups: { - serializedName: "allowedGroups", - type: { - name: "Object" - } - }, - userScopeFilterUri: { - serializedName: "userScopeFilterUri", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dateFilterColumn: { - serializedName: "dateFilterColumn", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - startTime: { - serializedName: "startTime", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - endTime: { - serializedName: "endTime", + } + } + } +}; + +export const MicrosoftAccessTableDataset: coreClient.CompositeMapper = { + serializedName: "MicrosoftAccessTable", + type: { + name: "Composite", + className: "MicrosoftAccessTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - outputColumns: { - serializedName: "outputColumns", + } + } + } +}; + +export const SalesforceObjectDataset: coreClient.CompositeMapper = { + serializedName: "SalesforceObject", + type: { + name: "Composite", + className: "SalesforceObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + objectApiName: { + serializedName: "typeProperties.objectApiName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AdditionalColumns: msRest.CompositeMapper = { - serializedName: "AdditionalColumns", +export const SalesforceServiceCloudObjectDataset: coreClient.CompositeMapper = { + serializedName: "SalesforceServiceCloudObject", type: { name: "Composite", - className: "AdditionalColumns", + className: "SalesforceServiceCloudObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - name: { - serializedName: "name", + ...Dataset.type.modelProperties, + objectApiName: { + serializedName: "typeProperties.objectApiName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - value: { - serializedName: "value", + } + } + } +}; + +export const SybaseTableDataset: coreClient.CompositeMapper = { + serializedName: "SybaseTable", + type: { + name: "Composite", + className: "SybaseTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const MongoDbCursorMethodsProperties: msRest.CompositeMapper = { - serializedName: "MongoDbCursorMethodsProperties", +export const SapBwCubeDataset: coreClient.CompositeMapper = { + serializedName: "SapBwCube", type: { name: "Composite", - className: "MongoDbCursorMethodsProperties", + className: "SapBwCubeDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - project: { - serializedName: "project", + ...Dataset.type.modelProperties + } + } +}; + +export const SapCloudForCustomerResourceDataset: coreClient.CompositeMapper = { + serializedName: "SapCloudForCustomerResource", + type: { + name: "Composite", + className: "SapCloudForCustomerResourceDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + path: { + serializedName: "typeProperties.path", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - sort: { - serializedName: "sort", + } + } + } +}; + +export const SapEccResourceDataset: coreClient.CompositeMapper = { + serializedName: "SapEccResource", + type: { + name: "Composite", + className: "SapEccResourceDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + path: { + serializedName: "typeProperties.path", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - skip: { - serializedName: "skip", + } + } + } +}; + +export const SapHanaTableDataset: coreClient.CompositeMapper = { + serializedName: "SapHanaTable", + type: { + name: "Composite", + className: "SapHanaTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - limit: { - serializedName: "limit", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const CosmosDbMongoDbApiSource: msRest.CompositeMapper = { - serializedName: "CosmosDbMongoDbApiSource", +export const SapOpenHubTableDataset: coreClient.CompositeMapper = { + serializedName: "SapOpenHubTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "CosmosDbMongoDbApiSource", + className: "SapOpenHubTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - filter: { - serializedName: "filter", - type: { - name: "Object" - } - }, - cursorMethods: { - serializedName: "cursorMethods", + ...Dataset.type.modelProperties, + openHubDestinationName: { + serializedName: "typeProperties.openHubDestinationName", + required: true, type: { - name: "Composite", - className: "MongoDbCursorMethodsProperties", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - batchSize: { - serializedName: "batchSize", + excludeLastRequest: { + serializedName: "typeProperties.excludeLastRequest", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - queryTimeout: { - serializedName: "queryTimeout", + baseRequestId: { + serializedName: "typeProperties.baseRequestId", type: { - name: "Object" - } - }, - additionalColumns: { - serializedName: "additionalColumns", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const MongoDbV2Source: msRest.CompositeMapper = { - serializedName: "MongoDbV2Source", +export const SqlServerTableDataset: coreClient.CompositeMapper = { + serializedName: "SqlServerTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "MongoDbV2Source", + className: "SqlServerTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - filter: { - serializedName: "filter", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - cursorMethods: { - serializedName: "cursorMethods", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Composite", - className: "MongoDbCursorMethodsProperties", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - batchSize: { - serializedName: "batchSize", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - queryTimeout: { - serializedName: "queryTimeout", + } + } + } +}; + +export const AmazonRdsForSqlServerTableDataset: coreClient.CompositeMapper = { + serializedName: "AmazonRdsForSqlServerTable", + type: { + name: "Composite", + className: "AmazonRdsForSqlServerTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + table: { + serializedName: "typeProperties.table", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const MongoDbAtlasSource: msRest.CompositeMapper = { - serializedName: "MongoDbAtlasSource", +export const RestResourceDataset: coreClient.CompositeMapper = { + serializedName: "RestResource", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "MongoDbAtlasSource", + className: "RestResourceDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - filter: { - serializedName: "filter", + ...Dataset.type.modelProperties, + relativeUrl: { + serializedName: "typeProperties.relativeUrl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - cursorMethods: { - serializedName: "cursorMethods", + requestMethod: { + serializedName: "typeProperties.requestMethod", type: { - name: "Composite", - className: "MongoDbCursorMethodsProperties", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - batchSize: { - serializedName: "batchSize", + requestBody: { + serializedName: "typeProperties.requestBody", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - queryTimeout: { - serializedName: "queryTimeout", + additionalHeaders: { + serializedName: "typeProperties.additionalHeaders", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + paginationRules: { + serializedName: "typeProperties.paginationRules", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const MongoDbSource: msRest.CompositeMapper = { - serializedName: "MongoDbSource", +export const SapTableResourceDataset: coreClient.CompositeMapper = { + serializedName: "SapTableResource", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "MongoDbSource", + className: "SapTableResourceDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - additionalColumns: { - serializedName: "additionalColumns", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const WebSource: msRest.CompositeMapper = { - serializedName: "WebSource", +export const WebTableDataset: coreClient.CompositeMapper = { + serializedName: "WebTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "WebSource", + className: "WebTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - additionalColumns: { - serializedName: "additionalColumns", + ...Dataset.type.modelProperties, + index: { + serializedName: "typeProperties.index", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + path: { + serializedName: "typeProperties.path", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const OraclePartitionSettings: msRest.CompositeMapper = { - serializedName: "OraclePartitionSettings", +export const AzureSearchIndexDataset: coreClient.CompositeMapper = { + serializedName: "AzureSearchIndex", type: { name: "Composite", - className: "OraclePartitionSettings", + className: "AzureSearchIndexDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - partitionNames: { - serializedName: "partitionNames", - type: { - name: "Object" - } - }, - partitionColumnName: { - serializedName: "partitionColumnName", - type: { - name: "Object" - } - }, - partitionUpperBound: { - serializedName: "partitionUpperBound", - type: { - name: "Object" - } - }, - partitionLowerBound: { - serializedName: "partitionLowerBound", + ...Dataset.type.modelProperties, + indexName: { + serializedName: "typeProperties.indexName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const OracleSource: msRest.CompositeMapper = { - serializedName: "OracleSource", +export const HttpDataset: coreClient.CompositeMapper = { + serializedName: "HttpFile", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "OracleSource", + className: "HttpDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - oracleReaderQuery: { - serializedName: "oracleReaderQuery", + ...Dataset.type.modelProperties, + relativeUrl: { + serializedName: "typeProperties.relativeUrl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - queryTimeout: { - serializedName: "queryTimeout", + requestMethod: { + serializedName: "typeProperties.requestMethod", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionOption: { - serializedName: "partitionOption", + requestBody: { + serializedName: "typeProperties.requestBody", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionSettings: { - serializedName: "partitionSettings", + additionalHeaders: { + serializedName: "typeProperties.additionalHeaders", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + format: { + serializedName: "typeProperties.format", type: { name: "Composite", - className: "OraclePartitionSettings" + className: "DatasetStorageFormat" } }, - additionalColumns: { - serializedName: "additionalColumns", + compression: { + serializedName: "typeProperties.compression", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Composite", + className: "DatasetCompression" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AzureDataExplorerSource: msRest.CompositeMapper = { - serializedName: "AzureDataExplorerSource", +export const AmazonMWSObjectDataset: coreClient.CompositeMapper = { + serializedName: "AmazonMWSObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzureDataExplorerSource", + className: "AmazonMWSObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - required: true, - serializedName: "query", - type: { - name: "Object" + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } - }, - noTruncation: { - serializedName: "noTruncation", + } + } + } +}; + +export const AzurePostgreSqlTableDataset: coreClient.CompositeMapper = { + serializedName: "AzurePostgreSqlTable", + type: { + name: "Composite", + className: "AzurePostgreSqlTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - queryTimeout: { - serializedName: "queryTimeout", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const HdfsSource: msRest.CompositeMapper = { - serializedName: "HdfsSource", +export const ConcurObjectDataset: coreClient.CompositeMapper = { + serializedName: "ConcurObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "HdfsSource", + className: "ConcurObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - recursive: { - serializedName: "recursive", - type: { - name: "Object" - } - }, - distcpSettings: { - serializedName: "distcpSettings", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Composite", - className: "DistcpSettings" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const FileSystemSource: msRest.CompositeMapper = { - serializedName: "FileSystemSource", +export const CouchbaseTableDataset: coreClient.CompositeMapper = { + serializedName: "CouchbaseTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "FileSystemSource", + className: "CouchbaseTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - recursive: { - serializedName: "recursive", - type: { - name: "Object" - } - }, - additionalColumns: { - serializedName: "additionalColumns", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const RestSource: msRest.CompositeMapper = { - serializedName: "RestSource", +export const DrillTableDataset: coreClient.CompositeMapper = { + serializedName: "DrillTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "RestSource", + className: "DrillTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - requestMethod: { - serializedName: "requestMethod", - type: { - name: "Object" - } - }, - requestBody: { - serializedName: "requestBody", - type: { - name: "Object" - } - }, - additionalHeaders: { - serializedName: "additionalHeaders", - type: { - name: "Object" - } - }, - paginationRules: { - serializedName: "paginationRules", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - requestInterval: { - serializedName: "requestInterval", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - additionalColumns: { - serializedName: "additionalColumns", + } + } + } +}; + +export const EloquaObjectDataset: coreClient.CompositeMapper = { + serializedName: "EloquaObject", + type: { + name: "Composite", + className: "EloquaObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SalesforceServiceCloudSource: msRest.CompositeMapper = { - serializedName: "SalesforceServiceCloudSource", +export const GoogleBigQueryObjectDataset: coreClient.CompositeMapper = { + serializedName: "GoogleBigQueryObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SalesforceServiceCloudSource", + className: "GoogleBigQueryObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - readBehavior: { - serializedName: "readBehavior", + table: { + serializedName: "typeProperties.table", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + dataset: { + serializedName: "typeProperties.dataset", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ODataSource: msRest.CompositeMapper = { - serializedName: "ODataSource", +export const GreenplumTableDataset: coreClient.CompositeMapper = { + serializedName: "GreenplumTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ODataSource", + className: "GreenplumTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const MicrosoftAccessSource: msRest.CompositeMapper = { - serializedName: "MicrosoftAccessSource", +export const HBaseObjectDataset: coreClient.CompositeMapper = { + serializedName: "HBaseObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "MicrosoftAccessSource", + className: "HBaseObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - additionalColumns: { - serializedName: "additionalColumns", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const RelationalSource: msRest.CompositeMapper = { - serializedName: "RelationalSource", +export const HiveObjectDataset: coreClient.CompositeMapper = { + serializedName: "HiveObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "RelationalSource", + className: "HiveObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + table: { + serializedName: "typeProperties.table", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const CommonDataServiceForAppsSource: msRest.CompositeMapper = { - serializedName: "CommonDataServiceForAppsSource", +export const HubspotObjectDataset: coreClient.CompositeMapper = { + serializedName: "HubspotObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "CommonDataServiceForAppsSource", + className: "HubspotObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - additionalColumns: { - serializedName: "additionalColumns", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const DynamicsCrmSource: msRest.CompositeMapper = { - serializedName: "DynamicsCrmSource", +export const ImpalaObjectDataset: coreClient.CompositeMapper = { + serializedName: "ImpalaObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "DynamicsCrmSource", + className: "ImpalaObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + table: { + serializedName: "typeProperties.table", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const DynamicsSource: msRest.CompositeMapper = { - serializedName: "DynamicsSource", +export const JiraObjectDataset: coreClient.CompositeMapper = { + serializedName: "JiraObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "DynamicsSource", + className: "JiraObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - additionalColumns: { - serializedName: "additionalColumns", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const CosmosDbSqlApiSource: msRest.CompositeMapper = { - serializedName: "CosmosDbSqlApiSource", +export const MagentoObjectDataset: coreClient.CompositeMapper = { + serializedName: "MagentoObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "CosmosDbSqlApiSource", + className: "MagentoObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - pageSize: { - serializedName: "pageSize", - type: { - name: "Object" - } - }, - preferredRegions: { - serializedName: "preferredRegions", - type: { - name: "Object" - } - }, - detectDatetime: { - serializedName: "detectDatetime", - type: { - name: "Object" - } - }, - additionalColumns: { - serializedName: "additionalColumns", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const DocumentDbCollectionSource: msRest.CompositeMapper = { - serializedName: "DocumentDbCollectionSource", +export const MariaDBTableDataset: coreClient.CompositeMapper = { + serializedName: "MariaDBTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "DocumentDbCollectionSource", + className: "MariaDBTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - nestingSeparator: { - serializedName: "nestingSeparator", - type: { - name: "Object" - } - }, - queryTimeout: { - serializedName: "queryTimeout", - type: { - name: "Object" - } - }, - additionalColumns: { - serializedName: "additionalColumns", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const BlobSource: msRest.CompositeMapper = { - serializedName: "BlobSource", +export const AzureMariaDBTableDataset: coreClient.CompositeMapper = { + serializedName: "AzureMariaDBTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "BlobSource", + className: "AzureMariaDBTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - treatEmptyAsNull: { - serializedName: "treatEmptyAsNull", - type: { - name: "Object" - } - }, - skipHeaderLineCount: { - serializedName: "skipHeaderLineCount", - type: { - name: "Object" - } - }, - recursive: { - serializedName: "recursive", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const RedshiftUnloadSettings: msRest.CompositeMapper = { - serializedName: "RedshiftUnloadSettings", +export const MarketoObjectDataset: coreClient.CompositeMapper = { + serializedName: "MarketoObject", type: { name: "Composite", - className: "RedshiftUnloadSettings", + className: "MarketoObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - s3LinkedServiceName: { - required: true, - serializedName: "s3LinkedServiceName", - defaultValue: {}, - type: { - name: "Composite", - className: "LinkedServiceReference" - } - }, - bucketName: { - required: true, - serializedName: "bucketName", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const TabularSource: msRest.CompositeMapper = { - serializedName: "TabularSource", +export const PaypalObjectDataset: coreClient.CompositeMapper = { + serializedName: "PaypalObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "TabularSource", + className: "PaypalObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - queryTimeout: { - serializedName: "queryTimeout", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const PhoenixObjectDataset: coreClient.CompositeMapper = { + serializedName: "PhoenixObject", + type: { + name: "Composite", + className: "PhoenixObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + table: { + serializedName: "typeProperties.table", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AmazonRedshiftSource: msRest.CompositeMapper = { - serializedName: "AmazonRedshiftSource", +export const PrestoObjectDataset: coreClient.CompositeMapper = { + serializedName: "PrestoObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AmazonRedshiftSource", + className: "PrestoObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - redshiftUnloadSettings: { - serializedName: "redshiftUnloadSettings", + table: { + serializedName: "typeProperties.table", type: { - name: "Composite", - className: "RedshiftUnloadSettings" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const GoogleAdWordsSource: msRest.CompositeMapper = { - serializedName: "GoogleAdWordsSource", +export const QuickBooksObjectDataset: coreClient.CompositeMapper = { + serializedName: "QuickBooksObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "GoogleAdWordsSource", + className: "QuickBooksObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const OracleServiceCloudSource: msRest.CompositeMapper = { - serializedName: "OracleServiceCloudSource", +export const ServiceNowObjectDataset: coreClient.CompositeMapper = { + serializedName: "ServiceNowObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "OracleServiceCloudSource", + className: "ServiceNowObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const DynamicsAXSource: msRest.CompositeMapper = { - serializedName: "DynamicsAXSource", +export const ShopifyObjectDataset: coreClient.CompositeMapper = { + serializedName: "ShopifyObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "DynamicsAXSource", + className: "ShopifyObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SparkObjectDataset: coreClient.CompositeMapper = { + serializedName: "SparkObject", + type: { + name: "Composite", + className: "SparkObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + table: { + serializedName: "typeProperties.table", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ResponsysSource: msRest.CompositeMapper = { - serializedName: "ResponsysSource", +export const SquareObjectDataset: coreClient.CompositeMapper = { + serializedName: "SquareObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ResponsysSource", + className: "SquareObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SalesforceMarketingCloudSource: msRest.CompositeMapper = { - serializedName: "SalesforceMarketingCloudSource", +export const XeroObjectDataset: coreClient.CompositeMapper = { + serializedName: "XeroObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SalesforceMarketingCloudSource", + className: "XeroObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const VerticaSource: msRest.CompositeMapper = { - serializedName: "VerticaSource", +export const ZohoObjectDataset: coreClient.CompositeMapper = { + serializedName: "ZohoObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "VerticaSource", + className: "ZohoObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const NetezzaPartitionSettings: msRest.CompositeMapper = { - serializedName: "NetezzaPartitionSettings", +export const NetezzaTableDataset: coreClient.CompositeMapper = { + serializedName: "NetezzaTable", type: { name: "Composite", - className: "NetezzaPartitionSettings", + className: "NetezzaTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - partitionColumnName: { - serializedName: "partitionColumnName", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionUpperBound: { - serializedName: "partitionUpperBound", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionLowerBound: { - serializedName: "partitionLowerBound", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const NetezzaSource: msRest.CompositeMapper = { - serializedName: "NetezzaSource", +export const VerticaTableDataset: coreClient.CompositeMapper = { + serializedName: "VerticaTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "NetezzaSource", + className: "VerticaTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionOption: { - serializedName: "partitionOption", + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionSettings: { - serializedName: "partitionSettings", + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Composite", - className: "NetezzaPartitionSettings" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ZohoSource: msRest.CompositeMapper = { - serializedName: "ZohoSource", +export const SalesforceMarketingCloudObjectDataset: coreClient.CompositeMapper = { + serializedName: "SalesforceMarketingCloudObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ZohoSource", - modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + className: "SalesforceMarketingCloudObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const XeroSource: msRest.CompositeMapper = { - serializedName: "XeroSource", +export const ResponsysObjectDataset: coreClient.CompositeMapper = { + serializedName: "ResponsysObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "XeroSource", + className: "ResponsysObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SquareSource: msRest.CompositeMapper = { - serializedName: "SquareSource", +export const DynamicsAXResourceDataset: coreClient.CompositeMapper = { + serializedName: "DynamicsAXResource", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SquareSource", + className: "DynamicsAXResourceDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + path: { + serializedName: "typeProperties.path", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SparkSource: msRest.CompositeMapper = { - serializedName: "SparkSource", +export const OracleServiceCloudObjectDataset: coreClient.CompositeMapper = { + serializedName: "OracleServiceCloudObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SparkSource", + className: "OracleServiceCloudObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ShopifySource: msRest.CompositeMapper = { - serializedName: "ShopifySource", +export const AzureDataExplorerTableDataset: coreClient.CompositeMapper = { + serializedName: "AzureDataExplorerTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ShopifySource", + className: "AzureDataExplorerTableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ServiceNowSource: msRest.CompositeMapper = { - serializedName: "ServiceNowSource", +export const GoogleAdWordsObjectDataset: coreClient.CompositeMapper = { + serializedName: "GoogleAdWordsObject", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ServiceNowSource", + className: "GoogleAdWordsObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const QuickBooksSource: msRest.CompositeMapper = { - serializedName: "QuickBooksSource", +export const SnowflakeDataset: coreClient.CompositeMapper = { + serializedName: "SnowflakeTable", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "QuickBooksSource", + className: "SnowflakeDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const PrestoSource: msRest.CompositeMapper = { - serializedName: "PrestoSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "PrestoSource", - modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + }, + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const PhoenixSource: msRest.CompositeMapper = { - serializedName: "PhoenixSource", +export const SharePointOnlineListResourceDataset: coreClient.CompositeMapper = { + serializedName: "SharePointOnlineListResource", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "PhoenixSource", + className: "SharePointOnlineListResourceDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + listName: { + serializedName: "typeProperties.listName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const PaypalSource: msRest.CompositeMapper = { - serializedName: "PaypalSource", +export const AzureDatabricksDeltaLakeDataset: coreClient.CompositeMapper = { + serializedName: "AzureDatabricksDeltaLakeDataset", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "PaypalSource", + className: "AzureDatabricksDeltaLakeDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Dataset.type.modelProperties, + table: { + serializedName: "typeProperties.table", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const MarketoSource: msRest.CompositeMapper = { - serializedName: "MarketoSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "MarketoSource", - modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + }, + database: { + serializedName: "typeProperties.database", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AzureMariaDBSource: msRest.CompositeMapper = { - serializedName: "AzureMariaDBSource", +export const ControlActivity: coreClient.CompositeMapper = { + serializedName: "Container", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzureMariaDBSource", - modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - } + className: "ControlActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" }, - additionalProperties: CopySource.type.additionalProperties + modelProperties: { + ...Activity.type.modelProperties + } } }; -export const MariaDBSource: msRest.CompositeMapper = { - serializedName: "MariaDBSource", +export const ExecutionActivity: coreClient.CompositeMapper = { + serializedName: "Execution", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "MariaDBSource", + className: "ExecutionActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Activity.type.modelProperties, + linkedServiceName: { + serializedName: "linkedServiceName", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const MagentoSource: msRest.CompositeMapper = { - serializedName: "MagentoSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "MagentoSource", - modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + }, + policy: { + serializedName: "policy", type: { - name: "Object" + name: "Composite", + className: "ActivityPolicy" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const JiraSource: msRest.CompositeMapper = { - serializedName: "JiraSource", +export const ExecuteWranglingDataflowActivity: coreClient.CompositeMapper = { + serializedName: "ExecuteWranglingDataflow", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "JiraSource", + className: "ExecuteWranglingDataflowActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" + ...Activity.type.modelProperties, + policy: { + serializedName: "policy", + type: { + name: "Composite", + className: "ActivityPolicy" + } + }, + dataFlow: { + serializedName: "typeProperties.dataFlow", + type: { + name: "Composite", + className: "DataFlowReference" + } + }, + staging: { + serializedName: "typeProperties.staging", + type: { + name: "Composite", + className: "DataFlowStagingInfo" + } + }, + integrationRuntime: { + serializedName: "typeProperties.integrationRuntime", + type: { + name: "Composite", + className: "IntegrationRuntimeReference" + } + }, + compute: { + serializedName: "typeProperties.compute", + type: { + name: "Composite", + className: "ExecuteDataFlowActivityTypePropertiesCompute" + } + }, + traceLevel: { + serializedName: "typeProperties.traceLevel", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + continueOnError: { + serializedName: "typeProperties.continueOnError", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + runConcurrently: { + serializedName: "typeProperties.runConcurrently", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sinks: { + serializedName: "typeProperties.sinks", + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "PowerQuerySink" } } + } + }, + queries: { + serializedName: "typeProperties.queries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PowerQuerySinkMapping" + } + } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ImpalaSource: msRest.CompositeMapper = { - serializedName: "ImpalaSource", +export const MultiplePipelineTrigger: coreClient.CompositeMapper = { + serializedName: "MultiplePipelineTrigger", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ImpalaSource", + className: "MultiplePipelineTrigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Trigger.type.modelProperties, + pipelines: { + serializedName: "pipelines", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TriggerPipelineReference" + } + } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const HubspotSource: msRest.CompositeMapper = { - serializedName: "HubspotSource", +export const TumblingWindowTrigger: coreClient.CompositeMapper = { + serializedName: "TumblingWindowTrigger", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "HubspotSource", + className: "TumblingWindowTrigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Trigger.type.modelProperties, + pipeline: { + serializedName: "pipeline", + type: { + name: "Composite", + className: "TriggerPipelineReference" + } + }, + frequency: { + serializedName: "typeProperties.frequency", + required: true, + type: { + name: "String" + } + }, + interval: { + serializedName: "typeProperties.interval", + required: true, + type: { + name: "Number" + } + }, + startTime: { + serializedName: "typeProperties.startTime", + required: true, type: { - name: "Object" + name: "DateTime" + } + }, + endTime: { + serializedName: "typeProperties.endTime", + type: { + name: "DateTime" + } + }, + delay: { + serializedName: "typeProperties.delay", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + maxConcurrency: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 1 + }, + serializedName: "typeProperties.maxConcurrency", + required: true, + type: { + name: "Number" + } + }, + retryPolicy: { + serializedName: "typeProperties.retryPolicy", + type: { + name: "Composite", + className: "RetryPolicy" + } + }, + dependsOn: { + serializedName: "typeProperties.dependsOn", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DependencyReference" + } + } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const HiveSource: msRest.CompositeMapper = { - serializedName: "HiveSource", +export const RerunTumblingWindowTrigger: coreClient.CompositeMapper = { + serializedName: "RerunTumblingWindowTrigger", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "HiveSource", + className: "RerunTumblingWindowTrigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Trigger.type.modelProperties, + parentTrigger: { + serializedName: "typeProperties.parentTrigger", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + requestedStartTime: { + serializedName: "typeProperties.requestedStartTime", + required: true, + type: { + name: "DateTime" + } + }, + requestedEndTime: { + serializedName: "typeProperties.requestedEndTime", + required: true, + type: { + name: "DateTime" + } + }, + rerunConcurrency: { + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 1 + }, + serializedName: "typeProperties.rerunConcurrency", + required: true, type: { - name: "Object" + name: "Number" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const HBaseSource: msRest.CompositeMapper = { - serializedName: "HBaseSource", +export const ChainingTrigger: coreClient.CompositeMapper = { + serializedName: "ChainingTrigger", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "HBaseSource", + className: "ChainingTrigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Trigger.type.modelProperties, + pipeline: { + serializedName: "pipeline", + type: { + name: "Composite", + className: "TriggerPipelineReference" + } + }, + dependsOn: { + serializedName: "typeProperties.dependsOn", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PipelineReference" + } + } + } + }, + runDimension: { + serializedName: "typeProperties.runDimension", + required: true, type: { - name: "Object" + name: "String" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const GreenplumSource: msRest.CompositeMapper = { - serializedName: "GreenplumSource", +export const MappingDataFlow: coreClient.CompositeMapper = { + serializedName: "MappingDataFlow", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "GreenplumSource", + className: "MappingDataFlow", + uberParent: "DataFlow", + polymorphicDiscriminator: DataFlow.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...DataFlow.type.modelProperties, + sources: { + serializedName: "typeProperties.sources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowSource" + } + } + } + }, + sinks: { + serializedName: "typeProperties.sinks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowSink" + } + } + } + }, + transformations: { + serializedName: "typeProperties.transformations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Transformation" + } + } + } + }, + script: { + serializedName: "typeProperties.script", + type: { + name: "String" + } + }, + scriptLines: { + serializedName: "typeProperties.scriptLines", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const GoogleBigQuerySource: msRest.CompositeMapper = { - serializedName: "GoogleBigQuerySource", +export const Flowlet: coreClient.CompositeMapper = { + serializedName: "Flowlet", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "GoogleBigQuerySource", + className: "Flowlet", + uberParent: "DataFlow", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DataFlow.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...DataFlow.type.modelProperties, + sources: { + serializedName: "typeProperties.sources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowSource" + } + } + } + }, + sinks: { + serializedName: "typeProperties.sinks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataFlowSink" + } + } + } + }, + transformations: { + serializedName: "typeProperties.transformations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Transformation" + } + } + } + }, + script: { + serializedName: "typeProperties.script", + type: { + name: "String" + } + }, + scriptLines: { + serializedName: "typeProperties.scriptLines", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + additionalProperties: { + serializedName: "typeProperties.additionalProperties", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const EloquaSource: msRest.CompositeMapper = { - serializedName: "EloquaSource", +export const WranglingDataFlow: coreClient.CompositeMapper = { + serializedName: "WranglingDataFlow", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "EloquaSource", + className: "WranglingDataFlow", + uberParent: "DataFlow", + polymorphicDiscriminator: DataFlow.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...DataFlow.type.modelProperties, + sources: { + serializedName: "typeProperties.sources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PowerQuerySource" + } + } + } + }, + script: { + serializedName: "typeProperties.script", + type: { + name: "String" + } + }, + documentLocale: { + serializedName: "typeProperties.documentLocale", type: { - name: "Object" + name: "String" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const DrillSource: msRest.CompositeMapper = { - serializedName: "DrillSource", +export const IntegrationRuntimeDebugResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "DrillSource", + className: "IntegrationRuntimeDebugResource", modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...SubResourceDebugResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntime" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const CouchbaseSource: msRest.CompositeMapper = { - serializedName: "CouchbaseSource", +export const DataFlowDebugResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "CouchbaseSource", + className: "DataFlowDebugResource", modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...SubResourceDebugResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "DataFlow" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ConcurSource: msRest.CompositeMapper = { - serializedName: "ConcurSource", +export const DatasetDebugResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ConcurSource", + className: "DatasetDebugResource", modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...SubResourceDebugResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "Dataset" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AzurePostgreSqlSource: msRest.CompositeMapper = { - serializedName: "AzurePostgreSqlSource", +export const LinkedServiceDebugResource: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzurePostgreSqlSource", + className: "LinkedServiceDebugResource", modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...SubResourceDebugResource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "LinkedService" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AmazonMWSSource: msRest.CompositeMapper = { - serializedName: "AmazonMWSSource", +export const SecureString: coreClient.CompositeMapper = { + serializedName: "SecureString", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AmazonMWSSource", + className: "SecureString", + uberParent: "SecretBase", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...SecretBase.type.modelProperties, + value: { + serializedName: "value", + required: true, type: { - name: "Object" + name: "String" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const CassandraSource: msRest.CompositeMapper = { - serializedName: "CassandraSource", +export const AzureKeyVaultSecretReference: coreClient.CompositeMapper = { + serializedName: "AzureKeyVaultSecret", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "CassandraSource", + className: "AzureKeyVaultSecretReference", + uberParent: "SecretBase", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...SecretBase.type.modelProperties, + store: { + serializedName: "store", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } }, - consistencyLevel: { - serializedName: "consistencyLevel", + secretName: { + serializedName: "secretName", + required: true, type: { - name: "String" - } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const TeradataPartitionSettings: msRest.CompositeMapper = { - serializedName: "TeradataPartitionSettings", - type: { - name: "Composite", - className: "TeradataPartitionSettings", - modelProperties: { - partitionColumnName: { - serializedName: "partitionColumnName", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionUpperBound: { - serializedName: "partitionUpperBound", - type: { - name: "Object" - } - }, - partitionLowerBound: { - serializedName: "partitionLowerBound", + secretVersion: { + serializedName: "secretVersion", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const TeradataSource: msRest.CompositeMapper = { - serializedName: "TeradataSource", +export const ServicePrincipalCredential: coreClient.CompositeMapper = { + serializedName: "ServicePrincipal", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "TeradataSource", + className: "ServicePrincipalCredential", + uberParent: "Credential", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Credential.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Credential.type.modelProperties, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionOption: { - serializedName: "partitionOption", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - partitionSettings: { - serializedName: "partitionSettings", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Composite", - className: "TeradataPartitionSettings" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AzureMySqlSource: msRest.CompositeMapper = { - serializedName: "AzureMySqlSource", +export const ManagedIdentityCredential: coreClient.CompositeMapper = { + serializedName: "ManagedIdentity", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzureMySqlSource", + className: "ManagedIdentityCredential", + uberParent: "Credential", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Credential.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...Credential.type.modelProperties, + resourceId: { + serializedName: "typeProperties.resourceId", type: { - name: "Object" + name: "String" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SqlPartitionSettings: msRest.CompositeMapper = { - serializedName: "SqlPartitionSettings", +export const DataFlowSource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SqlPartitionSettings", + className: "DataFlowSource", modelProperties: { - partitionColumnName: { - serializedName: "partitionColumnName", + ...Transformation.type.modelProperties, + dataset: { + serializedName: "dataset", type: { - name: "Object" + name: "Composite", + className: "DatasetReference" } }, - partitionUpperBound: { - serializedName: "partitionUpperBound", + linkedService: { + serializedName: "linkedService", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } }, - partitionLowerBound: { - serializedName: "partitionLowerBound", + schemaLinkedService: { + serializedName: "schemaLinkedService", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } } } } }; -export const SqlDWSource: msRest.CompositeMapper = { - serializedName: "SqlDWSource", +export const DataFlowSink: coreClient.CompositeMapper = { type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SqlDWSource", + className: "DataFlowSink", modelProperties: { - ...TabularSource.type.modelProperties, - sqlReaderQuery: { - serializedName: "sqlReaderQuery", - type: { - name: "Object" - } - }, - sqlReaderStoredProcedureName: { - serializedName: "sqlReaderStoredProcedureName", - type: { - name: "Object" - } - }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + ...Transformation.type.modelProperties, + dataset: { + serializedName: "dataset", type: { - name: "Object" + name: "Composite", + className: "DatasetReference" } }, - partitionOption: { - serializedName: "partitionOption", + linkedService: { + serializedName: "linkedService", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } }, - partitionSettings: { - serializedName: "partitionSettings", + schemaLinkedService: { + serializedName: "schemaLinkedService", type: { name: "Composite", - className: "SqlPartitionSettings" + className: "LinkedServiceReference" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const StoredProcedureParameter: msRest.CompositeMapper = { - serializedName: "StoredProcedureParameter", +export const AzureBlobStorageLocation: coreClient.CompositeMapper = { + serializedName: "AzureBlobStorageLocation", type: { name: "Composite", - className: "StoredProcedureParameter", + className: "AzureBlobStorageLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, modelProperties: { - value: { - serializedName: "value", - type: { - name: "Object" - } - }, - type: { - serializedName: "type", + ...DatasetLocation.type.modelProperties, + container: { + serializedName: "container", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const SqlMISource: msRest.CompositeMapper = { - serializedName: "SqlMISource", +export const AzureBlobFSLocation: coreClient.CompositeMapper = { + serializedName: "AzureBlobFSLocation", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SqlMISource", + className: "AzureBlobFSLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - sqlReaderQuery: { - serializedName: "sqlReaderQuery", - type: { - name: "Object" - } - }, - sqlReaderStoredProcedureName: { - serializedName: "sqlReaderStoredProcedureName", - type: { - name: "Object" - } - }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + ...DatasetLocation.type.modelProperties, + fileSystem: { + serializedName: "fileSystem", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } - } - }, - produceAdditionalTypes: { - serializedName: "produceAdditionalTypes", - type: { - name: "Object" - } - }, - partitionOption: { - serializedName: "partitionOption", - type: { - name: "Object" - } - }, - partitionSettings: { - serializedName: "partitionSettings", - type: { - name: "Composite", - className: "SqlPartitionSettings" + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const AzureSqlSource: msRest.CompositeMapper = { - serializedName: "AzureSqlSource", +export const AzureDataLakeStoreLocation: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeStoreLocation", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzureSqlSource", + className: "AzureDataLakeStoreLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - sqlReaderQuery: { - serializedName: "sqlReaderQuery", - type: { - name: "Object" - } - }, - sqlReaderStoredProcedureName: { - serializedName: "sqlReaderStoredProcedureName", - type: { - name: "Object" - } - }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + ...DatasetLocation.type.modelProperties + } + } +}; + +export const AmazonS3Location: coreClient.CompositeMapper = { + serializedName: "AmazonS3Location", + type: { + name: "Composite", + className: "AmazonS3Location", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, + modelProperties: { + ...DatasetLocation.type.modelProperties, + bucketName: { + serializedName: "bucketName", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } - } - }, - produceAdditionalTypes: { - serializedName: "produceAdditionalTypes", - type: { - name: "Object" - } - }, - partitionOption: { - serializedName: "partitionOption", - type: { - name: "Object" + value: { type: { name: "any" } } } }, - partitionSettings: { - serializedName: "partitionSettings", + version: { + serializedName: "version", type: { - name: "Composite", - className: "SqlPartitionSettings" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SqlServerSource: msRest.CompositeMapper = { - serializedName: "SqlServerSource", +export const FileServerLocation: coreClient.CompositeMapper = { + serializedName: "FileServerLocation", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SqlServerSource", + className: "FileServerLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - sqlReaderQuery: { - serializedName: "sqlReaderQuery", - type: { - name: "Object" - } - }, - sqlReaderStoredProcedureName: { - serializedName: "sqlReaderStoredProcedureName", - type: { - name: "Object" - } - }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + ...DatasetLocation.type.modelProperties + } + } +}; + +export const AzureFileStorageLocation: coreClient.CompositeMapper = { + serializedName: "AzureFileStorageLocation", + type: { + name: "Composite", + className: "AzureFileStorageLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, + modelProperties: { + ...DatasetLocation.type.modelProperties + } + } +}; + +export const AmazonS3CompatibleLocation: coreClient.CompositeMapper = { + serializedName: "AmazonS3CompatibleLocation", + type: { + name: "Composite", + className: "AmazonS3CompatibleLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, + modelProperties: { + ...DatasetLocation.type.modelProperties, + bucketName: { + serializedName: "bucketName", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } - } - }, - produceAdditionalTypes: { - serializedName: "produceAdditionalTypes", - type: { - name: "Object" - } - }, - partitionOption: { - serializedName: "partitionOption", - type: { - name: "Object" + value: { type: { name: "any" } } } }, - partitionSettings: { - serializedName: "partitionSettings", + version: { + serializedName: "version", type: { - name: "Composite", - className: "SqlPartitionSettings" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SqlSource: msRest.CompositeMapper = { - serializedName: "SqlSource", +export const OracleCloudStorageLocation: coreClient.CompositeMapper = { + serializedName: "OracleCloudStorageLocation", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SqlSource", + className: "OracleCloudStorageLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - sqlReaderQuery: { - serializedName: "sqlReaderQuery", - type: { - name: "Object" - } - }, - sqlReaderStoredProcedureName: { - serializedName: "sqlReaderStoredProcedureName", - type: { - name: "Object" - } - }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + ...DatasetLocation.type.modelProperties, + bucketName: { + serializedName: "bucketName", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } - } - }, - isolationLevel: { - serializedName: "isolationLevel", - type: { - name: "Object" - } - }, - partitionOption: { - serializedName: "partitionOption", - type: { - name: "Object" + value: { type: { name: "any" } } } }, - partitionSettings: { - serializedName: "partitionSettings", + version: { + serializedName: "version", type: { - name: "Composite", - className: "SqlPartitionSettings" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SapTablePartitionSettings: msRest.CompositeMapper = { - serializedName: "SapTablePartitionSettings", +export const GoogleCloudStorageLocation: coreClient.CompositeMapper = { + serializedName: "GoogleCloudStorageLocation", type: { name: "Composite", - className: "SapTablePartitionSettings", + className: "GoogleCloudStorageLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, modelProperties: { - partitionColumnName: { - serializedName: "partitionColumnName", - type: { - name: "Object" - } - }, - partitionUpperBound: { - serializedName: "partitionUpperBound", + ...DatasetLocation.type.modelProperties, + bucketName: { + serializedName: "bucketName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionLowerBound: { - serializedName: "partitionLowerBound", + version: { + serializedName: "version", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - maxPartitionsNumber: { - serializedName: "maxPartitionsNumber", + } + } + } +}; + +export const FtpServerLocation: coreClient.CompositeMapper = { + serializedName: "FtpServerLocation", + type: { + name: "Composite", + className: "FtpServerLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, + modelProperties: { + ...DatasetLocation.type.modelProperties + } + } +}; + +export const SftpLocation: coreClient.CompositeMapper = { + serializedName: "SftpLocation", + type: { + name: "Composite", + className: "SftpLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, + modelProperties: { + ...DatasetLocation.type.modelProperties + } + } +}; + +export const HttpServerLocation: coreClient.CompositeMapper = { + serializedName: "HttpServerLocation", + type: { + name: "Composite", + className: "HttpServerLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, + modelProperties: { + ...DatasetLocation.type.modelProperties, + relativeUrl: { + serializedName: "relativeUrl", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const SapTableSource: msRest.CompositeMapper = { - serializedName: "SapTableSource", +export const HdfsLocation: coreClient.CompositeMapper = { + serializedName: "HdfsLocation", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SapTableSource", + className: "HdfsLocation", + uberParent: "DatasetLocation", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: DatasetLocation.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - rowCount: { - serializedName: "rowCount", + ...DatasetLocation.type.modelProperties + } + } +}; + +export const TextFormat: coreClient.CompositeMapper = { + serializedName: "TextFormat", + type: { + name: "Composite", + className: "TextFormat", + uberParent: "DatasetStorageFormat", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + DatasetStorageFormat.type.polymorphicDiscriminator, + modelProperties: { + ...DatasetStorageFormat.type.modelProperties, + columnDelimiter: { + serializedName: "columnDelimiter", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - rowSkips: { - serializedName: "rowSkips", + rowDelimiter: { + serializedName: "rowDelimiter", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - rfcTableFields: { - serializedName: "rfcTableFields", + escapeChar: { + serializedName: "escapeChar", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - rfcTableOptions: { - serializedName: "rfcTableOptions", + quoteChar: { + serializedName: "quoteChar", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - batchSize: { - serializedName: "batchSize", + nullValue: { + serializedName: "nullValue", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - customRfcReadTableFunctionModule: { - serializedName: "customRfcReadTableFunctionModule", + encodingName: { + serializedName: "encodingName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sapDataColumnDelimiter: { - serializedName: "sapDataColumnDelimiter", + treatEmptyAsNull: { + serializedName: "treatEmptyAsNull", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionOption: { - serializedName: "partitionOption", + skipLineCount: { + serializedName: "skipLineCount", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionSettings: { - serializedName: "partitionSettings", + firstRowAsHeader: { + serializedName: "firstRowAsHeader", type: { - name: "Composite", - className: "SapTablePartitionSettings" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SapOpenHubSource: msRest.CompositeMapper = { - serializedName: "SapOpenHubSource", +export const JsonFormat: coreClient.CompositeMapper = { + serializedName: "JsonFormat", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SapOpenHubSource", + className: "JsonFormat", + uberParent: "DatasetStorageFormat", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + DatasetStorageFormat.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - excludeLastRequest: { - serializedName: "excludeLastRequest", + ...DatasetStorageFormat.type.modelProperties, + filePattern: { + serializedName: "filePattern", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - baseRequestId: { - serializedName: "baseRequestId", + nestingSeparator: { + serializedName: "nestingSeparator", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - customRfcReadTableFunctionModule: { - serializedName: "customRfcReadTableFunctionModule", + encodingName: { + serializedName: "encodingName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sapDataColumnDelimiter: { - serializedName: "sapDataColumnDelimiter", + jsonNodeReference: { + serializedName: "jsonNodeReference", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + jsonPathDefinition: { + serializedName: "jsonPathDefinition", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SapHanaPartitionSettings: msRest.CompositeMapper = { - serializedName: "SapHanaPartitionSettings", +export const AvroFormat: coreClient.CompositeMapper = { + serializedName: "AvroFormat", type: { name: "Composite", - className: "SapHanaPartitionSettings", + className: "AvroFormat", + uberParent: "DatasetStorageFormat", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + DatasetStorageFormat.type.polymorphicDiscriminator, modelProperties: { - partitionColumnName: { - serializedName: "partitionColumnName", - type: { - name: "Object" - } - } + ...DatasetStorageFormat.type.modelProperties } } }; -export const SapHanaSource: msRest.CompositeMapper = { - serializedName: "SapHanaSource", +export const OrcFormat: coreClient.CompositeMapper = { + serializedName: "OrcFormat", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SapHanaSource", + className: "OrcFormat", + uberParent: "DatasetStorageFormat", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + DatasetStorageFormat.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - packetSize: { - serializedName: "packetSize", + ...DatasetStorageFormat.type.modelProperties + } + } +}; + +export const ParquetFormat: coreClient.CompositeMapper = { + serializedName: "ParquetFormat", + type: { + name: "Composite", + className: "ParquetFormat", + uberParent: "DatasetStorageFormat", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + DatasetStorageFormat.type.polymorphicDiscriminator, + modelProperties: { + ...DatasetStorageFormat.type.modelProperties + } + } +}; + +export const CmdkeySetup: coreClient.CompositeMapper = { + serializedName: "CmdkeySetup", + type: { + name: "Composite", + className: "CmdkeySetup", + uberParent: "CustomSetupBase", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, + modelProperties: { + ...CustomSetupBase.type.modelProperties, + targetName: { + serializedName: "typeProperties.targetName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionOption: { - serializedName: "partitionOption", + userName: { + serializedName: "typeProperties.userName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - partitionSettings: { - serializedName: "partitionSettings", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "SapHanaPartitionSettings" + className: "SecretBase" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SapEccSource: msRest.CompositeMapper = { - serializedName: "SapEccSource", +export const EnvironmentVariableSetup: coreClient.CompositeMapper = { + serializedName: "EnvironmentVariableSetup", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SapEccSource", + className: "EnvironmentVariableSetup", + uberParent: "CustomSetupBase", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...CustomSetupBase.type.modelProperties, + variableName: { + serializedName: "typeProperties.variableName", + required: true, type: { - name: "Object" + name: "String" } }, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + variableValue: { + serializedName: "typeProperties.variableValue", + required: true, type: { - name: "Object" + name: "String" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SapCloudForCustomerSource: msRest.CompositeMapper = { - serializedName: "SapCloudForCustomerSource", +export const ComponentSetup: coreClient.CompositeMapper = { + serializedName: "ComponentSetup", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SapCloudForCustomerSource", + className: "ComponentSetup", + uberParent: "CustomSetupBase", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...CustomSetupBase.type.modelProperties, + componentName: { + serializedName: "typeProperties.componentName", + required: true, type: { - name: "Object" + name: "String" } }, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + licenseKey: { + serializedName: "typeProperties.licenseKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SalesforceSource: msRest.CompositeMapper = { - serializedName: "SalesforceSource", +export const AzPowerShellSetup: coreClient.CompositeMapper = { + serializedName: "AzPowerShellSetup", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SalesforceSource", + className: "AzPowerShellSetup", + uberParent: "CustomSetupBase", + polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - }, - readBehavior: { - serializedName: "readBehavior", + ...CustomSetupBase.type.modelProperties, + version: { + serializedName: "typeProperties.version", + required: true, type: { name: "String" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SapBwSource: msRest.CompositeMapper = { - serializedName: "SapBwSource", +export const LinkedIntegrationRuntimeKeyAuthorization: coreClient.CompositeMapper = { + serializedName: "Key", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SapBwSource", + className: "LinkedIntegrationRuntimeKeyAuthorization", + uberParent: "LinkedIntegrationRuntimeType", + polymorphicDiscriminator: + LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...LinkedIntegrationRuntimeType.type.modelProperties, + key: { + serializedName: "key", type: { - name: "Object" + name: "Composite", + className: "SecureString" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const SybaseSource: msRest.CompositeMapper = { - serializedName: "SybaseSource", +export const LinkedIntegrationRuntimeRbacAuthorization: coreClient.CompositeMapper = { + serializedName: "RBAC", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "SybaseSource", + className: "LinkedIntegrationRuntimeRbacAuthorization", + uberParent: "LinkedIntegrationRuntimeType", + polymorphicDiscriminator: + LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...LinkedIntegrationRuntimeType.type.modelProperties, + resourceId: { + serializedName: "resourceId", + required: true, type: { - name: "Object" + name: "String" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const PostgreSqlSource: msRest.CompositeMapper = { - serializedName: "PostgreSqlSource", +export const WebAnonymousAuthentication: coreClient.CompositeMapper = { + serializedName: "Anonymous", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "PostgreSqlSource", + className: "WebAnonymousAuthentication", + uberParent: "WebLinkedServiceTypeProperties", + polymorphicDiscriminator: + WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", - type: { - name: "Object" - } - } - }, - additionalProperties: CopySource.type.additionalProperties + ...WebLinkedServiceTypeProperties.type.modelProperties + } } }; -export const MySqlSource: msRest.CompositeMapper = { - serializedName: "MySqlSource", +export const WebBasicAuthentication: coreClient.CompositeMapper = { + serializedName: "Basic", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "MySqlSource", + className: "WebBasicAuthentication", + uberParent: "WebLinkedServiceTypeProperties", + polymorphicDiscriminator: + WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...WebLinkedServiceTypeProperties.type.modelProperties, + username: { + serializedName: "username", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + password: { + serializedName: "password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const OdbcSource: msRest.CompositeMapper = { - serializedName: "OdbcSource", +export const WebClientCertificateAuthentication: coreClient.CompositeMapper = { + serializedName: "ClientCertificate", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "OdbcSource", + className: "WebClientCertificateAuthentication", + uberParent: "WebLinkedServiceTypeProperties", + polymorphicDiscriminator: + WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...WebLinkedServiceTypeProperties.type.modelProperties, + pfx: { + serializedName: "pfx", type: { - name: "Object" + name: "Composite", + className: "SecretBase" + } + }, + password: { + serializedName: "password", + type: { + name: "Composite", + className: "SecretBase" } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const Db2Source: msRest.CompositeMapper = { - serializedName: "Db2Source", +export const AzureBlobStorageReadSettings: coreClient.CompositeMapper = { + serializedName: "AzureBlobStorageReadSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "Db2Source", + className: "AzureBlobStorageReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const InformixSource: msRest.CompositeMapper = { - serializedName: "InformixSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "InformixSource", - modelProperties: { - ...TabularSource.type.modelProperties, - query: { - serializedName: "query", + }, + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const AzureTableSource: msRest.CompositeMapper = { - serializedName: "AzureTableSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AzureTableSource", - modelProperties: { - ...TabularSource.type.modelProperties, - azureTableSourceQuery: { - serializedName: "azureTableSourceQuery", + }, + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureTableSourceIgnoreTableNotFound: { - serializedName: "azureTableSourceIgnoreTableNotFound", + prefix: { + serializedName: "prefix", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const BinarySource: msRest.CompositeMapper = { - serializedName: "BinarySource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "BinarySource", - modelProperties: { - ...CopySource.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + }, + fileListPath: { + serializedName: "fileListPath", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - formatSettings: { - serializedName: "formatSettings", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Composite", - className: "BinaryReadSettings", - additionalProperties: FormatReadSettings.type.additionalProperties + name: "Boolean" } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const OrcSource: msRest.CompositeMapper = { - serializedName: "OrcSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "OrcSource", - modelProperties: { - ...CopySource.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + }, + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const XmlSource: msRest.CompositeMapper = { - serializedName: "XmlSource", +export const AzureBlobFSReadSettings: coreClient.CompositeMapper = { + serializedName: "AzureBlobFSReadSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "XmlSource", + className: "AzureBlobFSReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - formatSettings: { - serializedName: "formatSettings", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Composite", - className: "XmlReadSettings", - additionalProperties: FormatReadSettings.type.additionalProperties + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const JsonSource: msRest.CompositeMapper = { - serializedName: "JsonSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "JsonSource", - modelProperties: { - ...CopySource.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + }, + fileListPath: { + serializedName: "fileListPath", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - formatSettings: { - serializedName: "formatSettings", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Composite", - className: "JsonReadSettings", - additionalProperties: FormatReadSettings.type.additionalProperties + name: "Boolean" } }, - additionalColumns: { - serializedName: "additionalColumns", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const DelimitedTextSource: msRest.CompositeMapper = { - serializedName: "DelimitedTextSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "DelimitedTextSource", - modelProperties: { - ...CopySource.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + }, + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - formatSettings: { - serializedName: "formatSettings", + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { - name: "Composite", - className: "DelimitedTextReadSettings", - additionalProperties: FormatReadSettings.type.additionalProperties + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySource.type.additionalProperties + } } }; -export const ParquetSource: msRest.CompositeMapper = { - serializedName: "ParquetSource", +export const AzureDataLakeStoreReadSettings: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeStoreReadSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ParquetSource", + className: "AzureDataLakeStoreReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySource.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const ExcelSource: msRest.CompositeMapper = { - serializedName: "ExcelSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "ExcelSource", - modelProperties: { - ...CopySource.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + }, + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + fileListPath: { + serializedName: "fileListPath", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const AvroSource: msRest.CompositeMapper = { - serializedName: "AvroSource", - type: { - name: "Composite", - polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, - uberParent: "CopySource", - className: "AvroSource", - modelProperties: { - ...CopySource.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + }, + listAfter: { + serializedName: "listAfter", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalColumns: { - serializedName: "additionalColumns", + listBefore: { + serializedName: "listBefore", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AdditionalColumns" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySource.type.additionalProperties - } -}; - -export const LookupActivity: msRest.CompositeMapper = { - serializedName: "Lookup", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "LookupActivity", - modelProperties: { - ...ExecutionActivity.type.modelProperties, - source: { - required: true, - serializedName: "typeProperties.source", + }, + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Composite", - className: "CopySource", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Boolean" } }, - dataset: { - required: true, - serializedName: "typeProperties.dataset", - defaultValue: {}, + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Composite", - className: "DatasetReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - firstRowOnly: { - serializedName: "typeProperties.firstRowOnly", + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const AzureDataExplorerCommandActivity: msRest.CompositeMapper = { - serializedName: "AzureDataExplorerCommand", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "AzureDataExplorerCommandActivity", - modelProperties: { - ...ExecutionActivity.type.modelProperties, - command: { - required: true, - serializedName: "typeProperties.command", + }, + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - commandTimeout: { - serializedName: "typeProperties.commandTimeout", + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const LogStorageSettings: msRest.CompositeMapper = { - serializedName: "LogStorageSettings", +export const AmazonS3ReadSettings: coreClient.CompositeMapper = { + serializedName: "AmazonS3ReadSettings", type: { name: "Composite", - className: "LogStorageSettings", + className: "AmazonS3ReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - linkedServiceName: { - required: true, - serializedName: "linkedServiceName", - defaultValue: {}, + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - path: { - serializedName: "path", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - logLevel: { - serializedName: "logLevel", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enableReliableLogging: { - serializedName: "enableReliableLogging", + prefix: { + serializedName: "prefix", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const DeleteActivity: msRest.CompositeMapper = { - serializedName: "Delete", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "DeleteActivity", - modelProperties: { - ...ExecutionActivity.type.modelProperties, - recursive: { - serializedName: "typeProperties.recursive", + }, + fileListPath: { + serializedName: "fileListPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - maxConcurrentConnections: { - serializedName: "typeProperties.maxConcurrentConnections", - constraints: { - InclusiveMinimum: 1 - }, + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Number" + name: "Boolean" } }, - enableLogging: { - serializedName: "typeProperties.enableLogging", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - logStorageSettings: { - serializedName: "typeProperties.logStorageSettings", + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "Composite", - className: "LogStorageSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - dataset: { - required: true, - serializedName: "typeProperties.dataset", - defaultValue: {}, + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { - name: "Composite", - className: "DatasetReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - storeSettings: { - serializedName: "typeProperties.storeSettings", + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { - name: "Composite", - className: "StoreReadSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const SqlServerStoredProcedureActivity: msRest.CompositeMapper = { - serializedName: "SqlServerStoredProcedure", +export const FileServerReadSettings: coreClient.CompositeMapper = { + serializedName: "FileServerReadSettings", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "SqlServerStoredProcedureActivity", + className: "FileServerReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - storedProcedureName: { - required: true, - serializedName: "typeProperties.storedProcedureName", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - storedProcedureParameters: { - serializedName: "typeProperties.storedProcedureParameters", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } - } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const CustomActivityReferenceObject: msRest.CompositeMapper = { - serializedName: "CustomActivityReferenceObject", - type: { - name: "Composite", - className: "CustomActivityReferenceObject", - modelProperties: { - linkedServices: { - serializedName: "linkedServices", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceReference" - } - } + value: { type: { name: "any" } } } }, - datasets: { - serializedName: "datasets", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatasetReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - } - } -}; - -export const CustomActivity: msRest.CompositeMapper = { - serializedName: "Custom", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "CustomActivity", - modelProperties: { - ...ExecutionActivity.type.modelProperties, - command: { - required: true, - serializedName: "typeProperties.command", + }, + fileListPath: { + serializedName: "fileListPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - resourceLinkedService: { - serializedName: "typeProperties.resourceLinkedService", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Boolean" } }, - folderPath: { - serializedName: "typeProperties.folderPath", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - referenceObjects: { - serializedName: "typeProperties.referenceObjects", + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "Composite", - className: "CustomActivityReferenceObject" + name: "Dictionary", + value: { type: { name: "any" } } } }, - extendedProperties: { - serializedName: "typeProperties.extendedProperties", + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } } }, - retentionTimeInDays: { - serializedName: "typeProperties.retentionTimeInDays", + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - autoUserSpecification: { - serializedName: "typeProperties.autoUserSpecification", + fileFilter: { + serializedName: "fileFilter", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const SSISAccessCredential: msRest.CompositeMapper = { - serializedName: "SSISAccessCredential", +export const AzureFileStorageReadSettings: coreClient.CompositeMapper = { + serializedName: "AzureFileStorageReadSettings", type: { name: "Composite", - className: "SSISAccessCredential", + className: "AzureFileStorageReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - domain: { - required: true, - serializedName: "domain", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userName: { - required: true, - serializedName: "userName", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - required: true, - serializedName: "password", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } - } - } - } -}; - -export const SSISLogLocation: msRest.CompositeMapper = { - serializedName: "SSISLogLocation", - type: { - name: "Composite", - className: "SSISLogLocation", - modelProperties: { - logPath: { - required: true, - serializedName: "logPath", + }, + prefix: { + serializedName: "prefix", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - required: true, - isConstant: true, - serializedName: "type", - defaultValue: "File", + fileListPath: { + serializedName: "fileListPath", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accessCredential: { - serializedName: "typeProperties.accessCredential", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Composite", - className: "SSISAccessCredential" + name: "Boolean" } }, - logRefreshInterval: { - serializedName: "typeProperties.logRefreshInterval", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - } - } -}; - -export const SSISPropertyOverride: msRest.CompositeMapper = { - serializedName: "SSISPropertyOverride", - type: { - name: "Composite", - className: "SSISPropertyOverride", - modelProperties: { - value: { - required: true, - serializedName: "value", + }, + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - isSensitive: { - serializedName: "isSensitive", + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } - } - } - } -}; - -export const SSISExecutionParameter: msRest.CompositeMapper = { - serializedName: "SSISExecutionParameter", - type: { - name: "Composite", - className: "SSISExecutionParameter", - modelProperties: { - value: { - required: true, - serializedName: "value", + }, + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const SSISExecutionCredential: msRest.CompositeMapper = { - serializedName: "SSISExecutionCredential", +export const AmazonS3CompatibleReadSettings: coreClient.CompositeMapper = { + serializedName: "AmazonS3CompatibleReadSettings", type: { name: "Composite", - className: "SSISExecutionCredential", + className: "AmazonS3CompatibleReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - domain: { - required: true, - serializedName: "domain", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userName: { - required: true, - serializedName: "userName", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - required: true, - serializedName: "password", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Composite", - className: "SecureString" + name: "Dictionary", + value: { type: { name: "any" } } } - } - } - } -}; - -export const SSISChildPackage: msRest.CompositeMapper = { - serializedName: "SSISChildPackage", - type: { - name: "Composite", - className: "SSISChildPackage", - modelProperties: { - packagePath: { - required: true, - serializedName: "packagePath", + }, + prefix: { + serializedName: "prefix", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - packageName: { - serializedName: "packageName", + fileListPath: { + serializedName: "fileListPath", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - packageContent: { - required: true, - serializedName: "packageContent", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Object" + name: "Boolean" } }, - packageLastModifiedDate: { - serializedName: "packageLastModifiedDate", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const SSISPackageLocation: msRest.CompositeMapper = { - serializedName: "SSISPackageLocation", +export const OracleCloudStorageReadSettings: coreClient.CompositeMapper = { + serializedName: "OracleCloudStorageReadSettings", type: { name: "Composite", - className: "SSISPackageLocation", + className: "OracleCloudStorageReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - packagePath: { - serializedName: "packagePath", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - serializedName: "type", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - packagePassword: { - serializedName: "typeProperties.packagePassword", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Composite", - className: "SecretBase" + name: "Dictionary", + value: { type: { name: "any" } } } }, - accessCredential: { - serializedName: "typeProperties.accessCredential", + prefix: { + serializedName: "prefix", type: { - name: "Composite", - className: "SSISAccessCredential" + name: "Dictionary", + value: { type: { name: "any" } } } }, - configurationPath: { - serializedName: "typeProperties.configurationPath", + fileListPath: { + serializedName: "fileListPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - configurationAccessCredential: { - serializedName: "typeProperties.configurationAccessCredential", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Composite", - className: "SSISAccessCredential" + name: "Boolean" } }, - packageName: { - serializedName: "typeProperties.packageName", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - packageContent: { - serializedName: "typeProperties.packageContent", + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - packageLastModifiedDate: { - serializedName: "typeProperties.packageLastModifiedDate", + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - childPackages: { - serializedName: "typeProperties.childPackages", + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SSISChildPackage" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const ExecuteSSISPackageActivity: msRest.CompositeMapper = { - serializedName: "ExecuteSSISPackage", +export const GoogleCloudStorageReadSettings: coreClient.CompositeMapper = { + serializedName: "GoogleCloudStorageReadSettings", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "ExecuteSSISPackageActivity", + className: "GoogleCloudStorageReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - packageLocation: { - required: true, - serializedName: "typeProperties.packageLocation", - type: { - name: "Composite", - className: "SSISPackageLocation" - } - }, - runtime: { - serializedName: "typeProperties.runtime", - type: { - name: "Object" - } - }, - loggingLevel: { - serializedName: "typeProperties.loggingLevel", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - environmentPath: { - serializedName: "typeProperties.environmentPath", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - executionCredential: { - serializedName: "typeProperties.executionCredential", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Composite", - className: "SSISExecutionCredential" + name: "Dictionary", + value: { type: { name: "any" } } } }, - connectVia: { - required: true, - serializedName: "typeProperties.connectVia", - defaultValue: {}, + prefix: { + serializedName: "prefix", type: { - name: "Composite", - className: "IntegrationRuntimeReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - projectParameters: { - serializedName: "typeProperties.projectParameters", + fileListPath: { + serializedName: "fileListPath", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "SSISExecutionParameter" - } - } + value: { type: { name: "any" } } } }, - packageParameters: { - serializedName: "typeProperties.packageParameters", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "SSISExecutionParameter" - } - } + name: "Boolean" } }, - projectConnectionManagers: { - serializedName: "typeProperties.projectConnectionManagers", + partitionRootPath: { + serializedName: "partitionRootPath", type: { name: "Dictionary", - value: { - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "SSISExecutionParameter" - } - } - } - } + value: { type: { name: "any" } } } }, - packageConnectionManagers: { - serializedName: "typeProperties.packageConnectionManagers", + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { name: "Dictionary", - value: { - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "SSISExecutionParameter" - } - } - } - } + value: { type: { name: "any" } } } }, - propertyOverrides: { - serializedName: "typeProperties.propertyOverrides", + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "SSISPropertyOverride" - } - } + value: { type: { name: "any" } } } }, - logLocation: { - serializedName: "typeProperties.logLocation", + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { - name: "Composite", - className: "SSISLogLocation" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const HDInsightSparkActivity: msRest.CompositeMapper = { - serializedName: "HDInsightSpark", +export const FtpReadSettings: coreClient.CompositeMapper = { + serializedName: "FtpReadSettings", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "HDInsightSparkActivity", + className: "FtpReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - rootPath: { - required: true, - serializedName: "typeProperties.rootPath", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - entryFilePath: { - required: true, - serializedName: "typeProperties.entryFilePath", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - argumentsProperty: { - serializedName: "typeProperties.arguments", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - getDebugInfo: { - serializedName: "typeProperties.getDebugInfo", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "String" + name: "Boolean" } }, - sparkJobLinkedService: { - serializedName: "typeProperties.sparkJobLinkedService", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - className: { - serializedName: "typeProperties.className", + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - proxyUser: { - serializedName: "typeProperties.proxyUser", + fileListPath: { + serializedName: "fileListPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sparkConfig: { - serializedName: "typeProperties.sparkConfig", + useBinaryTransfer: { + serializedName: "useBinaryTransfer", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Boolean" } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const HDInsightStreamingActivity: msRest.CompositeMapper = { - serializedName: "HDInsightStreaming", +export const SftpReadSettings: coreClient.CompositeMapper = { + serializedName: "SftpReadSettings", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "HDInsightStreamingActivity", + className: "SftpReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - storageLinkedServices: { - serializedName: "typeProperties.storageLinkedServices", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - argumentsProperty: { - serializedName: "typeProperties.arguments", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - getDebugInfo: { - serializedName: "typeProperties.getDebugInfo", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - mapper: { - required: true, - serializedName: "typeProperties.mapper", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Object" + name: "Boolean" } }, - reducer: { - required: true, - serializedName: "typeProperties.reducer", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - input: { - required: true, - serializedName: "typeProperties.input", + fileListPath: { + serializedName: "fileListPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - output: { - required: true, - serializedName: "typeProperties.output", + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - filePaths: { - required: true, - serializedName: "typeProperties.filePaths", + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileLinkedService: { - serializedName: "typeProperties.fileLinkedService", + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const HttpReadSettings: coreClient.CompositeMapper = { + serializedName: "HttpReadSettings", + type: { + name: "Composite", + className: "HttpReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, + modelProperties: { + ...StoreReadSettings.type.modelProperties, + requestMethod: { + serializedName: "requestMethod", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, - combiner: { - serializedName: "typeProperties.combiner", + requestBody: { + serializedName: "requestBody", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - commandEnvironment: { - serializedName: "typeProperties.commandEnvironment", + additionalHeaders: { + serializedName: "additionalHeaders", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - defines: { - serializedName: "typeProperties.defines", + requestTimeout: { + serializedName: "requestTimeout", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } + } + }, + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", + type: { + name: "Boolean" + } + }, + partitionRootPath: { + serializedName: "partitionRootPath", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const HDInsightMapReduceActivity: msRest.CompositeMapper = { - serializedName: "HDInsightMapReduce", +export const HdfsReadSettings: coreClient.CompositeMapper = { + serializedName: "HdfsReadSettings", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "HDInsightMapReduceActivity", + className: "HdfsReadSettings", + uberParent: "StoreReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - storageLinkedServices: { - serializedName: "typeProperties.storageLinkedServices", + ...StoreReadSettings.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - argumentsProperty: { - serializedName: "typeProperties.arguments", + wildcardFolderPath: { + serializedName: "wildcardFolderPath", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - getDebugInfo: { - serializedName: "typeProperties.getDebugInfo", + wildcardFileName: { + serializedName: "wildcardFileName", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - className: { - required: true, - serializedName: "typeProperties.className", + fileListPath: { + serializedName: "fileListPath", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - jarFilePath: { - required: true, - serializedName: "typeProperties.jarFilePath", + enablePartitionDiscovery: { + serializedName: "enablePartitionDiscovery", type: { - name: "Object" + name: "Boolean" } }, - jarLinkedService: { - serializedName: "typeProperties.jarLinkedService", + partitionRootPath: { + serializedName: "partitionRootPath", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Dictionary", + value: { type: { name: "any" } } } }, - jarLibs: { - serializedName: "typeProperties.jarLibs", + modifiedDatetimeStart: { + serializedName: "modifiedDatetimeStart", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - defines: { - serializedName: "typeProperties.defines", + modifiedDatetimeEnd: { + serializedName: "modifiedDatetimeEnd", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } + } + }, + distcpSettings: { + serializedName: "distcpSettings", + type: { + name: "Composite", + className: "DistcpSettings" + } + }, + deleteFilesAfterCompletion: { + serializedName: "deleteFilesAfterCompletion", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const HDInsightPigActivity: msRest.CompositeMapper = { - serializedName: "HDInsightPig", +export const SftpWriteSettings: coreClient.CompositeMapper = { + serializedName: "SftpWriteSettings", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "HDInsightPigActivity", + className: "SftpWriteSettings", + uberParent: "StoreWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - storageLinkedServices: { - serializedName: "typeProperties.storageLinkedServices", + ...StoreWriteSettings.type.modelProperties, + operationTimeout: { + serializedName: "operationTimeout", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - argumentsProperty: { - serializedName: "typeProperties.arguments", + useTempFileRename: { + serializedName: "useTempFileRename", type: { - name: "Object" - } - }, - getDebugInfo: { - serializedName: "typeProperties.getDebugInfo", - type: { - name: "String" - } - }, - scriptPath: { - serializedName: "typeProperties.scriptPath", - type: { - name: "Object" - } - }, - scriptLinkedService: { - serializedName: "typeProperties.scriptLinkedService", - type: { - name: "Composite", - className: "LinkedServiceReference" - } - }, - defines: { - serializedName: "typeProperties.defines", - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const HDInsightHiveActivity: msRest.CompositeMapper = { - serializedName: "HDInsightHive", +export const AzureBlobStorageWriteSettings: coreClient.CompositeMapper = { + serializedName: "AzureBlobStorageWriteSettings", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "HDInsightHiveActivity", + className: "AzureBlobStorageWriteSettings", + uberParent: "StoreWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - storageLinkedServices: { - serializedName: "typeProperties.storageLinkedServices", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceReference" - } - } - } - }, - argumentsProperty: { - serializedName: "typeProperties.arguments", - type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } - } - }, - getDebugInfo: { - serializedName: "typeProperties.getDebugInfo", - type: { - name: "String" - } - }, - scriptPath: { - serializedName: "typeProperties.scriptPath", - type: { - name: "Object" - } - }, - scriptLinkedService: { - serializedName: "typeProperties.scriptLinkedService", - type: { - name: "Composite", - className: "LinkedServiceReference" - } - }, - defines: { - serializedName: "typeProperties.defines", + ...StoreWriteSettings.type.modelProperties, + blockSizeInMB: { + serializedName: "blockSizeInMB", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } - }, - variables: { - serializedName: "typeProperties.variables", - type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } - } - }, - queryTimeout: { - serializedName: "typeProperties.queryTimeout", - type: { - name: "Number" + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const SkipErrorFile: msRest.CompositeMapper = { - serializedName: "SkipErrorFile", +export const AzureBlobFSWriteSettings: coreClient.CompositeMapper = { + serializedName: "AzureBlobFSWriteSettings", type: { name: "Composite", - className: "SkipErrorFile", + className: "AzureBlobFSWriteSettings", + uberParent: "StoreWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, modelProperties: { - fileMissing: { - serializedName: "fileMissing", - type: { - name: "Object" - } - }, - dataInconsistency: { - serializedName: "dataInconsistency", + ...StoreWriteSettings.type.modelProperties, + blockSizeInMB: { + serializedName: "blockSizeInMB", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const LogLocationSettings: msRest.CompositeMapper = { - serializedName: "LogLocationSettings", +export const AzureDataLakeStoreWriteSettings: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeStoreWriteSettings", type: { name: "Composite", - className: "LogLocationSettings", + className: "AzureDataLakeStoreWriteSettings", + uberParent: "StoreWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, modelProperties: { - linkedServiceName: { - required: true, - serializedName: "linkedServiceName", - defaultValue: {}, - type: { - name: "Composite", - className: "LinkedServiceReference" - } - }, - path: { - serializedName: "path", + ...StoreWriteSettings.type.modelProperties, + expiryDateTime: { + serializedName: "expiryDateTime", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const CopyActivityLogSettings: msRest.CompositeMapper = { - serializedName: "CopyActivityLogSettings", +export const FileServerWriteSettings: coreClient.CompositeMapper = { + serializedName: "FileServerWriteSettings", type: { name: "Composite", - className: "CopyActivityLogSettings", + className: "FileServerWriteSettings", + uberParent: "StoreWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, modelProperties: { - logLevel: { - serializedName: "logLevel", - type: { - name: "Object" - } - }, - enableReliableLogging: { - serializedName: "enableReliableLogging", - type: { - name: "Object" - } - } + ...StoreWriteSettings.type.modelProperties } } }; -export const LogSettings: msRest.CompositeMapper = { - serializedName: "LogSettings", +export const AzureFileStorageWriteSettings: coreClient.CompositeMapper = { + serializedName: "AzureFileStorageWriteSettings", type: { name: "Composite", - className: "LogSettings", + className: "AzureFileStorageWriteSettings", + uberParent: "StoreWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, modelProperties: { - enableCopyActivityLog: { - serializedName: "enableCopyActivityLog", - type: { - name: "Object" - } - }, - copyActivityLogSettings: { - serializedName: "copyActivityLogSettings", - type: { - name: "Composite", - className: "CopyActivityLogSettings" - } - }, - logLocationSettings: { - required: true, - serializedName: "logLocationSettings", - defaultValue: {}, - type: { - name: "Composite", - className: "LogLocationSettings" - } - } + ...StoreWriteSettings.type.modelProperties } } }; -export const RedirectIncompatibleRowSettings: msRest.CompositeMapper = { - serializedName: "RedirectIncompatibleRowSettings", +export const DelimitedTextReadSettings: coreClient.CompositeMapper = { + serializedName: "DelimitedTextReadSettings", type: { name: "Composite", - className: "RedirectIncompatibleRowSettings", + className: "DelimitedTextReadSettings", + uberParent: "FormatReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatReadSettings.type.polymorphicDiscriminator, modelProperties: { - linkedServiceName: { - required: true, - serializedName: "linkedServiceName", + ...FormatReadSettings.type.modelProperties, + skipLineCount: { + serializedName: "skipLineCount", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - path: { - serializedName: "path", + compressionProperties: { + serializedName: "compressionProperties", type: { - name: "Object" + name: "Composite", + className: "CompressionReadSettings" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const StagingSettings: msRest.CompositeMapper = { - serializedName: "StagingSettings", +export const JsonReadSettings: coreClient.CompositeMapper = { + serializedName: "JsonReadSettings", type: { name: "Composite", - className: "StagingSettings", + className: "JsonReadSettings", + uberParent: "FormatReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatReadSettings.type.polymorphicDiscriminator, modelProperties: { - linkedServiceName: { - required: true, - serializedName: "linkedServiceName", - defaultValue: {}, + ...FormatReadSettings.type.modelProperties, + compressionProperties: { + serializedName: "compressionProperties", type: { name: "Composite", - className: "LinkedServiceReference" - } - }, - path: { - serializedName: "path", - type: { - name: "Object" - } - }, - enableCompression: { - serializedName: "enableCompression", - type: { - name: "Object" + className: "CompressionReadSettings" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const CopySink: msRest.CompositeMapper = { - serializedName: "CopySink", +export const XmlReadSettings: coreClient.CompositeMapper = { + serializedName: "XmlReadSettings", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CopySink", - className: "CopySink", + className: "XmlReadSettings", + uberParent: "FormatReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatReadSettings.type.polymorphicDiscriminator, modelProperties: { - writeBatchSize: { - serializedName: "writeBatchSize", + ...FormatReadSettings.type.modelProperties, + compressionProperties: { + serializedName: "compressionProperties", type: { - name: "Object" + name: "Composite", + className: "CompressionReadSettings" } }, - writeBatchTimeout: { - serializedName: "writeBatchTimeout", + validationMode: { + serializedName: "validationMode", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sinkRetryCount: { - serializedName: "sinkRetryCount", + detectDataType: { + serializedName: "detectDataType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sinkRetryWait: { - serializedName: "sinkRetryWait", + namespaces: { + serializedName: "namespaces", type: { - name: "Object" - } - }, - maxConcurrentConnections: { - serializedName: "maxConcurrentConnections", - type: { - name: "Object" - } - }, - disableMetricsCollection: { - serializedName: "disableMetricsCollection", - type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - required: true, - serializedName: "type", + namespacePrefixes: { + serializedName: "namespacePrefixes", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const CosmosDbMongoDbApiSink: msRest.CompositeMapper = { - serializedName: "CosmosDbMongoDbApiSink", +export const BinaryReadSettings: coreClient.CompositeMapper = { + serializedName: "BinaryReadSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "CosmosDbMongoDbApiSink", + className: "BinaryReadSettings", + uberParent: "FormatReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - serializedName: "writeBehavior", + ...FormatReadSettings.type.modelProperties, + compressionProperties: { + serializedName: "compressionProperties", type: { - name: "Object" + name: "Composite", + className: "CompressionReadSettings" } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const MongoDbV2Sink: msRest.CompositeMapper = { - serializedName: "MongoDbV2Sink", +export const ZipDeflateReadSettings: coreClient.CompositeMapper = { + serializedName: "ZipDeflateReadSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "MongoDbV2Sink", + className: "ZipDeflateReadSettings", + uberParent: "CompressionReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + CompressionReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - serializedName: "writeBehavior", + ...CompressionReadSettings.type.modelProperties, + preserveZipFileNameAsFolder: { + serializedName: "preserveZipFileNameAsFolder", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const MongoDbAtlasSink: msRest.CompositeMapper = { - serializedName: "MongoDbAtlasSink", +export const TarReadSettings: coreClient.CompositeMapper = { + serializedName: "TarReadSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "MongoDbAtlasSink", + className: "TarReadSettings", + uberParent: "CompressionReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + CompressionReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - serializedName: "writeBehavior", + ...CompressionReadSettings.type.modelProperties, + preserveCompressionFileNameAsFolder: { + serializedName: "preserveCompressionFileNameAsFolder", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const SalesforceServiceCloudSink: msRest.CompositeMapper = { - serializedName: "SalesforceServiceCloudSink", +export const TarGZipReadSettings: coreClient.CompositeMapper = { + serializedName: "TarGZipReadSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "SalesforceServiceCloudSink", + className: "TarGZipReadSettings", + uberParent: "CompressionReadSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: + CompressionReadSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - serializedName: "writeBehavior", - type: { - name: "String" - } - }, - externalIdFieldName: { - serializedName: "externalIdFieldName", - type: { - name: "Object" - } - }, - ignoreNullValues: { - serializedName: "ignoreNullValues", + ...CompressionReadSettings.type.modelProperties, + preserveCompressionFileNameAsFolder: { + serializedName: "preserveCompressionFileNameAsFolder", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const SalesforceSink: msRest.CompositeMapper = { - serializedName: "SalesforceSink", +export const AvroWriteSettings: coreClient.CompositeMapper = { + serializedName: "AvroWriteSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "SalesforceSink", + className: "AvroWriteSettings", + uberParent: "FormatWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - serializedName: "writeBehavior", + ...FormatWriteSettings.type.modelProperties, + recordName: { + serializedName: "recordName", type: { name: "String" } }, - externalIdFieldName: { - serializedName: "externalIdFieldName", + recordNamespace: { + serializedName: "recordNamespace", type: { - name: "Object" + name: "String" } }, - ignoreNullValues: { - serializedName: "ignoreNullValues", + maxRowsPerFile: { + serializedName: "maxRowsPerFile", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + fileNamePrefix: { + serializedName: "fileNamePrefix", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzureDataExplorerSink: msRest.CompositeMapper = { - serializedName: "AzureDataExplorerSink", +export const OrcWriteSettings: coreClient.CompositeMapper = { + serializedName: "OrcWriteSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "AzureDataExplorerSink", + className: "OrcWriteSettings", + uberParent: "FormatWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - ingestionMappingName: { - serializedName: "ingestionMappingName", - type: { - name: "Object" - } - }, - ingestionMappingAsJson: { - serializedName: "ingestionMappingAsJson", + ...FormatWriteSettings.type.modelProperties, + maxRowsPerFile: { + serializedName: "maxRowsPerFile", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - flushImmediately: { - serializedName: "flushImmediately", + fileNamePrefix: { + serializedName: "fileNamePrefix", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const CommonDataServiceForAppsSink: msRest.CompositeMapper = { - serializedName: "CommonDataServiceForAppsSink", +export const ParquetWriteSettings: coreClient.CompositeMapper = { + serializedName: "ParquetWriteSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "CommonDataServiceForAppsSink", + className: "ParquetWriteSettings", + uberParent: "FormatWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - required: true, - isConstant: true, - serializedName: "writeBehavior", - defaultValue: "Upsert", - type: { - name: "String" - } - }, - ignoreNullValues: { - serializedName: "ignoreNullValues", + ...FormatWriteSettings.type.modelProperties, + maxRowsPerFile: { + serializedName: "maxRowsPerFile", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - alternateKeyName: { - serializedName: "alternateKeyName", + fileNamePrefix: { + serializedName: "fileNamePrefix", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const DynamicsCrmSink: msRest.CompositeMapper = { - serializedName: "DynamicsCrmSink", +export const DelimitedTextWriteSettings: coreClient.CompositeMapper = { + serializedName: "DelimitedTextWriteSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "DynamicsCrmSink", + className: "DelimitedTextWriteSettings", + uberParent: "FormatWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { + ...FormatWriteSettings.type.modelProperties, + quoteAllText: { + serializedName: "quoteAllText", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + fileExtension: { + serializedName: "fileExtension", required: true, - isConstant: true, - serializedName: "writeBehavior", - defaultValue: "Upsert", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - ignoreNullValues: { - serializedName: "ignoreNullValues", + maxRowsPerFile: { + serializedName: "maxRowsPerFile", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - alternateKeyName: { - serializedName: "alternateKeyName", + fileNamePrefix: { + serializedName: "fileNamePrefix", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const DynamicsSink: msRest.CompositeMapper = { - serializedName: "DynamicsSink", +export const JsonWriteSettings: coreClient.CompositeMapper = { + serializedName: "JsonWriteSettings", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "DynamicsSink", + className: "JsonWriteSettings", + uberParent: "FormatWriteSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - required: true, - isConstant: true, - serializedName: "writeBehavior", - defaultValue: "Upsert", - type: { - name: "String" - } - }, - ignoreNullValues: { - serializedName: "ignoreNullValues", - type: { - name: "Object" - } - }, - alternateKeyName: { - serializedName: "alternateKeyName", + ...FormatWriteSettings.type.modelProperties, + filePattern: { + serializedName: "filePattern", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const MicrosoftAccessSink: msRest.CompositeMapper = { - serializedName: "MicrosoftAccessSink", +export const AvroSource: coreClient.CompositeMapper = { + serializedName: "AvroSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "MicrosoftAccessSink", + className: "AvroSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - preCopyScript: { - serializedName: "preCopyScript", + ...CopySource.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", + type: { + name: "Composite", + className: "StoreReadSettings" + } + }, + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const InformixSink: msRest.CompositeMapper = { - serializedName: "InformixSink", +export const ExcelSource: coreClient.CompositeMapper = { + serializedName: "ExcelSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "InformixSink", + className: "ExcelSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - preCopyScript: { - serializedName: "preCopyScript", + ...CopySource.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", type: { - name: "Object" + name: "Composite", + className: "StoreReadSettings" + } + }, + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const OdbcSink: msRest.CompositeMapper = { - serializedName: "OdbcSink", +export const ParquetSource: coreClient.CompositeMapper = { + serializedName: "ParquetSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "OdbcSink", + className: "ParquetSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - preCopyScript: { - serializedName: "preCopyScript", + ...CopySource.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", + type: { + name: "Composite", + className: "StoreReadSettings" + } + }, + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzureSearchIndexSink: msRest.CompositeMapper = { - serializedName: "AzureSearchIndexSink", +export const DelimitedTextSource: coreClient.CompositeMapper = { + serializedName: "DelimitedTextSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "AzureSearchIndexSink", + className: "DelimitedTextSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - serializedName: "writeBehavior", + ...CopySource.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", type: { - name: "String" + name: "Composite", + className: "StoreReadSettings" + } + }, + formatSettings: { + serializedName: "formatSettings", + type: { + name: "Composite", + className: "DelimitedTextReadSettings" + } + }, + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const MetadataItem: msRest.CompositeMapper = { - serializedName: "MetadataItem", +export const JsonSource: coreClient.CompositeMapper = { + serializedName: "JsonSource", type: { name: "Composite", - className: "MetadataItem", + className: "JsonSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - name: { - serializedName: "name", + ...CopySource.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", type: { - name: "Object" + name: "Composite", + className: "StoreReadSettings" } }, - value: { - serializedName: "value", + formatSettings: { + serializedName: "formatSettings", + type: { + name: "Composite", + className: "JsonReadSettings" + } + }, + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const AzureBlobFSSink: msRest.CompositeMapper = { - serializedName: "AzureBlobFSSink", +export const XmlSource: coreClient.CompositeMapper = { + serializedName: "XmlSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "AzureBlobFSSink", + className: "XmlSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - copyBehavior: { - serializedName: "copyBehavior", + ...CopySource.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", type: { - name: "Object" + name: "Composite", + className: "StoreReadSettings" } }, - metadata: { - serializedName: "metadata", + formatSettings: { + serializedName: "formatSettings", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MetadataItem" - } - } + name: "Composite", + className: "XmlReadSettings" + } + }, + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzureDataLakeStoreSink: msRest.CompositeMapper = { - serializedName: "AzureDataLakeStoreSink", +export const OrcSource: coreClient.CompositeMapper = { + serializedName: "OrcSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "AzureDataLakeStoreSink", + className: "OrcSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - copyBehavior: { - serializedName: "copyBehavior", + ...CopySource.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", type: { - name: "Object" + name: "Composite", + className: "StoreReadSettings" } }, - enableAdlsSingleFileParallel: { - serializedName: "enableAdlsSingleFileParallel", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const OracleSink: msRest.CompositeMapper = { - serializedName: "OracleSink", +export const BinarySource: coreClient.CompositeMapper = { + serializedName: "BinarySource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "OracleSink", + className: "BinarySource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - preCopyScript: { - serializedName: "preCopyScript", + ...CopySource.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", + type: { + name: "Composite", + className: "StoreReadSettings" + } + }, + formatSettings: { + serializedName: "formatSettings", type: { - name: "Object" + name: "Composite", + className: "BinaryReadSettings" } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const ImportSettings: msRest.CompositeMapper = { - serializedName: "ImportSettings", +export const TabularSource: coreClient.CompositeMapper = { + serializedName: "TabularSource", type: { name: "Composite", + className: "TabularSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, polymorphicDiscriminator: { serializedName: "type", clientName: "type" }, - uberParent: "ImportSettings", - className: "ImportSettings", modelProperties: { - type: { - required: true, - serializedName: "type", + ...CopySource.type.modelProperties, + queryTimeout: { + serializedName: "queryTimeout", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const AzureDatabricksDeltaLakeImportCommand: msRest.CompositeMapper = { - serializedName: "AzureDatabricksDeltaLakeImportCommand", +export const BlobSource: coreClient.CompositeMapper = { + serializedName: "BlobSource", type: { name: "Composite", - polymorphicDiscriminator: ImportSettings.type.polymorphicDiscriminator, - uberParent: "ImportSettings", - className: "AzureDatabricksDeltaLakeImportCommand", + className: "BlobSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...ImportSettings.type.modelProperties, - dateFormat: { - serializedName: "dateFormat", + ...CopySource.type.modelProperties, + treatEmptyAsNull: { + serializedName: "treatEmptyAsNull", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - timestampFormat: { - serializedName: "timestampFormat", + skipHeaderLineCount: { + serializedName: "skipHeaderLineCount", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: ImportSettings.type.additionalProperties + } } }; -export const SnowflakeImportCopyCommand: msRest.CompositeMapper = { - serializedName: "SnowflakeImportCopyCommand", +export const DocumentDbCollectionSource: coreClient.CompositeMapper = { + serializedName: "DocumentDbCollectionSource", type: { name: "Composite", - polymorphicDiscriminator: ImportSettings.type.polymorphicDiscriminator, - uberParent: "ImportSettings", - className: "SnowflakeImportCopyCommand", + className: "DocumentDbCollectionSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...ImportSettings.type.modelProperties, - additionalCopyOptions: { - serializedName: "additionalCopyOptions", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } } }, - additionalFormatOptions: { - serializedName: "additionalFormatOptions", + nestingSeparator: { + serializedName: "nestingSeparator", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } + } + }, + queryTimeout: { + serializedName: "queryTimeout", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: ImportSettings.type.additionalProperties + } } }; -export const SnowflakeSink: msRest.CompositeMapper = { - serializedName: "SnowflakeSink", +export const CosmosDbSqlApiSource: coreClient.CompositeMapper = { + serializedName: "CosmosDbSqlApiSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "SnowflakeSink", + className: "CosmosDbSqlApiSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - preCopyScript: { - serializedName: "preCopyScript", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - importSettings: { - serializedName: "importSettings", + pageSize: { + serializedName: "pageSize", type: { - name: "Composite", - className: "SnowflakeImportCopyCommand", - additionalProperties: ImportSettings.type.additionalProperties + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + preferredRegions: { + serializedName: "preferredRegions", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + detectDatetime: { + serializedName: "detectDatetime", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const DWCopyCommandDefaultValue: msRest.CompositeMapper = { - serializedName: "DWCopyCommandDefaultValue", +export const DynamicsSource: coreClient.CompositeMapper = { + serializedName: "DynamicsSource", type: { name: "Composite", - className: "DWCopyCommandDefaultValue", + className: "DynamicsSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - columnName: { - serializedName: "columnName", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - defaultValue: { - serializedName: "defaultValue", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const DWCopyCommandSettings: msRest.CompositeMapper = { - serializedName: "DWCopyCommandSettings", +export const DynamicsCrmSource: coreClient.CompositeMapper = { + serializedName: "DynamicsCrmSource", type: { name: "Composite", - className: "DWCopyCommandSettings", + className: "DynamicsCrmSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - defaultValues: { - serializedName: "defaultValues", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DWCopyCommandDefaultValue" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - additionalOptions: { - serializedName: "additionalOptions", + additionalColumns: { + serializedName: "additionalColumns", type: { name: "Dictionary", - value: { - type: { - name: "String" - } - } + value: { type: { name: "any" } } } } } } }; -export const PolybaseSettings: msRest.CompositeMapper = { - serializedName: "PolybaseSettings", +export const CommonDataServiceForAppsSource: coreClient.CompositeMapper = { + serializedName: "CommonDataServiceForAppsSource", type: { name: "Composite", - className: "PolybaseSettings", + className: "CommonDataServiceForAppsSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - rejectType: { - serializedName: "rejectType", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - rejectValue: { - serializedName: "rejectValue", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - rejectSampleValue: { - serializedName: "rejectSampleValue", + } + } + } +}; + +export const RelationalSource: coreClient.CompositeMapper = { + serializedName: "RelationalSource", + type: { + name: "Composite", + className: "RelationalSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - useTypeDefault: { - serializedName: "useTypeDefault", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const SqlDWSink: msRest.CompositeMapper = { - serializedName: "SqlDWSink", +export const MicrosoftAccessSource: coreClient.CompositeMapper = { + serializedName: "MicrosoftAccessSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "SqlDWSink", + className: "MicrosoftAccessSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - preCopyScript: { - serializedName: "preCopyScript", - type: { - name: "Object" - } - }, - allowPolyBase: { - serializedName: "allowPolyBase", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - polyBaseSettings: { - serializedName: "polyBaseSettings", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Composite", - className: "PolybaseSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - }, - allowCopyCommand: { - serializedName: "allowCopyCommand", + } + } + } +}; + +export const ODataSource: coreClient.CompositeMapper = { + serializedName: "ODataSource", + type: { + name: "Composite", + className: "ODataSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - copyCommandSettings: { - serializedName: "copyCommandSettings", + httpRequestTimeout: { + serializedName: "httpRequestTimeout", type: { - name: "Composite", - className: "DWCopyCommandSettings" + name: "Dictionary", + value: { type: { name: "any" } } } }, - tableOption: { - serializedName: "tableOption", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const SqlMISink: msRest.CompositeMapper = { - serializedName: "SqlMISink", +export const SalesforceServiceCloudSource: coreClient.CompositeMapper = { + serializedName: "SalesforceServiceCloudSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "SqlMISink", + className: "SalesforceServiceCloudSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - sqlWriterStoredProcedureName: { - serializedName: "sqlWriterStoredProcedureName", - type: { - name: "Object" - } - }, - sqlWriterTableType: { - serializedName: "sqlWriterTableType", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - preCopyScript: { - serializedName: "preCopyScript", + readBehavior: { + serializedName: "readBehavior", type: { - name: "Object" + name: "String" } }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + additionalColumns: { + serializedName: "additionalColumns", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } - } - }, - storedProcedureTableTypeParameterName: { - serializedName: "storedProcedureTableTypeParameterName", - type: { - name: "Object" - } - }, - tableOption: { - serializedName: "tableOption", - type: { - name: "Object" + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzureSqlSink: msRest.CompositeMapper = { - serializedName: "AzureSqlSink", +export const RestSource: coreClient.CompositeMapper = { + serializedName: "RestSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "AzureSqlSink", + className: "RestSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - sqlWriterStoredProcedureName: { - serializedName: "sqlWriterStoredProcedureName", + ...CopySource.type.modelProperties, + requestMethod: { + serializedName: "requestMethod", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sqlWriterTableType: { - serializedName: "sqlWriterTableType", + requestBody: { + serializedName: "requestBody", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - preCopyScript: { - serializedName: "preCopyScript", + additionalHeaders: { + serializedName: "additionalHeaders", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + paginationRules: { + serializedName: "paginationRules", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } + value: { type: { name: "any" } } } }, - storedProcedureTableTypeParameterName: { - serializedName: "storedProcedureTableTypeParameterName", + httpRequestTimeout: { + serializedName: "httpRequestTimeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - tableOption: { - serializedName: "tableOption", + requestInterval: { + serializedName: "requestInterval", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const SqlServerSink: msRest.CompositeMapper = { - serializedName: "SqlServerSink", +export const FileSystemSource: coreClient.CompositeMapper = { + serializedName: "FileSystemSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "SqlServerSink", + className: "FileSystemSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - sqlWriterStoredProcedureName: { - serializedName: "sqlWriterStoredProcedureName", + ...CopySource.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sqlWriterTableType: { - serializedName: "sqlWriterTableType", + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const HdfsSource: coreClient.CompositeMapper = { + serializedName: "HdfsSource", + type: { + name: "Composite", + className: "HdfsSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...CopySource.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - preCopyScript: { - serializedName: "preCopyScript", + distcpSettings: { + serializedName: "distcpSettings", + type: { + name: "Composite", + className: "DistcpSettings" + } + } + } + } +}; + +export const AzureDataExplorerSource: coreClient.CompositeMapper = { + serializedName: "AzureDataExplorerSource", + type: { + name: "Composite", + className: "AzureDataExplorerSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + noTruncation: { + serializedName: "noTruncation", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } + value: { type: { name: "any" } } } }, - storedProcedureTableTypeParameterName: { - serializedName: "storedProcedureTableTypeParameterName", + queryTimeout: { + serializedName: "queryTimeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - tableOption: { - serializedName: "tableOption", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const SqlSink: msRest.CompositeMapper = { - serializedName: "SqlSink", +export const OracleSource: coreClient.CompositeMapper = { + serializedName: "OracleSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "SqlSink", + className: "OracleSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - sqlWriterStoredProcedureName: { - serializedName: "sqlWriterStoredProcedureName", - type: { - name: "Object" - } - }, - sqlWriterTableType: { - serializedName: "sqlWriterTableType", + ...CopySource.type.modelProperties, + oracleReaderQuery: { + serializedName: "oracleReaderQuery", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - preCopyScript: { - serializedName: "preCopyScript", + queryTimeout: { + serializedName: "queryTimeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - storedProcedureParameters: { - serializedName: "storedProcedureParameters", + partitionOption: { + serializedName: "partitionOption", type: { name: "Dictionary", - value: { - type: { - name: "Composite", - className: "StoredProcedureParameter" - } - } + value: { type: { name: "any" } } } }, - storedProcedureTableTypeParameterName: { - serializedName: "storedProcedureTableTypeParameterName", + partitionSettings: { + serializedName: "partitionSettings", type: { - name: "Object" + name: "Composite", + className: "OraclePartitionSettings" } }, - tableOption: { - serializedName: "tableOption", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const CosmosDbSqlApiSink: msRest.CompositeMapper = { - serializedName: "CosmosDbSqlApiSink", +export const AmazonRdsForOracleSource: coreClient.CompositeMapper = { + serializedName: "AmazonRdsForOracleSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "CosmosDbSqlApiSink", + className: "AmazonRdsForOracleSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - writeBehavior: { - serializedName: "writeBehavior", + ...CopySource.type.modelProperties, + oracleReaderQuery: { + serializedName: "oracleReaderQuery", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + queryTimeout: { + serializedName: "queryTimeout", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", type: { - name: "Object" + name: "Composite", + className: "AmazonRdsForOraclePartitionSettings" + } + }, + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const DocumentDbCollectionSink: msRest.CompositeMapper = { - serializedName: "DocumentDbCollectionSink", +export const WebSource: coreClient.CompositeMapper = { + serializedName: "WebSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "DocumentDbCollectionSink", + className: "WebSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - nestingSeparator: { - serializedName: "nestingSeparator", - type: { - name: "Object" - } - }, - writeBehavior: { - serializedName: "writeBehavior", + ...CopySource.type.modelProperties, + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const FileSystemSink: msRest.CompositeMapper = { - serializedName: "FileSystemSink", +export const MongoDbSource: coreClient.CompositeMapper = { + serializedName: "MongoDbSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "FileSystemSink", + className: "MongoDbSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - copyBehavior: { - serializedName: "copyBehavior", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const BlobSink: msRest.CompositeMapper = { - serializedName: "BlobSink", +export const MongoDbAtlasSource: coreClient.CompositeMapper = { + serializedName: "MongoDbAtlasSource", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "BlobSink", + className: "MongoDbAtlasSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - blobWriterOverwriteFiles: { - serializedName: "blobWriterOverwriteFiles", + ...CopySource.type.modelProperties, + filter: { + serializedName: "filter", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - blobWriterDateTimeFormat: { - serializedName: "blobWriterDateTimeFormat", + cursorMethods: { + serializedName: "cursorMethods", type: { - name: "Object" + name: "Composite", + className: "MongoDbCursorMethodsProperties" } }, - blobWriterAddHeader: { - serializedName: "blobWriterAddHeader", + batchSize: { + serializedName: "batchSize", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - copyBehavior: { - serializedName: "copyBehavior", + queryTimeout: { + serializedName: "queryTimeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - metadata: { - serializedName: "metadata", + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MetadataItem" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const StoreWriteSettings: msRest.CompositeMapper = { - serializedName: "StoreWriteSettings", +export const MongoDbV2Source: coreClient.CompositeMapper = { + serializedName: "MongoDbV2Source", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "StoreWriteSettings", - className: "StoreWriteSettings", + className: "MongoDbV2Source", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - maxConcurrentConnections: { - serializedName: "maxConcurrentConnections", + ...CopySource.type.modelProperties, + filter: { + serializedName: "filter", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - disableMetricsCollection: { - serializedName: "disableMetricsCollection", + cursorMethods: { + serializedName: "cursorMethods", type: { - name: "Object" + name: "Composite", + className: "MongoDbCursorMethodsProperties" } }, - copyBehavior: { - serializedName: "copyBehavior", + batchSize: { + serializedName: "batchSize", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - required: true, - serializedName: "type", + queryTimeout: { + serializedName: "queryTimeout", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + additionalColumns: { + serializedName: "additionalColumns", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const AzureFileStorageWriteSettings: msRest.CompositeMapper = { - serializedName: "AzureFileStorageWriteSettings", - type: { - name: "Composite", - polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, - uberParent: "StoreWriteSettings", - className: "AzureFileStorageWriteSettings", - modelProperties: { - ...StoreWriteSettings.type.modelProperties - }, - additionalProperties: StoreWriteSettings.type.additionalProperties - } -}; - -export const FileServerWriteSettings: msRest.CompositeMapper = { - serializedName: "FileServerWriteSettings", - type: { - name: "Composite", - polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, - uberParent: "StoreWriteSettings", - className: "FileServerWriteSettings", - modelProperties: { - ...StoreWriteSettings.type.modelProperties - }, - additionalProperties: StoreWriteSettings.type.additionalProperties - } -}; - -export const AzureDataLakeStoreWriteSettings: msRest.CompositeMapper = { - serializedName: "AzureDataLakeStoreWriteSettings", +export const CosmosDbMongoDbApiSource: coreClient.CompositeMapper = { + serializedName: "CosmosDbMongoDbApiSource", type: { name: "Composite", - polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, - uberParent: "StoreWriteSettings", - className: "AzureDataLakeStoreWriteSettings", + className: "CosmosDbMongoDbApiSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...StoreWriteSettings.type.modelProperties, - expiryDateTime: { - serializedName: "expiryDateTime", + ...CopySource.type.modelProperties, + filter: { + serializedName: "filter", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + cursorMethods: { + serializedName: "cursorMethods", + type: { + name: "Composite", + className: "MongoDbCursorMethodsProperties" + } + }, + batchSize: { + serializedName: "batchSize", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + queryTimeout: { + serializedName: "queryTimeout", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + additionalColumns: { + serializedName: "additionalColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreWriteSettings.type.additionalProperties + } } }; -export const AzureBlobFSWriteSettings: msRest.CompositeMapper = { - serializedName: "AzureBlobFSWriteSettings", +export const Office365Source: coreClient.CompositeMapper = { + serializedName: "Office365Source", type: { name: "Composite", - polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, - uberParent: "StoreWriteSettings", - className: "AzureBlobFSWriteSettings", + className: "Office365Source", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...StoreWriteSettings.type.modelProperties, - blockSizeInMB: { - serializedName: "blockSizeInMB", + ...CopySource.type.modelProperties, + allowedGroups: { + serializedName: "allowedGroups", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + userScopeFilterUri: { + serializedName: "userScopeFilterUri", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + dateFilterColumn: { + serializedName: "dateFilterColumn", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + outputColumns: { + serializedName: "outputColumns", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreWriteSettings.type.additionalProperties + } } }; -export const AzureBlobStorageWriteSettings: msRest.CompositeMapper = { - serializedName: "AzureBlobStorageWriteSettings", +export const AzureDataLakeStoreSource: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeStoreSource", type: { name: "Composite", - polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, - uberParent: "StoreWriteSettings", - className: "AzureBlobStorageWriteSettings", + className: "AzureDataLakeStoreSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...StoreWriteSettings.type.modelProperties, - blockSizeInMB: { - serializedName: "blockSizeInMB", + ...CopySource.type.modelProperties, + recursive: { + serializedName: "recursive", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: StoreWriteSettings.type.additionalProperties + } } }; -export const SftpWriteSettings: msRest.CompositeMapper = { - serializedName: "SftpWriteSettings", +export const AzureBlobFSSource: coreClient.CompositeMapper = { + serializedName: "AzureBlobFSSource", type: { name: "Composite", - polymorphicDiscriminator: StoreWriteSettings.type.polymorphicDiscriminator, - uberParent: "StoreWriteSettings", - className: "SftpWriteSettings", + className: "AzureBlobFSSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...StoreWriteSettings.type.modelProperties, - operationTimeout: { - serializedName: "operationTimeout", + ...CopySource.type.modelProperties, + treatEmptyAsNull: { + serializedName: "treatEmptyAsNull", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - useTempFileRename: { - serializedName: "useTempFileRename", - type: { - name: "Object" - } - } - }, - additionalProperties: StoreWriteSettings.type.additionalProperties - } -}; - -export const BinarySink: msRest.CompositeMapper = { - serializedName: "BinarySink", - type: { - name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", - className: "BinarySink", - modelProperties: { - ...CopySink.type.modelProperties, - storeSettings: { - serializedName: "storeSettings", + skipHeaderLineCount: { + serializedName: "skipHeaderLineCount", type: { - name: "Composite", - className: "StoreWriteSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: CopySink.type.additionalProperties - } -}; - -export const FormatWriteSettings: msRest.CompositeMapper = { - serializedName: "FormatWriteSettings", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "FormatWriteSettings", - className: "FormatWriteSettings", - modelProperties: { - type: { - required: true, - serializedName: "type", + }, + recursive: { + serializedName: "recursive", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const JsonWriteSettings: msRest.CompositeMapper = { - serializedName: "JsonWriteSettings", +export const HttpSource: coreClient.CompositeMapper = { + serializedName: "HttpSource", type: { name: "Composite", - polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, - uberParent: "FormatWriteSettings", - className: "JsonWriteSettings", + className: "HttpSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...FormatWriteSettings.type.modelProperties, - filePattern: { - serializedName: "filePattern", + ...CopySource.type.modelProperties, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: FormatWriteSettings.type.additionalProperties + } } }; -export const DelimitedTextWriteSettings: msRest.CompositeMapper = { - serializedName: "DelimitedTextWriteSettings", +export const SnowflakeSource: coreClient.CompositeMapper = { + serializedName: "SnowflakeSource", type: { name: "Composite", - polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, - uberParent: "FormatWriteSettings", - className: "DelimitedTextWriteSettings", + className: "SnowflakeSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...FormatWriteSettings.type.modelProperties, - quoteAllText: { - serializedName: "quoteAllText", - type: { - name: "Object" - } - }, - fileExtension: { - required: true, - serializedName: "fileExtension", - type: { - name: "Object" - } - }, - maxRowsPerFile: { - serializedName: "maxRowsPerFile", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileNamePrefix: { - serializedName: "fileNamePrefix", + exportSettings: { + serializedName: "exportSettings", type: { - name: "Object" + name: "Composite", + className: "SnowflakeExportCopyCommand" } } - }, - additionalProperties: FormatWriteSettings.type.additionalProperties + } } }; -export const OrcWriteSettings: msRest.CompositeMapper = { - serializedName: "OrcWriteSettings", +export const AzureDatabricksDeltaLakeSource: coreClient.CompositeMapper = { + serializedName: "AzureDatabricksDeltaLakeSource", type: { name: "Composite", - polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, - uberParent: "FormatWriteSettings", - className: "OrcWriteSettings", + className: "AzureDatabricksDeltaLakeSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...FormatWriteSettings.type.modelProperties, - maxRowsPerFile: { - serializedName: "maxRowsPerFile", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileNamePrefix: { - serializedName: "fileNamePrefix", + exportSettings: { + serializedName: "exportSettings", type: { - name: "Object" + name: "Composite", + className: "AzureDatabricksDeltaLakeExportCommand" } } - }, - additionalProperties: FormatWriteSettings.type.additionalProperties + } } }; -export const AvroWriteSettings: msRest.CompositeMapper = { - serializedName: "AvroWriteSettings", +export const SharePointOnlineListSource: coreClient.CompositeMapper = { + serializedName: "SharePointOnlineListSource", type: { name: "Composite", - polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, - uberParent: "FormatWriteSettings", - className: "AvroWriteSettings", + className: "SharePointOnlineListSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - ...FormatWriteSettings.type.modelProperties, - recordName: { - serializedName: "recordName", - type: { - name: "String" - } - }, - recordNamespace: { - serializedName: "recordNamespace", - type: { - name: "String" - } - }, - maxRowsPerFile: { - serializedName: "maxRowsPerFile", + ...CopySource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - fileNamePrefix: { - serializedName: "fileNamePrefix", + httpRequestTimeout: { + serializedName: "httpRequestTimeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: FormatWriteSettings.type.additionalProperties + } } }; -export const ParquetWriteSettings: msRest.CompositeMapper = { - serializedName: "ParquetWriteSettings", +export const DelimitedTextSink: coreClient.CompositeMapper = { + serializedName: "DelimitedTextSink", type: { name: "Composite", - polymorphicDiscriminator: FormatWriteSettings.type.polymorphicDiscriminator, - uberParent: "FormatWriteSettings", - className: "ParquetWriteSettings", + className: "DelimitedTextSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...FormatWriteSettings.type.modelProperties, - maxRowsPerFile: { - serializedName: "maxRowsPerFile", + ...CopySink.type.modelProperties, + storeSettings: { + serializedName: "storeSettings", type: { - name: "Object" + name: "Composite", + className: "StoreWriteSettings" } }, - fileNamePrefix: { - serializedName: "fileNamePrefix", + formatSettings: { + serializedName: "formatSettings", type: { - name: "Object" + name: "Composite", + className: "DelimitedTextWriteSettings" } } - }, - additionalProperties: FormatWriteSettings.type.additionalProperties + } } }; -export const ParquetSink: msRest.CompositeMapper = { - serializedName: "ParquetSink", +export const JsonSink: coreClient.CompositeMapper = { + serializedName: "JsonSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "JsonSink", uberParent: "CopySink", - className: "ParquetSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, storeSettings: { serializedName: "storeSettings", type: { name: "Composite", - className: "StoreWriteSettings", - additionalProperties: { - type: { - name: "Object" - } - } + className: "StoreWriteSettings" } }, formatSettings: { serializedName: "formatSettings", type: { name: "Composite", - className: "ParquetWriteSettings", - additionalProperties: FormatWriteSettings.type.additionalProperties + className: "JsonWriteSettings" } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AvroSink: msRest.CompositeMapper = { - serializedName: "AvroSink", +export const OrcSink: coreClient.CompositeMapper = { + serializedName: "OrcSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "OrcSink", uberParent: "CopySink", - className: "AvroSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, storeSettings: { serializedName: "storeSettings", type: { name: "Composite", - className: "StoreWriteSettings", - additionalProperties: { - type: { - name: "Object" - } - } + className: "StoreWriteSettings" } }, formatSettings: { serializedName: "formatSettings", type: { name: "Composite", - className: "AvroWriteSettings", - additionalProperties: FormatWriteSettings.type.additionalProperties + className: "OrcWriteSettings" } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzureTableSink: msRest.CompositeMapper = { - serializedName: "AzureTableSink", +export const RestSink: coreClient.CompositeMapper = { + serializedName: "RestSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "RestSink", uberParent: "CopySink", - className: "AzureTableSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, - azureTableDefaultPartitionKeyValue: { - serializedName: "azureTableDefaultPartitionKeyValue", + requestMethod: { + serializedName: "requestMethod", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureTablePartitionKeyName: { - serializedName: "azureTablePartitionKeyName", + additionalHeaders: { + serializedName: "additionalHeaders", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureTableRowKeyName: { - serializedName: "azureTableRowKeyName", + httpRequestTimeout: { + serializedName: "httpRequestTimeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - azureTableInsertType: { - serializedName: "azureTableInsertType", + requestInterval: { + serializedName: "requestInterval", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + httpCompressionType: { + serializedName: "httpCompressionType", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzureQueueSink: msRest.CompositeMapper = { - serializedName: "AzureQueueSink", +export const AzurePostgreSqlSink: coreClient.CompositeMapper = { + serializedName: "AzurePostgreSqlSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "AzurePostgreSqlSink", uberParent: "CopySink", - className: "AzureQueueSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties - }, - additionalProperties: CopySink.type.additionalProperties + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } } }; -export const SapCloudForCustomerSink: msRest.CompositeMapper = { - serializedName: "SapCloudForCustomerSink", +export const AzureMySqlSink: coreClient.CompositeMapper = { + serializedName: "AzureMySqlSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "AzureMySqlSink", uberParent: "CopySink", - className: "SapCloudForCustomerSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, - writeBehavior: { - serializedName: "writeBehavior", - type: { - name: "String" - } - }, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzureDatabricksDeltaLakeSink: msRest.CompositeMapper = { +export const AzureDatabricksDeltaLakeSink: coreClient.CompositeMapper = { serializedName: "AzureDatabricksDeltaLakeSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, - uberParent: "CopySink", className: "AzureDatabricksDeltaLakeSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, preCopyScript: { serializedName: "preCopyScript", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, importSettings: { serializedName: "importSettings", type: { name: "Composite", - className: "AzureDatabricksDeltaLakeImportCommand", - additionalProperties: ImportSettings.type.additionalProperties + className: "AzureDatabricksDeltaLakeImportCommand" } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzureMySqlSink: msRest.CompositeMapper = { - serializedName: "AzureMySqlSink", +export const SapCloudForCustomerSink: coreClient.CompositeMapper = { + serializedName: "SapCloudForCustomerSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "SapCloudForCustomerSink", uberParent: "CopySink", - className: "AzureMySqlSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, - preCopyScript: { - serializedName: "preCopyScript", + writeBehavior: { + serializedName: "writeBehavior", + type: { + name: "String" + } + }, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const AzurePostgreSqlSink: msRest.CompositeMapper = { - serializedName: "AzurePostgreSqlSink", +export const AzureQueueSink: coreClient.CompositeMapper = { + serializedName: "AzureQueueSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "AzureQueueSink", uberParent: "CopySink", - className: "AzurePostgreSqlSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...CopySink.type.modelProperties, - preCopyScript: { - serializedName: "preCopyScript", - type: { - name: "Object" - } - } - }, - additionalProperties: CopySink.type.additionalProperties + ...CopySink.type.modelProperties + } } }; -export const RestSink: msRest.CompositeMapper = { - serializedName: "RestSink", +export const AzureTableSink: coreClient.CompositeMapper = { + serializedName: "AzureTableSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "AzureTableSink", uberParent: "CopySink", - className: "RestSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, - requestMethod: { - serializedName: "requestMethod", - type: { - name: "Object" - } - }, - additionalHeaders: { - serializedName: "additionalHeaders", + azureTableDefaultPartitionKeyValue: { + serializedName: "azureTableDefaultPartitionKeyValue", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - httpRequestTimeout: { - serializedName: "httpRequestTimeout", + azureTablePartitionKeyName: { + serializedName: "azureTablePartitionKeyName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - requestInterval: { - serializedName: "requestInterval", + azureTableRowKeyName: { + serializedName: "azureTableRowKeyName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - httpCompressionType: { - serializedName: "httpCompressionType", + azureTableInsertType: { + serializedName: "azureTableInsertType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const OrcSink: msRest.CompositeMapper = { - serializedName: "OrcSink", +export const AvroSink: coreClient.CompositeMapper = { + serializedName: "AvroSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "AvroSink", uberParent: "CopySink", - className: "OrcSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, storeSettings: { serializedName: "storeSettings", type: { name: "Composite", - className: "StoreWriteSettings", - additionalProperties: { - type: { - name: "Object" - } - } + className: "StoreWriteSettings" } }, formatSettings: { serializedName: "formatSettings", type: { name: "Composite", - className: "OrcWriteSettings", - additionalProperties: FormatWriteSettings.type.additionalProperties + className: "AvroWriteSettings" } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const JsonSink: msRest.CompositeMapper = { - serializedName: "JsonSink", +export const ParquetSink: coreClient.CompositeMapper = { + serializedName: "ParquetSink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "ParquetSink", uberParent: "CopySink", - className: "JsonSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, storeSettings: { serializedName: "storeSettings", type: { name: "Composite", - className: "StoreWriteSettings", - additionalProperties: { - type: { - name: "Object" - } - } + className: "StoreWriteSettings" } }, formatSettings: { serializedName: "formatSettings", type: { name: "Composite", - className: "JsonWriteSettings", - additionalProperties: FormatWriteSettings.type.additionalProperties + className: "ParquetWriteSettings" } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const DelimitedTextSink: msRest.CompositeMapper = { - serializedName: "DelimitedTextSink", +export const BinarySink: coreClient.CompositeMapper = { + serializedName: "BinarySink", type: { name: "Composite", - polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + className: "BinarySink", uberParent: "CopySink", - className: "DelimitedTextSink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { ...CopySink.type.modelProperties, storeSettings: { serializedName: "storeSettings", type: { name: "Composite", - className: "StoreWriteSettings", - additionalProperties: { - type: { - name: "Object" - } - } - } - }, - formatSettings: { - serializedName: "formatSettings", - type: { - name: "Composite", - className: "DelimitedTextWriteSettings", - additionalProperties: FormatWriteSettings.type.additionalProperties + className: "StoreWriteSettings" } } - }, - additionalProperties: CopySink.type.additionalProperties + } } }; -export const CopyActivity: msRest.CompositeMapper = { - serializedName: "Copy", +export const BlobSink: coreClient.CompositeMapper = { + serializedName: "BlobSink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "CopyActivity", + className: "BlobSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ExecutionActivity.type.modelProperties, - source: { - required: true, - serializedName: "typeProperties.source", + ...CopySink.type.modelProperties, + blobWriterOverwriteFiles: { + serializedName: "blobWriterOverwriteFiles", type: { - name: "Composite", - className: "CopySource", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - sink: { - required: true, - serializedName: "typeProperties.sink", + blobWriterDateTimeFormat: { + serializedName: "blobWriterDateTimeFormat", type: { - name: "Composite", - className: "CopySink", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - translator: { - serializedName: "typeProperties.translator", + blobWriterAddHeader: { + serializedName: "blobWriterAddHeader", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - enableStaging: { - serializedName: "typeProperties.enableStaging", + copyBehavior: { + serializedName: "copyBehavior", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - stagingSettings: { - serializedName: "typeProperties.stagingSettings", + metadata: { + serializedName: "metadata", type: { - name: "Composite", - className: "StagingSettings", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "MetadataItem" } } } - }, - parallelCopies: { - serializedName: "typeProperties.parallelCopies", - type: { - name: "Object" - } - }, - dataIntegrationUnits: { - serializedName: "typeProperties.dataIntegrationUnits", - type: { - name: "Object" - } - }, - enableSkipIncompatibleRow: { - serializedName: "typeProperties.enableSkipIncompatibleRow", + } + } + } +}; + +export const FileSystemSink: coreClient.CompositeMapper = { + serializedName: "FileSystemSink", + type: { + name: "Composite", + className: "FileSystemSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + copyBehavior: { + serializedName: "copyBehavior", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - redirectIncompatibleRowSettings: { - serializedName: "typeProperties.redirectIncompatibleRowSettings", + } + } + } +}; + +export const DocumentDbCollectionSink: coreClient.CompositeMapper = { + serializedName: "DocumentDbCollectionSink", + type: { + name: "Composite", + className: "DocumentDbCollectionSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + nestingSeparator: { + serializedName: "nestingSeparator", type: { - name: "Composite", - className: "RedirectIncompatibleRowSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - logStorageSettings: { - serializedName: "typeProperties.logStorageSettings", + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "Composite", - className: "LogStorageSettings", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - }, - logSettings: { - serializedName: "typeProperties.logSettings", + } + } + } +}; + +export const CosmosDbSqlApiSink: coreClient.CompositeMapper = { + serializedName: "CosmosDbSqlApiSink", + type: { + name: "Composite", + className: "CosmosDbSqlApiSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "Composite", - className: "LogSettings" + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SqlSink: coreClient.CompositeMapper = { + serializedName: "SqlSink", + type: { + name: "Composite", + className: "SqlSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + sqlWriterStoredProcedureName: { + serializedName: "sqlWriterStoredProcedureName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, - preserveRules: { - serializedName: "typeProperties.preserveRules", + sqlWriterTableType: { + serializedName: "sqlWriterTableType", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - preserve: { - serializedName: "typeProperties.preserve", + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Sequence", - element: { - type: { - name: "Object" - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } } } }, - validateDataConsistency: { - serializedName: "typeProperties.validateDataConsistency", + storedProcedureTableTypeParameterName: { + serializedName: "storedProcedureTableTypeParameterName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - skipErrorFile: { - serializedName: "typeProperties.skipErrorFile", + tableOption: { + serializedName: "tableOption", type: { - name: "Composite", - className: "SkipErrorFile" + name: "Dictionary", + value: { type: { name: "any" } } } }, - inputs: { - serializedName: "inputs", + sqlWriterUseTableLock: { + serializedName: "sqlWriterUseTableLock", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatasetReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - outputs: { - serializedName: "outputs", + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatasetReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + upsertSettings: { + serializedName: "upsertSettings", + type: { + name: "Composite", + className: "SqlUpsertSettings" } } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const ControlActivity: msRest.CompositeMapper = { - serializedName: "Container", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "ControlActivity", - modelProperties: { - ...Activity.type.modelProperties - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const WebHookActivity: msRest.CompositeMapper = { - serializedName: "WebHook", +export const SqlServerSink: coreClient.CompositeMapper = { + serializedName: "SqlServerSink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "WebHookActivity", + className: "SqlServerSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ControlActivity.type.modelProperties, - method: { - required: true, - isConstant: true, - serializedName: "typeProperties.method", - defaultValue: "POST", + ...CopySink.type.modelProperties, + sqlWriterStoredProcedureName: { + serializedName: "sqlWriterStoredProcedureName", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - url: { - required: true, - serializedName: "typeProperties.url", + sqlWriterTableType: { + serializedName: "sqlWriterTableType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - timeout: { - serializedName: "typeProperties.timeout", + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - headers: { - serializedName: "typeProperties.headers", + storedProcedureParameters: { + serializedName: "storedProcedureParameters", type: { - name: "Object" + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } + } } }, - body: { - serializedName: "typeProperties.body", + storedProcedureTableTypeParameterName: { + serializedName: "storedProcedureTableTypeParameterName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - authentication: { - serializedName: "typeProperties.authentication", + tableOption: { + serializedName: "tableOption", type: { - name: "Composite", - className: "WebActivityAuthentication" + name: "Dictionary", + value: { type: { name: "any" } } } }, - reportStatusOnCallBack: { - serializedName: "typeProperties.reportStatusOnCallBack", + sqlWriterUseTableLock: { + serializedName: "sqlWriterUseTableLock", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const AppendVariableActivity: msRest.CompositeMapper = { - serializedName: "AppendVariable", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "AppendVariableActivity", - modelProperties: { - ...ControlActivity.type.modelProperties, - variableName: { - serializedName: "typeProperties.variableName", + }, + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - value: { - serializedName: "typeProperties.value", + upsertSettings: { + serializedName: "upsertSettings", type: { - name: "Object" + name: "Composite", + className: "SqlUpsertSettings" } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const SetVariableActivity: msRest.CompositeMapper = { - serializedName: "SetVariable", +export const AzureSqlSink: coreClient.CompositeMapper = { + serializedName: "AzureSqlSink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "SetVariableActivity", + className: "AzureSqlSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ControlActivity.type.modelProperties, - variableName: { - serializedName: "typeProperties.variableName", + ...CopySink.type.modelProperties, + sqlWriterStoredProcedureName: { + serializedName: "sqlWriterStoredProcedureName", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - value: { - serializedName: "typeProperties.value", - type: { - name: "Object" - } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const FilterActivity: msRest.CompositeMapper = { - serializedName: "Filter", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "FilterActivity", - modelProperties: { - ...ControlActivity.type.modelProperties, - items: { - required: true, - serializedName: "typeProperties.items", - defaultValue: {}, + sqlWriterTableType: { + serializedName: "sqlWriterTableType", type: { - name: "Composite", - className: "Expression" + name: "Dictionary", + value: { type: { name: "any" } } } }, - condition: { - required: true, - serializedName: "typeProperties.condition", - defaultValue: {}, + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Composite", - className: "Expression" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: Activity.type.additionalProperties - } -}; - -export const ValidationActivity: msRest.CompositeMapper = { - serializedName: "Validation", - type: { - name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "ValidationActivity", - modelProperties: { - ...ControlActivity.type.modelProperties, - timeout: { - serializedName: "typeProperties.timeout", + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", type: { - name: "Object" + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } + } } }, - sleep: { - serializedName: "typeProperties.sleep", + storedProcedureTableTypeParameterName: { + serializedName: "storedProcedureTableTypeParameterName", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - minimumSize: { - serializedName: "typeProperties.minimumSize", + tableOption: { + serializedName: "tableOption", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - childItems: { - serializedName: "typeProperties.childItems", + sqlWriterUseTableLock: { + serializedName: "sqlWriterUseTableLock", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dataset: { - required: true, - serializedName: "typeProperties.dataset", - defaultValue: {}, + writeBehavior: { + serializedName: "writeBehavior", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + upsertSettings: { + serializedName: "upsertSettings", type: { name: "Composite", - className: "DatasetReference" + className: "SqlUpsertSettings" } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const UntilActivity: msRest.CompositeMapper = { - serializedName: "Until", +export const SqlMISink: coreClient.CompositeMapper = { + serializedName: "SqlMISink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "UntilActivity", + className: "SqlMISink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ControlActivity.type.modelProperties, - expression: { - required: true, - serializedName: "typeProperties.expression", - defaultValue: {}, + ...CopySink.type.modelProperties, + sqlWriterStoredProcedureName: { + serializedName: "sqlWriterStoredProcedureName", type: { - name: "Composite", - className: "Expression" + name: "Dictionary", + value: { type: { name: "any" } } } }, - timeout: { - serializedName: "typeProperties.timeout", + sqlWriterTableType: { + serializedName: "sqlWriterTableType", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - activities: { - required: true, - serializedName: "typeProperties.activities", + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Activity", - additionalProperties: { - type: { - name: "Object" - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } } } + }, + storedProcedureTableTypeParameterName: { + serializedName: "storedProcedureTableTypeParameterName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + tableOption: { + serializedName: "tableOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sqlWriterUseTableLock: { + serializedName: "sqlWriterUseTableLock", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + writeBehavior: { + serializedName: "writeBehavior", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + upsertSettings: { + serializedName: "upsertSettings", + type: { + name: "Composite", + className: "SqlUpsertSettings" + } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const WaitActivity: msRest.CompositeMapper = { - serializedName: "Wait", +export const SqlDWSink: coreClient.CompositeMapper = { + serializedName: "SqlDWSink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "WaitActivity", + className: "SqlDWSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ControlActivity.type.modelProperties, - waitTimeInSeconds: { - required: true, - serializedName: "typeProperties.waitTimeInSeconds", + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + allowPolyBase: { + serializedName: "allowPolyBase", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + polyBaseSettings: { + serializedName: "polyBaseSettings", + type: { + name: "Composite", + className: "PolybaseSettings" + } + }, + allowCopyCommand: { + serializedName: "allowCopyCommand", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + copyCommandSettings: { + serializedName: "copyCommandSettings", + type: { + name: "Composite", + className: "DWCopyCommandSettings" + } + }, + tableOption: { + serializedName: "tableOption", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sqlWriterUseTableLock: { + serializedName: "sqlWriterUseTableLock", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + writeBehavior: { + serializedName: "writeBehavior", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + upsertSettings: { + serializedName: "upsertSettings", + type: { + name: "Composite", + className: "SqlDWUpsertSettings" } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const ForEachActivity: msRest.CompositeMapper = { - serializedName: "ForEach", +export const SnowflakeSink: coreClient.CompositeMapper = { + serializedName: "SnowflakeSink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "ForEachActivity", + className: "SnowflakeSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ControlActivity.type.modelProperties, - isSequential: { - serializedName: "typeProperties.isSequential", - type: { - name: "Boolean" - } - }, - batchCount: { - serializedName: "typeProperties.batchCount", - constraints: { - InclusiveMaximum: 50 - }, + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - items: { - required: true, - serializedName: "typeProperties.items", - defaultValue: {}, + importSettings: { + serializedName: "importSettings", type: { name: "Composite", - className: "Expression" + className: "SnowflakeImportCopyCommand" } - }, - activities: { - required: true, - serializedName: "typeProperties.activities", + } + } + } +}; + +export const OracleSink: coreClient.CompositeMapper = { + serializedName: "OracleSink", + type: { + name: "Composite", + className: "OracleSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Activity", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const SwitchCase: msRest.CompositeMapper = { - serializedName: "SwitchCase", +export const AzureDataLakeStoreSink: coreClient.CompositeMapper = { + serializedName: "AzureDataLakeStoreSink", type: { name: "Composite", - className: "SwitchCase", + className: "AzureDataLakeStoreSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - value: { - serializedName: "value", + ...CopySink.type.modelProperties, + copyBehavior: { + serializedName: "copyBehavior", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - activities: { - serializedName: "activities", + enableAdlsSingleFileParallel: { + serializedName: "enableAdlsSingleFileParallel", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Activity", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const SwitchActivity: msRest.CompositeMapper = { - serializedName: "Switch", +export const AzureBlobFSSink: coreClient.CompositeMapper = { + serializedName: "AzureBlobFSSink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "SwitchActivity", + className: "AzureBlobFSSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ControlActivity.type.modelProperties, - on: { - required: true, - serializedName: "typeProperties.on", - defaultValue: {}, + ...CopySink.type.modelProperties, + copyBehavior: { + serializedName: "copyBehavior", type: { - name: "Composite", - className: "Expression" + name: "Dictionary", + value: { type: { name: "any" } } } }, - cases: { - serializedName: "typeProperties.cases", + metadata: { + serializedName: "metadata", type: { name: "Sequence", element: { type: { name: "Composite", - className: "SwitchCase" + className: "MetadataItem" } } } - }, - defaultActivities: { - serializedName: "typeProperties.defaultActivities", + } + } + } +}; + +export const AzureSearchIndexSink: coreClient.CompositeMapper = { + serializedName: "AzureSearchIndexSink", + type: { + name: "Composite", + className: "AzureSearchIndexSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Activity", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "String" } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const IfConditionActivity: msRest.CompositeMapper = { - serializedName: "IfCondition", +export const OdbcSink: coreClient.CompositeMapper = { + serializedName: "OdbcSink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "IfConditionActivity", + className: "OdbcSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ControlActivity.type.modelProperties, - expression: { - required: true, - serializedName: "typeProperties.expression", - defaultValue: {}, + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Composite", - className: "Expression" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - ifTrueActivities: { - serializedName: "typeProperties.ifTrueActivities", + } + } + } +}; + +export const InformixSink: coreClient.CompositeMapper = { + serializedName: "InformixSink", + type: { + name: "Composite", + className: "InformixSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Activity", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - }, - ifFalseActivities: { - serializedName: "typeProperties.ifFalseActivities", + } + } + } +}; + +export const MicrosoftAccessSink: coreClient.CompositeMapper = { + serializedName: "MicrosoftAccessSink", + type: { + name: "Composite", + className: "MicrosoftAccessSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Activity", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const ExecutePipelineActivity: msRest.CompositeMapper = { - serializedName: "ExecutePipeline", +export const DynamicsSink: coreClient.CompositeMapper = { + serializedName: "DynamicsSink", type: { name: "Composite", - polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, - uberParent: "Activity", - className: "ExecutePipelineActivity", + className: "DynamicsSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - ...ControlActivity.type.modelProperties, - pipelineProperty: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", required: true, - serializedName: "typeProperties.pipeline", - defaultValue: {}, type: { - name: "Composite", - className: "PipelineReference" + name: "String" } }, - parameters: { - serializedName: "typeProperties.parameters", + ignoreNullValues: { + serializedName: "ignoreNullValues", type: { name: "Dictionary", - value: { - type: { - name: "Object" - } - } + value: { type: { name: "any" } } } }, - waitOnCompletion: { - serializedName: "typeProperties.waitOnCompletion", + alternateKeyName: { + serializedName: "alternateKeyName", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: Activity.type.additionalProperties + } } }; -export const LinkedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "LinkedIntegrationRuntime", +export const DynamicsCrmSink: coreClient.CompositeMapper = { + serializedName: "DynamicsCrmSink", type: { name: "Composite", - className: "LinkedIntegrationRuntime", + className: "DynamicsCrmSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - name: { - readOnly: true, - serializedName: "name", + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", + required: true, type: { name: "String" } }, - subscriptionId: { - readOnly: true, - serializedName: "subscriptionId", + ignoreNullValues: { + serializedName: "ignoreNullValues", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dataFactoryName: { - readOnly: true, - serializedName: "dataFactoryName", + alternateKeyName: { + serializedName: "alternateKeyName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const CommonDataServiceForAppsSink: coreClient.CompositeMapper = { + serializedName: "CommonDataServiceForAppsSink", + type: { + name: "Composite", + className: "CommonDataServiceForAppsSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", + required: true, type: { name: "String" } }, - dataFactoryLocation: { - readOnly: true, - serializedName: "dataFactoryLocation", + ignoreNullValues: { + serializedName: "ignoreNullValues", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - createTime: { - readOnly: true, - serializedName: "createTime", + alternateKeyName: { + serializedName: "alternateKeyName", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const SelfHostedIntegrationRuntimeNode: msRest.CompositeMapper = { - serializedName: "SelfHostedIntegrationRuntimeNode", +export const AzureDataExplorerSink: coreClient.CompositeMapper = { + serializedName: "AzureDataExplorerSink", type: { name: "Composite", - className: "SelfHostedIntegrationRuntimeNode", + className: "AzureDataExplorerSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, modelProperties: { - nodeName: { - readOnly: true, - serializedName: "nodeName", + ...CopySink.type.modelProperties, + ingestionMappingName: { + serializedName: "ingestionMappingName", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - machineName: { - readOnly: true, - serializedName: "machineName", + ingestionMappingAsJson: { + serializedName: "ingestionMappingAsJson", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - hostServiceUri: { - readOnly: true, - serializedName: "hostServiceUri", + flushImmediately: { + serializedName: "flushImmediately", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - status: { - readOnly: true, - serializedName: "status", + } + } + } +}; + +export const SalesforceSink: coreClient.CompositeMapper = { + serializedName: "SalesforceSink", + type: { + name: "Composite", + className: "SalesforceSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", type: { name: "String" } }, - capabilities: { - readOnly: true, - serializedName: "capabilities", + externalIdFieldName: { + serializedName: "externalIdFieldName", type: { name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - versionStatus: { - readOnly: true, - serializedName: "versionStatus", - type: { - name: "String" + value: { type: { name: "any" } } } }, - version: { - readOnly: true, - serializedName: "version", + ignoreNullValues: { + serializedName: "ignoreNullValues", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - registerTime: { - readOnly: true, - serializedName: "registerTime", + } + } + } +}; + +export const SalesforceServiceCloudSink: coreClient.CompositeMapper = { + serializedName: "SalesforceServiceCloudSink", + type: { + name: "Composite", + className: "SalesforceServiceCloudSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "DateTime" + name: "String" } }, - lastConnectTime: { - readOnly: true, - serializedName: "lastConnectTime", + externalIdFieldName: { + serializedName: "externalIdFieldName", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } }, - expiryTime: { - readOnly: true, - serializedName: "expiryTime", + ignoreNullValues: { + serializedName: "ignoreNullValues", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - lastStartTime: { - readOnly: true, - serializedName: "lastStartTime", + } + } + } +}; + +export const MongoDbAtlasSink: coreClient.CompositeMapper = { + serializedName: "MongoDbAtlasSink", + type: { + name: "Composite", + className: "MongoDbAtlasSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - lastStopTime: { - readOnly: true, - serializedName: "lastStopTime", + } + } + } +}; + +export const MongoDbV2Sink: coreClient.CompositeMapper = { + serializedName: "MongoDbV2Sink", + type: { + name: "Composite", + className: "MongoDbV2Sink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "DateTime" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - lastUpdateResult: { - readOnly: true, - serializedName: "lastUpdateResult", + } + } + } +}; + +export const CosmosDbMongoDbApiSink: coreClient.CompositeMapper = { + serializedName: "CosmosDbMongoDbApiSink", + type: { + name: "Composite", + className: "CosmosDbMongoDbApiSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - }, - lastStartUpdateTime: { - readOnly: true, - serializedName: "lastStartUpdateTime", + } + } + } +}; + +export const SnowflakeExportCopyCommand: coreClient.CompositeMapper = { + serializedName: "SnowflakeExportCopyCommand", + type: { + name: "Composite", + className: "SnowflakeExportCopyCommand", + uberParent: "ExportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: ExportSettings.type.polymorphicDiscriminator, + modelProperties: { + ...ExportSettings.type.modelProperties, + additionalCopyOptions: { + serializedName: "additionalCopyOptions", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } }, - lastEndUpdateTime: { - readOnly: true, - serializedName: "lastEndUpdateTime", + additionalFormatOptions: { + serializedName: "additionalFormatOptions", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } - }, - isActiveDispatcher: { - readOnly: true, - serializedName: "isActiveDispatcher", + } + } + } +}; + +export const AzureDatabricksDeltaLakeExportCommand: coreClient.CompositeMapper = { + serializedName: "AzureDatabricksDeltaLakeExportCommand", + type: { + name: "Composite", + className: "AzureDatabricksDeltaLakeExportCommand", + uberParent: "ExportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: ExportSettings.type.polymorphicDiscriminator, + modelProperties: { + ...ExportSettings.type.modelProperties, + dateFormat: { + serializedName: "dateFormat", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - concurrentJobsLimit: { - readOnly: true, - serializedName: "concurrentJobsLimit", + timestampFormat: { + serializedName: "timestampFormat", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const AzureDatabricksDeltaLakeImportCommand: coreClient.CompositeMapper = { + serializedName: "AzureDatabricksDeltaLakeImportCommand", + type: { + name: "Composite", + className: "AzureDatabricksDeltaLakeImportCommand", + uberParent: "ImportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: ImportSettings.type.polymorphicDiscriminator, + modelProperties: { + ...ImportSettings.type.modelProperties, + dateFormat: { + serializedName: "dateFormat", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } }, - maxConcurrentJobs: { - readOnly: true, - serializedName: "maxConcurrentJobs", + timestampFormat: { + serializedName: "timestampFormat", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const SelfHostedIntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "SelfHosted", +export const SnowflakeImportCopyCommand: coreClient.CompositeMapper = { + serializedName: "SnowflakeImportCopyCommand", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntimeStatus", - className: "SelfHostedIntegrationRuntimeStatus", + className: "SnowflakeImportCopyCommand", + uberParent: "ImportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: ImportSettings.type.polymorphicDiscriminator, modelProperties: { - ...IntegrationRuntimeStatus.type.modelProperties, - createTime: { - readOnly: true, - serializedName: "typeProperties.createTime", + ...ImportSettings.type.modelProperties, + additionalCopyOptions: { + serializedName: "additionalCopyOptions", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } }, - taskQueueId: { - readOnly: true, - serializedName: "typeProperties.taskQueueId", + additionalFormatOptions: { + serializedName: "additionalFormatOptions", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } - }, - internalChannelEncryption: { - readOnly: true, - serializedName: "typeProperties.internalChannelEncryption", + } + } + } +}; + +export const TabularTranslator: coreClient.CompositeMapper = { + serializedName: "TabularTranslator", + type: { + name: "Composite", + className: "TabularTranslator", + uberParent: "CopyTranslator", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopyTranslator.type.polymorphicDiscriminator, + modelProperties: { + ...CopyTranslator.type.modelProperties, + columnMappings: { + serializedName: "columnMappings", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - version: { - readOnly: true, - serializedName: "typeProperties.version", + schemaMapping: { + serializedName: "schemaMapping", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - nodes: { - serializedName: "typeProperties.nodes", + collectionReference: { + serializedName: "collectionReference", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SelfHostedIntegrationRuntimeNode", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - scheduledUpdateDate: { - readOnly: true, - serializedName: "typeProperties.scheduledUpdateDate", - type: { - name: "DateTime" - } - }, - updateDelayOffset: { - readOnly: true, - serializedName: "typeProperties.updateDelayOffset", - type: { - name: "String" - } - }, - localTimeZoneOffset: { - readOnly: true, - serializedName: "typeProperties.localTimeZoneOffset", + mapComplexValuesToString: { + serializedName: "mapComplexValuesToString", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - capabilities: { - readOnly: true, - serializedName: "typeProperties.capabilities", + mappings: { + serializedName: "mappings", type: { name: "Dictionary", - value: { - type: { - name: "String" - } - } + value: { type: { name: "any" } } } }, - serviceUrls: { - readOnly: true, - serializedName: "typeProperties.serviceUrls", + typeConversion: { + serializedName: "typeConversion", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - autoUpdate: { - readOnly: true, - serializedName: "typeProperties.autoUpdate", + typeConversionSettings: { + serializedName: "typeConversionSettings", type: { - name: "String" + name: "Composite", + className: "TypeConversionSettings" } - }, - versionStatus: { - readOnly: true, - serializedName: "typeProperties.versionStatus", + } + } + } +}; + +export const ExecutePowerQueryActivityTypeProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExecutePowerQueryActivityTypeProperties", + modelProperties: { + ...ExecuteDataFlowActivityTypeProperties.type.modelProperties, + sinks: { + serializedName: "sinks", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Composite", className: "PowerQuerySink" } } } }, - links: { - serializedName: "typeProperties.links", + queries: { + serializedName: "queries", type: { name: "Sequence", element: { type: { name: "Composite", - className: "LinkedIntegrationRuntime" + className: "PowerQuerySinkMapping" } } } - }, - pushedVersion: { - readOnly: true, - serializedName: "typeProperties.pushedVersion", - type: { - name: "String" - } - }, - latestVersion: { - readOnly: true, - serializedName: "typeProperties.latestVersion", - type: { - name: "String" - } - }, - autoUpdateETA: { - readOnly: true, - serializedName: "typeProperties.autoUpdateETA", + } + } + } +}; + +export const TriggerDependencyReference: coreClient.CompositeMapper = { + serializedName: "TriggerDependencyReference", + type: { + name: "Composite", + className: "TriggerDependencyReference", + uberParent: "DependencyReference", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + ...DependencyReference.type.modelProperties, + referenceTrigger: { + serializedName: "referenceTrigger", type: { - name: "DateTime" + name: "Composite", + className: "TriggerReference" } } - }, - additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } } }; -export const ManagedIntegrationRuntimeOperationResult: msRest.CompositeMapper = { - serializedName: "ManagedIntegrationRuntimeOperationResult", +export const SelfDependencyTumblingWindowTriggerReference: coreClient.CompositeMapper = { + serializedName: "SelfDependencyTumblingWindowTriggerReference", type: { name: "Composite", - className: "ManagedIntegrationRuntimeOperationResult", + className: "SelfDependencyTumblingWindowTriggerReference", + uberParent: "DependencyReference", + polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, modelProperties: { - type: { - readOnly: true, - serializedName: "type", + ...DependencyReference.type.modelProperties, + offset: { + constraints: { + Pattern: new RegExp( + "-((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" + ), + MaxLength: 15, + MinLength: 8 + }, + serializedName: "offset", + required: true, type: { name: "String" } }, - startTime: { - readOnly: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - result: { - readOnly: true, - serializedName: "result", + size: { + constraints: { + Pattern: new RegExp( + "((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" + ), + MaxLength: 15, + MinLength: 8 + }, + serializedName: "size", type: { name: "String" } - }, - errorCode: { - readOnly: true, - serializedName: "errorCode", + } + } + } +}; + +export const ExecutePipelineActivity: coreClient.CompositeMapper = { + serializedName: "ExecutePipeline", + type: { + name: "Composite", + className: "ExecutePipelineActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + modelProperties: { + ...ControlActivity.type.modelProperties, + pipeline: { + serializedName: "typeProperties.pipeline", type: { - name: "String" + name: "Composite", + className: "PipelineReference" } }, parameters: { - readOnly: true, - serializedName: "parameters", + serializedName: "typeProperties.parameters", type: { - name: "Sequence", - element: { - type: { - name: "String" - } + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } } } }, - activityId: { - readOnly: true, - serializedName: "activityId", + waitOnCompletion: { + serializedName: "typeProperties.waitOnCompletion", type: { - name: "String" + name: "Boolean" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ManagedIntegrationRuntimeError: msRest.CompositeMapper = { - serializedName: "ManagedIntegrationRuntimeError", +export const IfConditionActivity: coreClient.CompositeMapper = { + serializedName: "IfCondition", type: { name: "Composite", - className: "ManagedIntegrationRuntimeError", + className: "IfConditionActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - time: { - readOnly: true, - serializedName: "time", - type: { - name: "DateTime" - } - }, - code: { - readOnly: true, - serializedName: "code", + ...ControlActivity.type.modelProperties, + expression: { + serializedName: "typeProperties.expression", type: { - name: "String" + name: "Composite", + className: "Expression" } }, - parameters: { - readOnly: true, - serializedName: "parameters", + ifTrueActivities: { + serializedName: "typeProperties.ifTrueActivities", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "Activity" } } } }, - message: { - readOnly: true, - serializedName: "message", + ifFalseActivities: { + serializedName: "typeProperties.ifFalseActivities", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity" + } + } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ManagedIntegrationRuntimeNode: msRest.CompositeMapper = { - serializedName: "ManagedIntegrationRuntimeNode", +export const SwitchActivity: coreClient.CompositeMapper = { + serializedName: "Switch", type: { name: "Composite", - className: "ManagedIntegrationRuntimeNode", + className: "SwitchActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - nodeId: { - readOnly: true, - serializedName: "nodeId", + ...ControlActivity.type.modelProperties, + on: { + serializedName: "typeProperties.on", type: { - name: "String" + name: "Composite", + className: "Expression" } }, - status: { - readOnly: true, - serializedName: "status", + cases: { + serializedName: "typeProperties.cases", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SwitchCase" + } + } } }, - errors: { - serializedName: "errors", + defaultActivities: { + serializedName: "typeProperties.defaultActivities", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ManagedIntegrationRuntimeError", - additionalProperties: { - type: { - name: "Object" - } - } + className: "Activity" } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ManagedIntegrationRuntimeStatus: msRest.CompositeMapper = { - serializedName: "Managed", +export const ForEachActivity: coreClient.CompositeMapper = { + serializedName: "ForEach", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntimeStatus", - className: "ManagedIntegrationRuntimeStatus", + className: "ForEachActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...IntegrationRuntimeStatus.type.modelProperties, - createTime: { - readOnly: true, - serializedName: "typeProperties.createTime", + ...ControlActivity.type.modelProperties, + isSequential: { + serializedName: "typeProperties.isSequential", type: { - name: "DateTime" + name: "Boolean" } }, - nodes: { - readOnly: true, - serializedName: "typeProperties.nodes", + batchCount: { + constraints: { + InclusiveMaximum: 50 + }, + serializedName: "typeProperties.batchCount", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedIntegrationRuntimeNode", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Number" } }, - otherErrors: { - readOnly: true, - serializedName: "typeProperties.otherErrors", + items: { + serializedName: "typeProperties.items", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedIntegrationRuntimeError", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Composite", + className: "Expression" } }, - lastOperation: { - readOnly: true, - serializedName: "typeProperties.lastOperation", + activities: { + serializedName: "typeProperties.activities", + required: true, type: { - name: "Composite", - className: "ManagedIntegrationRuntimeOperationResult", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Composite", + className: "Activity" } } } } - }, - additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } } }; -export const LinkedIntegrationRuntimeType: msRest.CompositeMapper = { - serializedName: "LinkedIntegrationRuntimeType", +export const WaitActivity: coreClient.CompositeMapper = { + serializedName: "Wait", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "authorizationType", - clientName: "authorizationType" - }, - uberParent: "LinkedIntegrationRuntimeType", - className: "LinkedIntegrationRuntimeType", + className: "WaitActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - authorizationType: { + ...ControlActivity.type.modelProperties, + waitTimeInSeconds: { + serializedName: "typeProperties.waitTimeInSeconds", required: true, - serializedName: "authorizationType", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const LinkedIntegrationRuntimeRbacAuthorization: msRest.CompositeMapper = { - serializedName: "RBAC", +export const UntilActivity: coreClient.CompositeMapper = { + serializedName: "Until", type: { name: "Composite", - polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, - uberParent: "LinkedIntegrationRuntimeType", - className: "LinkedIntegrationRuntimeRbacAuthorization", + className: "UntilActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...LinkedIntegrationRuntimeType.type.modelProperties, - resourceId: { - required: true, - serializedName: "resourceId", + ...ControlActivity.type.modelProperties, + expression: { + serializedName: "typeProperties.expression", type: { - name: "String" + name: "Composite", + className: "Expression" } - } - } - } -}; - -export const LinkedIntegrationRuntimeKeyAuthorization: msRest.CompositeMapper = { - serializedName: "Key", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, - uberParent: "LinkedIntegrationRuntimeType", - className: "LinkedIntegrationRuntimeKeyAuthorization", - modelProperties: { - ...LinkedIntegrationRuntimeType.type.modelProperties, - key: { + }, + timeout: { + serializedName: "typeProperties.timeout", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + activities: { + serializedName: "typeProperties.activities", required: true, - serializedName: "key", type: { - name: "Composite", - className: "SecureString" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity" + } + } } } } } }; -export const SelfHostedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "SelfHosted", +export const ValidationActivity: coreClient.CompositeMapper = { + serializedName: "Validation", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntime", - className: "SelfHostedIntegrationRuntime", + className: "ValidationActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...IntegrationRuntime.type.modelProperties, - linkedInfo: { - serializedName: "typeProperties.linkedInfo", + ...ControlActivity.type.modelProperties, + timeout: { + serializedName: "typeProperties.timeout", type: { - name: "Composite", - className: "LinkedIntegrationRuntimeType" + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: IntegrationRuntime.type.additionalProperties - } -}; - -export const EntityReference: msRest.CompositeMapper = { - serializedName: "EntityReference", - type: { - name: "Composite", - className: "EntityReference", - modelProperties: { - type: { - serializedName: "type", + }, + sleep: { + serializedName: "typeProperties.sleep", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - referenceName: { - serializedName: "referenceName", + minimumSize: { + serializedName: "typeProperties.minimumSize", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + childItems: { + serializedName: "typeProperties.childItems", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + dataset: { + serializedName: "typeProperties.dataset", + type: { + name: "Composite", + className: "DatasetReference" } } } } }; -export const PackageStore: msRest.CompositeMapper = { - serializedName: "PackageStore", +export const FilterActivity: coreClient.CompositeMapper = { + serializedName: "Filter", type: { name: "Composite", - className: "PackageStore", + className: "FilterActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - name: { - required: true, - serializedName: "name", + ...ControlActivity.type.modelProperties, + items: { + serializedName: "typeProperties.items", type: { - name: "String" + name: "Composite", + className: "Expression" } }, - packageStoreLinkedService: { - required: true, - serializedName: "packageStoreLinkedService", + condition: { + serializedName: "typeProperties.condition", type: { name: "Composite", - className: "EntityReference" + className: "Expression" } } } } }; -export const CustomSetupBase: msRest.CompositeMapper = { - serializedName: "CustomSetupBase", +export const SetVariableActivity: coreClient.CompositeMapper = { + serializedName: "SetVariable", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CustomSetupBase", - className: "CustomSetupBase", + className: "SetVariableActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - type: { - required: true, - serializedName: "type", + ...ControlActivity.type.modelProperties, + variableName: { + serializedName: "typeProperties.variableName", type: { name: "String" } + }, + value: { + serializedName: "typeProperties.value", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } } } } }; -export const AzPowerShellSetup: msRest.CompositeMapper = { - serializedName: "AzPowerShellSetup", +export const AppendVariableActivity: coreClient.CompositeMapper = { + serializedName: "AppendVariable", type: { name: "Composite", - polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, - uberParent: "CustomSetupBase", - className: "AzPowerShellSetup", + className: "AppendVariableActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...CustomSetupBase.type.modelProperties, - version: { - required: true, - serializedName: "typeProperties.version", + ...ControlActivity.type.modelProperties, + variableName: { + serializedName: "typeProperties.variableName", type: { name: "String" } + }, + value: { + serializedName: "typeProperties.value", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } } } } }; -export const ComponentSetup: msRest.CompositeMapper = { - serializedName: "ComponentSetup", +export const WebHookActivity: coreClient.CompositeMapper = { + serializedName: "WebHook", type: { name: "Composite", - polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, - uberParent: "CustomSetupBase", - className: "ComponentSetup", + className: "WebHookActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...CustomSetupBase.type.modelProperties, - componentName: { + ...ControlActivity.type.modelProperties, + method: { + serializedName: "typeProperties.method", required: true, - serializedName: "typeProperties.componentName", type: { name: "String" } }, - licenseKey: { - serializedName: "typeProperties.licenseKey", - type: { - name: "Composite", - className: "SecretBase" - } - } - } - } -}; - -export const EnvironmentVariableSetup: msRest.CompositeMapper = { - serializedName: "EnvironmentVariableSetup", - type: { - name: "Composite", - polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, - uberParent: "CustomSetupBase", - className: "EnvironmentVariableSetup", - modelProperties: { - ...CustomSetupBase.type.modelProperties, - variableName: { + url: { + serializedName: "typeProperties.url", required: true, - serializedName: "typeProperties.variableName", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - variableValue: { - required: true, - serializedName: "typeProperties.variableValue", + timeout: { + serializedName: "typeProperties.timeout", type: { name: "String" } - } - } - } -}; - -export const CmdkeySetup: msRest.CompositeMapper = { - serializedName: "CmdkeySetup", - type: { - name: "Composite", - polymorphicDiscriminator: CustomSetupBase.type.polymorphicDiscriminator, - uberParent: "CustomSetupBase", - className: "CmdkeySetup", - modelProperties: { - ...CustomSetupBase.type.modelProperties, - targetName: { - required: true, - serializedName: "typeProperties.targetName", + }, + headers: { + serializedName: "typeProperties.headers", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - userName: { - required: true, - serializedName: "typeProperties.userName", + body: { + serializedName: "typeProperties.body", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - password: { - required: true, - serializedName: "typeProperties.password", + authentication: { + serializedName: "typeProperties.authentication", type: { name: "Composite", - className: "SecretBase" + className: "WebActivityAuthentication" + } + }, + reportStatusOnCallBack: { + serializedName: "typeProperties.reportStatusOnCallBack", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const IntegrationRuntimeDataProxyProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeDataProxyProperties", +export const CopyActivity: coreClient.CompositeMapper = { + serializedName: "Copy", type: { name: "Composite", - className: "IntegrationRuntimeDataProxyProperties", + className: "CopyActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - connectVia: { - serializedName: "connectVia", + ...ExecutionActivity.type.modelProperties, + inputs: { + serializedName: "inputs", type: { - name: "Composite", - className: "EntityReference" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetReference" + } + } } }, - stagingLinkedService: { - serializedName: "stagingLinkedService", + outputs: { + serializedName: "outputs", type: { - name: "Composite", - className: "EntityReference" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetReference" + } + } } }, - path: { - serializedName: "path", - type: { - name: "String" - } - } - } - } -}; - -export const IntegrationRuntimeCustomSetupScriptProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeCustomSetupScriptProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeCustomSetupScriptProperties", - modelProperties: { - blobContainerUri: { - serializedName: "blobContainerUri", + source: { + serializedName: "typeProperties.source", type: { - name: "String" + name: "Composite", + className: "CopySource" } }, - sasToken: { - serializedName: "sasToken", + sink: { + serializedName: "typeProperties.sink", type: { name: "Composite", - className: "SecureString" + className: "CopySink" } - } - } - } -}; - -export const IntegrationRuntimeSsisCatalogInfo: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeSsisCatalogInfo", - type: { - name: "Composite", - className: "IntegrationRuntimeSsisCatalogInfo", - modelProperties: { - catalogServerEndpoint: { - serializedName: "catalogServerEndpoint", + }, + translator: { + serializedName: "typeProperties.translator", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - catalogAdminUserName: { - serializedName: "catalogAdminUserName", - constraints: { - MaxLength: 128, - MinLength: 1 - }, + enableStaging: { + serializedName: "typeProperties.enableStaging", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - catalogAdminPassword: { - serializedName: "catalogAdminPassword", + stagingSettings: { + serializedName: "typeProperties.stagingSettings", type: { name: "Composite", - className: "SecureString" + className: "StagingSettings" } }, - catalogPricingTier: { - serializedName: "catalogPricingTier", + parallelCopies: { + serializedName: "typeProperties.parallelCopies", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dualStandbyPairName: { - serializedName: "dualStandbyPairName", - type: { - name: "String" - } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const IntegrationRuntimeSsisProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeSsisProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeSsisProperties", - modelProperties: { - catalogInfo: { - serializedName: "catalogInfo", + dataIntegrationUnits: { + serializedName: "typeProperties.dataIntegrationUnits", type: { - name: "Composite", - className: "IntegrationRuntimeSsisCatalogInfo", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - licenseType: { - serializedName: "licenseType", + enableSkipIncompatibleRow: { + serializedName: "typeProperties.enableSkipIncompatibleRow", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - customSetupScriptProperties: { - serializedName: "customSetupScriptProperties", + redirectIncompatibleRowSettings: { + serializedName: "typeProperties.redirectIncompatibleRowSettings", type: { name: "Composite", - className: "IntegrationRuntimeCustomSetupScriptProperties" + className: "RedirectIncompatibleRowSettings" } }, - dataProxyProperties: { - serializedName: "dataProxyProperties", + logStorageSettings: { + serializedName: "typeProperties.logStorageSettings", type: { name: "Composite", - className: "IntegrationRuntimeDataProxyProperties" + className: "LogStorageSettings" } }, - edition: { - serializedName: "edition", + logSettings: { + serializedName: "typeProperties.logSettings", type: { - name: "String" + name: "Composite", + className: "LogSettings" } }, - expressCustomSetupProperties: { - serializedName: "expressCustomSetupProperties", + preserveRules: { + serializedName: "typeProperties.preserveRules", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "CustomSetupBase" + name: "Dictionary", + value: { type: { name: "any" } } } } } }, - packageStores: { - serializedName: "packageStores", + preserve: { + serializedName: "typeProperties.preserve", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "PackageStore" + name: "Dictionary", + value: { type: { name: "any" } } } } } }, - managedCredential: { - serializedName: "managedCredential", + validateDataConsistency: { + serializedName: "typeProperties.validateDataConsistency", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + skipErrorFile: { + serializedName: "typeProperties.skipErrorFile", type: { name: "Composite", - className: "EntityReference" + className: "SkipErrorFile" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeVNetProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeVNetProperties", +export const HDInsightHiveActivity: coreClient.CompositeMapper = { + serializedName: "HDInsightHive", type: { name: "Composite", - className: "IntegrationRuntimeVNetProperties", + className: "HDInsightHiveActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - vNetId: { - serializedName: "vNetId", + ...ExecutionActivity.type.modelProperties, + storageLinkedServices: { + serializedName: "typeProperties.storageLinkedServices", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } } }, - subnet: { - serializedName: "subnet", - type: { - name: "String" - } - }, - publicIPs: { - serializedName: "publicIPs", + arguments: { + serializedName: "typeProperties.arguments", type: { name: "Sequence", element: { type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const IntegrationRuntimeDataFlowProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeDataFlowProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeDataFlowProperties", - modelProperties: { - computeType: { - serializedName: "computeType", + }, + getDebugInfo: { + serializedName: "typeProperties.getDebugInfo", type: { name: "String" } }, - coreCount: { - serializedName: "coreCount", + scriptPath: { + serializedName: "typeProperties.scriptPath", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - timeToLive: { - serializedName: "timeToLive", - constraints: { - InclusiveMinimum: 0 - }, + scriptLinkedService: { + serializedName: "typeProperties.scriptLinkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + defines: { + serializedName: "typeProperties.defines", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } + }, + variables: { + serializedName: "typeProperties.variables", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + }, + queryTimeout: { + serializedName: "typeProperties.queryTimeout", type: { name: "Number" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeComputeProperties: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeComputeProperties", +export const HDInsightPigActivity: coreClient.CompositeMapper = { + serializedName: "HDInsightPig", type: { name: "Composite", - className: "IntegrationRuntimeComputeProperties", + className: "HDInsightPigActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - location: { - serializedName: "location", + ...ExecutionActivity.type.modelProperties, + storageLinkedServices: { + serializedName: "typeProperties.storageLinkedServices", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } } }, - nodeSize: { - serializedName: "nodeSize", + arguments: { + serializedName: "typeProperties.arguments", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - numberOfNodes: { - serializedName: "numberOfNodes", - constraints: { - InclusiveMinimum: 1 - }, + getDebugInfo: { + serializedName: "typeProperties.getDebugInfo", type: { - name: "Number" + name: "String" } }, - maxParallelExecutionsPerNode: { - serializedName: "maxParallelExecutionsPerNode", - constraints: { - InclusiveMinimum: 1 - }, + scriptPath: { + serializedName: "typeProperties.scriptPath", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dataFlowProperties: { - serializedName: "dataFlowProperties", + scriptLinkedService: { + serializedName: "typeProperties.scriptLinkedService", type: { name: "Composite", - className: "IntegrationRuntimeDataFlowProperties", - additionalProperties: { - type: { - name: "Object" - } - } + className: "LinkedServiceReference" } }, - vNetProperties: { - serializedName: "vNetProperties", + defines: { + serializedName: "typeProperties.defines", type: { - name: "Composite", - className: "IntegrationRuntimeVNetProperties", - additionalProperties: { - type: { - name: "Object" - } + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const ManagedIntegrationRuntime: msRest.CompositeMapper = { - serializedName: "Managed", +export const HDInsightMapReduceActivity: coreClient.CompositeMapper = { + serializedName: "HDInsightMapReduce", type: { name: "Composite", - polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, - uberParent: "IntegrationRuntime", - className: "ManagedIntegrationRuntime", + className: "HDInsightMapReduceActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...IntegrationRuntime.type.modelProperties, - state: { - readOnly: true, - serializedName: "state", + ...ExecutionActivity.type.modelProperties, + storageLinkedServices: { + serializedName: "typeProperties.storageLinkedServices", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } } }, - computeProperties: { - serializedName: "typeProperties.computeProperties", + arguments: { + serializedName: "typeProperties.arguments", type: { - name: "Composite", - className: "IntegrationRuntimeComputeProperties", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } }, - ssisProperties: { - serializedName: "typeProperties.ssisProperties", + getDebugInfo: { + serializedName: "typeProperties.getDebugInfo", + type: { + name: "String" + } + }, + className: { + serializedName: "typeProperties.className", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + jarFilePath: { + serializedName: "typeProperties.jarFilePath", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + jarLinkedService: { + serializedName: "typeProperties.jarLinkedService", type: { name: "Composite", - className: "IntegrationRuntimeSsisProperties", - additionalProperties: { + className: "LinkedServiceReference" + } + }, + jarLibs: { + serializedName: "typeProperties.jarLibs", + type: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } }, - managedVirtualNetwork: { - serializedName: "managedVirtualNetwork", - type: { - name: "Composite", - className: "ManagedVirtualNetworkReference" - } - } - }, - additionalProperties: IntegrationRuntime.type.additionalProperties - } -}; - -export const IntegrationRuntimeNodeIpAddress: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeNodeIpAddress", - type: { - name: "Composite", - className: "IntegrationRuntimeNodeIpAddress", - modelProperties: { - ipAddress: { - readOnly: true, - serializedName: "ipAddress", + defines: { + serializedName: "typeProperties.defines", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } } } } }; -export const SsisVariable: msRest.CompositeMapper = { - serializedName: "SsisVariable", +export const HDInsightStreamingActivity: coreClient.CompositeMapper = { + serializedName: "HDInsightStreaming", type: { name: "Composite", - className: "SsisVariable", + className: "HDInsightStreamingActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - id: { - serializedName: "id", + ...ExecutionActivity.type.modelProperties, + storageLinkedServices: { + serializedName: "typeProperties.storageLinkedServices", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } } }, - name: { - serializedName: "name", + arguments: { + serializedName: "typeProperties.arguments", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } }, - description: { - serializedName: "description", + getDebugInfo: { + serializedName: "typeProperties.getDebugInfo", type: { name: "String" } }, - dataType: { - serializedName: "dataType", + mapper: { + serializedName: "typeProperties.mapper", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sensitive: { - serializedName: "sensitive", + reducer: { + serializedName: "typeProperties.reducer", + required: true, type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } } }, - value: { - serializedName: "value", + input: { + serializedName: "typeProperties.input", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - sensitiveValue: { - serializedName: "sensitiveValue", + output: { + serializedName: "typeProperties.output", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } - } - } - } -}; - -export const SsisObjectMetadata: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadata", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "SsisObjectMetadata", - className: "SsisObjectMetadata", - modelProperties: { - id: { - serializedName: "id", + }, + filePaths: { + serializedName: "typeProperties.filePaths", + required: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } }, - name: { - serializedName: "name", + fileLinkedService: { + serializedName: "typeProperties.fileLinkedService", type: { - name: "String" + name: "Composite", + className: "LinkedServiceReference" } }, - description: { - serializedName: "description", + combiner: { + serializedName: "typeProperties.combiner", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - required: true, - serializedName: "type", + commandEnvironment: { + serializedName: "typeProperties.commandEnvironment", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + }, + defines: { + serializedName: "typeProperties.defines", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } } } } }; -export const SsisEnvironment: msRest.CompositeMapper = { - serializedName: "Environment", +export const HDInsightSparkActivity: coreClient.CompositeMapper = { + serializedName: "HDInsightSpark", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisEnvironment", + className: "HDInsightSparkActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", + ...ExecutionActivity.type.modelProperties, + rootPath: { + serializedName: "typeProperties.rootPath", + required: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - variables: { - serializedName: "variables", + entryFilePath: { + serializedName: "typeProperties.entryFilePath", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + arguments: { + serializedName: "typeProperties.arguments", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "SsisVariable" + name: "Dictionary", + value: { type: { name: "any" } } } } } + }, + getDebugInfo: { + serializedName: "typeProperties.getDebugInfo", + type: { + name: "String" + } + }, + sparkJobLinkedService: { + serializedName: "typeProperties.sparkJobLinkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + className: { + serializedName: "typeProperties.className", + type: { + name: "String" + } + }, + proxyUser: { + serializedName: "typeProperties.proxyUser", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sparkConfig: { + serializedName: "typeProperties.sparkConfig", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } } } } }; -export const SsisParameter: msRest.CompositeMapper = { - serializedName: "SsisParameter", +export const ExecuteSsisPackageActivity: coreClient.CompositeMapper = { + serializedName: "ExecuteSSISPackage", type: { name: "Composite", - className: "SsisParameter", + className: "ExecuteSsisPackageActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - id: { - serializedName: "id", + ...ExecutionActivity.type.modelProperties, + packageLocation: { + serializedName: "typeProperties.packageLocation", type: { - name: "Number" + name: "Composite", + className: "SsisPackageLocation" } }, - name: { - serializedName: "name", + runtime: { + serializedName: "typeProperties.runtime", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - description: { - serializedName: "description", + loggingLevel: { + serializedName: "typeProperties.loggingLevel", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - dataType: { - serializedName: "dataType", + environmentPath: { + serializedName: "typeProperties.environmentPath", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - required: { - serializedName: "required", + executionCredential: { + serializedName: "typeProperties.executionCredential", type: { - name: "Boolean" + name: "Composite", + className: "SsisExecutionCredential" } }, - sensitive: { - serializedName: "sensitive", + connectVia: { + serializedName: "typeProperties.connectVia", type: { - name: "Boolean" + name: "Composite", + className: "IntegrationRuntimeReference" } }, - designDefaultValue: { - serializedName: "designDefaultValue", + projectParameters: { + serializedName: "typeProperties.projectParameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Composite", className: "SsisExecutionParameter" } + } } }, - defaultValue: { - serializedName: "defaultValue", + packageParameters: { + serializedName: "typeProperties.packageParameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Composite", className: "SsisExecutionParameter" } + } } }, - sensitiveDefaultValue: { - serializedName: "sensitiveDefaultValue", + projectConnectionManagers: { + serializedName: "typeProperties.projectConnectionManagers", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "SsisExecutionParameter" } + } + } + } } }, - valueType: { - serializedName: "valueType", + packageConnectionManagers: { + serializedName: "typeProperties.packageConnectionManagers", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "SsisExecutionParameter" } + } + } + } } }, - valueSet: { - serializedName: "valueSet", + propertyOverrides: { + serializedName: "typeProperties.propertyOverrides", type: { - name: "Boolean" + name: "Dictionary", + value: { + type: { name: "Composite", className: "SsisPropertyOverride" } + } } }, - variable: { - serializedName: "variable", + logLocation: { + serializedName: "typeProperties.logLocation", type: { - name: "String" + name: "Composite", + className: "SsisLogLocation" } } } } }; -export const SsisPackage: msRest.CompositeMapper = { - serializedName: "Package", +export const CustomActivity: coreClient.CompositeMapper = { + serializedName: "Custom", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisPackage", + className: "CustomActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", + ...ExecutionActivity.type.modelProperties, + command: { + serializedName: "typeProperties.command", + required: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - projectVersion: { - serializedName: "projectVersion", + resourceLinkedService: { + serializedName: "typeProperties.resourceLinkedService", type: { - name: "Number" + name: "Composite", + className: "LinkedServiceReference" } }, - projectId: { - serializedName: "projectId", + folderPath: { + serializedName: "typeProperties.folderPath", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - parameters: { - serializedName: "parameters", + referenceObjects: { + serializedName: "typeProperties.referenceObjects", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SsisParameter" - } + name: "Composite", + className: "CustomActivityReferenceObject" + } + }, + extendedProperties: { + serializedName: "typeProperties.extendedProperties", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } } } + }, + retentionTimeInDays: { + serializedName: "typeProperties.retentionTimeInDays", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + autoUserSpecification: { + serializedName: "typeProperties.autoUserSpecification", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } } } } }; -export const SsisEnvironmentReference: msRest.CompositeMapper = { - serializedName: "SsisEnvironmentReference", +export const SqlServerStoredProcedureActivity: coreClient.CompositeMapper = { + serializedName: "SqlServerStoredProcedure", type: { name: "Composite", - className: "SsisEnvironmentReference", + className: "SqlServerStoredProcedureActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - id: { - serializedName: "id", - type: { - name: "Number" - } - }, - environmentFolderName: { - serializedName: "environmentFolderName", - type: { - name: "String" - } - }, - environmentName: { - serializedName: "environmentName", + ...ExecutionActivity.type.modelProperties, + storedProcedureName: { + serializedName: "typeProperties.storedProcedureName", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - referenceType: { - serializedName: "referenceType", + storedProcedureParameters: { + serializedName: "typeProperties.storedProcedureParameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } + } } } } } }; -export const SsisProject: msRest.CompositeMapper = { - serializedName: "Project", +export const DeleteActivity: coreClient.CompositeMapper = { + serializedName: "Delete", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisProject", + className: "DeleteActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...SsisObjectMetadata.type.modelProperties, - folderId: { - serializedName: "folderId", + ...ExecutionActivity.type.modelProperties, + recursive: { + serializedName: "typeProperties.recursive", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - version: { - serializedName: "version", + maxConcurrentConnections: { + constraints: { + InclusiveMinimum: 1 + }, + serializedName: "typeProperties.maxConcurrentConnections", type: { name: "Number" } }, - environmentRefs: { - serializedName: "environmentRefs", + enableLogging: { + serializedName: "typeProperties.enableLogging", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SsisEnvironmentReference" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - parameters: { - serializedName: "parameters", + logStorageSettings: { + serializedName: "typeProperties.logStorageSettings", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SsisParameter" - } - } + name: "Composite", + className: "LogStorageSettings" + } + }, + dataset: { + serializedName: "typeProperties.dataset", + type: { + name: "Composite", + className: "DatasetReference" + } + }, + storeSettings: { + serializedName: "typeProperties.storeSettings", + type: { + name: "Composite", + className: "StoreReadSettings" } } } } }; -export const SsisFolder: msRest.CompositeMapper = { - serializedName: "Folder", +export const AzureDataExplorerCommandActivity: coreClient.CompositeMapper = { + serializedName: "AzureDataExplorerCommand", type: { name: "Composite", - polymorphicDiscriminator: SsisObjectMetadata.type.polymorphicDiscriminator, - uberParent: "SsisObjectMetadata", - className: "SsisFolder", + className: "AzureDataExplorerCommandActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...SsisObjectMetadata.type.modelProperties + ...ExecutionActivity.type.modelProperties, + command: { + serializedName: "typeProperties.command", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + commandTimeout: { + serializedName: "typeProperties.commandTimeout", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } } }; -export const SsisObjectMetadataListResponse: msRest.CompositeMapper = { - serializedName: "SsisObjectMetadataListResponse", +export const LookupActivity: coreClient.CompositeMapper = { + serializedName: "Lookup", type: { name: "Composite", - className: "SsisObjectMetadataListResponse", + className: "LookupActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - value: { - serializedName: "value", + ...ExecutionActivity.type.modelProperties, + source: { + serializedName: "typeProperties.source", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SsisObjectMetadata" - } - } + name: "Composite", + className: "CopySource" } }, - nextLink: { - serializedName: "nextLink", + dataset: { + serializedName: "typeProperties.dataset", type: { - name: "String" + name: "Composite", + className: "DatasetReference" + } + }, + firstRowOnly: { + serializedName: "typeProperties.firstRowOnly", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const IntegrationRuntimeNodeMonitoringData: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeNodeMonitoringData", +export const WebActivity: coreClient.CompositeMapper = { + serializedName: "WebActivity", type: { name: "Composite", - className: "IntegrationRuntimeNodeMonitoringData", + className: "WebActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - nodeName: { - readOnly: true, - serializedName: "nodeName", + ...ExecutionActivity.type.modelProperties, + method: { + serializedName: "typeProperties.method", + required: true, type: { name: "String" } }, - availableMemoryInMB: { - readOnly: true, - serializedName: "availableMemoryInMB", + url: { + serializedName: "typeProperties.url", + required: true, type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - cpuUtilization: { - readOnly: true, - serializedName: "cpuUtilization", + headers: { + serializedName: "typeProperties.headers", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - concurrentJobsLimit: { - readOnly: true, - serializedName: "concurrentJobsLimit", + body: { + serializedName: "typeProperties.body", type: { - name: "Number" + name: "Dictionary", + value: { type: { name: "any" } } } }, - concurrentJobsRunning: { - readOnly: true, - serializedName: "concurrentJobsRunning", + authentication: { + serializedName: "typeProperties.authentication", type: { - name: "Number" + name: "Composite", + className: "WebActivityAuthentication" } }, - maxConcurrentJobs: { - readOnly: true, - serializedName: "maxConcurrentJobs", + datasets: { + serializedName: "typeProperties.datasets", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetReference" + } + } } }, - sentBytes: { - readOnly: true, - serializedName: "sentBytes", + linkedServices: { + serializedName: "typeProperties.linkedServices", type: { - name: "Number" - } - }, - receivedBytes: { - readOnly: true, - serializedName: "receivedBytes", + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } + } + }, + connectVia: { + serializedName: "typeProperties.connectVia", type: { - name: "Number" + name: "Composite", + className: "IntegrationRuntimeReference" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const IntegrationRuntimeMonitoringData: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeMonitoringData", +export const GetMetadataActivity: coreClient.CompositeMapper = { + serializedName: "GetMetadata", type: { name: "Composite", - className: "IntegrationRuntimeMonitoringData", + className: "GetMetadataActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - name: { - serializedName: "name", + ...ExecutionActivity.type.modelProperties, + dataset: { + serializedName: "typeProperties.dataset", type: { - name: "String" + name: "Composite", + className: "DatasetReference" } }, - nodes: { - serializedName: "nodes", + fieldList: { + serializedName: "typeProperties.fieldList", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "IntegrationRuntimeNodeMonitoringData", - additionalProperties: { - type: { - name: "Object" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } } } + }, + storeSettings: { + serializedName: "typeProperties.storeSettings", + type: { + name: "Composite", + className: "StoreReadSettings" + } + }, + formatSettings: { + serializedName: "typeProperties.formatSettings", + type: { + name: "Composite", + className: "FormatReadSettings" + } } } } }; -export const IntegrationRuntimeAuthKeys: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeAuthKeys", +export const AzureMLBatchExecutionActivity: coreClient.CompositeMapper = { + serializedName: "AzureMLBatchExecution", type: { name: "Composite", - className: "IntegrationRuntimeAuthKeys", + className: "AzureMLBatchExecutionActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - authKey1: { - serializedName: "authKey1", + ...ExecutionActivity.type.modelProperties, + globalParameters: { + serializedName: "typeProperties.globalParameters", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } } }, - authKey2: { - serializedName: "authKey2", + webServiceOutputs: { + serializedName: "typeProperties.webServiceOutputs", type: { - name: "String" + name: "Dictionary", + value: { + type: { name: "Composite", className: "AzureMLWebServiceFile" } + } + } + }, + webServiceInputs: { + serializedName: "typeProperties.webServiceInputs", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "AzureMLWebServiceFile" } + } } } } } }; -export const IntegrationRuntimeRegenerateKeyParameters: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeRegenerateKeyParameters", +export const AzureMLUpdateResourceActivity: coreClient.CompositeMapper = { + serializedName: "AzureMLUpdateResource", type: { name: "Composite", - className: "IntegrationRuntimeRegenerateKeyParameters", + className: "AzureMLUpdateResourceActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - keyName: { - serializedName: "keyName", + ...ExecutionActivity.type.modelProperties, + trainedModelName: { + serializedName: "typeProperties.trainedModelName", + required: true, type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + trainedModelLinkedServiceName: { + serializedName: "typeProperties.trainedModelLinkedServiceName", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + trainedModelFilePath: { + serializedName: "typeProperties.trainedModelFilePath", + required: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const IntegrationRuntimeConnectionInfo: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeConnectionInfo", +export const AzureMLExecutePipelineActivity: coreClient.CompositeMapper = { + serializedName: "AzureMLExecutePipeline", type: { name: "Composite", - className: "IntegrationRuntimeConnectionInfo", + className: "AzureMLExecutePipelineActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - serviceToken: { - readOnly: true, - serializedName: "serviceToken", + ...ExecutionActivity.type.modelProperties, + mlPipelineId: { + serializedName: "typeProperties.mlPipelineId", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - identityCertThumbprint: { - readOnly: true, - serializedName: "identityCertThumbprint", + mlPipelineEndpointId: { + serializedName: "typeProperties.mlPipelineEndpointId", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - hostServiceUri: { - readOnly: true, - serializedName: "hostServiceUri", + version: { + serializedName: "typeProperties.version", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - version: { - readOnly: true, - serializedName: "version", + experimentName: { + serializedName: "typeProperties.experimentName", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - publicKey: { - readOnly: true, - serializedName: "publicKey", + mlPipelineParameters: { + serializedName: "typeProperties.mlPipelineParameters", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } }, - isIdentityCertExprired: { - readOnly: true, - serializedName: "isIdentityCertExprired", + dataPathAssignments: { + serializedName: "typeProperties.dataPathAssignments", type: { - name: "Boolean" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + mlParentRunId: { + serializedName: "typeProperties.mlParentRunId", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + continueOnStepFailure: { + serializedName: "typeProperties.continueOnStepFailure", + type: { + name: "Dictionary", + value: { type: { name: "any" } } } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const DatasetDataElement: msRest.CompositeMapper = { - serializedName: "DatasetDataElement", +export const DataLakeAnalyticsUsqlActivity: coreClient.CompositeMapper = { + serializedName: "DataLakeAnalyticsU-SQL", type: { name: "Composite", - className: "DatasetDataElement", + className: "DataLakeAnalyticsUsqlActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - name: { - serializedName: "name", + ...ExecutionActivity.type.modelProperties, + scriptPath: { + serializedName: "typeProperties.scriptPath", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - serializedName: "type", + scriptLinkedService: { + serializedName: "typeProperties.scriptLinkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + degreeOfParallelism: { + serializedName: "typeProperties.degreeOfParallelism", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + priority: { + serializedName: "typeProperties.priority", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + parameters: { + serializedName: "typeProperties.parameters", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } + }, + runtimeVersion: { + serializedName: "typeProperties.runtimeVersion", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + compilationMode: { + serializedName: "typeProperties.compilationMode", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const DatasetSchemaDataElement: msRest.CompositeMapper = { - serializedName: "DatasetSchemaDataElement", +export const DatabricksNotebookActivity: coreClient.CompositeMapper = { + serializedName: "DatabricksNotebook", type: { name: "Composite", - className: "DatasetSchemaDataElement", + className: "DatabricksNotebookActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - name: { - serializedName: "name", + ...ExecutionActivity.type.modelProperties, + notebookPath: { + serializedName: "typeProperties.notebookPath", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - type: { - serializedName: "type", + baseParameters: { + serializedName: "typeProperties.baseParameters", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } + }, + libraries: { + serializedName: "typeProperties.libraries", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } + } } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const CopyTranslator: msRest.CompositeMapper = { - serializedName: "CopyTranslator", +export const DatabricksSparkJarActivity: coreClient.CompositeMapper = { + serializedName: "DatabricksSparkJar", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "CopyTranslator", - className: "CopyTranslator", + className: "DatabricksSparkJarActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - type: { + ...ExecutionActivity.type.modelProperties, + mainClassName: { + serializedName: "typeProperties.mainClassName", required: true, - serializedName: "type", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + parameters: { + serializedName: "typeProperties.parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + }, + libraries: { + serializedName: "typeProperties.libraries", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } + } } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const TypeConversionSettings: msRest.CompositeMapper = { - serializedName: "TypeConversionSettings", +export const DatabricksSparkPythonActivity: coreClient.CompositeMapper = { + serializedName: "DatabricksSparkPython", type: { name: "Composite", - className: "TypeConversionSettings", + className: "DatabricksSparkPythonActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - allowDataTruncation: { - serializedName: "allowDataTruncation", + ...ExecutionActivity.type.modelProperties, + pythonFile: { + serializedName: "typeProperties.pythonFile", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - treatBooleanAsNumber: { - serializedName: "treatBooleanAsNumber", + parameters: { + serializedName: "typeProperties.parameters", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } }, - dateTimeFormat: { - serializedName: "dateTimeFormat", + libraries: { + serializedName: "typeProperties.libraries", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } + } + } + } + } + } +}; + +export const AzureFunctionActivity: coreClient.CompositeMapper = { + serializedName: "AzureFunctionActivity", + type: { + name: "Composite", + className: "AzureFunctionActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + modelProperties: { + ...ExecutionActivity.type.modelProperties, + method: { + serializedName: "typeProperties.method", + required: true, type: { - name: "Object" + name: "String" } }, - dateTimeOffsetFormat: { - serializedName: "dateTimeOffsetFormat", + functionName: { + serializedName: "typeProperties.functionName", + required: true, type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - timeSpanFormat: { - serializedName: "timeSpanFormat", + headers: { + serializedName: "typeProperties.headers", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - culture: { - serializedName: "culture", + body: { + serializedName: "typeProperties.body", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const TabularTranslator: msRest.CompositeMapper = { - serializedName: "TabularTranslator", +export const ExecuteDataFlowActivity: coreClient.CompositeMapper = { + serializedName: "ExecuteDataFlow", type: { name: "Composite", - polymorphicDiscriminator: CopyTranslator.type.polymorphicDiscriminator, - uberParent: "CopyTranslator", - className: "TabularTranslator", + className: "ExecuteDataFlowActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, modelProperties: { - ...CopyTranslator.type.modelProperties, - columnMappings: { - serializedName: "columnMappings", + ...ExecutionActivity.type.modelProperties, + dataFlow: { + serializedName: "typeProperties.dataFlow", type: { - name: "Object" + name: "Composite", + className: "DataFlowReference" } }, - schemaMapping: { - serializedName: "schemaMapping", + staging: { + serializedName: "typeProperties.staging", type: { - name: "Object" + name: "Composite", + className: "DataFlowStagingInfo" } }, - collectionReference: { - serializedName: "collectionReference", + integrationRuntime: { + serializedName: "typeProperties.integrationRuntime", type: { - name: "Object" + name: "Composite", + className: "IntegrationRuntimeReference" } }, - mapComplexValuesToString: { - serializedName: "mapComplexValuesToString", + compute: { + serializedName: "typeProperties.compute", type: { - name: "Object" + name: "Composite", + className: "ExecuteDataFlowActivityTypePropertiesCompute" } }, - mappings: { - serializedName: "mappings", + traceLevel: { + serializedName: "typeProperties.traceLevel", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - typeConversion: { - serializedName: "typeConversion", + continueOnError: { + serializedName: "typeProperties.continueOnError", type: { - name: "Object" + name: "Dictionary", + value: { type: { name: "any" } } } }, - typeConversionSettings: { - serializedName: "typeConversionSettings", + runConcurrently: { + serializedName: "typeProperties.runConcurrently", type: { - name: "Composite", - className: "TypeConversionSettings" + name: "Dictionary", + value: { type: { name: "any" } } } } - }, - additionalProperties: CopyTranslator.type.additionalProperties + } } }; -export const DataFlowDebugSessionCreateHeaders: msRest.CompositeMapper = { - serializedName: "dataflowdebugsession-create-headers", +export const ScheduleTrigger: coreClient.CompositeMapper = { + serializedName: "ScheduleTrigger", type: { name: "Composite", - className: "DataFlowDebugSessionCreateHeaders", + className: "ScheduleTrigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, modelProperties: { - location: { - serializedName: "location", + ...MultiplePipelineTrigger.type.modelProperties, + recurrence: { + serializedName: "typeProperties.recurrence", type: { - name: "String" + name: "Composite", + className: "ScheduleTriggerRecurrence" } } } } }; -export const DataFlowDebugSessionExecuteCommandHeaders: msRest.CompositeMapper = { - serializedName: "dataflowdebugsession-executecommand-headers", +export const BlobTrigger: coreClient.CompositeMapper = { + serializedName: "BlobTrigger", type: { name: "Composite", - className: "DataFlowDebugSessionExecuteCommandHeaders", + className: "BlobTrigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, modelProperties: { - location: { - serializedName: "location", + ...MultiplePipelineTrigger.type.modelProperties, + folderPath: { + serializedName: "typeProperties.folderPath", + required: true, type: { name: "String" } + }, + maxConcurrency: { + serializedName: "typeProperties.maxConcurrency", + required: true, + type: { + name: "Number" + } + }, + linkedService: { + serializedName: "typeProperties.linkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } } } } }; -export const OperationListResponse: msRest.CompositeMapper = { - serializedName: "OperationListResponse", +export const BlobEventsTrigger: coreClient.CompositeMapper = { + serializedName: "BlobEventsTrigger", type: { name: "Composite", - className: "OperationListResponse", + className: "BlobEventsTrigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, modelProperties: { - value: { - serializedName: "", + ...MultiplePipelineTrigger.type.modelProperties, + blobPathBeginsWith: { + serializedName: "typeProperties.blobPathBeginsWith", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Operation" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + blobPathEndsWith: { + serializedName: "typeProperties.blobPathEndsWith", type: { name: "String" } - } - } - } -}; - -export const FactoryListResponse: msRest.CompositeMapper = { - serializedName: "FactoryListResponse", - type: { - name: "Composite", - className: "FactoryListResponse", - modelProperties: { - value: { + }, + ignoreEmptyBlobs: { + serializedName: "typeProperties.ignoreEmptyBlobs", + type: { + name: "Boolean" + } + }, + events: { + serializedName: "typeProperties.events", required: true, - serializedName: "", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Factory", - additionalProperties: { - type: { - name: "Object" - } - } + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", + scope: { + serializedName: "typeProperties.scope", + required: true, type: { name: "String" } @@ -25338,27 +25144,44 @@ export const FactoryListResponse: msRest.CompositeMapper = { } }; -export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { - serializedName: "IntegrationRuntimeListResponse", +export const CustomEventsTrigger: coreClient.CompositeMapper = { + serializedName: "CustomEventsTrigger", type: { name: "Composite", - className: "IntegrationRuntimeListResponse", + className: "CustomEventsTrigger", + uberParent: "Trigger", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, modelProperties: { - value: { + ...MultiplePipelineTrigger.type.modelProperties, + subjectBeginsWith: { + serializedName: "typeProperties.subjectBeginsWith", + type: { + name: "String" + } + }, + subjectEndsWith: { + serializedName: "typeProperties.subjectEndsWith", + type: { + name: "String" + } + }, + events: { + serializedName: "typeProperties.events", required: true, - serializedName: "", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "IntegrationRuntimeResource" + name: "Dictionary", + value: { type: { name: "any" } } } } } }, - nextLink: { - serializedName: "nextLink", + scope: { + serializedName: "typeProperties.scope", + required: true, type: { name: "String" } @@ -25367,27 +25190,14 @@ export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { } }; -export const LinkedServiceListResponse: msRest.CompositeMapper = { - serializedName: "LinkedServiceListResponse", +export const PowerQuerySource: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LinkedServiceListResponse", + className: "PowerQuerySource", modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceResource" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + ...DataFlowSource.type.modelProperties, + script: { + serializedName: "script", type: { name: "String" } @@ -25396,27 +25206,14 @@ export const LinkedServiceListResponse: msRest.CompositeMapper = { } }; -export const DatasetListResponse: msRest.CompositeMapper = { - serializedName: "DatasetListResponse", +export const PowerQuerySink: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DatasetListResponse", + className: "PowerQuerySink", modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DatasetResource" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + ...DataFlowSink.type.modelProperties, + script: { + serializedName: "script", type: { name: "String" } @@ -25425,210 +25222,200 @@ export const DatasetListResponse: msRest.CompositeMapper = { } }; -export const PipelineListResponse: msRest.CompositeMapper = { - serializedName: "PipelineListResponse", +export const AzureTableSource: coreClient.CompositeMapper = { + serializedName: "AzureTableSource", type: { name: "Composite", - className: "PipelineListResponse", + className: "AzureTableSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - value: { - required: true, - serializedName: "", + ...TabularSource.type.modelProperties, + azureTableSourceQuery: { + serializedName: "azureTableSourceQuery", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PipelineResource", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - nextLink: { - serializedName: "nextLink", + azureTableSourceIgnoreTableNotFound: { + serializedName: "azureTableSourceIgnoreTableNotFound", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const TriggerListResponse: msRest.CompositeMapper = { - serializedName: "TriggerListResponse", +export const InformixSource: coreClient.CompositeMapper = { + serializedName: "InformixSource", type: { name: "Composite", - className: "TriggerListResponse", + className: "InformixSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TriggerResource" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const DataFlowListResponse: msRest.CompositeMapper = { - serializedName: "DataFlowListResponse", +export const Db2Source: coreClient.CompositeMapper = { + serializedName: "Db2Source", type: { name: "Composite", - className: "DataFlowListResponse", + className: "Db2Source", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataFlowResource" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const QueryDataFlowDebugSessionsResponse: msRest.CompositeMapper = { - serializedName: "QueryDataFlowDebugSessionsResponse", +export const OdbcSource: coreClient.CompositeMapper = { + serializedName: "OdbcSource", type: { name: "Composite", - className: "QueryDataFlowDebugSessionsResponse", + className: "OdbcSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DataFlowDebugSessionInfo", - additionalProperties: { - type: { - name: "Object" - } - } - } - } - } - }, - nextLink: { - serializedName: "nextLink", + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const ManagedVirtualNetworkListResponse: msRest.CompositeMapper = { - serializedName: "ManagedVirtualNetworkListResponse", +export const MySqlSource: coreClient.CompositeMapper = { + serializedName: "MySqlSource", type: { name: "Composite", - className: "ManagedVirtualNetworkListResponse", + className: "MySqlSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - value: { - required: true, - serializedName: "", + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedVirtualNetworkResource" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - }, - nextLink: { - serializedName: "nextLink", + } + } + } +}; + +export const PostgreSqlSource: coreClient.CompositeMapper = { + serializedName: "PostgreSqlSource", + type: { + name: "Composite", + className: "PostgreSqlSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const ManagedPrivateEndpointListResponse: msRest.CompositeMapper = { - serializedName: "managedPrivateEndpointListResponse", +export const SybaseSource: coreClient.CompositeMapper = { + serializedName: "SybaseSource", type: { name: "Composite", - className: "ManagedPrivateEndpointListResponse", + className: "SybaseSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - value: { - required: true, - serializedName: "", + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedPrivateEndpointResource" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } - }, - nextLink: { - serializedName: "nextLink", + } + } + } +}; + +export const SapBwSource: coreClient.CompositeMapper = { + serializedName: "SapBwSource", + type: { + name: "Composite", + className: "SapBwSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const PrivateEndpointConnectionListResponse: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnectionListResponse", +export const SalesforceSource: coreClient.CompositeMapper = { + serializedName: "SalesforceSource", type: { name: "Composite", - className: "PrivateEndpointConnectionListResponse", + className: "SalesforceSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, modelProperties: { - value: { - required: true, - serializedName: "", + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PrivateEndpointConnectionResource" - } - } + name: "Dictionary", + value: { type: { name: "any" } } } }, - nextLink: { - serializedName: "nextLink", + readBehavior: { + serializedName: "readBehavior", type: { name: "String" } @@ -25637,486 +25424,1964 @@ export const PrivateEndpointConnectionListResponse: msRest.CompositeMapper = { } }; -export const discriminators = { - "SecretBase.SecureString": SecureString, - "SecretBase.AzureKeyVaultSecret": AzureKeyVaultSecretReference, - SecretBase: SecretBase, - FactoryRepoConfiguration: FactoryRepoConfiguration, - IntegrationRuntime: IntegrationRuntime, - IntegrationRuntimeStatus: IntegrationRuntimeStatus, - LinkedService: LinkedService, - Dataset: Dataset, - Activity: Activity, - Trigger: Trigger, - "FactoryRepoConfiguration.FactoryVSTSConfiguration": FactoryVSTSConfiguration, - "FactoryRepoConfiguration.FactoryGitHubConfiguration": FactoryGitHubConfiguration, - DataFlow: DataFlow, - "DataFlow.MappingDataFlow": MappingDataFlow, - "LinkedService.SharePointOnlineList": SharePointOnlineListLinkedService, - "LinkedService.Snowflake": SnowflakeLinkedService, - "LinkedService.AzureFunction": AzureFunctionLinkedService, - "LinkedService.AzureDataExplorer": AzureDataExplorerLinkedService, - "LinkedService.SapTable": SapTableLinkedService, - "LinkedService.GoogleAdWords": GoogleAdWordsLinkedService, - "LinkedService.OracleServiceCloud": OracleServiceCloudLinkedService, - "LinkedService.DynamicsAX": DynamicsAXLinkedService, - "LinkedService.Responsys": ResponsysLinkedService, - "LinkedService.AzureDatabricksDeltaLake": AzureDatabricksDeltaLakeLinkedService, - "LinkedService.AzureDatabricks": AzureDatabricksLinkedService, - "LinkedService.AzureDataLakeAnalytics": AzureDataLakeAnalyticsLinkedService, - "LinkedService.HDInsightOnDemand": HDInsightOnDemandLinkedService, - "LinkedService.SalesforceMarketingCloud": SalesforceMarketingCloudLinkedService, - "LinkedService.Netezza": NetezzaLinkedService, - "LinkedService.Vertica": VerticaLinkedService, - "LinkedService.Zoho": ZohoLinkedService, - "LinkedService.Xero": XeroLinkedService, - "LinkedService.Square": SquareLinkedService, - "LinkedService.Spark": SparkLinkedService, - "LinkedService.Shopify": ShopifyLinkedService, - "LinkedService.ServiceNow": ServiceNowLinkedService, - "LinkedService.QuickBooks": QuickBooksLinkedService, - "LinkedService.Presto": PrestoLinkedService, - "LinkedService.Phoenix": PhoenixLinkedService, - "LinkedService.Paypal": PaypalLinkedService, - "LinkedService.Marketo": MarketoLinkedService, - "LinkedService.AzureMariaDB": AzureMariaDBLinkedService, - "LinkedService.MariaDB": MariaDBLinkedService, - "LinkedService.Magento": MagentoLinkedService, - "LinkedService.Jira": JiraLinkedService, - "LinkedService.Impala": ImpalaLinkedService, - "LinkedService.Hubspot": HubspotLinkedService, - "LinkedService.Hive": HiveLinkedService, - "LinkedService.HBase": HBaseLinkedService, - "LinkedService.Greenplum": GreenplumLinkedService, - "LinkedService.GoogleBigQuery": GoogleBigQueryLinkedService, - "LinkedService.Eloqua": EloquaLinkedService, - "LinkedService.Drill": DrillLinkedService, - "LinkedService.Couchbase": CouchbaseLinkedService, - "LinkedService.Concur": ConcurLinkedService, - "LinkedService.AzurePostgreSql": AzurePostgreSqlLinkedService, - "LinkedService.AmazonMWS": AmazonMWSLinkedService, - "LinkedService.SapHana": SapHanaLinkedService, - "LinkedService.SapBW": SapBWLinkedService, - "LinkedService.Sftp": SftpServerLinkedService, - "LinkedService.FtpServer": FtpServerLinkedService, - "LinkedService.HttpServer": HttpLinkedService, - "LinkedService.AzureSearch": AzureSearchLinkedService, - "LinkedService.CustomDataSource": CustomDataSourceLinkedService, - "LinkedService.AmazonRedshift": AmazonRedshiftLinkedService, - "LinkedService.AmazonS3": AmazonS3LinkedService, - "LinkedService.RestService": RestServiceLinkedService, - "LinkedService.SapOpenHub": SapOpenHubLinkedService, - "LinkedService.SapEcc": SapEccLinkedService, - "LinkedService.SapCloudForCustomer": SapCloudForCustomerLinkedService, - "LinkedService.SalesforceServiceCloud": SalesforceServiceCloudLinkedService, - "LinkedService.Salesforce": SalesforceLinkedService, - "LinkedService.Office365": Office365LinkedService, - "LinkedService.AzureBlobFS": AzureBlobFSLinkedService, - "LinkedService.AzureDataLakeStore": AzureDataLakeStoreLinkedService, - "LinkedService.CosmosDbMongoDbApi": CosmosDbMongoDbApiLinkedService, - "LinkedService.MongoDbV2": MongoDbV2LinkedService, - "LinkedService.MongoDbAtlas": MongoDbAtlasLinkedService, - "LinkedService.MongoDb": MongoDbLinkedService, - "LinkedService.Cassandra": CassandraLinkedService, - "WebLinkedServiceTypeProperties.ClientCertificate": WebClientCertificateAuthentication, - "WebLinkedServiceTypeProperties.Basic": WebBasicAuthentication, - "WebLinkedServiceTypeProperties.Anonymous": WebAnonymousAuthentication, - WebLinkedServiceTypeProperties: WebLinkedServiceTypeProperties, - "LinkedService.Web": WebLinkedService, - "LinkedService.OData": ODataLinkedService, - "LinkedService.Hdfs": HdfsLinkedService, - "LinkedService.MicrosoftAccess": MicrosoftAccessLinkedService, - "LinkedService.Informix": InformixLinkedService, - "LinkedService.Odbc": OdbcLinkedService, - "LinkedService.AzureMLService": AzureMLServiceLinkedService, - "LinkedService.AzureML": AzureMLLinkedService, - "LinkedService.Teradata": TeradataLinkedService, - "LinkedService.Db2": Db2LinkedService, - "LinkedService.Sybase": SybaseLinkedService, - "LinkedService.PostgreSql": PostgreSqlLinkedService, - "LinkedService.MySql": MySqlLinkedService, - "LinkedService.AzureMySql": AzureMySqlLinkedService, - "LinkedService.Oracle": OracleLinkedService, - "LinkedService.GoogleCloudStorage": GoogleCloudStorageLinkedService, - "LinkedService.OracleCloudStorage": OracleCloudStorageLinkedService, - "LinkedService.AmazonS3Compatible": AmazonS3CompatibleLinkedService, - "LinkedService.AzureFileStorage": AzureFileStorageLinkedService, - "LinkedService.FileServer": FileServerLinkedService, - "LinkedService.HDInsight": HDInsightLinkedService, - "LinkedService.CommonDataServiceForApps": CommonDataServiceForAppsLinkedService, - "LinkedService.DynamicsCrm": DynamicsCrmLinkedService, - "LinkedService.Dynamics": DynamicsLinkedService, - "LinkedService.CosmosDb": CosmosDbLinkedService, - "LinkedService.AzureKeyVault": AzureKeyVaultLinkedService, - "LinkedService.AzureBatch": AzureBatchLinkedService, - "LinkedService.AzureSqlMI": AzureSqlMILinkedService, - "LinkedService.AzureSqlDatabase": AzureSqlDatabaseLinkedService, - "LinkedService.SqlServer": SqlServerLinkedService, - "LinkedService.AzureSqlDW": AzureSqlDWLinkedService, - "LinkedService.AzureTableStorage": AzureTableStorageLinkedService, - "LinkedService.AzureBlobStorage": AzureBlobStorageLinkedService, - "LinkedService.AzureStorage": AzureStorageLinkedService, - "Dataset.AzureDatabricksDeltaLakeDataset": AzureDatabricksDeltaLakeDataset, - "Dataset.SharePointOnlineListResource": SharePointOnlineListResourceDataset, - "Dataset.SnowflakeTable": SnowflakeDataset, - "Dataset.GoogleAdWordsObject": GoogleAdWordsObjectDataset, - "Dataset.AzureDataExplorerTable": AzureDataExplorerTableDataset, - "Dataset.OracleServiceCloudObject": OracleServiceCloudObjectDataset, - "Dataset.DynamicsAXResource": DynamicsAXResourceDataset, - "Dataset.ResponsysObject": ResponsysObjectDataset, - "Dataset.SalesforceMarketingCloudObject": SalesforceMarketingCloudObjectDataset, - "Dataset.VerticaTable": VerticaTableDataset, - "Dataset.NetezzaTable": NetezzaTableDataset, - "Dataset.ZohoObject": ZohoObjectDataset, - "Dataset.XeroObject": XeroObjectDataset, - "Dataset.SquareObject": SquareObjectDataset, - "Dataset.SparkObject": SparkObjectDataset, - "Dataset.ShopifyObject": ShopifyObjectDataset, - "Dataset.ServiceNowObject": ServiceNowObjectDataset, - "Dataset.QuickBooksObject": QuickBooksObjectDataset, - "Dataset.PrestoObject": PrestoObjectDataset, - "Dataset.PhoenixObject": PhoenixObjectDataset, - "Dataset.PaypalObject": PaypalObjectDataset, - "Dataset.MarketoObject": MarketoObjectDataset, - "Dataset.AzureMariaDBTable": AzureMariaDBTableDataset, - "Dataset.MariaDBTable": MariaDBTableDataset, - "Dataset.MagentoObject": MagentoObjectDataset, - "Dataset.JiraObject": JiraObjectDataset, - "Dataset.ImpalaObject": ImpalaObjectDataset, - "Dataset.HubspotObject": HubspotObjectDataset, - "Dataset.HiveObject": HiveObjectDataset, - "Dataset.HBaseObject": HBaseObjectDataset, - "Dataset.GreenplumTable": GreenplumTableDataset, - "Dataset.GoogleBigQueryObject": GoogleBigQueryObjectDataset, - "Dataset.EloquaObject": EloquaObjectDataset, - "Dataset.DrillTable": DrillTableDataset, - "Dataset.CouchbaseTable": CouchbaseTableDataset, - "Dataset.ConcurObject": ConcurObjectDataset, - "Dataset.AzurePostgreSqlTable": AzurePostgreSqlTableDataset, - "Dataset.AmazonMWSObject": AmazonMWSObjectDataset, - "DatasetCompression.TarGZip": DatasetTarGZipCompression, - "DatasetCompression.Tar": DatasetTarCompression, - "DatasetCompression.ZipDeflate": DatasetZipDeflateCompression, - "DatasetCompression.Deflate": DatasetDeflateCompression, - "DatasetCompression.GZip": DatasetGZipCompression, - "DatasetCompression.BZip2": DatasetBZip2Compression, - DatasetCompression: DatasetCompression, - "DatasetStorageFormat.ParquetFormat": ParquetFormat, - "DatasetStorageFormat.OrcFormat": OrcFormat, - "DatasetStorageFormat.AvroFormat": AvroFormat, - "DatasetStorageFormat.JsonFormat": JsonFormat, - "DatasetStorageFormat.TextFormat": TextFormat, - DatasetStorageFormat: DatasetStorageFormat, - "Dataset.HttpFile": HttpDataset, - "Dataset.AzureSearchIndex": AzureSearchIndexDataset, - "Dataset.WebTable": WebTableDataset, - "Dataset.SapTableResource": SapTableResourceDataset, - "Dataset.RestResource": RestResourceDataset, - "Dataset.SqlServerTable": SqlServerTableDataset, - "Dataset.SapOpenHubTable": SapOpenHubTableDataset, - "Dataset.SapHanaTable": SapHanaTableDataset, - "Dataset.SapEccResource": SapEccResourceDataset, - "Dataset.SapCloudForCustomerResource": SapCloudForCustomerResourceDataset, - "Dataset.SapBwCube": SapBwCubeDataset, - "Dataset.SybaseTable": SybaseTableDataset, - "Dataset.SalesforceServiceCloudObject": SalesforceServiceCloudObjectDataset, - "Dataset.SalesforceObject": SalesforceObjectDataset, - "Dataset.MicrosoftAccessTable": MicrosoftAccessTableDataset, - "Dataset.PostgreSqlTable": PostgreSqlTableDataset, - "Dataset.MySqlTable": MySqlTableDataset, - "Dataset.OdbcTable": OdbcTableDataset, - "Dataset.InformixTable": InformixTableDataset, - "Dataset.RelationalTable": RelationalTableDataset, - "Dataset.Db2Table": Db2TableDataset, - "Dataset.AmazonRedshiftTable": AmazonRedshiftTableDataset, - "Dataset.AzureMySqlTable": AzureMySqlTableDataset, - "Dataset.TeradataTable": TeradataTableDataset, - "Dataset.OracleTable": OracleTableDataset, - "Dataset.ODataResource": ODataResourceDataset, - "Dataset.CosmosDbMongoDbApiCollection": CosmosDbMongoDbApiCollectionDataset, - "Dataset.MongoDbV2Collection": MongoDbV2CollectionDataset, - "Dataset.MongoDbAtlasCollection": MongoDbAtlasCollectionDataset, - "Dataset.MongoDbCollection": MongoDbCollectionDataset, - "Dataset.FileShare": FileShareDataset, - "Dataset.Office365Table": Office365Dataset, - "Dataset.AzureBlobFSFile": AzureBlobFSDataset, - "Dataset.AzureDataLakeStoreFile": AzureDataLakeStoreDataset, - "Dataset.CommonDataServiceForAppsEntity": CommonDataServiceForAppsEntityDataset, - "Dataset.DynamicsCrmEntity": DynamicsCrmEntityDataset, - "Dataset.DynamicsEntity": DynamicsEntityDataset, - "Dataset.DocumentDbCollection": DocumentDbCollectionDataset, - "Dataset.CosmosDbSqlApiCollection": CosmosDbSqlApiCollectionDataset, - "Dataset.CustomDataset": CustomDataset, - "Dataset.CassandraTable": CassandraTableDataset, - "Dataset.AzureSqlDWTable": AzureSqlDWTableDataset, - "Dataset.AzureSqlMITable": AzureSqlMITableDataset, - "Dataset.AzureSqlTable": AzureSqlTableDataset, - "Dataset.AzureTable": AzureTableDataset, - "Dataset.AzureBlob": AzureBlobDataset, - "DatasetLocation.HdfsLocation": HdfsLocation, - "DatasetLocation.HttpServerLocation": HttpServerLocation, - "DatasetLocation.SftpLocation": SftpLocation, - "DatasetLocation.FtpServerLocation": FtpServerLocation, - "DatasetLocation.GoogleCloudStorageLocation": GoogleCloudStorageLocation, - "DatasetLocation.OracleCloudStorageLocation": OracleCloudStorageLocation, - "DatasetLocation.AmazonS3CompatibleLocation": AmazonS3CompatibleLocation, - "DatasetLocation.AzureFileStorageLocation": AzureFileStorageLocation, - "DatasetLocation.FileServerLocation": FileServerLocation, - "DatasetLocation.AmazonS3Location": AmazonS3Location, - "DatasetLocation.AzureDataLakeStoreLocation": AzureDataLakeStoreLocation, - "DatasetLocation.AzureBlobFSLocation": AzureBlobFSLocation, - "DatasetLocation.AzureBlobStorageLocation": AzureBlobStorageLocation, +export const SapCloudForCustomerSource: coreClient.CompositeMapper = { + serializedName: "SapCloudForCustomerSource", + type: { + name: "Composite", + className: "SapCloudForCustomerSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SapEccSource: coreClient.CompositeMapper = { + serializedName: "SapEccSource", + type: { + name: "Composite", + className: "SapEccSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SapHanaSource: coreClient.CompositeMapper = { + serializedName: "SapHanaSource", + type: { + name: "Composite", + className: "SapHanaSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + packetSize: { + serializedName: "packetSize", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SapHanaPartitionSettings" + } + } + } + } +}; + +export const SapOpenHubSource: coreClient.CompositeMapper = { + serializedName: "SapOpenHubSource", + type: { + name: "Composite", + className: "SapOpenHubSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + excludeLastRequest: { + serializedName: "excludeLastRequest", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + baseRequestId: { + serializedName: "baseRequestId", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + customRfcReadTableFunctionModule: { + serializedName: "customRfcReadTableFunctionModule", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sapDataColumnDelimiter: { + serializedName: "sapDataColumnDelimiter", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SapTableSource: coreClient.CompositeMapper = { + serializedName: "SapTableSource", + type: { + name: "Composite", + className: "SapTableSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + rowCount: { + serializedName: "rowCount", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + rowSkips: { + serializedName: "rowSkips", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + rfcTableFields: { + serializedName: "rfcTableFields", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + rfcTableOptions: { + serializedName: "rfcTableOptions", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + batchSize: { + serializedName: "batchSize", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + customRfcReadTableFunctionModule: { + serializedName: "customRfcReadTableFunctionModule", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sapDataColumnDelimiter: { + serializedName: "sapDataColumnDelimiter", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SapTablePartitionSettings" + } + } + } + } +}; + +export const SqlSource: coreClient.CompositeMapper = { + serializedName: "SqlSource", + type: { + name: "Composite", + className: "SqlSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + sqlReaderQuery: { + serializedName: "sqlReaderQuery", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sqlReaderStoredProcedureName: { + serializedName: "sqlReaderStoredProcedureName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } + } + } + }, + isolationLevel: { + serializedName: "isolationLevel", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } + } + } + } +}; + +export const SqlServerSource: coreClient.CompositeMapper = { + serializedName: "SqlServerSource", + type: { + name: "Composite", + className: "SqlServerSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + sqlReaderQuery: { + serializedName: "sqlReaderQuery", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sqlReaderStoredProcedureName: { + serializedName: "sqlReaderStoredProcedureName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } + } + } + }, + produceAdditionalTypes: { + serializedName: "produceAdditionalTypes", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } + } + } + } +}; + +export const AmazonRdsForSqlServerSource: coreClient.CompositeMapper = { + serializedName: "AmazonRdsForSqlServerSource", + type: { + name: "Composite", + className: "AmazonRdsForSqlServerSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + sqlReaderQuery: { + serializedName: "sqlReaderQuery", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sqlReaderStoredProcedureName: { + serializedName: "sqlReaderStoredProcedureName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } + } + } + }, + produceAdditionalTypes: { + serializedName: "produceAdditionalTypes", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } + } + } + } +}; + +export const AzureSqlSource: coreClient.CompositeMapper = { + serializedName: "AzureSqlSource", + type: { + name: "Composite", + className: "AzureSqlSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + sqlReaderQuery: { + serializedName: "sqlReaderQuery", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sqlReaderStoredProcedureName: { + serializedName: "sqlReaderStoredProcedureName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } + } + } + }, + produceAdditionalTypes: { + serializedName: "produceAdditionalTypes", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } + } + } + } +}; + +export const SqlMISource: coreClient.CompositeMapper = { + serializedName: "SqlMISource", + type: { + name: "Composite", + className: "SqlMISource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + sqlReaderQuery: { + serializedName: "sqlReaderQuery", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sqlReaderStoredProcedureName: { + serializedName: "sqlReaderStoredProcedureName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "StoredProcedureParameter" } + } + } + }, + produceAdditionalTypes: { + serializedName: "produceAdditionalTypes", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } + } + } + } +}; + +export const SqlDWSource: coreClient.CompositeMapper = { + serializedName: "SqlDWSource", + type: { + name: "Composite", + className: "SqlDWSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + sqlReaderQuery: { + serializedName: "sqlReaderQuery", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + sqlReaderStoredProcedureName: { + serializedName: "sqlReaderStoredProcedureName", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } + } + } + } +}; + +export const AzureMySqlSource: coreClient.CompositeMapper = { + serializedName: "AzureMySqlSource", + type: { + name: "Composite", + className: "AzureMySqlSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const TeradataSource: coreClient.CompositeMapper = { + serializedName: "TeradataSource", + type: { + name: "Composite", + className: "TeradataSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "TeradataPartitionSettings" + } + } + } + } +}; + +export const CassandraSource: coreClient.CompositeMapper = { + serializedName: "CassandraSource", + type: { + name: "Composite", + className: "CassandraSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + consistencyLevel: { + serializedName: "consistencyLevel", + type: { + name: "String" + } + } + } + } +}; + +export const AmazonMWSSource: coreClient.CompositeMapper = { + serializedName: "AmazonMWSSource", + type: { + name: "Composite", + className: "AmazonMWSSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const AzurePostgreSqlSource: coreClient.CompositeMapper = { + serializedName: "AzurePostgreSqlSource", + type: { + name: "Composite", + className: "AzurePostgreSqlSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const ConcurSource: coreClient.CompositeMapper = { + serializedName: "ConcurSource", + type: { + name: "Composite", + className: "ConcurSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const CouchbaseSource: coreClient.CompositeMapper = { + serializedName: "CouchbaseSource", + type: { + name: "Composite", + className: "CouchbaseSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const DrillSource: coreClient.CompositeMapper = { + serializedName: "DrillSource", + type: { + name: "Composite", + className: "DrillSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const EloquaSource: coreClient.CompositeMapper = { + serializedName: "EloquaSource", + type: { + name: "Composite", + className: "EloquaSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const GoogleBigQuerySource: coreClient.CompositeMapper = { + serializedName: "GoogleBigQuerySource", + type: { + name: "Composite", + className: "GoogleBigQuerySource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const GreenplumSource: coreClient.CompositeMapper = { + serializedName: "GreenplumSource", + type: { + name: "Composite", + className: "GreenplumSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const HBaseSource: coreClient.CompositeMapper = { + serializedName: "HBaseSource", + type: { + name: "Composite", + className: "HBaseSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const HiveSource: coreClient.CompositeMapper = { + serializedName: "HiveSource", + type: { + name: "Composite", + className: "HiveSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const HubspotSource: coreClient.CompositeMapper = { + serializedName: "HubspotSource", + type: { + name: "Composite", + className: "HubspotSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const ImpalaSource: coreClient.CompositeMapper = { + serializedName: "ImpalaSource", + type: { + name: "Composite", + className: "ImpalaSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const JiraSource: coreClient.CompositeMapper = { + serializedName: "JiraSource", + type: { + name: "Composite", + className: "JiraSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const MagentoSource: coreClient.CompositeMapper = { + serializedName: "MagentoSource", + type: { + name: "Composite", + className: "MagentoSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const MariaDBSource: coreClient.CompositeMapper = { + serializedName: "MariaDBSource", + type: { + name: "Composite", + className: "MariaDBSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const AzureMariaDBSource: coreClient.CompositeMapper = { + serializedName: "AzureMariaDBSource", + type: { + name: "Composite", + className: "AzureMariaDBSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const MarketoSource: coreClient.CompositeMapper = { + serializedName: "MarketoSource", + type: { + name: "Composite", + className: "MarketoSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const PaypalSource: coreClient.CompositeMapper = { + serializedName: "PaypalSource", + type: { + name: "Composite", + className: "PaypalSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const PhoenixSource: coreClient.CompositeMapper = { + serializedName: "PhoenixSource", + type: { + name: "Composite", + className: "PhoenixSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const PrestoSource: coreClient.CompositeMapper = { + serializedName: "PrestoSource", + type: { + name: "Composite", + className: "PrestoSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const QuickBooksSource: coreClient.CompositeMapper = { + serializedName: "QuickBooksSource", + type: { + name: "Composite", + className: "QuickBooksSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const ServiceNowSource: coreClient.CompositeMapper = { + serializedName: "ServiceNowSource", + type: { + name: "Composite", + className: "ServiceNowSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const ShopifySource: coreClient.CompositeMapper = { + serializedName: "ShopifySource", + type: { + name: "Composite", + className: "ShopifySource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SparkSource: coreClient.CompositeMapper = { + serializedName: "SparkSource", + type: { + name: "Composite", + className: "SparkSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SquareSource: coreClient.CompositeMapper = { + serializedName: "SquareSource", + type: { + name: "Composite", + className: "SquareSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const XeroSource: coreClient.CompositeMapper = { + serializedName: "XeroSource", + type: { + name: "Composite", + className: "XeroSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const ZohoSource: coreClient.CompositeMapper = { + serializedName: "ZohoSource", + type: { + name: "Composite", + className: "ZohoSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const NetezzaSource: coreClient.CompositeMapper = { + serializedName: "NetezzaSource", + type: { + name: "Composite", + className: "NetezzaSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "NetezzaPartitionSettings" + } + } + } + } +}; + +export const VerticaSource: coreClient.CompositeMapper = { + serializedName: "VerticaSource", + type: { + name: "Composite", + className: "VerticaSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const SalesforceMarketingCloudSource: coreClient.CompositeMapper = { + serializedName: "SalesforceMarketingCloudSource", + type: { + name: "Composite", + className: "SalesforceMarketingCloudSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const ResponsysSource: coreClient.CompositeMapper = { + serializedName: "ResponsysSource", + type: { + name: "Composite", + className: "ResponsysSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const DynamicsAXSource: coreClient.CompositeMapper = { + serializedName: "DynamicsAXSource", + type: { + name: "Composite", + className: "DynamicsAXSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const OracleServiceCloudSource: coreClient.CompositeMapper = { + serializedName: "OracleServiceCloudSource", + type: { + name: "Composite", + className: "OracleServiceCloudSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const GoogleAdWordsSource: coreClient.CompositeMapper = { + serializedName: "GoogleAdWordsSource", + type: { + name: "Composite", + className: "GoogleAdWordsSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const AmazonRedshiftSource: coreClient.CompositeMapper = { + serializedName: "AmazonRedshiftSource", + type: { + name: "Composite", + className: "AmazonRedshiftSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + }, + redshiftUnloadSettings: { + serializedName: "redshiftUnloadSettings", + type: { + name: "Composite", + className: "RedshiftUnloadSettings" + } + } + } + } +}; + +export const TumblingWindowTriggerDependencyReference: coreClient.CompositeMapper = { + serializedName: "TumblingWindowTriggerDependencyReference", + type: { + name: "Composite", + className: "TumblingWindowTriggerDependencyReference", + uberParent: "DependencyReference", + polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, + modelProperties: { + ...TriggerDependencyReference.type.modelProperties, + offset: { + constraints: { + Pattern: new RegExp( + "-?((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" + ), + MaxLength: 15, + MinLength: 8 + }, + serializedName: "offset", + type: { + name: "String" + } + }, + size: { + constraints: { + Pattern: new RegExp( + "((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" + ), + MaxLength: 15, + MinLength: 8 + }, + serializedName: "size", + type: { + name: "String" + } + } + } + } +}; + +export const DataFlowDebugSessionCreateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowDebugSessionCreateHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export const DataFlowDebugSessionExecuteCommandHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DataFlowDebugSessionExecuteCommandHeaders", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + +export let discriminators = { + FactoryRepoConfiguration: FactoryRepoConfiguration, + IntegrationRuntime: IntegrationRuntime, + IntegrationRuntimeStatus: IntegrationRuntimeStatus, + SsisObjectMetadata: SsisObjectMetadata, + LinkedService: LinkedService, + Dataset: Dataset, + Activity: Activity, + Trigger: Trigger, + DataFlow: DataFlow, + "ManagedVirtualNetwork.ManagedVirtualNetwork": ManagedVirtualNetwork, + "ManagedPrivateEndpoint.ManagedPrivateEndpoint": ManagedPrivateEndpoint, + SecretBase: SecretBase, + Credential: Credential, DatasetLocation: DatasetLocation, - "Dataset.Binary": BinaryDataset, - "Dataset.Orc": OrcDataset, - "Dataset.Xml": XmlDataset, - "Dataset.Json": JsonDataset, - "Dataset.DelimitedText": DelimitedTextDataset, - "Dataset.Parquet": ParquetDataset, - "Dataset.Excel": ExcelDataset, - "Dataset.Avro": AvroDataset, - "Dataset.AmazonS3Object": AmazonS3Dataset, - "Trigger.ChainingTrigger": ChainingTrigger, - "Trigger.RerunTumblingWindowTrigger": RerunTumblingWindowTrigger, - "DependencyReference.SelfDependencyTumblingWindowTriggerReference": SelfDependencyTumblingWindowTriggerReference, - "DependencyReference.TumblingWindowTriggerDependencyReference": TumblingWindowTriggerDependencyReference, - "DependencyReference.TriggerDependencyReference": TriggerDependencyReference, - DependencyReference: DependencyReference, - "Trigger.TumblingWindowTrigger": TumblingWindowTrigger, - "Trigger.CustomEventsTrigger": CustomEventsTrigger, - "Trigger.BlobEventsTrigger": BlobEventsTrigger, - "Trigger.BlobTrigger": BlobTrigger, - "Trigger.ScheduleTrigger": ScheduleTrigger, - "Trigger.MultiplePipelineTrigger": MultiplePipelineTrigger, - "Activity.ExecuteDataFlow": ExecuteDataFlowActivity, - "Activity.AzureFunctionActivity": AzureFunctionActivity, - "Activity.DatabricksSparkPython": DatabricksSparkPythonActivity, - "Activity.DatabricksSparkJar": DatabricksSparkJarActivity, - "Activity.DatabricksNotebook": DatabricksNotebookActivity, - "Activity.DataLakeAnalyticsU-SQL": DataLakeAnalyticsUSQLActivity, - "Activity.AzureMLExecutePipeline": AzureMLExecutePipelineActivity, - "Activity.AzureMLUpdateResource": AzureMLUpdateResourceActivity, - "Activity.AzureMLBatchExecution": AzureMLBatchExecutionActivity, - "CompressionReadSettings.TarGZipReadSettings": TarGZipReadSettings, - "CompressionReadSettings.TarReadSettings": TarReadSettings, - "CompressionReadSettings.ZipDeflateReadSettings": ZipDeflateReadSettings, - CompressionReadSettings: CompressionReadSettings, - "FormatReadSettings.BinaryReadSettings": BinaryReadSettings, - "FormatReadSettings.XmlReadSettings": XmlReadSettings, - "FormatReadSettings.JsonReadSettings": JsonReadSettings, - "FormatReadSettings.DelimitedTextReadSettings": DelimitedTextReadSettings, - FormatReadSettings: FormatReadSettings, - "StoreReadSettings.HdfsReadSettings": HdfsReadSettings, - "StoreReadSettings.HttpReadSettings": HttpReadSettings, - "StoreReadSettings.SftpReadSettings": SftpReadSettings, - "StoreReadSettings.FtpReadSettings": FtpReadSettings, - "StoreReadSettings.GoogleCloudStorageReadSettings": GoogleCloudStorageReadSettings, - "StoreReadSettings.OracleCloudStorageReadSettings": OracleCloudStorageReadSettings, - "StoreReadSettings.AmazonS3CompatibleReadSettings": AmazonS3CompatibleReadSettings, - "StoreReadSettings.AzureFileStorageReadSettings": AzureFileStorageReadSettings, - "StoreReadSettings.FileServerReadSettings": FileServerReadSettings, - "StoreReadSettings.AmazonS3ReadSettings": AmazonS3ReadSettings, - "StoreReadSettings.AzureDataLakeStoreReadSettings": AzureDataLakeStoreReadSettings, - "StoreReadSettings.AzureBlobFSReadSettings": AzureBlobFSReadSettings, - "StoreReadSettings.AzureBlobStorageReadSettings": AzureBlobStorageReadSettings, + DatasetStorageFormat: DatasetStorageFormat, + CustomSetupBase: CustomSetupBase, + LinkedIntegrationRuntimeType: LinkedIntegrationRuntimeType, + WebLinkedServiceTypeProperties: WebLinkedServiceTypeProperties, StoreReadSettings: StoreReadSettings, - "Activity.GetMetadata": GetMetadataActivity, - "Activity.WebActivity": WebActivity, - "CopySource.SharePointOnlineListSource": SharePointOnlineListSource, - "ExportSettings.SnowflakeExportCopyCommand": SnowflakeExportCopyCommand, - ExportSettings: ExportSettings, - "ExportSettings.AzureDatabricksDeltaLakeExportCommand": AzureDatabricksDeltaLakeExportCommand, - "CopySource.AzureDatabricksDeltaLakeSource": AzureDatabricksDeltaLakeSource, - "CopySource.SnowflakeSource": SnowflakeSource, - "CopySource.HttpSource": HttpSource, - "CopySource.AzureBlobFSSource": AzureBlobFSSource, - "CopySource.AzureDataLakeStoreSource": AzureDataLakeStoreSource, - "CopySource.Office365Source": Office365Source, - "CopySource.CosmosDbMongoDbApiSource": CosmosDbMongoDbApiSource, - "CopySource.MongoDbV2Source": MongoDbV2Source, - "CopySource.MongoDbAtlasSource": MongoDbAtlasSource, - "CopySource.MongoDbSource": MongoDbSource, - "CopySource.WebSource": WebSource, - "CopySource.OracleSource": OracleSource, - "CopySource.AzureDataExplorerSource": AzureDataExplorerSource, - "CopySource.HdfsSource": HdfsSource, - "CopySource.FileSystemSource": FileSystemSource, - "CopySource.RestSource": RestSource, - "CopySource.SalesforceServiceCloudSource": SalesforceServiceCloudSource, - "CopySource.ODataSource": ODataSource, - "CopySource.MicrosoftAccessSource": MicrosoftAccessSource, - "CopySource.RelationalSource": RelationalSource, - "CopySource.CommonDataServiceForAppsSource": CommonDataServiceForAppsSource, - "CopySource.DynamicsCrmSource": DynamicsCrmSource, - "CopySource.DynamicsSource": DynamicsSource, - "CopySource.CosmosDbSqlApiSource": CosmosDbSqlApiSource, - "CopySource.DocumentDbCollectionSource": DocumentDbCollectionSource, - "CopySource.BlobSource": BlobSource, - "CopySource.AmazonRedshiftSource": AmazonRedshiftSource, - "CopySource.GoogleAdWordsSource": GoogleAdWordsSource, - "CopySource.OracleServiceCloudSource": OracleServiceCloudSource, - "CopySource.DynamicsAXSource": DynamicsAXSource, - "CopySource.ResponsysSource": ResponsysSource, - "CopySource.SalesforceMarketingCloudSource": SalesforceMarketingCloudSource, - "CopySource.VerticaSource": VerticaSource, - "CopySource.NetezzaSource": NetezzaSource, - "CopySource.ZohoSource": ZohoSource, - "CopySource.XeroSource": XeroSource, - "CopySource.SquareSource": SquareSource, - "CopySource.SparkSource": SparkSource, - "CopySource.ShopifySource": ShopifySource, - "CopySource.ServiceNowSource": ServiceNowSource, - "CopySource.QuickBooksSource": QuickBooksSource, - "CopySource.PrestoSource": PrestoSource, - "CopySource.PhoenixSource": PhoenixSource, - "CopySource.PaypalSource": PaypalSource, - "CopySource.MarketoSource": MarketoSource, - "CopySource.AzureMariaDBSource": AzureMariaDBSource, - "CopySource.MariaDBSource": MariaDBSource, - "CopySource.MagentoSource": MagentoSource, - "CopySource.JiraSource": JiraSource, - "CopySource.ImpalaSource": ImpalaSource, - "CopySource.HubspotSource": HubspotSource, - "CopySource.HiveSource": HiveSource, - "CopySource.HBaseSource": HBaseSource, - "CopySource.GreenplumSource": GreenplumSource, - "CopySource.GoogleBigQuerySource": GoogleBigQuerySource, - "CopySource.EloquaSource": EloquaSource, - "CopySource.DrillSource": DrillSource, - "CopySource.CouchbaseSource": CouchbaseSource, - "CopySource.ConcurSource": ConcurSource, - "CopySource.AzurePostgreSqlSource": AzurePostgreSqlSource, - "CopySource.AmazonMWSSource": AmazonMWSSource, - "CopySource.CassandraSource": CassandraSource, - "CopySource.TeradataSource": TeradataSource, - "CopySource.AzureMySqlSource": AzureMySqlSource, - "CopySource.SqlDWSource": SqlDWSource, - "CopySource.SqlMISource": SqlMISource, - "CopySource.AzureSqlSource": AzureSqlSource, - "CopySource.SqlServerSource": SqlServerSource, - "CopySource.SqlSource": SqlSource, - "CopySource.SapTableSource": SapTableSource, - "CopySource.SapOpenHubSource": SapOpenHubSource, - "CopySource.SapHanaSource": SapHanaSource, - "CopySource.SapEccSource": SapEccSource, - "CopySource.SapCloudForCustomerSource": SapCloudForCustomerSource, - "CopySource.SalesforceSource": SalesforceSource, - "CopySource.SapBwSource": SapBwSource, - "CopySource.SybaseSource": SybaseSource, - "CopySource.PostgreSqlSource": PostgreSqlSource, - "CopySource.MySqlSource": MySqlSource, - "CopySource.OdbcSource": OdbcSource, - "CopySource.Db2Source": Db2Source, - "CopySource.InformixSource": InformixSource, - "CopySource.AzureTableSource": AzureTableSource, - "CopySource.TabularSource": TabularSource, - "CopySource.BinarySource": BinarySource, - "CopySource.OrcSource": OrcSource, - "CopySource.XmlSource": XmlSource, - "CopySource.JsonSource": JsonSource, - "CopySource.DelimitedTextSource": DelimitedTextSource, - "CopySource.ParquetSource": ParquetSource, - "CopySource.ExcelSource": ExcelSource, - "CopySource.AvroSource": AvroSource, - CopySource: CopySource, - "Activity.Lookup": LookupActivity, - "Activity.AzureDataExplorerCommand": AzureDataExplorerCommandActivity, - "Activity.Delete": DeleteActivity, - "Activity.SqlServerStoredProcedure": SqlServerStoredProcedureActivity, - "Activity.Custom": CustomActivity, - "Activity.ExecuteSSISPackage": ExecuteSSISPackageActivity, - "Activity.HDInsightSpark": HDInsightSparkActivity, - "Activity.HDInsightStreaming": HDInsightStreamingActivity, - "Activity.HDInsightMapReduce": HDInsightMapReduceActivity, - "Activity.HDInsightPig": HDInsightPigActivity, - "Activity.HDInsightHive": HDInsightHiveActivity, - "CopySink.CosmosDbMongoDbApiSink": CosmosDbMongoDbApiSink, - "CopySink.MongoDbV2Sink": MongoDbV2Sink, - "CopySink.MongoDbAtlasSink": MongoDbAtlasSink, - "CopySink.SalesforceServiceCloudSink": SalesforceServiceCloudSink, - "CopySink.SalesforceSink": SalesforceSink, - "CopySink.AzureDataExplorerSink": AzureDataExplorerSink, - "CopySink.CommonDataServiceForAppsSink": CommonDataServiceForAppsSink, - "CopySink.DynamicsCrmSink": DynamicsCrmSink, - "CopySink.DynamicsSink": DynamicsSink, - "CopySink.MicrosoftAccessSink": MicrosoftAccessSink, - "CopySink.InformixSink": InformixSink, - "CopySink.OdbcSink": OdbcSink, - "CopySink.AzureSearchIndexSink": AzureSearchIndexSink, - "CopySink.AzureBlobFSSink": AzureBlobFSSink, - "CopySink.AzureDataLakeStoreSink": AzureDataLakeStoreSink, - "CopySink.OracleSink": OracleSink, - "ImportSettings.AzureDatabricksDeltaLakeImportCommand": AzureDatabricksDeltaLakeImportCommand, + StoreWriteSettings: StoreWriteSettings, + FormatReadSettings: FormatReadSettings, + CompressionReadSettings: CompressionReadSettings, + FormatWriteSettings: FormatWriteSettings, + CopySource: CopySource, + CopySink: CopySink, + ExportSettings: ExportSettings, ImportSettings: ImportSettings, - "ImportSettings.SnowflakeImportCopyCommand": SnowflakeImportCopyCommand, - "CopySink.SnowflakeSink": SnowflakeSink, - "CopySink.SqlDWSink": SqlDWSink, - "CopySink.SqlMISink": SqlMISink, - "CopySink.AzureSqlSink": AzureSqlSink, - "CopySink.SqlServerSink": SqlServerSink, - "CopySink.SqlSink": SqlSink, - "CopySink.CosmosDbSqlApiSink": CosmosDbSqlApiSink, - "CopySink.DocumentDbCollectionSink": DocumentDbCollectionSink, - "CopySink.FileSystemSink": FileSystemSink, - "CopySink.BlobSink": BlobSink, - "StoreWriteSettings.AzureFileStorageWriteSettings": AzureFileStorageWriteSettings, - "StoreWriteSettings.FileServerWriteSettings": FileServerWriteSettings, - "StoreWriteSettings.AzureDataLakeStoreWriteSettings": AzureDataLakeStoreWriteSettings, - "StoreWriteSettings.AzureBlobFSWriteSettings": AzureBlobFSWriteSettings, - "StoreWriteSettings.AzureBlobStorageWriteSettings": AzureBlobStorageWriteSettings, + CopyTranslator: CopyTranslator, + DependencyReference: DependencyReference, + "FactoryRepoConfiguration.FactoryVSTSConfiguration": FactoryVstsConfiguration, + "FactoryRepoConfiguration.FactoryGitHubConfiguration": FactoryGitHubConfiguration, + "IntegrationRuntime.Managed": ManagedIntegrationRuntime, + "IntegrationRuntime.SelfHosted": SelfHostedIntegrationRuntime, + "IntegrationRuntimeStatus.Managed": ManagedIntegrationRuntimeStatus, + "IntegrationRuntimeStatus.SelfHosted": SelfHostedIntegrationRuntimeStatus, + "SsisObjectMetadata.Folder": SsisFolder, + "SsisObjectMetadata.Project": SsisProject, + "SsisObjectMetadata.Package": SsisPackage, + "SsisObjectMetadata.Environment": SsisEnvironment, + "LinkedService.AzureStorage": AzureStorageLinkedService, + "LinkedService.AzureBlobStorage": AzureBlobStorageLinkedService, + "LinkedService.AzureTableStorage": AzureTableStorageLinkedService, + "LinkedService.AzureSqlDW": AzureSqlDWLinkedService, + "LinkedService.SqlServer": SqlServerLinkedService, + "LinkedService.AmazonRdsForSqlServer": AmazonRdsForSqlServerLinkedService, + "LinkedService.AzureSqlDatabase": AzureSqlDatabaseLinkedService, + "LinkedService.AzureSqlMI": AzureSqlMILinkedService, + "LinkedService.AzureBatch": AzureBatchLinkedService, + "LinkedService.AzureKeyVault": AzureKeyVaultLinkedService, + "LinkedService.CosmosDb": CosmosDbLinkedService, + "LinkedService.Dynamics": DynamicsLinkedService, + "LinkedService.DynamicsCrm": DynamicsCrmLinkedService, + "LinkedService.CommonDataServiceForApps": CommonDataServiceForAppsLinkedService, + "LinkedService.HDInsight": HDInsightLinkedService, + "LinkedService.FileServer": FileServerLinkedService, + "LinkedService.AzureFileStorage": AzureFileStorageLinkedService, + "LinkedService.AmazonS3Compatible": AmazonS3CompatibleLinkedService, + "LinkedService.OracleCloudStorage": OracleCloudStorageLinkedService, + "LinkedService.GoogleCloudStorage": GoogleCloudStorageLinkedService, + "LinkedService.Oracle": OracleLinkedService, + "LinkedService.AmazonRdsForOracle": AmazonRdsForOracleLinkedService, + "LinkedService.AzureMySql": AzureMySqlLinkedService, + "LinkedService.MySql": MySqlLinkedService, + "LinkedService.PostgreSql": PostgreSqlLinkedService, + "LinkedService.Sybase": SybaseLinkedService, + "LinkedService.Db2": Db2LinkedService, + "LinkedService.Teradata": TeradataLinkedService, + "LinkedService.AzureML": AzureMLLinkedService, + "LinkedService.AzureMLService": AzureMLServiceLinkedService, + "LinkedService.Odbc": OdbcLinkedService, + "LinkedService.Informix": InformixLinkedService, + "LinkedService.MicrosoftAccess": MicrosoftAccessLinkedService, + "LinkedService.Hdfs": HdfsLinkedService, + "LinkedService.OData": ODataLinkedService, + "LinkedService.Web": WebLinkedService, + "LinkedService.Cassandra": CassandraLinkedService, + "LinkedService.MongoDb": MongoDbLinkedService, + "LinkedService.MongoDbAtlas": MongoDbAtlasLinkedService, + "LinkedService.MongoDbV2": MongoDbV2LinkedService, + "LinkedService.CosmosDbMongoDbApi": CosmosDbMongoDbApiLinkedService, + "LinkedService.AzureDataLakeStore": AzureDataLakeStoreLinkedService, + "LinkedService.AzureBlobFS": AzureBlobFSLinkedService, + "LinkedService.Office365": Office365LinkedService, + "LinkedService.Salesforce": SalesforceLinkedService, + "LinkedService.SalesforceServiceCloud": SalesforceServiceCloudLinkedService, + "LinkedService.SapCloudForCustomer": SapCloudForCustomerLinkedService, + "LinkedService.SapEcc": SapEccLinkedService, + "LinkedService.SapOpenHub": SapOpenHubLinkedService, + "LinkedService.RestService": RestServiceLinkedService, + "LinkedService.AmazonS3": AmazonS3LinkedService, + "LinkedService.AmazonRedshift": AmazonRedshiftLinkedService, + "LinkedService.CustomDataSource": CustomDataSourceLinkedService, + "LinkedService.AzureSearch": AzureSearchLinkedService, + "LinkedService.HttpServer": HttpLinkedService, + "LinkedService.FtpServer": FtpServerLinkedService, + "LinkedService.Sftp": SftpServerLinkedService, + "LinkedService.SapBW": SapBWLinkedService, + "LinkedService.SapHana": SapHanaLinkedService, + "LinkedService.AmazonMWS": AmazonMWSLinkedService, + "LinkedService.AzurePostgreSql": AzurePostgreSqlLinkedService, + "LinkedService.Concur": ConcurLinkedService, + "LinkedService.Couchbase": CouchbaseLinkedService, + "LinkedService.Drill": DrillLinkedService, + "LinkedService.Eloqua": EloquaLinkedService, + "LinkedService.GoogleBigQuery": GoogleBigQueryLinkedService, + "LinkedService.Greenplum": GreenplumLinkedService, + "LinkedService.HBase": HBaseLinkedService, + "LinkedService.Hive": HiveLinkedService, + "LinkedService.Hubspot": HubspotLinkedService, + "LinkedService.Impala": ImpalaLinkedService, + "LinkedService.Jira": JiraLinkedService, + "LinkedService.Magento": MagentoLinkedService, + "LinkedService.MariaDB": MariaDBLinkedService, + "LinkedService.AzureMariaDB": AzureMariaDBLinkedService, + "LinkedService.Marketo": MarketoLinkedService, + "LinkedService.Paypal": PaypalLinkedService, + "LinkedService.Phoenix": PhoenixLinkedService, + "LinkedService.Presto": PrestoLinkedService, + "LinkedService.QuickBooks": QuickBooksLinkedService, + "LinkedService.ServiceNow": ServiceNowLinkedService, + "LinkedService.Shopify": ShopifyLinkedService, + "LinkedService.Spark": SparkLinkedService, + "LinkedService.Square": SquareLinkedService, + "LinkedService.Xero": XeroLinkedService, + "LinkedService.Zoho": ZohoLinkedService, + "LinkedService.Vertica": VerticaLinkedService, + "LinkedService.Netezza": NetezzaLinkedService, + "LinkedService.SalesforceMarketingCloud": SalesforceMarketingCloudLinkedService, + "LinkedService.HDInsightOnDemand": HDInsightOnDemandLinkedService, + "LinkedService.AzureDataLakeAnalytics": AzureDataLakeAnalyticsLinkedService, + "LinkedService.AzureDatabricks": AzureDatabricksLinkedService, + "LinkedService.AzureDatabricksDeltaLake": AzureDatabricksDeltaLakeLinkedService, + "LinkedService.Responsys": ResponsysLinkedService, + "LinkedService.DynamicsAX": DynamicsAXLinkedService, + "LinkedService.OracleServiceCloud": OracleServiceCloudLinkedService, + "LinkedService.GoogleAdWords": GoogleAdWordsLinkedService, + "LinkedService.SapTable": SapTableLinkedService, + "LinkedService.AzureDataExplorer": AzureDataExplorerLinkedService, + "LinkedService.AzureFunction": AzureFunctionLinkedService, + "LinkedService.Snowflake": SnowflakeLinkedService, + "LinkedService.SharePointOnlineList": SharePointOnlineListLinkedService, + "Dataset.AmazonS3Object": AmazonS3Dataset, + "Dataset.Avro": AvroDataset, + "Dataset.Excel": ExcelDataset, + "Dataset.Parquet": ParquetDataset, + "Dataset.DelimitedText": DelimitedTextDataset, + "Dataset.Json": JsonDataset, + "Dataset.Xml": XmlDataset, + "Dataset.Orc": OrcDataset, + "Dataset.Binary": BinaryDataset, + "Dataset.AzureBlob": AzureBlobDataset, + "Dataset.AzureTable": AzureTableDataset, + "Dataset.AzureSqlTable": AzureSqlTableDataset, + "Dataset.AzureSqlMITable": AzureSqlMITableDataset, + "Dataset.AzureSqlDWTable": AzureSqlDWTableDataset, + "Dataset.CassandraTable": CassandraTableDataset, + "Dataset.CustomDataset": CustomDataset, + "Dataset.CosmosDbSqlApiCollection": CosmosDbSqlApiCollectionDataset, + "Dataset.DocumentDbCollection": DocumentDbCollectionDataset, + "Dataset.DynamicsEntity": DynamicsEntityDataset, + "Dataset.DynamicsCrmEntity": DynamicsCrmEntityDataset, + "Dataset.CommonDataServiceForAppsEntity": CommonDataServiceForAppsEntityDataset, + "Dataset.AzureDataLakeStoreFile": AzureDataLakeStoreDataset, + "Dataset.AzureBlobFSFile": AzureBlobFSDataset, + "Dataset.Office365Table": Office365Dataset, + "Dataset.FileShare": FileShareDataset, + "Dataset.MongoDbCollection": MongoDbCollectionDataset, + "Dataset.MongoDbAtlasCollection": MongoDbAtlasCollectionDataset, + "Dataset.MongoDbV2Collection": MongoDbV2CollectionDataset, + "Dataset.CosmosDbMongoDbApiCollection": CosmosDbMongoDbApiCollectionDataset, + "Dataset.ODataResource": ODataResourceDataset, + "Dataset.OracleTable": OracleTableDataset, + "Dataset.AmazonRdsForOracleTable": AmazonRdsForOracleTableDataset, + "Dataset.TeradataTable": TeradataTableDataset, + "Dataset.AzureMySqlTable": AzureMySqlTableDataset, + "Dataset.AmazonRedshiftTable": AmazonRedshiftTableDataset, + "Dataset.Db2Table": Db2TableDataset, + "Dataset.RelationalTable": RelationalTableDataset, + "Dataset.InformixTable": InformixTableDataset, + "Dataset.OdbcTable": OdbcTableDataset, + "Dataset.MySqlTable": MySqlTableDataset, + "Dataset.PostgreSqlTable": PostgreSqlTableDataset, + "Dataset.MicrosoftAccessTable": MicrosoftAccessTableDataset, + "Dataset.SalesforceObject": SalesforceObjectDataset, + "Dataset.SalesforceServiceCloudObject": SalesforceServiceCloudObjectDataset, + "Dataset.SybaseTable": SybaseTableDataset, + "Dataset.SapBwCube": SapBwCubeDataset, + "Dataset.SapCloudForCustomerResource": SapCloudForCustomerResourceDataset, + "Dataset.SapEccResource": SapEccResourceDataset, + "Dataset.SapHanaTable": SapHanaTableDataset, + "Dataset.SapOpenHubTable": SapOpenHubTableDataset, + "Dataset.SqlServerTable": SqlServerTableDataset, + "Dataset.AmazonRdsForSqlServerTable": AmazonRdsForSqlServerTableDataset, + "Dataset.RestResource": RestResourceDataset, + "Dataset.SapTableResource": SapTableResourceDataset, + "Dataset.WebTable": WebTableDataset, + "Dataset.AzureSearchIndex": AzureSearchIndexDataset, + "Dataset.HttpFile": HttpDataset, + "Dataset.AmazonMWSObject": AmazonMWSObjectDataset, + "Dataset.AzurePostgreSqlTable": AzurePostgreSqlTableDataset, + "Dataset.ConcurObject": ConcurObjectDataset, + "Dataset.CouchbaseTable": CouchbaseTableDataset, + "Dataset.DrillTable": DrillTableDataset, + "Dataset.EloquaObject": EloquaObjectDataset, + "Dataset.GoogleBigQueryObject": GoogleBigQueryObjectDataset, + "Dataset.GreenplumTable": GreenplumTableDataset, + "Dataset.HBaseObject": HBaseObjectDataset, + "Dataset.HiveObject": HiveObjectDataset, + "Dataset.HubspotObject": HubspotObjectDataset, + "Dataset.ImpalaObject": ImpalaObjectDataset, + "Dataset.JiraObject": JiraObjectDataset, + "Dataset.MagentoObject": MagentoObjectDataset, + "Dataset.MariaDBTable": MariaDBTableDataset, + "Dataset.AzureMariaDBTable": AzureMariaDBTableDataset, + "Dataset.MarketoObject": MarketoObjectDataset, + "Dataset.PaypalObject": PaypalObjectDataset, + "Dataset.PhoenixObject": PhoenixObjectDataset, + "Dataset.PrestoObject": PrestoObjectDataset, + "Dataset.QuickBooksObject": QuickBooksObjectDataset, + "Dataset.ServiceNowObject": ServiceNowObjectDataset, + "Dataset.ShopifyObject": ShopifyObjectDataset, + "Dataset.SparkObject": SparkObjectDataset, + "Dataset.SquareObject": SquareObjectDataset, + "Dataset.XeroObject": XeroObjectDataset, + "Dataset.ZohoObject": ZohoObjectDataset, + "Dataset.NetezzaTable": NetezzaTableDataset, + "Dataset.VerticaTable": VerticaTableDataset, + "Dataset.SalesforceMarketingCloudObject": SalesforceMarketingCloudObjectDataset, + "Dataset.ResponsysObject": ResponsysObjectDataset, + "Dataset.DynamicsAXResource": DynamicsAXResourceDataset, + "Dataset.OracleServiceCloudObject": OracleServiceCloudObjectDataset, + "Dataset.AzureDataExplorerTable": AzureDataExplorerTableDataset, + "Dataset.GoogleAdWordsObject": GoogleAdWordsObjectDataset, + "Dataset.SnowflakeTable": SnowflakeDataset, + "Dataset.SharePointOnlineListResource": SharePointOnlineListResourceDataset, + "Dataset.AzureDatabricksDeltaLakeDataset": AzureDatabricksDeltaLakeDataset, + "Activity.Container": ControlActivity, + "Activity.Execution": ExecutionActivity, + "Activity.ExecuteWranglingDataflow": ExecuteWranglingDataflowActivity, + "Trigger.MultiplePipelineTrigger": MultiplePipelineTrigger, + "Trigger.TumblingWindowTrigger": TumblingWindowTrigger, + "Trigger.RerunTumblingWindowTrigger": RerunTumblingWindowTrigger, + "Trigger.ChainingTrigger": ChainingTrigger, + "DataFlow.MappingDataFlow": MappingDataFlow, + "DataFlow.Flowlet": Flowlet, + "DataFlow.WranglingDataFlow": WranglingDataFlow, + "SecretBase.SecureString": SecureString, + "SecretBase.AzureKeyVaultSecret": AzureKeyVaultSecretReference, + "Credential.ServicePrincipal": ServicePrincipalCredential, + "Credential.ManagedIdentity": ManagedIdentityCredential, + "DatasetLocation.AzureBlobStorageLocation": AzureBlobStorageLocation, + "DatasetLocation.AzureBlobFSLocation": AzureBlobFSLocation, + "DatasetLocation.AzureDataLakeStoreLocation": AzureDataLakeStoreLocation, + "DatasetLocation.AmazonS3Location": AmazonS3Location, + "DatasetLocation.FileServerLocation": FileServerLocation, + "DatasetLocation.AzureFileStorageLocation": AzureFileStorageLocation, + "DatasetLocation.AmazonS3CompatibleLocation": AmazonS3CompatibleLocation, + "DatasetLocation.OracleCloudStorageLocation": OracleCloudStorageLocation, + "DatasetLocation.GoogleCloudStorageLocation": GoogleCloudStorageLocation, + "DatasetLocation.FtpServerLocation": FtpServerLocation, + "DatasetLocation.SftpLocation": SftpLocation, + "DatasetLocation.HttpServerLocation": HttpServerLocation, + "DatasetLocation.HdfsLocation": HdfsLocation, + "DatasetStorageFormat.TextFormat": TextFormat, + "DatasetStorageFormat.JsonFormat": JsonFormat, + "DatasetStorageFormat.AvroFormat": AvroFormat, + "DatasetStorageFormat.OrcFormat": OrcFormat, + "DatasetStorageFormat.ParquetFormat": ParquetFormat, + "CustomSetupBase.CmdkeySetup": CmdkeySetup, + "CustomSetupBase.EnvironmentVariableSetup": EnvironmentVariableSetup, + "CustomSetupBase.ComponentSetup": ComponentSetup, + "CustomSetupBase.AzPowerShellSetup": AzPowerShellSetup, + "LinkedIntegrationRuntimeType.Key": LinkedIntegrationRuntimeKeyAuthorization, + "LinkedIntegrationRuntimeType.RBAC": LinkedIntegrationRuntimeRbacAuthorization, + "WebLinkedServiceTypeProperties.Anonymous": WebAnonymousAuthentication, + "WebLinkedServiceTypeProperties.Basic": WebBasicAuthentication, + "WebLinkedServiceTypeProperties.ClientCertificate": WebClientCertificateAuthentication, + "StoreReadSettings.AzureBlobStorageReadSettings": AzureBlobStorageReadSettings, + "StoreReadSettings.AzureBlobFSReadSettings": AzureBlobFSReadSettings, + "StoreReadSettings.AzureDataLakeStoreReadSettings": AzureDataLakeStoreReadSettings, + "StoreReadSettings.AmazonS3ReadSettings": AmazonS3ReadSettings, + "StoreReadSettings.FileServerReadSettings": FileServerReadSettings, + "StoreReadSettings.AzureFileStorageReadSettings": AzureFileStorageReadSettings, + "StoreReadSettings.AmazonS3CompatibleReadSettings": AmazonS3CompatibleReadSettings, + "StoreReadSettings.OracleCloudStorageReadSettings": OracleCloudStorageReadSettings, + "StoreReadSettings.GoogleCloudStorageReadSettings": GoogleCloudStorageReadSettings, + "StoreReadSettings.FtpReadSettings": FtpReadSettings, + "StoreReadSettings.SftpReadSettings": SftpReadSettings, + "StoreReadSettings.HttpReadSettings": HttpReadSettings, + "StoreReadSettings.HdfsReadSettings": HdfsReadSettings, "StoreWriteSettings.SftpWriteSettings": SftpWriteSettings, - StoreWriteSettings: StoreWriteSettings, - "CopySink.BinarySink": BinarySink, - "FormatWriteSettings.JsonWriteSettings": JsonWriteSettings, - "FormatWriteSettings.DelimitedTextWriteSettings": DelimitedTextWriteSettings, - "FormatWriteSettings.OrcWriteSettings": OrcWriteSettings, + "StoreWriteSettings.AzureBlobStorageWriteSettings": AzureBlobStorageWriteSettings, + "StoreWriteSettings.AzureBlobFSWriteSettings": AzureBlobFSWriteSettings, + "StoreWriteSettings.AzureDataLakeStoreWriteSettings": AzureDataLakeStoreWriteSettings, + "StoreWriteSettings.FileServerWriteSettings": FileServerWriteSettings, + "StoreWriteSettings.AzureFileStorageWriteSettings": AzureFileStorageWriteSettings, + "FormatReadSettings.DelimitedTextReadSettings": DelimitedTextReadSettings, + "FormatReadSettings.JsonReadSettings": JsonReadSettings, + "FormatReadSettings.XmlReadSettings": XmlReadSettings, + "FormatReadSettings.BinaryReadSettings": BinaryReadSettings, + "CompressionReadSettings.ZipDeflateReadSettings": ZipDeflateReadSettings, + "CompressionReadSettings.TarReadSettings": TarReadSettings, + "CompressionReadSettings.TarGZipReadSettings": TarGZipReadSettings, "FormatWriteSettings.AvroWriteSettings": AvroWriteSettings, - FormatWriteSettings: FormatWriteSettings, + "FormatWriteSettings.OrcWriteSettings": OrcWriteSettings, "FormatWriteSettings.ParquetWriteSettings": ParquetWriteSettings, - "CopySink.ParquetSink": ParquetSink, - "CopySink.AvroSink": AvroSink, - "CopySink.AzureTableSink": AzureTableSink, - "CopySink.AzureQueueSink": AzureQueueSink, - "CopySink.SapCloudForCustomerSink": SapCloudForCustomerSink, - "CopySink.AzureDatabricksDeltaLakeSink": AzureDatabricksDeltaLakeSink, - "CopySink.AzureMySqlSink": AzureMySqlSink, - "CopySink.AzurePostgreSqlSink": AzurePostgreSqlSink, - "CopySink.RestSink": RestSink, - "CopySink.OrcSink": OrcSink, - "CopySink.JsonSink": JsonSink, + "FormatWriteSettings.DelimitedTextWriteSettings": DelimitedTextWriteSettings, + "FormatWriteSettings.JsonWriteSettings": JsonWriteSettings, + "CopySource.AvroSource": AvroSource, + "CopySource.ExcelSource": ExcelSource, + "CopySource.ParquetSource": ParquetSource, + "CopySource.DelimitedTextSource": DelimitedTextSource, + "CopySource.JsonSource": JsonSource, + "CopySource.XmlSource": XmlSource, + "CopySource.OrcSource": OrcSource, + "CopySource.BinarySource": BinarySource, + "CopySource.TabularSource": TabularSource, + "CopySource.BlobSource": BlobSource, + "CopySource.DocumentDbCollectionSource": DocumentDbCollectionSource, + "CopySource.CosmosDbSqlApiSource": CosmosDbSqlApiSource, + "CopySource.DynamicsSource": DynamicsSource, + "CopySource.DynamicsCrmSource": DynamicsCrmSource, + "CopySource.CommonDataServiceForAppsSource": CommonDataServiceForAppsSource, + "CopySource.RelationalSource": RelationalSource, + "CopySource.MicrosoftAccessSource": MicrosoftAccessSource, + "CopySource.ODataSource": ODataSource, + "CopySource.SalesforceServiceCloudSource": SalesforceServiceCloudSource, + "CopySource.RestSource": RestSource, + "CopySource.FileSystemSource": FileSystemSource, + "CopySource.HdfsSource": HdfsSource, + "CopySource.AzureDataExplorerSource": AzureDataExplorerSource, + "CopySource.OracleSource": OracleSource, + "CopySource.AmazonRdsForOracleSource": AmazonRdsForOracleSource, + "CopySource.WebSource": WebSource, + "CopySource.MongoDbSource": MongoDbSource, + "CopySource.MongoDbAtlasSource": MongoDbAtlasSource, + "CopySource.MongoDbV2Source": MongoDbV2Source, + "CopySource.CosmosDbMongoDbApiSource": CosmosDbMongoDbApiSource, + "CopySource.Office365Source": Office365Source, + "CopySource.AzureDataLakeStoreSource": AzureDataLakeStoreSource, + "CopySource.AzureBlobFSSource": AzureBlobFSSource, + "CopySource.HttpSource": HttpSource, + "CopySource.SnowflakeSource": SnowflakeSource, + "CopySource.AzureDatabricksDeltaLakeSource": AzureDatabricksDeltaLakeSource, + "CopySource.SharePointOnlineListSource": SharePointOnlineListSource, "CopySink.DelimitedTextSink": DelimitedTextSink, - CopySink: CopySink, - "Activity.Copy": CopyActivity, - "Activity.Execution": ExecutionActivity, - "Activity.WebHook": WebHookActivity, - "Activity.AppendVariable": AppendVariableActivity, - "Activity.SetVariable": SetVariableActivity, - "Activity.Filter": FilterActivity, - "Activity.Validation": ValidationActivity, - "Activity.Until": UntilActivity, - "Activity.Wait": WaitActivity, - "Activity.ForEach": ForEachActivity, - "Activity.Switch": SwitchActivity, - "Activity.IfCondition": IfConditionActivity, + "CopySink.JsonSink": JsonSink, + "CopySink.OrcSink": OrcSink, + "CopySink.RestSink": RestSink, + "CopySink.AzurePostgreSqlSink": AzurePostgreSqlSink, + "CopySink.AzureMySqlSink": AzureMySqlSink, + "CopySink.AzureDatabricksDeltaLakeSink": AzureDatabricksDeltaLakeSink, + "CopySink.SapCloudForCustomerSink": SapCloudForCustomerSink, + "CopySink.AzureQueueSink": AzureQueueSink, + "CopySink.AzureTableSink": AzureTableSink, + "CopySink.AvroSink": AvroSink, + "CopySink.ParquetSink": ParquetSink, + "CopySink.BinarySink": BinarySink, + "CopySink.BlobSink": BlobSink, + "CopySink.FileSystemSink": FileSystemSink, + "CopySink.DocumentDbCollectionSink": DocumentDbCollectionSink, + "CopySink.CosmosDbSqlApiSink": CosmosDbSqlApiSink, + "CopySink.SqlSink": SqlSink, + "CopySink.SqlServerSink": SqlServerSink, + "CopySink.AzureSqlSink": AzureSqlSink, + "CopySink.SqlMISink": SqlMISink, + "CopySink.SqlDWSink": SqlDWSink, + "CopySink.SnowflakeSink": SnowflakeSink, + "CopySink.OracleSink": OracleSink, + "CopySink.AzureDataLakeStoreSink": AzureDataLakeStoreSink, + "CopySink.AzureBlobFSSink": AzureBlobFSSink, + "CopySink.AzureSearchIndexSink": AzureSearchIndexSink, + "CopySink.OdbcSink": OdbcSink, + "CopySink.InformixSink": InformixSink, + "CopySink.MicrosoftAccessSink": MicrosoftAccessSink, + "CopySink.DynamicsSink": DynamicsSink, + "CopySink.DynamicsCrmSink": DynamicsCrmSink, + "CopySink.CommonDataServiceForAppsSink": CommonDataServiceForAppsSink, + "CopySink.AzureDataExplorerSink": AzureDataExplorerSink, + "CopySink.SalesforceSink": SalesforceSink, + "CopySink.SalesforceServiceCloudSink": SalesforceServiceCloudSink, + "CopySink.MongoDbAtlasSink": MongoDbAtlasSink, + "CopySink.MongoDbV2Sink": MongoDbV2Sink, + "CopySink.CosmosDbMongoDbApiSink": CosmosDbMongoDbApiSink, + "ExportSettings.SnowflakeExportCopyCommand": SnowflakeExportCopyCommand, + "ExportSettings.AzureDatabricksDeltaLakeExportCommand": AzureDatabricksDeltaLakeExportCommand, + "ImportSettings.AzureDatabricksDeltaLakeImportCommand": AzureDatabricksDeltaLakeImportCommand, + "ImportSettings.SnowflakeImportCopyCommand": SnowflakeImportCopyCommand, + "CopyTranslator.TabularTranslator": TabularTranslator, + "DependencyReference.TriggerDependencyReference": TriggerDependencyReference, + "DependencyReference.SelfDependencyTumblingWindowTriggerReference": SelfDependencyTumblingWindowTriggerReference, "Activity.ExecutePipeline": ExecutePipelineActivity, - "Activity.Container": ControlActivity, - "IntegrationRuntimeStatus.SelfHosted": SelfHostedIntegrationRuntimeStatus, - "IntegrationRuntimeStatus.Managed": ManagedIntegrationRuntimeStatus, - "LinkedIntegrationRuntimeType.RBAC": LinkedIntegrationRuntimeRbacAuthorization, - "LinkedIntegrationRuntimeType.Key": LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeType: LinkedIntegrationRuntimeType, - "IntegrationRuntime.SelfHosted": SelfHostedIntegrationRuntime, - "CustomSetupBase.AzPowerShellSetup": AzPowerShellSetup, - "CustomSetupBase.ComponentSetup": ComponentSetup, - "CustomSetupBase.EnvironmentVariableSetup": EnvironmentVariableSetup, - "CustomSetupBase.CmdkeySetup": CmdkeySetup, - CustomSetupBase: CustomSetupBase, - "IntegrationRuntime.Managed": ManagedIntegrationRuntime, - "SsisObjectMetadata.Environment": SsisEnvironment, - "SsisObjectMetadata.Package": SsisPackage, - "SsisObjectMetadata.Project": SsisProject, - "SsisObjectMetadata.Folder": SsisFolder, - SsisObjectMetadata: SsisObjectMetadata, - CopyTranslator: CopyTranslator, - "CopyTranslator.TabularTranslator": TabularTranslator + "Activity.IfCondition": IfConditionActivity, + "Activity.Switch": SwitchActivity, + "Activity.ForEach": ForEachActivity, + "Activity.Wait": WaitActivity, + "Activity.Until": UntilActivity, + "Activity.Validation": ValidationActivity, + "Activity.Filter": FilterActivity, + "Activity.SetVariable": SetVariableActivity, + "Activity.AppendVariable": AppendVariableActivity, + "Activity.WebHook": WebHookActivity, + "Activity.Copy": CopyActivity, + "Activity.HDInsightHive": HDInsightHiveActivity, + "Activity.HDInsightPig": HDInsightPigActivity, + "Activity.HDInsightMapReduce": HDInsightMapReduceActivity, + "Activity.HDInsightStreaming": HDInsightStreamingActivity, + "Activity.HDInsightSpark": HDInsightSparkActivity, + "Activity.ExecuteSSISPackage": ExecuteSsisPackageActivity, + "Activity.Custom": CustomActivity, + "Activity.SqlServerStoredProcedure": SqlServerStoredProcedureActivity, + "Activity.Delete": DeleteActivity, + "Activity.AzureDataExplorerCommand": AzureDataExplorerCommandActivity, + "Activity.Lookup": LookupActivity, + "Activity.WebActivity": WebActivity, + "Activity.GetMetadata": GetMetadataActivity, + "Activity.AzureMLBatchExecution": AzureMLBatchExecutionActivity, + "Activity.AzureMLUpdateResource": AzureMLUpdateResourceActivity, + "Activity.AzureMLExecutePipeline": AzureMLExecutePipelineActivity, + "Activity.DataLakeAnalyticsU-SQL": DataLakeAnalyticsUsqlActivity, + "Activity.DatabricksNotebook": DatabricksNotebookActivity, + "Activity.DatabricksSparkJar": DatabricksSparkJarActivity, + "Activity.DatabricksSparkPython": DatabricksSparkPythonActivity, + "Activity.AzureFunctionActivity": AzureFunctionActivity, + "Activity.ExecuteDataFlow": ExecuteDataFlowActivity, + "Trigger.ScheduleTrigger": ScheduleTrigger, + "Trigger.BlobTrigger": BlobTrigger, + "Trigger.BlobEventsTrigger": BlobEventsTrigger, + "Trigger.CustomEventsTrigger": CustomEventsTrigger, + "CopySource.AzureTableSource": AzureTableSource, + "CopySource.InformixSource": InformixSource, + "CopySource.Db2Source": Db2Source, + "CopySource.OdbcSource": OdbcSource, + "CopySource.MySqlSource": MySqlSource, + "CopySource.PostgreSqlSource": PostgreSqlSource, + "CopySource.SybaseSource": SybaseSource, + "CopySource.SapBwSource": SapBwSource, + "CopySource.SalesforceSource": SalesforceSource, + "CopySource.SapCloudForCustomerSource": SapCloudForCustomerSource, + "CopySource.SapEccSource": SapEccSource, + "CopySource.SapHanaSource": SapHanaSource, + "CopySource.SapOpenHubSource": SapOpenHubSource, + "CopySource.SapTableSource": SapTableSource, + "CopySource.SqlSource": SqlSource, + "CopySource.SqlServerSource": SqlServerSource, + "CopySource.AmazonRdsForSqlServerSource": AmazonRdsForSqlServerSource, + "CopySource.AzureSqlSource": AzureSqlSource, + "CopySource.SqlMISource": SqlMISource, + "CopySource.SqlDWSource": SqlDWSource, + "CopySource.AzureMySqlSource": AzureMySqlSource, + "CopySource.TeradataSource": TeradataSource, + "CopySource.CassandraSource": CassandraSource, + "CopySource.AmazonMWSSource": AmazonMWSSource, + "CopySource.AzurePostgreSqlSource": AzurePostgreSqlSource, + "CopySource.ConcurSource": ConcurSource, + "CopySource.CouchbaseSource": CouchbaseSource, + "CopySource.DrillSource": DrillSource, + "CopySource.EloquaSource": EloquaSource, + "CopySource.GoogleBigQuerySource": GoogleBigQuerySource, + "CopySource.GreenplumSource": GreenplumSource, + "CopySource.HBaseSource": HBaseSource, + "CopySource.HiveSource": HiveSource, + "CopySource.HubspotSource": HubspotSource, + "CopySource.ImpalaSource": ImpalaSource, + "CopySource.JiraSource": JiraSource, + "CopySource.MagentoSource": MagentoSource, + "CopySource.MariaDBSource": MariaDBSource, + "CopySource.AzureMariaDBSource": AzureMariaDBSource, + "CopySource.MarketoSource": MarketoSource, + "CopySource.PaypalSource": PaypalSource, + "CopySource.PhoenixSource": PhoenixSource, + "CopySource.PrestoSource": PrestoSource, + "CopySource.QuickBooksSource": QuickBooksSource, + "CopySource.ServiceNowSource": ServiceNowSource, + "CopySource.ShopifySource": ShopifySource, + "CopySource.SparkSource": SparkSource, + "CopySource.SquareSource": SquareSource, + "CopySource.XeroSource": XeroSource, + "CopySource.ZohoSource": ZohoSource, + "CopySource.NetezzaSource": NetezzaSource, + "CopySource.VerticaSource": VerticaSource, + "CopySource.SalesforceMarketingCloudSource": SalesforceMarketingCloudSource, + "CopySource.ResponsysSource": ResponsysSource, + "CopySource.DynamicsAXSource": DynamicsAXSource, + "CopySource.OracleServiceCloudSource": OracleServiceCloudSource, + "CopySource.GoogleAdWordsSource": GoogleAdWordsSource, + "CopySource.AmazonRedshiftSource": AmazonRedshiftSource, + "DependencyReference.TumblingWindowTriggerDependencyReference": TumblingWindowTriggerDependencyReference }; diff --git a/sdk/datafactory/arm-datafactory/src/models/operationsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/operationsMappers.ts deleted file mode 100644 index 7639d0c303c1..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/operationsMappers.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - CloudError, - Operation, - OperationDisplay, - OperationListResponse, - OperationLogSpecification, - OperationMetricAvailability, - OperationMetricDimension, - OperationMetricSpecification, - OperationServiceSpecification -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/parameters.ts b/sdk/datafactory/arm-datafactory/src/models/parameters.ts index 64c4719300b6..19107e6b1f9d 100644 --- a/sdk/datafactory/arm-datafactory/src/models/parameters.ts +++ b/sdk/datafactory/arm-datafactory/src/models/parameters.ts @@ -3,78 +3,170 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import { + OperationParameter, + OperationURLParameter, + OperationQueryParameter +} from "@azure/core-client"; +import { + FactoryRepoUpdate as FactoryRepoUpdateMapper, + Factory as FactoryMapper, + FactoryUpdateParameters as FactoryUpdateParametersMapper, + GitHubAccessTokenRequest as GitHubAccessTokenRequestMapper, + UserAccessPolicy as UserAccessPolicyMapper, + ExposureControlRequest as ExposureControlRequestMapper, + ExposureControlBatchRequest as ExposureControlBatchRequestMapper, + IntegrationRuntimeResource as IntegrationRuntimeResourceMapper, + UpdateIntegrationRuntimeRequest as UpdateIntegrationRuntimeRequestMapper, + IntegrationRuntimeRegenerateKeyParameters as IntegrationRuntimeRegenerateKeyParametersMapper, + LinkedIntegrationRuntimeRequest as LinkedIntegrationRuntimeRequestMapper, + CreateLinkedIntegrationRuntimeRequest as CreateLinkedIntegrationRuntimeRequestMapper, + GetSsisObjectMetadataRequest as GetSsisObjectMetadataRequestMapper, + UpdateIntegrationRuntimeNodeRequest as UpdateIntegrationRuntimeNodeRequestMapper, + LinkedServiceResource as LinkedServiceResourceMapper, + DatasetResource as DatasetResourceMapper, + PipelineResource as PipelineResourceMapper, + RunFilterParameters as RunFilterParametersMapper, + TriggerFilterParameters as TriggerFilterParametersMapper, + TriggerResource as TriggerResourceMapper, + DataFlowResource as DataFlowResourceMapper, + CreateDataFlowDebugSessionRequest as CreateDataFlowDebugSessionRequestMapper, + DataFlowDebugPackage as DataFlowDebugPackageMapper, + DeleteDataFlowDebugSessionRequest as DeleteDataFlowDebugSessionRequestMapper, + DataFlowDebugCommandRequest as DataFlowDebugCommandRequestMapper, + ManagedVirtualNetworkResource as ManagedVirtualNetworkResourceMapper, + ManagedPrivateEndpointResource as ManagedPrivateEndpointResourceMapper, + PrivateLinkConnectionApprovalRequestResource as PrivateLinkConnectionApprovalRequestResourceMapper +} from "../models/mappers"; -export const acceptLanguage: msRest.OperationParameter = { - parameterPath: "acceptLanguage", +export const accept: OperationParameter = { + parameterPath: "accept", mapper: { - serializedName: "accept-language", - defaultValue: "en-US", + defaultValue: "application/json", + isConstant: true, + serializedName: "Accept", type: { name: "String" } } }; -export const apiVersion: msRest.OperationQueryParameter = { - parameterPath: "apiVersion", + +export const $host: OperationURLParameter = { + parameterPath: "$host", mapper: { + serializedName: "$host", required: true, + type: { + name: "String" + } + }, + skipEncoding: true +}; + +export const apiVersion: OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + defaultValue: "2018-06-01", + isConstant: true, serializedName: "api-version", type: { name: "String" } } }; -export const dataFlowName: msRest.OperationURLParameter = { - parameterPath: "dataFlowName", + +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", mapper: { + serializedName: "nextLink", + required: true, + type: { + name: "String" + } + }, + skipEncoding: true +}; + +export const subscriptionId: OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + serializedName: "subscriptionId", required: true, - serializedName: "dataFlowName", - constraints: { - MaxLength: 260, - MinLength: 1, - Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ - }, type: { name: "String" } } }; -export const datasetName: msRest.OperationURLParameter = { - parameterPath: "datasetName", + +export const contentType: OperationParameter = { + parameterPath: ["options", "contentType"], mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Content-Type", + type: { + name: "String" + } + } +}; + +export const factoryRepoUpdate: OperationParameter = { + parameterPath: "factoryRepoUpdate", + mapper: FactoryRepoUpdateMapper +}; + +export const locationId: OperationURLParameter = { + parameterPath: "locationId", + mapper: { + serializedName: "locationId", required: true, - serializedName: "datasetName", + type: { + name: "String" + } + } +}; + +export const resourceGroupName: OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { constraints: { - MaxLength: 260, - MinLength: 1, - Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ + Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"), + MaxLength: 90, + MinLength: 1 }, + serializedName: "resourceGroupName", + required: true, type: { name: "String" } } }; -export const factoryName: msRest.OperationURLParameter = { + +export const factory: OperationParameter = { + parameterPath: "factory", + mapper: FactoryMapper +}; + +export const factoryName: OperationURLParameter = { parameterPath: "factoryName", mapper: { - required: true, - serializedName: "factoryName", constraints: { + Pattern: new RegExp("^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$"), MaxLength: 63, - MinLength: 3, - Pattern: /^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/ + MinLength: 3 }, + serializedName: "factoryName", + required: true, type: { name: "String" } } }; -export const ifMatch: msRest.OperationParameter = { + +export const ifMatch: OperationParameter = { parameterPath: ["options", "ifMatch"], mapper: { serializedName: "If-Match", @@ -83,7 +175,13 @@ export const ifMatch: msRest.OperationParameter = { } } }; -export const ifNoneMatch: msRest.OperationParameter = { + +export const factoryUpdateParameters: OperationParameter = { + parameterPath: "factoryUpdateParameters", + mapper: FactoryUpdateParametersMapper +}; + +export const ifNoneMatch: OperationParameter = { parameterPath: ["options", "ifNoneMatch"], mapper: { serializedName: "If-None-Match", @@ -92,217 +190,357 @@ export const ifNoneMatch: msRest.OperationParameter = { } } }; -export const integrationRuntimeName: msRest.OperationURLParameter = { + +export const gitHubAccessTokenRequest: OperationParameter = { + parameterPath: "gitHubAccessTokenRequest", + mapper: GitHubAccessTokenRequestMapper +}; + +export const policy: OperationParameter = { + parameterPath: "policy", + mapper: UserAccessPolicyMapper +}; + +export const exposureControlRequest: OperationParameter = { + parameterPath: "exposureControlRequest", + mapper: ExposureControlRequestMapper +}; + +export const exposureControlBatchRequest: OperationParameter = { + parameterPath: "exposureControlBatchRequest", + mapper: ExposureControlBatchRequestMapper +}; + +export const integrationRuntime: OperationParameter = { + parameterPath: "integrationRuntime", + mapper: IntegrationRuntimeResourceMapper +}; + +export const integrationRuntimeName: OperationURLParameter = { parameterPath: "integrationRuntimeName", mapper: { - required: true, - serializedName: "integrationRuntimeName", constraints: { + Pattern: new RegExp("^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$"), MaxLength: 63, - MinLength: 3, - Pattern: /^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/ + MinLength: 3 }, + serializedName: "integrationRuntimeName", + required: true, type: { name: "String" } } }; -export const isRecovery: msRest.OperationQueryParameter = { - parameterPath: ["options", "isRecovery"], - mapper: { - serializedName: "isRecovery", - type: { - name: "Boolean" - } - } + +export const updateIntegrationRuntimeRequest: OperationParameter = { + parameterPath: "updateIntegrationRuntimeRequest", + mapper: UpdateIntegrationRuntimeRequestMapper }; -export const isRecursive: msRest.OperationQueryParameter = { - parameterPath: ["options", "isRecursive"], + +export const regenerateKeyParameters: OperationParameter = { + parameterPath: "regenerateKeyParameters", + mapper: IntegrationRuntimeRegenerateKeyParametersMapper +}; + +export const linkedIntegrationRuntimeRequest: OperationParameter = { + parameterPath: "linkedIntegrationRuntimeRequest", + mapper: LinkedIntegrationRuntimeRequestMapper +}; + +export const createLinkedIntegrationRuntimeRequest: OperationParameter = { + parameterPath: "createLinkedIntegrationRuntimeRequest", + mapper: CreateLinkedIntegrationRuntimeRequestMapper +}; + +export const getMetadataRequest: OperationParameter = { + parameterPath: ["options", "getMetadataRequest"], + mapper: GetSsisObjectMetadataRequestMapper +}; + +export const nodeName: OperationURLParameter = { + parameterPath: "nodeName", mapper: { - serializedName: "isRecursive", + constraints: { + Pattern: new RegExp("^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$"), + MaxLength: 150, + MinLength: 1 + }, + serializedName: "nodeName", + required: true, type: { - name: "Boolean" + name: "String" } } }; -export const linkedServiceName: msRest.OperationURLParameter = { + +export const updateIntegrationRuntimeNodeRequest: OperationParameter = { + parameterPath: "updateIntegrationRuntimeNodeRequest", + mapper: UpdateIntegrationRuntimeNodeRequestMapper +}; + +export const linkedService: OperationParameter = { + parameterPath: "linkedService", + mapper: LinkedServiceResourceMapper +}; + +export const linkedServiceName: OperationURLParameter = { parameterPath: "linkedServiceName", mapper: { - required: true, - serializedName: "linkedServiceName", constraints: { + Pattern: new RegExp("^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$"), MaxLength: 260, - MinLength: 1, - Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ + MinLength: 1 }, + serializedName: "linkedServiceName", + required: true, type: { name: "String" } } }; -export const locationId: msRest.OperationURLParameter = { - parameterPath: "locationId", + +export const dataset: OperationParameter = { + parameterPath: "dataset", + mapper: DatasetResourceMapper +}; + +export const datasetName: OperationURLParameter = { + parameterPath: "datasetName", mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$"), + MaxLength: 260, + MinLength: 1 + }, + serializedName: "datasetName", required: true, - serializedName: "locationId", type: { name: "String" } } }; -export const managedPrivateEndpointName: msRest.OperationURLParameter = { - parameterPath: "managedPrivateEndpointName", + +export const pipeline: OperationParameter = { + parameterPath: "pipeline", + mapper: PipelineResourceMapper +}; + +export const pipelineName: OperationURLParameter = { + parameterPath: "pipelineName", mapper: { - required: true, - serializedName: "managedPrivateEndpointName", constraints: { - MaxLength: 127, - MinLength: 1, - Pattern: /^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$/ + Pattern: new RegExp("^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$"), + MaxLength: 260, + MinLength: 1 }, + serializedName: "pipelineName", + required: true, type: { name: "String" } } }; -export const managedVirtualNetworkName: msRest.OperationURLParameter = { - parameterPath: "managedVirtualNetworkName", + +export const parameters: OperationParameter = { + parameterPath: ["options", "parameters"], mapper: { - required: true, - serializedName: "managedVirtualNetworkName", - constraints: { - MaxLength: 127, - MinLength: 1, - Pattern: /^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$/ - }, + serializedName: "parameters", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "Dictionary", value: { type: { name: "any" } } } } } } }; -export const nextPageLink: msRest.OperationURLParameter = { - parameterPath: "nextPageLink", + +export const referencePipelineRunId: OperationQueryParameter = { + parameterPath: ["options", "referencePipelineRunId"], mapper: { - required: true, - serializedName: "nextLink", + serializedName: "referencePipelineRunId", type: { name: "String" } - }, - skipEncoding: true + } }; -export const nodeName: msRest.OperationURLParameter = { - parameterPath: "nodeName", + +export const isRecovery: OperationQueryParameter = { + parameterPath: ["options", "isRecovery"], mapper: { - required: true, - serializedName: "nodeName", - constraints: { - MaxLength: 150, - MinLength: 1, - Pattern: /^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$/ - }, + serializedName: "isRecovery", type: { - name: "String" + name: "Boolean" } } }; -export const pipelineName: msRest.OperationURLParameter = { - parameterPath: "pipelineName", + +export const startActivityName: OperationQueryParameter = { + parameterPath: ["options", "startActivityName"], mapper: { - required: true, - serializedName: "pipelineName", - constraints: { - MaxLength: 260, - MinLength: 1, - Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ - }, + serializedName: "startActivityName", type: { name: "String" } } }; -export const privateEndpointConnectionName: msRest.OperationURLParameter = { - parameterPath: "privateEndpointConnectionName", + +export const startFromFailure: OperationQueryParameter = { + parameterPath: ["options", "startFromFailure"], mapper: { - required: true, - serializedName: "privateEndpointConnectionName", + serializedName: "startFromFailure", type: { - name: "String" + name: "Boolean" } } }; -export const referencePipelineRunId: msRest.OperationQueryParameter = { - parameterPath: ["options", "referencePipelineRunId"], + +export const filterParameters: OperationParameter = { + parameterPath: "filterParameters", + mapper: RunFilterParametersMapper +}; + +export const runId: OperationURLParameter = { + parameterPath: "runId", mapper: { - serializedName: "referencePipelineRunId", + serializedName: "runId", + required: true, type: { name: "String" } } }; -export const resourceGroupName: msRest.OperationURLParameter = { - parameterPath: "resourceGroupName", + +export const isRecursive: OperationQueryParameter = { + parameterPath: ["options", "isRecursive"], mapper: { - required: true, - serializedName: "resourceGroupName", - constraints: { - MaxLength: 90, - MinLength: 1, - Pattern: /^[-\w\._\(\)]+$/ - }, + serializedName: "isRecursive", type: { - name: "String" + name: "Boolean" } } }; -export const runId: msRest.OperationURLParameter = { - parameterPath: "runId", + +export const filterParameters1: OperationParameter = { + parameterPath: "filterParameters", + mapper: TriggerFilterParametersMapper +}; + +export const trigger: OperationParameter = { + parameterPath: "trigger", + mapper: TriggerResourceMapper +}; + +export const triggerName: OperationURLParameter = { + parameterPath: "triggerName", mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$"), + MaxLength: 260, + MinLength: 1 + }, + serializedName: "triggerName", required: true, - serializedName: "runId", type: { name: "String" } } }; -export const startActivityName: msRest.OperationQueryParameter = { - parameterPath: ["options", "startActivityName"], + +export const dataFlow: OperationParameter = { + parameterPath: "dataFlow", + mapper: DataFlowResourceMapper +}; + +export const dataFlowName: OperationURLParameter = { + parameterPath: "dataFlowName", mapper: { - serializedName: "startActivityName", + constraints: { + Pattern: new RegExp("^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$"), + MaxLength: 260, + MinLength: 1 + }, + serializedName: "dataFlowName", + required: true, type: { name: "String" } } }; -export const startFromFailure: msRest.OperationQueryParameter = { - parameterPath: ["options", "startFromFailure"], + +export const request: OperationParameter = { + parameterPath: "request", + mapper: CreateDataFlowDebugSessionRequestMapper +}; + +export const request1: OperationParameter = { + parameterPath: "request", + mapper: DataFlowDebugPackageMapper +}; + +export const request2: OperationParameter = { + parameterPath: "request", + mapper: DeleteDataFlowDebugSessionRequestMapper +}; + +export const request3: OperationParameter = { + parameterPath: "request", + mapper: DataFlowDebugCommandRequestMapper +}; + +export const managedVirtualNetwork: OperationParameter = { + parameterPath: "managedVirtualNetwork", + mapper: ManagedVirtualNetworkResourceMapper +}; + +export const managedVirtualNetworkName: OperationURLParameter = { + parameterPath: "managedVirtualNetworkName", mapper: { - serializedName: "startFromFailure", + constraints: { + Pattern: new RegExp( + "^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$" + ), + MaxLength: 127, + MinLength: 1 + }, + serializedName: "managedVirtualNetworkName", + required: true, type: { - name: "Boolean" + name: "String" } } }; -export const subscriptionId: msRest.OperationURLParameter = { - parameterPath: "subscriptionId", + +export const managedPrivateEndpoint: OperationParameter = { + parameterPath: "managedPrivateEndpoint", + mapper: ManagedPrivateEndpointResourceMapper +}; + +export const managedPrivateEndpointName: OperationURLParameter = { + parameterPath: "managedPrivateEndpointName", mapper: { + constraints: { + Pattern: new RegExp( + "^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$" + ), + MaxLength: 127, + MinLength: 1 + }, + serializedName: "managedPrivateEndpointName", required: true, - serializedName: "subscriptionId", type: { name: "String" } } }; -export const triggerName: msRest.OperationURLParameter = { - parameterPath: "triggerName", + +export const privateEndpointWrapper: OperationParameter = { + parameterPath: "privateEndpointWrapper", + mapper: PrivateLinkConnectionApprovalRequestResourceMapper +}; + +export const privateEndpointConnectionName: OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", mapper: { + serializedName: "privateEndpointConnectionName", required: true, - serializedName: "triggerName", - constraints: { - MaxLength: 260, - MinLength: 1, - Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ - }, type: { name: "String" } diff --git a/sdk/datafactory/arm-datafactory/src/models/pipelineRunsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/pipelineRunsMappers.ts deleted file mode 100644 index 895c0489a86f..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/pipelineRunsMappers.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - CloudError, - PipelineRun, - PipelineRunInvokedBy, - PipelineRunsQueryResponse, - RunFilterParameters, - RunQueryFilter, - RunQueryOrderBy -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts deleted file mode 100644 index 7cebc9c51591..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts +++ /dev/null @@ -1,584 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CreateRunResponse, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelineListResponse, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/privateEndPointConnectionsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/privateEndPointConnectionsMappers.ts deleted file mode 100644 index 797eec0f7556..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/privateEndPointConnectionsMappers.ts +++ /dev/null @@ -1,583 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionListResponse, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/privateEndpointConnectionMappers.ts b/sdk/datafactory/arm-datafactory/src/models/privateEndpointConnectionMappers.ts deleted file mode 100644 index e6cd1fbefe1a..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/privateEndpointConnectionMappers.ts +++ /dev/null @@ -1,582 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/privateLinkResourcesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/privateLinkResourcesMappers.ts deleted file mode 100644 index 94e608b9f668..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/privateLinkResourcesMappers.ts +++ /dev/null @@ -1,583 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - PrivateLinkResourcesWrapper, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/triggerRunsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/triggerRunsMappers.ts deleted file mode 100644 index aaaf294a1d80..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/triggerRunsMappers.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - CloudError, - RunFilterParameters, - RunQueryFilter, - RunQueryOrderBy, - TriggerRun, - TriggerRunsQueryResponse -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts deleted file mode 100644 index a95b28c7df0e..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts +++ /dev/null @@ -1,586 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AdditionalColumns, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3CompatibleLinkedService, - AmazonS3CompatibleLocation, - AmazonS3CompatibleReadSettings, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - ArmIdWrapper, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzPowerShellSetup, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksDeltaLakeDataset, - AzureDatabricksDeltaLakeExportCommand, - AzureDatabricksDeltaLakeImportCommand, - AzureDatabricksDeltaLakeLinkedService, - AzureDatabricksDeltaLakeSink, - AzureDatabricksDeltaLakeSource, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFileStorageWriteSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinaryReadSettings, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CMKIdentityDefinition, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - CompressionReadSettings, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ConnectionStateProperties, - ControlActivity, - CopyActivity, - CopyActivityLogSettings, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomEventsTrigger, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetTarCompression, - DatasetTarGZipCompression, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EncryptionConfiguration, - EntityReference, - EnvironmentVariableSetup, - ExcelDataset, - ExcelSource, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - ExportSettings, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GlobalParameterSpecification, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - ImportSettings, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonReadSettings, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogLocationSettings, - LogSettings, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - ManagedPrivateEndpoint, - ManagedPrivateEndpointResource, - ManagedVirtualNetwork, - ManagedVirtualNetworkReference, - ManagedVirtualNetworkResource, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MetadataItem, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbAtlasCollectionDataset, - MongoDbAtlasLinkedService, - MongoDbAtlasSink, - MongoDbAtlasSource, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Sink, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleCloudStorageLinkedService, - OracleCloudStorageLocation, - OracleCloudStorageReadSettings, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - OrcWriteSettings, - PackageStore, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - ParquetWriteSettings, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineElapsedTimeMetricPolicy, - PipelineFolder, - PipelinePolicy, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - PrivateEndpointConnectionResource, - PrivateLinkConnectionApprovalRequest, - PrivateLinkConnectionApprovalRequestResource, - PrivateLinkConnectionState, - PrivateLinkResource, - PrivateLinkResourceProperties, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RemotePrivateEndpointConnection, - RerunTumblingWindowTrigger, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSink, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - SharePointOnlineListLinkedService, - SharePointOnlineListResourceDataset, - SharePointOnlineListSource, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SkipErrorFile, - SnowflakeDataset, - SnowflakeExportCopyCommand, - SnowflakeImportCopyCommand, - SnowflakeLinkedService, - SnowflakeSink, - SnowflakeSource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlAlwaysEncryptedProperties, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlPartitionSettings, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TarGZipReadSettings, - TarReadSettings, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerFilterParameters, - TriggerListResponse, - TriggerPipelineReference, - TriggerQueryResponse, - TriggerReference, - TriggerResource, - TriggerSubscriptionOperationStatus, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - XmlDataset, - XmlReadSettings, - XmlSource, - ZipDeflateReadSettings, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts index 567da8345d19..4734fb533a49 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts @@ -3,23 +3,27 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/activityRunsMappers"; +import { ActivityRuns } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + RunFilterParameters, + ActivityRunsQueryByPipelineRunOptionalParams, + ActivityRunsQueryByPipelineRunResponse +} from "../models"; -/** Class representing a ActivityRuns. */ -export class ActivityRuns { +/** Class containing ActivityRuns operations. */ +export class ActivityRunsImpl implements ActivityRuns { private readonly client: DataFactoryManagementClientContext; /** - * Create a ActivityRuns. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class ActivityRuns class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -31,65 +35,28 @@ export class ActivityRuns { * @param factoryName The factory name. * @param runId The pipeline run identifier. * @param filterParameters Parameters to filter the activity runs. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - queryByPipelineRun(resourceGroupName: string, factoryName: string, runId: string, filterParameters: Models.RunFilterParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param runId The pipeline run identifier. - * @param filterParameters Parameters to filter the activity runs. - * @param callback The callback - */ - queryByPipelineRun(resourceGroupName: string, factoryName: string, runId: string, filterParameters: Models.RunFilterParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param runId The pipeline run identifier. - * @param filterParameters Parameters to filter the activity runs. - * @param options The optional parameters - * @param callback The callback - */ - queryByPipelineRun(resourceGroupName: string, factoryName: string, runId: string, filterParameters: Models.RunFilterParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - queryByPipelineRun(resourceGroupName: string, factoryName: string, runId: string, filterParameters: Models.RunFilterParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + queryByPipelineRun( + resourceGroupName: string, + factoryName: string, + runId: string, + filterParameters: RunFilterParameters, + options?: ActivityRunsQueryByPipelineRunOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - runId, - filterParameters, - options - }, - queryByPipelineRunOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, runId, filterParameters, options }, + queryByPipelineRunOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const queryByPipelineRunOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const queryByPipelineRunOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns", httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.runId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "filterParameters", - mapper: { - ...Mappers.RunFilterParameters, - required: true - } - }, responses: { 200: { bodyMapper: Mappers.ActivityRunsQueryResponse @@ -98,5 +65,16 @@ const queryByPipelineRunOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + requestBody: Parameters.filterParameters, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.runId + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts index 65ce4b40d2e8..5d1ae26b0c43 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts @@ -3,72 +3,225 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as Models from "../models"; -import * as Mappers from "../models/dataFlowDebugSessionMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { DataFlowDebugSession } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + DataFlowDebugSessionInfo, + DataFlowDebugSessionQueryByFactoryNextOptionalParams, + DataFlowDebugSessionQueryByFactoryOptionalParams, + CreateDataFlowDebugSessionRequest, + DataFlowDebugSessionCreateOptionalParams, + DataFlowDebugSessionCreateResponse, + DataFlowDebugSessionQueryByFactoryResponse, + DataFlowDebugPackage, + DataFlowDebugSessionAddDataFlowOptionalParams, + DataFlowDebugSessionAddDataFlowResponse, + DeleteDataFlowDebugSessionRequest, + DataFlowDebugSessionDeleteOptionalParams, + DataFlowDebugCommandRequest, + DataFlowDebugSessionExecuteCommandOptionalParams, + DataFlowDebugSessionExecuteCommandResponse, + DataFlowDebugSessionQueryByFactoryNextResponse +} from "../models"; -/** Class representing a DataFlowDebugSession. */ -export class DataFlowDebugSession { +/// +/** Class containing DataFlowDebugSession operations. */ +export class DataFlowDebugSessionImpl implements DataFlowDebugSession { private readonly client: DataFactoryManagementClientContext; /** - * Create a DataFlowDebugSession. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class DataFlowDebugSession class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; } /** - * Creates a data flow debug session. + * Query all active data flow debug sessions. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param request Data flow debug session definition - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - create(resourceGroupName: string, factoryName: string, request: Models.CreateDataFlowDebugSessionRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreate(resourceGroupName,factoryName,request,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + public listQueryByFactory( + resourceGroupName: string, + factoryName: string, + options?: DataFlowDebugSessionQueryByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.queryByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.queryByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *queryByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: DataFlowDebugSessionQueryByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._queryByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._queryByFactoryNext( + resourceGroupName, + factoryName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *queryByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: DataFlowDebugSessionQueryByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.queryByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } } /** - * Query all active data flow debug sessions. + * Creates a data flow debug session. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param request Data flow debug session definition + * @param options The options parameters. */ - queryByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; + async beginCreate( + resourceGroupName: string, + factoryName: string, + request: CreateDataFlowDebugSessionRequest, + options?: DataFlowDebugSessionCreateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + DataFlowDebugSessionCreateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, request, options }, + createOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + } + /** + * Creates a data flow debug session. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param callback The callback + * @param request Data flow debug session definition + * @param options The options parameters. */ - queryByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; + async beginCreateAndWait( + resourceGroupName: string, + factoryName: string, + request: CreateDataFlowDebugSessionRequest, + options?: DataFlowDebugSessionCreateOptionalParams + ): Promise { + const poller = await this.beginCreate( + resourceGroupName, + factoryName, + request, + options + ); + return poller.pollUntilDone(); + } + /** + * Query all active data flow debug sessions. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - queryByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - queryByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _queryByFactory( + resourceGroupName: string, + factoryName: string, + options?: DataFlowDebugSessionQueryByFactoryOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - options - }, - queryByFactoryOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, options }, + queryByFactoryOperationSpec + ); } /** @@ -76,35 +229,18 @@ export class DataFlowDebugSession { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param request Data flow debug session definition with debug content. - * @param [options] The optional parameters - * @returns Promise - */ - addDataFlow(resourceGroupName: string, factoryName: string, request: Models.DataFlowDebugPackage, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param request Data flow debug session definition with debug content. - * @param callback The callback - */ - addDataFlow(resourceGroupName: string, factoryName: string, request: Models.DataFlowDebugPackage, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param request Data flow debug session definition with debug content. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - addDataFlow(resourceGroupName: string, factoryName: string, request: Models.DataFlowDebugPackage, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - addDataFlow(resourceGroupName: string, factoryName: string, request: Models.DataFlowDebugPackage, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + addDataFlow( + resourceGroupName: string, + factoryName: string, + request: DataFlowDebugPackage, + options?: DataFlowDebugSessionAddDataFlowOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - request, - options - }, - addDataFlowOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, request, options }, + addDataFlowOperationSpec + ); } /** @@ -112,35 +248,18 @@ export class DataFlowDebugSession { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param request Data flow debug session definition for deletion - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, request: Models.DeleteDataFlowDebugSessionRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param request Data flow debug session definition for deletion - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, request: Models.DeleteDataFlowDebugSessionRequest, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param request Data flow debug session definition for deletion - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, request: Models.DeleteDataFlowDebugSessionRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, request: Models.DeleteDataFlowDebugSessionRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + request: DeleteDataFlowDebugSessionRequest, + options?: DataFlowDebugSessionDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - request, - options - }, - deleteMethodOperationSpec, - callback); + { resourceGroupName, factoryName, request, options }, + deleteOperationSpec + ); } /** @@ -148,32 +267,67 @@ export class DataFlowDebugSession { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param request Data flow debug command definition. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - executeCommand(resourceGroupName: string, factoryName: string, request: Models.DataFlowDebugCommandRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginExecuteCommand(resourceGroupName,factoryName,request,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } + async beginExecuteCommand( + resourceGroupName: string, + factoryName: string, + request: DataFlowDebugCommandRequest, + options?: DataFlowDebugSessionExecuteCommandOptionalParams + ): Promise< + PollerLike< + PollOperationState, + DataFlowDebugSessionExecuteCommandResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; - /** - * Creates a data flow debug session. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param request Data flow debug session definition - * @param [options] The optional parameters - * @returns Promise - */ - beginCreate(resourceGroupName: string, factoryName: string, request: Models.CreateDataFlowDebugSessionRequest, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - request, - options - }, - beginCreateOperationSpec, - options); + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, request, options }, + executeCommandOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); } /** @@ -181,66 +335,82 @@ export class DataFlowDebugSession { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param request Data flow debug command definition. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - beginExecuteCommand(resourceGroupName: string, factoryName: string, request: Models.DataFlowDebugCommandRequest, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - request, - options - }, - beginExecuteCommandOperationSpec, - options); + async beginExecuteCommandAndWait( + resourceGroupName: string, + factoryName: string, + request: DataFlowDebugCommandRequest, + options?: DataFlowDebugSessionExecuteCommandOptionalParams + ): Promise { + const poller = await this.beginExecuteCommand( + resourceGroupName, + factoryName, + request, + options + ); + return poller.pollUntilDone(); } /** - * Query all active data flow debug sessions. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - queryByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - queryByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * QueryByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the QueryByFactory method. + * @param options The options parameters. */ - queryByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - queryByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _queryByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: DataFlowDebugSessionQueryByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - queryByFactoryNextOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + queryByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const queryByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/createDataFlowDebugSession", httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryDataFlowDebugSessions", + responses: { + 200: { + bodyMapper: Mappers.CreateDataFlowDebugSessionResponse + }, + 201: { + bodyMapper: Mappers.CreateDataFlowDebugSessionResponse + }, + 202: { + bodyMapper: Mappers.CreateDataFlowDebugSessionResponse + }, + 204: { + bodyMapper: Mappers.CreateDataFlowDebugSessionResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.request, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const queryByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryDataFlowDebugSessions", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.QueryDataFlowDebugSessionsResponse @@ -249,30 +419,20 @@ const queryByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const addDataFlowOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/addDataFlowToDebugSession", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "request", - mapper: { - ...Mappers.DataFlowDebugPackage, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const addDataFlowOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/addDataFlowToDebugSession", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.AddDataFlowToDebugSessionResponse @@ -281,126 +441,76 @@ const addDataFlowOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/deleteDataFlowDebugSession", + requestBody: Parameters.request1, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "request", - mapper: { - ...Mappers.DeleteDataFlowDebugSessionRequest, - required: true - } - }, + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/deleteDataFlowDebugSession", + httpMethod: "POST", responses: { 200: {}, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const beginCreateOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/createDataFlowDebugSession", + requestBody: Parameters.request2, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "request", - mapper: { - ...Mappers.CreateDataFlowDebugSessionRequest, - required: true - } - }, + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const executeCommandOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/executeDataFlowDebugCommand", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.CreateDataFlowDebugSessionResponse, - headersMapper: Mappers.DataFlowDebugSessionCreateHeaders + bodyMapper: Mappers.DataFlowDebugCommandResponse + }, + 201: { + bodyMapper: Mappers.DataFlowDebugCommandResponse }, 202: { - headersMapper: Mappers.DataFlowDebugSessionCreateHeaders + bodyMapper: Mappers.DataFlowDebugCommandResponse + }, + 204: { + bodyMapper: Mappers.DataFlowDebugCommandResponse }, default: { - bodyMapper: Mappers.CloudError, - headersMapper: Mappers.DataFlowDebugSessionCreateHeaders + bodyMapper: Mappers.CloudError } }, - serializer -}; - -const beginExecuteCommandOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/executeDataFlowDebugCommand", + requestBody: Parameters.request3, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "request", - mapper: { - ...Mappers.DataFlowDebugCommandRequest, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.DataFlowDebugCommandResponse, - headersMapper: Mappers.DataFlowDebugSessionExecuteCommandHeaders - }, - 202: { - headersMapper: Mappers.DataFlowDebugSessionExecuteCommandHeaders - }, - default: { - bodyMapper: Mappers.CloudError, - headersMapper: Mappers.DataFlowDebugSessionExecuteCommandHeaders - } - }, + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer }; - -const queryByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - baseUrl: "https://management.azure.com", +const queryByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.QueryDataFlowDebugSessionsResponse @@ -409,5 +519,14 @@ const queryByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts b/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts index 087a09610e46..9863dc42cd7a 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts @@ -3,102 +3,150 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/dataFlowsMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { DataFlows } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + DataFlowResource, + DataFlowsListByFactoryNextOptionalParams, + DataFlowsListByFactoryOptionalParams, + DataFlowsCreateOrUpdateOptionalParams, + DataFlowsCreateOrUpdateResponse, + DataFlowsGetOptionalParams, + DataFlowsGetResponse, + DataFlowsDeleteOptionalParams, + DataFlowsListByFactoryResponse, + DataFlowsListByFactoryNextResponse +} from "../models"; -/** Class representing a DataFlows. */ -export class DataFlows { +/// +/** Class containing DataFlows operations. */ +export class DataFlowsImpl implements DataFlows { private readonly client: DataFactoryManagementClientContext; /** - * Create a DataFlows. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class DataFlows class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; } /** - * Creates or updates a data flow. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param dataFlowName The data flow name. - * @param dataFlow Data flow resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, dataFlowName: string, dataFlow: Models.DataFlowResource, options?: Models.DataFlowsCreateOrUpdateOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param dataFlowName The data flow name. - * @param dataFlow Data flow resource definition. - * @param callback The callback - */ - createOrUpdate(resourceGroupName: string, factoryName: string, dataFlowName: string, dataFlow: Models.DataFlowResource, callback: msRest.ServiceCallback): void; - /** + * Lists data flows. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param dataFlowName The data flow name. - * @param dataFlow Data flow resource definition. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, dataFlowName: string, dataFlow: Models.DataFlowResource, options: Models.DataFlowsCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, dataFlowName: string, dataFlow: Models.DataFlowResource, options?: Models.DataFlowsCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { + public listByFactory( + resourceGroupName: string, + factoryName: string, + options?: DataFlowsListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: DataFlowsListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( resourceGroupName, factoryName, - dataFlowName, - dataFlow, + continuationToken, options - }, - createOrUpdateOperationSpec, - callback) as Promise; + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: DataFlowsListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } } /** - * Gets a data flow. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param dataFlowName The data flow name. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, factoryName: string, dataFlowName: string, options?: Models.DataFlowsGetOptionalParams): Promise; - /** + * Creates or updates a data flow. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param dataFlowName The data flow name. - * @param callback The callback + * @param dataFlow Data flow resource definition. + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, dataFlowName: string, callback: msRest.ServiceCallback): void; + createOrUpdate( + resourceGroupName: string, + factoryName: string, + dataFlowName: string, + dataFlow: DataFlowResource, + options?: DataFlowsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, dataFlowName, dataFlow, options }, + createOrUpdateOperationSpec + ); + } + /** + * Gets a data flow. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param dataFlowName The data flow name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, dataFlowName: string, options: Models.DataFlowsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, dataFlowName: string, options?: Models.DataFlowsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + dataFlowName: string, + options?: DataFlowsGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - dataFlowName, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, dataFlowName, options }, + getOperationSpec + ); } /** @@ -106,123 +154,63 @@ export class DataFlows { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param dataFlowName The data flow name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, dataFlowName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param dataFlowName The data flow name. - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, dataFlowName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param dataFlowName The data flow name. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, dataFlowName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, dataFlowName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + dataFlowName: string, + options?: DataFlowsDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - dataFlowName, - options - }, - deleteMethodOperationSpec, - callback); + { resourceGroupName, factoryName, dataFlowName, options }, + deleteOperationSpec + ); } /** * Lists data flows. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactory( + resourceGroupName: string, + factoryName: string, + options?: DataFlowsListByFactoryOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - options - }, - listByFactoryOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); } /** - * Lists data flows. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: DataFlowsListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByFactoryNextOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const createOrUpdateOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}", httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.dataFlowName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "dataFlow", - mapper: { - ...Mappers.DataFlowResource, - required: true - } - }, responses: { 200: { bodyMapper: Mappers.DataFlowResource @@ -231,25 +219,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}", + requestBody: Parameters.dataFlow, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.dataFlowName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.DataFlowResource @@ -258,24 +248,21 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.dataFlowName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -283,23 +270,21 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const listByFactoryOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage + Parameters.factoryName, + Parameters.dataFlowName ], + headerParameters: [Parameters.accept], + serializer +}; +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.DataFlowListResponse @@ -308,22 +293,19 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.DataFlowListResponse @@ -332,5 +314,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/datasets.ts b/sdk/datafactory/arm-datafactory/src/operations/datasets.ts index 6c266f96b949..399883c22d17 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/datasets.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/datasets.ts @@ -3,23 +3,36 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/datasetsMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Datasets } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + DatasetResource, + DatasetsListByFactoryNextOptionalParams, + DatasetsListByFactoryOptionalParams, + DatasetsListByFactoryResponse, + DatasetsCreateOrUpdateOptionalParams, + DatasetsCreateOrUpdateResponse, + DatasetsGetOptionalParams, + DatasetsGetResponse, + DatasetsDeleteOptionalParams, + DatasetsListByFactoryNextResponse +} from "../models"; -/** Class representing a Datasets. */ -export class Datasets { +/// +/** Class containing Datasets operations. */ +export class DatasetsImpl implements Datasets { private readonly client: DataFactoryManagementClientContext; /** - * Create a Datasets. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class Datasets class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -29,72 +42,109 @@ export class Datasets { * Lists datasets. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { + public listByFactory( + resourceGroupName: string, + factoryName: string, + options?: DatasetsListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: DatasetsListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( resourceGroupName, factoryName, + continuationToken, options - }, - listByFactoryOperationSpec, - callback) as Promise; + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: DatasetsListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } } /** - * Creates or updates a dataset. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param datasetName The dataset name. - * @param dataset Dataset resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, datasetName: string, dataset: Models.DatasetResource, options?: Models.DatasetsCreateOrUpdateOptionalParams): Promise; - /** + * Lists datasets. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param datasetName The dataset name. - * @param dataset Dataset resource definition. - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, datasetName: string, dataset: Models.DatasetResource, callback: msRest.ServiceCallback): void; + private _listByFactory( + resourceGroupName: string, + factoryName: string, + options?: DatasetsListByFactoryOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); + } + /** + * Creates or updates a dataset. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param datasetName The dataset name. * @param dataset Dataset resource definition. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, datasetName: string, dataset: Models.DatasetResource, options: Models.DatasetsCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, datasetName: string, dataset: Models.DatasetResource, options?: Models.DatasetsCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate( + resourceGroupName: string, + factoryName: string, + datasetName: string, + dataset: DatasetResource, + options?: DatasetsCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - datasetName, - dataset, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, datasetName, dataset, options }, + createOrUpdateOperationSpec + ); } /** @@ -102,35 +152,18 @@ export class Datasets { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param datasetName The dataset name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, datasetName: string, options?: Models.DatasetsGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param datasetName The dataset name. - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, datasetName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param datasetName The dataset name. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, datasetName: string, options: Models.DatasetsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, datasetName: string, options?: Models.DatasetsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + datasetName: string, + options?: DatasetsGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - datasetName, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, datasetName, options }, + getOperationSpec + ); } /** @@ -138,82 +171,46 @@ export class Datasets { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param datasetName The dataset name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, datasetName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param datasetName The dataset name. - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, datasetName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param datasetName The dataset name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, datasetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, datasetName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + datasetName: string, + options?: DatasetsDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - datasetName, - options - }, - deleteMethodOperationSpec, - callback); + { resourceGroupName, factoryName, datasetName, options }, + deleteOperationSpec + ); } /** - * Lists datasets. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: DatasetsListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByFactoryNextOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.DatasetListResponse @@ -222,32 +219,20 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.datasetName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage + Parameters.factoryName ], - requestBody: { - parameterPath: "dataset", - mapper: { - ...Mappers.DatasetResource, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.DatasetResource @@ -256,25 +241,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + requestBody: Parameters.dataset, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.datasetName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.DatasetResource @@ -284,24 +271,21 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.datasetName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -309,22 +293,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.datasetName + ], + headerParameters: [Parameters.accept], serializer }; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.DatasetListResponse @@ -333,5 +315,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts b/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts index 6ded0ca8d520..de27dfcd2faf 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts @@ -3,23 +3,32 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/exposureControlMappers"; +import { ExposureControl } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + ExposureControlRequest, + ExposureControlGetFeatureValueOptionalParams, + ExposureControlGetFeatureValueResponse, + ExposureControlGetFeatureValueByFactoryOptionalParams, + ExposureControlGetFeatureValueByFactoryResponse, + ExposureControlBatchRequest, + ExposureControlQueryFeatureValuesByFactoryOptionalParams, + ExposureControlQueryFeatureValuesByFactoryResponse +} from "../models"; -/** Class representing a ExposureControl. */ -export class ExposureControl { +/** Class containing ExposureControl operations. */ +export class ExposureControlImpl implements ExposureControl { private readonly client: DataFactoryManagementClientContext; /** - * Create a ExposureControl. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class ExposureControl class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -29,32 +38,17 @@ export class ExposureControl { * Get exposure control feature for specific location. * @param locationId The location identifier. * @param exposureControlRequest The exposure control request. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - getFeatureValue(locationId: string, exposureControlRequest: Models.ExposureControlRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param locationId The location identifier. - * @param exposureControlRequest The exposure control request. - * @param callback The callback - */ - getFeatureValue(locationId: string, exposureControlRequest: Models.ExposureControlRequest, callback: msRest.ServiceCallback): void; - /** - * @param locationId The location identifier. - * @param exposureControlRequest The exposure control request. - * @param options The optional parameters - * @param callback The callback - */ - getFeatureValue(locationId: string, exposureControlRequest: Models.ExposureControlRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getFeatureValue(locationId: string, exposureControlRequest: Models.ExposureControlRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getFeatureValue( + locationId: string, + exposureControlRequest: ExposureControlRequest, + options?: ExposureControlGetFeatureValueOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - locationId, - exposureControlRequest, - options - }, - getFeatureValueOperationSpec, - callback) as Promise; + { locationId, exposureControlRequest, options }, + getFeatureValueOperationSpec + ); } /** @@ -62,35 +56,18 @@ export class ExposureControl { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param exposureControlRequest The exposure control request. - * @param [options] The optional parameters - * @returns Promise - */ - getFeatureValueByFactory(resourceGroupName: string, factoryName: string, exposureControlRequest: Models.ExposureControlRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param exposureControlRequest The exposure control request. - * @param callback The callback - */ - getFeatureValueByFactory(resourceGroupName: string, factoryName: string, exposureControlRequest: Models.ExposureControlRequest, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param exposureControlRequest The exposure control request. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - getFeatureValueByFactory(resourceGroupName: string, factoryName: string, exposureControlRequest: Models.ExposureControlRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getFeatureValueByFactory(resourceGroupName: string, factoryName: string, exposureControlRequest: Models.ExposureControlRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getFeatureValueByFactory( + resourceGroupName: string, + factoryName: string, + exposureControlRequest: ExposureControlRequest, + options?: ExposureControlGetFeatureValueByFactoryOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - exposureControlRequest, - options - }, - getFeatureValueByFactoryOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, exposureControlRequest, options }, + getFeatureValueByFactoryOperationSpec + ); } /** @@ -98,60 +75,27 @@ export class ExposureControl { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param exposureControlBatchRequest The exposure control request for list of features. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: Models.ExposureControlBatchRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param exposureControlBatchRequest The exposure control request for list of features. - * @param callback The callback - */ - queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: Models.ExposureControlBatchRequest, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param exposureControlBatchRequest The exposure control request for list of features. - * @param options The optional parameters - * @param callback The callback - */ - queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: Models.ExposureControlBatchRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - queryFeatureValuesByFactory(resourceGroupName: string, factoryName: string, exposureControlBatchRequest: Models.ExposureControlBatchRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + queryFeatureValuesByFactory( + resourceGroupName: string, + factoryName: string, + exposureControlBatchRequest: ExposureControlBatchRequest, + options?: ExposureControlQueryFeatureValuesByFactoryOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - exposureControlBatchRequest, - options - }, - queryFeatureValuesByFactoryOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, exposureControlBatchRequest, options }, + queryFeatureValuesByFactoryOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const getFeatureValueOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getFeatureValueOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/getFeatureValue", httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/getFeatureValue", - urlParameters: [ - Parameters.subscriptionId, - Parameters.locationId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "exposureControlRequest", - mapper: { - ...Mappers.ExposureControlRequest, - required: true - } - }, responses: { 200: { bodyMapper: Mappers.ExposureControlResponse @@ -160,30 +104,21 @@ const getFeatureValueOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getFeatureValueByFactoryOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getFeatureValue", + requestBody: Parameters.exposureControlRequest, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage + Parameters.locationId ], - requestBody: { - parameterPath: "exposureControlRequest", - mapper: { - ...Mappers.ExposureControlRequest, - required: true - } - }, + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getFeatureValueByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getFeatureValue", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.ExposureControlResponse @@ -192,30 +127,22 @@ const getFeatureValueByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const queryFeatureValuesByFactoryOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue", + requestBody: Parameters.exposureControlRequest, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "exposureControlBatchRequest", - mapper: { - ...Mappers.ExposureControlBatchRequest, - required: true - } - }, + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const queryFeatureValuesByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryFeaturesValue", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.ExposureControlBatchResponse @@ -224,5 +151,15 @@ const queryFeatureValuesByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + requestBody: Parameters.exposureControlBatchRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/factories.ts b/sdk/datafactory/arm-datafactory/src/operations/factories.ts index 9dfe3372e25f..cd26ede86919 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/factories.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/factories.ts @@ -3,23 +3,52 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/factoriesMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Factories } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + Factory, + FactoriesListNextOptionalParams, + FactoriesListOptionalParams, + FactoriesListByResourceGroupNextOptionalParams, + FactoriesListByResourceGroupOptionalParams, + FactoriesListResponse, + FactoryRepoUpdate, + FactoriesConfigureFactoryRepoOptionalParams, + FactoriesConfigureFactoryRepoResponse, + FactoriesListByResourceGroupResponse, + FactoriesCreateOrUpdateOptionalParams, + FactoriesCreateOrUpdateResponse, + FactoryUpdateParameters, + FactoriesUpdateOptionalParams, + FactoriesUpdateResponse, + FactoriesGetOptionalParams, + FactoriesGetResponse, + FactoriesDeleteOptionalParams, + GitHubAccessTokenRequest, + FactoriesGetGitHubAccessTokenOptionalParams, + FactoriesGetGitHubAccessTokenResponse, + UserAccessPolicy, + FactoriesGetDataPlaneAccessOptionalParams, + FactoriesGetDataPlaneAccessResponse, + FactoriesListNextResponse, + FactoriesListByResourceGroupNextResponse +} from "../models"; -/** Class representing a Factories. */ -export class Factories { +/// +/** Class containing Factories operations. */ +export class FactoriesImpl implements Factories { private readonly client: DataFactoryManagementClientContext; /** - * Create a Factories. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class Factories class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -27,86 +56,139 @@ export class Factories { /** * Lists factories under the specified subscription. - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options + * @param options The options parameters. + */ + public list( + options?: FactoriesListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(options); + return { + next() { + return iter.next(); }, - listOperationSpec, - callback) as Promise; + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(options); + } + }; + } + + private async *listPagingPage( + options?: FactoriesListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext(continuationToken, options); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + options?: FactoriesListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(options)) { + yield* page; + } } /** - * Updates a factory's repo information. - * @param locationId The location identifier. - * @param factoryRepoUpdate Update factory repo request definition. - * @param [options] The optional parameters - * @returns Promise - */ - configureFactoryRepo(locationId: string, factoryRepoUpdate: Models.FactoryRepoUpdate, options?: msRest.RequestOptionsBase): Promise; + * Lists factories. + * @param resourceGroupName The resource group name. + * @param options The options parameters. + */ + public listByResourceGroup( + resourceGroupName: string, + options?: FactoriesListByResourceGroupOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByResourceGroupPagingPage(resourceGroupName, options); + } + }; + } + + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: FactoriesListByResourceGroupOptionalParams + ): AsyncIterableIterator { + let result = await this._listByResourceGroup(resourceGroupName, options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: FactoriesListByResourceGroupOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options + )) { + yield* page; + } + } + /** - * @param locationId The location identifier. - * @param factoryRepoUpdate Update factory repo request definition. - * @param callback The callback + * Lists factories under the specified subscription. + * @param options The options parameters. */ - configureFactoryRepo(locationId: string, factoryRepoUpdate: Models.FactoryRepoUpdate, callback: msRest.ServiceCallback): void; + private _list( + options?: FactoriesListOptionalParams + ): Promise { + return this.client.sendOperationRequest({ options }, listOperationSpec); + } + /** + * Updates a factory's repo information. * @param locationId The location identifier. * @param factoryRepoUpdate Update factory repo request definition. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - configureFactoryRepo(locationId: string, factoryRepoUpdate: Models.FactoryRepoUpdate, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - configureFactoryRepo(locationId: string, factoryRepoUpdate: Models.FactoryRepoUpdate, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + configureFactoryRepo( + locationId: string, + factoryRepoUpdate: FactoryRepoUpdate, + options?: FactoriesConfigureFactoryRepoOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - locationId, - factoryRepoUpdate, - options - }, - configureFactoryRepoOperationSpec, - callback) as Promise; + { locationId, factoryRepoUpdate, options }, + configureFactoryRepoOperationSpec + ); } /** * Lists factories. * @param resourceGroupName The resource group name. - * @param [options] The optional parameters - * @returns Promise - */ - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param callback The callback + * @param options The options parameters. */ - listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param options The optional parameters - * @param callback The callback - */ - listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByResourceGroup( + resourceGroupName: string, + options?: FactoriesListByResourceGroupOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - options - }, - listByResourceGroupOperationSpec, - callback) as Promise; + { resourceGroupName, options }, + listByResourceGroupOperationSpec + ); } /** @@ -114,35 +196,18 @@ export class Factories { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param factory Factory resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, factory: Models.Factory, options?: Models.FactoriesCreateOrUpdateOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param factory Factory resource definition. - * @param callback The callback - */ - createOrUpdate(resourceGroupName: string, factoryName: string, factory: Models.Factory, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param factory Factory resource definition. - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdate(resourceGroupName: string, factoryName: string, factory: Models.Factory, options: Models.FactoriesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, factory: Models.Factory, options?: Models.FactoriesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + factory: Factory, + options?: FactoriesCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - factory, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, factory, options }, + createOrUpdateOperationSpec + ); } /** @@ -150,99 +215,52 @@ export class Factories { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param factoryUpdateParameters The parameters for updating a factory. - * @param [options] The optional parameters - * @returns Promise - */ - update(resourceGroupName: string, factoryName: string, factoryUpdateParameters: Models.FactoryUpdateParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param factoryUpdateParameters The parameters for updating a factory. - * @param callback The callback - */ - update(resourceGroupName: string, factoryName: string, factoryUpdateParameters: Models.FactoryUpdateParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param factoryUpdateParameters The parameters for updating a factory. - * @param options The optional parameters - * @param callback The callback - */ - update(resourceGroupName: string, factoryName: string, factoryUpdateParameters: Models.FactoryUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, factoryName: string, factoryUpdateParameters: Models.FactoryUpdateParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + * @param options The options parameters. + */ + update( + resourceGroupName: string, + factoryName: string, + factoryUpdateParameters: FactoryUpdateParameters, + options?: FactoriesUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - factoryUpdateParameters, - options - }, - updateOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, factoryUpdateParameters, options }, + updateOperationSpec + ); } /** * Gets a factory. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, factoryName: string, options?: Models.FactoriesGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, options: Models.FactoriesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, options?: Models.FactoriesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + options?: FactoriesGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, options }, + getOperationSpec + ); } /** * Deletes a factory. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + options?: FactoriesDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - options - }, - deleteMethodOperationSpec, - callback); + { resourceGroupName, factoryName, options }, + deleteOperationSpec + ); } /** @@ -250,35 +268,18 @@ export class Factories { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param gitHubAccessTokenRequest Get GitHub access token request definition. - * @param [options] The optional parameters - * @returns Promise - */ - getGitHubAccessToken(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: Models.GitHubAccessTokenRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param gitHubAccessTokenRequest Get GitHub access token request definition. - * @param callback The callback - */ - getGitHubAccessToken(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: Models.GitHubAccessTokenRequest, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param gitHubAccessTokenRequest Get GitHub access token request definition. - * @param options The optional parameters - * @param callback The callback - */ - getGitHubAccessToken(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: Models.GitHubAccessTokenRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getGitHubAccessToken(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: Models.GitHubAccessTokenRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + * @param options The options parameters. + */ + getGitHubAccessToken( + resourceGroupName: string, + factoryName: string, + gitHubAccessTokenRequest: GitHubAccessTokenRequest, + options?: FactoriesGetGitHubAccessTokenOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - gitHubAccessTokenRequest, - options - }, - getGitHubAccessTokenOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, gitHubAccessTokenRequest, options }, + getGitHubAccessTokenOperationSpec + ); } /** @@ -286,108 +287,59 @@ export class Factories { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param policy Data Plane user access policy definition. - * @param [options] The optional parameters - * @returns Promise - */ - getDataPlaneAccess(resourceGroupName: string, factoryName: string, policy: Models.UserAccessPolicy, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param policy Data Plane user access policy definition. - * @param callback The callback - */ - getDataPlaneAccess(resourceGroupName: string, factoryName: string, policy: Models.UserAccessPolicy, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param policy Data Plane user access policy definition. - * @param options The optional parameters - * @param callback The callback - */ - getDataPlaneAccess(resourceGroupName: string, factoryName: string, policy: Models.UserAccessPolicy, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getDataPlaneAccess(resourceGroupName: string, factoryName: string, policy: Models.UserAccessPolicy, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + * @param options The options parameters. + */ + getDataPlaneAccess( + resourceGroupName: string, + factoryName: string, + policy: UserAccessPolicy, + options?: FactoriesGetDataPlaneAccessOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - policy, - options - }, - getDataPlaneAccessOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, policy, options }, + getDataPlaneAccessOperationSpec + ); } /** - * Lists factories under the specified subscription. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListNext + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listNext( + nextLink: string, + options?: FactoriesListNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; + { nextLink, options }, + listNextOperationSpec + ); } /** - * Lists factories. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + * ListByResourceGroupNext + * @param resourceGroupName The resource group name. + * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. + * @param options The options parameters. + */ + private _listByResourceGroupNext( + resourceGroupName: string, + nextLink: string, + options?: FactoriesListByResourceGroupNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByResourceGroupNextOperationSpec, - callback) as Promise; + { resourceGroupName, nextLink, options }, + listByResourceGroupNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories", - urlParameters: [ - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.FactoryListResponse @@ -396,29 +348,15 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], serializer }; - -const configureFactoryRepoOperationSpec: msRest.OperationSpec = { +const configureFactoryRepoOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo", httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo", - urlParameters: [ - Parameters.subscriptionId, - Parameters.locationId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "factoryRepoUpdate", - mapper: { - ...Mappers.FactoryRepoUpdate, - required: true - } - }, responses: { 200: { bodyMapper: Mappers.Factory @@ -427,22 +365,21 @@ const configureFactoryRepoOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const listByResourceGroupOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories", + requestBody: Parameters.factoryRepoUpdate, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage + Parameters.locationId ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.FactoryListResponse @@ -451,31 +388,19 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage + Parameters.resourceGroupName ], - requestBody: { - parameterPath: "factory", - mapper: { - ...Mappers.Factory, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.Factory @@ -484,30 +409,26 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const updateOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + requestBody: Parameters.factory, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], - requestBody: { - parameterPath: "factoryUpdateParameters", - mapper: { - ...Mappers.FactoryUpdateParameters, - required: true - } - }, + mediaType: "json", + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + httpMethod: "PATCH", responses: { 200: { bodyMapper: Mappers.Factory @@ -516,24 +437,22 @@ const updateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + requestBody: Parameters.factoryUpdateParameters, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.Factory @@ -543,23 +462,20 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -567,30 +483,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getGitHubAccessTokenOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getGitHubAccessToken", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "gitHubAccessTokenRequest", - mapper: { - ...Mappers.GitHubAccessTokenRequest, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const getGitHubAccessTokenOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getGitHubAccessToken", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.GitHubAccessTokenResponse @@ -599,30 +505,22 @@ const getGitHubAccessTokenOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getDataPlaneAccessOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getDataPlaneAccess", + requestBody: Parameters.gitHubAccessTokenRequest, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "policy", - mapper: { - ...Mappers.UserAccessPolicy, - required: true - } - }, + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getDataPlaneAccessOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getDataPlaneAccess", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.AccessPolicyResponse @@ -631,22 +529,21 @@ const getDataPlaneAccessOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + requestBody: Parameters.policy, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer }; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.FactoryListResponse @@ -655,22 +552,18 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId + ], + headerParameters: [Parameters.accept], serializer }; - -const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.FactoryListResponse @@ -679,5 +572,13 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/index.ts b/sdk/datafactory/arm-datafactory/src/operations/index.ts index f35505b8c212..69f4138b971a 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/index.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/index.ts @@ -3,8 +3,7 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export * from "./operations"; diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts index 2aa3bf62282c..d5b99ef8bdab 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts @@ -3,23 +3,32 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/integrationRuntimeNodesMappers"; +import { IntegrationRuntimeNodes } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + IntegrationRuntimeNodesGetOptionalParams, + IntegrationRuntimeNodesGetResponse, + IntegrationRuntimeNodesDeleteOptionalParams, + UpdateIntegrationRuntimeNodeRequest, + IntegrationRuntimeNodesUpdateOptionalParams, + IntegrationRuntimeNodesUpdateResponse, + IntegrationRuntimeNodesGetIpAddressOptionalParams, + IntegrationRuntimeNodesGetIpAddressResponse +} from "../models"; -/** Class representing a IntegrationRuntimeNodes. */ -export class IntegrationRuntimeNodes { +/** Class containing IntegrationRuntimeNodes operations. */ +export class IntegrationRuntimeNodesImpl implements IntegrationRuntimeNodes { private readonly client: DataFactoryManagementClientContext; /** - * Create a IntegrationRuntimeNodes. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class IntegrationRuntimeNodes class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -31,28 +40,15 @@ export class IntegrationRuntimeNodes { * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. * @param nodeName The integration runtime node name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param nodeName The integration runtime node name. - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param nodeName The integration runtime node name. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + nodeName: string, + options?: IntegrationRuntimeNodesGetOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -61,8 +57,8 @@ export class IntegrationRuntimeNodes { nodeName, options }, - getOperationSpec, - callback) as Promise; + getOperationSpec + ); } /** @@ -71,28 +67,15 @@ export class IntegrationRuntimeNodes { * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. * @param nodeName The integration runtime node name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param nodeName The integration runtime node name. - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param nodeName The integration runtime node name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + nodeName: string, + options?: IntegrationRuntimeNodesDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -101,8 +84,8 @@ export class IntegrationRuntimeNodes { nodeName, options }, - deleteMethodOperationSpec, - callback); + deleteOperationSpec + ); } /** @@ -111,34 +94,17 @@ export class IntegrationRuntimeNodes { * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. * @param nodeName The integration runtime node name. - * @param updateIntegrationRuntimeNodeRequest The parameters for updating an integration runtime - * node. - * @param [options] The optional parameters - * @returns Promise + * @param updateIntegrationRuntimeNodeRequest The parameters for updating an integration runtime node. + * @param options The options parameters. */ - update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, updateIntegrationRuntimeNodeRequest: Models.UpdateIntegrationRuntimeNodeRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param nodeName The integration runtime node name. - * @param updateIntegrationRuntimeNodeRequest The parameters for updating an integration runtime - * node. - * @param callback The callback - */ - update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, updateIntegrationRuntimeNodeRequest: Models.UpdateIntegrationRuntimeNodeRequest, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param nodeName The integration runtime node name. - * @param updateIntegrationRuntimeNodeRequest The parameters for updating an integration runtime - * node. - * @param options The optional parameters - * @param callback The callback - */ - update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, updateIntegrationRuntimeNodeRequest: Models.UpdateIntegrationRuntimeNodeRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, updateIntegrationRuntimeNodeRequest: Models.UpdateIntegrationRuntimeNodeRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + nodeName: string, + updateIntegrationRuntimeNodeRequest: UpdateIntegrationRuntimeNodeRequest, + options?: IntegrationRuntimeNodesUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -148,8 +114,8 @@ export class IntegrationRuntimeNodes { updateIntegrationRuntimeNodeRequest, options }, - updateOperationSpec, - callback) as Promise; + updateOperationSpec + ); } /** @@ -158,28 +124,15 @@ export class IntegrationRuntimeNodes { * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. * @param nodeName The integration runtime node name. - * @param [options] The optional parameters - * @returns Promise - */ - getIpAddress(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param nodeName The integration runtime node name. - * @param callback The callback - */ - getIpAddress(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param nodeName The integration runtime node name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - getIpAddress(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getIpAddress(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, nodeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getIpAddress( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + nodeName: string, + options?: IntegrationRuntimeNodesGetIpAddressOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -188,29 +141,17 @@ export class IntegrationRuntimeNodes { nodeName, options }, - getIpAddressOperationSpec, - callback) as Promise; + getIpAddressOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.integrationRuntimeName, - Parameters.nodeName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.SelfHostedIntegrationRuntimeNode @@ -219,25 +160,22 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName, Parameters.nodeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -245,32 +183,22 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const updateOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName, Parameters.nodeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "updateIntegrationRuntimeNodeRequest", - mapper: { - ...Mappers.UpdateIntegrationRuntimeNodeRequest, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}", + httpMethod: "PATCH", responses: { 200: { bodyMapper: Mappers.SelfHostedIntegrationRuntimeNode @@ -279,25 +207,24 @@ const updateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getIpAddressOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress", + requestBody: Parameters.updateIntegrationRuntimeNodeRequest, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName, Parameters.nodeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getIpAddressOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.IntegrationRuntimeNodeIpAddress @@ -306,5 +233,15 @@ const getIpAddressOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName, + Parameters.nodeName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts index 69027feaad29..6f2a585593da 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts @@ -3,24 +3,31 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as Models from "../models"; -import * as Mappers from "../models/integrationRuntimeObjectMetadataMappers"; +import { IntegrationRuntimeObjectMetadata } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + IntegrationRuntimeObjectMetadataRefreshOptionalParams, + IntegrationRuntimeObjectMetadataRefreshResponse, + IntegrationRuntimeObjectMetadataGetOptionalParams, + IntegrationRuntimeObjectMetadataGetResponse +} from "../models"; -/** Class representing a IntegrationRuntimeObjectMetadata. */ -export class IntegrationRuntimeObjectMetadata { +/** Class containing IntegrationRuntimeObjectMetadata operations. */ +export class IntegrationRuntimeObjectMetadataImpl + implements IntegrationRuntimeObjectMetadata { private readonly client: DataFactoryManagementClientContext; /** - * Create a IntegrationRuntimeObjectMetadata. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class IntegrationRuntimeObjectMetadata class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -31,130 +38,168 @@ export class IntegrationRuntimeObjectMetadata { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - refresh(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginRefresh(resourceGroupName,factoryName,integrationRuntimeName,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + async beginRefresh( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams + ): Promise< + PollerLike< + PollOperationState, + IntegrationRuntimeObjectMetadataRefreshResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, integrationRuntimeName, options }, + refreshOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); } /** - * Get a SSIS integration runtime object metadata by specified path. The return is pageable - * metadata list. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimeObjectMetadataGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; - /** + * Refresh a SSIS integration runtime object metadata. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: Models.IntegrationRuntimeObjectMetadataGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimeObjectMetadataGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - getOperationSpec, - callback) as Promise; + async beginRefreshAndWait( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams + ): Promise { + const poller = await this.beginRefresh( + resourceGroupName, + factoryName, + integrationRuntimeName, + options + ); + return poller.pollUntilDone(); } /** - * Refresh a SSIS integration runtime object metadata. + * Get a SSIS integration runtime object metadata by specified path. The return is pageable metadata + * list. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - beginRefresh(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - beginRefreshOperationSpec, - options); + get( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimeObjectMetadataGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, integrationRuntimeName, options }, + getOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const refreshOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata", httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.integrationRuntimeName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: [ - "options", - "getMetadataRequest" - ], - mapper: Mappers.GetSsisObjectMetadataRequest - }, responses: { 200: { - bodyMapper: Mappers.SsisObjectMetadataListResponse + bodyMapper: Mappers.SsisObjectMetadataStatusResponse + }, + 201: { + bodyMapper: Mappers.SsisObjectMetadataStatusResponse + }, + 202: { + bodyMapper: Mappers.SsisObjectMetadataStatusResponse + }, + 204: { + bodyMapper: Mappers.SsisObjectMetadataStatusResponse }, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const beginRefreshOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SsisObjectMetadataStatusResponse + bodyMapper: Mappers.SsisObjectMetadataListResponse }, - 202: {}, default: { bodyMapper: Mappers.CloudError } }, + requestBody: Parameters.getMetadataRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts index 2ef200df3e65..187aa3d0d969 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts @@ -3,24 +3,64 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as Models from "../models"; -import * as Mappers from "../models/integrationRuntimesMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { IntegrationRuntimes } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + IntegrationRuntimeResource, + IntegrationRuntimesListByFactoryNextOptionalParams, + IntegrationRuntimesListByFactoryOptionalParams, + IntegrationRuntimesListByFactoryResponse, + IntegrationRuntimesCreateOrUpdateOptionalParams, + IntegrationRuntimesCreateOrUpdateResponse, + IntegrationRuntimesGetOptionalParams, + IntegrationRuntimesGetResponse, + UpdateIntegrationRuntimeRequest, + IntegrationRuntimesUpdateOptionalParams, + IntegrationRuntimesUpdateResponse, + IntegrationRuntimesDeleteOptionalParams, + IntegrationRuntimesGetStatusOptionalParams, + IntegrationRuntimesGetStatusResponse, + IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams, + IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse, + IntegrationRuntimesGetConnectionInfoOptionalParams, + IntegrationRuntimesGetConnectionInfoResponse, + IntegrationRuntimeRegenerateKeyParameters, + IntegrationRuntimesRegenerateAuthKeyOptionalParams, + IntegrationRuntimesRegenerateAuthKeyResponse, + IntegrationRuntimesListAuthKeysOptionalParams, + IntegrationRuntimesListAuthKeysResponse, + IntegrationRuntimesStartOptionalParams, + IntegrationRuntimesStartResponse, + IntegrationRuntimesStopOptionalParams, + IntegrationRuntimesSyncCredentialsOptionalParams, + IntegrationRuntimesGetMonitoringDataOptionalParams, + IntegrationRuntimesGetMonitoringDataResponse, + IntegrationRuntimesUpgradeOptionalParams, + LinkedIntegrationRuntimeRequest, + IntegrationRuntimesRemoveLinksOptionalParams, + CreateLinkedIntegrationRuntimeRequest, + IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams, + IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse, + IntegrationRuntimesListByFactoryNextResponse +} from "../models"; -/** Class representing a IntegrationRuntimes. */ -export class IntegrationRuntimes { +/// +/** Class containing IntegrationRuntimes operations. */ +export class IntegrationRuntimesImpl implements IntegrationRuntimes { private readonly client: DataFactoryManagementClientContext; /** - * Create a IntegrationRuntimes. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class IntegrationRuntimes class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -30,62 +70,105 @@ export class IntegrationRuntimes { * Lists integration runtimes. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { + public listByFactory( + resourceGroupName: string, + factoryName: string, + options?: IntegrationRuntimesListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: IntegrationRuntimesListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( resourceGroupName, factoryName, + continuationToken, options - }, - listByFactoryOperationSpec, - callback) as Promise; + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: IntegrationRuntimesListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } } /** - * Creates or updates an integration runtime. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param integrationRuntime Integration runtime resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, options?: Models.IntegrationRuntimesCreateOrUpdateOptionalParams): Promise; - /** + * Lists integration runtimes. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param integrationRuntime Integration runtime resource definition. - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, callback: msRest.ServiceCallback): void; + private _listByFactory( + resourceGroupName: string, + factoryName: string, + options?: IntegrationRuntimesListByFactoryOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); + } + /** + * Creates or updates an integration runtime. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. * @param integrationRuntime Integration runtime resource definition. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, options: Models.IntegrationRuntimesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, options?: Models.IntegrationRuntimesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + integrationRuntime: IntegrationRuntimeResource, + options?: IntegrationRuntimesCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -94,8 +177,8 @@ export class IntegrationRuntimes { integrationRuntime, options }, - createOrUpdateOperationSpec, - callback) as Promise; + createOrUpdateOperationSpec + ); } /** @@ -103,35 +186,18 @@ export class IntegrationRuntimes { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimesGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param callback The callback + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: Models.IntegrationRuntimesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: Models.IntegrationRuntimesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, integrationRuntimeName, options }, + getOperationSpec + ); } /** @@ -140,28 +206,15 @@ export class IntegrationRuntimes { * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime. - * @param [options] The optional parameters - * @returns Promise - */ - update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime. - * @param callback The callback + * @param options The options parameters. */ - update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime. - * @param options The optional parameters - * @param callback The callback - */ - update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, updateIntegrationRuntimeRequest: Models.UpdateIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest, + options?: IntegrationRuntimesUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -170,8 +223,8 @@ export class IntegrationRuntimes { updateIntegrationRuntimeRequest, options }, - updateOperationSpec, - callback) as Promise; + updateOperationSpec + ); } /** @@ -179,35 +232,18 @@ export class IntegrationRuntimes { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - deleteMethodOperationSpec, - callback); + { resourceGroupName, factoryName, integrationRuntimeName, options }, + deleteOperationSpec + ); } /** @@ -215,72 +251,59 @@ export class IntegrationRuntimes { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise - */ - getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param callback The callback + * @param options The options parameters. */ - getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback - */ - getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getStatus(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getStatus( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesGetStatusOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - getStatusOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, integrationRuntimeName, options }, + getStatusOperationSpec + ); } /** - * Gets the on-premises integration runtime connection information for encrypting the on-premises - * data source credentials. + * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param callback The callback - */ - getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; + listOutboundNetworkDependenciesEndpoints( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams + ): Promise< + IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse + > { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, integrationRuntimeName, options }, + listOutboundNetworkDependenciesEndpointsOperationSpec + ); + } + /** + * Gets the on-premises integration runtime connection information for encrypting the on-premises data + * source credentials. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getConnectionInfo(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getConnectionInfo( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesGetConnectionInfoOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - getConnectionInfoOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, integrationRuntimeName, options }, + getConnectionInfoOperationSpec + ); } /** @@ -288,32 +311,17 @@ export class IntegrationRuntimes { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param regenerateKeyParameters The parameters for regenerating integration runtime - * authentication key. - * @param [options] The optional parameters - * @returns Promise - */ - regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param regenerateKeyParameters The parameters for regenerating integration runtime - * authentication key. - * @param callback The callback - */ - regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param regenerateKeyParameters The parameters for regenerating integration runtime - * authentication key. - * @param options The optional parameters - * @param callback The callback + * @param regenerateKeyParameters The parameters for regenerating integration runtime authentication + * key. + * @param options The options parameters. */ - regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - regenerateAuthKey(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, regenerateKeyParameters: Models.IntegrationRuntimeRegenerateKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + regenerateAuthKey( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + regenerateKeyParameters: IntegrationRuntimeRegenerateKeyParameters, + options?: IntegrationRuntimesRegenerateAuthKeyOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -322,8 +330,8 @@ export class IntegrationRuntimes { regenerateKeyParameters, options }, - regenerateAuthKeyOperationSpec, - callback) as Promise; + regenerateAuthKeyOperationSpec + ); } /** @@ -331,35 +339,18 @@ export class IntegrationRuntimes { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param callback The callback - */ - listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback - */ - listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAuthKeys(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listAuthKeys( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesListAuthKeysOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - listAuthKeysOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, integrationRuntimeName, options }, + listAuthKeysOperationSpec + ); } /** @@ -367,101 +358,216 @@ export class IntegrationRuntimes { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - start(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginStart(resourceGroupName,factoryName,integrationRuntimeName,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + async beginStart( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesStartOptionalParams + ): Promise< + PollerLike< + PollOperationState, + IntegrationRuntimesStartResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, integrationRuntimeName, options }, + startOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); } /** - * Stops a ManagedReserved type integration runtime. + * Starts a ManagedReserved type integration runtime. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - stop(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginStop(resourceGroupName,factoryName,integrationRuntimeName,options) - .then(lroPoller => lroPoller.pollUntilFinished()); + async beginStartAndWait( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesStartOptionalParams + ): Promise { + const poller = await this.beginStart( + resourceGroupName, + factoryName, + integrationRuntimeName, + options + ); + return poller.pollUntilDone(); } /** - * Force the integration runtime to synchronize credentials across integration runtime nodes, and - * this will override the credentials across all worker nodes with those available on the - * dispatcher node. If you already have the latest credential backup file, you should manually - * import it (preferred) on any self-hosted integration runtime node than using this API directly. + * Stops a ManagedReserved type integration runtime. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; + async beginStop( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesStopOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, integrationRuntimeName, options }, + stopOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + } + /** + * Stops a ManagedReserved type integration runtime. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param callback The callback + * @param options The options parameters. */ - syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; + async beginStopAndWait( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesStopOptionalParams + ): Promise { + const poller = await this.beginStop( + resourceGroupName, + factoryName, + integrationRuntimeName, + options + ); + return poller.pollUntilDone(); + } + /** + * Force the integration runtime to synchronize credentials across integration runtime nodes, and this + * will override the credentials across all worker nodes with those available on the dispatcher node. + * If you already have the latest credential backup file, you should manually import it (preferred) on + * any self-hosted integration runtime node than using this API directly. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - syncCredentials(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + syncCredentials( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesSyncCredentialsOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - syncCredentialsOperationSpec, - callback); + { resourceGroupName, factoryName, integrationRuntimeName, options }, + syncCredentialsOperationSpec + ); } /** - * Get the integration runtime monitoring data, which includes the monitor data for all the nodes - * under this integration runtime. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise - */ - getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; - /** + * Get the integration runtime monitoring data, which includes the monitor data for all the nodes under + * this integration runtime. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param callback The callback + * @param options The options parameters. */ - getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback - */ - getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getMonitoringData(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getMonitoringData( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesGetMonitoringDataOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - getMonitoringDataOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, integrationRuntimeName, options }, + getMonitoringDataOperationSpec + ); } /** @@ -469,35 +575,18 @@ export class IntegrationRuntimes { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise - */ - upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param callback The callback + * @param options The options parameters. */ - upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param options The optional parameters - * @param callback The callback - */ - upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - upgrade(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + upgrade( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesUpgradeOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - upgradeOperationSpec, - callback); + { resourceGroupName, factoryName, integrationRuntimeName, options }, + upgradeOperationSpec + ); } /** @@ -507,28 +596,15 @@ export class IntegrationRuntimes { * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: Models.LinkedIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime. - * @param callback The callback - */ - removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: Models.LinkedIntegrationRuntimeRequest, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime. - * @param options The optional parameters - * @param callback The callback - */ - removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: Models.LinkedIntegrationRuntimeRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - removeLinks(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, linkedIntegrationRuntimeRequest: Models.LinkedIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + removeLinks( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + linkedIntegrationRuntimeRequest: LinkedIntegrationRuntimeRequest, + options?: IntegrationRuntimesRemoveLinksOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -537,8 +613,8 @@ export class IntegrationRuntimes { linkedIntegrationRuntimeRequest, options }, - removeLinksOperationSpec, - callback); + removeLinksOperationSpec + ); } /** @@ -547,28 +623,15 @@ export class IntegrationRuntimes { * @param factoryName The factory name. * @param integrationRuntimeName The integration runtime name. * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties. - * @param [options] The optional parameters - * @returns Promise - */ - createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: Models.CreateLinkedIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties. - * @param callback The callback - */ - createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: Models.CreateLinkedIntegrationRuntimeRequest, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: Models.CreateLinkedIntegrationRuntimeRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createLinkedIntegrationRuntime(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, createLinkedIntegrationRuntimeRequest: Models.CreateLinkedIntegrationRuntimeRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createLinkedIntegrationRuntime( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + createLinkedIntegrationRuntimeRequest: CreateLinkedIntegrationRuntimeRequest, + options?: IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -577,95 +640,36 @@ export class IntegrationRuntimes { createLinkedIntegrationRuntimeRequest, options }, - createLinkedIntegrationRuntimeOperationSpec, - callback) as Promise; + createLinkedIntegrationRuntimeOperationSpec + ); } /** - * Starts a ManagedReserved type integration runtime. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise - */ - beginStart(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - beginStartOperationSpec, - options); - } - - /** - * Stops a ManagedReserved type integration runtime. + * ListByFactoryNext * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param integrationRuntimeName The integration runtime name. - * @param [options] The optional parameters - * @returns Promise - */ - beginStop(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - integrationRuntimeName, - options - }, - beginStopOperationSpec, - options); - } - - /** - * Lists integration runtimes. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: IntegrationRuntimesListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByFactoryNextOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.IntegrationRuntimeListResponse @@ -674,32 +678,20 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.integrationRuntimeName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage + Parameters.factoryName ], - requestBody: { - parameterPath: "integrationRuntime", - mapper: { - ...Mappers.IntegrationRuntimeResource, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.IntegrationRuntimeResource @@ -708,25 +700,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + requestBody: Parameters.integrationRuntime, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.IntegrationRuntimeResource @@ -736,31 +730,21 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const updateOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "updateIntegrationRuntimeRequest", - mapper: { - ...Mappers.UpdateIntegrationRuntimeRequest, - required: true - } - }, + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + httpMethod: "PATCH", responses: { 200: { bodyMapper: Mappers.IntegrationRuntimeResource @@ -769,24 +753,23 @@ const updateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + requestBody: Parameters.updateIntegrationRuntimeRequest, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -794,24 +777,21 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getStatusOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const getStatusOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.IntegrationRuntimeStatusResponse @@ -820,83 +800,68 @@ const getStatusOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getConnectionInfoOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints", + httpMethod: "GET", responses: { 200: { - bodyMapper: Mappers.IntegrationRuntimeConnectionInfo + bodyMapper: + Mappers.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse }, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const regenerateAuthKeyOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "regenerateKeyParameters", - mapper: { - ...Mappers.IntegrationRuntimeRegenerateKeyParameters, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const getConnectionInfoOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.IntegrationRuntimeAuthKeys + bodyMapper: Mappers.IntegrationRuntimeConnectionInfo }, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const listAuthKeysOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const regenerateAuthKeyOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.IntegrationRuntimeAuthKeys @@ -905,212 +870,214 @@ const listAuthKeysOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const syncCredentialsOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials", + requestBody: Parameters.regenerateKeyParameters, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listAuthKeysOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys", + httpMethod: "POST", responses: { - 200: {}, + 200: { + bodyMapper: Mappers.IntegrationRuntimeAuthKeys + }, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getMonitoringDataOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const startOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.IntegrationRuntimeMonitoringData + bodyMapper: Mappers.IntegrationRuntimeStatusResponse + }, + 201: { + bodyMapper: Mappers.IntegrationRuntimeStatusResponse + }, + 202: { + bodyMapper: Mappers.IntegrationRuntimeStatusResponse + }, + 204: { + bodyMapper: Mappers.IntegrationRuntimeStatusResponse }, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const upgradeOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const stopOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop", + httpMethod: "POST", responses: { 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const removeLinksOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "linkedIntegrationRuntimeRequest", - mapper: { - ...Mappers.LinkedIntegrationRuntimeRequest, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const syncCredentialsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials", + httpMethod: "POST", responses: { 200: {}, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createLinkedIntegrationRuntimeOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "createLinkedIntegrationRuntimeRequest", - mapper: { - ...Mappers.CreateLinkedIntegrationRuntimeRequest, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const getMonitoringDataOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData", + httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.IntegrationRuntimeStatusResponse + bodyMapper: Mappers.IntegrationRuntimeMonitoringData }, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const beginStartOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const upgradeOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade", + httpMethod: "POST", responses: { - 200: { - bodyMapper: Mappers.IntegrationRuntimeStatusResponse - }, - 202: {}, + 200: {}, default: { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + headerParameters: [Parameters.accept], serializer }; - -const beginStopOperationSpec: msRest.OperationSpec = { +const removeLinksOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks", httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.linkedIntegrationRuntimeRequest, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.integrationRuntimeName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const createLinkedIntegrationRuntimeOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime", + httpMethod: "POST", responses: { - 200: {}, - 202: {}, + 200: { + bodyMapper: Mappers.IntegrationRuntimeStatusResponse + }, default: { bodyMapper: Mappers.CloudError } }, + requestBody: Parameters.createLinkedIntegrationRuntimeRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer }; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.IntegrationRuntimeListResponse @@ -1119,5 +1086,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts b/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts index 911df9d34c06..6a55bf96dd63 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts @@ -3,23 +3,36 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/linkedServicesMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { LinkedServices } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + LinkedServiceResource, + LinkedServicesListByFactoryNextOptionalParams, + LinkedServicesListByFactoryOptionalParams, + LinkedServicesListByFactoryResponse, + LinkedServicesCreateOrUpdateOptionalParams, + LinkedServicesCreateOrUpdateResponse, + LinkedServicesGetOptionalParams, + LinkedServicesGetResponse, + LinkedServicesDeleteOptionalParams, + LinkedServicesListByFactoryNextResponse +} from "../models"; -/** Class representing a LinkedServices. */ -export class LinkedServices { +/// +/** Class containing LinkedServices operations. */ +export class LinkedServicesImpl implements LinkedServices { private readonly client: DataFactoryManagementClientContext; /** - * Create a LinkedServices. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class LinkedServices class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -29,62 +42,105 @@ export class LinkedServices { * Lists linked services. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { + public listByFactory( + resourceGroupName: string, + factoryName: string, + options?: LinkedServicesListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: LinkedServicesListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( resourceGroupName, factoryName, + continuationToken, options - }, - listByFactoryOperationSpec, - callback) as Promise; + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: LinkedServicesListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } } /** - * Creates or updates a linked service. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param linkedServiceName The linked service name. - * @param linkedService Linked service resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, linkedServiceName: string, linkedService: Models.LinkedServiceResource, options?: Models.LinkedServicesCreateOrUpdateOptionalParams): Promise; - /** + * Lists linked services. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param linkedServiceName The linked service name. - * @param linkedService Linked service resource definition. - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, linkedServiceName: string, linkedService: Models.LinkedServiceResource, callback: msRest.ServiceCallback): void; + private _listByFactory( + resourceGroupName: string, + factoryName: string, + options?: LinkedServicesListByFactoryOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); + } + /** + * Creates or updates a linked service. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param linkedServiceName The linked service name. * @param linkedService Linked service resource definition. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, linkedServiceName: string, linkedService: Models.LinkedServiceResource, options: Models.LinkedServicesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, linkedServiceName: string, linkedService: Models.LinkedServiceResource, options?: Models.LinkedServicesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate( + resourceGroupName: string, + factoryName: string, + linkedServiceName: string, + linkedService: LinkedServiceResource, + options?: LinkedServicesCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -93,8 +149,8 @@ export class LinkedServices { linkedService, options }, - createOrUpdateOperationSpec, - callback) as Promise; + createOrUpdateOperationSpec + ); } /** @@ -102,35 +158,18 @@ export class LinkedServices { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param linkedServiceName The linked service name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, linkedServiceName: string, options?: Models.LinkedServicesGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param linkedServiceName The linked service name. - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, linkedServiceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param linkedServiceName The linked service name. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, linkedServiceName: string, options: Models.LinkedServicesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, linkedServiceName: string, options?: Models.LinkedServicesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + linkedServiceName: string, + options?: LinkedServicesGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - linkedServiceName, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, linkedServiceName, options }, + getOperationSpec + ); } /** @@ -138,82 +177,46 @@ export class LinkedServices { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param linkedServiceName The linked service name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, linkedServiceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param linkedServiceName The linked service name. - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, linkedServiceName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param linkedServiceName The linked service name. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, linkedServiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, linkedServiceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + linkedServiceName: string, + options?: LinkedServicesDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - linkedServiceName, - options - }, - deleteMethodOperationSpec, - callback); + { resourceGroupName, factoryName, linkedServiceName, options }, + deleteOperationSpec + ); } /** - * Lists linked services. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: LinkedServicesListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByFactoryNextOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.LinkedServiceListResponse @@ -222,32 +225,20 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.linkedServiceName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage + Parameters.factoryName ], - requestBody: { - parameterPath: "linkedService", - mapper: { - ...Mappers.LinkedServiceResource, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.LinkedServiceResource @@ -256,25 +247,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + requestBody: Parameters.linkedService, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.linkedServiceName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.LinkedServiceResource @@ -284,24 +277,21 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.linkedServiceName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -309,22 +299,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.linkedServiceName + ], + headerParameters: [Parameters.accept], serializer }; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.LinkedServiceListResponse @@ -333,5 +321,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts b/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts index a89c6abf688e..9c67b4656514 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts @@ -3,23 +3,36 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/managedPrivateEndpointsMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { ManagedPrivateEndpoints } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + ManagedPrivateEndpointResource, + ManagedPrivateEndpointsListByFactoryNextOptionalParams, + ManagedPrivateEndpointsListByFactoryOptionalParams, + ManagedPrivateEndpointsListByFactoryResponse, + ManagedPrivateEndpointsCreateOrUpdateOptionalParams, + ManagedPrivateEndpointsCreateOrUpdateResponse, + ManagedPrivateEndpointsGetOptionalParams, + ManagedPrivateEndpointsGetResponse, + ManagedPrivateEndpointsDeleteOptionalParams, + ManagedPrivateEndpointsListByFactoryNextResponse +} from "../models"; -/** Class representing a ManagedPrivateEndpoints. */ -export class ManagedPrivateEndpoints { +/// +/** Class containing ManagedPrivateEndpoints operations. */ +export class ManagedPrivateEndpointsImpl implements ManagedPrivateEndpoints { private readonly client: DataFactoryManagementClientContext; /** - * Create a ManagedPrivateEndpoints. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class ManagedPrivateEndpoints class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -30,68 +43,117 @@ export class ManagedPrivateEndpoints { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param managedVirtualNetworkName Managed virtual network name - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param options The optional parameters - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactory(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { + public listByFactory( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + options?: ManagedPrivateEndpointsListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + managedVirtualNetworkName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + managedVirtualNetworkName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + options?: ManagedPrivateEndpointsListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + managedVirtualNetworkName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( resourceGroupName, factoryName, managedVirtualNetworkName, + continuationToken, options - }, - listByFactoryOperationSpec, - callback) as Promise; + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + options?: ManagedPrivateEndpointsListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + managedVirtualNetworkName, + options + )) { + yield* page; + } } /** - * Creates or updates a managed private endpoint. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param managedPrivateEndpointName Managed private endpoint name - * @param managedPrivateEndpoint Managed private endpoint resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: Models.ManagedPrivateEndpointResource, options?: Models.ManagedPrivateEndpointsCreateOrUpdateOptionalParams): Promise; - /** + * Lists managed private endpoints. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param managedVirtualNetworkName Managed virtual network name - * @param managedPrivateEndpointName Managed private endpoint name - * @param managedPrivateEndpoint Managed private endpoint resource definition. - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: Models.ManagedPrivateEndpointResource, callback: msRest.ServiceCallback): void; + private _listByFactory( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + options?: ManagedPrivateEndpointsListByFactoryOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, managedVirtualNetworkName, options }, + listByFactoryOperationSpec + ); + } + /** + * Creates or updates a managed private endpoint. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param managedVirtualNetworkName Managed virtual network name * @param managedPrivateEndpointName Managed private endpoint name * @param managedPrivateEndpoint Managed private endpoint resource definition. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: Models.ManagedPrivateEndpointResource, options: Models.ManagedPrivateEndpointsCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, managedPrivateEndpoint: Models.ManagedPrivateEndpointResource, options?: Models.ManagedPrivateEndpointsCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + managedPrivateEndpointName: string, + managedPrivateEndpoint: ManagedPrivateEndpointResource, + options?: ManagedPrivateEndpointsCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -101,8 +163,8 @@ export class ManagedPrivateEndpoints { managedPrivateEndpoint, options }, - createOrUpdateOperationSpec, - callback) as Promise; + createOrUpdateOperationSpec + ); } /** @@ -111,28 +173,15 @@ export class ManagedPrivateEndpoints { * @param factoryName The factory name. * @param managedVirtualNetworkName Managed virtual network name * @param managedPrivateEndpointName Managed private endpoint name - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: Models.ManagedPrivateEndpointsGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param managedPrivateEndpointName Managed private endpoint name - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param managedPrivateEndpointName Managed private endpoint name - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options: Models.ManagedPrivateEndpointsGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: Models.ManagedPrivateEndpointsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + managedPrivateEndpointName: string, + options?: ManagedPrivateEndpointsGetOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -141,8 +190,8 @@ export class ManagedPrivateEndpoints { managedPrivateEndpointName, options }, - getOperationSpec, - callback) as Promise; + getOperationSpec + ); } /** @@ -151,28 +200,15 @@ export class ManagedPrivateEndpoints { * @param factoryName The factory name. * @param managedVirtualNetworkName Managed virtual network name * @param managedPrivateEndpointName Managed private endpoint name - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param managedPrivateEndpointName Managed private endpoint name - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param managedPrivateEndpointName Managed private endpoint name - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedPrivateEndpointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + managedPrivateEndpointName: string, + options?: ManagedPrivateEndpointsDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -181,56 +217,44 @@ export class ManagedPrivateEndpoints { managedPrivateEndpointName, options }, - deleteMethodOperationSpec, - callback); + deleteOperationSpec + ); } /** - * Lists managed private endpoints. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + nextLink: string, + options?: ManagedPrivateEndpointsListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( { - nextPageLink, + resourceGroupName, + factoryName, + managedVirtualNetworkName, + nextLink, options }, - listByFactoryNextOperationSpec, - callback) as Promise; + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.managedVirtualNetworkName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.ManagedPrivateEndpointListResponse @@ -239,33 +263,21 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, - Parameters.managedVirtualNetworkName, - Parameters.managedPrivateEndpointName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage + Parameters.managedVirtualNetworkName ], - requestBody: { - parameterPath: "managedPrivateEndpoint", - mapper: { - ...Mappers.ManagedPrivateEndpointResource, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.ManagedPrivateEndpointResource @@ -274,26 +286,28 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + requestBody: Parameters.managedPrivateEndpoint, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.managedVirtualNetworkName, Parameters.managedPrivateEndpointName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.ManagedPrivateEndpointResource @@ -302,25 +316,22 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.managedVirtualNetworkName, Parameters.managedPrivateEndpointName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}/managedPrivateEndpoints/{managedPrivateEndpointName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -328,22 +339,21 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName, + Parameters.managedPrivateEndpointName + ], + headerParameters: [Parameters.accept], serializer }; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.ManagedPrivateEndpointListResponse @@ -352,5 +362,15 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts b/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts index 0abb763ffa68..0863b34cd1cf 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts @@ -3,23 +3,35 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/managedVirtualNetworksMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { ManagedVirtualNetworks } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + ManagedVirtualNetworkResource, + ManagedVirtualNetworksListByFactoryNextOptionalParams, + ManagedVirtualNetworksListByFactoryOptionalParams, + ManagedVirtualNetworksListByFactoryResponse, + ManagedVirtualNetworksCreateOrUpdateOptionalParams, + ManagedVirtualNetworksCreateOrUpdateResponse, + ManagedVirtualNetworksGetOptionalParams, + ManagedVirtualNetworksGetResponse, + ManagedVirtualNetworksListByFactoryNextResponse +} from "../models"; -/** Class representing a ManagedVirtualNetworks. */ -export class ManagedVirtualNetworks { +/// +/** Class containing ManagedVirtualNetworks operations. */ +export class ManagedVirtualNetworksImpl implements ManagedVirtualNetworks { private readonly client: DataFactoryManagementClientContext; /** - * Create a ManagedVirtualNetworks. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class ManagedVirtualNetworks class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -29,62 +41,105 @@ export class ManagedVirtualNetworks { * Lists managed Virtual Networks. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { + public listByFactory( + resourceGroupName: string, + factoryName: string, + options?: ManagedVirtualNetworksListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: ManagedVirtualNetworksListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( resourceGroupName, factoryName, + continuationToken, options - }, - listByFactoryOperationSpec, - callback) as Promise; + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: ManagedVirtualNetworksListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } } /** - * Creates or updates a managed Virtual Network. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param managedVirtualNetwork Managed Virtual Network resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: Models.ManagedVirtualNetworkResource, options?: Models.ManagedVirtualNetworksCreateOrUpdateOptionalParams): Promise; - /** + * Lists managed Virtual Networks. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param managedVirtualNetwork Managed Virtual Network resource definition. - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: Models.ManagedVirtualNetworkResource, callback: msRest.ServiceCallback): void; + private _listByFactory( + resourceGroupName: string, + factoryName: string, + options?: ManagedVirtualNetworksListByFactoryOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); + } + /** + * Creates or updates a managed Virtual Network. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param managedVirtualNetworkName Managed virtual network name * @param managedVirtualNetwork Managed Virtual Network resource definition. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: Models.ManagedVirtualNetworkResource, options: Models.ManagedVirtualNetworksCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, managedVirtualNetwork: Models.ManagedVirtualNetworkResource, options?: Models.ManagedVirtualNetworksCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + managedVirtualNetwork: ManagedVirtualNetworkResource, + options?: ManagedVirtualNetworksCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -93,8 +148,8 @@ export class ManagedVirtualNetworks { managedVirtualNetwork, options }, - createOrUpdateOperationSpec, - callback) as Promise; + createOrUpdateOperationSpec + ); } /** @@ -102,82 +157,46 @@ export class ManagedVirtualNetworks { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param managedVirtualNetworkName Managed virtual network name - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: Models.ManagedVirtualNetworksGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param managedVirtualNetworkName Managed virtual network name - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options: Models.ManagedVirtualNetworksGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, managedVirtualNetworkName: string, options?: Models.ManagedVirtualNetworksGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + options?: ManagedVirtualNetworksGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - managedVirtualNetworkName, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, managedVirtualNetworkName, options }, + getOperationSpec + ); } /** - * Lists managed Virtual Networks. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: ManagedVirtualNetworksListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByFactoryNextOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.ManagedVirtualNetworkListResponse @@ -186,32 +205,20 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.managedVirtualNetworkName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage + Parameters.factoryName ], - requestBody: { - parameterPath: "managedVirtualNetwork", - mapper: { - ...Mappers.ManagedVirtualNetworkResource, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.ManagedVirtualNetworkResource @@ -220,25 +227,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}", + requestBody: Parameters.managedVirtualNetwork, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.managedVirtualNetworkName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/managedVirtualNetworks/{managedVirtualNetworkName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.ManagedVirtualNetworkResource @@ -247,22 +256,20 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.managedVirtualNetworkName + ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], serializer }; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.ManagedVirtualNetworkListResponse @@ -271,5 +278,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/operations.ts b/sdk/datafactory/arm-datafactory/src/operations/operations.ts index 484c171e70bb..3223b2dabbcf 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/operations.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/operations.ts @@ -3,23 +3,31 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/operationsMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Operations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + Operation, + OperationsListNextOptionalParams, + OperationsListOptionalParams, + OperationsListResponse, + OperationsListNextResponse +} from "../models"; -/** Class representing a Operations. */ -export class Operations { +/// +/** Class containing Operations operations. */ +export class OperationsImpl implements Operations { private readonly client: DataFactoryManagementClientContext; /** - * Create a Operations. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class Operations class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -27,68 +35,77 @@ export class Operations { /** * Lists the available Azure Data Factory API operations. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options + public list( + options?: OperationsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; }, - listOperationSpec, - callback) as Promise; + byPage: () => { + return this.listPagingPage(options); + } + }; + } + + private async *listPagingPage( + options?: OperationsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext(continuationToken, options); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + options?: OperationsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(options)) { + yield* page; + } } /** * Lists the available Azure Data Factory API operations. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback + * @param options The options parameters. */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + private _list( + options?: OperationsListOptionalParams + ): Promise { + return this.client.sendOperationRequest({ options }, listOperationSpec); + } + /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListNext + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listNext( + nextLink: string, + options?: OperationsListNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; + { nextLink, options }, + listNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/providers/Microsoft.DataFactory/operations", httpMethod: "GET", - path: "providers/Microsoft.DataFactory/operations", - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.OperationListResponse @@ -97,22 +114,14 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host], + headerParameters: [Parameters.accept], serializer }; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.OperationListResponse @@ -121,5 +130,8 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.nextLink], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts index 3cdc4d045785..f6c1f3399a40 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts @@ -3,23 +3,30 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/pipelineRunsMappers"; +import { PipelineRuns } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + RunFilterParameters, + PipelineRunsQueryByFactoryOptionalParams, + PipelineRunsQueryByFactoryResponse, + PipelineRunsGetOptionalParams, + PipelineRunsGetResponse, + PipelineRunsCancelOptionalParams +} from "../models"; -/** Class representing a PipelineRuns. */ -export class PipelineRuns { +/** Class containing PipelineRuns operations. */ +export class PipelineRunsImpl implements PipelineRuns { private readonly client: DataFactoryManagementClientContext; /** - * Create a PipelineRuns. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class PipelineRuns class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -30,35 +37,18 @@ export class PipelineRuns { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param filterParameters Parameters to filter the pipeline run. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.RunFilterParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param filterParameters Parameters to filter the pipeline run. - * @param callback The callback - */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.RunFilterParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param filterParameters Parameters to filter the pipeline run. - * @param options The optional parameters - * @param callback The callback - */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.RunFilterParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.RunFilterParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + queryByFactory( + resourceGroupName: string, + factoryName: string, + filterParameters: RunFilterParameters, + options?: PipelineRunsQueryByFactoryOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - filterParameters, - options - }, - queryByFactoryOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, filterParameters, options }, + queryByFactoryOperationSpec + ); } /** @@ -66,35 +56,18 @@ export class PipelineRuns { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param runId The pipeline run identifier. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, factoryName: string, runId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param runId The pipeline run identifier. - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, runId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param runId The pipeline run identifier. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, runId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, runId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + runId: string, + options?: PipelineRunsGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - runId, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, runId, options }, + getOperationSpec + ); } /** @@ -102,61 +75,27 @@ export class PipelineRuns { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param runId The pipeline run identifier. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - cancel(resourceGroupName: string, factoryName: string, runId: string, options?: Models.PipelineRunsCancelOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param runId The pipeline run identifier. - * @param callback The callback - */ - cancel(resourceGroupName: string, factoryName: string, runId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param runId The pipeline run identifier. - * @param options The optional parameters - * @param callback The callback - */ - cancel(resourceGroupName: string, factoryName: string, runId: string, options: Models.PipelineRunsCancelOptionalParams, callback: msRest.ServiceCallback): void; - cancel(resourceGroupName: string, factoryName: string, runId: string, options?: Models.PipelineRunsCancelOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + cancel( + resourceGroupName: string, + factoryName: string, + runId: string, + options?: PipelineRunsCancelOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - runId, - options - }, - cancelOperationSpec, - callback); + { resourceGroupName, factoryName, runId, options }, + cancelOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const queryByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const queryByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns", httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "filterParameters", - mapper: { - ...Mappers.RunFilterParameters, - required: true - } - }, responses: { 200: { bodyMapper: Mappers.PipelineRunsQueryResponse @@ -165,24 +104,22 @@ const queryByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}", + requestBody: Parameters.filterParameters, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.runId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage + Parameters.factoryName ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PipelineRun @@ -191,30 +128,35 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const cancelOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.runId ], - queryParameters: [ - Parameters.isRecursive, - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const cancelOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel", + httpMethod: "POST", responses: { 200: {}, default: { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion, Parameters.isRecursive], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.runId + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts b/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts index 497fb43beed9..75786be5d7bc 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts @@ -3,23 +3,38 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/pipelinesMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Pipelines } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + PipelineResource, + PipelinesListByFactoryNextOptionalParams, + PipelinesListByFactoryOptionalParams, + PipelinesListByFactoryResponse, + PipelinesCreateOrUpdateOptionalParams, + PipelinesCreateOrUpdateResponse, + PipelinesGetOptionalParams, + PipelinesGetResponse, + PipelinesDeleteOptionalParams, + PipelinesCreateRunOptionalParams, + PipelinesCreateRunResponse, + PipelinesListByFactoryNextResponse +} from "../models"; -/** Class representing a Pipelines. */ -export class Pipelines { +/// +/** Class containing Pipelines operations. */ +export class PipelinesImpl implements Pipelines { private readonly client: DataFactoryManagementClientContext; /** - * Create a Pipelines. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class Pipelines class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -29,72 +44,109 @@ export class Pipelines { * Lists pipelines. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { + public listByFactory( + resourceGroupName: string, + factoryName: string, + options?: PipelinesListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: PipelinesListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( resourceGroupName, factoryName, + continuationToken, options - }, - listByFactoryOperationSpec, - callback) as Promise; + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: PipelinesListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } } /** - * Creates or updates a pipeline. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param pipelineName The pipeline name. - * @param pipelineParameter Pipeline resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, pipelineName: string, pipelineParameter: Models.PipelineResource, options?: Models.PipelinesCreateOrUpdateOptionalParams): Promise; - /** + * Lists pipelines. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param pipelineName The pipeline name. - * @param pipelineParameter Pipeline resource definition. - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, pipelineName: string, pipelineParameter: Models.PipelineResource, callback: msRest.ServiceCallback): void; + private _listByFactory( + resourceGroupName: string, + factoryName: string, + options?: PipelinesListByFactoryOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); + } + /** + * Creates or updates a pipeline. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param pipelineName The pipeline name. - * @param pipelineParameter Pipeline resource definition. - * @param options The optional parameters - * @param callback The callback + * @param pipeline Pipeline resource definition. + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, pipelineName: string, pipelineParameter: Models.PipelineResource, options: Models.PipelinesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, pipelineName: string, pipelineParameter: Models.PipelineResource, options?: Models.PipelinesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate( + resourceGroupName: string, + factoryName: string, + pipelineName: string, + pipeline: PipelineResource, + options?: PipelinesCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - pipelineName, - pipelineParameter, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, pipelineName, pipeline, options }, + createOrUpdateOperationSpec + ); } /** @@ -102,35 +154,18 @@ export class Pipelines { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param pipelineName The pipeline name. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, factoryName: string, pipelineName: string, options?: Models.PipelinesGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param pipelineName The pipeline name. - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, pipelineName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param pipelineName The pipeline name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, pipelineName: string, options: Models.PipelinesGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, pipelineName: string, options?: Models.PipelinesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + pipelineName: string, + options?: PipelinesGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - pipelineName, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, pipelineName, options }, + getOperationSpec + ); } /** @@ -138,35 +173,18 @@ export class Pipelines { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param pipelineName The pipeline name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, pipelineName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param pipelineName The pipeline name. - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, pipelineName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param pipelineName The pipeline name. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, pipelineName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, pipelineName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + pipelineName: string, + options?: PipelinesDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - pipelineName, - options - }, - deleteMethodOperationSpec, - callback); + { resourceGroupName, factoryName, pipelineName, options }, + deleteOperationSpec + ); } /** @@ -174,82 +192,46 @@ export class Pipelines { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param pipelineName The pipeline name. - * @param [options] The optional parameters - * @returns Promise - */ - createRun(resourceGroupName: string, factoryName: string, pipelineName: string, options?: Models.PipelinesCreateRunOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param pipelineName The pipeline name. - * @param callback The callback + * @param options The options parameters. */ - createRun(resourceGroupName: string, factoryName: string, pipelineName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param pipelineName The pipeline name. - * @param options The optional parameters - * @param callback The callback - */ - createRun(resourceGroupName: string, factoryName: string, pipelineName: string, options: Models.PipelinesCreateRunOptionalParams, callback: msRest.ServiceCallback): void; - createRun(resourceGroupName: string, factoryName: string, pipelineName: string, options?: Models.PipelinesCreateRunOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createRun( + resourceGroupName: string, + factoryName: string, + pipelineName: string, + options?: PipelinesCreateRunOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - pipelineName, - options - }, - createRunOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, pipelineName, options }, + createRunOperationSpec + ); } /** - * Lists pipelines. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: PipelinesListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByFactoryNextOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.PipelineListResponse @@ -258,32 +240,20 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.pipelineName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage + Parameters.factoryName ], - requestBody: { - parameterPath: "pipelineParameter", - mapper: { - ...Mappers.PipelineResource, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.PipelineResource @@ -292,25 +262,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + requestBody: Parameters.pipeline, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.pipelineName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PipelineResource @@ -320,24 +292,21 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.pipelineName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -345,45 +314,21 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createRunOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.pipelineName ], - queryParameters: [ - Parameters.apiVersion, - Parameters.referencePipelineRunId, - Parameters.isRecovery, - Parameters.startActivityName, - Parameters.startFromFailure - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: [ - "options", - "parameters" - ], - mapper: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const createRunOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.CreateRunResponse @@ -392,22 +337,28 @@ const createRunOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], + requestBody: Parameters.parameters, queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion, + Parameters.referencePipelineRunId, + Parameters.isRecovery, + Parameters.startActivityName, + Parameters.startFromFailure ], - headerParameters: [ - Parameters.acceptLanguage + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.pipelineName ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PipelineListResponse @@ -416,5 +367,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts b/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts index 6ecb22f7f398..78ce52c023ed 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts @@ -3,23 +3,32 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/privateEndPointConnectionsMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PrivateEndPointConnections } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + PrivateEndpointConnectionResource, + PrivateEndPointConnectionsListByFactoryNextOptionalParams, + PrivateEndPointConnectionsListByFactoryOptionalParams, + PrivateEndPointConnectionsListByFactoryResponse, + PrivateEndPointConnectionsListByFactoryNextResponse +} from "../models"; -/** Class representing a PrivateEndPointConnections. */ -export class PrivateEndPointConnections { +/// +/** Class containing PrivateEndPointConnections operations. */ +export class PrivateEndPointConnectionsImpl + implements PrivateEndPointConnections { private readonly client: DataFactoryManagementClientContext; /** - * Create a PrivateEndPointConnections. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class PrivateEndPointConnections class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -29,110 +38,116 @@ export class PrivateEndPointConnections { * Lists Private endpoint connections * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory( + public listByFactory( resourceGroupName: string, factoryName: string, - options?: msRest.RequestOptionsBase - ): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - listByFactory( + options?: PrivateEndPointConnectionsListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: PrivateEndPointConnectionsListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( + resourceGroupName, + factoryName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( resourceGroupName: string, factoryName: string, - callback: msRest.ServiceCallback - ): void; + options?: PrivateEndPointConnectionsListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } + } + /** + * Lists Private endpoint connections * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - listByFactory( - resourceGroupName: string, - factoryName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listByFactory( + private _listByFactory( resourceGroupName: string, factoryName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + options?: PrivateEndPointConnectionsListByFactoryOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - options - }, - listByFactoryOperationSpec, - callback - ) as Promise; + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); } /** - * Lists Private endpoint connections - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext( - nextPageLink: string, - options?: msRest.RequestOptionsBase - ): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByFactoryNext( - nextPageLink: string, - callback: msRest.ServiceCallback - ): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext( - nextPageLink: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listByFactoryNext( - nextPageLink: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: PrivateEndPointConnectionsListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByFactoryNextOperationSpec, - callback - ) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByFactoryOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndPointConnections", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndPointConnections", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PrivateEndpointConnectionListResponse @@ -141,16 +156,19 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [Parameters.nextPageLink], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PrivateEndpointConnectionListResponse @@ -159,5 +177,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts b/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts index 6576ea9e71f6..2e96eb7c9172 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts @@ -3,23 +3,31 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/privateEndpointConnectionMappers"; +import { PrivateEndpointConnection } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + PrivateLinkConnectionApprovalRequestResource, + PrivateEndpointConnectionCreateOrUpdateOptionalParams, + PrivateEndpointConnectionCreateOrUpdateResponse, + PrivateEndpointConnectionGetOptionalParams, + PrivateEndpointConnectionGetResponse, + PrivateEndpointConnectionDeleteOptionalParams +} from "../models"; -/** Class representing a PrivateEndpointConnection. */ -export class PrivateEndpointConnection { +/** Class containing PrivateEndpointConnection operations. */ +export class PrivateEndpointConnectionImpl + implements PrivateEndpointConnection { private readonly client: DataFactoryManagementClientContext; /** - * Create a PrivateEndpointConnection. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class PrivateEndpointConnection class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -30,57 +38,16 @@ export class PrivateEndpointConnection { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param privateEndpointConnectionName The private endpoint connection name. - * @param privateEndpointWrapper - * @param [options] The optional parameters - * @returns Promise + * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, - privateEndpointWrapper: Models.PrivateLinkConnectionApprovalRequestResource, - options?: Models.PrivateEndpointConnectionCreateOrUpdateOptionalParams - ): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param privateEndpointConnectionName The private endpoint connection name. - * @param privateEndpointWrapper - * @param callback The callback - */ - createOrUpdate( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - privateEndpointWrapper: Models.PrivateLinkConnectionApprovalRequestResource, - callback: msRest.ServiceCallback - ): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param privateEndpointConnectionName The private endpoint connection name. - * @param privateEndpointWrapper - * @param options The optional parameters - * @param callback The callback - */ - createOrUpdate( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - privateEndpointWrapper: Models.PrivateLinkConnectionApprovalRequestResource, - options: Models.PrivateEndpointConnectionCreateOrUpdateOptionalParams, - callback: msRest.ServiceCallback - ): void; - createOrUpdate( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - privateEndpointWrapper: Models.PrivateLinkConnectionApprovalRequestResource, - options?: - | Models.PrivateEndpointConnectionCreateOrUpdateOptionalParams - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, + options?: PrivateEndpointConnectionCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -89,9 +56,8 @@ export class PrivateEndpointConnection { privateEndpointWrapper, options }, - createOrUpdateOperationSpec, - callback - ) as Promise; + createOrUpdateOperationSpec + ); } /** @@ -99,50 +65,14 @@ export class PrivateEndpointConnection { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param privateEndpointConnectionName The private endpoint connection name. - * @param [options] The optional parameters - * @returns Promise - */ - get( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - options?: Models.PrivateEndpointConnectionGetOptionalParams - ): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param privateEndpointConnectionName The private endpoint connection name. - * @param callback The callback - */ - get( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - callback: msRest.ServiceCallback - ): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param privateEndpointConnectionName The private endpoint connection name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ get( resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, - options: Models.PrivateEndpointConnectionGetOptionalParams, - callback: msRest.ServiceCallback - ): void; - get( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - options?: - | Models.PrivateEndpointConnectionGetOptionalParams - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + options?: PrivateEndpointConnectionGetOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -150,9 +80,8 @@ export class PrivateEndpointConnection { privateEndpointConnectionName, options }, - getOperationSpec, - callback - ) as Promise; + getOperationSpec + ); } /** @@ -160,48 +89,14 @@ export class PrivateEndpointConnection { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param privateEndpointConnectionName The private endpoint connection name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - options?: msRest.RequestOptionsBase - ): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param privateEndpointConnectionName The private endpoint connection name. - * @param callback The callback + * @param options The options parameters. */ - deleteMethod( + delete( resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, - callback: msRest.ServiceCallback - ): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param privateEndpointConnectionName The private endpoint connection name. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - deleteMethod( - resourceGroupName: string, - factoryName: string, - privateEndpointConnectionName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + options?: PrivateEndpointConnectionDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -209,33 +104,17 @@ export class PrivateEndpointConnection { privateEndpointConnectionName, options }, - deleteMethodOperationSpec, - callback + deleteOperationSpec ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOrUpdateOperationSpec: coreClient.OperationSpec = { path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.privateEndpointConnectionName - ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.ifMatch, Parameters.acceptLanguage], - requestBody: { - parameterPath: "privateEndpointWrapper", - mapper: { - ...Mappers.PrivateLinkConnectionApprovalRequestResource, - required: true - } - }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.PrivateEndpointConnectionResource @@ -244,21 +123,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}", + requestBody: Parameters.privateEndpointWrapper, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.privateEndpointConnectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.ifNoneMatch, Parameters.acceptLanguage], + headerParameters: [ + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch + ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PrivateEndpointConnectionResource @@ -267,21 +152,21 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.privateEndpointConnectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -289,5 +174,14 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.privateEndpointConnectionName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/privateLinkResources.ts b/sdk/datafactory/arm-datafactory/src/operations/privateLinkResources.ts index 07992707d107..83c87e143858 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/privateLinkResources.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/privateLinkResources.ts @@ -3,23 +3,26 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/privateLinkResourcesMappers"; +import { PrivateLinkResources } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + PrivateLinkResourcesGetOptionalParams, + PrivateLinkResourcesGetResponse +} from "../models"; -/** Class representing a PrivateLinkResources. */ -export class PrivateLinkResources { +/** Class containing PrivateLinkResources operations. */ +export class PrivateLinkResourcesImpl implements PrivateLinkResources { private readonly client: DataFactoryManagementClientContext; /** - * Create a PrivateLinkResources. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class PrivateLinkResources class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -29,65 +32,26 @@ export class PrivateLinkResources { * Gets the private link resources * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ get( resourceGroupName: string, factoryName: string, - options?: msRest.RequestOptionsBase - ): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - get( - resourceGroupName: string, - factoryName: string, - callback: msRest.ServiceCallback - ): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - get( - resourceGroupName: string, - factoryName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - get( - resourceGroupName: string, - factoryName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + options?: PrivateLinkResourcesGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - options - }, - getOperationSpec, - callback - ) as Promise; + { resourceGroupName, factoryName, options }, + getOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateLinkResources", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateLinkResources", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.PrivateLinkResourcesWrapper @@ -96,5 +60,13 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts index b39e86847256..d3be7460912c 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts @@ -3,23 +3,29 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/triggerRunsMappers"; +import { TriggerRuns } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { + TriggerRunsRerunOptionalParams, + TriggerRunsCancelOptionalParams, + RunFilterParameters, + TriggerRunsQueryByFactoryOptionalParams, + TriggerRunsQueryByFactoryResponse +} from "../models"; -/** Class representing a TriggerRuns. */ -export class TriggerRuns { +/** Class containing TriggerRuns operations. */ +export class TriggerRunsImpl implements TriggerRuns { private readonly client: DataFactoryManagementClientContext; /** - * Create a TriggerRuns. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class TriggerRuns class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -31,38 +37,19 @@ export class TriggerRuns { * @param factoryName The factory name. * @param triggerName The trigger name. * @param runId The pipeline run identifier. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - rerun(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param runId The pipeline run identifier. - * @param callback The callback - */ - rerun(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param runId The pipeline run identifier. - * @param options The optional parameters - * @param callback The callback - */ - rerun(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - rerun(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + rerun( + resourceGroupName: string, + factoryName: string, + triggerName: string, + runId: string, + options?: TriggerRunsRerunOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - triggerName, - runId, - options - }, - rerunOperationSpec, - callback); + { resourceGroupName, factoryName, triggerName, runId, options }, + rerunOperationSpec + ); } /** @@ -71,38 +58,19 @@ export class TriggerRuns { * @param factoryName The factory name. * @param triggerName The trigger name. * @param runId The pipeline run identifier. - * @param [options] The optional parameters - * @returns Promise - */ - cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param runId The pipeline run identifier. - * @param callback The callback + * @param options The options parameters. */ - cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param runId The pipeline run identifier. - * @param options The optional parameters - * @param callback The callback - */ - cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - cancel(resourceGroupName: string, factoryName: string, triggerName: string, runId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + cancel( + resourceGroupName: string, + factoryName: string, + triggerName: string, + runId: string, + options?: TriggerRunsCancelOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - triggerName, - runId, - options - }, - cancelOperationSpec, - callback); + { resourceGroupName, factoryName, triggerName, runId, options }, + cancelOperationSpec + ); } /** @@ -110,111 +78,71 @@ export class TriggerRuns { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param filterParameters Parameters to filter the pipeline run. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.RunFilterParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param filterParameters Parameters to filter the pipeline run. - * @param callback The callback - */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.RunFilterParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param filterParameters Parameters to filter the pipeline run. - * @param options The optional parameters - * @param callback The callback - */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.RunFilterParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.RunFilterParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + queryByFactory( + resourceGroupName: string, + factoryName: string, + filterParameters: RunFilterParameters, + options?: TriggerRunsQueryByFactoryOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - filterParameters, - options - }, - queryByFactoryOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, filterParameters, options }, + queryByFactoryOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const rerunOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const rerunOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun", httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.triggerName, - Parameters.runId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: {}, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const cancelOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, - Parameters.triggerName, - Parameters.runId - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage + Parameters.runId, + Parameters.triggerName ], + headerParameters: [Parameters.accept], + serializer +}; +const cancelOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/cancel", + httpMethod: "POST", responses: { 200: {}, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const queryByFactoryOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage + Parameters.factoryName, + Parameters.runId, + Parameters.triggerName ], - requestBody: { - parameterPath: "filterParameters", - mapper: { - ...Mappers.RunFilterParameters, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const queryByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.TriggerRunsQueryResponse @@ -223,5 +151,15 @@ const queryByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + requestBody: Parameters.filterParameters, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operations/triggers.ts b/sdk/datafactory/arm-datafactory/src/operations/triggers.ts index 76e732ccfb75..344df0709f07 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/triggers.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/triggers.ts @@ -3,24 +3,49 @@ * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as Models from "../models"; -import * as Mappers from "../models/triggersMappers"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Triggers } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + TriggerResource, + TriggersListByFactoryNextOptionalParams, + TriggersListByFactoryOptionalParams, + TriggersListByFactoryResponse, + TriggerFilterParameters, + TriggersQueryByFactoryOptionalParams, + TriggersQueryByFactoryResponse, + TriggersCreateOrUpdateOptionalParams, + TriggersCreateOrUpdateResponse, + TriggersGetOptionalParams, + TriggersGetResponse, + TriggersDeleteOptionalParams, + TriggersSubscribeToEventsOptionalParams, + TriggersSubscribeToEventsResponse, + TriggersGetEventSubscriptionStatusOptionalParams, + TriggersGetEventSubscriptionStatusResponse, + TriggersUnsubscribeFromEventsOptionalParams, + TriggersUnsubscribeFromEventsResponse, + TriggersStartOptionalParams, + TriggersStopOptionalParams, + TriggersListByFactoryNextResponse +} from "../models"; -/** Class representing a Triggers. */ -export class Triggers { +/// +/** Class containing Triggers operations. */ +export class TriggersImpl implements Triggers { private readonly client: DataFactoryManagementClientContext; /** - * Create a Triggers. - * @param {DataFactoryManagementClientContext} client Reference to the service client. + * Initialize a new instance of the class Triggers class. + * @param client Reference to the service client */ constructor(client: DataFactoryManagementClientContext) { this.client = client; @@ -30,68 +55,107 @@ export class Triggers { * Lists triggers. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param options The optional parameters - * @param callback The callback - */ - listByFactory(resourceGroupName: string, factoryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactory(resourceGroupName: string, factoryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { + public listByFactory( + resourceGroupName: string, + factoryName: string, + options?: TriggersListByFactoryOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByFactoryPagingAll( + resourceGroupName, + factoryName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + ); + } + }; + } + + private async *listByFactoryPagingPage( + resourceGroupName: string, + factoryName: string, + options?: TriggersListByFactoryOptionalParams + ): AsyncIterableIterator { + let result = await this._listByFactory( + resourceGroupName, + factoryName, + options + ); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByFactoryNext( resourceGroupName, factoryName, + continuationToken, options - }, - listByFactoryOperationSpec, - callback) as Promise; + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByFactoryPagingAll( + resourceGroupName: string, + factoryName: string, + options?: TriggersListByFactoryOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByFactoryPagingPage( + resourceGroupName, + factoryName, + options + )) { + yield* page; + } } /** - * Query triggers. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param filterParameters Parameters to filter the triggers. - * @param [options] The optional parameters - * @returns Promise - */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.TriggerFilterParameters, options?: msRest.RequestOptionsBase): Promise; - /** + * Lists triggers. * @param resourceGroupName The resource group name. * @param factoryName The factory name. - * @param filterParameters Parameters to filter the triggers. - * @param callback The callback + * @param options The options parameters. */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.TriggerFilterParameters, callback: msRest.ServiceCallback): void; + private _listByFactory( + resourceGroupName: string, + factoryName: string, + options?: TriggersListByFactoryOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, factoryName, options }, + listByFactoryOperationSpec + ); + } + /** + * Query triggers. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param filterParameters Parameters to filter the triggers. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.TriggerFilterParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.TriggerFilterParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + queryByFactory( + resourceGroupName: string, + factoryName: string, + filterParameters: TriggerFilterParameters, + options?: TriggersQueryByFactoryOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - filterParameters, - options - }, - queryByFactoryOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, filterParameters, options }, + queryByFactoryOperationSpec + ); } /** @@ -100,38 +164,19 @@ export class Triggers { * @param factoryName The factory name. * @param triggerName The trigger name. * @param trigger Trigger resource definition. - * @param [options] The optional parameters - * @returns Promise - */ - createOrUpdate(resourceGroupName: string, factoryName: string, triggerName: string, trigger: Models.TriggerResource, options?: Models.TriggersCreateOrUpdateOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param trigger Trigger resource definition. - * @param callback The callback - */ - createOrUpdate(resourceGroupName: string, factoryName: string, triggerName: string, trigger: Models.TriggerResource, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param trigger Trigger resource definition. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - createOrUpdate(resourceGroupName: string, factoryName: string, triggerName: string, trigger: Models.TriggerResource, options: Models.TriggersCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, factoryName: string, triggerName: string, trigger: Models.TriggerResource, options?: Models.TriggersCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate( + resourceGroupName: string, + factoryName: string, + triggerName: string, + trigger: TriggerResource, + options?: TriggersCreateOrUpdateOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - triggerName, - trigger, - options - }, - createOrUpdateOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, triggerName, trigger, options }, + createOrUpdateOperationSpec + ); } /** @@ -139,35 +184,18 @@ export class Triggers { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - get(resourceGroupName: string, factoryName: string, triggerName: string, options?: Models.TriggersGetOptionalParams): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, triggerName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, factoryName: string, triggerName: string, options: Models.TriggersGetOptionalParams, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, factoryName: string, triggerName: string, options?: Models.TriggersGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersGetOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - triggerName, - options - }, - getOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, triggerName, options }, + getOperationSpec + ); } /** @@ -175,35 +203,18 @@ export class Triggers { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - deleteMethod(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param callback The callback + * @param options The options parameters. */ - deleteMethod(resourceGroupName: string, factoryName: string, triggerName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, factoryName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + delete( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersDeleteOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - triggerName, - options - }, - deleteMethodOperationSpec, - callback); + { resourceGroupName, factoryName, triggerName, options }, + deleteOperationSpec + ); } /** @@ -211,48 +222,108 @@ export class Triggers { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - subscribeToEvents(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginSubscribeToEvents(resourceGroupName,factoryName,triggerName,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + async beginSubscribeToEvents( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersSubscribeToEventsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + TriggersSubscribeToEventsResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, triggerName, options }, + subscribeToEventsOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); } /** - * Get a trigger's event subscription status. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - getEventSubscriptionStatus(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; - /** + * Subscribe event trigger to events. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param callback The callback + * @param options The options parameters. */ - getEventSubscriptionStatus(resourceGroupName: string, factoryName: string, triggerName: string, callback: msRest.ServiceCallback): void; + async beginSubscribeToEventsAndWait( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersSubscribeToEventsOptionalParams + ): Promise { + const poller = await this.beginSubscribeToEvents( + resourceGroupName, + factoryName, + triggerName, + options + ); + return poller.pollUntilDone(); + } + /** + * Get a trigger's event subscription status. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param options The optional parameters - * @param callback The callback + * @param options The options parameters. */ - getEventSubscriptionStatus(resourceGroupName: string, factoryName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getEventSubscriptionStatus(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getEventSubscriptionStatus( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersGetEventSubscriptionStatusOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - triggerName, - options - }, - getEventSubscriptionStatusOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, triggerName, options }, + getEventSubscriptionStatusOperationSpec + ); } /** @@ -260,98 +331,237 @@ export class Triggers { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - unsubscribeFromEvents(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginUnsubscribeFromEvents(resourceGroupName,factoryName,triggerName,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; - } + async beginUnsubscribeFromEvents( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersUnsubscribeFromEventsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + TriggersUnsubscribeFromEventsResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; - /** - * Starts a trigger. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - start(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginStart(resourceGroupName,factoryName,triggerName,options) - .then(lroPoller => lroPoller.pollUntilFinished()); + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, triggerName, options }, + unsubscribeFromEventsOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); } /** - * Stops a trigger. + * Unsubscribe event trigger from events. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - stop(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginStop(resourceGroupName,factoryName,triggerName,options) - .then(lroPoller => lroPoller.pollUntilFinished()); + async beginUnsubscribeFromEventsAndWait( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersUnsubscribeFromEventsOptionalParams + ): Promise { + const poller = await this.beginUnsubscribeFromEvents( + resourceGroupName, + factoryName, + triggerName, + options + ); + return poller.pollUntilDone(); } /** - * Subscribe event trigger to events. + * Starts a trigger. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - beginSubscribeToEvents(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - triggerName, - options - }, - beginSubscribeToEventsOperationSpec, - options); + async beginStart( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersStartOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, triggerName, options }, + startOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); } /** - * Unsubscribe event trigger from events. + * Starts a trigger. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - beginUnsubscribeFromEvents(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - triggerName, - options - }, - beginUnsubscribeFromEventsOperationSpec, - options); + async beginStartAndWait( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersStartOptionalParams + ): Promise { + const poller = await this.beginStart( + resourceGroupName, + factoryName, + triggerName, + options + ); + return poller.pollUntilDone(); } /** - * Starts a trigger. + * Stops a trigger. * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - beginStart(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - triggerName, - options - }, - beginStartOperationSpec, - options); + async beginStop( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersStopOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, factoryName, triggerName, options }, + stopOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); } /** @@ -359,66 +569,49 @@ export class Triggers { * @param resourceGroupName The resource group name. * @param factoryName The factory name. * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise + * @param options The options parameters. */ - beginStop(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - triggerName, - options - }, - beginStopOperationSpec, - options); + async beginStopAndWait( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersStopOptionalParams + ): Promise { + const poller = await this.beginStop( + resourceGroupName, + factoryName, + triggerName, + options + ); + return poller.pollUntilDone(); } /** - * Lists triggers. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByFactoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback + * ListByFactoryNext + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param nextLink The nextLink from the previous successful call to the ListByFactory method. + * @param options The options parameters. */ - listByFactoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + private _listByFactoryNext( + resourceGroupName: string, + factoryName: string, + nextLink: string, + options?: TriggersListByFactoryNextOptionalParams + ): Promise { return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByFactoryNextOperationSpec, - callback) as Promise; + { resourceGroupName, factoryName, nextLink, options }, + listByFactoryNextOperationSpec + ); } } - // Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listByFactoryOperationSpec: msRest.OperationSpec = { +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers", httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], responses: { 200: { bodyMapper: Mappers.TriggerListResponse @@ -427,30 +620,20 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const queryByFactoryOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "filterParameters", - mapper: { - ...Mappers.TriggerFilterParameters, - required: true - } - }, + headerParameters: [Parameters.accept], + serializer +}; +const queryByFactoryOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.TriggerQueryResponse @@ -459,32 +642,22 @@ const queryByFactoryOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const createOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + requestBody: Parameters.filterParameters1, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.triggerName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.ifMatch, - Parameters.acceptLanguage + Parameters.factoryName ], - requestBody: { - parameterPath: "trigger", - mapper: { - ...Mappers.TriggerResource, - required: true - } - }, + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + httpMethod: "PUT", responses: { 200: { bodyMapper: Mappers.TriggerResource @@ -493,25 +666,27 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + requestBody: Parameters.trigger, + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.triggerName ], - queryParameters: [ - Parameters.apiVersion - ], headerParameters: [ - Parameters.ifNoneMatch, - Parameters.acceptLanguage + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch ], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.TriggerResource @@ -521,24 +696,21 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.triggerName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept, Parameters.ifNoneMatch], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + httpMethod: "DELETE", responses: { 200: {}, 204: {}, @@ -546,150 +718,155 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const getEventSubscriptionStatusOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.triggerName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const subscribeToEventsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.TriggerSubscriptionOperationStatus }, + 201: { + bodyMapper: Mappers.TriggerSubscriptionOperationStatus + }, + 202: { + bodyMapper: Mappers.TriggerSubscriptionOperationStatus + }, + 204: { + bodyMapper: Mappers.TriggerSubscriptionOperationStatus + }, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const beginSubscribeToEventsOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.triggerName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const getEventSubscriptionStatusOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.TriggerSubscriptionOperationStatus }, - 202: {}, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const beginUnsubscribeFromEventsOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.triggerName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const unsubscribeFromEventsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents", + httpMethod: "POST", responses: { 200: { bodyMapper: Mappers.TriggerSubscriptionOperationStatus }, - 202: {}, + 201: { + bodyMapper: Mappers.TriggerSubscriptionOperationStatus + }, + 202: { + bodyMapper: Mappers.TriggerSubscriptionOperationStatus + }, + 204: { + bodyMapper: Mappers.TriggerSubscriptionOperationStatus + }, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const beginStartOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.triggerName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const startOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start", + httpMethod: "POST", responses: { 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { bodyMapper: Mappers.CloudError } }, - serializer -}; - -const beginStopOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop", + queryParameters: [Parameters.apiVersion], urlParameters: [ + Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.factoryName, Parameters.triggerName ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + headerParameters: [Parameters.accept], + serializer +}; +const stopOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop", + httpMethod: "POST", responses: { 200: {}, + 201: {}, + 202: {}, + 204: {}, default: { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName + ], + headerParameters: [Parameters.accept], serializer }; - -const listByFactoryNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", +const listByFactoryNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], + httpMethod: "GET", responses: { 200: { bodyMapper: Mappers.TriggerListResponse @@ -698,5 +875,14 @@ const listByFactoryNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.CloudError } }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.nextLink, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + headerParameters: [Parameters.accept], serializer }; diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/activityRuns.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/activityRuns.ts new file mode 100644 index 000000000000..bb4f42d2a61a --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/activityRuns.ts @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + RunFilterParameters, + ActivityRunsQueryByPipelineRunOptionalParams, + ActivityRunsQueryByPipelineRunResponse +} from "../models"; + +/** Interface representing a ActivityRuns. */ +export interface ActivityRuns { + /** + * Query activity runs based on input filter conditions. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param runId The pipeline run identifier. + * @param filterParameters Parameters to filter the activity runs. + * @param options The options parameters. + */ + queryByPipelineRun( + resourceGroupName: string, + factoryName: string, + runId: string, + filterParameters: RunFilterParameters, + options?: ActivityRunsQueryByPipelineRunOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/dataFlowDebugSession.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/dataFlowDebugSession.ts new file mode 100644 index 000000000000..8caf6156b190 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/dataFlowDebugSession.ts @@ -0,0 +1,129 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + DataFlowDebugSessionInfo, + DataFlowDebugSessionQueryByFactoryOptionalParams, + CreateDataFlowDebugSessionRequest, + DataFlowDebugSessionCreateOptionalParams, + DataFlowDebugSessionCreateResponse, + DataFlowDebugPackage, + DataFlowDebugSessionAddDataFlowOptionalParams, + DataFlowDebugSessionAddDataFlowResponse, + DeleteDataFlowDebugSessionRequest, + DataFlowDebugSessionDeleteOptionalParams, + DataFlowDebugCommandRequest, + DataFlowDebugSessionExecuteCommandOptionalParams, + DataFlowDebugSessionExecuteCommandResponse +} from "../models"; + +/// +/** Interface representing a DataFlowDebugSession. */ +export interface DataFlowDebugSession { + /** + * Query all active data flow debug sessions. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listQueryByFactory( + resourceGroupName: string, + factoryName: string, + options?: DataFlowDebugSessionQueryByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates a data flow debug session. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param request Data flow debug session definition + * @param options The options parameters. + */ + beginCreate( + resourceGroupName: string, + factoryName: string, + request: CreateDataFlowDebugSessionRequest, + options?: DataFlowDebugSessionCreateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + DataFlowDebugSessionCreateResponse + > + >; + /** + * Creates a data flow debug session. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param request Data flow debug session definition + * @param options The options parameters. + */ + beginCreateAndWait( + resourceGroupName: string, + factoryName: string, + request: CreateDataFlowDebugSessionRequest, + options?: DataFlowDebugSessionCreateOptionalParams + ): Promise; + /** + * Add a data flow into debug session. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param request Data flow debug session definition with debug content. + * @param options The options parameters. + */ + addDataFlow( + resourceGroupName: string, + factoryName: string, + request: DataFlowDebugPackage, + options?: DataFlowDebugSessionAddDataFlowOptionalParams + ): Promise; + /** + * Deletes a data flow debug session. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param request Data flow debug session definition for deletion + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + request: DeleteDataFlowDebugSessionRequest, + options?: DataFlowDebugSessionDeleteOptionalParams + ): Promise; + /** + * Execute a data flow debug command. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param request Data flow debug command definition. + * @param options The options parameters. + */ + beginExecuteCommand( + resourceGroupName: string, + factoryName: string, + request: DataFlowDebugCommandRequest, + options?: DataFlowDebugSessionExecuteCommandOptionalParams + ): Promise< + PollerLike< + PollOperationState, + DataFlowDebugSessionExecuteCommandResponse + > + >; + /** + * Execute a data flow debug command. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param request Data flow debug command definition. + * @param options The options parameters. + */ + beginExecuteCommandAndWait( + resourceGroupName: string, + factoryName: string, + request: DataFlowDebugCommandRequest, + options?: DataFlowDebugSessionExecuteCommandOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/dataFlows.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/dataFlows.ts new file mode 100644 index 000000000000..4bf29fab8040 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/dataFlows.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + DataFlowResource, + DataFlowsListByFactoryOptionalParams, + DataFlowsCreateOrUpdateOptionalParams, + DataFlowsCreateOrUpdateResponse, + DataFlowsGetOptionalParams, + DataFlowsGetResponse, + DataFlowsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a DataFlows. */ +export interface DataFlows { + /** + * Lists data flows. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: DataFlowsListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates a data flow. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param dataFlowName The data flow name. + * @param dataFlow Data flow resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + dataFlowName: string, + dataFlow: DataFlowResource, + options?: DataFlowsCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a data flow. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param dataFlowName The data flow name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + dataFlowName: string, + options?: DataFlowsGetOptionalParams + ): Promise; + /** + * Deletes a data flow. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param dataFlowName The data flow name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + dataFlowName: string, + options?: DataFlowsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/datasets.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/datasets.ts new file mode 100644 index 000000000000..5d32b847a109 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/datasets.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + DatasetResource, + DatasetsListByFactoryOptionalParams, + DatasetsCreateOrUpdateOptionalParams, + DatasetsCreateOrUpdateResponse, + DatasetsGetOptionalParams, + DatasetsGetResponse, + DatasetsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a Datasets. */ +export interface Datasets { + /** + * Lists datasets. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: DatasetsListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates a dataset. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param datasetName The dataset name. + * @param dataset Dataset resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + datasetName: string, + dataset: DatasetResource, + options?: DatasetsCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a dataset. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param datasetName The dataset name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + datasetName: string, + options?: DatasetsGetOptionalParams + ): Promise; + /** + * Deletes a dataset. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param datasetName The dataset name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + datasetName: string, + options?: DatasetsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/exposureControl.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/exposureControl.ts new file mode 100644 index 000000000000..aaf1aa732f5f --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/exposureControl.ts @@ -0,0 +1,59 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + ExposureControlRequest, + ExposureControlGetFeatureValueOptionalParams, + ExposureControlGetFeatureValueResponse, + ExposureControlGetFeatureValueByFactoryOptionalParams, + ExposureControlGetFeatureValueByFactoryResponse, + ExposureControlBatchRequest, + ExposureControlQueryFeatureValuesByFactoryOptionalParams, + ExposureControlQueryFeatureValuesByFactoryResponse +} from "../models"; + +/** Interface representing a ExposureControl. */ +export interface ExposureControl { + /** + * Get exposure control feature for specific location. + * @param locationId The location identifier. + * @param exposureControlRequest The exposure control request. + * @param options The options parameters. + */ + getFeatureValue( + locationId: string, + exposureControlRequest: ExposureControlRequest, + options?: ExposureControlGetFeatureValueOptionalParams + ): Promise; + /** + * Get exposure control feature for specific factory. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param exposureControlRequest The exposure control request. + * @param options The options parameters. + */ + getFeatureValueByFactory( + resourceGroupName: string, + factoryName: string, + exposureControlRequest: ExposureControlRequest, + options?: ExposureControlGetFeatureValueByFactoryOptionalParams + ): Promise; + /** + * Get list of exposure control features for specific factory. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param exposureControlBatchRequest The exposure control request for list of features. + * @param options The options parameters. + */ + queryFeatureValuesByFactory( + resourceGroupName: string, + factoryName: string, + exposureControlBatchRequest: ExposureControlBatchRequest, + options?: ExposureControlQueryFeatureValuesByFactoryOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts new file mode 100644 index 000000000000..309d5fdacee7 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts @@ -0,0 +1,137 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + Factory, + FactoriesListOptionalParams, + FactoriesListByResourceGroupOptionalParams, + FactoryRepoUpdate, + FactoriesConfigureFactoryRepoOptionalParams, + FactoriesConfigureFactoryRepoResponse, + FactoriesCreateOrUpdateOptionalParams, + FactoriesCreateOrUpdateResponse, + FactoryUpdateParameters, + FactoriesUpdateOptionalParams, + FactoriesUpdateResponse, + FactoriesGetOptionalParams, + FactoriesGetResponse, + FactoriesDeleteOptionalParams, + GitHubAccessTokenRequest, + FactoriesGetGitHubAccessTokenOptionalParams, + FactoriesGetGitHubAccessTokenResponse, + UserAccessPolicy, + FactoriesGetDataPlaneAccessOptionalParams, + FactoriesGetDataPlaneAccessResponse +} from "../models"; + +/// +/** Interface representing a Factories. */ +export interface Factories { + /** + * Lists factories under the specified subscription. + * @param options The options parameters. + */ + list( + options?: FactoriesListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Lists factories. + * @param resourceGroupName The resource group name. + * @param options The options parameters. + */ + listByResourceGroup( + resourceGroupName: string, + options?: FactoriesListByResourceGroupOptionalParams + ): PagedAsyncIterableIterator; + /** + * Updates a factory's repo information. + * @param locationId The location identifier. + * @param factoryRepoUpdate Update factory repo request definition. + * @param options The options parameters. + */ + configureFactoryRepo( + locationId: string, + factoryRepoUpdate: FactoryRepoUpdate, + options?: FactoriesConfigureFactoryRepoOptionalParams + ): Promise; + /** + * Creates or updates a factory. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param factory Factory resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + factory: Factory, + options?: FactoriesCreateOrUpdateOptionalParams + ): Promise; + /** + * Updates a factory. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param factoryUpdateParameters The parameters for updating a factory. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + factoryName: string, + factoryUpdateParameters: FactoryUpdateParameters, + options?: FactoriesUpdateOptionalParams + ): Promise; + /** + * Gets a factory. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + options?: FactoriesGetOptionalParams + ): Promise; + /** + * Deletes a factory. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + options?: FactoriesDeleteOptionalParams + ): Promise; + /** + * Get GitHub Access Token. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param gitHubAccessTokenRequest Get GitHub access token request definition. + * @param options The options parameters. + */ + getGitHubAccessToken( + resourceGroupName: string, + factoryName: string, + gitHubAccessTokenRequest: GitHubAccessTokenRequest, + options?: FactoriesGetGitHubAccessTokenOptionalParams + ): Promise; + /** + * Get Data Plane access. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param policy Data Plane user access policy definition. + * @param options The options parameters. + */ + getDataPlaneAccess( + resourceGroupName: string, + factoryName: string, + policy: UserAccessPolicy, + options?: FactoriesGetDataPlaneAccessOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts new file mode 100644 index 000000000000..69f4138b971a --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/index.ts @@ -0,0 +1,28 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export * from "./operations"; +export * from "./factories"; +export * from "./exposureControl"; +export * from "./integrationRuntimes"; +export * from "./integrationRuntimeObjectMetadata"; +export * from "./integrationRuntimeNodes"; +export * from "./linkedServices"; +export * from "./datasets"; +export * from "./pipelines"; +export * from "./pipelineRuns"; +export * from "./activityRuns"; +export * from "./triggers"; +export * from "./triggerRuns"; +export * from "./dataFlows"; +export * from "./dataFlowDebugSession"; +export * from "./managedVirtualNetworks"; +export * from "./managedPrivateEndpoints"; +export * from "./privateEndPointConnections"; +export * from "./privateEndpointConnection"; +export * from "./privateLinkResources"; diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimeNodes.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimeNodes.ts new file mode 100644 index 000000000000..658fbed562bd --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimeNodes.ts @@ -0,0 +1,84 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + IntegrationRuntimeNodesGetOptionalParams, + IntegrationRuntimeNodesGetResponse, + IntegrationRuntimeNodesDeleteOptionalParams, + UpdateIntegrationRuntimeNodeRequest, + IntegrationRuntimeNodesUpdateOptionalParams, + IntegrationRuntimeNodesUpdateResponse, + IntegrationRuntimeNodesGetIpAddressOptionalParams, + IntegrationRuntimeNodesGetIpAddressResponse +} from "../models"; + +/** Interface representing a IntegrationRuntimeNodes. */ +export interface IntegrationRuntimeNodes { + /** + * Gets a self-hosted integration runtime node. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param nodeName The integration runtime node name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + nodeName: string, + options?: IntegrationRuntimeNodesGetOptionalParams + ): Promise; + /** + * Deletes a self-hosted integration runtime node. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param nodeName The integration runtime node name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + nodeName: string, + options?: IntegrationRuntimeNodesDeleteOptionalParams + ): Promise; + /** + * Updates a self-hosted integration runtime node. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param nodeName The integration runtime node name. + * @param updateIntegrationRuntimeNodeRequest The parameters for updating an integration runtime node. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + nodeName: string, + updateIntegrationRuntimeNodeRequest: UpdateIntegrationRuntimeNodeRequest, + options?: IntegrationRuntimeNodesUpdateOptionalParams + ): Promise; + /** + * Get the IP address of self-hosted integration runtime node. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param nodeName The integration runtime node name. + * @param options The options parameters. + */ + getIpAddress( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + nodeName: string, + options?: IntegrationRuntimeNodesGetIpAddressOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimeObjectMetadata.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimeObjectMetadata.ts new file mode 100644 index 000000000000..992f5578cd2a --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimeObjectMetadata.ts @@ -0,0 +1,64 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + IntegrationRuntimeObjectMetadataRefreshOptionalParams, + IntegrationRuntimeObjectMetadataRefreshResponse, + IntegrationRuntimeObjectMetadataGetOptionalParams, + IntegrationRuntimeObjectMetadataGetResponse +} from "../models"; + +/** Interface representing a IntegrationRuntimeObjectMetadata. */ +export interface IntegrationRuntimeObjectMetadata { + /** + * Refresh a SSIS integration runtime object metadata. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + beginRefresh( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams + ): Promise< + PollerLike< + PollOperationState, + IntegrationRuntimeObjectMetadataRefreshResponse + > + >; + /** + * Refresh a SSIS integration runtime object metadata. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + beginRefreshAndWait( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams + ): Promise; + /** + * Get a SSIS integration runtime object metadata by specified path. The return is pageable metadata + * list. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimeObjectMetadataGetOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimes.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimes.ts new file mode 100644 index 000000000000..69e0c7ba0c63 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/integrationRuntimes.ts @@ -0,0 +1,319 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + IntegrationRuntimeResource, + IntegrationRuntimesListByFactoryOptionalParams, + IntegrationRuntimesCreateOrUpdateOptionalParams, + IntegrationRuntimesCreateOrUpdateResponse, + IntegrationRuntimesGetOptionalParams, + IntegrationRuntimesGetResponse, + UpdateIntegrationRuntimeRequest, + IntegrationRuntimesUpdateOptionalParams, + IntegrationRuntimesUpdateResponse, + IntegrationRuntimesDeleteOptionalParams, + IntegrationRuntimesGetStatusOptionalParams, + IntegrationRuntimesGetStatusResponse, + IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams, + IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse, + IntegrationRuntimesGetConnectionInfoOptionalParams, + IntegrationRuntimesGetConnectionInfoResponse, + IntegrationRuntimeRegenerateKeyParameters, + IntegrationRuntimesRegenerateAuthKeyOptionalParams, + IntegrationRuntimesRegenerateAuthKeyResponse, + IntegrationRuntimesListAuthKeysOptionalParams, + IntegrationRuntimesListAuthKeysResponse, + IntegrationRuntimesStartOptionalParams, + IntegrationRuntimesStartResponse, + IntegrationRuntimesStopOptionalParams, + IntegrationRuntimesSyncCredentialsOptionalParams, + IntegrationRuntimesGetMonitoringDataOptionalParams, + IntegrationRuntimesGetMonitoringDataResponse, + IntegrationRuntimesUpgradeOptionalParams, + LinkedIntegrationRuntimeRequest, + IntegrationRuntimesRemoveLinksOptionalParams, + CreateLinkedIntegrationRuntimeRequest, + IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams, + IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse +} from "../models"; + +/// +/** Interface representing a IntegrationRuntimes. */ +export interface IntegrationRuntimes { + /** + * Lists integration runtimes. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: IntegrationRuntimesListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates an integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param integrationRuntime Integration runtime resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + integrationRuntime: IntegrationRuntimeResource, + options?: IntegrationRuntimesCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets an integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesGetOptionalParams + ): Promise; + /** + * Updates an integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime. + * @param options The options parameters. + */ + update( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest, + options?: IntegrationRuntimesUpdateOptionalParams + ): Promise; + /** + * Deletes an integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesDeleteOptionalParams + ): Promise; + /** + * Gets detailed status information for an integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + getStatus( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesGetStatusOptionalParams + ): Promise; + /** + * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + listOutboundNetworkDependenciesEndpoints( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams + ): Promise< + IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse + >; + /** + * Gets the on-premises integration runtime connection information for encrypting the on-premises data + * source credentials. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + getConnectionInfo( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesGetConnectionInfoOptionalParams + ): Promise; + /** + * Regenerates the authentication key for an integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param regenerateKeyParameters The parameters for regenerating integration runtime authentication + * key. + * @param options The options parameters. + */ + regenerateAuthKey( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + regenerateKeyParameters: IntegrationRuntimeRegenerateKeyParameters, + options?: IntegrationRuntimesRegenerateAuthKeyOptionalParams + ): Promise; + /** + * Retrieves the authentication keys for an integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + listAuthKeys( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesListAuthKeysOptionalParams + ): Promise; + /** + * Starts a ManagedReserved type integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + beginStart( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesStartOptionalParams + ): Promise< + PollerLike< + PollOperationState, + IntegrationRuntimesStartResponse + > + >; + /** + * Starts a ManagedReserved type integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + beginStartAndWait( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesStartOptionalParams + ): Promise; + /** + * Stops a ManagedReserved type integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + beginStop( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesStopOptionalParams + ): Promise, void>>; + /** + * Stops a ManagedReserved type integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + beginStopAndWait( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesStopOptionalParams + ): Promise; + /** + * Force the integration runtime to synchronize credentials across integration runtime nodes, and this + * will override the credentials across all worker nodes with those available on the dispatcher node. + * If you already have the latest credential backup file, you should manually import it (preferred) on + * any self-hosted integration runtime node than using this API directly. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + syncCredentials( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesSyncCredentialsOptionalParams + ): Promise; + /** + * Get the integration runtime monitoring data, which includes the monitor data for all the nodes under + * this integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + getMonitoringData( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesGetMonitoringDataOptionalParams + ): Promise; + /** + * Upgrade self-hosted integration runtime to latest version if availability. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param options The options parameters. + */ + upgrade( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + options?: IntegrationRuntimesUpgradeOptionalParams + ): Promise; + /** + * Remove all linked integration runtimes under specific data factory in a self-hosted integration + * runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime. + * @param options The options parameters. + */ + removeLinks( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + linkedIntegrationRuntimeRequest: LinkedIntegrationRuntimeRequest, + options?: IntegrationRuntimesRemoveLinksOptionalParams + ): Promise; + /** + * Create a linked integration runtime entry in a shared integration runtime. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties. + * @param options The options parameters. + */ + createLinkedIntegrationRuntime( + resourceGroupName: string, + factoryName: string, + integrationRuntimeName: string, + createLinkedIntegrationRuntimeRequest: CreateLinkedIntegrationRuntimeRequest, + options?: IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/linkedServices.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/linkedServices.ts new file mode 100644 index 000000000000..2ce4004729dd --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/linkedServices.ts @@ -0,0 +1,75 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + LinkedServiceResource, + LinkedServicesListByFactoryOptionalParams, + LinkedServicesCreateOrUpdateOptionalParams, + LinkedServicesCreateOrUpdateResponse, + LinkedServicesGetOptionalParams, + LinkedServicesGetResponse, + LinkedServicesDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a LinkedServices. */ +export interface LinkedServices { + /** + * Lists linked services. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: LinkedServicesListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates a linked service. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param linkedServiceName The linked service name. + * @param linkedService Linked service resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + linkedServiceName: string, + linkedService: LinkedServiceResource, + options?: LinkedServicesCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a linked service. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param linkedServiceName The linked service name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + linkedServiceName: string, + options?: LinkedServicesGetOptionalParams + ): Promise; + /** + * Deletes a linked service. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param linkedServiceName The linked service name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + linkedServiceName: string, + options?: LinkedServicesDeleteOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/managedPrivateEndpoints.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/managedPrivateEndpoints.ts new file mode 100644 index 000000000000..a3f2096d86af --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/managedPrivateEndpoints.ts @@ -0,0 +1,83 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + ManagedPrivateEndpointResource, + ManagedPrivateEndpointsListByFactoryOptionalParams, + ManagedPrivateEndpointsCreateOrUpdateOptionalParams, + ManagedPrivateEndpointsCreateOrUpdateResponse, + ManagedPrivateEndpointsGetOptionalParams, + ManagedPrivateEndpointsGetResponse, + ManagedPrivateEndpointsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a ManagedPrivateEndpoints. */ +export interface ManagedPrivateEndpoints { + /** + * Lists managed private endpoints. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + options?: ManagedPrivateEndpointsListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates a managed private endpoint. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param managedPrivateEndpoint Managed private endpoint resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + managedPrivateEndpointName: string, + managedPrivateEndpoint: ManagedPrivateEndpointResource, + options?: ManagedPrivateEndpointsCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a managed private endpoint. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + managedPrivateEndpointName: string, + options?: ManagedPrivateEndpointsGetOptionalParams + ): Promise; + /** + * Deletes a managed private endpoint. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedPrivateEndpointName Managed private endpoint name + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + managedPrivateEndpointName: string, + options?: ManagedPrivateEndpointsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/managedVirtualNetworks.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/managedVirtualNetworks.ts new file mode 100644 index 000000000000..edd125539455 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/managedVirtualNetworks.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + ManagedVirtualNetworkResource, + ManagedVirtualNetworksListByFactoryOptionalParams, + ManagedVirtualNetworksCreateOrUpdateOptionalParams, + ManagedVirtualNetworksCreateOrUpdateResponse, + ManagedVirtualNetworksGetOptionalParams, + ManagedVirtualNetworksGetResponse +} from "../models"; + +/// +/** Interface representing a ManagedVirtualNetworks. */ +export interface ManagedVirtualNetworks { + /** + * Lists managed Virtual Networks. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: ManagedVirtualNetworksListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates a managed Virtual Network. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param managedVirtualNetwork Managed Virtual Network resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + managedVirtualNetwork: ManagedVirtualNetworkResource, + options?: ManagedVirtualNetworksCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a managed Virtual Network. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param managedVirtualNetworkName Managed virtual network name + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + managedVirtualNetworkName: string, + options?: ManagedVirtualNetworksGetOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/operations.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/operations.ts new file mode 100644 index 000000000000..ba36cd0dd241 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/operations.ts @@ -0,0 +1,22 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Operation, OperationsListOptionalParams } from "../models"; + +/// +/** Interface representing a Operations. */ +export interface Operations { + /** + * Lists the available Azure Data Factory API operations. + * @param options The options parameters. + */ + list( + options?: OperationsListOptionalParams + ): PagedAsyncIterableIterator; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/pipelineRuns.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/pipelineRuns.ts new file mode 100644 index 000000000000..b5db1f7ea096 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/pipelineRuns.ts @@ -0,0 +1,59 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + RunFilterParameters, + PipelineRunsQueryByFactoryOptionalParams, + PipelineRunsQueryByFactoryResponse, + PipelineRunsGetOptionalParams, + PipelineRunsGetResponse, + PipelineRunsCancelOptionalParams +} from "../models"; + +/** Interface representing a PipelineRuns. */ +export interface PipelineRuns { + /** + * Query pipeline runs in the factory based on input filter conditions. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param filterParameters Parameters to filter the pipeline run. + * @param options The options parameters. + */ + queryByFactory( + resourceGroupName: string, + factoryName: string, + filterParameters: RunFilterParameters, + options?: PipelineRunsQueryByFactoryOptionalParams + ): Promise; + /** + * Get a pipeline run by its run ID. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param runId The pipeline run identifier. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + runId: string, + options?: PipelineRunsGetOptionalParams + ): Promise; + /** + * Cancel a pipeline run by its run ID. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param runId The pipeline run identifier. + * @param options The options parameters. + */ + cancel( + resourceGroupName: string, + factoryName: string, + runId: string, + options?: PipelineRunsCancelOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/pipelines.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/pipelines.ts new file mode 100644 index 000000000000..ea8c67e91b35 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/pipelines.ts @@ -0,0 +1,90 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + PipelineResource, + PipelinesListByFactoryOptionalParams, + PipelinesCreateOrUpdateOptionalParams, + PipelinesCreateOrUpdateResponse, + PipelinesGetOptionalParams, + PipelinesGetResponse, + PipelinesDeleteOptionalParams, + PipelinesCreateRunOptionalParams, + PipelinesCreateRunResponse +} from "../models"; + +/// +/** Interface representing a Pipelines. */ +export interface Pipelines { + /** + * Lists pipelines. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: PipelinesListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Creates or updates a pipeline. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param pipelineName The pipeline name. + * @param pipeline Pipeline resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + pipelineName: string, + pipeline: PipelineResource, + options?: PipelinesCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a pipeline. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param pipelineName The pipeline name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + pipelineName: string, + options?: PipelinesGetOptionalParams + ): Promise; + /** + * Deletes a pipeline. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param pipelineName The pipeline name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + pipelineName: string, + options?: PipelinesDeleteOptionalParams + ): Promise; + /** + * Creates a run of a pipeline. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param pipelineName The pipeline name. + * @param options The options parameters. + */ + createRun( + resourceGroupName: string, + factoryName: string, + pipelineName: string, + options?: PipelinesCreateRunOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateEndPointConnections.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateEndPointConnections.ts new file mode 100644 index 000000000000..1f8db3459a39 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateEndPointConnections.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + PrivateEndpointConnectionResource, + PrivateEndPointConnectionsListByFactoryOptionalParams +} from "../models"; + +/// +/** Interface representing a PrivateEndPointConnections. */ +export interface PrivateEndPointConnections { + /** + * Lists Private endpoint connections + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: PrivateEndPointConnectionsListByFactoryOptionalParams + ): PagedAsyncIterableIterator; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateEndpointConnection.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateEndpointConnection.ts new file mode 100644 index 000000000000..4c27537d7aab --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateEndpointConnection.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + PrivateLinkConnectionApprovalRequestResource, + PrivateEndpointConnectionCreateOrUpdateOptionalParams, + PrivateEndpointConnectionCreateOrUpdateResponse, + PrivateEndpointConnectionGetOptionalParams, + PrivateEndpointConnectionGetResponse, + PrivateEndpointConnectionDeleteOptionalParams +} from "../models"; + +/** Interface representing a PrivateEndpointConnection. */ +export interface PrivateEndpointConnection { + /** + * Approves or rejects a private endpoint connection + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param privateEndpointConnectionName The private endpoint connection name. + * @param privateEndpointWrapper Private Endpoint Connection Approval ARM resource. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + privateEndpointConnectionName: string, + privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, + options?: PrivateEndpointConnectionCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a private endpoint connection + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param privateEndpointConnectionName The private endpoint connection name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionGetOptionalParams + ): Promise; + /** + * Deletes a private endpoint connection + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param privateEndpointConnectionName The private endpoint connection name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionDeleteOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateLinkResources.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateLinkResources.ts new file mode 100644 index 000000000000..de4025ef0fcc --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/privateLinkResources.ts @@ -0,0 +1,27 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + PrivateLinkResourcesGetOptionalParams, + PrivateLinkResourcesGetResponse +} from "../models"; + +/** Interface representing a PrivateLinkResources. */ +export interface PrivateLinkResources { + /** + * Gets the private link resources + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + options?: PrivateLinkResourcesGetOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/triggerRuns.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/triggerRuns.ts new file mode 100644 index 000000000000..75838995686f --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/triggerRuns.ts @@ -0,0 +1,62 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + TriggerRunsRerunOptionalParams, + TriggerRunsCancelOptionalParams, + RunFilterParameters, + TriggerRunsQueryByFactoryOptionalParams, + TriggerRunsQueryByFactoryResponse +} from "../models"; + +/** Interface representing a TriggerRuns. */ +export interface TriggerRuns { + /** + * Rerun single trigger instance by runId. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param runId The pipeline run identifier. + * @param options The options parameters. + */ + rerun( + resourceGroupName: string, + factoryName: string, + triggerName: string, + runId: string, + options?: TriggerRunsRerunOptionalParams + ): Promise; + /** + * Cancel a single trigger instance by runId. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param runId The pipeline run identifier. + * @param options The options parameters. + */ + cancel( + resourceGroupName: string, + factoryName: string, + triggerName: string, + runId: string, + options?: TriggerRunsCancelOptionalParams + ): Promise; + /** + * Query trigger runs. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param filterParameters Parameters to filter the pipeline run. + * @param options The options parameters. + */ + queryByFactory( + resourceGroupName: string, + factoryName: string, + filterParameters: RunFilterParameters, + options?: TriggerRunsQueryByFactoryOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/triggers.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/triggers.ts new file mode 100644 index 000000000000..f9ed1d5c8d49 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/triggers.ts @@ -0,0 +1,227 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + TriggerResource, + TriggersListByFactoryOptionalParams, + TriggerFilterParameters, + TriggersQueryByFactoryOptionalParams, + TriggersQueryByFactoryResponse, + TriggersCreateOrUpdateOptionalParams, + TriggersCreateOrUpdateResponse, + TriggersGetOptionalParams, + TriggersGetResponse, + TriggersDeleteOptionalParams, + TriggersSubscribeToEventsOptionalParams, + TriggersSubscribeToEventsResponse, + TriggersGetEventSubscriptionStatusOptionalParams, + TriggersGetEventSubscriptionStatusResponse, + TriggersUnsubscribeFromEventsOptionalParams, + TriggersUnsubscribeFromEventsResponse, + TriggersStartOptionalParams, + TriggersStopOptionalParams +} from "../models"; + +/// +/** Interface representing a Triggers. */ +export interface Triggers { + /** + * Lists triggers. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param options The options parameters. + */ + listByFactory( + resourceGroupName: string, + factoryName: string, + options?: TriggersListByFactoryOptionalParams + ): PagedAsyncIterableIterator; + /** + * Query triggers. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param filterParameters Parameters to filter the triggers. + * @param options The options parameters. + */ + queryByFactory( + resourceGroupName: string, + factoryName: string, + filterParameters: TriggerFilterParameters, + options?: TriggersQueryByFactoryOptionalParams + ): Promise; + /** + * Creates or updates a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param trigger Trigger resource definition. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + factoryName: string, + triggerName: string, + trigger: TriggerResource, + options?: TriggersCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersGetOptionalParams + ): Promise; + /** + * Deletes a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersDeleteOptionalParams + ): Promise; + /** + * Subscribe event trigger to events. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + beginSubscribeToEvents( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersSubscribeToEventsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + TriggersSubscribeToEventsResponse + > + >; + /** + * Subscribe event trigger to events. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + beginSubscribeToEventsAndWait( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersSubscribeToEventsOptionalParams + ): Promise; + /** + * Get a trigger's event subscription status. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + getEventSubscriptionStatus( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersGetEventSubscriptionStatusOptionalParams + ): Promise; + /** + * Unsubscribe event trigger from events. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + beginUnsubscribeFromEvents( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersUnsubscribeFromEventsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + TriggersUnsubscribeFromEventsResponse + > + >; + /** + * Unsubscribe event trigger from events. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + beginUnsubscribeFromEventsAndWait( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersUnsubscribeFromEventsOptionalParams + ): Promise; + /** + * Starts a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + beginStart( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersStartOptionalParams + ): Promise, void>>; + /** + * Starts a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + beginStartAndWait( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersStartOptionalParams + ): Promise; + /** + * Stops a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + beginStop( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersStopOptionalParams + ): Promise, void>>; + /** + * Stops a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param options The options parameters. + */ + beginStopAndWait( + resourceGroupName: string, + factoryName: string, + triggerName: string, + options?: TriggersStopOptionalParams + ): Promise; +} diff --git a/sdk/datafactory/arm-datafactory/test/sampleTest.ts b/sdk/datafactory/arm-datafactory/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/datafactory/arm-datafactory/test/sampleTest.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + env, + record, + RecorderEnvironmentSetup, + Recorder +} from "@azure-tools/test-recorder"; +import * as assert from "assert"; + +const recorderEnvSetup: RecorderEnvironmentSetup = { + replaceableVariables: { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" + }, + customizationsOnRecordings: [ + (recording: any): any => + recording.replace( + /"access_token":"[^"]*"/g, + `"access_token":"access_token"` + ) + ], + queryParametersToSkip: [] +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function() { + recorder = record(this, recorderEnvSetup); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/datafactory/arm-datafactory/tsconfig.json b/sdk/datafactory/arm-datafactory/tsconfig.json index 422b584abd5e..6e3251194117 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.json @@ -3,7 +3,7 @@ "module": "es6", "moduleResolution": "node", "strict": true, - "target": "es5", + "target": "es6", "sourceMap": true, "declarationMap": true, "esModuleInterop": true, @@ -11,9 +11,9 @@ "forceConsistentCasingInFileNames": true, "lib": ["es6", "dom"], "declaration": true, - "outDir": "./esm", + "outDir": "./dist-esm", "importHelpers": true }, - "include": ["./src/**/*.ts"], + "include": ["./src/**/*.ts", "./test/**/*.ts"], "exclude": ["node_modules"] } diff --git a/sdk/datafactory/ci.yml b/sdk/datafactory/ci.yml new file mode 100644 index 000000000000..29ee7331ab2d --- /dev/null +++ b/sdk/datafactory/ci.yml @@ -0,0 +1,29 @@ +# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. +trigger: + branches: + include: + - main + - release/* + - hotfix/* + paths: + include: + - sdk/datafactory/ + +pr: + branches: + include: + - main + - release/* + - hotfix/* + paths: + include: + - sdk/datafactory/ + +extends: + template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml + parameters: + ServiceDirectory: datafactory + Artifacts: + - name: azure-arm-datafactory + safeName: azurearmdatafactory + \ No newline at end of file