From ed34d111d20893bfc5e531c06f2e136ea1e90959 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 26 Apr 2019 18:48:21 +0000 Subject: [PATCH] Generated from ac3d41b92363d8f694b913ba3acaa80777e539b4 Reverting last commit --- sdk/datafactory/arm-datafactory/LICENSE.txt | 21 + sdk/datafactory/arm-datafactory/README.md | 96 + .../lib/dataFactoryManagementClient.ts | 68 + .../lib/dataFactoryManagementClientContext.ts | 62 + .../lib/models/activityRunsMappers.ts | 20 + .../lib/models/datasetsMappers.ts | 366 + .../lib/models/exposureControlMappers.ts | 17 + .../lib/models/factoriesMappers.ts | 372 + .../arm-datafactory/lib/models/index.ts | 20778 ++++++++++++++++ .../models/integrationRuntimeNodesMappers.ts | 18 + ...integrationRuntimeObjectMetadataMappers.ts | 19 + .../lib/models/integrationRuntimesMappers.ts | 383 + .../lib/models/linkedServicesMappers.ts | 366 + .../arm-datafactory/lib/models/mappers.ts | 15886 ++++++++++++ .../lib/models/operationsMappers.ts | 23 + .../arm-datafactory/lib/models/parameters.ts | 280 + .../lib/models/pipelineRunsMappers.ts | 21 + .../lib/models/pipelinesMappers.ts | 367 + .../lib/models/rerunTriggersMappers.ts | 367 + .../lib/models/triggerRunsMappers.ts | 20 + .../lib/models/triggersMappers.ts | 366 + .../lib/operations/activityRuns.ts | 103 + .../lib/operations/datasets.ts | 335 + .../lib/operations/exposureControl.ts | 161 + .../lib/operations/factories.ts | 678 + .../arm-datafactory/lib/operations/index.ts | 24 + .../lib/operations/integrationRuntimeNodes.ts | 311 + .../integrationRuntimeObjectMetadata.ts | 161 + .../lib/operations/integrationRuntimes.ts | 1121 + .../lib/operations/linkedServices.ts | 335 + .../lib/operations/operations.ts | 123 + .../lib/operations/pipelineRuns.ts | 221 + .../lib/operations/pipelines.ts | 417 + .../lib/operations/rerunTriggers.ts | 406 + .../lib/operations/triggerRuns.ts | 98 + .../lib/operations/triggers.ts | 450 + sdk/datafactory/arm-datafactory/package.json | 56 + .../arm-datafactory/rollup.config.js | 37 + sdk/datafactory/arm-datafactory/tsconfig.json | 19 + 39 files changed, 44972 insertions(+) create mode 100644 sdk/datafactory/arm-datafactory/LICENSE.txt create mode 100644 sdk/datafactory/arm-datafactory/README.md create mode 100644 sdk/datafactory/arm-datafactory/lib/dataFactoryManagementClient.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/dataFactoryManagementClientContext.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/activityRunsMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/datasetsMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/exposureControlMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/factoriesMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/index.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/integrationRuntimeNodesMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/integrationRuntimeObjectMetadataMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/integrationRuntimesMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/linkedServicesMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/mappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/operationsMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/parameters.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/pipelineRunsMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/pipelinesMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/rerunTriggersMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/triggerRunsMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/models/triggersMappers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/activityRuns.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/datasets.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/exposureControl.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/factories.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/index.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimeNodes.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimeObjectMetadata.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimes.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/linkedServices.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/operations.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/pipelineRuns.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/pipelines.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/rerunTriggers.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/triggerRuns.ts create mode 100644 sdk/datafactory/arm-datafactory/lib/operations/triggers.ts create mode 100644 sdk/datafactory/arm-datafactory/package.json create mode 100644 sdk/datafactory/arm-datafactory/rollup.config.js create mode 100644 sdk/datafactory/arm-datafactory/tsconfig.json diff --git a/sdk/datafactory/arm-datafactory/LICENSE.txt b/sdk/datafactory/arm-datafactory/LICENSE.txt new file mode 100644 index 000000000000..8f3d856145c5 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +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. diff --git a/sdk/datafactory/arm-datafactory/README.md b/sdk/datafactory/arm-datafactory/README.md new file mode 100644 index 000000000000..6c989b476858 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/README.md @@ -0,0 +1,96 @@ +## Azure DataFactoryManagementClient SDK for JavaScript + +This package contains an isomorphic SDK for DataFactoryManagementClient. + +### Currently supported environments + +- Node.js version 6.x.x or higher +- Browser JavaScript + +### How to Install + +```bash +npm install @azure/arm-datafactory +``` + +### How to use + +#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. + +##### Install @azure/ms-rest-nodeauth + +```bash +npm install @azure/ms-rest-nodeauth +``` + +##### Sample code + +```typescript +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; +import { DataFactoryManagementClient, DataFactoryManagementModels, DataFactoryManagementMappers } from "@azure/arm-datafactory"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new DataFactoryManagementClient(creds, subscriptionId); + client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +#### browser - Authentication, client creation and list operations as an example written in JavaScript. + +##### Install @azure/ms-rest-browserauth + +```bash +npm install @azure/ms-rest-browserauth +``` + +##### Sample code + +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-datafactory sample + + + + + + + + +``` + +## Related projects + +- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/sdk/datafactory/arm-datafactory/lib/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/lib/dataFactoryManagementClient.ts new file mode 100644 index 000000000000..a55829cd29f2 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/dataFactoryManagementClient.ts @@ -0,0 +1,68 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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/mappers"; +import * as operations from "./operations"; +import { DataFactoryManagementClientContext } from "./dataFactoryManagementClientContext"; + + +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; + rerunTriggers: operations.RerunTriggers; + triggerRuns: operations.TriggerRuns; + + /** + * Initializes a new instance of the DataFactoryManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The subscription identifier. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataFactoryManagementClientOptions) { + 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.rerunTriggers = new operations.RerunTriggers(this); + this.triggerRuns = new operations.TriggerRuns(this); + } +} + +// Operation Specifications + +export { + DataFactoryManagementClient, + DataFactoryManagementClientContext, + Models as DataFactoryManagementModels, + Mappers as DataFactoryManagementMappers +}; +export * from "./operations"; diff --git a/sdk/datafactory/arm-datafactory/lib/dataFactoryManagementClientContext.ts b/sdk/datafactory/arm-datafactory/lib/dataFactoryManagementClientContext.ts new file mode 100644 index 000000000000..d1e357732906 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/dataFactoryManagementClientContext.ts @@ -0,0 +1,62 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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"; + +const packageName = "@azure/arm-datafactory"; +const packageVersion = "5.3.0"; + +export class DataFactoryManagementClientContext extends msRestAzure.AzureServiceClient { + credentials: msRest.ServiceClientCredentials; + subscriptionId: string; + apiVersion?: string; + + /** + * Initializes a new instance of the DataFactoryManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The subscription identifier. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataFactoryManagementClientOptions) { + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (subscriptionId == undefined) { + throw new Error('\'subscriptionId\' cannot be null.'); + } + + if (!options) { + options = {}; + } + if(!options.userAgent) { + const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); + options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; + } + + super(credentials, options); + + 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; + 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; + } + } +} diff --git a/sdk/datafactory/arm-datafactory/lib/models/activityRunsMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/activityRunsMappers.ts new file mode 100644 index 000000000000..e827d23a3973 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/activityRunsMappers.ts @@ -0,0 +1,20 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + RunFilterParameters, + RunQueryFilter, + RunQueryOrderBy, + ActivityRunsQueryResponse, + ActivityRun, + CloudError +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/datasetsMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/datasetsMappers.ts new file mode 100644 index 000000000000..8d571680736e --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/datasetsMappers.ts @@ -0,0 +1,366 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + DatasetListResponse, + DatasetResource, + SubResource, + BaseResource, + Dataset, + LinkedServiceReference, + ParameterSpecification, + DatasetFolder, + CloudError, + Resource, + Factory, + FactoryIdentity, + FactoryRepoConfiguration, + IntegrationRuntimeResource, + IntegrationRuntime, + LinkedServiceResource, + LinkedService, + IntegrationRuntimeReference, + PipelineResource, + Activity, + ActivityDependency, + UserProperty, + VariableSpecification, + PipelineFolder, + TriggerResource, + Trigger, + FactoryVSTSConfiguration, + FactoryGitHubConfiguration, + RerunTumblingWindowTrigger, + RerunTriggerResource, + TumblingWindowTrigger, + TriggerPipelineReference, + PipelineReference, + RetryPolicy, + DependencyReference, + MultiplePipelineTrigger, + AzureFunctionLinkedService, + SecretBase, + AzureDataExplorerLinkedService, + GoogleAdWordsLinkedService, + OracleServiceCloudLinkedService, + DynamicsAXLinkedService, + ResponsysLinkedService, + AzureDatabricksLinkedService, + AzureDataLakeAnalyticsLinkedService, + HDInsightOnDemandLinkedService, + ScriptAction, + SalesforceMarketingCloudLinkedService, + NetezzaLinkedService, + AzureKeyVaultSecretReference, + VerticaLinkedService, + ZohoLinkedService, + XeroLinkedService, + SquareLinkedService, + SparkLinkedService, + ShopifyLinkedService, + ServiceNowLinkedService, + QuickBooksLinkedService, + PrestoLinkedService, + PhoenixLinkedService, + PaypalLinkedService, + MarketoLinkedService, + 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, + SalesforceLinkedService, + Office365LinkedService, + AzureBlobFSLinkedService, + AzureDataLakeStoreLinkedService, + CosmosDbMongoDbApiLinkedService, + MongoDbV2LinkedService, + MongoDbLinkedService, + CassandraLinkedService, + WebLinkedService, + WebLinkedServiceTypeProperties, + ODataLinkedService, + HdfsLinkedService, + OdbcLinkedService, + AzureMLLinkedService, + TeradataLinkedService, + Db2LinkedService, + SybaseLinkedService, + PostgreSqlLinkedService, + MySqlLinkedService, + AzureMySqlLinkedService, + OracleLinkedService, + FileServerLinkedService, + HDInsightLinkedService, + DynamicsLinkedService, + CosmosDbLinkedService, + AzureKeyVaultLinkedService, + AzureBatchLinkedService, + AzureSqlDatabaseLinkedService, + SqlServerLinkedService, + AzureSqlDWLinkedService, + AzureTableStorageLinkedService, + AzureBlobStorageLinkedService, + AzureStorageLinkedService, + GoogleAdWordsObjectDataset, + AzureDataExplorerTableDataset, + OracleServiceCloudObjectDataset, + DynamicsAXResourceDataset, + ResponsysObjectDataset, + SalesforceMarketingCloudObjectDataset, + VerticaTableDataset, + NetezzaTableDataset, + ZohoObjectDataset, + XeroObjectDataset, + SquareObjectDataset, + SparkObjectDataset, + ShopifyObjectDataset, + ServiceNowObjectDataset, + QuickBooksObjectDataset, + PrestoObjectDataset, + PhoenixObjectDataset, + PaypalObjectDataset, + MarketoObjectDataset, + MariaDBTableDataset, + MagentoObjectDataset, + JiraObjectDataset, + ImpalaObjectDataset, + HubspotObjectDataset, + HiveObjectDataset, + HBaseObjectDataset, + GreenplumTableDataset, + GoogleBigQueryObjectDataset, + EloquaObjectDataset, + DrillTableDataset, + CouchbaseTableDataset, + ConcurObjectDataset, + AzurePostgreSqlTableDataset, + AmazonMWSObjectDataset, + HttpDataset, + DatasetStorageFormat, + DatasetCompression, + AzureSearchIndexDataset, + WebTableDataset, + RestResourceDataset, + SqlServerTableDataset, + SapOpenHubTableDataset, + SapEccResourceDataset, + SapCloudForCustomerResourceDataset, + SalesforceObjectDataset, + RelationalTableDataset, + AzureMySqlTableDataset, + OracleTableDataset, + ODataResourceDataset, + CosmosDbMongoDbApiCollectionDataset, + MongoDbV2CollectionDataset, + MongoDbCollectionDataset, + FileShareDataset, + Office365Dataset, + AzureBlobFSDataset, + AzureDataLakeStoreDataset, + DynamicsEntityDataset, + DocumentDbCollectionDataset, + CustomDataset, + CassandraTableDataset, + AzureSqlDWTableDataset, + AzureSqlTableDataset, + AzureTableDataset, + AzureBlobDataset, + AmazonS3Dataset, + ExecutionActivity, + ActivityPolicy, + ControlActivity, + SelfHostedIntegrationRuntime, + LinkedIntegrationRuntimeType, + ManagedIntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeVNetProperties, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeSsisCatalogInfo, + SecureString, + IntegrationRuntimeCustomSetupScriptProperties, + SelfDependencyTumblingWindowTriggerReference, + TriggerDependencyReference, + TriggerReference, + BlobEventsTrigger, + BlobTrigger, + ScheduleTrigger, + ScheduleTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WebClientCertificateAuthentication, + WebBasicAuthentication, + WebAnonymousAuthentication, + DatasetZipDeflateCompression, + DatasetDeflateCompression, + DatasetGZipCompression, + DatasetBZip2Compression, + ParquetFormat, + OrcFormat, + AvroFormat, + JsonFormat, + TextFormat, + AzureFunctionActivity, + DatabricksSparkPythonActivity, + DatabricksSparkJarActivity, + DatabricksNotebookActivity, + DataLakeAnalyticsUSQLActivity, + AzureMLUpdateResourceActivity, + AzureMLBatchExecutionActivity, + AzureMLWebServiceFile, + GetMetadataActivity, + DatasetReference, + WebActivity, + WebActivityAuthentication, + LookupActivity, + CopySource, + DeleteActivity, + LogStorageSettings, + SqlServerStoredProcedureActivity, + StoredProcedureParameter, + CustomActivity, + CustomActivityReferenceObject, + ExecuteSSISPackageActivity, + SSISPackageLocation, + SSISExecutionCredential, + SSISExecutionParameter, + SSISPropertyOverride, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HDInsightMapReduceActivity, + HDInsightPigActivity, + HDInsightHiveActivity, + CopyActivity, + CopySink, + CopyTranslator, + StagingSettings, + RedirectIncompatibleRowSettings, + WebHookActivity, + AppendVariableActivity, + SetVariableActivity, + FilterActivity, + Expression, + ValidationActivity, + UntilActivity, + WaitActivity, + ForEachActivity, + IfConditionActivity, + ExecutePipelineActivity, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeKeyAuthorization, + TumblingWindowTriggerDependencyReference, + AmazonRedshiftSource, + RedshiftUnloadSettings, + GoogleAdWordsSource, + OracleServiceCloudSource, + DynamicsAXSource, + ResponsysSource, + SalesforceMarketingCloudSource, + VerticaSource, + NetezzaSource, + ZohoSource, + XeroSource, + SquareSource, + SparkSource, + ShopifySource, + ServiceNowSource, + QuickBooksSource, + PrestoSource, + PhoenixSource, + PaypalSource, + MarketoSource, + MariaDBSource, + MagentoSource, + JiraSource, + ImpalaSource, + HubspotSource, + HiveSource, + HBaseSource, + GreenplumSource, + GoogleBigQuerySource, + EloquaSource, + DrillSource, + CouchbaseSource, + ConcurSource, + AzurePostgreSqlSource, + AmazonMWSSource, + HttpSource, + AzureBlobFSSource, + AzureDataLakeStoreSource, + Office365Source, + CosmosDbMongoDbApiSource, + MongoDbCursorMethodsProperties, + MongoDbV2Source, + MongoDbSource, + CassandraSource, + WebSource, + OracleSource, + AzureDataExplorerSource, + AzureMySqlSource, + HdfsSource, + DistcpSettings, + FileSystemSource, + SqlDWSource, + SqlSource, + RestSource, + SapOpenHubSource, + SapEccSource, + SapCloudForCustomerSource, + SalesforceSource, + RelationalSource, + DynamicsSource, + DocumentDbCollectionSource, + BlobSource, + AzureTableSource, + TabularTranslator, + CosmosDbMongoDbApiSink, + SalesforceSink, + AzureDataExplorerSink, + DynamicsSink, + OdbcSink, + AzureSearchIndexSink, + AzureBlobFSSink, + AzureDataLakeStoreSink, + OracleSink, + SqlDWSink, + PolybaseSettings, + SqlSink, + DocumentDbCollectionSink, + FileSystemSink, + BlobSink, + AzureTableSink, + AzureQueueSink, + SapCloudForCustomerSink +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/exposureControlMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/exposureControlMappers.ts new file mode 100644 index 000000000000..1e20b103bef5 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/exposureControlMappers.ts @@ -0,0 +1,17 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + ExposureControlRequest, + ExposureControlResponse, + CloudError +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/factoriesMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/factoriesMappers.ts new file mode 100644 index 000000000000..a459ccfd644c --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/factoriesMappers.ts @@ -0,0 +1,372 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + FactoryListResponse, + Factory, + Resource, + BaseResource, + FactoryIdentity, + FactoryRepoConfiguration, + CloudError, + FactoryRepoUpdate, + FactoryUpdateParameters, + GitHubAccessTokenRequest, + GitHubAccessTokenResponse, + UserAccessPolicy, + AccessPolicyResponse, + SubResource, + IntegrationRuntimeResource, + IntegrationRuntime, + LinkedServiceResource, + LinkedService, + IntegrationRuntimeReference, + ParameterSpecification, + DatasetResource, + Dataset, + LinkedServiceReference, + DatasetFolder, + PipelineResource, + Activity, + ActivityDependency, + UserProperty, + VariableSpecification, + PipelineFolder, + TriggerResource, + Trigger, + FactoryVSTSConfiguration, + FactoryGitHubConfiguration, + RerunTumblingWindowTrigger, + RerunTriggerResource, + TumblingWindowTrigger, + TriggerPipelineReference, + PipelineReference, + RetryPolicy, + DependencyReference, + MultiplePipelineTrigger, + AzureFunctionLinkedService, + SecretBase, + AzureDataExplorerLinkedService, + GoogleAdWordsLinkedService, + OracleServiceCloudLinkedService, + DynamicsAXLinkedService, + ResponsysLinkedService, + AzureDatabricksLinkedService, + AzureDataLakeAnalyticsLinkedService, + HDInsightOnDemandLinkedService, + ScriptAction, + SalesforceMarketingCloudLinkedService, + NetezzaLinkedService, + AzureKeyVaultSecretReference, + VerticaLinkedService, + ZohoLinkedService, + XeroLinkedService, + SquareLinkedService, + SparkLinkedService, + ShopifyLinkedService, + ServiceNowLinkedService, + QuickBooksLinkedService, + PrestoLinkedService, + PhoenixLinkedService, + PaypalLinkedService, + MarketoLinkedService, + 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, + SalesforceLinkedService, + Office365LinkedService, + AzureBlobFSLinkedService, + AzureDataLakeStoreLinkedService, + CosmosDbMongoDbApiLinkedService, + MongoDbV2LinkedService, + MongoDbLinkedService, + CassandraLinkedService, + WebLinkedService, + WebLinkedServiceTypeProperties, + ODataLinkedService, + HdfsLinkedService, + OdbcLinkedService, + AzureMLLinkedService, + TeradataLinkedService, + Db2LinkedService, + SybaseLinkedService, + PostgreSqlLinkedService, + MySqlLinkedService, + AzureMySqlLinkedService, + OracleLinkedService, + FileServerLinkedService, + HDInsightLinkedService, + DynamicsLinkedService, + CosmosDbLinkedService, + AzureKeyVaultLinkedService, + AzureBatchLinkedService, + AzureSqlDatabaseLinkedService, + SqlServerLinkedService, + AzureSqlDWLinkedService, + AzureTableStorageLinkedService, + AzureBlobStorageLinkedService, + AzureStorageLinkedService, + GoogleAdWordsObjectDataset, + AzureDataExplorerTableDataset, + OracleServiceCloudObjectDataset, + DynamicsAXResourceDataset, + ResponsysObjectDataset, + SalesforceMarketingCloudObjectDataset, + VerticaTableDataset, + NetezzaTableDataset, + ZohoObjectDataset, + XeroObjectDataset, + SquareObjectDataset, + SparkObjectDataset, + ShopifyObjectDataset, + ServiceNowObjectDataset, + QuickBooksObjectDataset, + PrestoObjectDataset, + PhoenixObjectDataset, + PaypalObjectDataset, + MarketoObjectDataset, + MariaDBTableDataset, + MagentoObjectDataset, + JiraObjectDataset, + ImpalaObjectDataset, + HubspotObjectDataset, + HiveObjectDataset, + HBaseObjectDataset, + GreenplumTableDataset, + GoogleBigQueryObjectDataset, + EloquaObjectDataset, + DrillTableDataset, + CouchbaseTableDataset, + ConcurObjectDataset, + AzurePostgreSqlTableDataset, + AmazonMWSObjectDataset, + HttpDataset, + DatasetStorageFormat, + DatasetCompression, + AzureSearchIndexDataset, + WebTableDataset, + RestResourceDataset, + SqlServerTableDataset, + SapOpenHubTableDataset, + SapEccResourceDataset, + SapCloudForCustomerResourceDataset, + SalesforceObjectDataset, + RelationalTableDataset, + AzureMySqlTableDataset, + OracleTableDataset, + ODataResourceDataset, + CosmosDbMongoDbApiCollectionDataset, + MongoDbV2CollectionDataset, + MongoDbCollectionDataset, + FileShareDataset, + Office365Dataset, + AzureBlobFSDataset, + AzureDataLakeStoreDataset, + DynamicsEntityDataset, + DocumentDbCollectionDataset, + CustomDataset, + CassandraTableDataset, + AzureSqlDWTableDataset, + AzureSqlTableDataset, + AzureTableDataset, + AzureBlobDataset, + AmazonS3Dataset, + ExecutionActivity, + ActivityPolicy, + ControlActivity, + SelfHostedIntegrationRuntime, + LinkedIntegrationRuntimeType, + ManagedIntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeVNetProperties, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeSsisCatalogInfo, + SecureString, + IntegrationRuntimeCustomSetupScriptProperties, + SelfDependencyTumblingWindowTriggerReference, + TriggerDependencyReference, + TriggerReference, + BlobEventsTrigger, + BlobTrigger, + ScheduleTrigger, + ScheduleTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WebClientCertificateAuthentication, + WebBasicAuthentication, + WebAnonymousAuthentication, + DatasetZipDeflateCompression, + DatasetDeflateCompression, + DatasetGZipCompression, + DatasetBZip2Compression, + ParquetFormat, + OrcFormat, + AvroFormat, + JsonFormat, + TextFormat, + AzureFunctionActivity, + DatabricksSparkPythonActivity, + DatabricksSparkJarActivity, + DatabricksNotebookActivity, + DataLakeAnalyticsUSQLActivity, + AzureMLUpdateResourceActivity, + AzureMLBatchExecutionActivity, + AzureMLWebServiceFile, + GetMetadataActivity, + DatasetReference, + WebActivity, + WebActivityAuthentication, + LookupActivity, + CopySource, + DeleteActivity, + LogStorageSettings, + SqlServerStoredProcedureActivity, + StoredProcedureParameter, + CustomActivity, + CustomActivityReferenceObject, + ExecuteSSISPackageActivity, + SSISPackageLocation, + SSISExecutionCredential, + SSISExecutionParameter, + SSISPropertyOverride, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HDInsightMapReduceActivity, + HDInsightPigActivity, + HDInsightHiveActivity, + CopyActivity, + CopySink, + CopyTranslator, + StagingSettings, + RedirectIncompatibleRowSettings, + WebHookActivity, + AppendVariableActivity, + SetVariableActivity, + FilterActivity, + Expression, + ValidationActivity, + UntilActivity, + WaitActivity, + ForEachActivity, + IfConditionActivity, + ExecutePipelineActivity, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeKeyAuthorization, + TumblingWindowTriggerDependencyReference, + AmazonRedshiftSource, + RedshiftUnloadSettings, + GoogleAdWordsSource, + OracleServiceCloudSource, + DynamicsAXSource, + ResponsysSource, + SalesforceMarketingCloudSource, + VerticaSource, + NetezzaSource, + ZohoSource, + XeroSource, + SquareSource, + SparkSource, + ShopifySource, + ServiceNowSource, + QuickBooksSource, + PrestoSource, + PhoenixSource, + PaypalSource, + MarketoSource, + MariaDBSource, + MagentoSource, + JiraSource, + ImpalaSource, + HubspotSource, + HiveSource, + HBaseSource, + GreenplumSource, + GoogleBigQuerySource, + EloquaSource, + DrillSource, + CouchbaseSource, + ConcurSource, + AzurePostgreSqlSource, + AmazonMWSSource, + HttpSource, + AzureBlobFSSource, + AzureDataLakeStoreSource, + Office365Source, + CosmosDbMongoDbApiSource, + MongoDbCursorMethodsProperties, + MongoDbV2Source, + MongoDbSource, + CassandraSource, + WebSource, + OracleSource, + AzureDataExplorerSource, + AzureMySqlSource, + HdfsSource, + DistcpSettings, + FileSystemSource, + SqlDWSource, + SqlSource, + RestSource, + SapOpenHubSource, + SapEccSource, + SapCloudForCustomerSource, + SalesforceSource, + RelationalSource, + DynamicsSource, + DocumentDbCollectionSource, + BlobSource, + AzureTableSource, + TabularTranslator, + CosmosDbMongoDbApiSink, + SalesforceSink, + AzureDataExplorerSink, + DynamicsSink, + OdbcSink, + AzureSearchIndexSink, + AzureBlobFSSink, + AzureDataLakeStoreSink, + OracleSink, + SqlDWSink, + PolybaseSettings, + SqlSink, + DocumentDbCollectionSink, + FileSystemSink, + BlobSink, + AzureTableSink, + AzureQueueSink, + SapCloudForCustomerSink +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/index.ts b/sdk/datafactory/arm-datafactory/lib/models/index.ts new file mode 100644 index 000000000000..56964de0e93b --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/index.ts @@ -0,0 +1,20778 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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"; + +export { BaseResource, CloudError }; + + +/** + * @interface + * An interface representing Resource. + * Azure Data Factory top-level resource. + * + * @extends BaseResource + */ +export interface Resource extends BaseResource { + /** + * @member {string} [id] The resource identifier. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly id?: string; + /** + * @member {string} [name] The resource name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] The resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; + /** + * @member {string} [location] The resource location. + */ + location?: string; + /** + * @member {{ [propertyName: string]: string }} [tags] The resource tags. + */ + tags?: { [propertyName: string]: string }; + /** + * @member {string} [eTag] Etag identifies change in the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly eTag?: string; +} + +/** + * @interface + * An interface representing SubResource. + * Azure Data Factory nested resource, which belongs to a factory. + * + * @extends BaseResource + */ +export interface SubResource extends BaseResource { + /** + * @member {string} [id] The resource identifier. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly id?: string; + /** + * @member {string} [name] The resource name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {string} [type] The resource type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly type?: string; + /** + * @member {string} [etag] Etag identifies change in the resource. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly etag?: string; +} + +/** + * @interface + * An interface representing Expression. + * Azure Data Factory expression definition. + * + */ +export interface Expression { + /** + * @member {string} value Expression value. + */ + value: string; +} + +/** + * Contains the possible cases for SecretBase. + */ +export type SecretBaseUnion = SecretBase | SecureString | AzureKeyVaultSecretReference; + +/** + * @interface + * An interface representing SecretBase. + * The base definition of a secret type. + * + */ +export interface SecretBase { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SecretBase"; +} + +/** + * @interface + * An interface representing SecureString. + * Azure Data Factory secure string definition. The string value will be masked + * with asterisks '*' during Get or List API calls. + * + */ +export interface SecureString { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SecureString"; + /** + * @member {string} value Value of secure string. + */ + value: string; +} + +/** + * @interface + * An interface representing LinkedServiceReference. + * Linked service reference type. + * + */ +export interface LinkedServiceReference { + /** + * @member {string} referenceName Reference LinkedService name. + */ + referenceName: string; + /** + * @member {{ [propertyName: string]: any }} [parameters] Arguments for + * LinkedService. + */ + parameters?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing AzureKeyVaultSecretReference. + * Azure Key Vault secret reference. + * + */ +export interface AzureKeyVaultSecretReference { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureKeyVaultSecret"; + /** + * @member {LinkedServiceReference} store The Azure Key Vault linked service + * reference. + */ + store: LinkedServiceReference; + /** + * @member {any} secretName The name of the secret in Azure Key Vault. Type: + * string (or Expression with resultType string). + */ + secretName: any; + /** + * @member {any} [secretVersion] 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; +} + +/** + * @interface + * An interface representing FactoryIdentity. + * Identity properties of the factory resource. + * + */ +export interface FactoryIdentity { + /** + * @member {string} [principalId] The principal id of the identity. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly principalId?: string; + /** + * @member {string} [tenantId] 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; +} + +/** + * Contains the possible cases for FactoryRepoConfiguration. + */ +export type FactoryRepoConfigurationUnion = FactoryRepoConfiguration | FactoryVSTSConfiguration | FactoryGitHubConfiguration; + +/** + * @interface + * An interface representing FactoryRepoConfiguration. + * Factory's git repo information. + * + */ +export interface FactoryRepoConfiguration { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "FactoryRepoConfiguration"; + /** + * @member {string} accountName Account name. + */ + accountName: string; + /** + * @member {string} repositoryName Repository name. + */ + repositoryName: string; + /** + * @member {string} collaborationBranch Collaboration branch. + */ + collaborationBranch: string; + /** + * @member {string} rootFolder Root folder. + */ + rootFolder: string; + /** + * @member {string} [lastCommitId] Last commit id. + */ + lastCommitId?: string; +} + +/** + * @interface + * An interface representing Factory. + * Factory resource type. + * + * @extends Resource + */ +export interface Factory extends Resource { + /** + * @member {FactoryIdentity} [identity] Managed service identity of the + * factory. + */ + identity?: FactoryIdentity; + /** + * @member {string} [provisioningState] Factory provisioning state, example + * Succeeded. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly provisioningState?: string; + /** + * @member {Date} [createTime] 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; + /** + * @member {string} [version] Version of the factory. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly version?: string; + /** + * @member {FactoryRepoConfigurationUnion} [repoConfiguration] Git repo + * information of the factory. + */ + repoConfiguration?: FactoryRepoConfigurationUnion; + /** + * @property 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; + +/** + * @interface + * An interface representing IntegrationRuntime. + * Azure Data Factory nested object which serves as a compute resource for + * activities. + * + */ +export interface IntegrationRuntime { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "IntegrationRuntime"; + /** + * @member {string} [description] Integration runtime description. + */ + description?: string; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing IntegrationRuntimeResource. + * Integration runtime resource type. + * + * @extends SubResource + */ +export interface IntegrationRuntimeResource extends SubResource { + /** + * @member {IntegrationRuntimeUnion} properties Integration runtime + * properties. + */ + properties: IntegrationRuntimeUnion; +} + +/** + * @interface + * An interface representing IntegrationRuntimeReference. + * Integration runtime reference type. + * + */ +export interface IntegrationRuntimeReference { + /** + * @member {string} referenceName Reference integration runtime name. + */ + referenceName: string; + /** + * @member {{ [propertyName: string]: any }} [parameters] Arguments for + * integration runtime. + */ + parameters?: { [propertyName: string]: any }; +} + +/** + * Contains the possible cases for IntegrationRuntimeStatus. + */ +export type IntegrationRuntimeStatusUnion = IntegrationRuntimeStatus | SelfHostedIntegrationRuntimeStatus | ManagedIntegrationRuntimeStatus; + +/** + * @interface + * An interface representing IntegrationRuntimeStatus. + * Integration runtime status. + * + */ +export interface IntegrationRuntimeStatus { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "IntegrationRuntimeStatus"; + /** + * @member {string} [dataFactoryName] 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; + /** + * @member {IntegrationRuntimeState} [state] 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing IntegrationRuntimeStatusResponse. + * Integration runtime status response. + * + */ +export interface IntegrationRuntimeStatusResponse { + /** + * @member {string} [name] The integration runtime name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly name?: string; + /** + * @member {IntegrationRuntimeStatusUnion} properties Integration runtime + * properties. + */ + properties: IntegrationRuntimeStatusUnion; +} + +/** + * @interface + * An interface representing IntegrationRuntimeStatusListResponse. + * A list of integration runtime status. + * + */ +export interface IntegrationRuntimeStatusListResponse { + /** + * @member {IntegrationRuntimeStatusResponse[]} value List of integration + * runtime status. + */ + value: IntegrationRuntimeStatusResponse[]; + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing UpdateIntegrationRuntimeRequest. + * Update integration runtime request. + * + */ +export interface UpdateIntegrationRuntimeRequest { + /** + * @member {IntegrationRuntimeAutoUpdate} [autoUpdate] 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; + /** + * @member {string} [updateDelayOffset] 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; +} + +/** + * @interface + * An interface representing UpdateIntegrationRuntimeNodeRequest. + * Update integration runtime node request. + * + */ +export interface UpdateIntegrationRuntimeNodeRequest { + /** + * @member {number} [concurrentJobsLimit] The number of concurrent jobs + * permitted to run on the integration runtime node. Values between 1 and + * maxConcurrentJobs(inclusive) are allowed. + */ + concurrentJobsLimit?: number; +} + +/** + * @interface + * An interface representing LinkedIntegrationRuntimeRequest. + * Data factory name for linked integration runtime request. + * + */ +export interface LinkedIntegrationRuntimeRequest { + /** + * @member {string} linkedFactoryName The data factory name for linked + * integration runtime. + */ + linkedFactoryName: string; +} + +/** + * @interface + * An interface representing CreateLinkedIntegrationRuntimeRequest. + * The linked integration runtime information. + * + */ +export interface CreateLinkedIntegrationRuntimeRequest { + /** + * @member {string} [name] The name of the linked integration runtime. + */ + name?: string; + /** + * @member {string} [subscriptionId] The ID of the subscription that the + * linked integration runtime belongs to. + */ + subscriptionId?: string; + /** + * @member {string} [dataFactoryName] The name of the data factory that the + * linked integration runtime belongs to. + */ + dataFactoryName?: string; + /** + * @member {string} [dataFactoryLocation] The location of the data factory + * that the linked integration runtime belongs to. + */ + dataFactoryLocation?: string; +} + +/** + * @interface + * An interface representing ParameterSpecification. + * Definition of a single parameter for an entity. + * + */ +export interface ParameterSpecification { + /** + * @member {ParameterType} type Parameter type. Possible values include: + * 'Object', 'String', 'Int', 'Float', 'Bool', 'Array', 'SecureString' + */ + type: ParameterType; + /** + * @member {any} [defaultValue] Default value of parameter. + */ + defaultValue?: any; +} + +/** + * Contains the possible cases for LinkedService. + */ +export type LinkedServiceUnion = LinkedService | AzureFunctionLinkedService | AzureDataExplorerLinkedService | GoogleAdWordsLinkedService | OracleServiceCloudLinkedService | DynamicsAXLinkedService | ResponsysLinkedService | AzureDatabricksLinkedService | AzureDataLakeAnalyticsLinkedService | HDInsightOnDemandLinkedService | SalesforceMarketingCloudLinkedService | NetezzaLinkedService | VerticaLinkedService | ZohoLinkedService | XeroLinkedService | SquareLinkedService | SparkLinkedService | ShopifyLinkedService | ServiceNowLinkedService | QuickBooksLinkedService | PrestoLinkedService | PhoenixLinkedService | PaypalLinkedService | MarketoLinkedService | 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 | SalesforceLinkedService | Office365LinkedService | AzureBlobFSLinkedService | AzureDataLakeStoreLinkedService | CosmosDbMongoDbApiLinkedService | MongoDbV2LinkedService | MongoDbLinkedService | CassandraLinkedService | WebLinkedService | ODataLinkedService | HdfsLinkedService | OdbcLinkedService | AzureMLLinkedService | TeradataLinkedService | Db2LinkedService | SybaseLinkedService | PostgreSqlLinkedService | MySqlLinkedService | AzureMySqlLinkedService | OracleLinkedService | FileServerLinkedService | HDInsightLinkedService | DynamicsLinkedService | CosmosDbLinkedService | AzureKeyVaultLinkedService | AzureBatchLinkedService | AzureSqlDatabaseLinkedService | SqlServerLinkedService | AzureSqlDWLinkedService | AzureTableStorageLinkedService | AzureBlobStorageLinkedService | AzureStorageLinkedService; + +/** + * @interface + * An interface representing LinkedService. + * 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 { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "LinkedService"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing LinkedServiceResource. + * Linked service resource type. + * + * @extends SubResource + */ +export interface LinkedServiceResource extends SubResource { + /** + * @member {LinkedServiceUnion} properties Properties of linked service. + */ + properties: LinkedServiceUnion; +} + +/** + * @interface + * An interface representing DatasetFolder. + * The folder that this Dataset is in. If not specified, Dataset will appear at + * the root level. + * + */ +export interface DatasetFolder { + /** + * @member {string} [name] The name of the folder that this Dataset is in. + */ + name?: string; +} + +/** + * Contains the possible cases for Dataset. + */ +export type DatasetUnion = Dataset | GoogleAdWordsObjectDataset | AzureDataExplorerTableDataset | OracleServiceCloudObjectDataset | DynamicsAXResourceDataset | ResponsysObjectDataset | SalesforceMarketingCloudObjectDataset | VerticaTableDataset | NetezzaTableDataset | ZohoObjectDataset | XeroObjectDataset | SquareObjectDataset | SparkObjectDataset | ShopifyObjectDataset | ServiceNowObjectDataset | QuickBooksObjectDataset | PrestoObjectDataset | PhoenixObjectDataset | PaypalObjectDataset | MarketoObjectDataset | MariaDBTableDataset | MagentoObjectDataset | JiraObjectDataset | ImpalaObjectDataset | HubspotObjectDataset | HiveObjectDataset | HBaseObjectDataset | GreenplumTableDataset | GoogleBigQueryObjectDataset | EloquaObjectDataset | DrillTableDataset | CouchbaseTableDataset | ConcurObjectDataset | AzurePostgreSqlTableDataset | AmazonMWSObjectDataset | HttpDataset | AzureSearchIndexDataset | WebTableDataset | RestResourceDataset | SqlServerTableDataset | SapOpenHubTableDataset | SapEccResourceDataset | SapCloudForCustomerResourceDataset | SalesforceObjectDataset | RelationalTableDataset | AzureMySqlTableDataset | OracleTableDataset | ODataResourceDataset | CosmosDbMongoDbApiCollectionDataset | MongoDbV2CollectionDataset | MongoDbCollectionDataset | FileShareDataset | Office365Dataset | AzureBlobFSDataset | AzureDataLakeStoreDataset | DynamicsEntityDataset | DocumentDbCollectionDataset | CustomDataset | CassandraTableDataset | AzureSqlDWTableDataset | AzureSqlTableDataset | AzureTableDataset | AzureBlobDataset | AmazonS3Dataset; + +/** + * @interface + * An interface representing Dataset. + * The Azure Data Factory nested object which identifies data within different + * data stores, such as tables, files, folders, and documents. + * + */ +export interface Dataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Dataset"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing DatasetResource. + * Dataset resource type. + * + * @extends SubResource + */ +export interface DatasetResource extends SubResource { + /** + * @member {DatasetUnion} properties Dataset properties. + */ + properties: DatasetUnion; +} + +/** + * @interface + * An interface representing ActivityDependency. + * Activity dependency information. + * + */ +export interface ActivityDependency { + /** + * @member {string} activity Activity name. + */ + activity: string; + /** + * @member {DependencyCondition[]} dependencyConditions Match-Condition for + * the dependency. + */ + dependencyConditions: DependencyCondition[]; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing UserProperty. + * User property. + * + */ +export interface UserProperty { + /** + * @member {string} name User property name. + */ + name: string; + /** + * @member {any} value User property value. Type: string (or Expression with + * resultType string). + */ + value: any; +} + +/** + * Contains the possible cases for Activity. + */ +export type ActivityUnion = Activity | ExecutionActivityUnion | ControlActivityUnion; + +/** + * @interface + * An interface representing Activity. + * A pipeline activity. + * + */ +export interface Activity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Activity"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing VariableSpecification. + * Definition of a single variable for a Pipeline. + * + */ +export interface VariableSpecification { + /** + * @member {VariableType} type Variable type. Possible values include: + * 'String', 'Bool', 'Array' + */ + type: VariableType; + /** + * @member {any} [defaultValue] Default value of variable. + */ + defaultValue?: any; +} + +/** + * @interface + * An interface representing PipelineFolder. + * The folder that this Pipeline is in. If not specified, Pipeline will appear + * at the root level. + * + */ +export interface PipelineFolder { + /** + * @member {string} [name] The name of the folder that this Pipeline is in. + */ + name?: string; +} + +/** + * @interface + * An interface representing PipelineResource. + * Pipeline resource type. + * + * @extends SubResource + */ +export interface PipelineResource extends SubResource { + /** + * @member {string} [description] The description of the pipeline. + */ + description?: string; + /** + * @member {ActivityUnion[]} [activities] List of activities in pipeline. + */ + activities?: ActivityUnion[]; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * List of parameters for pipeline. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {{ [propertyName: string]: VariableSpecification }} [variables] + * List of variables for pipeline. + */ + variables?: { [propertyName: string]: VariableSpecification }; + /** + * @member {number} [concurrency] The max number of concurrent runs for the + * pipeline. + */ + concurrency?: number; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Pipeline. + */ + annotations?: any[]; + /** + * @member {PipelineFolder} [folder] The folder that this Pipeline is in. If + * not specified, Pipeline will appear at the root level. + */ + folder?: PipelineFolder; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * Contains the possible cases for Trigger. + */ +export type TriggerUnion = Trigger | RerunTumblingWindowTrigger | TumblingWindowTrigger | MultiplePipelineTriggerUnion; + +/** + * @interface + * An interface representing Trigger. + * Azure data factory nested object which contains information about creating + * pipeline run + * + */ +export interface Trigger { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Trigger"; + /** + * @member {string} [description] Trigger description. + */ + description?: string; + /** + * @member {TriggerRuntimeState} [runtimeState] 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; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the trigger. + */ + annotations?: any[]; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing TriggerResource. + * Trigger resource type. + * + * @extends SubResource + */ +export interface TriggerResource extends SubResource { + /** + * @member {TriggerUnion} properties Properties of the trigger. + */ + properties: TriggerUnion; +} + +/** + * @interface + * An interface representing CreateRunResponse. + * Response body with a run identifier. + * + */ +export interface CreateRunResponse { + /** + * @member {string} runId Identifier of a run. + */ + runId: string; +} + +/** + * @interface + * An interface representing FactoryVSTSConfiguration. + * Factory's VSTS repo information. + * + */ +export interface FactoryVSTSConfiguration { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "FactoryVSTSConfiguration"; + /** + * @member {string} accountName Account name. + */ + accountName: string; + /** + * @member {string} repositoryName Repository name. + */ + repositoryName: string; + /** + * @member {string} collaborationBranch Collaboration branch. + */ + collaborationBranch: string; + /** + * @member {string} rootFolder Root folder. + */ + rootFolder: string; + /** + * @member {string} [lastCommitId] Last commit id. + */ + lastCommitId?: string; + /** + * @member {string} projectName VSTS project name. + */ + projectName: string; + /** + * @member {string} [tenantId] VSTS tenant id. + */ + tenantId?: string; +} + +/** + * @interface + * An interface representing FactoryGitHubConfiguration. + * Factory's GitHub repo information. + * + */ +export interface FactoryGitHubConfiguration { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "FactoryGitHubConfiguration"; + /** + * @member {string} accountName Account name. + */ + accountName: string; + /** + * @member {string} repositoryName Repository name. + */ + repositoryName: string; + /** + * @member {string} collaborationBranch Collaboration branch. + */ + collaborationBranch: string; + /** + * @member {string} rootFolder Root folder. + */ + rootFolder: string; + /** + * @member {string} [lastCommitId] Last commit id. + */ + lastCommitId?: string; + /** + * @member {string} [hostName] GitHub Enterprise host name. For example: + * https://github.mydomain.com + */ + hostName?: string; +} + +/** + * @interface + * An interface representing FactoryRepoUpdate. + * Factory's git repo information. + * + */ +export interface FactoryRepoUpdate { + /** + * @member {string} [factoryResourceId] The factory resource id. + */ + factoryResourceId?: string; + /** + * @member {FactoryRepoConfigurationUnion} [repoConfiguration] Git repo + * information of the factory. + */ + repoConfiguration?: FactoryRepoConfigurationUnion; +} + +/** + * @interface + * An interface representing GitHubAccessTokenRequest. + * Get GitHub access token request definition. + * + */ +export interface GitHubAccessTokenRequest { + /** + * @member {string} gitHubAccessCode GitHub access code. + */ + gitHubAccessCode: string; + /** + * @member {string} [gitHubClientId] GitHub application client ID. + */ + gitHubClientId?: string; + /** + * @member {string} gitHubAccessTokenBaseUrl GitHub access token base URL. + */ + gitHubAccessTokenBaseUrl: string; +} + +/** + * @interface + * An interface representing GitHubAccessTokenResponse. + * Get GitHub access token response definition. + * + */ +export interface GitHubAccessTokenResponse { + /** + * @member {string} [gitHubAccessToken] GitHub access token. + */ + gitHubAccessToken?: string; +} + +/** + * @interface + * An interface representing UserAccessPolicy. + * Get Data Plane read only token request definition. + * + */ +export interface UserAccessPolicy { + /** + * @member {string} [permissions] The string with permissions for Data Plane + * access. Currently only 'r' is supported which grants read only access. + */ + permissions?: string; + /** + * @member {string} [accessResourcePath] The resource path to get access + * relative to factory. Currently only empty string is supported which + * corresponds to the factory resource. + */ + accessResourcePath?: string; + /** + * @member {string} [profileName] The name of the profile. Currently only the + * default is supported. The default value is DefaultProfile. + */ + profileName?: string; + /** + * @member {string} [startTime] Start time for the token. If not specified + * the current time will be used. + */ + startTime?: string; + /** + * @member {string} [expireTime] 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; +} + +/** + * @interface + * An interface representing AccessPolicyResponse. + * Get Data Plane read only token response definition. + * + */ +export interface AccessPolicyResponse { + /** + * @member {UserAccessPolicy} [policy] The user access policy. + */ + policy?: UserAccessPolicy; + /** + * @member {string} [accessToken] Data Plane read only access token. + */ + accessToken?: string; + /** + * @member {string} [dataPlaneUrl] Data Plane service base URL. + */ + dataPlaneUrl?: string; +} + +/** + * @interface + * An interface representing PipelineReference. + * Pipeline reference type. + * + */ +export interface PipelineReference { + /** + * @member {string} referenceName Reference pipeline name. + */ + referenceName: string; + /** + * @member {string} [name] Reference name. + */ + name?: string; +} + +/** + * @interface + * An interface representing TriggerPipelineReference. + * Pipeline that needs to be triggered with the given parameters. + * + */ +export interface TriggerPipelineReference { + /** + * @member {PipelineReference} [pipelineReference] Pipeline reference. + */ + pipelineReference?: PipelineReference; + /** + * @member {{ [propertyName: string]: any }} [parameters] Pipeline + * parameters. + */ + parameters?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing FactoryUpdateParameters. + * Parameters for updating a factory resource. + * + */ +export interface FactoryUpdateParameters { + /** + * @member {{ [propertyName: string]: string }} [tags] The resource tags. + */ + tags?: { [propertyName: string]: string }; + /** + * @member {FactoryIdentity} [identity] Managed service identity of the + * factory. + */ + identity?: FactoryIdentity; +} + +/** + * @interface + * An interface representing DatasetReference. + * Dataset reference type. + * + */ +export interface DatasetReference { + /** + * @member {string} referenceName Reference dataset name. + */ + referenceName: string; + /** + * @member {{ [propertyName: string]: any }} [parameters] Arguments for + * dataset. + */ + parameters?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing RunQueryFilter. + * Query filter option for listing runs. + * + */ +export interface RunQueryFilter { + /** + * @member {RunQueryFilterOperand} operand 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; + /** + * @member {RunQueryFilterOperator} operator Operator to be used for filter. + * Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn' + */ + operator: RunQueryFilterOperator; + /** + * @member {string[]} values List of filter values. + */ + values: string[]; +} + +/** + * @interface + * An interface representing RunQueryOrderBy. + * An object to provide order by options for listing runs. + * + */ +export interface RunQueryOrderBy { + /** + * @member {RunQueryOrderByField} orderBy 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; + /** + * @member {RunQueryOrder} order Sorting order of the parameter. Possible + * values include: 'ASC', 'DESC' + */ + order: RunQueryOrder; +} + +/** + * @interface + * An interface representing RunFilterParameters. + * Query parameters for listing runs. + * + */ +export interface RunFilterParameters { + /** + * @member {string} [continuationToken] The continuation token for getting + * the next page of results. Null for first page. + */ + continuationToken?: string; + /** + * @member {Date} lastUpdatedAfter The time at or after which the run event + * was updated in 'ISO 8601' format. + */ + lastUpdatedAfter: Date; + /** + * @member {Date} lastUpdatedBefore The time at or before which the run event + * was updated in 'ISO 8601' format. + */ + lastUpdatedBefore: Date; + /** + * @member {RunQueryFilter[]} [filters] List of filters. + */ + filters?: RunQueryFilter[]; + /** + * @member {RunQueryOrderBy[]} [orderBy] List of OrderBy option. + */ + orderBy?: RunQueryOrderBy[]; +} + +/** + * @interface + * An interface representing PipelineRunInvokedBy. + * Provides entity name and id that started the pipeline run. + * + */ +export interface PipelineRunInvokedBy { + /** + * @member {string} [name] 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; + /** + * @member {string} [id] 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; + /** + * @member {string} [invokedByType] 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; +} + +/** + * @interface + * An interface representing PipelineRun. + * Information about a pipeline run. + * + */ +export interface PipelineRun { + /** + * @member {string} [runId] Identifier of a run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly runId?: string; + /** + * @member {string} [runGroupId] 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; + /** + * @member {boolean} [isLatest] 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; + /** + * @member {string} [pipelineName] The pipeline name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly pipelineName?: string; + /** + * @member {{ [propertyName: string]: string }} [parameters] 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 }; + /** + * @member {PipelineRunInvokedBy} [invokedBy] Entity that started the + * pipeline run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly invokedBy?: PipelineRunInvokedBy; + /** + * @member {Date} [lastUpdated] 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; + /** + * @member {Date} [runStart] 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; + /** + * @member {Date} [runEnd] 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; + /** + * @member {number} [durationInMs] The duration of a pipeline run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly durationInMs?: number; + /** + * @member {string} [status] The status of a pipeline run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: string; + /** + * @member {string} [message] The message from a pipeline run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly message?: string; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing PipelineRunsQueryResponse. + * A list pipeline runs. + * + */ +export interface PipelineRunsQueryResponse { + /** + * @member {PipelineRun[]} value List of pipeline runs. + */ + value: PipelineRun[]; + /** + * @member {string} [continuationToken] The continuation token for getting + * the next page of results, if any remaining results exist, null otherwise. + */ + continuationToken?: string; +} + +/** + * @interface + * An interface representing ActivityRun. + * Information about an activity run in a pipeline. + * + */ +export interface ActivityRun { + /** + * @member {string} [pipelineName] The name of the pipeline. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly pipelineName?: string; + /** + * @member {string} [pipelineRunId] The id of the pipeline run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly pipelineRunId?: string; + /** + * @member {string} [activityName] The name of the activity. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly activityName?: string; + /** + * @member {string} [activityType] The type of the activity. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly activityType?: string; + /** + * @member {string} [activityRunId] The id of the activity run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly activityRunId?: string; + /** + * @member {string} [linkedServiceName] 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; + /** + * @member {string} [status] The status of the activity run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly status?: string; + /** + * @member {Date} [activityRunStart] 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; + /** + * @member {Date} [activityRunEnd] 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; + /** + * @member {number} [durationInMs] The duration of the activity run. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly durationInMs?: number; + /** + * @member {any} [input] The input for the activity. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly input?: any; + /** + * @member {any} [output] The output for the activity. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly output?: any; + /** + * @member {any} [error] 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing ActivityRunsQueryResponse. + * A list activity runs. + * + */ +export interface ActivityRunsQueryResponse { + /** + * @member {ActivityRun[]} value List of activity runs. + */ + value: ActivityRun[]; + /** + * @member {string} [continuationToken] The continuation token for getting + * the next page of results, if any remaining results exist, null otherwise. + */ + continuationToken?: string; +} + +/** + * @interface + * An interface representing TriggerRun. + * Trigger runs. + * + */ +export interface TriggerRun { + /** + * @member {string} [triggerRunId] Trigger run id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly triggerRunId?: string; + /** + * @member {string} [triggerName] Trigger name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly triggerName?: string; + /** + * @member {string} [triggerType] Trigger type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly triggerType?: string; + /** + * @member {Date} [triggerRunTimestamp] Trigger run start time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly triggerRunTimestamp?: Date; + /** + * @member {TriggerRunStatus} [status] 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; + /** + * @member {string} [message] Trigger error message. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly message?: string; + /** + * @member {{ [propertyName: string]: string }} [properties] 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 }; + /** + * @member {{ [propertyName: string]: string }} [triggeredPipelines] 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 }; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing TriggerRunsQueryResponse. + * A list of trigger runs. + * + */ +export interface TriggerRunsQueryResponse { + /** + * @member {TriggerRun[]} value List of trigger runs. + */ + value: TriggerRun[]; + /** + * @member {string} [continuationToken] The continuation token for getting + * the next page of results, if any remaining results exist, null otherwise. + */ + continuationToken?: string; +} + +/** + * @interface + * An interface representing RerunTumblingWindowTriggerActionParameters. + * Rerun tumbling window trigger Parameters. + * + */ +export interface RerunTumblingWindowTriggerActionParameters { + /** + * @member {Date} startTime The start time for the time period for which + * restatement is initiated. Only UTC time is currently supported. + */ + startTime: Date; + /** + * @member {Date} endTime The end time for the time period for which + * restatement is initiated. Only UTC time is currently supported. + */ + endTime: Date; + /** + * @member {number} maxConcurrency The max number of parallel time windows + * (ready for execution) for which a rerun is triggered. + */ + maxConcurrency: number; +} + +/** + * @interface + * An interface representing RerunTumblingWindowTrigger. + * Trigger that schedules pipeline reruns for all fixed time interval windows + * from a requested start time to requested end time. + * + */ +export interface RerunTumblingWindowTrigger { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "RerunTumblingWindowTrigger"; + /** + * @member {string} [description] Trigger description. + */ + description?: string; + /** + * @member {TriggerRuntimeState} [runtimeState] 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; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the trigger. + */ + annotations?: any[]; + /** + * @member {any} [parentTrigger] The parent trigger reference. + */ + parentTrigger?: any; + /** + * @member {Date} requestedStartTime The start time for the time period for + * which restatement is initiated. Only UTC time is currently supported. + */ + requestedStartTime: Date; + /** + * @member {Date} requestedEndTime The end time for the time period for which + * restatement is initiated. Only UTC time is currently supported. + */ + requestedEndTime: Date; + /** + * @member {number} maxConcurrency The max number of parallel time windows + * (ready for execution) for which a rerun is triggered. + */ + maxConcurrency: number; +} + +/** + * @interface + * An interface representing RerunTriggerResource. + * RerunTrigger resource type. + * + * @extends SubResource + */ +export interface RerunTriggerResource extends SubResource { + /** + * @member {RerunTumblingWindowTrigger} properties Properties of the rerun + * trigger. + */ + properties: RerunTumblingWindowTrigger; +} + +/** + * @interface + * An interface representing OperationDisplay. + * Metadata associated with the operation. + * + */ +export interface OperationDisplay { + /** + * @member {string} [description] The description of the operation. + */ + description?: string; + /** + * @member {string} [provider] The name of the provider. + */ + provider?: string; + /** + * @member {string} [resource] The name of the resource type on which the + * operation is performed. + */ + resource?: string; + /** + * @member {string} [operation] The type of operation: get, read, delete, + * etc. + */ + operation?: string; +} + +/** + * @interface + * An interface representing OperationLogSpecification. + * Details about an operation related to logs. + * + */ +export interface OperationLogSpecification { + /** + * @member {string} [name] The name of the log category. + */ + name?: string; + /** + * @member {string} [displayName] Localized display name. + */ + displayName?: string; + /** + * @member {string} [blobDuration] Blobs created in the customer storage + * account, per hour. + */ + blobDuration?: string; +} + +/** + * @interface + * An interface representing OperationMetricAvailability. + * Defines how often data for a metric becomes available. + * + */ +export interface OperationMetricAvailability { + /** + * @member {string} [timeGrain] The granularity for the metric. + */ + timeGrain?: string; + /** + * @member {string} [blobDuration] Blob created in the customer storage + * account, per hour. + */ + blobDuration?: string; +} + +/** + * @interface + * An interface representing OperationMetricDimension. + * Defines the metric dimension. + * + */ +export interface OperationMetricDimension { + /** + * @member {string} [name] The name of the dimension for the metric. + */ + name?: string; + /** + * @member {string} [displayName] The display name of the metric dimension. + */ + displayName?: string; + /** + * @member {boolean} [toBeExportedForShoebox] Whether the dimension should be + * exported to Azure Monitor. + */ + toBeExportedForShoebox?: boolean; +} + +/** + * @interface + * An interface representing OperationMetricSpecification. + * Details about an operation related to metrics. + * + */ +export interface OperationMetricSpecification { + /** + * @member {string} [name] The name of the metric. + */ + name?: string; + /** + * @member {string} [displayName] Localized display name of the metric. + */ + displayName?: string; + /** + * @member {string} [displayDescription] The description of the metric. + */ + displayDescription?: string; + /** + * @member {string} [unit] The unit that the metric is measured in. + */ + unit?: string; + /** + * @member {string} [aggregationType] The type of metric aggregation. + */ + aggregationType?: string; + /** + * @member {string} [enableRegionalMdmAccount] Whether or not the service is + * using regional MDM accounts. + */ + enableRegionalMdmAccount?: string; + /** + * @member {string} [sourceMdmAccount] The name of the MDM account. + */ + sourceMdmAccount?: string; + /** + * @member {string} [sourceMdmNamespace] The name of the MDM namespace. + */ + sourceMdmNamespace?: string; + /** + * @member {OperationMetricAvailability[]} [availabilities] Defines how often + * data for metrics becomes available. + */ + availabilities?: OperationMetricAvailability[]; + /** + * @member {OperationMetricDimension[]} [dimensions] Defines the metric + * dimension. + */ + dimensions?: OperationMetricDimension[]; +} + +/** + * @interface + * An interface representing OperationServiceSpecification. + * Details about a service operation. + * + */ +export interface OperationServiceSpecification { + /** + * @member {OperationLogSpecification[]} [logSpecifications] Details about + * operations related to logs. + */ + logSpecifications?: OperationLogSpecification[]; + /** + * @member {OperationMetricSpecification[]} [metricSpecifications] Details + * about operations related to metrics. + */ + metricSpecifications?: OperationMetricSpecification[]; +} + +/** + * @interface + * An interface representing Operation. + * Azure Data Factory API operation definition. + * + */ +export interface Operation { + /** + * @member {string} [name] Operation name: {provider}/{resource}/{operation} + */ + name?: string; + /** + * @member {string} [origin] The intended executor of the operation. + */ + origin?: string; + /** + * @member {OperationDisplay} [display] Metadata associated with the + * operation. + */ + display?: OperationDisplay; + /** + * @member {OperationServiceSpecification} [serviceSpecification] Details + * about a service operation. + */ + serviceSpecification?: OperationServiceSpecification; +} + +/** + * @interface + * An interface representing GetSsisObjectMetadataRequest. + * The request payload of get SSIS object metadata. + * + */ +export interface GetSsisObjectMetadataRequest { + /** + * @member {string} [metadataPath] Metadata path. + */ + metadataPath?: string; +} + +/** + * @interface + * An interface representing SsisObjectMetadataStatusResponse. + * The status of the operation. + * + */ +export interface SsisObjectMetadataStatusResponse { + /** + * @member {string} [status] The status of the operation. + */ + status?: string; + /** + * @member {string} [name] The operation name. + */ + name?: string; + /** + * @member {string} [properties] The operation properties. + */ + properties?: string; + /** + * @member {string} [error] The operation error message. + */ + error?: string; +} + +/** + * @interface + * An interface representing ExposureControlRequest. + * The exposure control request. + * + */ +export interface ExposureControlRequest { + /** + * @member {string} [featureName] The feature name. + */ + featureName?: string; + /** + * @member {string} [featureType] The feature type. + */ + featureType?: string; +} + +/** + * @interface + * An interface representing ExposureControlResponse. + * The exposure control response. + * + */ +export interface ExposureControlResponse { + /** + * @member {string} [featureName] The feature name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly featureName?: string; + /** + * @member {string} [value] The feature value. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly value?: string; +} + +/** + * Contains the possible cases for DependencyReference. + */ +export type DependencyReferenceUnion = DependencyReference | SelfDependencyTumblingWindowTriggerReference | TriggerDependencyReferenceUnion; + +/** + * @interface + * An interface representing DependencyReference. + * Referenced dependency. + * + */ +export interface DependencyReference { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DependencyReference"; +} + +/** + * @interface + * An interface representing SelfDependencyTumblingWindowTriggerReference. + * Self referenced tumbling window trigger dependency. + * + */ +export interface SelfDependencyTumblingWindowTriggerReference { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SelfDependencyTumblingWindowTriggerReference"; + /** + * @member {string} offset Timespan applied to the start time of a tumbling + * window when evaluating dependency. + */ + offset: string; + /** + * @member {string} [size] The size of the window when evaluating the + * dependency. If undefined the frequency of the tumbling window will be + * used. + */ + size?: string; +} + +/** + * @interface + * An interface representing TriggerReference. + * Trigger reference type. + * + */ +export interface TriggerReference { + /** + * @member {string} referenceName Reference trigger name. + */ + referenceName: string; +} + +/** + * Contains the possible cases for TriggerDependencyReference. + */ +export type TriggerDependencyReferenceUnion = TriggerDependencyReference | TumblingWindowTriggerDependencyReference; + +/** + * @interface + * An interface representing TriggerDependencyReference. + * Trigger referenced dependency. + * + */ +export interface TriggerDependencyReference { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "TriggerDependencyReference"; + /** + * @member {TriggerReference} referenceTrigger Referenced trigger. + */ + referenceTrigger: TriggerReference; +} + +/** + * @interface + * An interface representing TumblingWindowTriggerDependencyReference. + * Referenced tumbling window trigger dependency. + * + */ +export interface TumblingWindowTriggerDependencyReference { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "TumblingWindowTriggerDependencyReference"; + /** + * @member {TriggerReference} referenceTrigger Referenced trigger. + */ + referenceTrigger: TriggerReference; + /** + * @member {string} [offset] Timespan applied to the start time of a tumbling + * window when evaluating dependency. + */ + offset?: string; + /** + * @member {string} [size] The size of the window when evaluating the + * dependency. If undefined the frequency of the tumbling window will be + * used. + */ + size?: string; +} + +/** + * @interface + * An interface representing RetryPolicy. + * Execution policy for an activity. + * + */ +export interface RetryPolicy { + /** + * @member {any} [count] Maximum ordinary retry attempts. Default is 0. Type: + * integer (or Expression with resultType integer), minimum: 0. + */ + count?: any; + /** + * @member {number} [intervalInSeconds] Interval between retries in seconds. + * Default is 30. + */ + intervalInSeconds?: number; +} + +/** + * @interface + * An interface representing TumblingWindowTrigger. + * 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 { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "TumblingWindowTrigger"; + /** + * @member {string} [description] Trigger description. + */ + description?: string; + /** + * @member {TriggerRuntimeState} [runtimeState] 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; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the trigger. + */ + annotations?: any[]; + /** + * @member {TriggerPipelineReference} pipelineProperty Pipeline for which + * runs are created when an event is fired for trigger window that is ready. + */ + pipelineProperty: TriggerPipelineReference; + /** + * @member {TumblingWindowFrequency} frequency The frequency of the time + * windows. Possible values include: 'Minute', 'Hour' + */ + frequency: TumblingWindowFrequency; + /** + * @member {number} interval The interval of the time windows. The minimum + * interval allowed is 15 Minutes. + */ + interval: number; + /** + * @member {Date} startTime 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; + /** + * @member {Date} [endTime] 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; + /** + * @member {any} [delay] 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?: any; + /** + * @member {number} maxConcurrency The max number of parallel time windows + * (ready for execution) for which a new run is triggered. + */ + maxConcurrency: number; + /** + * @member {RetryPolicy} [retryPolicy] Retry policy that will be applied for + * failed pipeline runs. + */ + retryPolicy?: RetryPolicy; + /** + * @member {DependencyReferenceUnion[]} [dependsOn] Triggers that this + * trigger depends on. Only tumbling window triggers are supported. + */ + dependsOn?: DependencyReferenceUnion[]; +} + +/** + * Contains the possible cases for MultiplePipelineTrigger. + */ +export type MultiplePipelineTriggerUnion = MultiplePipelineTrigger | BlobEventsTrigger | BlobTrigger | ScheduleTrigger; + +/** + * @interface + * An interface representing MultiplePipelineTrigger. + * Base class for all triggers that support one to many model for trigger to + * pipeline. + * + */ +export interface MultiplePipelineTrigger { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MultiplePipelineTrigger"; + /** + * @member {string} [description] Trigger description. + */ + description?: string; + /** + * @member {TriggerRuntimeState} [runtimeState] 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; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the trigger. + */ + annotations?: any[]; + /** + * @member {TriggerPipelineReference[]} [pipelines] Pipelines that need to be + * started. + */ + pipelines?: TriggerPipelineReference[]; +} + +/** + * @interface + * An interface representing BlobEventsTrigger. + * Trigger that runs every time a Blob event occurs. + * + */ +export interface BlobEventsTrigger { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "BlobEventsTrigger"; + /** + * @member {string} [description] Trigger description. + */ + description?: string; + /** + * @member {TriggerRuntimeState} [runtimeState] 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; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the trigger. + */ + annotations?: any[]; + /** + * @member {TriggerPipelineReference[]} [pipelines] Pipelines that need to be + * started. + */ + pipelines?: TriggerPipelineReference[]; + /** + * @member {string} [blobPathBeginsWith] 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; + /** + * @member {string} [blobPathEndsWith] 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; + /** + * @member {BlobEventTypes[]} events The type of events that cause this + * trigger to fire. + */ + events: BlobEventTypes[]; + /** + * @member {string} scope The ARM resource ID of the Storage Account. + */ + scope: string; +} + +/** + * @interface + * An interface representing BlobTrigger. + * Trigger that runs every time the selected Blob container changes. + * + */ +export interface BlobTrigger { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "BlobTrigger"; + /** + * @member {string} [description] Trigger description. + */ + description?: string; + /** + * @member {TriggerRuntimeState} [runtimeState] 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; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the trigger. + */ + annotations?: any[]; + /** + * @member {TriggerPipelineReference[]} [pipelines] Pipelines that need to be + * started. + */ + pipelines?: TriggerPipelineReference[]; + /** + * @member {string} folderPath The path of the container/folder that will + * trigger the pipeline. + */ + folderPath: string; + /** + * @member {number} maxConcurrency The max number of parallel files to handle + * when it is triggered. + */ + maxConcurrency: number; + /** + * @member {LinkedServiceReference} linkedService The Azure Storage linked + * service reference. + */ + linkedService: LinkedServiceReference; +} + +/** + * @interface + * An interface representing RecurrenceScheduleOccurrence. + * The recurrence schedule occurrence. + * + */ +export interface RecurrenceScheduleOccurrence { + /** + * @member {DayOfWeek} [day] The day of the week. Possible values include: + * 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' + */ + day?: DayOfWeek; + /** + * @member {number} [occurrence] The occurrence. + */ + occurrence?: number; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing RecurrenceSchedule. + * The recurrence schedule. + * + */ +export interface RecurrenceSchedule { + /** + * @member {number[]} [minutes] The minutes. + */ + minutes?: number[]; + /** + * @member {number[]} [hours] The hours. + */ + hours?: number[]; + /** + * @member {DaysOfWeek[]} [weekDays] The days of the week. + */ + weekDays?: DaysOfWeek[]; + /** + * @member {number[]} [monthDays] The month days. + */ + monthDays?: number[]; + /** + * @member {RecurrenceScheduleOccurrence[]} [monthlyOccurrences] The monthly + * occurrences. + */ + monthlyOccurrences?: RecurrenceScheduleOccurrence[]; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing ScheduleTriggerRecurrence. + * The workflow trigger recurrence. + * + */ +export interface ScheduleTriggerRecurrence { + /** + * @member {RecurrenceFrequency} [frequency] The frequency. Possible values + * include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' + */ + frequency?: RecurrenceFrequency; + /** + * @member {number} [interval] The interval. + */ + interval?: number; + /** + * @member {Date} [startTime] The start time. + */ + startTime?: Date; + /** + * @member {Date} [endTime] The end time. + */ + endTime?: Date; + /** + * @member {string} [timeZone] The time zone. + */ + timeZone?: string; + /** + * @member {RecurrenceSchedule} [schedule] The recurrence schedule. + */ + schedule?: RecurrenceSchedule; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing ScheduleTrigger. + * Trigger that creates pipeline runs periodically, on schedule. + * + */ +export interface ScheduleTrigger { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ScheduleTrigger"; + /** + * @member {string} [description] Trigger description. + */ + description?: string; + /** + * @member {TriggerRuntimeState} [runtimeState] 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; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the trigger. + */ + annotations?: any[]; + /** + * @member {TriggerPipelineReference[]} [pipelines] Pipelines that need to be + * started. + */ + pipelines?: TriggerPipelineReference[]; + /** + * @member {ScheduleTriggerRecurrence} recurrence Recurrence schedule + * configuration. + */ + recurrence: ScheduleTriggerRecurrence; +} + +/** + * @interface + * An interface representing AzureFunctionLinkedService. + * Azure Function linked service. + * + */ +export interface AzureFunctionLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureFunction"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} functionAppUrl The endpoint of the Azure Function App. URL + * will be in the format https://.azurewebsites.net. + */ + functionAppUrl: any; + /** + * @member {SecretBaseUnion} [functionKey] Function or Host key for Azure + * Function App. + */ + functionKey?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureDataExplorerLinkedService. + * Azure Data Explorer (Kusto) linked service. + * + */ +export interface AzureDataExplorerLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataExplorer"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} endpoint 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; + /** + * @member {any} servicePrincipalId The ID of the service principal used to + * authenticate against Azure Data Explorer. Type: string (or Expression with + * resultType string). + */ + servicePrincipalId: any; + /** + * @member {SecretBaseUnion} servicePrincipalKey The key of the service + * principal used to authenticate against Kusto. + */ + servicePrincipalKey: SecretBaseUnion; + /** + * @member {any} database Database name for connection. Type: string (or + * Expression with resultType string). + */ + database: any; + /** + * @member {any} tenant The name or ID of the tenant to which the service + * principal belongs. Type: string (or Expression with resultType string). + */ + tenant: any; +} + +/** + * @interface + * An interface representing GoogleAdWordsLinkedService. + * Google AdWords service linked service. + * + */ +export interface GoogleAdWordsLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GoogleAdWords"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} clientCustomerID The Client customer ID of the AdWords + * account that you want to fetch report data for. + */ + clientCustomerID: any; + /** + * @member {SecretBaseUnion} developerToken The developer token associated + * with the manager account that you use to grant access to the AdWords API. + */ + developerToken: SecretBaseUnion; + /** + * @member {GoogleAdWordsAuthenticationType} authenticationType 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; + /** + * @member {SecretBaseUnion} [refreshToken] The refresh token obtained from + * Google for authorizing access to AdWords for UserAuthentication. + */ + refreshToken?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [clientId] The client id of the google + * application used to acquire the refresh token. + */ + clientId?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret of the google + * application used to acquire the refresh token. + */ + clientSecret?: SecretBaseUnion; + /** + * @member {any} [email] The service account email ID that is used for + * ServiceAuthentication and can only be used on self-hosted IR. + */ + email?: any; + /** + * @member {any} [keyFilePath] 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; + /** + * @member {any} [trustedCertPath] 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; + /** + * @member {any} [useSystemTrustStore] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing OracleServiceCloudLinkedService. + * Oracle Service Cloud linked service. + * + */ +export interface OracleServiceCloudLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OracleServiceCloud"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The URL of the Oracle Service Cloud instance. + */ + host: any; + /** + * @member {any} username The user name that you use to access Oracle Service + * Cloud server. + */ + username: any; + /** + * @member {SecretBaseUnion} password The password corresponding to the user + * name that you provided in the username key. + */ + password: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. Type: + * boolean (or Expression with resultType boolean). + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing DynamicsAXLinkedService. + * Dynamics AX linked service. + * + */ +export interface DynamicsAXLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DynamicsAX"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} url The Dynamics AX (or Dynamics 365 Finance and Operations) + * instance OData endpoint. + */ + url: any; + /** + * @member {any} servicePrincipalId Specify the application's client ID. + * Type: string (or Expression with resultType string). + */ + servicePrincipalId: any; + /** + * @member {SecretBaseUnion} servicePrincipalKey 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; + /** + * @member {any} tenant 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; + /** + * @member {any} aadResourceId Specify the resource you are requesting + * authorization. Type: string (or Expression with resultType string). + */ + aadResourceId: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing ResponsysLinkedService. + * Responsys linked service. + * + */ +export interface ResponsysLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Responsys"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} endpoint The endpoint of the Responsys server. + */ + endpoint: any; + /** + * @member {any} clientId The client ID associated with the Responsys + * application. Type: string (or Expression with resultType string). + */ + clientId: any; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret associated with + * the Responsys application. Type: string (or Expression with resultType + * string). + */ + clientSecret?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. Type: + * boolean (or Expression with resultType boolean). + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureDatabricksLinkedService. + * Azure Databricks linked service. + * + */ +export interface AzureDatabricksLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDatabricks"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} domain .azuredatabricks.net, domain name of your + * Databricks deployment. Type: string (or Expression with resultType + * string). + */ + domain: any; + /** + * @member {SecretBaseUnion} accessToken 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; + /** + * @member {any} [existingClusterId] The id of an existing cluster that will + * be used for all runs of this job. Type: string (or Expression with + * resultType string). + */ + existingClusterId?: any; + /** + * @member {any} [newClusterVersion] The Spark version of new cluster. Type: + * string (or Expression with resultType string). + */ + newClusterVersion?: any; + /** + * @member {any} [newClusterNumOfWorker] Number of worker nodes that new + * cluster should have. A string formatted Int32, like '1' means numOfWorker + * is 1 or '1:10' means auto-scale from 1 as min and 10 as max. Type: string + * (or Expression with resultType string). + */ + newClusterNumOfWorker?: any; + /** + * @member {any} [newClusterNodeType] The node types of new cluster. Type: + * string (or Expression with resultType string). + */ + newClusterNodeType?: any; + /** + * @member {{ [propertyName: string]: any }} [newClusterSparkConf] A set of + * optional, user-specified Spark configuration key-value pairs. + */ + newClusterSparkConf?: { [propertyName: string]: any }; + /** + * @member {{ [propertyName: string]: any }} [newClusterSparkEnvVars] A set + * of optional, user-specified Spark environment variables key-value pairs. + */ + newClusterSparkEnvVars?: { [propertyName: string]: any }; + /** + * @member {{ [propertyName: string]: any }} [newClusterCustomTags] + * Additional tags for cluster resources. + */ + newClusterCustomTags?: { [propertyName: string]: any }; + /** + * @member {any} [newClusterDriverNodeType] The driver node type for the new + * cluster. Type: string (or Expression with resultType string). + */ + newClusterDriverNodeType?: any; + /** + * @member {any} [newClusterInitScripts] User-defined initialization scripts + * for the new cluster. Type: array of strings (or Expression with resultType + * array of strings). + */ + newClusterInitScripts?: any; + /** + * @member {any} [newClusterEnableElasticDisk] Enable the elastic disk on the + * new cluster. Type: boolean (or Expression with resultType boolean). + */ + newClusterEnableElasticDisk?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureDataLakeAnalyticsLinkedService. + * Azure Data Lake Analytics linked service. + * + */ +export interface AzureDataLakeAnalyticsLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataLakeAnalytics"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} accountName The Azure Data Lake Analytics account name. + * Type: string (or Expression with resultType string). + */ + accountName: any; + /** + * @member {any} [servicePrincipalId] The ID of the application used to + * authenticate against the Azure Data Lake Analytics account. Type: string + * (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The Key of the application + * used to authenticate against the Azure Data Lake Analytics account. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} tenant The name or ID of the tenant to which the service + * principal belongs. Type: string (or Expression with resultType string). + */ + tenant: any; + /** + * @member {any} [subscriptionId] Data Lake Analytics account subscription ID + * (if different from Data Factory account). Type: string (or Expression with + * resultType string). + */ + subscriptionId?: any; + /** + * @member {any} [resourceGroupName] Data Lake Analytics account resource + * group name (if different from Data Factory account). Type: string (or + * Expression with resultType string). + */ + resourceGroupName?: any; + /** + * @member {any} [dataLakeAnalyticsUri] Azure Data Lake Analytics URI Type: + * string (or Expression with resultType string). + */ + dataLakeAnalyticsUri?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing ScriptAction. + * Custom script action to run on HDI ondemand cluster once it's up. + * + */ +export interface ScriptAction { + /** + * @member {string} name The user provided name of the script action. + */ + name: string; + /** + * @member {string} uri The URI for the script action. + */ + uri: string; + /** + * @member {any} roles The node types on which the script action should be + * executed. + */ + roles: any; + /** + * @member {string} [parameters] The parameters for the script action. + */ + parameters?: string; +} + +/** + * @interface + * An interface representing HDInsightOnDemandLinkedService. + * HDInsight ondemand linked service. + * + */ +export interface HDInsightOnDemandLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HDInsightOnDemand"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} clusterSize Number of worker/data nodes in the cluster. + * Suggestion value: 4. Type: string (or Expression with resultType string). + */ + clusterSize: any; + /** + * @member {any} timeToLive 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; + /** + * @member {any} version Version of the HDInsight cluster.  Type: string (or + * Expression with resultType string). + */ + version: any; + /** + * @member {LinkedServiceReference} linkedServiceName Azure Storage linked + * service to be used by the on-demand cluster for storing and processing + * data. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {any} hostSubscriptionId The customer’s subscription to host the + * cluster. Type: string (or Expression with resultType string). + */ + hostSubscriptionId: any; + /** + * @member {any} [servicePrincipalId] The service principal id for the + * hostSubscriptionId. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The key for the service + * principal id. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} tenant The Tenant id/name to which the service principal + * belongs. Type: string (or Expression with resultType string). + */ + tenant: any; + /** + * @member {any} clusterResourceGroup The resource group where the cluster + * belongs. Type: string (or Expression with resultType string). + */ + clusterResourceGroup: any; + /** + * @member {any} [clusterNamePrefix] The prefix of cluster name, postfix will + * be distinct with timestamp. Type: string (or Expression with resultType + * string). + */ + clusterNamePrefix?: any; + /** + * @member {any} [clusterUserName] The username to access the cluster. Type: + * string (or Expression with resultType string). + */ + clusterUserName?: any; + /** + * @member {SecretBaseUnion} [clusterPassword] The password to access the + * cluster. + */ + clusterPassword?: SecretBaseUnion; + /** + * @member {any} [clusterSshUserName] The username to SSH remotely connect to + * cluster’s node (for Linux). Type: string (or Expression with resultType + * string). + */ + clusterSshUserName?: any; + /** + * @member {SecretBaseUnion} [clusterSshPassword] The password to SSH + * remotely connect cluster’s node (for Linux). + */ + clusterSshPassword?: SecretBaseUnion; + /** + * @member {LinkedServiceReference[]} [additionalLinkedServiceNames] + * Specifies additional storage accounts for the HDInsight linked service so + * that the Data Factory service can register them on your behalf. + */ + additionalLinkedServiceNames?: LinkedServiceReference[]; + /** + * @member {LinkedServiceReference} [hcatalogLinkedServiceName] 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; + /** + * @member {any} [clusterType] The cluster type. Type: string (or Expression + * with resultType string). + */ + clusterType?: any; + /** + * @member {any} [sparkVersion] The version of spark if the cluster type is + * 'spark'. Type: string (or Expression with resultType string). + */ + sparkVersion?: any; + /** + * @member {any} [coreConfiguration] Specifies the core configuration + * parameters (as in core-site.xml) for the HDInsight cluster to be created. + */ + coreConfiguration?: any; + /** + * @member {any} [hBaseConfiguration] Specifies the HBase configuration + * parameters (hbase-site.xml) for the HDInsight cluster. + */ + hBaseConfiguration?: any; + /** + * @member {any} [hdfsConfiguration] Specifies the HDFS configuration + * parameters (hdfs-site.xml) for the HDInsight cluster. + */ + hdfsConfiguration?: any; + /** + * @member {any} [hiveConfiguration] Specifies the hive configuration + * parameters (hive-site.xml) for the HDInsight cluster. + */ + hiveConfiguration?: any; + /** + * @member {any} [mapReduceConfiguration] Specifies the MapReduce + * configuration parameters (mapred-site.xml) for the HDInsight cluster. + */ + mapReduceConfiguration?: any; + /** + * @member {any} [oozieConfiguration] Specifies the Oozie configuration + * parameters (oozie-site.xml) for the HDInsight cluster. + */ + oozieConfiguration?: any; + /** + * @member {any} [stormConfiguration] Specifies the Storm configuration + * parameters (storm-site.xml) for the HDInsight cluster. + */ + stormConfiguration?: any; + /** + * @member {any} [yarnConfiguration] Specifies the Yarn configuration + * parameters (yarn-site.xml) for the HDInsight cluster. + */ + yarnConfiguration?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; + /** + * @member {any} [headNodeSize] Specifies the size of the head node for the + * HDInsight cluster. + */ + headNodeSize?: any; + /** + * @member {any} [dataNodeSize] Specifies the size of the data node for the + * HDInsight cluster. + */ + dataNodeSize?: any; + /** + * @member {any} [zookeeperNodeSize] Specifies the size of the Zoo Keeper + * node for the HDInsight cluster. + */ + zookeeperNodeSize?: any; + /** + * @member {ScriptAction[]} [scriptActions] 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[]; +} + +/** + * @interface + * An interface representing SalesforceMarketingCloudLinkedService. + * Salesforce Marketing Cloud linked service. + * + */ +export interface SalesforceMarketingCloudLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SalesforceMarketingCloud"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} clientId The client ID associated with the Salesforce + * Marketing Cloud application. Type: string (or Expression with resultType + * string). + */ + clientId: any; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret associated with + * the Salesforce Marketing Cloud application. Type: string (or Expression + * with resultType string). + */ + clientSecret?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. Type: + * boolean (or Expression with resultType boolean). + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing NetezzaLinkedService. + * Netezza linked service. + * + */ +export interface NetezzaLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Netezza"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] An ODBC connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [pwd] The Azure key vault secret + * reference of password in connection string. + */ + pwd?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing VerticaLinkedService. + * Vertica linked service. + * + */ +export interface VerticaLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Vertica"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] An ODBC connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [pwd] The Azure key vault secret + * reference of password in connection string. + */ + pwd?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing ZohoLinkedService. + * Zoho server linked service. + * + */ +export interface ZohoLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Zoho"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} endpoint The endpoint of the Zoho server. (i.e. + * crm.zoho.com/crm/private) + */ + endpoint: any; + /** + * @member {SecretBaseUnion} [accessToken] The access token for Zoho + * authentication. + */ + accessToken?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing XeroLinkedService. + * Xero Service linked service. + * + */ +export interface XeroLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Xero"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The endpoint of the Xero server. (i.e. api.xero.com) + */ + host: any; + /** + * @member {SecretBaseUnion} [consumerKey] The consumer key associated with + * the Xero application. + */ + consumerKey?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [privateKey] 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; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SquareLinkedService. + * Square Service linked service. + * + */ +export interface SquareLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Square"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The URL of the Square instance. (i.e. + * mystore.mysquare.com) + */ + host: any; + /** + * @member {any} clientId The client ID associated with your Square + * application. + */ + clientId: any; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret associated with + * your Square application. + */ + clientSecret?: SecretBaseUnion; + /** + * @member {any} redirectUri The redirect URL assigned in the Square + * application dashboard. (i.e. http://localhost:2500) + */ + redirectUri: any; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SparkLinkedService. + * Spark Server linked service. + * + */ +export interface SparkLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Spark"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host IP address or host name of the Spark server + */ + host: any; + /** + * @member {any} port The TCP port that the Spark server uses to listen for + * client connections. + */ + port: any; + /** + * @member {SparkServerType} [serverType] The type of Spark server. Possible + * values include: 'SharkServer', 'SharkServer2', 'SparkThriftServer' + */ + serverType?: SparkServerType; + /** + * @member {SparkThriftTransportProtocol} [thriftTransportProtocol] The + * transport protocol to use in the Thrift layer. Possible values include: + * 'Binary', 'SASL', 'HTTP ' + */ + thriftTransportProtocol?: SparkThriftTransportProtocol; + /** + * @member {SparkAuthenticationType} authenticationType The authentication + * method used to access the Spark server. Possible values include: + * 'Anonymous', 'Username', 'UsernameAndPassword', + * 'WindowsAzureHDInsightService' + */ + authenticationType: SparkAuthenticationType; + /** + * @member {any} [username] The user name that you use to access Spark + * Server. + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name that you provided in the Username field + */ + password?: SecretBaseUnion; + /** + * @member {any} [httpPath] The partial URL corresponding to the Spark + * server. + */ + httpPath?: any; + /** + * @member {any} [enableSsl] Specifies whether the connections to the server + * are encrypted using SSL. The default value is false. + */ + enableSsl?: any; + /** + * @member {any} [trustedCertPath] 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; + /** + * @member {any} [useSystemTrustStore] 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; + /** + * @member {any} [allowHostNameCNMismatch] 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; + /** + * @member {any} [allowSelfSignedServerCert] Specifies whether to allow + * self-signed certificates from the server. The default value is false. + */ + allowSelfSignedServerCert?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing ShopifyLinkedService. + * Shopify Service linked service. + * + */ +export interface ShopifyLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Shopify"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The endpoint of the Shopify server. (i.e. + * mystore.myshopify.com) + */ + host: any; + /** + * @member {SecretBaseUnion} [accessToken] 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; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing ServiceNowLinkedService. + * ServiceNow server linked service. + * + */ +export interface ServiceNowLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ServiceNow"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} endpoint The endpoint of the ServiceNow server. (i.e. + * .service-now.com) + */ + endpoint: any; + /** + * @member {ServiceNowAuthenticationType} authenticationType The + * authentication type to use. Possible values include: 'Basic', 'OAuth2' + */ + authenticationType: ServiceNowAuthenticationType; + /** + * @member {any} [username] The user name used to connect to the ServiceNow + * server for Basic and OAuth2 authentication. + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name for Basic and OAuth2 authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [clientId] The client id for OAuth2 authentication. + */ + clientId?: any; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret for OAuth2 + * authentication. + */ + clientSecret?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing QuickBooksLinkedService. + * QuickBooks server linked service. + * + */ +export interface QuickBooksLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "QuickBooks"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} endpoint The endpoint of the QuickBooks server. (i.e. + * quickbooks.api.intuit.com) + */ + endpoint: any; + /** + * @member {any} companyId The company ID of the QuickBooks company to + * authorize. + */ + companyId: any; + /** + * @member {any} consumerKey The consumer key for OAuth 1.0 authentication. + */ + consumerKey: any; + /** + * @member {SecretBaseUnion} consumerSecret The consumer secret for OAuth 1.0 + * authentication. + */ + consumerSecret: SecretBaseUnion; + /** + * @member {SecretBaseUnion} accessToken The access token for OAuth 1.0 + * authentication. + */ + accessToken: SecretBaseUnion; + /** + * @member {SecretBaseUnion} accessTokenSecret The access token secret for + * OAuth 1.0 authentication. + */ + accessTokenSecret: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing PrestoLinkedService. + * Presto server linked service. + * + */ +export interface PrestoLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Presto"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The IP address or host name of the Presto server. (i.e. + * 192.168.222.160) + */ + host: any; + /** + * @member {any} serverVersion The version of the Presto server. (i.e. + * 0.148-t) + */ + serverVersion: any; + /** + * @member {any} catalog The catalog context for all request against the + * server. + */ + catalog: any; + /** + * @member {any} [port] The TCP port that the Presto server uses to listen + * for client connections. The default value is 8080. + */ + port?: any; + /** + * @member {PrestoAuthenticationType} authenticationType The authentication + * mechanism used to connect to the Presto server. Possible values include: + * 'Anonymous', 'LDAP' + */ + authenticationType: PrestoAuthenticationType; + /** + * @member {any} [username] The user name used to connect to the Presto + * server. + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name. + */ + password?: SecretBaseUnion; + /** + * @member {any} [enableSsl] Specifies whether the connections to the server + * are encrypted using SSL. The default value is false. + */ + enableSsl?: any; + /** + * @member {any} [trustedCertPath] 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; + /** + * @member {any} [useSystemTrustStore] 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; + /** + * @member {any} [allowHostNameCNMismatch] 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; + /** + * @member {any} [allowSelfSignedServerCert] Specifies whether to allow + * self-signed certificates from the server. The default value is false. + */ + allowSelfSignedServerCert?: any; + /** + * @member {any} [timeZoneID] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing PhoenixLinkedService. + * Phoenix server linked service. + * + */ +export interface PhoenixLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Phoenix"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The IP address or host name of the Phoenix server. + * (i.e. 192.168.222.160) + */ + host: any; + /** + * @member {any} [port] The TCP port that the Phoenix server uses to listen + * for client connections. The default value is 8765. + */ + port?: any; + /** + * @member {any} [httpPath] The partial URL corresponding to the Phoenix + * server. (i.e. /gateway/sandbox/phoenix/version). The default value is + * hbasephoenix if using WindowsAzureHDInsightService. + */ + httpPath?: any; + /** + * @member {PhoenixAuthenticationType} authenticationType The authentication + * mechanism used to connect to the Phoenix server. Possible values include: + * 'Anonymous', 'UsernameAndPassword', 'WindowsAzureHDInsightService' + */ + authenticationType: PhoenixAuthenticationType; + /** + * @member {any} [username] The user name used to connect to the Phoenix + * server. + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name. + */ + password?: SecretBaseUnion; + /** + * @member {any} [enableSsl] Specifies whether the connections to the server + * are encrypted using SSL. The default value is false. + */ + enableSsl?: any; + /** + * @member {any} [trustedCertPath] 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; + /** + * @member {any} [useSystemTrustStore] 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; + /** + * @member {any} [allowHostNameCNMismatch] 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; + /** + * @member {any} [allowSelfSignedServerCert] Specifies whether to allow + * self-signed certificates from the server. The default value is false. + */ + allowSelfSignedServerCert?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing PaypalLinkedService. + * Paypal Service linked service. + * + */ +export interface PaypalLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Paypal"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The URL of the PayPal instance. (i.e. + * api.sandbox.paypal.com) + */ + host: any; + /** + * @member {any} clientId The client ID associated with your PayPal + * application. + */ + clientId: any; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret associated with + * your PayPal application. + */ + clientSecret?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing MarketoLinkedService. + * Marketo server linked service. + * + */ +export interface MarketoLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Marketo"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} endpoint The endpoint of the Marketo server. (i.e. + * 123-ABC-321.mktorest.com) + */ + endpoint: any; + /** + * @member {any} clientId The client Id of your Marketo service. + */ + clientId: any; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret of your Marketo + * service. + */ + clientSecret?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing MariaDBLinkedService. + * MariaDB server linked service. + * + */ +export interface MariaDBLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MariaDB"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] An ODBC connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [pwd] The Azure key vault secret + * reference of password in connection string. + */ + pwd?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing MagentoLinkedService. + * Magento server linked service. + * + */ +export interface MagentoLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Magento"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The URL of the Magento instance. (i.e. + * 192.168.222.110/magento3) + */ + host: any; + /** + * @member {SecretBaseUnion} [accessToken] The access token from Magento. + */ + accessToken?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing JiraLinkedService. + * Jira Service linked service. + * + */ +export interface JiraLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Jira"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The IP address or host name of the Jira service. (e.g. + * jira.example.com) + */ + host: any; + /** + * @member {any} [port] 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; + /** + * @member {any} username The user name that you use to access Jira Service. + */ + username: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name that you provided in the username field. + */ + password?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing ImpalaLinkedService. + * Impala server linked service. + * + */ +export interface ImpalaLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Impala"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The IP address or host name of the Impala server. (i.e. + * 192.168.222.160) + */ + host: any; + /** + * @member {any} [port] The TCP port that the Impala server uses to listen + * for client connections. The default value is 21050. + */ + port?: any; + /** + * @member {ImpalaAuthenticationType} authenticationType The authentication + * type to use. Possible values include: 'Anonymous', 'SASLUsername', + * 'UsernameAndPassword' + */ + authenticationType: ImpalaAuthenticationType; + /** + * @member {any} [username] The user name used to access the Impala server. + * The default value is anonymous when using SASLUsername. + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name when using UsernameAndPassword. + */ + password?: SecretBaseUnion; + /** + * @member {any} [enableSsl] Specifies whether the connections to the server + * are encrypted using SSL. The default value is false. + */ + enableSsl?: any; + /** + * @member {any} [trustedCertPath] 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; + /** + * @member {any} [useSystemTrustStore] 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; + /** + * @member {any} [allowHostNameCNMismatch] 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; + /** + * @member {any} [allowSelfSignedServerCert] Specifies whether to allow + * self-signed certificates from the server. The default value is false. + */ + allowSelfSignedServerCert?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing HubspotLinkedService. + * Hubspot Service linked service. + * + */ +export interface HubspotLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Hubspot"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} clientId The client ID associated with your Hubspot + * application. + */ + clientId: any; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret associated with + * your Hubspot application. + */ + clientSecret?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [accessToken] The access token obtained when + * initially authenticating your OAuth integration. + */ + accessToken?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [refreshToken] The refresh token obtained when + * initially authenticating your OAuth integration. + */ + refreshToken?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing HiveLinkedService. + * Hive Server linked service. + * + */ +export interface HiveLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Hive"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host IP address or host name of the Hive server, separated + * by ';' for multiple hosts (only when serviceDiscoveryMode is enable). + */ + host: any; + /** + * @member {any} [port] The TCP port that the Hive server uses to listen for + * client connections. + */ + port?: any; + /** + * @member {HiveServerType} [serverType] The type of Hive server. Possible + * values include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer' + */ + serverType?: HiveServerType; + /** + * @member {HiveThriftTransportProtocol} [thriftTransportProtocol] The + * transport protocol to use in the Thrift layer. Possible values include: + * 'Binary', 'SASL', 'HTTP ' + */ + thriftTransportProtocol?: HiveThriftTransportProtocol; + /** + * @member {HiveAuthenticationType} authenticationType The authentication + * method used to access the Hive server. Possible values include: + * 'Anonymous', 'Username', 'UsernameAndPassword', + * 'WindowsAzureHDInsightService' + */ + authenticationType: HiveAuthenticationType; + /** + * @member {any} [serviceDiscoveryMode] true to indicate using the ZooKeeper + * service, false not. + */ + serviceDiscoveryMode?: any; + /** + * @member {any} [zooKeeperNameSpace] The namespace on ZooKeeper under which + * Hive Server 2 nodes are added. + */ + zooKeeperNameSpace?: any; + /** + * @member {any} [useNativeQuery] Specifies whether the driver uses native + * HiveQL queries,or converts them into an equivalent form in HiveQL. + */ + useNativeQuery?: any; + /** + * @member {any} [username] The user name that you use to access Hive Server. + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name that you provided in the Username field + */ + password?: SecretBaseUnion; + /** + * @member {any} [httpPath] The partial URL corresponding to the Hive server. + */ + httpPath?: any; + /** + * @member {any} [enableSsl] Specifies whether the connections to the server + * are encrypted using SSL. The default value is false. + */ + enableSsl?: any; + /** + * @member {any} [trustedCertPath] 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; + /** + * @member {any} [useSystemTrustStore] 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; + /** + * @member {any} [allowHostNameCNMismatch] 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; + /** + * @member {any} [allowSelfSignedServerCert] Specifies whether to allow + * self-signed certificates from the server. The default value is false. + */ + allowSelfSignedServerCert?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing HBaseLinkedService. + * HBase server linked service. + * + */ +export interface HBaseLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HBase"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The IP address or host name of the HBase server. (i.e. + * 192.168.222.160) + */ + host: any; + /** + * @member {any} [port] The TCP port that the HBase instance uses to listen + * for client connections. The default value is 9090. + */ + port?: any; + /** + * @member {any} [httpPath] The partial URL corresponding to the HBase + * server. (i.e. /gateway/sandbox/hbase/version) + */ + httpPath?: any; + /** + * @member {HBaseAuthenticationType} authenticationType The authentication + * mechanism to use to connect to the HBase server. Possible values include: + * 'Anonymous', 'Basic' + */ + authenticationType: HBaseAuthenticationType; + /** + * @member {any} [username] The user name used to connect to the HBase + * instance. + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name. + */ + password?: SecretBaseUnion; + /** + * @member {any} [enableSsl] Specifies whether the connections to the server + * are encrypted using SSL. The default value is false. + */ + enableSsl?: any; + /** + * @member {any} [trustedCertPath] 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; + /** + * @member {any} [allowHostNameCNMismatch] 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; + /** + * @member {any} [allowSelfSignedServerCert] Specifies whether to allow + * self-signed certificates from the server. The default value is false. + */ + allowSelfSignedServerCert?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing GreenplumLinkedService. + * Greenplum Database linked service. + * + */ +export interface GreenplumLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Greenplum"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] An ODBC connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [pwd] The Azure key vault secret + * reference of password in connection string. + */ + pwd?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing GoogleBigQueryLinkedService. + * Google BigQuery service linked service. + * + */ +export interface GoogleBigQueryLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GoogleBigQuery"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} project The default BigQuery project to query against. + */ + project: any; + /** + * @member {any} [additionalProjects] A comma-separated list of public + * BigQuery projects to access. + */ + additionalProjects?: any; + /** + * @member {any} [requestGoogleDriveScope] 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; + /** + * @member {GoogleBigQueryAuthenticationType} authenticationType 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; + /** + * @member {SecretBaseUnion} [refreshToken] The refresh token obtained from + * Google for authorizing access to BigQuery for UserAuthentication. + */ + refreshToken?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [clientId] The client id of the google + * application used to acquire the refresh token. + */ + clientId?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [clientSecret] The client secret of the google + * application used to acquire the refresh token. + */ + clientSecret?: SecretBaseUnion; + /** + * @member {any} [email] The service account email ID that is used for + * ServiceAuthentication and can only be used on self-hosted IR. + */ + email?: any; + /** + * @member {any} [keyFilePath] 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; + /** + * @member {any} [trustedCertPath] 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; + /** + * @member {any} [useSystemTrustStore] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing EloquaLinkedService. + * Eloqua server linked service. + * + */ +export interface EloquaLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Eloqua"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} endpoint The endpoint of the Eloqua server. (i.e. + * eloqua.example.com) + */ + endpoint: any; + /** + * @member {any} username The site name and user name of your Eloqua account + * in the form: sitename/username. (i.e. Eloqua/Alice) + */ + username: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name. + */ + password?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing DrillLinkedService. + * Drill server linked service. + * + */ +export interface DrillLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Drill"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] An ODBC connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [pwd] The Azure key vault secret + * reference of password in connection string. + */ + pwd?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing CouchbaseLinkedService. + * Couchbase server linked service. + * + */ +export interface CouchbaseLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Couchbase"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] An ODBC connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [credString] The Azure key vault + * secret reference of credString in connection string. + */ + credString?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing ConcurLinkedService. + * Concur Service linked service. + * + */ +export interface ConcurLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Concur"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} clientId Application client_id supplied by Concur App + * Management. + */ + clientId: any; + /** + * @member {any} username The user name that you use to access Concur + * Service. + */ + username: any; + /** + * @member {SecretBaseUnion} [password] The password corresponding to the + * user name that you provided in the username field. + */ + password?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzurePostgreSqlLinkedService. + * Azure PostgreSQL linked service. + * + */ +export interface AzurePostgreSqlLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzurePostgreSql"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] An ODBC connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [password] The Azure key vault + * secret reference of password in connection string. + */ + password?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AmazonMWSLinkedService. + * Amazon Marketplace Web Service linked service. + * + */ +export interface AmazonMWSLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AmazonMWS"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} endpoint The endpoint of the Amazon MWS server, (i.e. + * mws.amazonservices.com) + */ + endpoint: any; + /** + * @member {any} marketplaceID 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; + /** + * @member {any} sellerID The Amazon seller ID. + */ + sellerID: any; + /** + * @member {SecretBaseUnion} [mwsAuthToken] The Amazon MWS authentication + * token. + */ + mwsAuthToken?: SecretBaseUnion; + /** + * @member {any} accessKeyId The access key id used to access data. + */ + accessKeyId: any; + /** + * @member {SecretBaseUnion} [secretKey] The secret key used to access data. + */ + secretKey?: SecretBaseUnion; + /** + * @member {any} [useEncryptedEndpoints] Specifies whether the data source + * endpoints are encrypted using HTTPS. The default value is true. + */ + useEncryptedEndpoints?: any; + /** + * @member {any} [useHostVerification] 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; + /** + * @member {any} [usePeerVerification] Specifies whether to verify the + * identity of the server when connecting over SSL. The default value is + * true. + */ + usePeerVerification?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SapHanaLinkedService. + * SAP HANA Linked Service. + * + */ +export interface SapHanaLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapHana"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} server Host name of the SAP HANA server. Type: string (or + * Expression with resultType string). + */ + server: any; + /** + * @member {SapHanaAuthenticationType} [authenticationType] The + * authentication type to be used to connect to the SAP HANA server. Possible + * values include: 'Basic', 'Windows' + */ + authenticationType?: SapHanaAuthenticationType; + /** + * @member {any} [userName] Username to access the SAP HANA server. Type: + * string (or Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password to access the SAP HANA + * server. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SapBWLinkedService. + * SAP Business Warehouse Linked Service. + * + */ +export interface SapBWLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapBW"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} server Host name of the SAP BW instance. Type: string (or + * Expression with resultType string). + */ + server: any; + /** + * @member {any} systemNumber 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; + /** + * @member {any} clientId 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; + /** + * @member {any} [userName] Username to access the SAP BW server. Type: + * string (or Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password to access the SAP BW server. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SftpServerLinkedService. + * A linked service for an SSH File Transfer Protocol (SFTP) server. + * + */ +export interface SftpServerLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Sftp"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host The SFTP server host name. Type: string (or Expression + * with resultType string). + */ + host: any; + /** + * @member {any} [port] 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; + /** + * @member {SftpAuthenticationType} [authenticationType] The authentication + * type to be used to connect to the FTP server. Possible values include: + * 'Basic', 'SshPublicKey' + */ + authenticationType?: SftpAuthenticationType; + /** + * @member {any} [userName] The username used to log on to the SFTP server. + * Type: string (or Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password to logon the SFTP server for + * Basic authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; + /** + * @member {any} [privateKeyPath] 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; + /** + * @member {SecretBaseUnion} [privateKeyContent] 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; + /** + * @member {SecretBaseUnion} [passPhrase] The password to decrypt the SSH + * private key if the SSH private key is encrypted. + */ + passPhrase?: SecretBaseUnion; + /** + * @member {any} [skipHostKeyValidation] If true, skip the SSH host key + * validation. Default value is false. Type: boolean (or Expression with + * resultType boolean). + */ + skipHostKeyValidation?: any; + /** + * @member {any} [hostKeyFingerprint] 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; +} + +/** + * @interface + * An interface representing FtpServerLinkedService. + * A FTP server Linked Service. + * + */ +export interface FtpServerLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "FtpServer"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host Host name of the FTP server. Type: string (or + * Expression with resultType string). + */ + host: any; + /** + * @member {any} [port] 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; + /** + * @member {FtpAuthenticationType} [authenticationType] The authentication + * type to be used to connect to the FTP server. Possible values include: + * 'Basic', 'Anonymous' + */ + authenticationType?: FtpAuthenticationType; + /** + * @member {any} [userName] Username to logon the FTP server. Type: string + * (or Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password to logon the FTP server. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; + /** + * @member {any} [enableSsl] If true, connect to the FTP server over SSL/TLS + * channel. Default value is true. Type: boolean (or Expression with + * resultType boolean). + */ + enableSsl?: any; + /** + * @member {any} [enableServerCertificateValidation] 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; +} + +/** + * @interface + * An interface representing HttpLinkedService. + * Linked service for an HTTP source. + * + */ +export interface HttpLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HttpServer"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} url The base URL of the HTTP endpoint, e.g. + * http://www.microsoft.com. Type: string (or Expression with resultType + * string). + */ + url: any; + /** + * @member {HttpAuthenticationType} [authenticationType] The authentication + * type to be used to connect to the HTTP server. Possible values include: + * 'Basic', 'Anonymous', 'Digest', 'Windows', 'ClientCertificate' + */ + authenticationType?: HttpAuthenticationType; + /** + * @member {any} [userName] User name for Basic, Digest, or Windows + * authentication. Type: string (or Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password for Basic, Digest, Windows, + * or ClientCertificate with EmbeddedCertData authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [embeddedCertData] 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; + /** + * @member {any} [certThumbprint] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; + /** + * @member {any} [enableServerCertificateValidation] If true, validate the + * HTTPS server SSL certificate. Default value is true. Type: boolean (or + * Expression with resultType boolean). + */ + enableServerCertificateValidation?: any; +} + +/** + * @interface + * An interface representing AzureSearchLinkedService. + * Linked service for Windows Azure Search Service. + * + */ +export interface AzureSearchLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureSearch"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} url URL for Azure Search service. Type: string (or + * Expression with resultType string). + */ + url: any; + /** + * @member {SecretBaseUnion} [key] Admin Key for Azure Search service + */ + key?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing CustomDataSourceLinkedService. + * Custom linked service. + * + */ +export interface CustomDataSourceLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CustomDataSource"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} typeProperties Custom linked service properties. + */ + typeProperties: any; +} + +/** + * @interface + * An interface representing AmazonRedshiftLinkedService. + * Linked service for Amazon Redshift. + * + */ +export interface AmazonRedshiftLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AmazonRedshift"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} server The name of the Amazon Redshift server. Type: string + * (or Expression with resultType string). + */ + server: any; + /** + * @member {any} [username] The username of the Amazon Redshift source. Type: + * string (or Expression with resultType string). + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password of the Amazon Redshift + * source. + */ + password?: SecretBaseUnion; + /** + * @member {any} database The database name of the Amazon Redshift source. + * Type: string (or Expression with resultType string). + */ + database: any; + /** + * @member {any} [port] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AmazonS3LinkedService. + * Linked service for Amazon S3. + * + */ +export interface AmazonS3LinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AmazonS3"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [accessKeyId] The access key identifier of the Amazon S3 + * Identity and Access Management (IAM) user. Type: string (or Expression + * with resultType string). + */ + accessKeyId?: any; + /** + * @member {SecretBaseUnion} [secretAccessKey] The secret access key of the + * Amazon S3 Identity and Access Management (IAM) user. + */ + secretAccessKey?: SecretBaseUnion; + /** + * @member {any} [serviceUrl] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing RestServiceLinkedService. + * Rest Service linked service. + * + */ +export interface RestServiceLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "RestService"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} url The base URL of the REST service. + */ + url: any; + /** + * @member {any} [enableServerCertificateValidation] 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; + /** + * @member {RestServiceAuthenticationType} authenticationType Type of + * authentication used to connect to the REST service. Possible values + * include: 'Anonymous', 'Basic', 'AadServicePrincipal', + * 'ManagedServiceIdentity' + */ + authenticationType: RestServiceAuthenticationType; + /** + * @member {any} [userName] The user name used in Basic authentication type. + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] The password used in Basic + * authentication type. + */ + password?: SecretBaseUnion; + /** + * @member {any} [servicePrincipalId] The application's client ID used in + * AadServicePrincipal authentication type. + */ + servicePrincipalId?: any; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The application's key used + * in AadServicePrincipal authentication type. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} [tenant] The tenant information (domain name or tenant ID) + * used in AadServicePrincipal authentication type under which your + * application resides. + */ + tenant?: any; + /** + * @member {any} [aadResourceId] The resource you are requesting + * authorization to use. + */ + aadResourceId?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SapOpenHubLinkedService. + * SAP Business Warehouse Open Hub Destination Linked Service. + * + */ +export interface SapOpenHubLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapOpenHub"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} server Host name of the SAP BW instance where the open hub + * destination is located. Type: string (or Expression with resultType + * string). + */ + server: any; + /** + * @member {any} systemNumber 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; + /** + * @member {any} clientId 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; + /** + * @member {any} [language] 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; + /** + * @member {any} [userName] Username to access the SAP BW server where the + * open hub destination is located. Type: string (or Expression with + * resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password to access the SAP BW server + * where the open hub destination is located. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SapEccLinkedService. + * Linked service for SAP ERP Central Component(SAP ECC). + * + */ +export interface SapEccLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapEcc"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {string} url 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; + /** + * @member {string} [username] The username for Basic authentication. Type: + * string (or Expression with resultType string). + */ + username?: string; + /** + * @member {SecretBaseUnion} [password] The password for Basic + * authentication. + */ + password?: SecretBaseUnion; + /** + * @member {string} [encryptedCredential] 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; +} + +/** + * @interface + * An interface representing SapCloudForCustomerLinkedService. + * Linked service for SAP Cloud for Customer. + * + */ +export interface SapCloudForCustomerLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapCloudForCustomer"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} url 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; + /** + * @member {any} [username] The username for Basic authentication. Type: + * string (or Expression with resultType string). + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password for Basic + * authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] 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; +} + +/** + * @interface + * An interface representing SalesforceLinkedService. + * Linked service for Salesforce. + * + */ +export interface SalesforceLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Salesforce"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [environmentUrl] 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; + /** + * @member {any} [username] The username for Basic authentication of the + * Salesforce instance. Type: string (or Expression with resultType string). + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] The password for Basic authentication + * of the Salesforce instance. + */ + password?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [securityToken] The security token is required + * to remotely access Salesforce instance. + */ + securityToken?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing Office365LinkedService. + * Office365 linked service. + * + */ +export interface Office365LinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Office365"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} office365TenantId Azure tenant ID to which the Office 365 + * account belongs. Type: string (or Expression with resultType string). + */ + office365TenantId: any; + /** + * @member {any} servicePrincipalTenantId Specify the tenant information + * under which your Azure AD web application resides. Type: string (or + * Expression with resultType string). + */ + servicePrincipalTenantId: any; + /** + * @member {any} servicePrincipalId Specify the application's client ID. + * Type: string (or Expression with resultType string). + */ + servicePrincipalId: any; + /** + * @member {SecretBaseUnion} servicePrincipalKey Specify the application's + * key. + */ + servicePrincipalKey: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureBlobFSLinkedService. + * Azure Data Lake Storage Gen2 linked service. + * + */ +export interface AzureBlobFSLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureBlobFS"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} url Endpoint for the Azure Data Lake Storage Gen2 service. + * Type: string (or Expression with resultType string). + */ + url: any; + /** + * @member {any} [accountKey] Account key for the Azure Data Lake Storage + * Gen2 service. Type: string (or Expression with resultType string). + */ + accountKey?: any; + /** + * @member {any} [servicePrincipalId] 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; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The Key of the application + * used to authenticate against the Azure Data Lake Storage Gen2 account. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} [tenant] The name or ID of the tenant to which the service + * principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureDataLakeStoreLinkedService. + * Azure Data Lake Store linked service. + * + */ +export interface AzureDataLakeStoreLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataLakeStore"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} dataLakeStoreUri Data Lake Store service URI. Type: string + * (or Expression with resultType string). + */ + dataLakeStoreUri: any; + /** + * @member {any} [servicePrincipalId] The ID of the application used to + * authenticate against the Azure Data Lake Store account. Type: string (or + * Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The Key of the application + * used to authenticate against the Azure Data Lake Store account. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} [tenant] The name or ID of the tenant to which the service + * principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * @member {any} [accountName] Data Lake Store account name. Type: string (or + * Expression with resultType string). + */ + accountName?: any; + /** + * @member {any} [subscriptionId] Data Lake Store account subscription ID (if + * different from Data Factory account). Type: string (or Expression with + * resultType string). + */ + subscriptionId?: any; + /** + * @member {any} [resourceGroupName] Data Lake Store account resource group + * name (if different from Data Factory account). Type: string (or Expression + * with resultType string). + */ + resourceGroupName?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing CosmosDbMongoDbApiLinkedService. + * Linked service for CosmosDB (MongoDB API) data source. + * + */ +export interface CosmosDbMongoDbApiLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CosmosDbMongoDbApi"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The CosmosDB (MongoDB API) connection + * string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: + * string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {any} database The name of the CosmosDB (MongoDB API) database + * that you want to access. Type: string (or Expression with resultType + * string). + */ + database: any; +} + +/** + * @interface + * An interface representing MongoDbV2LinkedService. + * Linked service for MongoDB data source. + * + */ +export interface MongoDbV2LinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MongoDbV2"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The MongoDB connection string. Type: + * string, SecureString or AzureKeyVaultSecretReference. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {any} database The name of the MongoDB database that you want to + * access. Type: string (or Expression with resultType string). + */ + database: any; +} + +/** + * @interface + * An interface representing MongoDbLinkedService. + * Linked service for MongoDb data source. + * + */ +export interface MongoDbLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MongoDb"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} server The IP address or server name of the MongoDB server. + * Type: string (or Expression with resultType string). + */ + server: any; + /** + * @member {MongoDbAuthenticationType} [authenticationType] The + * authentication type to be used to connect to the MongoDB database. + * Possible values include: 'Basic', 'Anonymous' + */ + authenticationType?: MongoDbAuthenticationType; + /** + * @member {any} databaseName The name of the MongoDB database that you want + * to access. Type: string (or Expression with resultType string). + */ + databaseName: any; + /** + * @member {any} [username] Username for authentication. Type: string (or + * Expression with resultType string). + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] Password for authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [authSource] Database to verify the username and password. + * Type: string (or Expression with resultType string). + */ + authSource?: any; + /** + * @member {any} [port] 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; + /** + * @member {any} [enableSsl] 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; + /** + * @member {any} [allowSelfSignedServerCert] Specifies whether to allow + * self-signed certificates from the server. The default value is false. + * Type: boolean (or Expression with resultType boolean). + */ + allowSelfSignedServerCert?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing CassandraLinkedService. + * Linked service for Cassandra data source. + * + */ +export interface CassandraLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Cassandra"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host Host name for connection. Type: string (or Expression + * with resultType string). + */ + host: any; + /** + * @member {any} [authenticationType] AuthenticationType to be used for + * connection. Type: string (or Expression with resultType string). + */ + authenticationType?: any; + /** + * @member {any} [port] The port for the connection. Type: integer (or + * Expression with resultType integer). + */ + port?: any; + /** + * @member {any} [username] Username for authentication. Type: string (or + * Expression with resultType string). + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] Password for authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] 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; + +/** + * @interface + * An interface representing WebLinkedServiceTypeProperties. + * Base definition of WebLinkedServiceTypeProperties, this typeProperties is + * polymorphic based on authenticationType, so not flattened in SDK models. + * + */ +export interface WebLinkedServiceTypeProperties { + /** + * @member {string} authenticationType Polymorphic Discriminator + */ + authenticationType: "WebLinkedServiceTypeProperties"; + /** + * @member {any} url The URL of the web service endpoint, e.g. + * http://www.microsoft.com . Type: string (or Expression with resultType + * string). + */ + url: any; +} + +/** + * @interface + * An interface representing WebClientCertificateAuthentication. + * 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 { + /** + * @member {string} authenticationType Polymorphic Discriminator + */ + authenticationType: "ClientCertificate"; + /** + * @member {any} url The URL of the web service endpoint, e.g. + * http://www.microsoft.com . Type: string (or Expression with resultType + * string). + */ + url: any; + /** + * @member {SecretBaseUnion} pfx Base64-encoded contents of a PFX file. + */ + pfx: SecretBaseUnion; + /** + * @member {SecretBaseUnion} password Password for the PFX file. + */ + password: SecretBaseUnion; +} + +/** + * @interface + * An interface representing WebBasicAuthentication. + * A WebLinkedService that uses basic authentication to communicate with an + * HTTP endpoint. + * + */ +export interface WebBasicAuthentication { + /** + * @member {string} authenticationType Polymorphic Discriminator + */ + authenticationType: "Basic"; + /** + * @member {any} url The URL of the web service endpoint, e.g. + * http://www.microsoft.com . Type: string (or Expression with resultType + * string). + */ + url: any; + /** + * @member {any} username User name for Basic authentication. Type: string + * (or Expression with resultType string). + */ + username: any; + /** + * @member {SecretBaseUnion} password The password for Basic authentication. + */ + password: SecretBaseUnion; +} + +/** + * @interface + * An interface representing WebAnonymousAuthentication. + * A WebLinkedService that uses anonymous authentication to communicate with an + * HTTP endpoint. + * + */ +export interface WebAnonymousAuthentication { + /** + * @member {string} authenticationType Polymorphic Discriminator + */ + authenticationType: "Anonymous"; + /** + * @member {any} url The URL of the web service endpoint, e.g. + * http://www.microsoft.com . Type: string (or Expression with resultType + * string). + */ + url: any; +} + +/** + * @interface + * An interface representing WebLinkedService. + * Web linked service. + * + */ +export interface WebLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Web"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {WebLinkedServiceTypePropertiesUnion} typeProperties Web linked + * service properties. + */ + typeProperties: WebLinkedServiceTypePropertiesUnion; +} + +/** + * @interface + * An interface representing ODataLinkedService. + * Open Data Protocol (OData) linked service. + * + */ +export interface ODataLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OData"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} url The URL of the OData service endpoint. Type: string (or + * Expression with resultType string). + */ + url: any; + /** + * @member {ODataAuthenticationType} [authenticationType] Type of + * authentication used to connect to the OData service. Possible values + * include: 'Basic', 'Anonymous', 'Windows', 'AadServicePrincipal', + * 'ManagedServiceIdentity' + */ + authenticationType?: ODataAuthenticationType; + /** + * @member {any} [userName] User name of the OData service. Type: string (or + * Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password of the OData service. + */ + password?: SecretBaseUnion; + /** + * @member {any} [tenant] Specify the tenant information (domain name or + * tenant ID) under which your application resides. Type: string (or + * Expression with resultType string). + */ + tenant?: any; + /** + * @member {any} [servicePrincipalId] Specify the application id of your + * application registered in Azure Active Directory. Type: string (or + * Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * @member {any} [aadResourceId] Specify the resource you are requesting + * authorization to use Directory. Type: string (or Expression with + * resultType string). + */ + aadResourceId?: any; + /** + * @member {ODataAadServicePrincipalCredentialType} + * [aadServicePrincipalCredentialType] Specify the credential type (key or + * cert) is used for service principal. Possible values include: + * 'ServicePrincipalKey', 'ServicePrincipalCert' + */ + aadServicePrincipalCredentialType?: ODataAadServicePrincipalCredentialType; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] Specify the secret of your + * application registered in Azure Active Directory. Type: string (or + * Expression with resultType string). + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [servicePrincipalEmbeddedCert] Specify the + * base64 encoded certificate of your application registered in Azure Active + * Directory. Type: string (or Expression with resultType string). + */ + servicePrincipalEmbeddedCert?: SecretBaseUnion; + /** + * @member {SecretBaseUnion} [servicePrincipalEmbeddedCertPassword] 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; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing HdfsLinkedService. + * Hadoop Distributed File System (HDFS) linked service. + * + */ +export interface HdfsLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Hdfs"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} url The URL of the HDFS service endpoint, e.g. + * http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with + * resultType string). + */ + url: any; + /** + * @member {any} [authenticationType] Type of authentication used to connect + * to the HDFS. Possible values are: Anonymous and Windows. Type: string (or + * Expression with resultType string). + */ + authenticationType?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; + /** + * @member {any} [userName] User name for Windows authentication. Type: + * string (or Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password for Windows authentication. + */ + password?: SecretBaseUnion; +} + +/** + * @interface + * An interface representing OdbcLinkedService. + * Open Database Connectivity (ODBC) linked service. + * + */ +export interface OdbcLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Odbc"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The non-access credential portion of the + * connection string as well as an optional encrypted credential. Type: + * string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {any} [authenticationType] 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; + /** + * @member {SecretBaseUnion} [credential] The access credential portion of + * the connection string specified in driver-specific property-value format. + */ + credential?: SecretBaseUnion; + /** + * @member {any} [userName] User name for Basic authentication. Type: string + * (or Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] Password for Basic authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureMLLinkedService. + * Azure ML Web Service linked service. + * + */ +export interface AzureMLLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureML"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} mlEndpoint The Batch Execution REST URL for an Azure ML Web + * Service endpoint. Type: string (or Expression with resultType string). + */ + mlEndpoint: any; + /** + * @member {SecretBaseUnion} apiKey The API key for accessing the Azure ML + * model endpoint. + */ + apiKey: SecretBaseUnion; + /** + * @member {any} [updateResourceEndpoint] The Update Resource REST URL for an + * Azure ML Web Service endpoint. Type: string (or Expression with resultType + * string). + */ + updateResourceEndpoint?: any; + /** + * @member {any} [servicePrincipalId] The ID of the service principal used to + * authenticate against the ARM-based updateResourceEndpoint of an Azure ML + * web service. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The key of the service + * principal used to authenticate against the ARM-based + * updateResourceEndpoint of an Azure ML web service. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} [tenant] The name or ID of the tenant to which the service + * principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing TeradataLinkedService. + * Linked service for Teradata data source. + * + */ +export interface TeradataLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Teradata"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} server Server name for connection. Type: string (or + * Expression with resultType string). + */ + server: any; + /** + * @member {TeradataAuthenticationType} [authenticationType] + * AuthenticationType to be used for connection. Possible values include: + * 'Basic', 'Windows' + */ + authenticationType?: TeradataAuthenticationType; + /** + * @member {any} [username] Username for authentication. Type: string (or + * Expression with resultType string). + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] Password for authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing Db2LinkedService. + * Linked service for DB2 data source. + * + */ +export interface Db2LinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Db2"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} server Server name for connection. Type: string (or + * Expression with resultType string). + */ + server: any; + /** + * @member {any} database Database name for connection. Type: string (or + * Expression with resultType string). + */ + database: any; + /** + * @member {Db2AuthenticationType} [authenticationType] AuthenticationType to + * be used for connection. Possible values include: 'Basic' + */ + authenticationType?: Db2AuthenticationType; + /** + * @member {any} [username] Username for authentication. Type: string (or + * Expression with resultType string). + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] Password for authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SybaseLinkedService. + * Linked service for Sybase data source. + * + */ +export interface SybaseLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Sybase"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} server Server name for connection. Type: string (or + * Expression with resultType string). + */ + server: any; + /** + * @member {any} database Database name for connection. Type: string (or + * Expression with resultType string). + */ + database: any; + /** + * @member {any} [schema] Schema name for connection. Type: string (or + * Expression with resultType string). + */ + schema?: any; + /** + * @member {SybaseAuthenticationType} [authenticationType] AuthenticationType + * to be used for connection. Possible values include: 'Basic', 'Windows' + */ + authenticationType?: SybaseAuthenticationType; + /** + * @member {any} [username] Username for authentication. Type: string (or + * Expression with resultType string). + */ + username?: any; + /** + * @member {SecretBaseUnion} [password] Password for authentication. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing PostgreSqlLinkedService. + * Linked service for PostgreSQL data source. + * + */ +export interface PostgreSqlLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "PostgreSql"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {SecretBaseUnion} connectionString The connection string. + */ + connectionString: SecretBaseUnion; + /** + * @member {AzureKeyVaultSecretReference} [password] The Azure key vault + * secret reference of password in connection string. + */ + password?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing MySqlLinkedService. + * Linked service for MySQL data source. + * + */ +export interface MySqlLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MySql"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {SecretBaseUnion} connectionString The connection string. + */ + connectionString: SecretBaseUnion; + /** + * @member {AzureKeyVaultSecretReference} [password] The Azure key vault + * secret reference of password in connection string. + */ + password?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureMySqlLinkedService. + * Azure MySQL database linked service. + * + */ +export interface AzureMySqlLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureMySql"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {AzureKeyVaultSecretReference} [password] The Azure key vault + * secret reference of password in connection string. + */ + password?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing OracleLinkedService. + * Oracle database. + * + */ +export interface OracleLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Oracle"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {AzureKeyVaultSecretReference} [password] The Azure key vault + * secret reference of password in connection string. + */ + password?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing FileServerLinkedService. + * File system linked service. + * + */ +export interface FileServerLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "FileServer"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} host Host name of the server. Type: string (or Expression + * with resultType string). + */ + host: any; + /** + * @member {any} [userId] User ID to logon the server. Type: string (or + * Expression with resultType string). + */ + userId?: any; + /** + * @member {SecretBaseUnion} [password] Password to logon the server. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing HDInsightLinkedService. + * HDInsight linked service. + * + */ +export interface HDInsightLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HDInsight"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} clusterUri HDInsight cluster URI. Type: string (or + * Expression with resultType string). + */ + clusterUri: any; + /** + * @member {any} [userName] HDInsight cluster user name. Type: string (or + * Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] HDInsight cluster password. + */ + password?: SecretBaseUnion; + /** + * @member {LinkedServiceReference} [linkedServiceName] The Azure Storage + * linked service reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {LinkedServiceReference} [hcatalogLinkedServiceName] A reference + * to the Azure SQL linked service that points to the HCatalog database. + */ + hcatalogLinkedServiceName?: LinkedServiceReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; + /** + * @member {any} [isEspEnabled] Specify if the HDInsight is created with ESP + * (Enterprise Security Package). Type: Boolean. + */ + isEspEnabled?: any; +} + +/** + * @interface + * An interface representing DynamicsLinkedService. + * Dynamics linked service. + * + */ +export interface DynamicsLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Dynamics"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} deploymentType 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; + /** + * @member {any} [hostName] 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; + /** + * @member {any} [port] 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; + /** + * @member {any} [serviceUri] 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; + /** + * @member {any} [organizationName] 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; + /** + * @member {any} authenticationType The authentication type to connect to + * Dynamics server. 'Office365' for online scenario, 'Ifd' for on-premises + * with Ifd scenario. Type: string (or Expression with resultType string). + */ + authenticationType: any; + /** + * @member {any} username User name to access the Dynamics instance. Type: + * string (or Expression with resultType string). + */ + username: any; + /** + * @member {SecretBaseUnion} [password] Password to access the Dynamics + * instance. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing CosmosDbLinkedService. + * Microsoft Azure Cosmos Database (CosmosDB) linked service. + * + */ +export interface CosmosDbLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CosmosDb"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {AzureKeyVaultSecretReference} [accountKey] The Azure key vault + * secret reference of accountKey in connection string. + */ + accountKey?: AzureKeyVaultSecretReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureKeyVaultLinkedService. + * Azure Key Vault linked service. + * + */ +export interface AzureKeyVaultLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureKeyVault"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} baseUrl The base URL of the Azure Key Vault. e.g. + * https://myakv.vault.azure.net Type: string (or Expression with resultType + * string). + */ + baseUrl: any; +} + +/** + * @interface + * An interface representing AzureBatchLinkedService. + * Azure Batch linked service. + * + */ +export interface AzureBatchLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureBatch"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} accountName The Azure Batch account name. Type: string (or + * Expression with resultType string). + */ + accountName: any; + /** + * @member {SecretBaseUnion} [accessKey] The Azure Batch account access key. + */ + accessKey?: SecretBaseUnion; + /** + * @member {any} batchUri The Azure Batch URI. Type: string (or Expression + * with resultType string). + */ + batchUri: any; + /** + * @member {any} poolName The Azure Batch pool name. Type: string (or + * Expression with resultType string). + */ + poolName: any; + /** + * @member {LinkedServiceReference} linkedServiceName The Azure Storage + * linked service reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureSqlDatabaseLinkedService. + * Microsoft Azure SQL Database linked service. + * + */ +export interface AzureSqlDatabaseLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureSqlDatabase"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {AzureKeyVaultSecretReference} [password] The Azure key vault + * secret reference of password in connection string. + */ + password?: AzureKeyVaultSecretReference; + /** + * @member {any} [servicePrincipalId] The ID of the service principal used to + * authenticate against Azure SQL Database. Type: string (or Expression with + * resultType string). + */ + servicePrincipalId?: any; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The key of the service + * principal used to authenticate against Azure SQL Database. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} [tenant] The name or ID of the tenant to which the service + * principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing SqlServerLinkedService. + * SQL Server linked service. + * + */ +export interface SqlServerLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SqlServer"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {any} [userName] The on-premises Windows authentication user name. + * Type: string (or Expression with resultType string). + */ + userName?: any; + /** + * @member {SecretBaseUnion} [password] The on-premises Windows + * authentication password. + */ + password?: SecretBaseUnion; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureSqlDWLinkedService. + * Azure SQL Data Warehouse linked service. + * + */ +export interface AzureSqlDWLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureSqlDW"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} connectionString The connection string. Type: string, + * SecureString or AzureKeyVaultSecretReference. Type: string, SecureString + * or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * @member {AzureKeyVaultSecretReference} [password] The Azure key vault + * secret reference of password in connection string. + */ + password?: AzureKeyVaultSecretReference; + /** + * @member {any} [servicePrincipalId] The ID of the service principal used to + * authenticate against Azure SQL Data Warehouse. Type: string (or Expression + * with resultType string). + */ + servicePrincipalId?: any; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The key of the service + * principal used to authenticate against Azure SQL Data Warehouse. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} [tenant] The name or ID of the tenant to which the service + * principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * @member {any} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * @interface + * An interface representing AzureTableStorageLinkedService. + * The azure table storage linked service. + * + */ +export interface AzureTableStorageLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureTableStorage"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] The connection string. It is mutually + * exclusive with sasUri property. Type: string, SecureString or + * AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [accountKey] The Azure key vault + * secret reference of accountKey in connection string. + */ + accountKey?: AzureKeyVaultSecretReference; + /** + * @member {any} [sasUri] SAS URI of the Azure Storage resource. It is + * mutually exclusive with connectionString property. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + sasUri?: any; + /** + * @member {AzureKeyVaultSecretReference} [sasToken] The Azure key vault + * secret reference of sasToken in sas uri. + */ + sasToken?: AzureKeyVaultSecretReference; + /** + * @member {string} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: string; +} + +/** + * @interface + * An interface representing AzureBlobStorageLinkedService. + * The azure blob storage linked service. + * + */ +export interface AzureBlobStorageLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureBlobStorage"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] The connection string. It is mutually + * exclusive with sasUri, serviceEndpoint property. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [accountKey] The Azure key vault + * secret reference of accountKey in connection string. + */ + accountKey?: AzureKeyVaultSecretReference; + /** + * @member {any} [sasUri] SAS URI of the Azure Blob Storage resource. It is + * mutually exclusive with connectionString, serviceEndpoint property. Type: + * string, SecureString or AzureKeyVaultSecretReference. + */ + sasUri?: any; + /** + * @member {AzureKeyVaultSecretReference} [sasToken] The Azure key vault + * secret reference of sasToken in sas uri. + */ + sasToken?: AzureKeyVaultSecretReference; + /** + * @member {string} [serviceEndpoint] Blob service endpoint of the Azure Blob + * Storage resource. It is mutually exclusive with connectionString, sasUri + * property. + */ + serviceEndpoint?: string; + /** + * @member {any} [servicePrincipalId] The ID of the service principal used to + * authenticate against Azure SQL Data Warehouse. Type: string (or Expression + * with resultType string). + */ + servicePrincipalId?: any; + /** + * @member {SecretBaseUnion} [servicePrincipalKey] The key of the service + * principal used to authenticate against Azure SQL Data Warehouse. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * @member {any} [tenant] The name or ID of the tenant to which the service + * principal belongs. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * @member {string} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: string; +} + +/** + * @interface + * An interface representing AzureStorageLinkedService. + * The storage account linked service. + * + */ +export interface AzureStorageLinkedService { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureStorage"; + /** + * @member {IntegrationRuntimeReference} [connectVia] The integration runtime + * reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * @member {string} [description] Linked service description. + */ + description?: string; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the linked service. + */ + annotations?: any[]; + /** + * @member {any} [connectionString] The connection string. It is mutually + * exclusive with sasUri property. Type: string, SecureString or + * AzureKeyVaultSecretReference. + */ + connectionString?: any; + /** + * @member {AzureKeyVaultSecretReference} [accountKey] The Azure key vault + * secret reference of accountKey in connection string. + */ + accountKey?: AzureKeyVaultSecretReference; + /** + * @member {any} [sasUri] SAS URI of the Azure Storage resource. It is + * mutually exclusive with connectionString property. Type: string, + * SecureString or AzureKeyVaultSecretReference. + */ + sasUri?: any; + /** + * @member {AzureKeyVaultSecretReference} [sasToken] The Azure key vault + * secret reference of sasToken in sas uri. + */ + sasToken?: AzureKeyVaultSecretReference; + /** + * @member {string} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: string; +} + +/** + * @interface + * An interface representing GoogleAdWordsObjectDataset. + * Google AdWords service dataset. + * + */ +export interface GoogleAdWordsObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GoogleAdWordsObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing AzureDataExplorerTableDataset. + * The Azure Data Explorer (Kusto) dataset. + * + */ +export interface AzureDataExplorerTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataExplorerTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [table] The table name of the Azure Data Explorer database. + * Type: string (or Expression with resultType string). + */ + table?: any; +} + +/** + * @interface + * An interface representing OracleServiceCloudObjectDataset. + * Oracle Service Cloud dataset. + * + */ +export interface OracleServiceCloudObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OracleServiceCloudObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing DynamicsAXResourceDataset. + * The path of the Dynamics AX OData entity. + * + */ +export interface DynamicsAXResourceDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DynamicsAXResource"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {string} path The path of the Dynamics AX OData entity. Type: + * string (or Expression with resultType string). + */ + path: string; +} + +/** + * @interface + * An interface representing ResponsysObjectDataset. + * Responsys dataset. + * + */ +export interface ResponsysObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ResponsysObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing SalesforceMarketingCloudObjectDataset. + * Salesforce Marketing Cloud dataset. + * + */ +export interface SalesforceMarketingCloudObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SalesforceMarketingCloudObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing VerticaTableDataset. + * Vertica dataset. + * + */ +export interface VerticaTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "VerticaTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing NetezzaTableDataset. + * Netezza dataset. + * + */ +export interface NetezzaTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "NetezzaTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing ZohoObjectDataset. + * Zoho server dataset. + * + */ +export interface ZohoObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ZohoObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing XeroObjectDataset. + * Xero Service dataset. + * + */ +export interface XeroObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "XeroObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing SquareObjectDataset. + * Square Service dataset. + * + */ +export interface SquareObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SquareObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing SparkObjectDataset. + * Spark Server dataset. + * + */ +export interface SparkObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SparkObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing ShopifyObjectDataset. + * Shopify Service dataset. + * + */ +export interface ShopifyObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ShopifyObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing ServiceNowObjectDataset. + * ServiceNow server dataset. + * + */ +export interface ServiceNowObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ServiceNowObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing QuickBooksObjectDataset. + * QuickBooks server dataset. + * + */ +export interface QuickBooksObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "QuickBooksObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing PrestoObjectDataset. + * Presto server dataset. + * + */ +export interface PrestoObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "PrestoObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing PhoenixObjectDataset. + * Phoenix server dataset. + * + */ +export interface PhoenixObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "PhoenixObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing PaypalObjectDataset. + * Paypal Service dataset. + * + */ +export interface PaypalObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "PaypalObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing MarketoObjectDataset. + * Marketo server dataset. + * + */ +export interface MarketoObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MarketoObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing MariaDBTableDataset. + * MariaDB server dataset. + * + */ +export interface MariaDBTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MariaDBTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing MagentoObjectDataset. + * Magento server dataset. + * + */ +export interface MagentoObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MagentoObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing JiraObjectDataset. + * Jira Service dataset. + * + */ +export interface JiraObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "JiraObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing ImpalaObjectDataset. + * Impala server dataset. + * + */ +export interface ImpalaObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ImpalaObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing HubspotObjectDataset. + * Hubspot Service dataset. + * + */ +export interface HubspotObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HubspotObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing HiveObjectDataset. + * Hive Server dataset. + * + */ +export interface HiveObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HiveObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing HBaseObjectDataset. + * HBase server dataset. + * + */ +export interface HBaseObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HBaseObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing GreenplumTableDataset. + * Greenplum Database dataset. + * + */ +export interface GreenplumTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GreenplumTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing GoogleBigQueryObjectDataset. + * Google BigQuery service dataset. + * + */ +export interface GoogleBigQueryObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GoogleBigQueryObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing EloquaObjectDataset. + * Eloqua server dataset. + * + */ +export interface EloquaObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "EloquaObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing DrillTableDataset. + * Drill server dataset. + * + */ +export interface DrillTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DrillTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing CouchbaseTableDataset. + * Couchbase server dataset. + * + */ +export interface CouchbaseTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CouchbaseTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing ConcurObjectDataset. + * Concur Service dataset. + * + */ +export interface ConcurObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ConcurObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing AzurePostgreSqlTableDataset. + * Azure PostgreSQL dataset. + * + */ +export interface AzurePostgreSqlTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzurePostgreSqlTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing AmazonMWSObjectDataset. + * Amazon Marketplace Web Service dataset. + * + */ +export interface AmazonMWSObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AmazonMWSObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name. Type: string (or Expression with + * resultType string). + */ + tableName?: any; +} + +/** + * Contains the possible cases for DatasetCompression. + */ +export type DatasetCompressionUnion = DatasetCompression | DatasetZipDeflateCompression | DatasetDeflateCompression | DatasetGZipCompression | DatasetBZip2Compression; + +/** + * @interface + * An interface representing DatasetCompression. + * The compression method used on a dataset. + * + */ +export interface DatasetCompression { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DatasetCompression"; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing DatasetZipDeflateCompression. + * The ZipDeflate compression method used on a dataset. + * + */ +export interface DatasetZipDeflateCompression { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ZipDeflate"; + /** + * @member {DatasetCompressionLevel} [level] The ZipDeflate compression + * level. Possible values include: 'Optimal', 'Fastest' + */ + level?: DatasetCompressionLevel; +} + +/** + * @interface + * An interface representing DatasetDeflateCompression. + * The Deflate compression method used on a dataset. + * + */ +export interface DatasetDeflateCompression { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Deflate"; + /** + * @member {DatasetCompressionLevel} [level] The Deflate compression level. + * Possible values include: 'Optimal', 'Fastest' + */ + level?: DatasetCompressionLevel; +} + +/** + * @interface + * An interface representing DatasetGZipCompression. + * The GZip compression method used on a dataset. + * + */ +export interface DatasetGZipCompression { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GZip"; + /** + * @member {DatasetCompressionLevel} [level] The GZip compression level. + * Possible values include: 'Optimal', 'Fastest' + */ + level?: DatasetCompressionLevel; +} + +/** + * @interface + * An interface representing DatasetBZip2Compression. + * The BZip2 compression method used on a dataset. + * + */ +export interface DatasetBZip2Compression { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "BZip2"; +} + +/** + * Contains the possible cases for DatasetStorageFormat. + */ +export type DatasetStorageFormatUnion = DatasetStorageFormat | ParquetFormat | OrcFormat | AvroFormat | JsonFormat | TextFormat; + +/** + * @interface + * An interface representing DatasetStorageFormat. + * The format definition of a storage. + * + */ +export interface DatasetStorageFormat { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DatasetStorageFormat"; + /** + * @member {any} [serializer] Serializer. Type: string (or Expression with + * resultType string). + */ + serializer?: any; + /** + * @member {any} [deserializer] Deserializer. Type: string (or Expression + * with resultType string). + */ + deserializer?: any; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing ParquetFormat. + * The data stored in Parquet format. + * + */ +export interface ParquetFormat { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ParquetFormat"; + /** + * @member {any} [serializer] Serializer. Type: string (or Expression with + * resultType string). + */ + serializer?: any; + /** + * @member {any} [deserializer] Deserializer. Type: string (or Expression + * with resultType string). + */ + deserializer?: any; +} + +/** + * @interface + * An interface representing OrcFormat. + * The data stored in Optimized Row Columnar (ORC) format. + * + */ +export interface OrcFormat { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OrcFormat"; + /** + * @member {any} [serializer] Serializer. Type: string (or Expression with + * resultType string). + */ + serializer?: any; + /** + * @member {any} [deserializer] Deserializer. Type: string (or Expression + * with resultType string). + */ + deserializer?: any; +} + +/** + * @interface + * An interface representing AvroFormat. + * The data stored in Avro format. + * + */ +export interface AvroFormat { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AvroFormat"; + /** + * @member {any} [serializer] Serializer. Type: string (or Expression with + * resultType string). + */ + serializer?: any; + /** + * @member {any} [deserializer] Deserializer. Type: string (or Expression + * with resultType string). + */ + deserializer?: any; +} + +/** + * @interface + * An interface representing JsonFormat. + * The data stored in JSON format. + * + */ +export interface JsonFormat { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "JsonFormat"; + /** + * @member {any} [serializer] Serializer. Type: string (or Expression with + * resultType string). + */ + serializer?: any; + /** + * @member {any} [deserializer] Deserializer. Type: string (or Expression + * with resultType string). + */ + deserializer?: any; + /** + * @member {JsonFormatFilePattern} [filePattern] 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. Possible values + * include: 'setOfObjects', 'arrayOfObjects' + */ + filePattern?: JsonFormatFilePattern; + /** + * @member {any} [nestingSeparator] The character used to separate nesting + * levels. Default value is '.' (dot). Type: string (or Expression with + * resultType string). + */ + nestingSeparator?: any; + /** + * @member {any} [encodingName] 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; + /** + * @member {any} [jsonNodeReference] The JSONPath of the JSON array element + * to be flattened. Example: "$.ArrayPath". Type: string (or Expression with + * resultType string). + */ + jsonNodeReference?: any; + /** + * @member {any} [jsonPathDefinition] 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; +} + +/** + * @interface + * An interface representing TextFormat. + * The data stored in text format. + * + */ +export interface TextFormat { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "TextFormat"; + /** + * @member {any} [serializer] Serializer. Type: string (or Expression with + * resultType string). + */ + serializer?: any; + /** + * @member {any} [deserializer] Deserializer. Type: string (or Expression + * with resultType string). + */ + deserializer?: any; + /** + * @member {any} [columnDelimiter] The column delimiter. Type: string (or + * Expression with resultType string). + */ + columnDelimiter?: any; + /** + * @member {any} [rowDelimiter] The row delimiter. Type: string (or + * Expression with resultType string). + */ + rowDelimiter?: any; + /** + * @member {any} [escapeChar] The escape character. Type: string (or + * Expression with resultType string). + */ + escapeChar?: any; + /** + * @member {any} [quoteChar] The quote character. Type: string (or Expression + * with resultType string). + */ + quoteChar?: any; + /** + * @member {any} [nullValue] The null value string. Type: string (or + * Expression with resultType string). + */ + nullValue?: any; + /** + * @member {any} [encodingName] 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; + /** + * @member {any} [treatEmptyAsNull] Treat empty column values in the text + * file as null. The default value is true. Type: boolean (or Expression with + * resultType boolean). + */ + treatEmptyAsNull?: any; + /** + * @member {any} [skipLineCount] 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; + /** + * @member {any} [firstRowAsHeader] 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; +} + +/** + * @interface + * An interface representing HttpDataset. + * A file in an HTTP web server. + * + */ +export interface HttpDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HttpFile"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [relativeUrl] The relative URL based on the URL in the + * HttpLinkedService refers to an HTTP file Type: string (or Expression with + * resultType string). + */ + relativeUrl?: any; + /** + * @member {any} [requestMethod] The HTTP method for the HTTP request. Type: + * string (or Expression with resultType string). + */ + requestMethod?: any; + /** + * @member {any} [requestBody] The body for the HTTP request. Type: string + * (or Expression with resultType string). + */ + requestBody?: any; + /** + * @member {any} [additionalHeaders] 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; + /** + * @member {DatasetStorageFormatUnion} [format] The format of files. + */ + format?: DatasetStorageFormatUnion; + /** + * @member {DatasetCompressionUnion} [compression] The data compression + * method used on files. + */ + compression?: DatasetCompressionUnion; +} + +/** + * @interface + * An interface representing AzureSearchIndexDataset. + * The Azure Search Index. + * + */ +export interface AzureSearchIndexDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureSearchIndex"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} indexName The name of the Azure Search Index. Type: string + * (or Expression with resultType string). + */ + indexName: any; +} + +/** + * @interface + * An interface representing WebTableDataset. + * The dataset points to a HTML table in the web page. + * + */ +export interface WebTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "WebTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} index The zero-based index of the table in the web page. + * Type: integer (or Expression with resultType integer), minimum: 0. + */ + index: any; + /** + * @member {any} [path] The relative URL to the web page from the linked + * service URL. Type: string (or Expression with resultType string). + */ + path?: any; +} + +/** + * @interface + * An interface representing RestResourceDataset. + * A Rest service dataset. + * + */ +export interface RestResourceDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "RestResource"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [relativeUrl] The relative URL to the resource that the + * RESTful API provides. Type: string (or Expression with resultType string). + */ + relativeUrl?: any; + /** + * @member {any} [requestMethod] The HTTP method used to call the RESTful + * API. The default is GET. Type: string (or Expression with resultType + * string). + */ + requestMethod?: any; + /** + * @member {any} [requestBody] The HTTP request body to the RESTful API if + * requestMethod is POST. Type: string (or Expression with resultType + * string). + */ + requestBody?: any; + /** + * @member {any} [additionalHeaders] The additional HTTP headers in the + * request to the RESTful API. Type: string (or Expression with resultType + * string). + */ + additionalHeaders?: any; + /** + * @member {any} [paginationRules] The pagination rules to compose next page + * requests. Type: string (or Expression with resultType string). + */ + paginationRules?: any; +} + +/** + * @interface + * An interface representing SqlServerTableDataset. + * The on-premises SQL Server dataset. + * + */ +export interface SqlServerTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SqlServerTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} tableName The table name of the SQL Server dataset. Type: + * string (or Expression with resultType string). + */ + tableName: any; +} + +/** + * @interface + * An interface representing SapOpenHubTableDataset. + * Sap Business Warehouse Open Hub Destination Table properties. + * + */ +export interface SapOpenHubTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapOpenHubTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} openHubDestinationName The name of the Open Hub Destination + * with destination type as Database Table. Type: string (or Expression with + * resultType string). + */ + openHubDestinationName: any; + /** + * @member {any} [excludeLastRequest] Whether to exclude the records of the + * last request. The default value is true. Type: boolean (or Expression with + * resultType boolean). + */ + excludeLastRequest?: any; + /** + * @member {any} [baseRequestId] 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; +} + +/** + * @interface + * An interface representing SapEccResourceDataset. + * The path of the SAP ECC OData entity. + * + */ +export interface SapEccResourceDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapEccResource"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {string} path The path of the SAP ECC OData entity. Type: string + * (or Expression with resultType string). + */ + path: string; +} + +/** + * @interface + * An interface representing SapCloudForCustomerResourceDataset. + * The path of the SAP Cloud for Customer OData entity. + * + */ +export interface SapCloudForCustomerResourceDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapCloudForCustomerResource"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} path The path of the SAP Cloud for Customer OData entity. + * Type: string (or Expression with resultType string). + */ + path: any; +} + +/** + * @interface + * An interface representing SalesforceObjectDataset. + * The Salesforce object dataset. + * + */ +export interface SalesforceObjectDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SalesforceObject"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [objectApiName] The Salesforce object API name. Type: string + * (or Expression with resultType string). + */ + objectApiName?: any; +} + +/** + * @interface + * An interface representing RelationalTableDataset. + * The relational table dataset. + * + */ +export interface RelationalTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "RelationalTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The relational table name. Type: string (or + * Expression with resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing AzureMySqlTableDataset. + * The Azure MySQL database dataset. + * + */ +export interface AzureMySqlTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureMySqlTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The Azure MySQL database table name. Type: + * string (or Expression with resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing OracleTableDataset. + * The on-premises Oracle database dataset. + * + */ +export interface OracleTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OracleTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name of the on-premises Oracle + * database. Type: string (or Expression with resultType string). + */ + tableName?: any; +} + +/** + * @interface + * An interface representing ODataResourceDataset. + * The Open Data Protocol (OData) resource dataset. + * + */ +export interface ODataResourceDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ODataResource"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [path] The OData resource path. Type: string (or Expression + * with resultType string). + */ + path?: any; +} + +/** + * @interface + * An interface representing CosmosDbMongoDbApiCollectionDataset. + * The CosmosDB (MongoDB API) database dataset. + * + */ +export interface CosmosDbMongoDbApiCollectionDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CosmosDbMongoDbApiCollection"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} collection The collection name of the CosmosDB (MongoDB API) + * database. Type: string (or Expression with resultType string). + */ + collection: any; +} + +/** + * @interface + * An interface representing MongoDbV2CollectionDataset. + * The MongoDB database dataset. + * + */ +export interface MongoDbV2CollectionDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MongoDbV2Collection"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} collection The collection name of the MongoDB database. + * Type: string (or Expression with resultType string). + */ + collection: any; +} + +/** + * @interface + * An interface representing MongoDbCollectionDataset. + * The MongoDB database dataset. + * + */ +export interface MongoDbCollectionDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MongoDbCollection"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} collectionName The table name of the MongoDB database. Type: + * string (or Expression with resultType string). + */ + collectionName: any; +} + +/** + * @interface + * An interface representing FileShareDataset. + * An on-premises file system dataset. + * + */ +export interface FileShareDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "FileShare"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [folderPath] The path of the on-premises file system. Type: + * string (or Expression with resultType string). + */ + folderPath?: any; + /** + * @member {any} [fileName] The name of the on-premises file system. Type: + * string (or Expression with resultType string). + */ + fileName?: any; + /** + * @member {any} [modifiedDatetimeStart] The start of file's modified + * datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeStart?: any; + /** + * @member {any} [modifiedDatetimeEnd] The end of file's modified datetime. + * Type: string (or Expression with resultType string). + */ + modifiedDatetimeEnd?: any; + /** + * @member {DatasetStorageFormatUnion} [format] The format of the files. + */ + format?: DatasetStorageFormatUnion; + /** + * @member {any} [fileFilter] 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; + /** + * @member {DatasetCompressionUnion} [compression] The data compression + * method used for the file system. + */ + compression?: DatasetCompressionUnion; +} + +/** + * @interface + * An interface representing Office365Dataset. + * The Office365 account. + * + */ +export interface Office365Dataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Office365Table"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} tableName Name of the dataset to extract from Office 365. + * Type: string (or Expression with resultType string). + */ + tableName: any; + /** + * @member {any} [predicate] 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; +} + +/** + * @interface + * An interface representing AzureBlobFSDataset. + * The Azure Data Lake Storage Gen2 storage. + * + */ +export interface AzureBlobFSDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureBlobFSFile"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [folderPath] The path of the Azure Data Lake Storage Gen2 + * storage. Type: string (or Expression with resultType string). + */ + folderPath?: any; + /** + * @member {any} [fileName] The name of the Azure Data Lake Storage Gen2. + * Type: string (or Expression with resultType string). + */ + fileName?: any; + /** + * @member {DatasetStorageFormatUnion} [format] The format of the Azure Data + * Lake Storage Gen2 storage. + */ + format?: DatasetStorageFormatUnion; + /** + * @member {DatasetCompressionUnion} [compression] The data compression + * method used for the blob storage. + */ + compression?: DatasetCompressionUnion; +} + +/** + * @interface + * An interface representing AzureDataLakeStoreDataset. + * Azure Data Lake Store dataset. + * + */ +export interface AzureDataLakeStoreDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataLakeStoreFile"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [folderPath] Path to the folder in the Azure Data Lake + * Store. Type: string (or Expression with resultType string). + */ + folderPath?: any; + /** + * @member {any} [fileName] The name of the file in the Azure Data Lake + * Store. Type: string (or Expression with resultType string). + */ + fileName?: any; + /** + * @member {DatasetStorageFormatUnion} [format] The format of the Data Lake + * Store. + */ + format?: DatasetStorageFormatUnion; + /** + * @member {DatasetCompressionUnion} [compression] The data compression + * method used for the item(s) in the Azure Data Lake Store. + */ + compression?: DatasetCompressionUnion; +} + +/** + * @interface + * An interface representing DynamicsEntityDataset. + * The Dynamics entity dataset. + * + */ +export interface DynamicsEntityDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DynamicsEntity"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [entityName] The logical name of the entity. Type: string + * (or Expression with resultType string). + */ + entityName?: any; +} + +/** + * @interface + * An interface representing DocumentDbCollectionDataset. + * Microsoft Azure Document Database Collection dataset. + * + */ +export interface DocumentDbCollectionDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DocumentDbCollection"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} collectionName Document Database collection name. Type: + * string (or Expression with resultType string). + */ + collectionName: any; +} + +/** + * @interface + * An interface representing CustomDataset. + * The custom dataset. + * + */ +export interface CustomDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CustomDataset"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [typeProperties] Custom dataset properties. + */ + typeProperties?: any; +} + +/** + * @interface + * An interface representing CassandraTableDataset. + * The Cassandra database dataset. + * + */ +export interface CassandraTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CassandraTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [tableName] The table name of the Cassandra database. Type: + * string (or Expression with resultType string). + */ + tableName?: any; + /** + * @member {any} [keyspace] The keyspace of the Cassandra database. Type: + * string (or Expression with resultType string). + */ + keyspace?: any; +} + +/** + * @interface + * An interface representing AzureSqlDWTableDataset. + * The Azure SQL Data Warehouse dataset. + * + */ +export interface AzureSqlDWTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureSqlDWTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} tableName The table name of the Azure SQL Data Warehouse. + * Type: string (or Expression with resultType string). + */ + tableName: any; +} + +/** + * @interface + * An interface representing AzureSqlTableDataset. + * The Azure SQL Server database dataset. + * + */ +export interface AzureSqlTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureSqlTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} tableName The table name of the Azure SQL database. Type: + * string (or Expression with resultType string). + */ + tableName: any; +} + +/** + * @interface + * An interface representing AzureTableDataset. + * The Azure Table storage dataset. + * + */ +export interface AzureTableDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureTable"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} tableName The table name of the Azure Table storage. Type: + * string (or Expression with resultType string). + */ + tableName: any; +} + +/** + * @interface + * An interface representing AzureBlobDataset. + * The Azure Blob storage. + * + */ +export interface AzureBlobDataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureBlob"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} [folderPath] The path of the Azure Blob storage. Type: + * string (or Expression with resultType string). + */ + folderPath?: any; + /** + * @member {any} [tableRootLocation] The root of blob path. Type: string (or + * Expression with resultType string). + */ + tableRootLocation?: any; + /** + * @member {any} [fileName] The name of the Azure Blob. Type: string (or + * Expression with resultType string). + */ + fileName?: any; + /** + * @member {any} [modifiedDatetimeStart] The start of Azure Blob's modified + * datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeStart?: any; + /** + * @member {any} [modifiedDatetimeEnd] The end of Azure Blob's modified + * datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeEnd?: any; + /** + * @member {DatasetStorageFormatUnion} [format] The format of the Azure Blob + * storage. + */ + format?: DatasetStorageFormatUnion; + /** + * @member {DatasetCompressionUnion} [compression] The data compression + * method used for the blob storage. + */ + compression?: DatasetCompressionUnion; +} + +/** + * @interface + * An interface representing AmazonS3Dataset. + * A single Amazon Simple Storage Service (S3) object or a set of S3 objects. + * + */ +export interface AmazonS3Dataset { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AmazonS3Object"; + /** + * @member {string} [description] Dataset description. + */ + description?: string; + /** + * @member {any} [structure] Columns that define the structure of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetDataElement. + */ + structure?: any; + /** + * @member {any} [schema] Columns that define the physical type schema of the + * dataset. Type: array (or Expression with resultType array), itemType: + * DatasetSchemaDataElement. + */ + schema?: any; + /** + * @member {LinkedServiceReference} linkedServiceName Linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: ParameterSpecification }} [parameters] + * Parameters for dataset. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * @member {any[]} [annotations] List of tags that can be used for describing + * the Dataset. + */ + annotations?: any[]; + /** + * @member {DatasetFolder} [folder] The folder that this Dataset is in. If + * not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * @member {any} bucketName The name of the Amazon S3 bucket. Type: string + * (or Expression with resultType string). + */ + bucketName: any; + /** + * @member {any} [key] The key of the Amazon S3 object. Type: string (or + * Expression with resultType string). + */ + key?: any; + /** + * @member {any} [prefix] The prefix filter for the S3 object name. Type: + * string (or Expression with resultType string). + */ + prefix?: any; + /** + * @member {any} [version] The version for the S3 object. Type: string (or + * Expression with resultType string). + */ + version?: any; + /** + * @member {any} [modifiedDatetimeStart] The start of S3 object's modified + * datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeStart?: any; + /** + * @member {any} [modifiedDatetimeEnd] The end of S3 object's modified + * datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeEnd?: any; + /** + * @member {DatasetStorageFormatUnion} [format] The format of files. + */ + format?: DatasetStorageFormatUnion; + /** + * @member {DatasetCompressionUnion} [compression] The data compression + * method used for the Amazon S3 object. + */ + compression?: DatasetCompressionUnion; +} + +/** + * @interface + * An interface representing ActivityPolicy. + * Execution policy for an activity. + * + */ +export interface ActivityPolicy { + /** + * @member {any} [timeout] 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; + /** + * @member {any} [retry] Maximum ordinary retry attempts. Default is 0. Type: + * integer (or Expression with resultType integer), minimum: 0. + */ + retry?: any; + /** + * @member {number} [retryIntervalInSeconds] Interval between each retry + * attempt (in seconds). The default is 30 sec. + */ + retryIntervalInSeconds?: number; + /** + * @member {boolean} [secureInput] When set to true, Input from activity is + * considered as secure and will not be logged to monitoring. + */ + secureInput?: boolean; + /** + * @member {boolean} [secureOutput] When set to true, Output from activity is + * considered as secure and will not be logged to monitoring. + */ + secureOutput?: boolean; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * Contains the possible cases for ExecutionActivity. + */ +export type ExecutionActivityUnion = ExecutionActivity | AzureFunctionActivity | DatabricksSparkPythonActivity | DatabricksSparkJarActivity | DatabricksNotebookActivity | DataLakeAnalyticsUSQLActivity | AzureMLUpdateResourceActivity | AzureMLBatchExecutionActivity | GetMetadataActivity | WebActivity | LookupActivity | DeleteActivity | SqlServerStoredProcedureActivity | CustomActivity | ExecuteSSISPackageActivity | HDInsightSparkActivity | HDInsightStreamingActivity | HDInsightMapReduceActivity | HDInsightPigActivity | HDInsightHiveActivity | CopyActivity; + +/** + * @interface + * An interface representing ExecutionActivity. + * Base class for all execution activities. + * + */ +export interface ExecutionActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Execution"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; +} + +/** + * @interface + * An interface representing AzureFunctionActivity. + * Azure Function activity. + * + */ +export interface AzureFunctionActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureFunctionActivity"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {AzureFunctionActivityMethod} method Rest API method for target + * endpoint. Possible values include: 'GET', 'POST', 'PUT', 'DELETE', + * 'OPTIONS', 'HEAD', 'TRACE' + */ + method: AzureFunctionActivityMethod; + /** + * @member {any} functionName Name of the Function that the Azure Function + * Activity will call. Type: string (or Expression with resultType string) + */ + functionName: any; + /** + * @member {any} [headers] 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; + /** + * @member {any} [body] 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; +} + +/** + * @interface + * An interface representing DatabricksSparkPythonActivity. + * DatabricksSparkPython activity. + * + */ +export interface DatabricksSparkPythonActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DatabricksSparkPython"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} pythonFile The URI of the Python file to be executed. DBFS + * paths are supported. Type: string (or Expression with resultType string). + */ + pythonFile: any; + /** + * @member {any[]} [parameters] Command line parameters that will be passed + * to the Python file. + */ + parameters?: any[]; + /** + * @member {{ [propertyName: string]: any }[]} [libraries] A list of + * libraries to be installed on the cluster that will execute the job. + */ + libraries?: { [propertyName: string]: any }[]; +} + +/** + * @interface + * An interface representing DatabricksSparkJarActivity. + * DatabricksSparkJar activity. + * + */ +export interface DatabricksSparkJarActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DatabricksSparkJar"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} mainClassName 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; + /** + * @member {any[]} [parameters] Parameters that will be passed to the main + * method. + */ + parameters?: any[]; + /** + * @member {{ [propertyName: string]: any }[]} [libraries] A list of + * libraries to be installed on the cluster that will execute the job. + */ + libraries?: { [propertyName: string]: any }[]; +} + +/** + * @interface + * An interface representing DatabricksNotebookActivity. + * DatabricksNotebook activity. + * + */ +export interface DatabricksNotebookActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DatabricksNotebook"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} notebookPath 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; + /** + * @member {{ [propertyName: string]: any }} [baseParameters] 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 }; + /** + * @member {{ [propertyName: string]: any }[]} [libraries] A list of + * libraries to be installed on the cluster that will execute the job. + */ + libraries?: { [propertyName: string]: any }[]; +} + +/** + * @interface + * An interface representing DataLakeAnalyticsUSQLActivity. + * Data Lake Analytics U-SQL activity. + * + */ +export interface DataLakeAnalyticsUSQLActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DataLakeAnalyticsU-SQL"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} scriptPath Case-sensitive path to folder that contains the + * U-SQL script. Type: string (or Expression with resultType string). + */ + scriptPath: any; + /** + * @member {LinkedServiceReference} scriptLinkedService Script linked service + * reference. + */ + scriptLinkedService: LinkedServiceReference; + /** + * @member {any} [degreeOfParallelism] 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; + /** + * @member {any} [priority] 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; + /** + * @member {{ [propertyName: string]: any }} [parameters] Parameters for + * U-SQL job request. + */ + parameters?: { [propertyName: string]: any }; + /** + * @member {any} [runtimeVersion] Runtime version of the U-SQL engine to use. + * Type: string (or Expression with resultType string). + */ + runtimeVersion?: any; + /** + * @member {any} [compilationMode] Compilation mode of U-SQL. Must be one of + * these values : Semantic, Full and SingleBox. Type: string (or Expression + * with resultType string). + */ + compilationMode?: any; +} + +/** + * @interface + * An interface representing AzureMLUpdateResourceActivity. + * Azure ML Update Resource management activity. + * + */ +export interface AzureMLUpdateResourceActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureMLUpdateResource"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} trainedModelName Name of the Trained Model module in the Web + * Service experiment to be updated. Type: string (or Expression with + * resultType string). + */ + trainedModelName: any; + /** + * @member {LinkedServiceReference} trainedModelLinkedServiceName Name of + * Azure Storage linked service holding the .ilearner file that will be + * uploaded by the update operation. + */ + trainedModelLinkedServiceName: LinkedServiceReference; + /** + * @member {any} trainedModelFilePath 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: any; +} + +/** + * @interface + * An interface representing AzureMLWebServiceFile. + * Azure ML WebService Input/Output file + * + */ +export interface AzureMLWebServiceFile { + /** + * @member {any} filePath The relative file path, including container name, + * in the Azure Blob Storage specified by the LinkedService. Type: string (or + * Expression with resultType string). + */ + filePath: any; + /** + * @member {LinkedServiceReference} linkedServiceName Reference to an Azure + * Storage LinkedService, where Azure ML WebService Input/Output file + * located. + */ + linkedServiceName: LinkedServiceReference; +} + +/** + * @interface + * An interface representing AzureMLBatchExecutionActivity. + * Azure ML Batch Execution activity. + * + */ +export interface AzureMLBatchExecutionActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureMLBatchExecution"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {{ [propertyName: string]: any }} [globalParameters] 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]: any }; + /** + * @member {{ [propertyName: string]: AzureMLWebServiceFile }} + * [webServiceOutputs] 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 }; + /** + * @member {{ [propertyName: string]: AzureMLWebServiceFile }} + * [webServiceInputs] 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 }; +} + +/** + * @interface + * An interface representing GetMetadataActivity. + * Activity to get metadata of dataset + * + */ +export interface GetMetadataActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GetMetadata"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {DatasetReference} dataset GetMetadata activity dataset reference. + */ + dataset: DatasetReference; + /** + * @member {any[]} [fieldList] Fields of metadata to get from dataset. + */ + fieldList?: any[]; +} + +/** + * @interface + * An interface representing WebActivityAuthentication. + * Web activity authentication properties. + * + */ +export interface WebActivityAuthentication { + /** + * @member {string} type Web activity authentication + * (Basic/ClientCertificate/MSI) + */ + type: string; + /** + * @member {SecureString} [pfx] Base64-encoded contents of a PFX file. + */ + pfx?: SecureString; + /** + * @member {string} [username] Web activity authentication user name for + * basic authentication. + */ + username?: string; + /** + * @member {SecureString} [password] Password for the PFX file or basic + * authentication. + */ + password?: SecureString; + /** + * @member {string} [resource] Resource for which Azure Auth token will be + * requested when using MSI Authentication. + */ + resource?: string; +} + +/** + * @interface + * An interface representing WebActivity. + * Web activity. + * + */ +export interface WebActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "WebActivity"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {WebActivityMethod} method Rest API method for target endpoint. + * Possible values include: 'GET', 'POST', 'PUT', 'DELETE' + */ + method: WebActivityMethod; + /** + * @member {any} url Web activity target endpoint and path. Type: string (or + * Expression with resultType string). + */ + url: any; + /** + * @member {any} [headers] 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; + /** + * @member {any} [body] 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; + /** + * @member {WebActivityAuthentication} [authentication] Authentication method + * used for calling the endpoint. + */ + authentication?: WebActivityAuthentication; + /** + * @member {DatasetReference[]} [datasets] List of datasets passed to web + * endpoint. + */ + datasets?: DatasetReference[]; + /** + * @member {LinkedServiceReference[]} [linkedServices] List of linked + * services passed to web endpoint. + */ + linkedServices?: LinkedServiceReference[]; +} + +/** + * @interface + * An interface representing RedshiftUnloadSettings. + * 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 { + /** + * @member {LinkedServiceReference} s3LinkedServiceName 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; + /** + * @member {any} bucketName 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; +} + +/** + * Contains the possible cases for CopySource. + */ +export type CopySourceUnion = CopySource | AmazonRedshiftSource | GoogleAdWordsSource | OracleServiceCloudSource | DynamicsAXSource | ResponsysSource | SalesforceMarketingCloudSource | VerticaSource | NetezzaSource | ZohoSource | XeroSource | SquareSource | SparkSource | ShopifySource | ServiceNowSource | QuickBooksSource | PrestoSource | PhoenixSource | PaypalSource | MarketoSource | MariaDBSource | MagentoSource | JiraSource | ImpalaSource | HubspotSource | HiveSource | HBaseSource | GreenplumSource | GoogleBigQuerySource | EloquaSource | DrillSource | CouchbaseSource | ConcurSource | AzurePostgreSqlSource | AmazonMWSSource | HttpSource | AzureBlobFSSource | AzureDataLakeStoreSource | Office365Source | CosmosDbMongoDbApiSource | MongoDbV2Source | MongoDbSource | CassandraSource | WebSource | OracleSource | AzureDataExplorerSource | AzureMySqlSource | HdfsSource | FileSystemSource | SqlDWSource | SqlSource | RestSource | SapOpenHubSource | SapEccSource | SapCloudForCustomerSource | SalesforceSource | RelationalSource | DynamicsSource | DocumentDbCollectionSource | BlobSource | AzureTableSource; + +/** + * @interface + * An interface representing CopySource. + * A copy activity source. + * + */ +export interface CopySource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CopySource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing AmazonRedshiftSource. + * A copy activity source for Amazon Redshift Source. + * + */ +export interface AmazonRedshiftSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AmazonRedshiftSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] Database query. Type: string (or Expression with + * resultType string). + */ + query?: any; + /** + * @member {RedshiftUnloadSettings} [redshiftUnloadSettings] 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; +} + +/** + * @interface + * An interface representing GoogleAdWordsSource. + * A copy activity Google AdWords service source. + * + */ +export interface GoogleAdWordsSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GoogleAdWordsSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing OracleServiceCloudSource. + * A copy activity Oracle Service Cloud source. + * + */ +export interface OracleServiceCloudSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OracleServiceCloudSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing DynamicsAXSource. + * A copy activity Dynamics AX source. + * + */ +export interface DynamicsAXSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DynamicsAXSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing ResponsysSource. + * A copy activity Responsys source. + * + */ +export interface ResponsysSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ResponsysSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing SalesforceMarketingCloudSource. + * A copy activity Salesforce Marketing Cloud source. + * + */ +export interface SalesforceMarketingCloudSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SalesforceMarketingCloudSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing VerticaSource. + * A copy activity Vertica source. + * + */ +export interface VerticaSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "VerticaSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing NetezzaSource. + * A copy activity Netezza source. + * + */ +export interface NetezzaSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "NetezzaSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing ZohoSource. + * A copy activity Zoho server source. + * + */ +export interface ZohoSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ZohoSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing XeroSource. + * A copy activity Xero Service source. + * + */ +export interface XeroSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "XeroSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing SquareSource. + * A copy activity Square Service source. + * + */ +export interface SquareSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SquareSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing SparkSource. + * A copy activity Spark Server source. + * + */ +export interface SparkSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SparkSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing ShopifySource. + * A copy activity Shopify Service source. + * + */ +export interface ShopifySource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ShopifySource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing ServiceNowSource. + * A copy activity ServiceNow server source. + * + */ +export interface ServiceNowSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ServiceNowSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing QuickBooksSource. + * A copy activity QuickBooks server source. + * + */ +export interface QuickBooksSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "QuickBooksSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing PrestoSource. + * A copy activity Presto server source. + * + */ +export interface PrestoSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "PrestoSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing PhoenixSource. + * A copy activity Phoenix server source. + * + */ +export interface PhoenixSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "PhoenixSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing PaypalSource. + * A copy activity Paypal Service source. + * + */ +export interface PaypalSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "PaypalSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing MarketoSource. + * A copy activity Marketo server source. + * + */ +export interface MarketoSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MarketoSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing MariaDBSource. + * A copy activity MariaDB server source. + * + */ +export interface MariaDBSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MariaDBSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing MagentoSource. + * A copy activity Magento server source. + * + */ +export interface MagentoSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MagentoSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing JiraSource. + * A copy activity Jira Service source. + * + */ +export interface JiraSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "JiraSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing ImpalaSource. + * A copy activity Impala server source. + * + */ +export interface ImpalaSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ImpalaSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing HubspotSource. + * A copy activity Hubspot Service source. + * + */ +export interface HubspotSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HubspotSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing HiveSource. + * A copy activity Hive Server source. + * + */ +export interface HiveSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HiveSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing HBaseSource. + * A copy activity HBase server source. + * + */ +export interface HBaseSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HBaseSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing GreenplumSource. + * A copy activity Greenplum Database source. + * + */ +export interface GreenplumSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GreenplumSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing GoogleBigQuerySource. + * A copy activity Google BigQuery service source. + * + */ +export interface GoogleBigQuerySource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "GoogleBigQuerySource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing EloquaSource. + * A copy activity Eloqua server source. + * + */ +export interface EloquaSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "EloquaSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing DrillSource. + * A copy activity Drill server source. + * + */ +export interface DrillSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DrillSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing CouchbaseSource. + * A copy activity Couchbase server source. + * + */ +export interface CouchbaseSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CouchbaseSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing ConcurSource. + * A copy activity Concur Service source. + * + */ +export interface ConcurSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ConcurSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing AzurePostgreSqlSource. + * A copy activity Azure PostgreSQL source. + * + */ +export interface AzurePostgreSqlSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzurePostgreSqlSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing AmazonMWSSource. + * A copy activity Amazon Marketplace Web Service source. + * + */ +export interface AmazonMWSSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AmazonMWSSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] A query to retrieve data from source. Type: string + * (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing HttpSource. + * A copy activity source for an HTTP file. + * + */ +export interface HttpSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HttpSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [httpRequestTimeout] 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; +} + +/** + * @interface + * An interface representing AzureBlobFSSource. + * A copy activity Azure BlobFS source. + * + */ +export interface AzureBlobFSSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureBlobFSSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [treatEmptyAsNull] Treat empty as null. Type: boolean (or + * Expression with resultType boolean). + */ + treatEmptyAsNull?: any; + /** + * @member {any} [skipHeaderLineCount] Number of header lines to skip from + * each blob. Type: integer (or Expression with resultType integer). + */ + skipHeaderLineCount?: any; + /** + * @member {any} [recursive] If true, files under the folder path will be + * read recursively. Default is true. Type: boolean (or Expression with + * resultType boolean). + */ + recursive?: any; +} + +/** + * @interface + * An interface representing AzureDataLakeStoreSource. + * A copy activity Azure Data Lake source. + * + */ +export interface AzureDataLakeStoreSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataLakeStoreSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [recursive] If true, files under the folder path will be + * read recursively. Default is true. Type: boolean (or Expression with + * resultType boolean). + */ + recursive?: any; +} + +/** + * @interface + * An interface representing Office365Source. + * A copy activity source for an Office365 service. + * + */ +export interface Office365Source { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Office365Source"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; +} + +/** + * @interface + * An interface representing MongoDbCursorMethodsProperties. + * Cursor methods for Mongodb query + * + */ +export interface MongoDbCursorMethodsProperties { + /** + * @member {any} [project] 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; + /** + * @member {any} [sort] 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; + /** + * @member {any} [skip] 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; + /** + * @member {any} [limit] 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing CosmosDbMongoDbApiSource. + * A copy activity source for a CosmosDB (MongoDB API) database. + * + */ +export interface CosmosDbMongoDbApiSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CosmosDbMongoDbApiSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [filter] 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; + /** + * @member {MongoDbCursorMethodsProperties} [cursorMethods] Cursor methods + * for Mongodb query. + */ + cursorMethods?: MongoDbCursorMethodsProperties; + /** + * @member {any} [batchSize] 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; +} + +/** + * @interface + * An interface representing MongoDbV2Source. + * A copy activity source for a MongoDB database. + * + */ +export interface MongoDbV2Source { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MongoDbV2Source"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [filter] 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; + /** + * @member {MongoDbCursorMethodsProperties} [cursorMethods] Cursor methods + * for Mongodb query + */ + cursorMethods?: MongoDbCursorMethodsProperties; + /** + * @member {any} [batchSize] 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; +} + +/** + * @interface + * An interface representing MongoDbSource. + * A copy activity source for a MongoDB database. + * + */ +export interface MongoDbSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "MongoDbSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] Database query. Should be a SQL-92 query expression. + * Type: string (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing CassandraSource. + * A copy activity source for a Cassandra database. + * + */ +export interface CassandraSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CassandraSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] Database query. Should be a SQL-92 query expression + * or Cassandra Query Language (CQL) command. Type: string (or Expression + * with resultType string). + */ + query?: any; + /** + * @member {CassandraSourceReadConsistencyLevels} [consistencyLevel] 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; +} + +/** + * @interface + * An interface representing WebSource. + * A copy activity source for web page table. + * + */ +export interface WebSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "WebSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; +} + +/** + * @interface + * An interface representing OracleSource. + * A copy activity Oracle source. + * + */ +export interface OracleSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OracleSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [oracleReaderQuery] Oracle reader query. Type: string (or + * Expression with resultType string). + */ + oracleReaderQuery?: any; + /** + * @member {any} [queryTimeout] 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; +} + +/** + * @interface + * An interface representing AzureDataExplorerSource. + * A copy activity Azure Data Explorer (Kusto) source. + * + */ +export interface AzureDataExplorerSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataExplorerSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} query Database query. Should be a Kusto Query Language (KQL) + * query. Type: string (or Expression with resultType string). + */ + query: any; + /** + * @member {any} [noTruncation] 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; + /** + * @member {any} [queryTimeout] 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; +} + +/** + * @interface + * An interface representing AzureMySqlSource. + * A copy activity Azure MySQL source. + * + */ +export interface AzureMySqlSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureMySqlSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] Database query. Type: string (or Expression with + * resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing DistcpSettings. + * Distcp settings. + * + */ +export interface DistcpSettings { + /** + * @member {any} resourceManagerEndpoint Specifies the Yarn ResourceManager + * endpoint. Type: string (or Expression with resultType string). + */ + resourceManagerEndpoint: any; + /** + * @member {any} tempScriptPath 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; + /** + * @member {any} [distcpOptions] Specifies the Distcp options. Type: string + * (or Expression with resultType string). + */ + distcpOptions?: any; +} + +/** + * @interface + * An interface representing HdfsSource. + * A copy activity HDFS source. + * + */ +export interface HdfsSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HdfsSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [recursive] If true, files under the folder path will be + * read recursively. Default is true. Type: boolean (or Expression with + * resultType boolean). + */ + recursive?: any; + /** + * @member {DistcpSettings} [distcpSettings] Specifies Distcp-related + * settings. + */ + distcpSettings?: DistcpSettings; +} + +/** + * @interface + * An interface representing FileSystemSource. + * A copy activity file system source. + * + */ +export interface FileSystemSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "FileSystemSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [recursive] If true, files under the folder path will be + * read recursively. Default is true. Type: boolean (or Expression with + * resultType boolean). + */ + recursive?: any; +} + +/** + * @interface + * An interface representing SqlDWSource. + * A copy activity SQL Data Warehouse source. + * + */ +export interface SqlDWSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SqlDWSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [sqlReaderQuery] SQL Data Warehouse reader query. Type: + * string (or Expression with resultType string). + */ + sqlReaderQuery?: any; + /** + * @member {any} [sqlReaderStoredProcedureName] 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; + /** + * @member {any} [storedProcedureParameters] 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; +} + +/** + * @interface + * An interface representing StoredProcedureParameter. + * SQL stored procedure parameter. + * + */ +export interface StoredProcedureParameter { + /** + * @member {any} [value] Stored procedure parameter value. Type: string (or + * Expression with resultType string). + */ + value?: any; + /** + * @member {StoredProcedureParameterType} [type] Stored procedure parameter + * type. Possible values include: 'String', 'Int', 'Decimal', 'Guid', + * 'Boolean', 'Date' + */ + type?: StoredProcedureParameterType; +} + +/** + * @interface + * An interface representing SqlSource. + * A copy activity SQL source. + * + */ +export interface SqlSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SqlSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [sqlReaderQuery] SQL reader query. Type: string (or + * Expression with resultType string). + */ + sqlReaderQuery?: any; + /** + * @member {any} [sqlReaderStoredProcedureName] 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; + /** + * @member {{ [propertyName: string]: StoredProcedureParameter }} + * [storedProcedureParameters] Value and type setting for stored procedure + * parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + */ + storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; +} + +/** + * @interface + * An interface representing RestSource. + * A copy activity Rest service source. + * + */ +export interface RestSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "RestSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [httpRequestTimeout] 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; + /** + * @member {any} [requestInterval] The time to await before sending next page + * request. + */ + requestInterval?: any; +} + +/** + * @interface + * An interface representing SapOpenHubSource. + * A copy activity source for SAP Business Warehouse Open Hub Destination + * source. + * + */ +export interface SapOpenHubSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapOpenHubSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; +} + +/** + * @interface + * An interface representing SapEccSource. + * A copy activity source for SAP ECC source. + * + */ +export interface SapEccSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapEccSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {string} [query] SAP ECC OData query. For example, "$top=1". Type: + * string (or Expression with resultType string). + */ + query?: string; +} + +/** + * @interface + * An interface representing SapCloudForCustomerSource. + * A copy activity source for SAP Cloud for Customer source. + * + */ +export interface SapCloudForCustomerSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapCloudForCustomerSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] SAP Cloud for Customer OData query. For example, + * "$top=1". Type: string (or Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing SalesforceSource. + * A copy activity Salesforce source. + * + */ +export interface SalesforceSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SalesforceSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] Database query. Type: string (or Expression with + * resultType string). + */ + query?: any; + /** + * @member {SalesforceSourceReadBehavior} [readBehavior] The read behavior + * for the operation. Default is Query. Possible values include: 'Query', + * 'QueryAll' + */ + readBehavior?: SalesforceSourceReadBehavior; +} + +/** + * @interface + * An interface representing RelationalSource. + * A copy activity source for various relational databases. + * + */ +export interface RelationalSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "RelationalSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] Database query. Type: string (or Expression with + * resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing DynamicsSource. + * A copy activity Dynamics source. + * + */ +export interface DynamicsSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DynamicsSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] FetchXML is a proprietary query language that is + * used in Microsoft Dynamics (online & on-premises). Type: string (or + * Expression with resultType string). + */ + query?: any; +} + +/** + * @interface + * An interface representing DocumentDbCollectionSource. + * A copy activity Document Database Collection source. + * + */ +export interface DocumentDbCollectionSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DocumentDbCollectionSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [query] Documents query. Type: string (or Expression with + * resultType string). + */ + query?: any; + /** + * @member {any} [nestingSeparator] Nested properties separator. Type: string + * (or Expression with resultType string). + */ + nestingSeparator?: any; +} + +/** + * @interface + * An interface representing BlobSource. + * A copy activity Azure Blob source. + * + */ +export interface BlobSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "BlobSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [treatEmptyAsNull] Treat empty as null. Type: boolean (or + * Expression with resultType boolean). + */ + treatEmptyAsNull?: any; + /** + * @member {any} [skipHeaderLineCount] Number of header lines to skip from + * each blob. Type: integer (or Expression with resultType integer). + */ + skipHeaderLineCount?: any; + /** + * @member {any} [recursive] If true, files under the folder path will be + * read recursively. Default is true. Type: boolean (or Expression with + * resultType boolean). + */ + recursive?: any; +} + +/** + * @interface + * An interface representing AzureTableSource. + * A copy activity Azure Table source. + * + */ +export interface AzureTableSource { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureTableSource"; + /** + * @member {any} [sourceRetryCount] Source retry count. Type: integer (or + * Expression with resultType integer). + */ + sourceRetryCount?: any; + /** + * @member {any} [sourceRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the source data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [azureTableSourceQuery] Azure Table source query. Type: + * string (or Expression with resultType string). + */ + azureTableSourceQuery?: any; + /** + * @member {any} [azureTableSourceIgnoreTableNotFound] Azure Table source + * ignore table not found. Type: boolean (or Expression with resultType + * boolean). + */ + azureTableSourceIgnoreTableNotFound?: any; +} + +/** + * @interface + * An interface representing LookupActivity. + * Lookup activity. + * + */ +export interface LookupActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Lookup"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {CopySourceUnion} source Dataset-specific source properties, same + * as copy activity source. + */ + source: CopySourceUnion; + /** + * @member {DatasetReference} dataset Lookup activity dataset reference. + */ + dataset: DatasetReference; + /** + * @member {any} [firstRowOnly] Whether to return first row or all rows. + * Default value is true. Type: boolean (or Expression with resultType + * boolean). + */ + firstRowOnly?: any; +} + +/** + * @interface + * An interface representing LogStorageSettings. + * Log storage settings. + * + */ +export interface LogStorageSettings { + /** + * @member {LinkedServiceReference} linkedServiceName Log storage linked + * service reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {any} [path] The path to storage for storing detailed logs of + * activity execution. Type: string (or Expression with resultType string). + */ + path?: any; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing DeleteActivity. + * Delete activity. + * + */ +export interface DeleteActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Delete"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} [recursive] 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; + /** + * @member {number} [maxConcurrentConnections] The max concurrent connections + * to connect data source at the same time. + */ + maxConcurrentConnections?: number; + /** + * @member {any} [enableLogging] Whether to record detailed logs of + * delete-activity execution. Default value is false. Type: boolean (or + * Expression with resultType boolean). + */ + enableLogging?: any; + /** + * @member {LogStorageSettings} [logStorageSettings] Log storage settings + * customer need to provide when enableLogging is true. + */ + logStorageSettings?: LogStorageSettings; + /** + * @member {DatasetReference} dataset Delete activity dataset reference. + */ + dataset: DatasetReference; +} + +/** + * @interface + * An interface representing SqlServerStoredProcedureActivity. + * SQL stored procedure activity type. + * + */ +export interface SqlServerStoredProcedureActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SqlServerStoredProcedure"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} storedProcedureName Stored procedure name. Type: string (or + * Expression with resultType string). + */ + storedProcedureName: any; + /** + * @member {{ [propertyName: string]: StoredProcedureParameter }} + * [storedProcedureParameters] Value and type setting for stored procedure + * parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + */ + storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; +} + +/** + * @interface + * An interface representing CustomActivityReferenceObject. + * Reference objects for custom activity + * + */ +export interface CustomActivityReferenceObject { + /** + * @member {LinkedServiceReference[]} [linkedServices] Linked service + * references. + */ + linkedServices?: LinkedServiceReference[]; + /** + * @member {DatasetReference[]} [datasets] Dataset references. + */ + datasets?: DatasetReference[]; +} + +/** + * @interface + * An interface representing CustomActivity. + * Custom activity type. + * + */ +export interface CustomActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Custom"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} command Command for custom activity Type: string (or + * Expression with resultType string). + */ + command: any; + /** + * @member {LinkedServiceReference} [resourceLinkedService] Resource linked + * service reference. + */ + resourceLinkedService?: LinkedServiceReference; + /** + * @member {any} [folderPath] Folder path for resource files Type: string (or + * Expression with resultType string). + */ + folderPath?: any; + /** + * @member {CustomActivityReferenceObject} [referenceObjects] Reference + * objects + */ + referenceObjects?: CustomActivityReferenceObject; + /** + * @member {{ [propertyName: string]: any }} [extendedProperties] 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 }; + /** + * @member {any} [retentionTimeInDays] The retention time for the files + * submitted for custom activity. Type: double (or Expression with resultType + * double). + */ + retentionTimeInDays?: any; +} + +/** + * @interface + * An interface representing SSISPropertyOverride. + * SSIS property override. + * + */ +export interface SSISPropertyOverride { + /** + * @member {any} value SSIS package property override value. Type: string (or + * Expression with resultType string). + */ + value: any; + /** + * @member {boolean} [isSensitive] Whether SSIS package property override + * value is sensitive data. Value will be encrypted in SSISDB if it is true + */ + isSensitive?: boolean; +} + +/** + * @interface + * An interface representing SSISExecutionParameter. + * SSIS execution parameter. + * + */ +export interface SSISExecutionParameter { + /** + * @member {any} value SSIS package execution parameter value. Type: string + * (or Expression with resultType string). + */ + value: any; +} + +/** + * @interface + * An interface representing SSISExecutionCredential. + * SSIS package execution credential. + * + */ +export interface SSISExecutionCredential { + /** + * @member {any} domain Domain for windows authentication. + */ + domain: any; + /** + * @member {any} userName UseName for windows authentication. + */ + userName: any; + /** + * @member {SecureString} password Password for windows authentication. + */ + password: SecureString; +} + +/** + * @interface + * An interface representing SSISPackageLocation. + * SSIS package location. + * + */ +export interface SSISPackageLocation { + /** + * @member {any} packagePath The SSIS package path. Type: string (or + * Expression with resultType string). + */ + packagePath: any; +} + +/** + * @interface + * An interface representing ExecuteSSISPackageActivity. + * Execute SSIS package activity. + * + */ +export interface ExecuteSSISPackageActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ExecuteSSISPackage"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {SSISPackageLocation} packageLocation SSIS package location. + */ + packageLocation: SSISPackageLocation; + /** + * @member {any} [runtime] Specifies the runtime to execute SSIS package. The + * value should be "x86" or "x64". Type: string (or Expression with + * resultType string). + */ + runtime?: any; + /** + * @member {any} [loggingLevel] The logging level of SSIS package execution. + * Type: string (or Expression with resultType string). + */ + loggingLevel?: any; + /** + * @member {any} [environmentPath] The environment path to execute the SSIS + * package. Type: string (or Expression with resultType string). + */ + environmentPath?: any; + /** + * @member {SSISExecutionCredential} [executionCredential] The package + * execution credential. + */ + executionCredential?: SSISExecutionCredential; + /** + * @member {IntegrationRuntimeReference} connectVia The integration runtime + * reference. + */ + connectVia: IntegrationRuntimeReference; + /** + * @member {{ [propertyName: string]: SSISExecutionParameter }} + * [projectParameters] The project level parameters to execute the SSIS + * package. + */ + projectParameters?: { [propertyName: string]: SSISExecutionParameter }; + /** + * @member {{ [propertyName: string]: SSISExecutionParameter }} + * [packageParameters] The package level parameters to execute the SSIS + * package. + */ + packageParameters?: { [propertyName: string]: SSISExecutionParameter }; + /** + * @member {{ [propertyName: string]: { [propertyName: string]: + * SSISExecutionParameter } }} [projectConnectionManagers] The project level + * connection managers to execute the SSIS package. + */ + projectConnectionManagers?: { [propertyName: string]: { [propertyName: string]: SSISExecutionParameter } }; + /** + * @member {{ [propertyName: string]: { [propertyName: string]: + * SSISExecutionParameter } }} [packageConnectionManagers] The package level + * connection managers to execute the SSIS package. + */ + packageConnectionManagers?: { [propertyName: string]: { [propertyName: string]: SSISExecutionParameter } }; + /** + * @member {{ [propertyName: string]: SSISPropertyOverride }} + * [propertyOverrides] The property overrides to execute the SSIS package. + */ + propertyOverrides?: { [propertyName: string]: SSISPropertyOverride }; +} + +/** + * @interface + * An interface representing HDInsightSparkActivity. + * HDInsight Spark activity. + * + */ +export interface HDInsightSparkActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HDInsightSpark"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {any} rootPath The root path in 'sparkJobLinkedService' for all + * the job’s files. Type: string (or Expression with resultType string). + */ + rootPath: any; + /** + * @member {any} entryFilePath The relative path to the root folder of the + * code/package to be executed. Type: string (or Expression with resultType + * string). + */ + entryFilePath: any; + /** + * @member {any[]} [argumentsProperty] The user-specified arguments to + * HDInsightSparkActivity. + */ + argumentsProperty?: any[]; + /** + * @member {HDInsightActivityDebugInfoOption} [getDebugInfo] Debug info + * option. Possible values include: 'None', 'Always', 'Failure' + */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** + * @member {LinkedServiceReference} [sparkJobLinkedService] The storage + * linked service for uploading the entry file and dependencies, and for + * receiving logs. + */ + sparkJobLinkedService?: LinkedServiceReference; + /** + * @member {string} [className] The application's Java/Spark main class. + */ + className?: string; + /** + * @member {any} [proxyUser] The user to impersonate that will execute the + * job. Type: string (or Expression with resultType string). + */ + proxyUser?: any; + /** + * @member {{ [propertyName: string]: any }} [sparkConfig] Spark + * configuration property. + */ + sparkConfig?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing HDInsightStreamingActivity. + * HDInsight streaming activity type. + * + */ +export interface HDInsightStreamingActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HDInsightStreaming"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {LinkedServiceReference[]} [storageLinkedServices] Storage linked + * service references. + */ + storageLinkedServices?: LinkedServiceReference[]; + /** + * @member {any[]} [argumentsProperty] User specified arguments to + * HDInsightActivity. + */ + argumentsProperty?: any[]; + /** + * @member {HDInsightActivityDebugInfoOption} [getDebugInfo] Debug info + * option. Possible values include: 'None', 'Always', 'Failure' + */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** + * @member {any} mapper Mapper executable name. Type: string (or Expression + * with resultType string). + */ + mapper: any; + /** + * @member {any} reducer Reducer executable name. Type: string (or Expression + * with resultType string). + */ + reducer: any; + /** + * @member {any} input Input blob path. Type: string (or Expression with + * resultType string). + */ + input: any; + /** + * @member {any} output Output blob path. Type: string (or Expression with + * resultType string). + */ + output: any; + /** + * @member {any[]} filePaths Paths to streaming job files. Can be + * directories. + */ + filePaths: any[]; + /** + * @member {LinkedServiceReference} [fileLinkedService] Linked service + * reference where the files are located. + */ + fileLinkedService?: LinkedServiceReference; + /** + * @member {any} [combiner] Combiner executable name. Type: string (or + * Expression with resultType string). + */ + combiner?: any; + /** + * @member {any[]} [commandEnvironment] Command line environment values. + */ + commandEnvironment?: any[]; + /** + * @member {{ [propertyName: string]: any }} [defines] Allows user to specify + * defines for streaming job request. + */ + defines?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing HDInsightMapReduceActivity. + * HDInsight MapReduce activity type. + * + */ +export interface HDInsightMapReduceActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HDInsightMapReduce"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {LinkedServiceReference[]} [storageLinkedServices] Storage linked + * service references. + */ + storageLinkedServices?: LinkedServiceReference[]; + /** + * @member {any[]} [argumentsProperty] User specified arguments to + * HDInsightActivity. + */ + argumentsProperty?: any[]; + /** + * @member {HDInsightActivityDebugInfoOption} [getDebugInfo] Debug info + * option. Possible values include: 'None', 'Always', 'Failure' + */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** + * @member {any} className Class name. Type: string (or Expression with + * resultType string). + */ + className: any; + /** + * @member {any} jarFilePath Jar path. Type: string (or Expression with + * resultType string). + */ + jarFilePath: any; + /** + * @member {LinkedServiceReference} [jarLinkedService] Jar linked service + * reference. + */ + jarLinkedService?: LinkedServiceReference; + /** + * @member {any[]} [jarLibs] Jar libs. + */ + jarLibs?: any[]; + /** + * @member {{ [propertyName: string]: any }} [defines] Allows user to specify + * defines for the MapReduce job request. + */ + defines?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing HDInsightPigActivity. + * HDInsight Pig activity type. + * + */ +export interface HDInsightPigActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HDInsightPig"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {LinkedServiceReference[]} [storageLinkedServices] Storage linked + * service references. + */ + storageLinkedServices?: LinkedServiceReference[]; + /** + * @member {any[]} [argumentsProperty] User specified arguments to + * HDInsightActivity. + */ + argumentsProperty?: any[]; + /** + * @member {HDInsightActivityDebugInfoOption} [getDebugInfo] Debug info + * option. Possible values include: 'None', 'Always', 'Failure' + */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** + * @member {any} [scriptPath] Script path. Type: string (or Expression with + * resultType string). + */ + scriptPath?: any; + /** + * @member {LinkedServiceReference} [scriptLinkedService] Script linked + * service reference. + */ + scriptLinkedService?: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: any }} [defines] Allows user to specify + * defines for Pig job request. + */ + defines?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing HDInsightHiveActivity. + * HDInsight Hive activity type. + * + */ +export interface HDInsightHiveActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "HDInsightHive"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {LinkedServiceReference[]} [storageLinkedServices] Storage linked + * service references. + */ + storageLinkedServices?: LinkedServiceReference[]; + /** + * @member {any[]} [argumentsProperty] User specified arguments to + * HDInsightActivity. + */ + argumentsProperty?: any[]; + /** + * @member {HDInsightActivityDebugInfoOption} [getDebugInfo] Debug info + * option. Possible values include: 'None', 'Always', 'Failure' + */ + getDebugInfo?: HDInsightActivityDebugInfoOption; + /** + * @member {any} [scriptPath] Script path. Type: string (or Expression with + * resultType string). + */ + scriptPath?: any; + /** + * @member {LinkedServiceReference} [scriptLinkedService] Script linked + * service reference. + */ + scriptLinkedService?: LinkedServiceReference; + /** + * @member {{ [propertyName: string]: any }} [defines] Allows user to specify + * defines for Hive job request. + */ + defines?: { [propertyName: string]: any }; + /** + * @member {any[]} [variables] User specified arguments under hivevar + * namespace. + */ + variables?: any[]; + /** + * @member {number} [queryTimeout] Query timeout value (in minutes). + * Effective when the HDInsight cluster is with ESP (Enterprise Security + * Package) + */ + queryTimeout?: number; +} + +/** + * @interface + * An interface representing RedirectIncompatibleRowSettings. + * Redirect incompatible row settings + * + */ +export interface RedirectIncompatibleRowSettings { + /** + * @member {any} linkedServiceName 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; + /** + * @member {any} [path] The path for storing the redirect incompatible row + * data. Type: string (or Expression with resultType string). + */ + path?: any; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing StagingSettings. + * Staging settings. + * + */ +export interface StagingSettings { + /** + * @member {LinkedServiceReference} linkedServiceName Staging linked service + * reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * @member {any} [path] The path to storage for storing the interim data. + * Type: string (or Expression with resultType string). + */ + path?: any; + /** + * @member {any} [enableCompression] 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * Contains the possible cases for CopyTranslator. + */ +export type CopyTranslatorUnion = CopyTranslator | TabularTranslator; + +/** + * @interface + * An interface representing CopyTranslator. + * A copy activity translator. + * + */ +export interface CopyTranslator { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CopyTranslator"; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing TabularTranslator. + * A copy activity tabular translator. + * + */ +export interface TabularTranslator { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "TabularTranslator"; + /** + * @member {any} [columnMappings] Column mappings. Example: "UserId: + * MyUserId, Group: MyGroup, Name: MyName" Type: string (or Expression with + * resultType string). + */ + columnMappings?: any; + /** + * @member {any} [schemaMapping] 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). + */ + schemaMapping?: any; + /** + * @member {any} [collectionReference] The JSON Path of the Nested Array that + * is going to do cross-apply. Type: object (or Expression with resultType + * object). + */ + collectionReference?: any; +} + +/** + * Contains the possible cases for CopySink. + */ +export type CopySinkUnion = CopySink | CosmosDbMongoDbApiSink | SalesforceSink | AzureDataExplorerSink | DynamicsSink | OdbcSink | AzureSearchIndexSink | AzureBlobFSSink | AzureDataLakeStoreSink | OracleSink | SqlDWSink | SqlSink | DocumentDbCollectionSink | FileSystemSink | BlobSink | AzureTableSink | AzureQueueSink | SapCloudForCustomerSink; + +/** + * @interface + * An interface representing CopySink. + * A copy activity sink. + * + */ +export interface CopySink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CopySink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing CosmosDbMongoDbApiSink. + * A copy activity sink for a CosmosDB (MongoDB API) database. + * + */ +export interface CosmosDbMongoDbApiSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "CosmosDbMongoDbApiSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [writeBehavior] 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; +} + +/** + * @interface + * An interface representing SalesforceSink. + * A copy activity Salesforce sink. + * + */ +export interface SalesforceSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SalesforceSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {SalesforceSinkWriteBehavior} [writeBehavior] The write behavior + * for the operation. Default is Insert. Possible values include: 'Insert', + * 'Upsert' + */ + writeBehavior?: SalesforceSinkWriteBehavior; + /** + * @member {any} [externalIdFieldName] The name of the external ID field for + * upsert operation. Default value is 'Id' column. Type: string (or + * Expression with resultType string). + */ + externalIdFieldName?: any; + /** + * @member {any} [ignoreNullValues] 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; +} + +/** + * @interface + * An interface representing AzureDataExplorerSink. + * A copy activity Azure Data Explorer sink. + * + */ +export interface AzureDataExplorerSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataExplorerSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [ingestionMappingName] A name of a pre-created csv mapping + * that was defined on the target Kusto table. Type: string. + */ + ingestionMappingName?: any; + /** + * @member {any} [ingestionMappingAsJson] An explicit column mapping + * description provided in a json format. Type: string. + */ + ingestionMappingAsJson?: any; + /** + * @member {any} [flushImmediately] If set to true, any aggregation will be + * skipped. Default is false. Type: boolean. + */ + flushImmediately?: any; +} + +/** + * @interface + * An interface representing DynamicsSink. + * A copy activity Dynamics sink. + * + */ +export interface DynamicsSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DynamicsSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [ignoreNullValues] 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; +} + +/** + * @interface + * An interface representing OdbcSink. + * A copy activity ODBC sink. + * + */ +export interface OdbcSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OdbcSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [preCopyScript] A query to execute before starting the copy. + * Type: string (or Expression with resultType string). + */ + preCopyScript?: any; +} + +/** + * @interface + * An interface representing AzureSearchIndexSink. + * A copy activity Azure Search Index sink. + * + */ +export interface AzureSearchIndexSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureSearchIndexSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {AzureSearchIndexWriteBehaviorType} [writeBehavior] Specify the + * write behavior when upserting documents into Azure Search Index. Possible + * values include: 'Merge', 'Upload' + */ + writeBehavior?: AzureSearchIndexWriteBehaviorType; +} + +/** + * @interface + * An interface representing AzureBlobFSSink. + * A copy activity Azure Data Lake Storage Gen2 sink. + * + */ +export interface AzureBlobFSSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureBlobFSSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {CopyBehaviorType} [copyBehavior] The type of copy behavior for + * copy sink. Possible values include: 'PreserveHierarchy', + * 'FlattenHierarchy', 'MergeFiles' + */ + copyBehavior?: CopyBehaviorType; +} + +/** + * @interface + * An interface representing AzureDataLakeStoreSink. + * A copy activity Azure Data Lake Store sink. + * + */ +export interface AzureDataLakeStoreSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureDataLakeStoreSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {CopyBehaviorType} [copyBehavior] The type of copy behavior for + * copy sink. Possible values include: 'PreserveHierarchy', + * 'FlattenHierarchy', 'MergeFiles' + */ + copyBehavior?: CopyBehaviorType; +} + +/** + * @interface + * An interface representing OracleSink. + * A copy activity Oracle sink. + * + */ +export interface OracleSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "OracleSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [preCopyScript] SQL pre-copy script. Type: string (or + * Expression with resultType string). + */ + preCopyScript?: any; +} + +/** + * @interface + * An interface representing PolybaseSettings. + * PolyBase settings. + * + */ +export interface PolybaseSettings { + /** + * @member {PolybaseSettingsRejectType} [rejectType] Reject type. Possible + * values include: 'value', 'percentage' + */ + rejectType?: PolybaseSettingsRejectType; + /** + * @member {any} [rejectValue] 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; + /** + * @member {any} [rejectSampleValue] 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; + /** + * @member {any} [useTypeDefault] 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing SqlDWSink. + * A copy activity SQL Data Warehouse sink. + * + */ +export interface SqlDWSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SqlDWSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [preCopyScript] SQL pre-copy script. Type: string (or + * Expression with resultType string). + */ + preCopyScript?: any; + /** + * @member {any} [allowPolyBase] Indicates to use PolyBase to copy data into + * SQL Data Warehouse when applicable. Type: boolean (or Expression with + * resultType boolean). + */ + allowPolyBase?: any; + /** + * @member {PolybaseSettings} [polyBaseSettings] Specifies PolyBase-related + * settings when allowPolyBase is true. + */ + polyBaseSettings?: PolybaseSettings; +} + +/** + * @interface + * An interface representing SqlSink. + * A copy activity SQL sink. + * + */ +export interface SqlSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SqlSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [sqlWriterStoredProcedureName] SQL writer stored procedure + * name. Type: string (or Expression with resultType string). + */ + sqlWriterStoredProcedureName?: any; + /** + * @member {any} [sqlWriterTableType] SQL writer table type. Type: string (or + * Expression with resultType string). + */ + sqlWriterTableType?: any; + /** + * @member {any} [preCopyScript] SQL pre-copy script. Type: string (or + * Expression with resultType string). + */ + preCopyScript?: any; + /** + * @member {{ [propertyName: string]: StoredProcedureParameter }} + * [storedProcedureParameters] SQL stored procedure parameters. + */ + storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter }; +} + +/** + * @interface + * An interface representing DocumentDbCollectionSink. + * A copy activity Document Database Collection sink. + * + */ +export interface DocumentDbCollectionSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "DocumentDbCollectionSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [nestingSeparator] Nested properties separator. Default is . + * (dot). Type: string (or Expression with resultType string). + */ + nestingSeparator?: any; +} + +/** + * @interface + * An interface representing FileSystemSink. + * A copy activity file system sink. + * + */ +export interface FileSystemSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "FileSystemSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {CopyBehaviorType} [copyBehavior] The type of copy behavior for + * copy sink. Possible values include: 'PreserveHierarchy', + * 'FlattenHierarchy', 'MergeFiles' + */ + copyBehavior?: CopyBehaviorType; +} + +/** + * @interface + * An interface representing BlobSink. + * A copy activity Azure Blob sink. + * + */ +export interface BlobSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "BlobSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [blobWriterOverwriteFiles] Blob writer overwrite files. + * Type: boolean (or Expression with resultType boolean). + */ + blobWriterOverwriteFiles?: any; + /** + * @member {any} [blobWriterDateTimeFormat] Blob writer date time format. + * Type: string (or Expression with resultType string). + */ + blobWriterDateTimeFormat?: any; + /** + * @member {any} [blobWriterAddHeader] Blob writer add header. Type: boolean + * (or Expression with resultType boolean). + */ + blobWriterAddHeader?: any; + /** + * @member {CopyBehaviorType} [copyBehavior] The type of copy behavior for + * copy sink. Possible values include: 'PreserveHierarchy', + * 'FlattenHierarchy', 'MergeFiles' + */ + copyBehavior?: CopyBehaviorType; +} + +/** + * @interface + * An interface representing AzureTableSink. + * A copy activity Azure Table sink. + * + */ +export interface AzureTableSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureTableSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {any} [azureTableDefaultPartitionKeyValue] Azure Table default + * partition key value. Type: string (or Expression with resultType string). + */ + azureTableDefaultPartitionKeyValue?: any; + /** + * @member {any} [azureTablePartitionKeyName] Azure Table partition key name. + * Type: string (or Expression with resultType string). + */ + azureTablePartitionKeyName?: any; + /** + * @member {any} [azureTableRowKeyName] Azure Table row key name. Type: + * string (or Expression with resultType string). + */ + azureTableRowKeyName?: any; + /** + * @member {any} [azureTableInsertType] Azure Table insert type. Type: string + * (or Expression with resultType string). + */ + azureTableInsertType?: any; +} + +/** + * @interface + * An interface representing AzureQueueSink. + * A copy activity Azure Queue sink. + * + */ +export interface AzureQueueSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AzureQueueSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; +} + +/** + * @interface + * An interface representing SapCloudForCustomerSink. + * A copy activity SAP Cloud for Customer sink. + * + */ +export interface SapCloudForCustomerSink { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SapCloudForCustomerSink"; + /** + * @member {any} [writeBatchSize] Write batch size. Type: integer (or + * Expression with resultType integer), minimum: 0. + */ + writeBatchSize?: any; + /** + * @member {any} [writeBatchTimeout] 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; + /** + * @member {any} [sinkRetryCount] Sink retry count. Type: integer (or + * Expression with resultType integer). + */ + sinkRetryCount?: any; + /** + * @member {any} [sinkRetryWait] 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; + /** + * @member {any} [maxConcurrentConnections] The maximum concurrent connection + * count for the sink data store. Type: integer (or Expression with + * resultType integer). + */ + maxConcurrentConnections?: any; + /** + * @member {SapCloudForCustomerSinkWriteBehavior} [writeBehavior] The write + * behavior for the operation. Default is 'Insert'. Possible values include: + * 'Insert', 'Update' + */ + writeBehavior?: SapCloudForCustomerSinkWriteBehavior; +} + +/** + * @interface + * An interface representing CopyActivity. + * Copy activity. + * + */ +export interface CopyActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Copy"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {LinkedServiceReference} [linkedServiceName] Linked service + * reference. + */ + linkedServiceName?: LinkedServiceReference; + /** + * @member {ActivityPolicy} [policy] Activity policy. + */ + policy?: ActivityPolicy; + /** + * @member {CopySourceUnion} source Copy activity source. + */ + source: CopySourceUnion; + /** + * @member {CopySinkUnion} sink Copy activity sink. + */ + sink: CopySinkUnion; + /** + * @member {CopyTranslatorUnion} [translator] Copy activity translator. If + * not specified, tabular translator is used. + */ + translator?: CopyTranslatorUnion; + /** + * @member {any} [enableStaging] Specifies whether to copy data via an + * interim staging. Default value is false. Type: boolean (or Expression with + * resultType boolean). + */ + enableStaging?: any; + /** + * @member {StagingSettings} [stagingSettings] Specifies interim staging + * settings when EnableStaging is true. + */ + stagingSettings?: StagingSettings; + /** + * @member {any} [parallelCopies] 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; + /** + * @member {any} [dataIntegrationUnits] 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; + /** + * @member {any} [enableSkipIncompatibleRow] Whether to skip incompatible + * row. Default value is false. Type: boolean (or Expression with resultType + * boolean). + */ + enableSkipIncompatibleRow?: any; + /** + * @member {RedirectIncompatibleRowSettings} + * [redirectIncompatibleRowSettings] Redirect incompatible row settings when + * EnableSkipIncompatibleRow is true. + */ + redirectIncompatibleRowSettings?: RedirectIncompatibleRowSettings; + /** + * @member {any[]} [preserveRules] Preserve Rules. + */ + preserveRules?: any[]; + /** + * @member {DatasetReference[]} [inputs] List of inputs for the activity. + */ + inputs?: DatasetReference[]; + /** + * @member {DatasetReference[]} [outputs] 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 | IfConditionActivity | ExecutePipelineActivity; + +/** + * @interface + * An interface representing ControlActivity. + * Base class for all control activities like IfCondition, ForEach , Until. + * + */ +export interface ControlActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Container"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; +} + +/** + * @interface + * An interface representing WebHookActivity. + * WebHook activity. + * + */ +export interface WebHookActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "WebHook"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {any} url WebHook activity target endpoint and path. Type: string + * (or Expression with resultType string). + */ + url: any; + /** + * @member {string} [timeout] 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; + /** + * @member {any} [headers] 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; + /** + * @member {any} [body] 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; + /** + * @member {WebActivityAuthentication} [authentication] Authentication method + * used for calling the endpoint. + */ + authentication?: WebActivityAuthentication; +} + +/** + * @interface + * An interface representing AppendVariableActivity. + * Append value for a Variable of type Array. + * + */ +export interface AppendVariableActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "AppendVariable"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {string} [variableName] Name of the variable whose value needs to + * be appended to. + */ + variableName?: string; + /** + * @member {any} [value] Value to be appended. Could be a static value or + * Expression + */ + value?: any; +} + +/** + * @interface + * An interface representing SetVariableActivity. + * Set value for a Variable. + * + */ +export interface SetVariableActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SetVariable"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {string} [variableName] Name of the variable whose value needs to + * be set. + */ + variableName?: string; + /** + * @member {any} [value] Value to be set. Could be a static value or + * Expression + */ + value?: any; +} + +/** + * @interface + * An interface representing FilterActivity. + * Filter and return results from input array based on the conditions. + * + */ +export interface FilterActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Filter"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {Expression} items Input array on which filter should be applied. + */ + items: Expression; + /** + * @member {Expression} condition Condition to be used for filtering the + * input. + */ + condition: Expression; +} + +/** + * @interface + * An interface representing ValidationActivity. + * This activity verifies that an external resource exists. + * + */ +export interface ValidationActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Validation"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {any} [timeout] 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; + /** + * @member {any} [sleep] 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; + /** + * @member {any} [minimumSize] 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; + /** + * @member {any} [childItems] 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; + /** + * @member {DatasetReference} dataset Validation activity dataset reference. + */ + dataset: DatasetReference; +} + +/** + * @interface + * An interface representing UntilActivity. + * This activity executes inner activities until the specified boolean + * expression results to true or timeout is reached, whichever is earlier. + * + */ +export interface UntilActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Until"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {Expression} expression An expression that would evaluate to + * Boolean. The loop will continue until this expression evaluates to true + */ + expression: Expression; + /** + * @member {any} [timeout] 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; + /** + * @member {ActivityUnion[]} activities List of activities to execute. + */ + activities: ActivityUnion[]; +} + +/** + * @interface + * An interface representing WaitActivity. + * This activity suspends pipeline execution for the specified interval. + * + */ +export interface WaitActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Wait"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {number} waitTimeInSeconds Duration in seconds. + */ + waitTimeInSeconds: number; +} + +/** + * @interface + * An interface representing ForEachActivity. + * This activity is used for iterating over a collection and execute given + * activities. + * + */ +export interface ForEachActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ForEach"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {boolean} [isSequential] Should the loop be executed in sequence + * or in parallel (max 50) + */ + isSequential?: boolean; + /** + * @member {number} [batchCount] Batch count to be used for controlling the + * number of parallel execution (when isSequential is set to false). + */ + batchCount?: number; + /** + * @member {Expression} items Collection to iterate. + */ + items: Expression; + /** + * @member {ActivityUnion[]} activities List of activities to execute . + */ + activities: ActivityUnion[]; +} + +/** + * @interface + * An interface representing IfConditionActivity. + * 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 { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "IfCondition"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {Expression} expression 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; + /** + * @member {ActivityUnion[]} [ifTrueActivities] 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[]; + /** + * @member {ActivityUnion[]} [ifFalseActivities] 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[]; +} + +/** + * @interface + * An interface representing ExecutePipelineActivity. + * Execute pipeline activity. + * + */ +export interface ExecutePipelineActivity { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "ExecutePipeline"; + /** + * @member {string} name Activity name. + */ + name: string; + /** + * @member {string} [description] Activity description. + */ + description?: string; + /** + * @member {ActivityDependency[]} [dependsOn] Activity depends on condition. + */ + dependsOn?: ActivityDependency[]; + /** + * @member {UserProperty[]} [userProperties] Activity user properties. + */ + userProperties?: UserProperty[]; + /** + * @member {PipelineReference} pipelineProperty Pipeline reference. + */ + pipelineProperty: PipelineReference; + /** + * @member {{ [propertyName: string]: any }} [parameters] Pipeline + * parameters. + */ + parameters?: { [propertyName: string]: any }; + /** + * @member {boolean} [waitOnCompletion] Defines whether activity execution + * will wait for the dependent pipeline execution to finish. Default is + * false. + */ + waitOnCompletion?: boolean; +} + +/** + * @interface + * An interface representing LinkedIntegrationRuntime. + * The linked integration runtime information. + * + */ +export interface LinkedIntegrationRuntime { + /** + * @member {string} [name] 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; + /** + * @member {string} [subscriptionId] 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; + /** + * @member {string} [dataFactoryName] 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; + /** + * @member {string} [dataFactoryLocation] 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; + /** + * @member {Date} [createTime] 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; +} + +/** + * @interface + * An interface representing SelfHostedIntegrationRuntimeNode. + * Properties of Self-hosted integration runtime node. + * + */ +export interface SelfHostedIntegrationRuntimeNode { + /** + * @member {string} [nodeName] Name of the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nodeName?: string; + /** + * @member {string} [machineName] 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; + /** + * @member {string} [hostServiceUri] 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; + /** + * @member {SelfHostedIntegrationRuntimeNodeStatus} [status] 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; + /** + * @member {{ [propertyName: string]: string }} [capabilities] 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 }; + /** + * @member {string} [versionStatus] 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; + /** + * @member {string} [version] Version of the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly version?: string; + /** + * @member {Date} [registerTime] 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; + /** + * @member {Date} [lastConnectTime] 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; + /** + * @member {Date} [expiryTime] 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; + /** + * @member {Date} [lastStartTime] 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; + /** + * @member {Date} [lastStopTime] 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; + /** + * @member {IntegrationRuntimeUpdateResult} [lastUpdateResult] 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; + /** + * @member {Date} [lastStartUpdateTime] 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; + /** + * @member {Date} [lastEndUpdateTime] 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; + /** + * @member {boolean} [isActiveDispatcher] 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; + /** + * @member {number} [concurrentJobsLimit] 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; + /** + * @member {number} [maxConcurrentJobs] 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing SelfHostedIntegrationRuntimeStatus. + * Self-hosted integration runtime status. + * + */ +export interface SelfHostedIntegrationRuntimeStatus { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SelfHosted"; + /** + * @member {string} [dataFactoryName] 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; + /** + * @member {IntegrationRuntimeState} [state] 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; + /** + * @member {Date} [createTime] 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; + /** + * @member {string} [taskQueueId] 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; + /** + * @member {IntegrationRuntimeInternalChannelEncryptionMode} + * [internalChannelEncryption] 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; + /** + * @member {string} [version] Version of the integration runtime. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly version?: string; + /** + * @member {SelfHostedIntegrationRuntimeNode[]} [nodes] The list of nodes for + * this integration runtime. + */ + nodes?: SelfHostedIntegrationRuntimeNode[]; + /** + * @member {Date} [scheduledUpdateDate] 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; + /** + * @member {string} [updateDelayOffset] 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; + /** + * @member {string} [localTimeZoneOffset] 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; + /** + * @member {{ [propertyName: string]: string }} [capabilities] 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 }; + /** + * @member {string[]} [serviceUrls] 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[]; + /** + * @member {IntegrationRuntimeAutoUpdate} [autoUpdate] 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; + /** + * @member {string} [versionStatus] Status of the integration runtime + * version. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly versionStatus?: string; + /** + * @member {LinkedIntegrationRuntime[]} [links] The list of linked + * integration runtimes that are created to share with this integration + * runtime. + */ + links?: LinkedIntegrationRuntime[]; + /** + * @member {string} [pushedVersion] 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; + /** + * @member {string} [latestVersion] The latest version on download center. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly latestVersion?: string; + /** + * @member {Date} [autoUpdateETA] 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; +} + +/** + * @interface + * An interface representing ManagedIntegrationRuntimeOperationResult. + * Properties of managed integration runtime operation result. + * + */ +export interface ManagedIntegrationRuntimeOperationResult { + /** + * @member {string} [type] 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; + /** + * @member {Date} [startTime] The start time of the operation. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly startTime?: Date; + /** + * @member {string} [result] The operation result. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly result?: string; + /** + * @member {string} [errorCode] The error code. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly errorCode?: string; + /** + * @member {string[]} [parameters] Managed integration runtime error + * parameters. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly parameters?: string[]; + /** + * @member {string} [activityId] 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing ManagedIntegrationRuntimeError. + * Error definition for managed integration runtime. + * + */ +export interface ManagedIntegrationRuntimeError { + /** + * @member {Date} [time] The time when the error occurred. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly time?: Date; + /** + * @member {string} [code] Error code. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly code?: string; + /** + * @member {string[]} [parameters] Managed integration runtime error + * parameters. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly parameters?: string[]; + /** + * @member {string} [message] Error message. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly message?: string; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing ManagedIntegrationRuntimeNode. + * Properties of integration runtime node. + * + */ +export interface ManagedIntegrationRuntimeNode { + /** + * @member {string} [nodeId] The managed integration runtime node id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nodeId?: string; + /** + * @member {ManagedIntegrationRuntimeNodeStatus} [status] 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; + /** + * @member {ManagedIntegrationRuntimeError[]} [errors] The errors that + * occurred on this integration runtime node. + */ + errors?: ManagedIntegrationRuntimeError[]; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing ManagedIntegrationRuntimeStatus. + * Managed integration runtime status. + * + */ +export interface ManagedIntegrationRuntimeStatus { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Managed"; + /** + * @member {string} [dataFactoryName] 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; + /** + * @member {IntegrationRuntimeState} [state] 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; + /** + * @member {Date} [createTime] 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; + /** + * @member {ManagedIntegrationRuntimeNode[]} [nodes] 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[]; + /** + * @member {ManagedIntegrationRuntimeError[]} [otherErrors] 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[]; + /** + * @member {ManagedIntegrationRuntimeOperationResult} [lastOperation] 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; +} + +/** + * Contains the possible cases for LinkedIntegrationRuntimeType. + */ +export type LinkedIntegrationRuntimeTypeUnion = LinkedIntegrationRuntimeType | LinkedIntegrationRuntimeRbacAuthorization | LinkedIntegrationRuntimeKeyAuthorization; + +/** + * @interface + * An interface representing LinkedIntegrationRuntimeType. + * The base definition of a linked integration runtime. + * + */ +export interface LinkedIntegrationRuntimeType { + /** + * @member {string} authorizationType Polymorphic Discriminator + */ + authorizationType: "LinkedIntegrationRuntimeType"; +} + +/** + * @interface + * An interface representing LinkedIntegrationRuntimeRbacAuthorization. + * The role based access control (RBAC) authorization type integration runtime. + * + */ +export interface LinkedIntegrationRuntimeRbacAuthorization { + /** + * @member {string} authorizationType Polymorphic Discriminator + */ + authorizationType: "RBAC"; + /** + * @member {string} resourceId The resource identifier of the integration + * runtime to be shared. + */ + resourceId: string; +} + +/** + * @interface + * An interface representing LinkedIntegrationRuntimeKeyAuthorization. + * The key authorization type integration runtime. + * + */ +export interface LinkedIntegrationRuntimeKeyAuthorization { + /** + * @member {string} authorizationType Polymorphic Discriminator + */ + authorizationType: "Key"; + /** + * @member {SecureString} key The key used for authorization. + */ + key: SecureString; +} + +/** + * @interface + * An interface representing SelfHostedIntegrationRuntime. + * Self-hosted integration runtime. + * + */ +export interface SelfHostedIntegrationRuntime { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SelfHosted"; + /** + * @member {string} [description] Integration runtime description. + */ + description?: string; + /** + * @member {LinkedIntegrationRuntimeTypeUnion} [linkedInfo] + */ + linkedInfo?: LinkedIntegrationRuntimeTypeUnion; +} + +/** + * @interface + * An interface representing IntegrationRuntimeCustomSetupScriptProperties. + * Custom setup script properties for a managed dedicated integration runtime. + * + */ +export interface IntegrationRuntimeCustomSetupScriptProperties { + /** + * @member {string} [blobContainerUri] The URI of the Azure blob container + * that contains the custom setup script. + */ + blobContainerUri?: string; + /** + * @member {SecureString} [sasToken] The SAS token of the Azure blob + * container. + */ + sasToken?: SecureString; +} + +/** + * @interface + * An interface representing IntegrationRuntimeSsisCatalogInfo. + * Catalog information for managed dedicated integration runtime. + * + */ +export interface IntegrationRuntimeSsisCatalogInfo { + /** + * @member {string} [catalogServerEndpoint] The catalog database server URL. + */ + catalogServerEndpoint?: string; + /** + * @member {string} [catalogAdminUserName] The administrator user name of + * catalog database. + */ + catalogAdminUserName?: string; + /** + * @member {SecureString} [catalogAdminPassword] The password of the + * administrator user account of the catalog database. + */ + catalogAdminPassword?: SecureString; + /** + * @member {IntegrationRuntimeSsisCatalogPricingTier} [catalogPricingTier] + * 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing IntegrationRuntimeSsisProperties. + * SSIS properties for managed integration runtime. + * + */ +export interface IntegrationRuntimeSsisProperties { + /** + * @member {IntegrationRuntimeSsisCatalogInfo} [catalogInfo] Catalog + * information for managed dedicated integration runtime. + */ + catalogInfo?: IntegrationRuntimeSsisCatalogInfo; + /** + * @member {IntegrationRuntimeLicenseType} [licenseType] License type for + * bringing your own license scenario. Possible values include: 'BasePrice', + * 'LicenseIncluded' + */ + licenseType?: IntegrationRuntimeLicenseType; + /** + * @member {IntegrationRuntimeCustomSetupScriptProperties} + * [customSetupScriptProperties] Custom setup script properties for a managed + * dedicated integration runtime. + */ + customSetupScriptProperties?: IntegrationRuntimeCustomSetupScriptProperties; + /** + * @member {IntegrationRuntimeEdition} [edition] The edition for the SSIS + * Integration Runtime. Possible values include: 'Standard', 'Enterprise' + */ + edition?: IntegrationRuntimeEdition; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing IntegrationRuntimeVNetProperties. + * VNet properties for managed integration runtime. + * + */ +export interface IntegrationRuntimeVNetProperties { + /** + * @member {string} [vNetId] The ID of the VNet that this integration runtime + * will join. + */ + vNetId?: string; + /** + * @member {string} [subnet] The name of the subnet this integration runtime + * will join. + */ + subnet?: string; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing IntegrationRuntimeComputeProperties. + * The compute resource properties for managed integration runtime. + * + */ +export interface IntegrationRuntimeComputeProperties { + /** + * @member {string} [location] 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; + /** + * @member {string} [nodeSize] The node size requirement to managed + * integration runtime. + */ + nodeSize?: string; + /** + * @member {number} [numberOfNodes] The required number of nodes for managed + * integration runtime. + */ + numberOfNodes?: number; + /** + * @member {number} [maxParallelExecutionsPerNode] Maximum parallel + * executions count per node for managed integration runtime. + */ + maxParallelExecutionsPerNode?: number; + /** + * @member {IntegrationRuntimeVNetProperties} [vNetProperties] VNet + * properties for managed integration runtime. + */ + vNetProperties?: IntegrationRuntimeVNetProperties; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing ManagedIntegrationRuntime. + * Managed integration runtime, including managed elastic and managed dedicated + * integration runtimes. + * + */ +export interface ManagedIntegrationRuntime { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "Managed"; + /** + * @member {string} [description] Integration runtime description. + */ + description?: string; + /** + * @member {IntegrationRuntimeState} [state] 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; + /** + * @member {IntegrationRuntimeComputeProperties} [computeProperties] The + * compute resource for managed integration runtime. + */ + computeProperties?: IntegrationRuntimeComputeProperties; + /** + * @member {IntegrationRuntimeSsisProperties} [ssisProperties] SSIS + * properties for managed integration runtime. + */ + ssisProperties?: IntegrationRuntimeSsisProperties; +} + +/** + * @interface + * An interface representing IntegrationRuntimeNodeIpAddress. + * The IP address of self-hosted integration runtime node. + * + */ +export interface IntegrationRuntimeNodeIpAddress { + /** + * @member {string} [ipAddress] 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; +} + +/** + * @interface + * An interface representing SsisObjectMetadata. + * SSIS object metadata. + * + */ +export interface SsisObjectMetadata { + /** + * @member {string} type Polymorphic Discriminator + */ + type: "SsisObjectMetadata"; + /** + * @member {number} [id] Metadata id. + */ + id?: number; + /** + * @member {string} [name] Metadata name. + */ + name?: string; + /** + * @member {string} [description] Metadata description. + */ + description?: string; +} + +/** + * @interface + * An interface representing SsisObjectMetadataListResponse. + * A list of SSIS object metadata. + * + */ +export interface SsisObjectMetadataListResponse { + /** + * @member {SsisObjectMetadata[]} [value] List of SSIS object metadata. + */ + value?: SsisObjectMetadata[]; + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing IntegrationRuntimeNodeMonitoringData. + * Monitoring data for integration runtime node. + * + */ +export interface IntegrationRuntimeNodeMonitoringData { + /** + * @member {string} [nodeName] Name of the integration runtime node. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nodeName?: string; + /** + * @member {number} [availableMemoryInMB] 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; + /** + * @member {number} [cpuUtilization] 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; + /** + * @member {number} [concurrentJobsLimit] 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; + /** + * @member {number} [concurrentJobsRunning] 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; + /** + * @member {number} [maxConcurrentJobs] 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; + /** + * @member {number} [sentBytes] 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; + /** + * @member {number} [receivedBytes] 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; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing IntegrationRuntimeMonitoringData. + * Get monitoring data response. + * + */ +export interface IntegrationRuntimeMonitoringData { + /** + * @member {string} [name] Integration runtime name. + */ + name?: string; + /** + * @member {IntegrationRuntimeNodeMonitoringData[]} [nodes] Integration + * runtime node monitoring data. + */ + nodes?: IntegrationRuntimeNodeMonitoringData[]; +} + +/** + * @interface + * An interface representing IntegrationRuntimeAuthKeys. + * The integration runtime authentication keys. + * + */ +export interface IntegrationRuntimeAuthKeys { + /** + * @member {string} [authKey1] The primary integration runtime authentication + * key. + */ + authKey1?: string; + /** + * @member {string} [authKey2] The secondary integration runtime + * authentication key. + */ + authKey2?: string; +} + +/** + * @interface + * An interface representing IntegrationRuntimeRegenerateKeyParameters. + * Parameters to regenerate the authentication key. + * + */ +export interface IntegrationRuntimeRegenerateKeyParameters { + /** + * @member {IntegrationRuntimeAuthKeyName} [keyName] The name of the + * authentication key to regenerate. Possible values include: 'authKey1', + * 'authKey2' + */ + keyName?: IntegrationRuntimeAuthKeyName; +} + +/** + * @interface + * An interface representing IntegrationRuntimeConnectionInfo. + * Connection information for encrypting the on-premises data source + * credentials. + * + */ +export interface IntegrationRuntimeConnectionInfo { + /** + * @member {string} [serviceToken] 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; + /** + * @member {string} [identityCertThumbprint] 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; + /** + * @member {string} [hostServiceUri] 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; + /** + * @member {string} [version] The integration runtime version. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly version?: string; + /** + * @member {string} [publicKey] 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; + /** + * @member {boolean} [isIdentityCertExprired] Whether the identity + * certificate is expired. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly isIdentityCertExprired?: boolean; + /** + * @property Describes unknown properties. The value of an unknown property + * can be of "any" type. + */ + [property: string]: any; +} + +/** + * @interface + * An interface representing FactoriesCreateOrUpdateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface FactoriesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifMatch] 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; +} + +/** + * @interface + * An interface representing FactoriesGetOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface FactoriesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifNoneMatch] 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; +} + +/** + * @interface + * An interface representing IntegrationRuntimesCreateOrUpdateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationRuntimesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifMatch] 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; +} + +/** + * @interface + * An interface representing IntegrationRuntimesGetOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationRuntimesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifNoneMatch] 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; +} + +/** + * @interface + * An interface representing IntegrationRuntimeObjectMetadataGetOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface IntegrationRuntimeObjectMetadataGetOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {GetSsisObjectMetadataRequest} [getMetadataRequest] The parameters + * for getting a SSIS object metadata. + */ + getMetadataRequest?: GetSsisObjectMetadataRequest; +} + +/** + * @interface + * An interface representing LinkedServicesCreateOrUpdateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface LinkedServicesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifMatch] 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; +} + +/** + * @interface + * An interface representing LinkedServicesGetOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface LinkedServicesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifNoneMatch] 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; +} + +/** + * @interface + * An interface representing DatasetsCreateOrUpdateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface DatasetsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifMatch] 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; +} + +/** + * @interface + * An interface representing DatasetsGetOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface DatasetsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifNoneMatch] 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; +} + +/** + * @interface + * An interface representing PipelinesCreateOrUpdateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PipelinesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifMatch] 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; +} + +/** + * @interface + * An interface representing PipelinesGetOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PipelinesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifNoneMatch] 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; +} + +/** + * @interface + * An interface representing PipelinesCreateRunOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PipelinesCreateRunOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [referencePipelineRunId] 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; + /** + * @member {boolean} [isRecovery] 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; + /** + * @member {string} [startActivityName] In recovery mode, the rerun will + * start from this activity. If not specified, all activities will run. + */ + startActivityName?: string; + /** + * @member {{ [propertyName: string]: any }} [parameters] Parameters of the + * pipeline run. These parameters will be used only if the runId is not + * specified. + */ + parameters?: { [propertyName: string]: any }; +} + +/** + * @interface + * An interface representing PipelineRunsCancelOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface PipelineRunsCancelOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {boolean} [isRecursive] If true, cancel all the Child pipelines + * that are triggered by the current pipeline. + */ + isRecursive?: boolean; +} + +/** + * @interface + * An interface representing TriggersCreateOrUpdateOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface TriggersCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifMatch] 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; +} + +/** + * @interface + * An interface representing TriggersGetOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface TriggersGetOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [ifNoneMatch] 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; +} + +/** + * @interface + * An interface representing DataFactoryManagementClientOptions. + * @extends AzureServiceClientOptions + */ +export interface DataFactoryManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ + baseUri?: string; +} + + +/** + * @interface + * An interface representing the OperationListResponse. + * A list of operations that can be performed by the Data Factory service. + * + * @extends Array + */ +export interface OperationListResponse extends Array { + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the FactoryListResponse. + * A list of factory resources. + * + * @extends Array + */ +export interface FactoryListResponse extends Array { + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the IntegrationRuntimeListResponse. + * A list of integration runtime resources. + * + * @extends Array + */ +export interface IntegrationRuntimeListResponse extends Array { + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the LinkedServiceListResponse. + * A list of linked service resources. + * + * @extends Array + */ +export interface LinkedServiceListResponse extends Array { + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the DatasetListResponse. + * A list of dataset resources. + * + * @extends Array + */ +export interface DatasetListResponse extends Array { + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the PipelineListResponse. + * A list of pipeline resources. + * + * @extends Array + */ +export interface PipelineListResponse extends Array { + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the TriggerListResponse. + * A list of trigger resources. + * + * @extends Array + */ +export interface TriggerListResponse extends Array { + /** + * @member {string} [nextLink] The link to the next page of results, if any + * remaining results exist. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the RerunTriggerListResponse. + * A list of rerun triggers. + * + * @extends Array + */ +export interface RerunTriggerListResponse extends Array { + /** + * @member {string} [nextLink] The continuation token for getting the next + * page of results, if any remaining results exist, null otherwise. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly nextLink?: 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'; + +/** + * Defines values for IntegrationRuntimeAutoUpdate. + * Possible values include: 'On', 'Off' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeAutoUpdate = 'On' | 'Off'; + +/** + * 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'; + +/** + * Defines values for DependencyCondition. + * Possible values include: 'Succeeded', 'Failed', 'Skipped', 'Completed' + * @readonly + * @enum {string} + */ +export type DependencyCondition = 'Succeeded' | 'Failed' | 'Skipped' | 'Completed'; + +/** + * Defines values for VariableType. + * Possible values include: 'String', 'Bool', 'Array' + * @readonly + * @enum {string} + */ +export type VariableType = 'String' | 'Bool' | 'Array'; + +/** + * Defines values for TriggerRuntimeState. + * Possible values include: 'Started', 'Stopped', 'Disabled' + * @readonly + * @enum {string} + */ +export type TriggerRuntimeState = 'Started' | 'Stopped' | 'Disabled'; + +/** + * Defines values for RunQueryFilterOperand. + * Possible values include: 'PipelineName', 'Status', 'RunStart', 'RunEnd', 'ActivityName', + * 'ActivityRunStart', 'ActivityRunEnd', 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', + * 'RunGroupId', 'LatestOnly' + * @readonly + * @enum {string} + */ +export type RunQueryFilterOperand = 'PipelineName' | 'Status' | 'RunStart' | 'RunEnd' | 'ActivityName' | 'ActivityRunStart' | 'ActivityRunEnd' | 'ActivityType' | 'TriggerName' | 'TriggerRunTimestamp' | 'RunGroupId' | 'LatestOnly'; + +/** + * Defines values for RunQueryFilterOperator. + * Possible values include: 'Equals', 'NotEquals', 'In', 'NotIn' + * @readonly + * @enum {string} + */ +export type RunQueryFilterOperator = 'Equals' | 'NotEquals' | 'In' | 'NotIn'; + +/** + * Defines values for RunQueryOrderByField. + * Possible values include: 'RunStart', 'RunEnd', 'PipelineName', 'Status', 'ActivityName', + * 'ActivityRunStart', 'ActivityRunEnd', 'TriggerName', 'TriggerRunTimestamp' + * @readonly + * @enum {string} + */ +export type RunQueryOrderByField = 'RunStart' | 'RunEnd' | 'PipelineName' | 'Status' | 'ActivityName' | 'ActivityRunStart' | 'ActivityRunEnd' | 'TriggerName' | 'TriggerRunTimestamp'; + +/** + * Defines values for RunQueryOrder. + * Possible values include: 'ASC', 'DESC' + * @readonly + * @enum {string} + */ +export type RunQueryOrder = 'ASC' | 'DESC'; + +/** + * Defines values for TriggerRunStatus. + * Possible values include: 'Succeeded', 'Failed', 'Inprogress' + * @readonly + * @enum {string} + */ +export type TriggerRunStatus = 'Succeeded' | 'Failed' | 'Inprogress'; + +/** + * Defines values for TumblingWindowFrequency. + * Possible values include: 'Minute', 'Hour' + * @readonly + * @enum {string} + */ +export type TumblingWindowFrequency = 'Minute' | 'Hour'; + +/** + * Defines values for BlobEventTypes. + * Possible values include: 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobDeleted' + * @readonly + * @enum {string} + */ +export type BlobEventTypes = 'Microsoft.Storage.BlobCreated' | 'Microsoft.Storage.BlobDeleted'; + +/** + * Defines values for DayOfWeek. + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' + * @readonly + * @enum {string} + */ +export type DayOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; + +/** + * Defines values for DaysOfWeek. + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' + * @readonly + * @enum {string} + */ +export type DaysOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | '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'; + +/** + * Defines values for GoogleAdWordsAuthenticationType. + * Possible values include: 'ServiceAuthentication', 'UserAuthentication' + * @readonly + * @enum {string} + */ +export type GoogleAdWordsAuthenticationType = 'ServiceAuthentication' | 'UserAuthentication'; + +/** + * Defines values for SparkServerType. + * Possible values include: 'SharkServer', 'SharkServer2', 'SparkThriftServer' + * @readonly + * @enum {string} + */ +export type SparkServerType = 'SharkServer' | 'SharkServer2' | 'SparkThriftServer'; + +/** + * Defines values for SparkThriftTransportProtocol. + * Possible values include: 'Binary', 'SASL', 'HTTP ' + * @readonly + * @enum {string} + */ +export type SparkThriftTransportProtocol = 'Binary' | 'SASL' | 'HTTP '; + +/** + * Defines values for SparkAuthenticationType. + * Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', + * 'WindowsAzureHDInsightService' + * @readonly + * @enum {string} + */ +export type SparkAuthenticationType = 'Anonymous' | 'Username' | 'UsernameAndPassword' | 'WindowsAzureHDInsightService'; + +/** + * Defines values for ServiceNowAuthenticationType. + * Possible values include: 'Basic', 'OAuth2' + * @readonly + * @enum {string} + */ +export type ServiceNowAuthenticationType = 'Basic' | 'OAuth2'; + +/** + * Defines values for PrestoAuthenticationType. + * Possible values include: 'Anonymous', 'LDAP' + * @readonly + * @enum {string} + */ +export type PrestoAuthenticationType = 'Anonymous' | 'LDAP'; + +/** + * Defines values for PhoenixAuthenticationType. + * Possible values include: 'Anonymous', 'UsernameAndPassword', 'WindowsAzureHDInsightService' + * @readonly + * @enum {string} + */ +export type PhoenixAuthenticationType = 'Anonymous' | 'UsernameAndPassword' | 'WindowsAzureHDInsightService'; + +/** + * Defines values for ImpalaAuthenticationType. + * Possible values include: 'Anonymous', 'SASLUsername', 'UsernameAndPassword' + * @readonly + * @enum {string} + */ +export type ImpalaAuthenticationType = 'Anonymous' | 'SASLUsername' | 'UsernameAndPassword'; + +/** + * Defines values for HiveServerType. + * Possible values include: 'HiveServer1', 'HiveServer2', 'HiveThriftServer' + * @readonly + * @enum {string} + */ +export type HiveServerType = 'HiveServer1' | 'HiveServer2' | 'HiveThriftServer'; + +/** + * Defines values for HiveThriftTransportProtocol. + * Possible values include: 'Binary', 'SASL', 'HTTP ' + * @readonly + * @enum {string} + */ +export type HiveThriftTransportProtocol = 'Binary' | 'SASL' | 'HTTP '; + +/** + * Defines values for HiveAuthenticationType. + * Possible values include: 'Anonymous', 'Username', 'UsernameAndPassword', + * 'WindowsAzureHDInsightService' + * @readonly + * @enum {string} + */ +export type HiveAuthenticationType = 'Anonymous' | 'Username' | 'UsernameAndPassword' | 'WindowsAzureHDInsightService'; + +/** + * Defines values for HBaseAuthenticationType. + * Possible values include: 'Anonymous', 'Basic' + * @readonly + * @enum {string} + */ +export type HBaseAuthenticationType = 'Anonymous' | 'Basic'; + +/** + * Defines values for GoogleBigQueryAuthenticationType. + * Possible values include: 'ServiceAuthentication', 'UserAuthentication' + * @readonly + * @enum {string} + */ +export type GoogleBigQueryAuthenticationType = 'ServiceAuthentication' | 'UserAuthentication'; + +/** + * Defines values for SapHanaAuthenticationType. + * Possible values include: 'Basic', 'Windows' + * @readonly + * @enum {string} + */ +export type SapHanaAuthenticationType = 'Basic' | 'Windows'; + +/** + * Defines values for SftpAuthenticationType. + * Possible values include: 'Basic', 'SshPublicKey' + * @readonly + * @enum {string} + */ +export type SftpAuthenticationType = 'Basic' | 'SshPublicKey'; + +/** + * Defines values for FtpAuthenticationType. + * Possible values include: 'Basic', 'Anonymous' + * @readonly + * @enum {string} + */ +export type FtpAuthenticationType = 'Basic' | 'Anonymous'; + +/** + * Defines values for HttpAuthenticationType. + * Possible values include: 'Basic', 'Anonymous', 'Digest', 'Windows', 'ClientCertificate' + * @readonly + * @enum {string} + */ +export type HttpAuthenticationType = 'Basic' | 'Anonymous' | 'Digest' | 'Windows' | 'ClientCertificate'; + +/** + * Defines values for RestServiceAuthenticationType. + * Possible values include: 'Anonymous', 'Basic', 'AadServicePrincipal', 'ManagedServiceIdentity' + * @readonly + * @enum {string} + */ +export type RestServiceAuthenticationType = 'Anonymous' | 'Basic' | 'AadServicePrincipal' | 'ManagedServiceIdentity'; + +/** + * Defines values for MongoDbAuthenticationType. + * Possible values include: 'Basic', 'Anonymous' + * @readonly + * @enum {string} + */ +export type MongoDbAuthenticationType = 'Basic' | 'Anonymous'; + +/** + * Defines values for ODataAuthenticationType. + * Possible values include: 'Basic', 'Anonymous', 'Windows', 'AadServicePrincipal', + * 'ManagedServiceIdentity' + * @readonly + * @enum {string} + */ +export type ODataAuthenticationType = 'Basic' | 'Anonymous' | 'Windows' | 'AadServicePrincipal' | 'ManagedServiceIdentity'; + +/** + * Defines values for ODataAadServicePrincipalCredentialType. + * Possible values include: 'ServicePrincipalKey', 'ServicePrincipalCert' + * @readonly + * @enum {string} + */ +export type ODataAadServicePrincipalCredentialType = 'ServicePrincipalKey' | 'ServicePrincipalCert'; + +/** + * Defines values for TeradataAuthenticationType. + * Possible values include: 'Basic', 'Windows' + * @readonly + * @enum {string} + */ +export type TeradataAuthenticationType = 'Basic' | 'Windows'; + +/** + * Defines values for Db2AuthenticationType. + * Possible values include: 'Basic' + * @readonly + * @enum {string} + */ +export type Db2AuthenticationType = 'Basic'; + +/** + * Defines values for SybaseAuthenticationType. + * Possible values include: 'Basic', 'Windows' + * @readonly + * @enum {string} + */ +export type SybaseAuthenticationType = 'Basic' | 'Windows'; + +/** + * Defines values for DatasetCompressionLevel. + * Possible values include: 'Optimal', 'Fastest' + * @readonly + * @enum {string} + */ +export type DatasetCompressionLevel = 'Optimal' | 'Fastest'; + +/** + * Defines values for JsonFormatFilePattern. + * Possible values include: 'setOfObjects', 'arrayOfObjects' + * @readonly + * @enum {string} + */ +export type JsonFormatFilePattern = 'setOfObjects' | 'arrayOfObjects'; + +/** + * 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'; + +/** + * Defines values for WebActivityMethod. + * Possible values include: 'GET', 'POST', 'PUT', 'DELETE' + * @readonly + * @enum {string} + */ +export type WebActivityMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'; + +/** + * 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'; + +/** + * Defines values for StoredProcedureParameterType. + * Possible values include: 'String', 'Int', 'Decimal', 'Guid', 'Boolean', 'Date' + * @readonly + * @enum {string} + */ +export type StoredProcedureParameterType = 'String' | 'Int' | 'Decimal' | 'Guid' | 'Boolean' | 'Date'; + +/** + * Defines values for SalesforceSourceReadBehavior. + * Possible values include: 'Query', 'QueryAll' + * @readonly + * @enum {string} + */ +export type SalesforceSourceReadBehavior = 'Query' | 'QueryAll'; + +/** + * Defines values for HDInsightActivityDebugInfoOption. + * Possible values include: 'None', 'Always', 'Failure' + * @readonly + * @enum {string} + */ +export type HDInsightActivityDebugInfoOption = 'None' | 'Always' | 'Failure'; + +/** + * Defines values for SalesforceSinkWriteBehavior. + * Possible values include: 'Insert', 'Upsert' + * @readonly + * @enum {string} + */ +export type SalesforceSinkWriteBehavior = 'Insert' | 'Upsert'; + +/** + * Defines values for AzureSearchIndexWriteBehaviorType. + * Possible values include: 'Merge', 'Upload' + * @readonly + * @enum {string} + */ +export type AzureSearchIndexWriteBehaviorType = 'Merge' | 'Upload'; + +/** + * Defines values for CopyBehaviorType. + * Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles' + * @readonly + * @enum {string} + */ +export type CopyBehaviorType = 'PreserveHierarchy' | 'FlattenHierarchy' | 'MergeFiles'; + +/** + * Defines values for PolybaseSettingsRejectType. + * Possible values include: 'value', 'percentage' + * @readonly + * @enum {string} + */ +export type PolybaseSettingsRejectType = 'value' | 'percentage'; + +/** + * Defines values for SapCloudForCustomerSinkWriteBehavior. + * Possible values include: 'Insert', 'Update' + * @readonly + * @enum {string} + */ +export type SapCloudForCustomerSinkWriteBehavior = 'Insert' | 'Update'; + +/** + * Defines values for WebHookActivityMethod. + * Possible values include: 'POST' + * @readonly + * @enum {string} + */ +export type WebHookActivityMethod = 'POST'; + +/** + * Defines values for IntegrationRuntimeType. + * Possible values include: 'Managed', 'SelfHosted' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeType = 'Managed' | 'SelfHosted'; + +/** + * 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'; + +/** + * Defines values for IntegrationRuntimeUpdateResult. + * Possible values include: 'None', 'Succeed', 'Fail' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeUpdateResult = 'None' | 'Succeed' | 'Fail'; + +/** + * Defines values for IntegrationRuntimeInternalChannelEncryptionMode. + * Possible values include: 'NotSet', 'SslEncrypted', 'NotEncrypted' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeInternalChannelEncryptionMode = 'NotSet' | 'SslEncrypted' | 'NotEncrypted'; + +/** + * Defines values for ManagedIntegrationRuntimeNodeStatus. + * Possible values include: 'Starting', 'Available', 'Recycling', 'Unavailable' + * @readonly + * @enum {string} + */ +export type ManagedIntegrationRuntimeNodeStatus = 'Starting' | 'Available' | 'Recycling' | 'Unavailable'; + +/** + * Defines values for IntegrationRuntimeSsisCatalogPricingTier. + * Possible values include: 'Basic', 'Standard', 'Premium', 'PremiumRS' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeSsisCatalogPricingTier = 'Basic' | 'Standard' | 'Premium' | 'PremiumRS'; + +/** + * Defines values for IntegrationRuntimeLicenseType. + * Possible values include: 'BasePrice', 'LicenseIncluded' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeLicenseType = 'BasePrice' | 'LicenseIncluded'; + +/** + * Defines values for IntegrationRuntimeEdition. + * Possible values include: 'Standard', 'Enterprise' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeEdition = 'Standard' | 'Enterprise'; + +/** + * Defines values for SsisObjectMetadataType. + * Possible values include: 'Folder', 'Project', 'Package', 'Environment' + * @readonly + * @enum {string} + */ +export type SsisObjectMetadataType = 'Folder' | 'Project' | 'Package' | 'Environment'; + +/** + * Defines values for IntegrationRuntimeAuthKeyName. + * Possible values include: 'authKey1', 'authKey2' + * @readonly + * @enum {string} + */ +export type IntegrationRuntimeAuthKeyName = 'authKey1' | 'authKey2'; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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; + }; +}; + +/** + * 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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; + }; +}; + +/** + * 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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; + }; +}; + +/** + * 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 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 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; + }; +}; + +/** + * 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 create operation. + */ +export type RerunTriggersCreateResponse = 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 listByTrigger operation. + */ +export type RerunTriggersListByTriggerResponse = RerunTriggerListResponse & { + /** + * 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: RerunTriggerListResponse; + }; +}; + +/** + * Contains response data for the listByTriggerNext operation. + */ +export type RerunTriggersListByTriggerNextResponse = RerunTriggerListResponse & { + /** + * 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: RerunTriggerListResponse; + }; +}; + +/** + * 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; + }; +}; diff --git a/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimeNodesMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimeNodesMappers.ts new file mode 100644 index 000000000000..2e0f79821cfd --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimeNodesMappers.ts @@ -0,0 +1,18 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + SelfHostedIntegrationRuntimeNode, + CloudError, + UpdateIntegrationRuntimeNodeRequest, + IntegrationRuntimeNodeIpAddress +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimeObjectMetadataMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimeObjectMetadataMappers.ts new file mode 100644 index 000000000000..c58ec1f5588b --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimeObjectMetadataMappers.ts @@ -0,0 +1,19 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + SsisObjectMetadataStatusResponse, + CloudError, + GetSsisObjectMetadataRequest, + SsisObjectMetadataListResponse, + SsisObjectMetadata +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimesMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimesMappers.ts new file mode 100644 index 000000000000..3c660ed066b9 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/integrationRuntimesMappers.ts @@ -0,0 +1,383 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + IntegrationRuntimeListResponse, + IntegrationRuntimeResource, + SubResource, + BaseResource, + IntegrationRuntime, + CloudError, + UpdateIntegrationRuntimeRequest, + IntegrationRuntimeStatusResponse, + IntegrationRuntimeStatus, + IntegrationRuntimeConnectionInfo, + IntegrationRuntimeRegenerateKeyParameters, + IntegrationRuntimeAuthKeys, + IntegrationRuntimeMonitoringData, + IntegrationRuntimeNodeMonitoringData, + LinkedIntegrationRuntimeRequest, + CreateLinkedIntegrationRuntimeRequest, + Resource, + Factory, + FactoryIdentity, + FactoryRepoConfiguration, + LinkedServiceResource, + LinkedService, + IntegrationRuntimeReference, + ParameterSpecification, + DatasetResource, + Dataset, + LinkedServiceReference, + DatasetFolder, + PipelineResource, + Activity, + ActivityDependency, + UserProperty, + VariableSpecification, + PipelineFolder, + TriggerResource, + Trigger, + FactoryVSTSConfiguration, + FactoryGitHubConfiguration, + RerunTumblingWindowTrigger, + RerunTriggerResource, + TumblingWindowTrigger, + TriggerPipelineReference, + PipelineReference, + RetryPolicy, + DependencyReference, + MultiplePipelineTrigger, + AzureFunctionLinkedService, + SecretBase, + AzureDataExplorerLinkedService, + GoogleAdWordsLinkedService, + OracleServiceCloudLinkedService, + DynamicsAXLinkedService, + ResponsysLinkedService, + AzureDatabricksLinkedService, + AzureDataLakeAnalyticsLinkedService, + HDInsightOnDemandLinkedService, + ScriptAction, + SalesforceMarketingCloudLinkedService, + NetezzaLinkedService, + AzureKeyVaultSecretReference, + VerticaLinkedService, + ZohoLinkedService, + XeroLinkedService, + SquareLinkedService, + SparkLinkedService, + ShopifyLinkedService, + ServiceNowLinkedService, + QuickBooksLinkedService, + PrestoLinkedService, + PhoenixLinkedService, + PaypalLinkedService, + MarketoLinkedService, + 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, + SalesforceLinkedService, + Office365LinkedService, + AzureBlobFSLinkedService, + AzureDataLakeStoreLinkedService, + CosmosDbMongoDbApiLinkedService, + MongoDbV2LinkedService, + MongoDbLinkedService, + CassandraLinkedService, + WebLinkedService, + WebLinkedServiceTypeProperties, + ODataLinkedService, + HdfsLinkedService, + OdbcLinkedService, + AzureMLLinkedService, + TeradataLinkedService, + Db2LinkedService, + SybaseLinkedService, + PostgreSqlLinkedService, + MySqlLinkedService, + AzureMySqlLinkedService, + OracleLinkedService, + FileServerLinkedService, + HDInsightLinkedService, + DynamicsLinkedService, + CosmosDbLinkedService, + AzureKeyVaultLinkedService, + AzureBatchLinkedService, + AzureSqlDatabaseLinkedService, + SqlServerLinkedService, + AzureSqlDWLinkedService, + AzureTableStorageLinkedService, + AzureBlobStorageLinkedService, + AzureStorageLinkedService, + GoogleAdWordsObjectDataset, + AzureDataExplorerTableDataset, + OracleServiceCloudObjectDataset, + DynamicsAXResourceDataset, + ResponsysObjectDataset, + SalesforceMarketingCloudObjectDataset, + VerticaTableDataset, + NetezzaTableDataset, + ZohoObjectDataset, + XeroObjectDataset, + SquareObjectDataset, + SparkObjectDataset, + ShopifyObjectDataset, + ServiceNowObjectDataset, + QuickBooksObjectDataset, + PrestoObjectDataset, + PhoenixObjectDataset, + PaypalObjectDataset, + MarketoObjectDataset, + MariaDBTableDataset, + MagentoObjectDataset, + JiraObjectDataset, + ImpalaObjectDataset, + HubspotObjectDataset, + HiveObjectDataset, + HBaseObjectDataset, + GreenplumTableDataset, + GoogleBigQueryObjectDataset, + EloquaObjectDataset, + DrillTableDataset, + CouchbaseTableDataset, + ConcurObjectDataset, + AzurePostgreSqlTableDataset, + AmazonMWSObjectDataset, + HttpDataset, + DatasetStorageFormat, + DatasetCompression, + AzureSearchIndexDataset, + WebTableDataset, + RestResourceDataset, + SqlServerTableDataset, + SapOpenHubTableDataset, + SapEccResourceDataset, + SapCloudForCustomerResourceDataset, + SalesforceObjectDataset, + RelationalTableDataset, + AzureMySqlTableDataset, + OracleTableDataset, + ODataResourceDataset, + CosmosDbMongoDbApiCollectionDataset, + MongoDbV2CollectionDataset, + MongoDbCollectionDataset, + FileShareDataset, + Office365Dataset, + AzureBlobFSDataset, + AzureDataLakeStoreDataset, + DynamicsEntityDataset, + DocumentDbCollectionDataset, + CustomDataset, + CassandraTableDataset, + AzureSqlDWTableDataset, + AzureSqlTableDataset, + AzureTableDataset, + AzureBlobDataset, + AmazonS3Dataset, + ExecutionActivity, + ActivityPolicy, + ControlActivity, + SelfHostedIntegrationRuntimeStatus, + SelfHostedIntegrationRuntimeNode, + LinkedIntegrationRuntime, + ManagedIntegrationRuntimeStatus, + ManagedIntegrationRuntimeNode, + ManagedIntegrationRuntimeError, + ManagedIntegrationRuntimeOperationResult, + SelfHostedIntegrationRuntime, + LinkedIntegrationRuntimeType, + ManagedIntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeVNetProperties, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeSsisCatalogInfo, + SecureString, + IntegrationRuntimeCustomSetupScriptProperties, + SelfDependencyTumblingWindowTriggerReference, + TriggerDependencyReference, + TriggerReference, + BlobEventsTrigger, + BlobTrigger, + ScheduleTrigger, + ScheduleTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WebClientCertificateAuthentication, + WebBasicAuthentication, + WebAnonymousAuthentication, + DatasetZipDeflateCompression, + DatasetDeflateCompression, + DatasetGZipCompression, + DatasetBZip2Compression, + ParquetFormat, + OrcFormat, + AvroFormat, + JsonFormat, + TextFormat, + AzureFunctionActivity, + DatabricksSparkPythonActivity, + DatabricksSparkJarActivity, + DatabricksNotebookActivity, + DataLakeAnalyticsUSQLActivity, + AzureMLUpdateResourceActivity, + AzureMLBatchExecutionActivity, + AzureMLWebServiceFile, + GetMetadataActivity, + DatasetReference, + WebActivity, + WebActivityAuthentication, + LookupActivity, + CopySource, + DeleteActivity, + LogStorageSettings, + SqlServerStoredProcedureActivity, + StoredProcedureParameter, + CustomActivity, + CustomActivityReferenceObject, + ExecuteSSISPackageActivity, + SSISPackageLocation, + SSISExecutionCredential, + SSISExecutionParameter, + SSISPropertyOverride, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HDInsightMapReduceActivity, + HDInsightPigActivity, + HDInsightHiveActivity, + CopyActivity, + CopySink, + CopyTranslator, + StagingSettings, + RedirectIncompatibleRowSettings, + WebHookActivity, + AppendVariableActivity, + SetVariableActivity, + FilterActivity, + Expression, + ValidationActivity, + UntilActivity, + WaitActivity, + ForEachActivity, + IfConditionActivity, + ExecutePipelineActivity, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeKeyAuthorization, + TumblingWindowTriggerDependencyReference, + AmazonRedshiftSource, + RedshiftUnloadSettings, + GoogleAdWordsSource, + OracleServiceCloudSource, + DynamicsAXSource, + ResponsysSource, + SalesforceMarketingCloudSource, + VerticaSource, + NetezzaSource, + ZohoSource, + XeroSource, + SquareSource, + SparkSource, + ShopifySource, + ServiceNowSource, + QuickBooksSource, + PrestoSource, + PhoenixSource, + PaypalSource, + MarketoSource, + MariaDBSource, + MagentoSource, + JiraSource, + ImpalaSource, + HubspotSource, + HiveSource, + HBaseSource, + GreenplumSource, + GoogleBigQuerySource, + EloquaSource, + DrillSource, + CouchbaseSource, + ConcurSource, + AzurePostgreSqlSource, + AmazonMWSSource, + HttpSource, + AzureBlobFSSource, + AzureDataLakeStoreSource, + Office365Source, + CosmosDbMongoDbApiSource, + MongoDbCursorMethodsProperties, + MongoDbV2Source, + MongoDbSource, + CassandraSource, + WebSource, + OracleSource, + AzureDataExplorerSource, + AzureMySqlSource, + HdfsSource, + DistcpSettings, + FileSystemSource, + SqlDWSource, + SqlSource, + RestSource, + SapOpenHubSource, + SapEccSource, + SapCloudForCustomerSource, + SalesforceSource, + RelationalSource, + DynamicsSource, + DocumentDbCollectionSource, + BlobSource, + AzureTableSource, + TabularTranslator, + CosmosDbMongoDbApiSink, + SalesforceSink, + AzureDataExplorerSink, + DynamicsSink, + OdbcSink, + AzureSearchIndexSink, + AzureBlobFSSink, + AzureDataLakeStoreSink, + OracleSink, + SqlDWSink, + PolybaseSettings, + SqlSink, + DocumentDbCollectionSink, + FileSystemSink, + BlobSink, + AzureTableSink, + AzureQueueSink, + SapCloudForCustomerSink +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/linkedServicesMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/linkedServicesMappers.ts new file mode 100644 index 000000000000..9a551eee90a6 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/linkedServicesMappers.ts @@ -0,0 +1,366 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + LinkedServiceListResponse, + LinkedServiceResource, + SubResource, + BaseResource, + LinkedService, + IntegrationRuntimeReference, + ParameterSpecification, + CloudError, + Resource, + Factory, + FactoryIdentity, + FactoryRepoConfiguration, + IntegrationRuntimeResource, + IntegrationRuntime, + DatasetResource, + Dataset, + LinkedServiceReference, + DatasetFolder, + PipelineResource, + Activity, + ActivityDependency, + UserProperty, + VariableSpecification, + PipelineFolder, + TriggerResource, + Trigger, + FactoryVSTSConfiguration, + FactoryGitHubConfiguration, + RerunTumblingWindowTrigger, + RerunTriggerResource, + TumblingWindowTrigger, + TriggerPipelineReference, + PipelineReference, + RetryPolicy, + DependencyReference, + MultiplePipelineTrigger, + AzureFunctionLinkedService, + SecretBase, + AzureDataExplorerLinkedService, + GoogleAdWordsLinkedService, + OracleServiceCloudLinkedService, + DynamicsAXLinkedService, + ResponsysLinkedService, + AzureDatabricksLinkedService, + AzureDataLakeAnalyticsLinkedService, + HDInsightOnDemandLinkedService, + ScriptAction, + SalesforceMarketingCloudLinkedService, + NetezzaLinkedService, + AzureKeyVaultSecretReference, + VerticaLinkedService, + ZohoLinkedService, + XeroLinkedService, + SquareLinkedService, + SparkLinkedService, + ShopifyLinkedService, + ServiceNowLinkedService, + QuickBooksLinkedService, + PrestoLinkedService, + PhoenixLinkedService, + PaypalLinkedService, + MarketoLinkedService, + 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, + SalesforceLinkedService, + Office365LinkedService, + AzureBlobFSLinkedService, + AzureDataLakeStoreLinkedService, + CosmosDbMongoDbApiLinkedService, + MongoDbV2LinkedService, + MongoDbLinkedService, + CassandraLinkedService, + WebLinkedService, + WebLinkedServiceTypeProperties, + ODataLinkedService, + HdfsLinkedService, + OdbcLinkedService, + AzureMLLinkedService, + TeradataLinkedService, + Db2LinkedService, + SybaseLinkedService, + PostgreSqlLinkedService, + MySqlLinkedService, + AzureMySqlLinkedService, + OracleLinkedService, + FileServerLinkedService, + HDInsightLinkedService, + DynamicsLinkedService, + CosmosDbLinkedService, + AzureKeyVaultLinkedService, + AzureBatchLinkedService, + AzureSqlDatabaseLinkedService, + SqlServerLinkedService, + AzureSqlDWLinkedService, + AzureTableStorageLinkedService, + AzureBlobStorageLinkedService, + AzureStorageLinkedService, + GoogleAdWordsObjectDataset, + AzureDataExplorerTableDataset, + OracleServiceCloudObjectDataset, + DynamicsAXResourceDataset, + ResponsysObjectDataset, + SalesforceMarketingCloudObjectDataset, + VerticaTableDataset, + NetezzaTableDataset, + ZohoObjectDataset, + XeroObjectDataset, + SquareObjectDataset, + SparkObjectDataset, + ShopifyObjectDataset, + ServiceNowObjectDataset, + QuickBooksObjectDataset, + PrestoObjectDataset, + PhoenixObjectDataset, + PaypalObjectDataset, + MarketoObjectDataset, + MariaDBTableDataset, + MagentoObjectDataset, + JiraObjectDataset, + ImpalaObjectDataset, + HubspotObjectDataset, + HiveObjectDataset, + HBaseObjectDataset, + GreenplumTableDataset, + GoogleBigQueryObjectDataset, + EloquaObjectDataset, + DrillTableDataset, + CouchbaseTableDataset, + ConcurObjectDataset, + AzurePostgreSqlTableDataset, + AmazonMWSObjectDataset, + HttpDataset, + DatasetStorageFormat, + DatasetCompression, + AzureSearchIndexDataset, + WebTableDataset, + RestResourceDataset, + SqlServerTableDataset, + SapOpenHubTableDataset, + SapEccResourceDataset, + SapCloudForCustomerResourceDataset, + SalesforceObjectDataset, + RelationalTableDataset, + AzureMySqlTableDataset, + OracleTableDataset, + ODataResourceDataset, + CosmosDbMongoDbApiCollectionDataset, + MongoDbV2CollectionDataset, + MongoDbCollectionDataset, + FileShareDataset, + Office365Dataset, + AzureBlobFSDataset, + AzureDataLakeStoreDataset, + DynamicsEntityDataset, + DocumentDbCollectionDataset, + CustomDataset, + CassandraTableDataset, + AzureSqlDWTableDataset, + AzureSqlTableDataset, + AzureTableDataset, + AzureBlobDataset, + AmazonS3Dataset, + ExecutionActivity, + ActivityPolicy, + ControlActivity, + SelfHostedIntegrationRuntime, + LinkedIntegrationRuntimeType, + ManagedIntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeVNetProperties, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeSsisCatalogInfo, + SecureString, + IntegrationRuntimeCustomSetupScriptProperties, + SelfDependencyTumblingWindowTriggerReference, + TriggerDependencyReference, + TriggerReference, + BlobEventsTrigger, + BlobTrigger, + ScheduleTrigger, + ScheduleTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WebClientCertificateAuthentication, + WebBasicAuthentication, + WebAnonymousAuthentication, + DatasetZipDeflateCompression, + DatasetDeflateCompression, + DatasetGZipCompression, + DatasetBZip2Compression, + ParquetFormat, + OrcFormat, + AvroFormat, + JsonFormat, + TextFormat, + AzureFunctionActivity, + DatabricksSparkPythonActivity, + DatabricksSparkJarActivity, + DatabricksNotebookActivity, + DataLakeAnalyticsUSQLActivity, + AzureMLUpdateResourceActivity, + AzureMLBatchExecutionActivity, + AzureMLWebServiceFile, + GetMetadataActivity, + DatasetReference, + WebActivity, + WebActivityAuthentication, + LookupActivity, + CopySource, + DeleteActivity, + LogStorageSettings, + SqlServerStoredProcedureActivity, + StoredProcedureParameter, + CustomActivity, + CustomActivityReferenceObject, + ExecuteSSISPackageActivity, + SSISPackageLocation, + SSISExecutionCredential, + SSISExecutionParameter, + SSISPropertyOverride, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HDInsightMapReduceActivity, + HDInsightPigActivity, + HDInsightHiveActivity, + CopyActivity, + CopySink, + CopyTranslator, + StagingSettings, + RedirectIncompatibleRowSettings, + WebHookActivity, + AppendVariableActivity, + SetVariableActivity, + FilterActivity, + Expression, + ValidationActivity, + UntilActivity, + WaitActivity, + ForEachActivity, + IfConditionActivity, + ExecutePipelineActivity, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeKeyAuthorization, + TumblingWindowTriggerDependencyReference, + AmazonRedshiftSource, + RedshiftUnloadSettings, + GoogleAdWordsSource, + OracleServiceCloudSource, + DynamicsAXSource, + ResponsysSource, + SalesforceMarketingCloudSource, + VerticaSource, + NetezzaSource, + ZohoSource, + XeroSource, + SquareSource, + SparkSource, + ShopifySource, + ServiceNowSource, + QuickBooksSource, + PrestoSource, + PhoenixSource, + PaypalSource, + MarketoSource, + MariaDBSource, + MagentoSource, + JiraSource, + ImpalaSource, + HubspotSource, + HiveSource, + HBaseSource, + GreenplumSource, + GoogleBigQuerySource, + EloquaSource, + DrillSource, + CouchbaseSource, + ConcurSource, + AzurePostgreSqlSource, + AmazonMWSSource, + HttpSource, + AzureBlobFSSource, + AzureDataLakeStoreSource, + Office365Source, + CosmosDbMongoDbApiSource, + MongoDbCursorMethodsProperties, + MongoDbV2Source, + MongoDbSource, + CassandraSource, + WebSource, + OracleSource, + AzureDataExplorerSource, + AzureMySqlSource, + HdfsSource, + DistcpSettings, + FileSystemSource, + SqlDWSource, + SqlSource, + RestSource, + SapOpenHubSource, + SapEccSource, + SapCloudForCustomerSource, + SalesforceSource, + RelationalSource, + DynamicsSource, + DocumentDbCollectionSource, + BlobSource, + AzureTableSource, + TabularTranslator, + CosmosDbMongoDbApiSink, + SalesforceSink, + AzureDataExplorerSink, + DynamicsSink, + OdbcSink, + AzureSearchIndexSink, + AzureBlobFSSink, + AzureDataLakeStoreSink, + OracleSink, + SqlDWSink, + PolybaseSettings, + SqlSink, + DocumentDbCollectionSink, + FileSystemSink, + BlobSink, + AzureTableSink, + AzureQueueSink, + SapCloudForCustomerSink +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/mappers.ts b/sdk/datafactory/arm-datafactory/lib/models/mappers.ts new file mode 100644 index 000000000000..85fd87ff4ba2 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/mappers.ts @@ -0,0 +1,15886 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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"; + +export const CloudError = CloudErrorMapper; +export const BaseResource = BaseResourceMapper; + +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + eTag: { + readOnly: true, + serializedName: "eTag", + type: { + name: "String" + } + } + } + } +}; + +export const SubResource: msRest.CompositeMapper = { + serializedName: "SubResource", + type: { + name: "Composite", + className: "SubResource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const Expression: msRest.CompositeMapper = { + serializedName: "Expression", + type: { + name: "Composite", + className: "Expression", + modelProperties: { + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'Expression', + type: { + name: "String" + } + }, + value: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const SecretBase: msRest.CompositeMapper = { + serializedName: "SecretBase", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", + className: "SecretBase", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const SecureString: msRest.CompositeMapper = { + serializedName: "SecureString", + type: { + name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", + className: "SecureString", + modelProperties: { + ...SecretBase.type.modelProperties, + value: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const LinkedServiceReference: msRest.CompositeMapper = { + serializedName: "LinkedServiceReference", + type: { + name: "Composite", + className: "LinkedServiceReference", + modelProperties: { + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'LinkedServiceReference', + type: { + name: "String" + } + }, + referenceName: { + required: true, + serializedName: "referenceName", + type: { + name: "String" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const AzureKeyVaultSecretReference: msRest.CompositeMapper = { + serializedName: "AzureKeyVaultSecret", + type: { + name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", + className: "AzureKeyVaultSecretReference", + modelProperties: { + ...SecretBase.type.modelProperties, + store: { + required: true, + serializedName: "store", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + secretName: { + required: true, + serializedName: "secretName", + type: { + name: "Object" + } + }, + secretVersion: { + serializedName: "secretVersion", + type: { + name: "Object" + } + } + } + } +}; + +export const FactoryIdentity: msRest.CompositeMapper = { + serializedName: "FactoryIdentity", + type: { + name: "Composite", + className: "FactoryIdentity", + modelProperties: { + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'SystemAssigned', + type: { + name: "String" + } + }, + principalId: { + readOnly: true, + serializedName: "principalId", + type: { + name: "Uuid" + } + }, + tenantId: { + readOnly: true, + serializedName: "tenantId", + type: { + name: "Uuid" + } + } + } + } +}; + +export const FactoryRepoConfiguration: msRest.CompositeMapper = { + serializedName: "FactoryRepoConfiguration", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "FactoryRepoConfiguration", + className: "FactoryRepoConfiguration", + modelProperties: { + accountName: { + required: true, + serializedName: "accountName", + type: { + name: "String" + } + }, + repositoryName: { + required: true, + serializedName: "repositoryName", + type: { + name: "String" + } + }, + collaborationBranch: { + required: true, + serializedName: "collaborationBranch", + type: { + name: "String" + } + }, + rootFolder: { + required: true, + serializedName: "rootFolder", + type: { + name: "String" + } + }, + lastCommitId: { + serializedName: "lastCommitId", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const Factory: msRest.CompositeMapper = { + serializedName: "Factory", + type: { + name: "Composite", + className: "Factory", + modelProperties: { + ...Resource.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "FactoryIdentity" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + createTime: { + readOnly: true, + serializedName: "properties.createTime", + type: { + name: "DateTime" + } + }, + version: { + readOnly: true, + serializedName: "properties.version", + type: { + name: "String" + } + }, + repoConfiguration: { + serializedName: "properties.repoConfiguration", + type: { + name: "Composite", + className: "FactoryRepoConfiguration" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntime: msRest.CompositeMapper = { + serializedName: "IntegrationRuntime", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "IntegrationRuntime", + className: "IntegrationRuntime", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeResource: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeResource", + type: { + name: "Composite", + className: "IntegrationRuntimeResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "IntegrationRuntime", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const IntegrationRuntimeReference: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeReference", + type: { + name: "Composite", + className: "IntegrationRuntimeReference", + modelProperties: { + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'IntegrationRuntimeReference', + type: { + name: "String" + } + }, + referenceName: { + required: true, + serializedName: "referenceName", + type: { + name: "String" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const IntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeStatus", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "IntegrationRuntimeStatus", + className: "IntegrationRuntimeStatus", + modelProperties: { + dataFactoryName: { + readOnly: true, + serializedName: "dataFactoryName", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "state", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeStatusResponse: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeStatusResponse", + type: { + name: "Composite", + className: "IntegrationRuntimeStatusResponse", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "IntegrationRuntimeStatus", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const IntegrationRuntimeStatusListResponse: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeStatusListResponse", + type: { + name: "Composite", + className: "IntegrationRuntimeStatusListResponse", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeStatusResponse" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateIntegrationRuntimeRequest: msRest.CompositeMapper = { + serializedName: "UpdateIntegrationRuntimeRequest", + type: { + name: "Composite", + className: "UpdateIntegrationRuntimeRequest", + modelProperties: { + autoUpdate: { + serializedName: "autoUpdate", + type: { + name: "String" + } + }, + updateDelayOffset: { + serializedName: "updateDelayOffset", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateIntegrationRuntimeNodeRequest: msRest.CompositeMapper = { + serializedName: "UpdateIntegrationRuntimeNodeRequest", + type: { + name: "Composite", + className: "UpdateIntegrationRuntimeNodeRequest", + modelProperties: { + concurrentJobsLimit: { + serializedName: "concurrentJobsLimit", + constraints: { + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } + } + } +}; + +export const LinkedIntegrationRuntimeRequest: msRest.CompositeMapper = { + serializedName: "LinkedIntegrationRuntimeRequest", + type: { + name: "Composite", + className: "LinkedIntegrationRuntimeRequest", + modelProperties: { + linkedFactoryName: { + required: true, + serializedName: "factoryName", + type: { + name: "String" + } + } + } + } +}; + +export const CreateLinkedIntegrationRuntimeRequest: msRest.CompositeMapper = { + serializedName: "CreateLinkedIntegrationRuntimeRequest", + type: { + name: "Composite", + className: "CreateLinkedIntegrationRuntimeRequest", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + subscriptionId: { + serializedName: "subscriptionId", + type: { + name: "String" + } + }, + dataFactoryName: { + serializedName: "dataFactoryName", + type: { + name: "String" + } + }, + dataFactoryLocation: { + serializedName: "dataFactoryLocation", + type: { + name: "String" + } + } + } + } +}; + +export const ParameterSpecification: msRest.CompositeMapper = { + serializedName: "ParameterSpecification", + type: { + name: "Composite", + className: "ParameterSpecification", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + }, + defaultValue: { + serializedName: "defaultValue", + type: { + name: "Object" + } + } + } + } +}; + +export const LinkedService: msRest.CompositeMapper = { + serializedName: "LinkedService", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "LinkedService", + className: "LinkedService", + modelProperties: { + connectVia: { + serializedName: "connectVia", + type: { + name: "Composite", + className: "IntegrationRuntimeReference" + } + }, + description: { + serializedName: "description", + 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", + 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" + } + } + } + } +}; + +export const Dataset: msRest.CompositeMapper = { + serializedName: "Dataset", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Dataset", + className: "Dataset", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" + } + }, + structure: { + serializedName: "structure", + type: { + name: "Object" + } + }, + schema: { + serializedName: "schema", + type: { + name: "Object" + } + }, + linkedServiceName: { + required: true, + serializedName: "linkedServiceName", + defaultValue: {}, + 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: "Object" + } + } + } + }, + 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", + type: { + name: "Composite", + className: "DatasetResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + defaultValue: {}, + type: { + name: "Composite", + className: "Dataset", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const ActivityDependency: msRest.CompositeMapper = { + serializedName: "ActivityDependency", + type: { + name: "Composite", + className: "ActivityDependency", + modelProperties: { + activity: { + required: true, + serializedName: "activity", + type: { + name: "String" + } + }, + dependencyConditions: { + required: true, + serializedName: "dependencyConditions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const UserProperty: msRest.CompositeMapper = { + serializedName: "UserProperty", + type: { + name: "Composite", + className: "UserProperty", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + value: { + required: true, + serializedName: "value", + type: { + name: "Object" + } + } + } + } +}; + +export const Activity: msRest.CompositeMapper = { + serializedName: "Activity", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Activity", + className: "Activity", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + dependsOn: { + serializedName: "dependsOn", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityDependency", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + userProperties: { + serializedName: "userProperties", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UserProperty" + } + } + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const VariableSpecification: msRest.CompositeMapper = { + serializedName: "VariableSpecification", + type: { + name: "Composite", + className: "VariableSpecification", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + }, + defaultValue: { + serializedName: "defaultValue", + type: { + name: "Object" + } + } + } + } +}; + +export const PipelineFolder: msRest.CompositeMapper = { + serializedName: "Pipeline_folder", + type: { + name: "Composite", + className: "PipelineFolder", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const PipelineResource: msRest.CompositeMapper = { + serializedName: "PipelineResource", + type: { + name: "Composite", + className: "PipelineResource", + modelProperties: { + ...SubResource.type.modelProperties, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + activities: { + serializedName: "properties.activities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "ParameterSpecification" + } + } + } + }, + variables: { + serializedName: "properties.variables", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "VariableSpecification" + } + } + } + }, + concurrency: { + serializedName: "properties.concurrency", + constraints: { + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + annotations: { + serializedName: "properties.annotations", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + folder: { + serializedName: "properties.folder", + type: { + name: "Composite", + className: "PipelineFolder" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const Trigger: msRest.CompositeMapper = { + serializedName: "Trigger", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Trigger", + className: "Trigger", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" + } + }, + runtimeState: { + readOnly: true, + serializedName: "runtimeState", + type: { + name: "String" + } + }, + annotations: { + serializedName: "annotations", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const TriggerResource: msRest.CompositeMapper = { + serializedName: "TriggerResource", + type: { + name: "Composite", + className: "TriggerResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "Trigger", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const CreateRunResponse: msRest.CompositeMapper = { + serializedName: "CreateRunResponse", + type: { + name: "Composite", + className: "CreateRunResponse", + modelProperties: { + runId: { + required: true, + serializedName: "runId", + 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", + type: { + name: "String" + } + }, + tenantId: { + serializedName: "tenantId", + type: { + name: "String" + } + } + } + } +}; + +export const FactoryGitHubConfiguration: msRest.CompositeMapper = { + serializedName: "FactoryGitHubConfiguration", + type: { + name: "Composite", + polymorphicDiscriminator: FactoryRepoConfiguration.type.polymorphicDiscriminator, + uberParent: "FactoryRepoConfiguration", + className: "FactoryGitHubConfiguration", + modelProperties: { + ...FactoryRepoConfiguration.type.modelProperties, + hostName: { + serializedName: "hostName", + type: { + name: "String" + } + } + } + } +}; + +export const FactoryRepoUpdate: msRest.CompositeMapper = { + serializedName: "FactoryRepoUpdate", + type: { + name: "Composite", + className: "FactoryRepoUpdate", + modelProperties: { + factoryResourceId: { + serializedName: "factoryResourceId", + type: { + name: "String" + } + }, + repoConfiguration: { + serializedName: "repoConfiguration", + type: { + name: "Composite", + className: "FactoryRepoConfiguration" + } + } + } + } +}; + +export const GitHubAccessTokenRequest: msRest.CompositeMapper = { + serializedName: "GitHubAccessTokenRequest", + type: { + name: "Composite", + className: "GitHubAccessTokenRequest", + modelProperties: { + gitHubAccessCode: { + required: true, + serializedName: "gitHubAccessCode", + type: { + name: "String" + } + }, + gitHubClientId: { + serializedName: "gitHubClientId", + type: { + name: "String" + } + }, + gitHubAccessTokenBaseUrl: { + required: true, + serializedName: "gitHubAccessTokenBaseUrl", + type: { + name: "String" + } + } + } + } +}; + +export const GitHubAccessTokenResponse: msRest.CompositeMapper = { + serializedName: "GitHubAccessTokenResponse", + type: { + name: "Composite", + className: "GitHubAccessTokenResponse", + modelProperties: { + gitHubAccessToken: { + serializedName: "gitHubAccessToken", + type: { + name: "String" + } + } + } + } +}; + +export const UserAccessPolicy: msRest.CompositeMapper = { + serializedName: "UserAccessPolicy", + type: { + name: "Composite", + className: "UserAccessPolicy", + modelProperties: { + permissions: { + serializedName: "permissions", + type: { + name: "String" + } + }, + accessResourcePath: { + serializedName: "accessResourcePath", + type: { + name: "String" + } + }, + profileName: { + serializedName: "profileName", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "String" + } + }, + expireTime: { + serializedName: "expireTime", + type: { + name: "String" + } + } + } + } +}; + +export const AccessPolicyResponse: msRest.CompositeMapper = { + serializedName: "AccessPolicyResponse", + type: { + name: "Composite", + className: "AccessPolicyResponse", + modelProperties: { + policy: { + serializedName: "policy", + type: { + name: "Composite", + className: "UserAccessPolicy" + } + }, + accessToken: { + serializedName: "accessToken", + type: { + name: "String" + } + }, + dataPlaneUrl: { + serializedName: "dataPlaneUrl", + type: { + name: "String" + } + } + } + } +}; + +export const PipelineReference: msRest.CompositeMapper = { + serializedName: "PipelineReference", + type: { + name: "Composite", + className: "PipelineReference", + modelProperties: { + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'PipelineReference', + type: { + name: "String" + } + }, + referenceName: { + required: true, + serializedName: "referenceName", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const TriggerPipelineReference: msRest.CompositeMapper = { + serializedName: "TriggerPipelineReference", + type: { + name: "Composite", + className: "TriggerPipelineReference", + modelProperties: { + pipelineReference: { + serializedName: "pipelineReference", + type: { + name: "Composite", + className: "PipelineReference" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const FactoryUpdateParameters: msRest.CompositeMapper = { + serializedName: "FactoryUpdateParameters", + type: { + name: "Composite", + className: "FactoryUpdateParameters", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "FactoryIdentity" + } + } + } + } +}; + +export const DatasetReference: msRest.CompositeMapper = { + serializedName: "DatasetReference", + type: { + name: "Composite", + className: "DatasetReference", + modelProperties: { + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'DatasetReference', + type: { + name: "String" + } + }, + referenceName: { + required: true, + serializedName: "referenceName", + type: { + name: "String" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } +}; + +export const RunQueryFilter: msRest.CompositeMapper = { + serializedName: "RunQueryFilter", + type: { + name: "Composite", + className: "RunQueryFilter", + modelProperties: { + operand: { + required: true, + serializedName: "operand", + type: { + name: "String" + } + }, + operator: { + required: true, + serializedName: "operator", + type: { + name: "String" + } + }, + values: { + required: true, + serializedName: "values", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const RunQueryOrderBy: msRest.CompositeMapper = { + serializedName: "RunQueryOrderBy", + type: { + name: "Composite", + className: "RunQueryOrderBy", + modelProperties: { + orderBy: { + required: true, + serializedName: "orderBy", + type: { + name: "String" + } + }, + order: { + required: true, + serializedName: "order", + type: { + name: "String" + } + } + } + } +}; + +export const RunFilterParameters: msRest.CompositeMapper = { + serializedName: "RunFilterParameters", + type: { + name: "Composite", + className: "RunFilterParameters", + modelProperties: { + continuationToken: { + serializedName: "continuationToken", + type: { + name: "String" + } + }, + lastUpdatedAfter: { + required: true, + serializedName: "lastUpdatedAfter", + type: { + name: "DateTime" + } + }, + lastUpdatedBefore: { + required: true, + serializedName: "lastUpdatedBefore", + type: { + name: "DateTime" + } + }, + filters: { + serializedName: "filters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunQueryFilter" + } + } + } + }, + orderBy: { + serializedName: "orderBy", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RunQueryOrderBy" + } + } + } + } + } + } +}; + +export const PipelineRunInvokedBy: msRest.CompositeMapper = { + serializedName: "PipelineRunInvokedBy", + type: { + name: "Composite", + className: "PipelineRunInvokedBy", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + invokedByType: { + readOnly: true, + serializedName: "invokedByType", + type: { + name: "String" + } + } + } + } +}; + +export const PipelineRun: msRest.CompositeMapper = { + serializedName: "PipelineRun", + type: { + name: "Composite", + className: "PipelineRun", + modelProperties: { + runId: { + readOnly: true, + serializedName: "runId", + type: { + name: "String" + } + }, + runGroupId: { + readOnly: true, + serializedName: "runGroupId", + type: { + name: "String" + } + }, + isLatest: { + readOnly: true, + serializedName: "isLatest", + type: { + name: "Boolean" + } + }, + pipelineName: { + readOnly: true, + serializedName: "pipelineName", + type: { + name: "String" + } + }, + parameters: { + readOnly: true, + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + invokedBy: { + readOnly: true, + serializedName: "invokedBy", + type: { + name: "Composite", + className: "PipelineRunInvokedBy" + } + }, + lastUpdated: { + readOnly: true, + serializedName: "lastUpdated", + type: { + name: "DateTime" + } + }, + runStart: { + readOnly: true, + serializedName: "runStart", + type: { + name: "DateTime" + } + }, + runEnd: { + readOnly: true, + serializedName: "runEnd", + type: { + name: "DateTime" + } + }, + durationInMs: { + readOnly: true, + serializedName: "durationInMs", + type: { + name: "Number" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const PipelineRunsQueryResponse: msRest.CompositeMapper = { + serializedName: "PipelineRunsQueryResponse", + type: { + name: "Composite", + className: "PipelineRunsQueryResponse", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PipelineRun", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + continuationToken: { + serializedName: "continuationToken", + type: { + name: "String" + } + } + } + } +}; + +export const ActivityRun: msRest.CompositeMapper = { + serializedName: "ActivityRun", + type: { + name: "Composite", + className: "ActivityRun", + modelProperties: { + pipelineName: { + readOnly: true, + serializedName: "pipelineName", + type: { + name: "String" + } + }, + pipelineRunId: { + readOnly: true, + serializedName: "pipelineRunId", + type: { + name: "String" + } + }, + activityName: { + readOnly: true, + serializedName: "activityName", + type: { + name: "String" + } + }, + activityType: { + readOnly: true, + serializedName: "activityType", + type: { + name: "String" + } + }, + activityRunId: { + readOnly: true, + serializedName: "activityRunId", + type: { + name: "String" + } + }, + linkedServiceName: { + readOnly: true, + serializedName: "linkedServiceName", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + activityRunStart: { + readOnly: true, + serializedName: "activityRunStart", + type: { + name: "DateTime" + } + }, + activityRunEnd: { + readOnly: true, + serializedName: "activityRunEnd", + type: { + name: "DateTime" + } + }, + durationInMs: { + readOnly: true, + serializedName: "durationInMs", + type: { + name: "Number" + } + }, + input: { + readOnly: true, + serializedName: "input", + type: { + name: "Object" + } + }, + output: { + readOnly: true, + serializedName: "output", + type: { + name: "Object" + } + }, + error: { + readOnly: true, + serializedName: "error", + type: { + name: "Object" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ActivityRunsQueryResponse: msRest.CompositeMapper = { + serializedName: "ActivityRunsQueryResponse", + type: { + name: "Composite", + className: "ActivityRunsQueryResponse", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ActivityRun", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + continuationToken: { + serializedName: "continuationToken", + type: { + name: "String" + } + } + } + } +}; + +export const TriggerRun: msRest.CompositeMapper = { + serializedName: "TriggerRun", + type: { + name: "Composite", + className: "TriggerRun", + modelProperties: { + triggerRunId: { + readOnly: true, + serializedName: "triggerRunId", + type: { + name: "String" + } + }, + triggerName: { + readOnly: true, + serializedName: "triggerName", + type: { + name: "String" + } + }, + triggerType: { + readOnly: true, + serializedName: "triggerType", + type: { + name: "String" + } + }, + triggerRunTimestamp: { + readOnly: true, + serializedName: "triggerRunTimestamp", + type: { + name: "DateTime" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + }, + properties: { + readOnly: true, + serializedName: "properties", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + triggeredPipelines: { + readOnly: true, + serializedName: "triggeredPipelines", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const TriggerRunsQueryResponse: msRest.CompositeMapper = { + serializedName: "TriggerRunsQueryResponse", + type: { + name: "Composite", + className: "TriggerRunsQueryResponse", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TriggerRun", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + continuationToken: { + serializedName: "continuationToken", + type: { + name: "String" + } + } + } + } +}; + +export const RerunTumblingWindowTriggerActionParameters: msRest.CompositeMapper = { + serializedName: "RerunTumblingWindowTriggerActionParameters", + type: { + name: "Composite", + className: "RerunTumblingWindowTriggerActionParameters", + modelProperties: { + startTime: { + required: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + required: true, + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + maxConcurrency: { + required: true, + serializedName: "maxConcurrency", + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } + } + } +}; + +export const RerunTumblingWindowTrigger: msRest.CompositeMapper = { + serializedName: "RerunTumblingWindowTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "RerunTumblingWindowTrigger", + modelProperties: { + ...Trigger.type.modelProperties, + parentTrigger: { + serializedName: "typeProperties.parentTrigger", + type: { + name: "Object" + } + }, + requestedStartTime: { + required: true, + serializedName: "typeProperties.requestedStartTime", + type: { + name: "DateTime" + } + }, + requestedEndTime: { + required: true, + serializedName: "typeProperties.requestedEndTime", + type: { + name: "DateTime" + } + }, + maxConcurrency: { + required: true, + serializedName: "typeProperties.maxConcurrency", + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const RerunTriggerResource: msRest.CompositeMapper = { + serializedName: "RerunTriggerResource", + type: { + name: "Composite", + className: "RerunTriggerResource", + modelProperties: { + ...SubResource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "RerunTumblingWindowTrigger", + additionalProperties: Trigger.type.additionalProperties + } + } + } + } +}; + +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "Operation_display", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" + } + }, + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + } + } + } +}; + +export const OperationLogSpecification: msRest.CompositeMapper = { + serializedName: "OperationLogSpecification", + type: { + name: "Composite", + className: "OperationLogSpecification", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", + type: { + name: "String" + } + } + } + } +}; + +export const OperationMetricAvailability: msRest.CompositeMapper = { + serializedName: "OperationMetricAvailability", + type: { + name: "Composite", + className: "OperationMetricAvailability", + modelProperties: { + timeGrain: { + serializedName: "timeGrain", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", + type: { + name: "String" + } + } + } + } +}; + +export const OperationMetricDimension: msRest.CompositeMapper = { + serializedName: "OperationMetricDimension", + type: { + name: "Composite", + className: "OperationMetricDimension", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + toBeExportedForShoebox: { + serializedName: "toBeExportedForShoebox", + type: { + name: "Boolean" + } + } + } + } +}; + +export const OperationMetricSpecification: msRest.CompositeMapper = { + serializedName: "OperationMetricSpecification", + type: { + name: "Composite", + className: "OperationMetricSpecification", + 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", + type: { + name: "Composite", + className: "OperationServiceSpecification", + modelProperties: { + logSpecifications: { + serializedName: "logSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationLogSpecification" + } + } + } + }, + metricSpecifications: { + serializedName: "metricSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OperationMetricSpecification" + } + } + } + } + } + } +}; + +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + origin: { + serializedName: "origin", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + }, + serviceSpecification: { + serializedName: "properties.serviceSpecification", + type: { + name: "Composite", + className: "OperationServiceSpecification" + } + } + } + } +}; + +export const GetSsisObjectMetadataRequest: msRest.CompositeMapper = { + serializedName: "GetSsisObjectMetadataRequest", + type: { + name: "Composite", + className: "GetSsisObjectMetadataRequest", + modelProperties: { + metadataPath: { + serializedName: "metadataPath", + type: { + name: "String" + } + } + } + } +}; + +export const SsisObjectMetadataStatusResponse: msRest.CompositeMapper = { + serializedName: "SsisObjectMetadataStatusResponse", + type: { + name: "Composite", + className: "SsisObjectMetadataStatusResponse", + 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", + type: { + name: "Composite", + className: "ExposureControlRequest", + modelProperties: { + featureName: { + serializedName: "featureName", + type: { + name: "String" + } + }, + featureType: { + serializedName: "featureType", + type: { + name: "String" + } + } + } + } +}; + +export const ExposureControlResponse: msRest.CompositeMapper = { + serializedName: "ExposureControlResponse", + type: { + name: "Composite", + className: "ExposureControlResponse", + modelProperties: { + featureName: { + readOnly: true, + serializedName: "featureName", + type: { + name: "String" + } + }, + value: { + readOnly: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +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", + type: { + name: "String" + } + } + } + } +}; + +export const SelfDependencyTumblingWindowTriggerReference: msRest.CompositeMapper = { + serializedName: "SelfDependencyTumblingWindowTriggerReference", + type: { + name: "Composite", + polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, + uberParent: "DependencyReference", + className: "SelfDependencyTumblingWindowTriggerReference", + 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]))/ + }, + type: { + name: "String" + } + }, + size: { + serializedName: "size", + constraints: { + MaxLength: 15, + MinLength: 8, + Pattern: /((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ + }, + type: { + name: "String" + } + } + } + } +}; + +export const TriggerReference: msRest.CompositeMapper = { + serializedName: "TriggerReference", + type: { + name: "Composite", + className: "TriggerReference", + modelProperties: { + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'TriggerReference', + type: { + name: "String" + } + }, + referenceName: { + required: true, + serializedName: "referenceName", + type: { + name: "String" + } + } + } + } +}; + +export const TriggerDependencyReference: msRest.CompositeMapper = { + serializedName: "TriggerDependencyReference", + type: { + name: "Composite", + polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, + uberParent: "DependencyReference", + className: "TriggerDependencyReference", + modelProperties: { + ...DependencyReference.type.modelProperties, + referenceTrigger: { + required: true, + serializedName: "referenceTrigger", + defaultValue: {}, + type: { + name: "Composite", + className: "TriggerReference" + } + } + } + } +}; + +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]))/ + }, + type: { + name: "String" + } + }, + size: { + serializedName: "size", + constraints: { + MaxLength: 15, + MinLength: 8, + Pattern: /((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ + }, + type: { + name: "String" + } + } + } + } +}; + +export const RetryPolicy: msRest.CompositeMapper = { + serializedName: "RetryPolicy", + type: { + name: "Composite", + className: "RetryPolicy", + modelProperties: { + count: { + serializedName: "count", + type: { + name: "Object" + } + }, + intervalInSeconds: { + serializedName: "intervalInSeconds", + constraints: { + InclusiveMaximum: 86400, + InclusiveMinimum: 30 + }, + type: { + name: "Number" + } + } + } + } +}; + +export const TumblingWindowTrigger: msRest.CompositeMapper = { + serializedName: "TumblingWindowTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "TumblingWindowTrigger", + modelProperties: { + ...Trigger.type.modelProperties, + pipelineProperty: { + required: true, + serializedName: "pipeline", + defaultValue: {}, + type: { + name: "Composite", + className: "TriggerPipelineReference" + } + }, + frequency: { + required: true, + serializedName: "typeProperties.frequency", + type: { + name: "String" + } + }, + interval: { + required: true, + serializedName: "typeProperties.interval", + type: { + name: "Number" + } + }, + startTime: { + required: true, + serializedName: "typeProperties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "typeProperties.endTime", + type: { + name: "DateTime" + } + }, + delay: { + serializedName: "typeProperties.delay", + type: { + name: "Object" + } + }, + maxConcurrency: { + required: true, + serializedName: "typeProperties.maxConcurrency", + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 1 + }, + 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: 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", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TriggerPipelineReference" + } + } + } + } + }, + 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", + type: { + name: "String" + } + }, + blobPathEndsWith: { + serializedName: "typeProperties.blobPathEndsWith", + type: { + name: "String" + } + }, + events: { + required: true, + serializedName: "typeProperties.events", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + scope: { + required: true, + serializedName: "typeProperties.scope", + type: { + name: "String" + } + } + }, + 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", + type: { + name: "String" + } + }, + maxConcurrency: { + required: true, + serializedName: "typeProperties.maxConcurrency", + type: { + name: "Number" + } + }, + linkedService: { + required: true, + serializedName: "typeProperties.linkedService", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const RecurrenceScheduleOccurrence: msRest.CompositeMapper = { + serializedName: "RecurrenceScheduleOccurrence", + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence", + modelProperties: { + day: { + serializedName: "day", + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + occurrence: { + serializedName: "occurrence", + type: { + name: "Number" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const RecurrenceSchedule: msRest.CompositeMapper = { + serializedName: "RecurrenceSchedule", + type: { + name: "Composite", + className: "RecurrenceSchedule", + modelProperties: { + minutes: { + serializedName: "minutes", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + hours: { + serializedName: "hours", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + weekDays: { + serializedName: "weekDays", + type: { + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + } + } + }, + monthDays: { + serializedName: "monthDays", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + monthlyOccurrences: { + serializedName: "monthlyOccurrences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ScheduleTriggerRecurrence: msRest.CompositeMapper = { + serializedName: "ScheduleTriggerRecurrence", + type: { + name: "Composite", + className: "ScheduleTriggerRecurrence", + modelProperties: { + frequency: { + serializedName: "frequency", + type: { + name: "String" + } + }, + interval: { + serializedName: "interval", + type: { + name: "Number" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + timeZone: { + serializedName: "timeZone", + type: { + name: "String" + } + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "RecurrenceSchedule", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + 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", + type: { + name: "Composite", + className: "ScheduleTriggerRecurrence", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const AzureFunctionLinkedService: msRest.CompositeMapper = { + serializedName: "AzureFunction", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureFunctionLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + functionAppUrl: { + required: true, + serializedName: "typeProperties.functionAppUrl", + type: { + name: "Object" + } + }, + functionKey: { + serializedName: "typeProperties.functionKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureDataExplorerLinkedService: msRest.CompositeMapper = { + serializedName: "AzureDataExplorer", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureDataExplorerLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + required: true, + serializedName: "typeProperties.endpoint", + type: { + name: "Object" + } + }, + servicePrincipalId: { + required: true, + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + required: true, + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + database: { + required: true, + serializedName: "typeProperties.database", + type: { + name: "Object" + } + }, + tenant: { + required: true, + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const GoogleAdWordsLinkedService: msRest.CompositeMapper = { + serializedName: "GoogleAdWords", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "GoogleAdWordsLinkedService", + 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", + type: { + name: "String" + } + }, + refreshToken: { + serializedName: "typeProperties.refreshToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "Composite", + className: "SecretBase" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const OracleServiceCloudLinkedService: msRest.CompositeMapper = { + serializedName: "OracleServiceCloud", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "OracleServiceCloudLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + username: { + required: true, + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + required: true, + serializedName: "typeProperties.password", + 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" + } + } + }, + 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" + } + }, + servicePrincipalId: { + required: true, + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + required: true, + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + required: true, + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + aadResourceId: { + required: true, + serializedName: "typeProperties.aadResourceId", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const ResponsysLinkedService: msRest.CompositeMapper = { + serializedName: "Responsys", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "ResponsysLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + required: true, + serializedName: "typeProperties.endpoint", + type: { + name: "Object" + } + }, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureDatabricksLinkedService: msRest.CompositeMapper = { + serializedName: "AzureDatabricks", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureDatabricksLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + domain: { + required: true, + serializedName: "typeProperties.domain", + type: { + name: "Object" + } + }, + accessToken: { + required: true, + serializedName: "typeProperties.accessToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + existingClusterId: { + serializedName: "typeProperties.existingClusterId", + type: { + name: "Object" + } + }, + newClusterVersion: { + serializedName: "typeProperties.newClusterVersion", + type: { + name: "Object" + } + }, + newClusterNumOfWorker: { + serializedName: "typeProperties.newClusterNumOfWorker", + type: { + name: "Object" + } + }, + newClusterNodeType: { + serializedName: "typeProperties.newClusterNodeType", + type: { + name: "Object" + } + }, + newClusterSparkConf: { + serializedName: "typeProperties.newClusterSparkConf", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + newClusterSparkEnvVars: { + serializedName: "typeProperties.newClusterSparkEnvVars", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + newClusterCustomTags: { + serializedName: "typeProperties.newClusterCustomTags", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + newClusterDriverNodeType: { + serializedName: "typeProperties.newClusterDriverNodeType", + type: { + name: "Object" + } + }, + newClusterInitScripts: { + serializedName: "typeProperties.newClusterInitScripts", + type: { + name: "Object" + } + }, + newClusterEnableElasticDisk: { + serializedName: "typeProperties.newClusterEnableElasticDisk", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureDataLakeAnalyticsLinkedService: msRest.CompositeMapper = { + serializedName: "AzureDataLakeAnalytics", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureDataLakeAnalyticsLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + accountName: { + required: true, + serializedName: "typeProperties.accountName", + type: { + name: "Object" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + 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" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const ScriptAction: msRest.CompositeMapper = { + serializedName: "ScriptAction", + type: { + name: "Composite", + className: "ScriptAction", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + uri: { + required: true, + serializedName: "uri", + type: { + name: "String" + } + }, + roles: { + required: true, + serializedName: "roles", + type: { + name: "Object" + } + }, + parameters: { + serializedName: "parameters", + type: { + name: "String" + } + } + } + } +}; + +export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { + serializedName: "HDInsightOnDemand", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HDInsightOnDemandLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + clusterSize: { + required: true, + serializedName: "typeProperties.clusterSize", + type: { + name: "Object" + } + }, + timeToLive: { + required: true, + serializedName: "typeProperties.timeToLive", + type: { + name: "Object" + } + }, + version: { + required: true, + serializedName: "typeProperties.version", + type: { + name: "Object" + } + }, + linkedServiceName: { + required: true, + serializedName: "typeProperties.linkedServiceName", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + hostSubscriptionId: { + required: true, + serializedName: "typeProperties.hostSubscriptionId", + type: { + name: "Object" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + required: true, + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + clusterResourceGroup: { + required: true, + serializedName: "typeProperties.clusterResourceGroup", + type: { + name: "Object" + } + }, + clusterNamePrefix: { + serializedName: "typeProperties.clusterNamePrefix", + type: { + name: "Object" + } + }, + clusterUserName: { + serializedName: "typeProperties.clusterUserName", + type: { + name: "Object" + } + }, + clusterPassword: { + serializedName: "typeProperties.clusterPassword", + type: { + name: "Composite", + className: "SecretBase" + } + }, + clusterSshUserName: { + serializedName: "typeProperties.clusterSshUserName", + type: { + name: "Object" + } + }, + clusterSshPassword: { + serializedName: "typeProperties.clusterSshPassword", + type: { + name: "Composite", + className: "SecretBase" + } + }, + additionalLinkedServiceNames: { + serializedName: "typeProperties.additionalLinkedServiceNames", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } + } + }, + hcatalogLinkedServiceName: { + serializedName: "typeProperties.hcatalogLinkedServiceName", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + clusterType: { + serializedName: "typeProperties.clusterType", + type: { + name: "Object" + } + }, + sparkVersion: { + serializedName: "typeProperties.sparkVersion", + type: { + name: "Object" + } + }, + coreConfiguration: { + serializedName: "typeProperties.coreConfiguration", + type: { + name: "Object" + } + }, + hBaseConfiguration: { + serializedName: "typeProperties.hBaseConfiguration", + type: { + name: "Object" + } + }, + hdfsConfiguration: { + serializedName: "typeProperties.hdfsConfiguration", + type: { + name: "Object" + } + }, + hiveConfiguration: { + serializedName: "typeProperties.hiveConfiguration", + type: { + name: "Object" + } + }, + mapReduceConfiguration: { + serializedName: "typeProperties.mapReduceConfiguration", + type: { + name: "Object" + } + }, + oozieConfiguration: { + serializedName: "typeProperties.oozieConfiguration", + type: { + name: "Object" + } + }, + stormConfiguration: { + serializedName: "typeProperties.stormConfiguration", + type: { + name: "Object" + } + }, + yarnConfiguration: { + serializedName: "typeProperties.yarnConfiguration", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + }, + headNodeSize: { + serializedName: "typeProperties.headNodeSize", + type: { + name: "Object" + } + }, + dataNodeSize: { + serializedName: "typeProperties.dataNodeSize", + type: { + name: "Object" + } + }, + zookeeperNodeSize: { + serializedName: "typeProperties.zookeeperNodeSize", + type: { + name: "Object" + } + }, + scriptActions: { + serializedName: "typeProperties.scriptActions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptAction" + } + } + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SalesforceMarketingCloudLinkedService: msRest.CompositeMapper = { + serializedName: "SalesforceMarketingCloud", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SalesforceMarketingCloudLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const NetezzaLinkedService: msRest.CompositeMapper = { + serializedName: "Netezza", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "NetezzaLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + pwd: { + serializedName: "typeProperties.pwd", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const VerticaLinkedService: msRest.CompositeMapper = { + serializedName: "Vertica", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "VerticaLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + pwd: { + serializedName: "typeProperties.pwd", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const ZohoLinkedService: msRest.CompositeMapper = { + serializedName: "Zoho", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "ZohoLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + required: true, + serializedName: "typeProperties.endpoint", + type: { + name: "Object" + } + }, + accessToken: { + serializedName: "typeProperties.accessToken", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const XeroLinkedService: msRest.CompositeMapper = { + serializedName: "Xero", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "XeroLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + consumerKey: { + serializedName: "typeProperties.consumerKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + privateKey: { + serializedName: "typeProperties.privateKey", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SquareLinkedService: msRest.CompositeMapper = { + serializedName: "Square", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SquareLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + type: { + name: "Composite", + className: "SecretBase" + } + }, + redirectUri: { + required: true, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SparkLinkedService: msRest.CompositeMapper = { + serializedName: "Spark", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SparkLinkedService", + 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", + type: { + name: "String" + } + }, + thriftTransportProtocol: { + serializedName: "typeProperties.thriftTransportProtocol", + type: { + name: "String" + } + }, + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + 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" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const ShopifyLinkedService: msRest.CompositeMapper = { + serializedName: "Shopify", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "ShopifyLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + accessToken: { + serializedName: "typeProperties.accessToken", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const ServiceNowLinkedService: msRest.CompositeMapper = { + serializedName: "ServiceNow", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "ServiceNowLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + required: true, + serializedName: "typeProperties.endpoint", + type: { + name: "Object" + } + }, + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const QuickBooksLinkedService: msRest.CompositeMapper = { + serializedName: "QuickBooks", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "QuickBooksLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + required: true, + serializedName: "typeProperties.endpoint", + type: { + name: "Object" + } + }, + companyId: { + required: true, + serializedName: "typeProperties.companyId", + type: { + name: "Object" + } + }, + consumerKey: { + required: true, + serializedName: "typeProperties.consumerKey", + type: { + name: "Object" + } + }, + consumerSecret: { + required: true, + serializedName: "typeProperties.consumerSecret", + type: { + name: "Composite", + className: "SecretBase" + } + }, + accessToken: { + required: true, + serializedName: "typeProperties.accessToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + accessTokenSecret: { + required: true, + serializedName: "typeProperties.accessTokenSecret", + 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", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "PrestoLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + serverVersion: { + required: true, + serializedName: "typeProperties.serverVersion", + type: { + name: "Object" + } + }, + catalog: { + required: true, + serializedName: "typeProperties.catalog", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + authenticationType: { + 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", + type: { + name: "Object" + } + }, + timeZoneID: { + serializedName: "typeProperties.timeZoneID", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const PhoenixLinkedService: msRest.CompositeMapper = { + serializedName: "Phoenix", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "PhoenixLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + httpPath: { + serializedName: "typeProperties.httpPath", + type: { + name: "Object" + } + }, + authenticationType: { + 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", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const PaypalLinkedService: msRest.CompositeMapper = { + serializedName: "Paypal", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "PaypalLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const MarketoLinkedService: msRest.CompositeMapper = { + serializedName: "Marketo", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "MarketoLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + required: true, + serializedName: "typeProperties.endpoint", + type: { + name: "Object" + } + }, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const MariaDBLinkedService: msRest.CompositeMapper = { + serializedName: "MariaDB", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "MariaDBLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + pwd: { + serializedName: "typeProperties.pwd", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const MagentoLinkedService: msRest.CompositeMapper = { + serializedName: "Magento", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "MagentoLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + accessToken: { + serializedName: "typeProperties.accessToken", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const JiraLinkedService: msRest.CompositeMapper = { + serializedName: "Jira", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "JiraLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + username: { + required: true, + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const ImpalaLinkedService: msRest.CompositeMapper = { + serializedName: "Impala", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "ImpalaLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + authenticationType: { + 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", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const HubspotLinkedService: msRest.CompositeMapper = { + serializedName: "Hubspot", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HubspotLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + type: { + name: "Composite", + className: "SecretBase" + } + }, + accessToken: { + serializedName: "typeProperties.accessToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + refreshToken: { + serializedName: "typeProperties.refreshToken", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const HiveLinkedService: msRest.CompositeMapper = { + serializedName: "Hive", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HiveLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + serverType: { + serializedName: "typeProperties.serverType", + type: { + name: "String" + } + }, + thriftTransportProtocol: { + serializedName: "typeProperties.thriftTransportProtocol", + type: { + name: "String" + } + }, + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", + 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", + 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" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const HBaseLinkedService: msRest.CompositeMapper = { + serializedName: "HBase", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HBaseLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + httpPath: { + serializedName: "typeProperties.httpPath", + type: { + name: "Object" + } + }, + authenticationType: { + 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" + } + }, + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", + type: { + name: "Object" + } + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const GreenplumLinkedService: msRest.CompositeMapper = { + serializedName: "Greenplum", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "GreenplumLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + pwd: { + serializedName: "typeProperties.pwd", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { + serializedName: "GoogleBigQuery", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "GoogleBigQueryLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + project: { + required: true, + serializedName: "typeProperties.project", + type: { + name: "Object" + } + }, + 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", + type: { + name: "Composite", + className: "SecretBase" + } + }, + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "Composite", + className: "SecretBase" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const EloquaLinkedService: msRest.CompositeMapper = { + serializedName: "Eloqua", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "EloquaLinkedService", + 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", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const DrillLinkedService: msRest.CompositeMapper = { + serializedName: "Drill", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "DrillLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + pwd: { + serializedName: "typeProperties.pwd", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const CouchbaseLinkedService: msRest.CompositeMapper = { + serializedName: "Couchbase", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "CouchbaseLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + credString: { + serializedName: "typeProperties.credString", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const ConcurLinkedService: msRest.CompositeMapper = { + serializedName: "Concur", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "ConcurLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + username: { + required: true, + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + 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" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzurePostgreSqlLinkedService: msRest.CompositeMapper = { + serializedName: "AzurePostgreSql", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzurePostgreSqlLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AmazonMWSLinkedService: msRest.CompositeMapper = { + serializedName: "AmazonMWS", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AmazonMWSLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + required: true, + serializedName: "typeProperties.endpoint", + type: { + name: "Object" + } + }, + marketplaceID: { + required: true, + serializedName: "typeProperties.marketplaceID", + type: { + name: "Object" + } + }, + sellerID: { + required: true, + serializedName: "typeProperties.sellerID", + type: { + name: "Object" + } + }, + mwsAuthToken: { + serializedName: "typeProperties.mwsAuthToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + accessKeyId: { + required: true, + serializedName: "typeProperties.accessKeyId", + type: { + name: "Object" + } + }, + secretKey: { + serializedName: "typeProperties.secretKey", + 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" + } + } + }, + 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, + server: { + required: true, + serializedName: "typeProperties.server", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + 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", + type: { + name: "Object" + } + }, + systemNumber: { + required: true, + serializedName: "typeProperties.systemNumber", + type: { + name: "Object" + } + }, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SftpServerLinkedService: msRest.CompositeMapper = { + serializedName: "Sftp", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SftpServerLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + }, + privateKeyPath: { + serializedName: "typeProperties.privateKeyPath", + type: { + name: "Object" + } + }, + privateKeyContent: { + serializedName: "typeProperties.privateKeyContent", + type: { + name: "Composite", + className: "SecretBase" + } + }, + passPhrase: { + serializedName: "typeProperties.passPhrase", + type: { + name: "Composite", + className: "SecretBase" + } + }, + skipHostKeyValidation: { + serializedName: "typeProperties.skipHostKeyValidation", + type: { + name: "Object" + } + }, + hostKeyFingerprint: { + serializedName: "typeProperties.hostKeyFingerprint", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const FtpServerLinkedService: msRest.CompositeMapper = { + serializedName: "FtpServer", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "FtpServerLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + }, + enableSsl: { + serializedName: "typeProperties.enableSsl", + type: { + name: "Object" + } + }, + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const HttpLinkedService: msRest.CompositeMapper = { + serializedName: "HttpServer", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HttpLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + embeddedCertData: { + serializedName: "typeProperties.embeddedCertData", + type: { + name: "Object" + } + }, + certThumbprint: { + serializedName: "typeProperties.certThumbprint", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + }, + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureSearchLinkedService: msRest.CompositeMapper = { + serializedName: "AzureSearch", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureSearchLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + key: { + serializedName: "typeProperties.key", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const CustomDataSourceLinkedService: msRest.CompositeMapper = { + serializedName: "CustomDataSource", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "CustomDataSourceLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + typeProperties: { + required: true, + serializedName: "typeProperties", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + database: { + required: true, + serializedName: "typeProperties.database", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AmazonS3LinkedService: msRest.CompositeMapper = { + serializedName: "AmazonS3", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AmazonS3LinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + accessKeyId: { + serializedName: "typeProperties.accessKeyId", + type: { + name: "Object" + } + }, + secretAccessKey: { + serializedName: "typeProperties.secretAccessKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + serviceUrl: { + serializedName: "typeProperties.serviceUrl", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const RestServiceLinkedService: msRest.CompositeMapper = { + serializedName: "RestService", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "RestServiceLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", + type: { + name: "Object" + } + }, + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + aadResourceId: { + serializedName: "typeProperties.aadResourceId", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SapOpenHubLinkedService: msRest.CompositeMapper = { + serializedName: "SapOpenHub", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SapOpenHubLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + server: { + required: true, + serializedName: "typeProperties.server", + type: { + name: "Object" + } + }, + systemNumber: { + required: true, + serializedName: "typeProperties.systemNumber", + type: { + name: "Object" + } + }, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + language: { + serializedName: "typeProperties.language", + type: { + name: "Object" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SapEccLinkedService: msRest.CompositeMapper = { + serializedName: "SapEcc", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SapEccLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "String" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "String" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SapCloudForCustomerLinkedService: msRest.CompositeMapper = { + serializedName: "SapCloudForCustomer", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SapCloudForCustomerLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SalesforceLinkedService: msRest.CompositeMapper = { + serializedName: "Salesforce", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SalesforceLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + environmentUrl: { + serializedName: "typeProperties.environmentUrl", + type: { + name: "Object" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + securityToken: { + serializedName: "typeProperties.securityToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + servicePrincipalTenantId: { + required: true, + serializedName: "typeProperties.servicePrincipalTenantId", + type: { + name: "Object" + } + }, + servicePrincipalId: { + required: true, + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + required: true, + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureBlobFSLinkedService: msRest.CompositeMapper = { + serializedName: "AzureBlobFS", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureBlobFSLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + accountKey: { + serializedName: "typeProperties.accountKey", + type: { + name: "Object" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + 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" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + accountName: { + serializedName: "typeProperties.accountName", + type: { + name: "Object" + } + }, + subscriptionId: { + serializedName: "typeProperties.subscriptionId", + type: { + name: "Object" + } + }, + resourceGroupName: { + serializedName: "typeProperties.resourceGroupName", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const CosmosDbMongoDbApiLinkedService: msRest.CompositeMapper = { + serializedName: "CosmosDbMongoDbApi", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + 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", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "MongoDbV2LinkedService", + 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 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", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + databaseName: { + required: true, + serializedName: "typeProperties.databaseName", + type: { + name: "Object" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + authSource: { + serializedName: "typeProperties.authSource", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + enableSsl: { + serializedName: "typeProperties.enableSsl", + type: { + name: "Object" + } + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const CassandraLinkedService: msRest.CompositeMapper = { + serializedName: "Cassandra", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "CassandraLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + authenticationType: { + required: true, + serializedName: "authenticationType", + type: { + name: "String" + } + } + } + } +}; + +export const WebClientCertificateAuthentication: msRest.CompositeMapper = { + serializedName: "ClientCertificate", + type: { + name: "Composite", + polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, + uberParent: "WebLinkedServiceTypeProperties", + className: "WebClientCertificateAuthentication", + modelProperties: { + ...WebLinkedServiceTypeProperties.type.modelProperties, + pfx: { + required: true, + serializedName: "pfx", + type: { + name: "Composite", + className: "SecretBase" + } + }, + password: { + required: true, + serializedName: "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", + type: { + name: "Composite", + className: "SecretBase" + } + } + } + } +}; + +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", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + 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", + 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", + type: { + name: "String" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + aadResourceId: { + serializedName: "typeProperties.aadResourceId", + type: { + name: "Object" + } + }, + aadServicePrincipalCredentialType: { + serializedName: "typeProperties.aadServicePrincipalCredentialType", + type: { + name: "String" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + servicePrincipalEmbeddedCert: { + serializedName: "typeProperties.servicePrincipalEmbeddedCert", + type: { + name: "Composite", + className: "SecretBase" + } + }, + servicePrincipalEmbeddedCertPassword: { + serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const HdfsLinkedService: msRest.CompositeMapper = { + serializedName: "Hdfs", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HdfsLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const OdbcLinkedService: msRest.CompositeMapper = { + serializedName: "Odbc", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "OdbcLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Object" + } + }, + credential: { + serializedName: "typeProperties.credential", + type: { + name: "Composite", + className: "SecretBase" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureMLLinkedService: msRest.CompositeMapper = { + serializedName: "AzureML", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureMLLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + mlEndpoint: { + required: true, + serializedName: "typeProperties.mlEndpoint", + type: { + name: "Object" + } + }, + apiKey: { + required: true, + serializedName: "typeProperties.apiKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + updateResourceEndpoint: { + serializedName: "typeProperties.updateResourceEndpoint", + type: { + name: "Object" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const TeradataLinkedService: msRest.CompositeMapper = { + serializedName: "Teradata", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "TeradataLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + server: { + required: true, + serializedName: "typeProperties.server", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const Db2LinkedService: msRest.CompositeMapper = { + serializedName: "Db2", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "Db2LinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + server: { + required: true, + serializedName: "typeProperties.server", + type: { + name: "Object" + } + }, + database: { + required: true, + serializedName: "typeProperties.database", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SybaseLinkedService: msRest.CompositeMapper = { + serializedName: "Sybase", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SybaseLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + server: { + required: true, + serializedName: "typeProperties.server", + type: { + name: "Object" + } + }, + database: { + required: true, + serializedName: "typeProperties.database", + type: { + name: "Object" + } + }, + schema: { + serializedName: "typeProperties.schema", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const PostgreSqlLinkedService: msRest.CompositeMapper = { + serializedName: "PostgreSql", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "PostgreSqlLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", + type: { + name: "Composite", + className: "SecretBase" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const MySqlLinkedService: msRest.CompositeMapper = { + serializedName: "MySql", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "MySqlLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", + type: { + name: "Composite", + className: "SecretBase" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const OracleLinkedService: msRest.CompositeMapper = { + serializedName: "Oracle", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "OracleLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + 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" + } + }, + userId: { + serializedName: "typeProperties.userId", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const HDInsightLinkedService: msRest.CompositeMapper = { + serializedName: "HDInsight", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HDInsightLinkedService", + 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", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + }, + isEspEnabled: { + serializedName: "typeProperties.isEspEnabled", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const DynamicsLinkedService: msRest.CompositeMapper = { + serializedName: "Dynamics", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "DynamicsLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + deploymentType: { + 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" + } + }, + organizationName: { + serializedName: "typeProperties.organizationName", + type: { + name: "Object" + } + }, + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", + type: { + name: "Object" + } + }, + username: { + required: true, + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const CosmosDbLinkedService: msRest.CompositeMapper = { + serializedName: "CosmosDb", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "CosmosDbLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + accountKey: { + serializedName: "typeProperties.accountKey", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + 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" + } + }, + poolName: { + required: true, + serializedName: "typeProperties.poolName", + type: { + name: "Object" + } + }, + linkedServiceName: { + required: true, + serializedName: "typeProperties.linkedServiceName", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { + serializedName: "AzureSqlDatabase", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureSqlDatabaseLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SqlServerLinkedService: msRest.CompositeMapper = { + serializedName: "SqlServer", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SqlServerLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureSqlDWLinkedService: msRest.CompositeMapper = { + serializedName: "AzureSqlDW", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureSqlDWLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureTableStorageLinkedService: msRest.CompositeMapper = { + serializedName: "AzureTableStorage", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureTableStorageLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + accountKey: { + serializedName: "typeProperties.accountKey", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + sasUri: { + serializedName: "typeProperties.sasUri", + type: { + name: "Object" + } + }, + sasToken: { + serializedName: "typeProperties.sasToken", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "String" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { + serializedName: "AzureBlobStorage", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureBlobStorageLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + accountKey: { + serializedName: "typeProperties.accountKey", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + sasUri: { + serializedName: "typeProperties.sasUri", + type: { + name: "Object" + } + }, + sasToken: { + serializedName: "typeProperties.sasToken", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + serviceEndpoint: { + serializedName: "typeProperties.serviceEndpoint", + type: { + name: "String" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "String" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureStorageLinkedService: msRest.CompositeMapper = { + serializedName: "AzureStorage", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureStorageLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", + type: { + name: "Object" + } + }, + accountKey: { + serializedName: "typeProperties.accountKey", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + sasUri: { + serializedName: "typeProperties.sasUri", + type: { + name: "Object" + } + }, + sasToken: { + serializedName: "typeProperties.sasToken", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "String" + } + } + }, + additionalProperties: LinkedService.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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const OracleServiceCloudObjectDataset: msRest.CompositeMapper = { + serializedName: "OracleServiceCloudObject", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "OracleServiceCloudObjectDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const DynamicsAXResourceDataset: msRest.CompositeMapper = { + serializedName: "DynamicsAXResource", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "DynamicsAXResourceDataset", + modelProperties: { + ...Dataset.type.modelProperties, + path: { + required: true, + serializedName: "typeProperties.path", + type: { + name: "String" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const SalesforceMarketingCloudObjectDataset: msRest.CompositeMapper = { + serializedName: "SalesforceMarketingCloudObject", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "SalesforceMarketingCloudObjectDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const VerticaTableDataset: msRest.CompositeMapper = { + serializedName: "VerticaTable", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "VerticaTableDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const NetezzaTableDataset: msRest.CompositeMapper = { + serializedName: "NetezzaTable", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "NetezzaTableDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const ShopifyObjectDataset: msRest.CompositeMapper = { + serializedName: "ShopifyObject", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "ShopifyObjectDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const PhoenixObjectDataset: msRest.CompositeMapper = { + serializedName: "PhoenixObject", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "PhoenixObjectDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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 MariaDBTableDataset: msRest.CompositeMapper = { + serializedName: "MariaDBTable", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "MariaDBTableDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const HubspotObjectDataset: msRest.CompositeMapper = { + serializedName: "HubspotObject", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "HubspotObjectDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const GreenplumTableDataset: msRest.CompositeMapper = { + serializedName: "GreenplumTable", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "GreenplumTableDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const EloquaObjectDataset: msRest.CompositeMapper = { + serializedName: "EloquaObject", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "EloquaObjectDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const ConcurObjectDataset: msRest.CompositeMapper = { + serializedName: "ConcurObject", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "ConcurObjectDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const AzurePostgreSqlTableDataset: msRest.CompositeMapper = { + serializedName: "AzurePostgreSqlTable", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "AzurePostgreSqlTableDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const AmazonMWSObjectDataset: msRest.CompositeMapper = { + serializedName: "AmazonMWSObject", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "AmazonMWSObjectDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const DatasetCompression: msRest.CompositeMapper = { + serializedName: "DatasetCompression", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetCompression", + className: "DatasetCompression", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +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", + type: { + name: "String" + } + } + }, + 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", + type: { + name: "String" + } + } + }, + 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", + type: { + name: "String" + } + } + }, + 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", + type: { + name: "Object" + } + }, + deserializer: { + serializedName: "deserializer", + type: { + name: "Object" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + 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", + type: { + name: "Composite", + polymorphicDiscriminator: DatasetStorageFormat.type.polymorphicDiscriminator, + uberParent: "DatasetStorageFormat", + className: "JsonFormat", + modelProperties: { + ...DatasetStorageFormat.type.modelProperties, + filePattern: { + serializedName: "filePattern", + type: { + name: "String" + } + }, + nestingSeparator: { + serializedName: "nestingSeparator", + type: { + name: "Object" + } + }, + encodingName: { + serializedName: "encodingName", + type: { + name: "Object" + } + }, + jsonNodeReference: { + serializedName: "jsonNodeReference", + type: { + name: "Object" + } + }, + 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", + type: { + name: "Object" + } + }, + rowDelimiter: { + serializedName: "rowDelimiter", + type: { + name: "Object" + } + }, + escapeChar: { + serializedName: "escapeChar", + type: { + name: "Object" + } + }, + quoteChar: { + serializedName: "quoteChar", + type: { + name: "Object" + } + }, + nullValue: { + serializedName: "nullValue", + type: { + name: "Object" + } + }, + encodingName: { + serializedName: "encodingName", + type: { + name: "Object" + } + }, + treatEmptyAsNull: { + serializedName: "treatEmptyAsNull", + type: { + name: "Object" + } + }, + skipLineCount: { + serializedName: "skipLineCount", + type: { + name: "Object" + } + }, + firstRowAsHeader: { + serializedName: "firstRowAsHeader", + type: { + name: "Object" + } + } + }, + additionalProperties: DatasetStorageFormat.type.additionalProperties + } +}; + +export const HttpDataset: msRest.CompositeMapper = { + serializedName: "HttpFile", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "HttpDataset", + modelProperties: { + ...Dataset.type.modelProperties, + relativeUrl: { + serializedName: "typeProperties.relativeUrl", + type: { + name: "Object" + } + }, + requestMethod: { + serializedName: "typeProperties.requestMethod", + type: { + name: "Object" + } + }, + requestBody: { + serializedName: "typeProperties.requestBody", + 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" + } + } + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const AzureSearchIndexDataset: msRest.CompositeMapper = { + serializedName: "AzureSearchIndex", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "AzureSearchIndexDataset", + modelProperties: { + ...Dataset.type.modelProperties, + indexName: { + required: true, + serializedName: "typeProperties.indexName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + path: { + serializedName: "typeProperties.path", + 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" + } + }, + requestMethod: { + serializedName: "typeProperties.requestMethod", + type: { + name: "Object" + } + }, + requestBody: { + serializedName: "typeProperties.requestBody", + type: { + name: "Object" + } + }, + additionalHeaders: { + serializedName: "typeProperties.additionalHeaders", + type: { + name: "Object" + } + }, + paginationRules: { + serializedName: "typeProperties.paginationRules", + type: { + name: "Object" + } + } + }, + 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: { + required: true, + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const SapOpenHubTableDataset: msRest.CompositeMapper = { + serializedName: "SapOpenHubTable", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "SapOpenHubTableDataset", + modelProperties: { + ...Dataset.type.modelProperties, + openHubDestinationName: { + required: true, + serializedName: "typeProperties.openHubDestinationName", + type: { + name: "Object" + } + }, + excludeLastRequest: { + serializedName: "typeProperties.excludeLastRequest", + type: { + name: "Object" + } + }, + baseRequestId: { + serializedName: "typeProperties.baseRequestId", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "String" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const RelationalTableDataset: msRest.CompositeMapper = { + serializedName: "RelationalTable", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "RelationalTableDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const AzureMySqlTableDataset: msRest.CompositeMapper = { + serializedName: "AzureMySqlTable", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "AzureMySqlTableDataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const MongoDbCollectionDataset: msRest.CompositeMapper = { + serializedName: "MongoDbCollection", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "MongoDbCollectionDataset", + modelProperties: { + ...Dataset.type.modelProperties, + collectionName: { + required: true, + serializedName: "typeProperties.collectionName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + fileName: { + serializedName: "typeProperties.fileName", + type: { + name: "Object" + } + }, + modifiedDatetimeStart: { + serializedName: "typeProperties.modifiedDatetimeStart", + type: { + name: "Object" + } + }, + modifiedDatetimeEnd: { + serializedName: "typeProperties.modifiedDatetimeEnd", + type: { + name: "Object" + } + }, + format: { + serializedName: "typeProperties.format", + type: { + name: "Composite", + className: "DatasetStorageFormat", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + fileFilter: { + serializedName: "typeProperties.fileFilter", + type: { + name: "Object" + } + }, + compression: { + serializedName: "typeProperties.compression", + type: { + name: "Composite", + className: "DatasetCompression", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const Office365Dataset: msRest.CompositeMapper = { + serializedName: "Office365Table", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "Office365Dataset", + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + required: true, + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + }, + predicate: { + serializedName: "typeProperties.predicate", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + fileName: { + serializedName: "typeProperties.fileName", + 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" + } + } + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const AzureDataLakeStoreDataset: msRest.CompositeMapper = { + serializedName: "AzureDataLakeStoreFile", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "AzureDataLakeStoreDataset", + modelProperties: { + ...Dataset.type.modelProperties, + folderPath: { + serializedName: "typeProperties.folderPath", + type: { + name: "Object" + } + }, + fileName: { + serializedName: "typeProperties.fileName", + 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" + } + } + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const DocumentDbCollectionDataset: msRest.CompositeMapper = { + serializedName: "DocumentDbCollection", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "DocumentDbCollectionDataset", + modelProperties: { + ...Dataset.type.modelProperties, + collectionName: { + 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" + } + } + }, + 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", + type: { + name: "Object" + } + }, + keyspace: { + serializedName: "typeProperties.keyspace", + type: { + name: "Object" + } + } + }, + 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: { + required: true, + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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: { + required: true, + serializedName: "typeProperties.tableName", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const AzureBlobDataset: msRest.CompositeMapper = { + serializedName: "AzureBlob", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "AzureBlobDataset", + modelProperties: { + ...Dataset.type.modelProperties, + folderPath: { + serializedName: "typeProperties.folderPath", + type: { + name: "Object" + } + }, + tableRootLocation: { + serializedName: "typeProperties.tableRootLocation", + type: { + name: "Object" + } + }, + fileName: { + serializedName: "typeProperties.fileName", + type: { + name: "Object" + } + }, + modifiedDatetimeStart: { + serializedName: "typeProperties.modifiedDatetimeStart", + type: { + name: "Object" + } + }, + modifiedDatetimeEnd: { + serializedName: "typeProperties.modifiedDatetimeEnd", + 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" + } + } + } + } + }, + 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: { + required: true, + serializedName: "typeProperties.bucketName", + type: { + name: "Object" + } + }, + key: { + serializedName: "typeProperties.key", + type: { + name: "Object" + } + }, + prefix: { + serializedName: "typeProperties.prefix", + type: { + name: "Object" + } + }, + version: { + serializedName: "typeProperties.version", + type: { + name: "Object" + } + }, + modifiedDatetimeStart: { + serializedName: "typeProperties.modifiedDatetimeStart", + type: { + name: "Object" + } + }, + modifiedDatetimeEnd: { + serializedName: "typeProperties.modifiedDatetimeEnd", + 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" + } + } + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const ActivityPolicy: msRest.CompositeMapper = { + serializedName: "ActivityPolicy", + type: { + name: "Composite", + className: "ActivityPolicy", + modelProperties: { + timeout: { + serializedName: "timeout", + type: { + name: "Object" + } + }, + retry: { + serializedName: "retry", + type: { + name: "Object" + } + }, + retryIntervalInSeconds: { + serializedName: "retryIntervalInSeconds", + constraints: { + InclusiveMaximum: 86400, + InclusiveMinimum: 30 + }, + type: { + name: "Number" + } + }, + secureInput: { + serializedName: "secureInput", + type: { + name: "Boolean" + } + }, + secureOutput: { + serializedName: "secureOutput", + type: { + name: "Boolean" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +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", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + policy: { + serializedName: "policy", + type: { + name: "Composite", + className: "ActivityPolicy", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const AzureFunctionActivity: msRest.CompositeMapper = { + serializedName: "AzureFunctionActivity", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "AzureFunctionActivity", + modelProperties: { + ...ExecutionActivity.type.modelProperties, + method: { + required: true, + serializedName: "typeProperties.method", + type: { + name: "String" + } + }, + functionName: { + required: true, + serializedName: "typeProperties.functionName", + type: { + name: "Object" + } + }, + headers: { + serializedName: "typeProperties.headers", + type: { + name: "Object" + } + }, + body: { + serializedName: "typeProperties.body", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + parameters: { + serializedName: "typeProperties.parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + libraries: { + serializedName: "typeProperties.libraries", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } + }, + 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", + type: { + name: "Object" + } + }, + parameters: { + serializedName: "typeProperties.parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + libraries: { + serializedName: "typeProperties.libraries", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } + }, + 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", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + libraries: { + serializedName: "typeProperties.libraries", + type: { + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + } + } + }, + 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", + type: { + name: "Object" + } + }, + scriptLinkedService: { + required: true, + serializedName: "typeProperties.scriptLinkedService", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + degreeOfParallelism: { + serializedName: "typeProperties.degreeOfParallelism", + type: { + name: "Object" + } + }, + priority: { + serializedName: "typeProperties.priority", + type: { + name: "Object" + } + }, + parameters: { + serializedName: "typeProperties.parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + runtimeVersion: { + serializedName: "typeProperties.runtimeVersion", + type: { + name: "Object" + } + }, + compilationMode: { + serializedName: "typeProperties.compilationMode", + type: { + name: "Object" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const AzureMLUpdateResourceActivity: msRest.CompositeMapper = { + serializedName: "AzureMLUpdateResource", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "AzureMLUpdateResourceActivity", + modelProperties: { + ...ExecutionActivity.type.modelProperties, + trainedModelName: { + required: true, + serializedName: "typeProperties.trainedModelName", + type: { + name: "Object" + } + }, + trainedModelLinkedServiceName: { + required: true, + serializedName: "typeProperties.trainedModelLinkedServiceName", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + trainedModelFilePath: { + required: true, + serializedName: "typeProperties.trainedModelFilePath", + type: { + name: "Object" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const AzureMLWebServiceFile: msRest.CompositeMapper = { + serializedName: "AzureMLWebServiceFile", + type: { + name: "Composite", + className: "AzureMLWebServiceFile", + modelProperties: { + filePath: { + required: true, + serializedName: "filePath", + type: { + name: "Object" + } + }, + linkedServiceName: { + required: true, + serializedName: "linkedServiceName", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } + } + } +}; + +export const AzureMLBatchExecutionActivity: msRest.CompositeMapper = { + serializedName: "AzureMLBatchExecution", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "AzureMLBatchExecutionActivity", + modelProperties: { + ...ExecutionActivity.type.modelProperties, + globalParameters: { + serializedName: "typeProperties.globalParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + webServiceOutputs: { + serializedName: "typeProperties.webServiceOutputs", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "AzureMLWebServiceFile" + } + } + } + }, + webServiceInputs: { + serializedName: "typeProperties.webServiceInputs", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "AzureMLWebServiceFile" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const GetMetadataActivity: msRest.CompositeMapper = { + serializedName: "GetMetadata", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "GetMetadataActivity", + modelProperties: { + ...ExecutionActivity.type.modelProperties, + dataset: { + required: true, + serializedName: "typeProperties.dataset", + defaultValue: {}, + type: { + name: "Composite", + className: "DatasetReference" + } + }, + fieldList: { + serializedName: "typeProperties.fieldList", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const WebActivityAuthentication: msRest.CompositeMapper = { + serializedName: "WebActivityAuthentication", + type: { + name: "Composite", + className: "WebActivityAuthentication", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + }, + pfx: { + serializedName: "pfx", + type: { + name: "Composite", + className: "SecureString" + } + }, + username: { + serializedName: "username", + type: { + name: "String" + } + }, + password: { + serializedName: "password", + type: { + name: "Composite", + className: "SecureString" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + } + } + } +}; + +export const WebActivity: msRest.CompositeMapper = { + serializedName: "WebActivity", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "WebActivity", + modelProperties: { + ...ExecutionActivity.type.modelProperties, + method: { + required: true, + serializedName: "typeProperties.method", + type: { + name: "String" + } + }, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + headers: { + serializedName: "typeProperties.headers", + 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" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const RedshiftUnloadSettings: msRest.CompositeMapper = { + serializedName: "RedshiftUnloadSettings", + type: { + name: "Composite", + className: "RedshiftUnloadSettings", + modelProperties: { + s3LinkedServiceName: { + required: true, + serializedName: "s3LinkedServiceName", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + bucketName: { + required: true, + serializedName: "bucketName", + type: { + name: "Object" + } + } + } + } +}; + +export const CopySource: msRest.CompositeMapper = { + serializedName: "CopySource", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CopySource", + className: "CopySource", + modelProperties: { + sourceRetryCount: { + serializedName: "sourceRetryCount", + type: { + name: "Object" + } + }, + sourceRetryWait: { + serializedName: "sourceRetryWait", + type: { + name: "Object" + } + }, + maxConcurrentConnections: { + serializedName: "maxConcurrentConnections", + type: { + name: "Object" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const AmazonRedshiftSource: msRest.CompositeMapper = { + serializedName: "AmazonRedshiftSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "AmazonRedshiftSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + }, + redshiftUnloadSettings: { + serializedName: "redshiftUnloadSettings", + type: { + name: "Composite", + className: "RedshiftUnloadSettings" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const GoogleAdWordsSource: msRest.CompositeMapper = { + serializedName: "GoogleAdWordsSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "GoogleAdWordsSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const OracleServiceCloudSource: msRest.CompositeMapper = { + serializedName: "OracleServiceCloudSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "OracleServiceCloudSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const DynamicsAXSource: msRest.CompositeMapper = { + serializedName: "DynamicsAXSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "DynamicsAXSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const ResponsysSource: msRest.CompositeMapper = { + serializedName: "ResponsysSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "ResponsysSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const SalesforceMarketingCloudSource: msRest.CompositeMapper = { + serializedName: "SalesforceMarketingCloudSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SalesforceMarketingCloudSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const VerticaSource: msRest.CompositeMapper = { + serializedName: "VerticaSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "VerticaSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const NetezzaSource: msRest.CompositeMapper = { + serializedName: "NetezzaSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "NetezzaSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const ZohoSource: msRest.CompositeMapper = { + serializedName: "ZohoSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "ZohoSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const XeroSource: msRest.CompositeMapper = { + serializedName: "XeroSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "XeroSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const SquareSource: msRest.CompositeMapper = { + serializedName: "SquareSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SquareSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const SparkSource: msRest.CompositeMapper = { + serializedName: "SparkSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SparkSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const ShopifySource: msRest.CompositeMapper = { + serializedName: "ShopifySource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "ShopifySource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const ServiceNowSource: msRest.CompositeMapper = { + serializedName: "ServiceNowSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "ServiceNowSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const QuickBooksSource: msRest.CompositeMapper = { + serializedName: "QuickBooksSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "QuickBooksSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const PrestoSource: msRest.CompositeMapper = { + serializedName: "PrestoSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "PrestoSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const PhoenixSource: msRest.CompositeMapper = { + serializedName: "PhoenixSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "PhoenixSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const PaypalSource: msRest.CompositeMapper = { + serializedName: "PaypalSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "PaypalSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const MarketoSource: msRest.CompositeMapper = { + serializedName: "MarketoSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "MarketoSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const MariaDBSource: msRest.CompositeMapper = { + serializedName: "MariaDBSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "MariaDBSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const MagentoSource: msRest.CompositeMapper = { + serializedName: "MagentoSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "MagentoSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const JiraSource: msRest.CompositeMapper = { + serializedName: "JiraSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "JiraSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const ImpalaSource: msRest.CompositeMapper = { + serializedName: "ImpalaSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "ImpalaSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const HubspotSource: msRest.CompositeMapper = { + serializedName: "HubspotSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "HubspotSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const HiveSource: msRest.CompositeMapper = { + serializedName: "HiveSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "HiveSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const HBaseSource: msRest.CompositeMapper = { + serializedName: "HBaseSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "HBaseSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const GreenplumSource: msRest.CompositeMapper = { + serializedName: "GreenplumSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "GreenplumSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const GoogleBigQuerySource: msRest.CompositeMapper = { + serializedName: "GoogleBigQuerySource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "GoogleBigQuerySource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const EloquaSource: msRest.CompositeMapper = { + serializedName: "EloquaSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "EloquaSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const DrillSource: msRest.CompositeMapper = { + serializedName: "DrillSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "DrillSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const CouchbaseSource: msRest.CompositeMapper = { + serializedName: "CouchbaseSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "CouchbaseSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const ConcurSource: msRest.CompositeMapper = { + serializedName: "ConcurSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "ConcurSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const AzurePostgreSqlSource: msRest.CompositeMapper = { + serializedName: "AzurePostgreSqlSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "AzurePostgreSqlSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const AmazonMWSSource: msRest.CompositeMapper = { + serializedName: "AmazonMWSSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "AmazonMWSSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const HttpSource: msRest.CompositeMapper = { + serializedName: "HttpSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "HttpSource", + modelProperties: { + ...CopySource.type.modelProperties, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const AzureBlobFSSource: msRest.CompositeMapper = { + serializedName: "AzureBlobFSSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "AzureBlobFSSource", + modelProperties: { + ...CopySource.type.modelProperties, + treatEmptyAsNull: { + serializedName: "treatEmptyAsNull", + type: { + name: "Object" + } + }, + skipHeaderLineCount: { + serializedName: "skipHeaderLineCount", + type: { + name: "Object" + } + }, + recursive: { + serializedName: "recursive", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const AzureDataLakeStoreSource: msRest.CompositeMapper = { + serializedName: "AzureDataLakeStoreSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "AzureDataLakeStoreSource", + modelProperties: { + ...CopySource.type.modelProperties, + recursive: { + serializedName: "recursive", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const Office365Source: msRest.CompositeMapper = { + serializedName: "Office365Source", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "Office365Source", + modelProperties: { + ...CopySource.type.modelProperties + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const MongoDbCursorMethodsProperties: msRest.CompositeMapper = { + serializedName: "MongoDbCursorMethodsProperties", + type: { + name: "Composite", + className: "MongoDbCursorMethodsProperties", + modelProperties: { + project: { + serializedName: "project", + type: { + name: "Object" + } + }, + sort: { + serializedName: "sort", + type: { + name: "Object" + } + }, + skip: { + serializedName: "skip", + type: { + name: "Object" + } + }, + limit: { + serializedName: "limit", + type: { + name: "Object" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const CosmosDbMongoDbApiSource: msRest.CompositeMapper = { + serializedName: "CosmosDbMongoDbApiSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "CosmosDbMongoDbApiSource", + modelProperties: { + ...CopySource.type.modelProperties, + filter: { + serializedName: "filter", + type: { + name: "Object" + } + }, + cursorMethods: { + serializedName: "cursorMethods", + type: { + name: "Composite", + className: "MongoDbCursorMethodsProperties", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + batchSize: { + serializedName: "batchSize", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const MongoDbV2Source: msRest.CompositeMapper = { + serializedName: "MongoDbV2Source", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "MongoDbV2Source", + modelProperties: { + ...CopySource.type.modelProperties, + filter: { + serializedName: "filter", + type: { + name: "Object" + } + }, + cursorMethods: { + serializedName: "cursorMethods", + type: { + name: "Composite", + className: "MongoDbCursorMethodsProperties", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + batchSize: { + serializedName: "batchSize", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const MongoDbSource: msRest.CompositeMapper = { + serializedName: "MongoDbSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "MongoDbSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const CassandraSource: msRest.CompositeMapper = { + serializedName: "CassandraSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "CassandraSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + }, + consistencyLevel: { + serializedName: "consistencyLevel", + type: { + name: "String" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const WebSource: msRest.CompositeMapper = { + serializedName: "WebSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "WebSource", + modelProperties: { + ...CopySource.type.modelProperties + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const OracleSource: msRest.CompositeMapper = { + serializedName: "OracleSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "OracleSource", + modelProperties: { + ...CopySource.type.modelProperties, + oracleReaderQuery: { + serializedName: "oracleReaderQuery", + type: { + name: "Object" + } + }, + queryTimeout: { + serializedName: "queryTimeout", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const AzureDataExplorerSource: msRest.CompositeMapper = { + serializedName: "AzureDataExplorerSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "AzureDataExplorerSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + required: true, + serializedName: "query", + type: { + name: "Object" + } + }, + noTruncation: { + serializedName: "noTruncation", + type: { + name: "Object" + } + }, + queryTimeout: { + serializedName: "queryTimeout", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const AzureMySqlSource: msRest.CompositeMapper = { + serializedName: "AzureMySqlSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "AzureMySqlSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const DistcpSettings: msRest.CompositeMapper = { + serializedName: "DistcpSettings", + type: { + name: "Composite", + className: "DistcpSettings", + modelProperties: { + resourceManagerEndpoint: { + required: true, + serializedName: "resourceManagerEndpoint", + type: { + name: "Object" + } + }, + tempScriptPath: { + required: true, + serializedName: "tempScriptPath", + type: { + name: "Object" + } + }, + distcpOptions: { + serializedName: "distcpOptions", + type: { + name: "Object" + } + } + } + } +}; + +export const HdfsSource: msRest.CompositeMapper = { + serializedName: "HdfsSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "HdfsSource", + modelProperties: { + ...CopySource.type.modelProperties, + recursive: { + serializedName: "recursive", + type: { + name: "Object" + } + }, + distcpSettings: { + serializedName: "distcpSettings", + type: { + name: "Composite", + className: "DistcpSettings" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const FileSystemSource: msRest.CompositeMapper = { + serializedName: "FileSystemSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "FileSystemSource", + modelProperties: { + ...CopySource.type.modelProperties, + recursive: { + serializedName: "recursive", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const SqlDWSource: msRest.CompositeMapper = { + serializedName: "SqlDWSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SqlDWSource", + modelProperties: { + ...CopySource.type.modelProperties, + sqlReaderQuery: { + serializedName: "sqlReaderQuery", + type: { + name: "Object" + } + }, + sqlReaderStoredProcedureName: { + serializedName: "sqlReaderStoredProcedureName", + type: { + name: "Object" + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const StoredProcedureParameter: msRest.CompositeMapper = { + serializedName: "StoredProcedureParameter", + type: { + name: "Composite", + className: "StoredProcedureParameter", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Object" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const SqlSource: msRest.CompositeMapper = { + serializedName: "SqlSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SqlSource", + modelProperties: { + ...CopySource.type.modelProperties, + sqlReaderQuery: { + serializedName: "sqlReaderQuery", + type: { + name: "Object" + } + }, + sqlReaderStoredProcedureName: { + serializedName: "sqlReaderStoredProcedureName", + type: { + name: "Object" + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "StoredProcedureParameter" + } + } + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const RestSource: msRest.CompositeMapper = { + serializedName: "RestSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "RestSource", + modelProperties: { + ...CopySource.type.modelProperties, + httpRequestTimeout: { + serializedName: "httpRequestTimeout", + type: { + name: "Object" + } + }, + requestInterval: { + serializedName: "requestInterval", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const SapOpenHubSource: msRest.CompositeMapper = { + serializedName: "SapOpenHubSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SapOpenHubSource", + modelProperties: { + ...CopySource.type.modelProperties + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const SapEccSource: msRest.CompositeMapper = { + serializedName: "SapEccSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SapEccSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "String" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const SapCloudForCustomerSource: msRest.CompositeMapper = { + serializedName: "SapCloudForCustomerSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SapCloudForCustomerSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const SalesforceSource: msRest.CompositeMapper = { + serializedName: "SalesforceSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "SalesforceSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + }, + readBehavior: { + serializedName: "readBehavior", + type: { + name: "String" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const RelationalSource: msRest.CompositeMapper = { + serializedName: "RelationalSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "RelationalSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const DynamicsSource: msRest.CompositeMapper = { + serializedName: "DynamicsSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "DynamicsSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const DocumentDbCollectionSource: msRest.CompositeMapper = { + serializedName: "DocumentDbCollectionSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "DocumentDbCollectionSource", + modelProperties: { + ...CopySource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "Object" + } + }, + nestingSeparator: { + serializedName: "nestingSeparator", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const BlobSource: msRest.CompositeMapper = { + serializedName: "BlobSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "BlobSource", + modelProperties: { + ...CopySource.type.modelProperties, + treatEmptyAsNull: { + serializedName: "treatEmptyAsNull", + type: { + name: "Object" + } + }, + skipHeaderLineCount: { + serializedName: "skipHeaderLineCount", + type: { + name: "Object" + } + }, + recursive: { + serializedName: "recursive", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySource.type.additionalProperties + } +}; + +export const AzureTableSource: msRest.CompositeMapper = { + serializedName: "AzureTableSource", + type: { + name: "Composite", + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + uberParent: "CopySource", + className: "AzureTableSource", + modelProperties: { + ...CopySource.type.modelProperties, + azureTableSourceQuery: { + serializedName: "azureTableSourceQuery", + type: { + name: "Object" + } + }, + azureTableSourceIgnoreTableNotFound: { + serializedName: "azureTableSourceIgnoreTableNotFound", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Composite", + className: "CopySource", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + dataset: { + required: true, + serializedName: "typeProperties.dataset", + defaultValue: {}, + type: { + name: "Composite", + className: "DatasetReference" + } + }, + firstRowOnly: { + serializedName: "typeProperties.firstRowOnly", + type: { + name: "Object" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const LogStorageSettings: msRest.CompositeMapper = { + serializedName: "LogStorageSettings", + type: { + name: "Composite", + className: "LogStorageSettings", + modelProperties: { + linkedServiceName: { + required: true, + serializedName: "linkedServiceName", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + path: { + serializedName: "path", + type: { + name: "Object" + } + } + }, + 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", + type: { + name: "Object" + } + }, + maxConcurrentConnections: { + serializedName: "typeProperties.maxConcurrentConnections", + constraints: { + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + enableLogging: { + serializedName: "typeProperties.enableLogging", + type: { + name: "Object" + } + }, + logStorageSettings: { + serializedName: "typeProperties.logStorageSettings", + type: { + name: "Composite", + className: "LogStorageSettings", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + dataset: { + required: true, + serializedName: "typeProperties.dataset", + defaultValue: {}, + type: { + name: "Composite", + className: "DatasetReference" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const SqlServerStoredProcedureActivity: msRest.CompositeMapper = { + serializedName: "SqlServerStoredProcedure", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "SqlServerStoredProcedureActivity", + modelProperties: { + ...ExecutionActivity.type.modelProperties, + storedProcedureName: { + required: true, + serializedName: "typeProperties.storedProcedureName", + type: { + name: "Object" + } + }, + storedProcedureParameters: { + serializedName: "typeProperties.storedProcedureParameters", + 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" + } + } + } + }, + datasets: { + serializedName: "datasets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetReference" + } + } + } + } + } + } +}; + +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", + type: { + name: "Object" + } + }, + resourceLinkedService: { + serializedName: "typeProperties.resourceLinkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + folderPath: { + serializedName: "typeProperties.folderPath", + type: { + name: "Object" + } + }, + referenceObjects: { + serializedName: "typeProperties.referenceObjects", + type: { + name: "Composite", + className: "CustomActivityReferenceObject" + } + }, + extendedProperties: { + serializedName: "typeProperties.extendedProperties", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + retentionTimeInDays: { + serializedName: "typeProperties.retentionTimeInDays", + type: { + name: "Object" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const SSISPropertyOverride: msRest.CompositeMapper = { + serializedName: "SSISPropertyOverride", + type: { + name: "Composite", + className: "SSISPropertyOverride", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Object" + } + }, + isSensitive: { + serializedName: "isSensitive", + type: { + name: "Boolean" + } + } + } + } +}; + +export const SSISExecutionParameter: msRest.CompositeMapper = { + serializedName: "SSISExecutionParameter", + type: { + name: "Composite", + className: "SSISExecutionParameter", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Object" + } + } + } + } +}; + +export const SSISExecutionCredential: msRest.CompositeMapper = { + serializedName: "SSISExecutionCredential", + type: { + name: "Composite", + className: "SSISExecutionCredential", + modelProperties: { + domain: { + required: true, + serializedName: "domain", + type: { + name: "Object" + } + }, + userName: { + required: true, + serializedName: "userName", + type: { + name: "Object" + } + }, + password: { + required: true, + serializedName: "password", + type: { + name: "Composite", + className: "SecureString" + } + } + } + } +}; + +export const SSISPackageLocation: msRest.CompositeMapper = { + serializedName: "SSISPackageLocation", + type: { + name: "Composite", + className: "SSISPackageLocation", + modelProperties: { + packagePath: { + required: true, + serializedName: "packagePath", + type: { + name: "Object" + } + } + } + } +}; + +export const ExecuteSSISPackageActivity: msRest.CompositeMapper = { + serializedName: "ExecuteSSISPackage", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "ExecuteSSISPackageActivity", + 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", + type: { + name: "Object" + } + }, + environmentPath: { + serializedName: "typeProperties.environmentPath", + type: { + name: "Object" + } + }, + executionCredential: { + serializedName: "typeProperties.executionCredential", + type: { + name: "Composite", + className: "SSISExecutionCredential" + } + }, + connectVia: { + required: true, + serializedName: "typeProperties.connectVia", + defaultValue: {}, + type: { + name: "Composite", + className: "IntegrationRuntimeReference" + } + }, + projectParameters: { + serializedName: "typeProperties.projectParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "SSISExecutionParameter" + } + } + } + }, + packageParameters: { + serializedName: "typeProperties.packageParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "SSISExecutionParameter" + } + } + } + }, + projectConnectionManagers: { + serializedName: "typeProperties.projectConnectionManagers", + type: { + name: "Dictionary", + value: { + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "SSISExecutionParameter" + } + } + } + } + } + }, + packageConnectionManagers: { + serializedName: "typeProperties.packageConnectionManagers", + type: { + name: "Dictionary", + value: { + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "SSISExecutionParameter" + } + } + } + } + } + }, + propertyOverrides: { + serializedName: "typeProperties.propertyOverrides", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "SSISPropertyOverride" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const HDInsightSparkActivity: msRest.CompositeMapper = { + serializedName: "HDInsightSpark", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "HDInsightSparkActivity", + modelProperties: { + ...ExecutionActivity.type.modelProperties, + rootPath: { + required: true, + serializedName: "typeProperties.rootPath", + type: { + name: "Object" + } + }, + entryFilePath: { + required: true, + serializedName: "typeProperties.entryFilePath", + type: { + name: "Object" + } + }, + argumentsProperty: { + serializedName: "typeProperties.arguments", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + 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: "Object" + } + }, + sparkConfig: { + serializedName: "typeProperties.sparkConfig", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const HDInsightStreamingActivity: msRest.CompositeMapper = { + serializedName: "HDInsightStreaming", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "HDInsightStreamingActivity", + 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" + } + }, + mapper: { + required: true, + serializedName: "typeProperties.mapper", + type: { + name: "Object" + } + }, + reducer: { + required: true, + serializedName: "typeProperties.reducer", + type: { + name: "Object" + } + }, + input: { + required: true, + serializedName: "typeProperties.input", + type: { + name: "Object" + } + }, + output: { + required: true, + serializedName: "typeProperties.output", + type: { + name: "Object" + } + }, + filePaths: { + required: true, + serializedName: "typeProperties.filePaths", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + fileLinkedService: { + serializedName: "typeProperties.fileLinkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + combiner: { + serializedName: "typeProperties.combiner", + type: { + name: "Object" + } + }, + commandEnvironment: { + serializedName: "typeProperties.commandEnvironment", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + defines: { + serializedName: "typeProperties.defines", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const HDInsightMapReduceActivity: msRest.CompositeMapper = { + serializedName: "HDInsightMapReduce", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "HDInsightMapReduceActivity", + 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" + } + }, + className: { + required: true, + serializedName: "typeProperties.className", + type: { + name: "Object" + } + }, + jarFilePath: { + required: true, + serializedName: "typeProperties.jarFilePath", + type: { + name: "Object" + } + }, + jarLinkedService: { + serializedName: "typeProperties.jarLinkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + jarLibs: { + serializedName: "typeProperties.jarLibs", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + defines: { + serializedName: "typeProperties.defines", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const HDInsightPigActivity: msRest.CompositeMapper = { + serializedName: "HDInsightPig", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "HDInsightPigActivity", + 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", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const HDInsightHiveActivity: msRest.CompositeMapper = { + serializedName: "HDInsightHive", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "HDInsightHiveActivity", + 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", + 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" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const RedirectIncompatibleRowSettings: msRest.CompositeMapper = { + serializedName: "RedirectIncompatibleRowSettings", + type: { + name: "Composite", + className: "RedirectIncompatibleRowSettings", + modelProperties: { + linkedServiceName: { + required: true, + serializedName: "linkedServiceName", + type: { + name: "Object" + } + }, + path: { + serializedName: "path", + type: { + name: "Object" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const StagingSettings: msRest.CompositeMapper = { + serializedName: "StagingSettings", + type: { + name: "Composite", + className: "StagingSettings", + modelProperties: { + linkedServiceName: { + required: true, + serializedName: "linkedServiceName", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, + path: { + serializedName: "path", + type: { + name: "Object" + } + }, + enableCompression: { + serializedName: "enableCompression", + type: { + name: "Object" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const CopyTranslator: msRest.CompositeMapper = { + serializedName: "CopyTranslator", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CopyTranslator", + className: "CopyTranslator", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const TabularTranslator: msRest.CompositeMapper = { + serializedName: "TabularTranslator", + type: { + name: "Composite", + polymorphicDiscriminator: CopyTranslator.type.polymorphicDiscriminator, + uberParent: "CopyTranslator", + className: "TabularTranslator", + modelProperties: { + ...CopyTranslator.type.modelProperties, + columnMappings: { + serializedName: "columnMappings", + type: { + name: "Object" + } + }, + schemaMapping: { + serializedName: "schemaMapping", + type: { + name: "Object" + } + }, + collectionReference: { + serializedName: "collectionReference", + type: { + name: "Object" + } + } + }, + additionalProperties: CopyTranslator.type.additionalProperties + } +}; + +export const CopySink: msRest.CompositeMapper = { + serializedName: "CopySink", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CopySink", + className: "CopySink", + modelProperties: { + writeBatchSize: { + serializedName: "writeBatchSize", + type: { + name: "Object" + } + }, + writeBatchTimeout: { + serializedName: "writeBatchTimeout", + type: { + name: "Object" + } + }, + sinkRetryCount: { + serializedName: "sinkRetryCount", + type: { + name: "Object" + } + }, + sinkRetryWait: { + serializedName: "sinkRetryWait", + type: { + name: "Object" + } + }, + maxConcurrentConnections: { + serializedName: "maxConcurrentConnections", + type: { + name: "Object" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const CosmosDbMongoDbApiSink: msRest.CompositeMapper = { + serializedName: "CosmosDbMongoDbApiSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "CosmosDbMongoDbApiSink", + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const SalesforceSink: msRest.CompositeMapper = { + serializedName: "SalesforceSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "SalesforceSink", + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", + type: { + name: "String" + } + }, + externalIdFieldName: { + serializedName: "externalIdFieldName", + type: { + name: "Object" + } + }, + ignoreNullValues: { + serializedName: "ignoreNullValues", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const AzureDataExplorerSink: msRest.CompositeMapper = { + serializedName: "AzureDataExplorerSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "AzureDataExplorerSink", + modelProperties: { + ...CopySink.type.modelProperties, + ingestionMappingName: { + serializedName: "ingestionMappingName", + type: { + name: "Object" + } + }, + ingestionMappingAsJson: { + serializedName: "ingestionMappingAsJson", + type: { + name: "Object" + } + }, + flushImmediately: { + serializedName: "flushImmediately", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const DynamicsSink: msRest.CompositeMapper = { + serializedName: "DynamicsSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "DynamicsSink", + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + required: true, + isConstant: true, + serializedName: "writeBehavior", + defaultValue: 'Upsert', + type: { + name: "String" + } + }, + ignoreNullValues: { + serializedName: "ignoreNullValues", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const OdbcSink: msRest.CompositeMapper = { + serializedName: "OdbcSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "OdbcSink", + modelProperties: { + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const AzureSearchIndexSink: msRest.CompositeMapper = { + serializedName: "AzureSearchIndexSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "AzureSearchIndexSink", + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", + type: { + name: "String" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const AzureBlobFSSink: msRest.CompositeMapper = { + serializedName: "AzureBlobFSSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "AzureBlobFSSink", + modelProperties: { + ...CopySink.type.modelProperties, + copyBehavior: { + serializedName: "copyBehavior", + type: { + name: "String" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const AzureDataLakeStoreSink: msRest.CompositeMapper = { + serializedName: "AzureDataLakeStoreSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "AzureDataLakeStoreSink", + modelProperties: { + ...CopySink.type.modelProperties, + copyBehavior: { + serializedName: "copyBehavior", + type: { + name: "String" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const OracleSink: msRest.CompositeMapper = { + serializedName: "OracleSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "OracleSink", + modelProperties: { + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const PolybaseSettings: msRest.CompositeMapper = { + serializedName: "PolybaseSettings", + type: { + name: "Composite", + className: "PolybaseSettings", + modelProperties: { + rejectType: { + serializedName: "rejectType", + type: { + name: "String" + } + }, + rejectValue: { + serializedName: "rejectValue", + type: { + name: "Object" + } + }, + rejectSampleValue: { + serializedName: "rejectSampleValue", + type: { + name: "Object" + } + }, + useTypeDefault: { + serializedName: "useTypeDefault", + type: { + name: "Object" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const SqlDWSink: msRest.CompositeMapper = { + serializedName: "SqlDWSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "SqlDWSink", + modelProperties: { + ...CopySink.type.modelProperties, + preCopyScript: { + serializedName: "preCopyScript", + type: { + name: "Object" + } + }, + allowPolyBase: { + serializedName: "allowPolyBase", + type: { + name: "Object" + } + }, + polyBaseSettings: { + serializedName: "polyBaseSettings", + type: { + name: "Composite", + className: "PolybaseSettings", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const SqlSink: msRest.CompositeMapper = { + serializedName: "SqlSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "SqlSink", + modelProperties: { + ...CopySink.type.modelProperties, + sqlWriterStoredProcedureName: { + serializedName: "sqlWriterStoredProcedureName", + type: { + name: "Object" + } + }, + sqlWriterTableType: { + serializedName: "sqlWriterTableType", + type: { + name: "Object" + } + }, + preCopyScript: { + serializedName: "preCopyScript", + type: { + name: "Object" + } + }, + storedProcedureParameters: { + serializedName: "storedProcedureParameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "StoredProcedureParameter" + } + } + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const DocumentDbCollectionSink: msRest.CompositeMapper = { + serializedName: "DocumentDbCollectionSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "DocumentDbCollectionSink", + modelProperties: { + ...CopySink.type.modelProperties, + nestingSeparator: { + serializedName: "nestingSeparator", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const FileSystemSink: msRest.CompositeMapper = { + serializedName: "FileSystemSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "FileSystemSink", + modelProperties: { + ...CopySink.type.modelProperties, + copyBehavior: { + serializedName: "copyBehavior", + type: { + name: "String" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const BlobSink: msRest.CompositeMapper = { + serializedName: "BlobSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "BlobSink", + modelProperties: { + ...CopySink.type.modelProperties, + blobWriterOverwriteFiles: { + serializedName: "blobWriterOverwriteFiles", + type: { + name: "Object" + } + }, + blobWriterDateTimeFormat: { + serializedName: "blobWriterDateTimeFormat", + type: { + name: "Object" + } + }, + blobWriterAddHeader: { + serializedName: "blobWriterAddHeader", + type: { + name: "Object" + } + }, + copyBehavior: { + serializedName: "copyBehavior", + type: { + name: "String" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const AzureTableSink: msRest.CompositeMapper = { + serializedName: "AzureTableSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "AzureTableSink", + modelProperties: { + ...CopySink.type.modelProperties, + azureTableDefaultPartitionKeyValue: { + serializedName: "azureTableDefaultPartitionKeyValue", + type: { + name: "Object" + } + }, + azureTablePartitionKeyName: { + serializedName: "azureTablePartitionKeyName", + type: { + name: "Object" + } + }, + azureTableRowKeyName: { + serializedName: "azureTableRowKeyName", + type: { + name: "Object" + } + }, + azureTableInsertType: { + serializedName: "azureTableInsertType", + type: { + name: "Object" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const AzureQueueSink: msRest.CompositeMapper = { + serializedName: "AzureQueueSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "AzureQueueSink", + modelProperties: { + ...CopySink.type.modelProperties + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const SapCloudForCustomerSink: msRest.CompositeMapper = { + serializedName: "SapCloudForCustomerSink", + type: { + name: "Composite", + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + uberParent: "CopySink", + className: "SapCloudForCustomerSink", + modelProperties: { + ...CopySink.type.modelProperties, + writeBehavior: { + serializedName: "writeBehavior", + type: { + name: "String" + } + } + }, + additionalProperties: CopySink.type.additionalProperties + } +}; + +export const CopyActivity: msRest.CompositeMapper = { + serializedName: "Copy", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "CopyActivity", + modelProperties: { + ...ExecutionActivity.type.modelProperties, + source: { + required: true, + serializedName: "typeProperties.source", + type: { + name: "Composite", + className: "CopySource", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + sink: { + required: true, + serializedName: "typeProperties.sink", + type: { + name: "Composite", + className: "CopySink", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + translator: { + serializedName: "typeProperties.translator", + type: { + name: "Composite", + className: "CopyTranslator", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + enableStaging: { + serializedName: "typeProperties.enableStaging", + type: { + name: "Object" + } + }, + stagingSettings: { + serializedName: "typeProperties.stagingSettings", + type: { + name: "Composite", + className: "StagingSettings", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + parallelCopies: { + serializedName: "typeProperties.parallelCopies", + type: { + name: "Object" + } + }, + dataIntegrationUnits: { + serializedName: "typeProperties.dataIntegrationUnits", + type: { + name: "Object" + } + }, + enableSkipIncompatibleRow: { + serializedName: "typeProperties.enableSkipIncompatibleRow", + type: { + name: "Object" + } + }, + redirectIncompatibleRowSettings: { + serializedName: "typeProperties.redirectIncompatibleRowSettings", + type: { + name: "Composite", + className: "RedirectIncompatibleRowSettings", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + preserveRules: { + serializedName: "typeProperties.preserveRules", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + inputs: { + serializedName: "inputs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetReference" + } + } + } + }, + outputs: { + serializedName: "outputs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetReference" + } + } + } + } + }, + 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", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "WebHookActivity", + modelProperties: { + ...ControlActivity.type.modelProperties, + method: { + required: true, + isConstant: true, + serializedName: "typeProperties.method", + defaultValue: 'POST', + type: { + name: "String" + } + }, + url: { + required: true, + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + timeout: { + serializedName: "typeProperties.timeout", + type: { + name: "String" + } + }, + headers: { + serializedName: "typeProperties.headers", + type: { + name: "Object" + } + }, + body: { + serializedName: "typeProperties.body", + type: { + name: "Object" + } + }, + authentication: { + serializedName: "typeProperties.authentication", + type: { + name: "Composite", + className: "WebActivityAuthentication" + } + } + }, + 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", + type: { + name: "String" + } + }, + value: { + serializedName: "typeProperties.value", + type: { + name: "Object" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const SetVariableActivity: msRest.CompositeMapper = { + serializedName: "SetVariable", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "SetVariableActivity", + modelProperties: { + ...ControlActivity.type.modelProperties, + variableName: { + serializedName: "typeProperties.variableName", + type: { + name: "String" + } + }, + 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: {}, + type: { + name: "Composite", + className: "Expression" + } + }, + condition: { + required: true, + serializedName: "typeProperties.condition", + defaultValue: {}, + type: { + name: "Composite", + className: "Expression" + } + } + }, + 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", + type: { + name: "Object" + } + }, + sleep: { + serializedName: "typeProperties.sleep", + type: { + name: "Object" + } + }, + minimumSize: { + serializedName: "typeProperties.minimumSize", + type: { + name: "Object" + } + }, + childItems: { + serializedName: "typeProperties.childItems", + type: { + name: "Object" + } + }, + dataset: { + required: true, + serializedName: "typeProperties.dataset", + defaultValue: {}, + type: { + name: "Composite", + className: "DatasetReference" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const UntilActivity: msRest.CompositeMapper = { + serializedName: "Until", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "UntilActivity", + modelProperties: { + ...ControlActivity.type.modelProperties, + expression: { + required: true, + serializedName: "typeProperties.expression", + defaultValue: {}, + type: { + name: "Composite", + className: "Expression" + } + }, + timeout: { + serializedName: "typeProperties.timeout", + type: { + name: "Object" + } + }, + activities: { + required: true, + serializedName: "typeProperties.activities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const WaitActivity: msRest.CompositeMapper = { + serializedName: "Wait", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "WaitActivity", + modelProperties: { + ...ControlActivity.type.modelProperties, + waitTimeInSeconds: { + required: true, + serializedName: "typeProperties.waitTimeInSeconds", + type: { + name: "Number" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const ForEachActivity: msRest.CompositeMapper = { + serializedName: "ForEach", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "ForEachActivity", + modelProperties: { + ...ControlActivity.type.modelProperties, + isSequential: { + serializedName: "typeProperties.isSequential", + type: { + name: "Boolean" + } + }, + batchCount: { + serializedName: "typeProperties.batchCount", + constraints: { + InclusiveMaximum: 50 + }, + type: { + name: "Number" + } + }, + items: { + required: true, + serializedName: "typeProperties.items", + defaultValue: {}, + type: { + name: "Composite", + className: "Expression" + } + }, + activities: { + required: true, + serializedName: "typeProperties.activities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const IfConditionActivity: msRest.CompositeMapper = { + serializedName: "IfCondition", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "IfConditionActivity", + modelProperties: { + ...ControlActivity.type.modelProperties, + expression: { + required: true, + serializedName: "typeProperties.expression", + defaultValue: {}, + type: { + name: "Composite", + className: "Expression" + } + }, + ifTrueActivities: { + serializedName: "typeProperties.ifTrueActivities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + ifFalseActivities: { + serializedName: "typeProperties.ifFalseActivities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Activity", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const ExecutePipelineActivity: msRest.CompositeMapper = { + serializedName: "ExecutePipeline", + type: { + name: "Composite", + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + uberParent: "Activity", + className: "ExecutePipelineActivity", + modelProperties: { + ...ControlActivity.type.modelProperties, + pipelineProperty: { + required: true, + serializedName: "typeProperties.pipeline", + defaultValue: {}, + type: { + name: "Composite", + className: "PipelineReference" + } + }, + parameters: { + serializedName: "typeProperties.parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + waitOnCompletion: { + serializedName: "typeProperties.waitOnCompletion", + type: { + name: "Boolean" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + +export const LinkedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "LinkedIntegrationRuntime", + type: { + name: "Composite", + className: "LinkedIntegrationRuntime", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + subscriptionId: { + readOnly: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + }, + dataFactoryName: { + readOnly: true, + serializedName: "dataFactoryName", + type: { + name: "String" + } + }, + dataFactoryLocation: { + readOnly: true, + serializedName: "dataFactoryLocation", + type: { + name: "String" + } + }, + createTime: { + readOnly: true, + serializedName: "createTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const SelfHostedIntegrationRuntimeNode: msRest.CompositeMapper = { + serializedName: "SelfHostedIntegrationRuntimeNode", + type: { + name: "Composite", + className: "SelfHostedIntegrationRuntimeNode", + modelProperties: { + nodeName: { + readOnly: true, + serializedName: "nodeName", + type: { + name: "String" + } + }, + machineName: { + readOnly: true, + serializedName: "machineName", + type: { + name: "String" + } + }, + hostServiceUri: { + readOnly: true, + serializedName: "hostServiceUri", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + capabilities: { + readOnly: true, + serializedName: "capabilities", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + versionStatus: { + readOnly: true, + serializedName: "versionStatus", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + registerTime: { + readOnly: true, + serializedName: "registerTime", + type: { + name: "DateTime" + } + }, + lastConnectTime: { + readOnly: true, + serializedName: "lastConnectTime", + type: { + name: "DateTime" + } + }, + expiryTime: { + readOnly: true, + serializedName: "expiryTime", + type: { + name: "DateTime" + } + }, + lastStartTime: { + readOnly: true, + serializedName: "lastStartTime", + type: { + name: "DateTime" + } + }, + lastStopTime: { + readOnly: true, + serializedName: "lastStopTime", + type: { + name: "DateTime" + } + }, + lastUpdateResult: { + readOnly: true, + serializedName: "lastUpdateResult", + type: { + name: "String" + } + }, + lastStartUpdateTime: { + readOnly: true, + serializedName: "lastStartUpdateTime", + type: { + name: "DateTime" + } + }, + lastEndUpdateTime: { + readOnly: true, + serializedName: "lastEndUpdateTime", + type: { + name: "DateTime" + } + }, + isActiveDispatcher: { + readOnly: true, + serializedName: "isActiveDispatcher", + type: { + name: "Boolean" + } + }, + concurrentJobsLimit: { + readOnly: true, + serializedName: "concurrentJobsLimit", + type: { + name: "Number" + } + }, + maxConcurrentJobs: { + readOnly: true, + serializedName: "maxConcurrentJobs", + type: { + name: "Number" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const SelfHostedIntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "SelfHosted", + type: { + name: "Composite", + polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntimeStatus", + className: "SelfHostedIntegrationRuntimeStatus", + modelProperties: { + ...IntegrationRuntimeStatus.type.modelProperties, + createTime: { + readOnly: true, + serializedName: "typeProperties.createTime", + type: { + name: "DateTime" + } + }, + taskQueueId: { + readOnly: true, + serializedName: "typeProperties.taskQueueId", + type: { + name: "String" + } + }, + internalChannelEncryption: { + readOnly: true, + serializedName: "typeProperties.internalChannelEncryption", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "typeProperties.version", + type: { + name: "String" + } + }, + nodes: { + serializedName: "typeProperties.nodes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SelfHostedIntegrationRuntimeNode", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + scheduledUpdateDate: { + readOnly: true, + serializedName: "typeProperties.scheduledUpdateDate", + type: { + name: "DateTime" + } + }, + updateDelayOffset: { + readOnly: true, + serializedName: "typeProperties.updateDelayOffset", + type: { + name: "String" + } + }, + localTimeZoneOffset: { + readOnly: true, + serializedName: "typeProperties.localTimeZoneOffset", + type: { + name: "String" + } + }, + capabilities: { + readOnly: true, + serializedName: "typeProperties.capabilities", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + serviceUrls: { + readOnly: true, + serializedName: "typeProperties.serviceUrls", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + autoUpdate: { + readOnly: true, + serializedName: "typeProperties.autoUpdate", + type: { + name: "String" + } + }, + versionStatus: { + readOnly: true, + serializedName: "typeProperties.versionStatus", + type: { + name: "String" + } + }, + links: { + serializedName: "typeProperties.links", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedIntegrationRuntime" + } + } + } + }, + pushedVersion: { + readOnly: true, + serializedName: "typeProperties.pushedVersion", + type: { + name: "String" + } + }, + latestVersion: { + readOnly: true, + serializedName: "typeProperties.latestVersion", + type: { + name: "String" + } + }, + autoUpdateETA: { + readOnly: true, + serializedName: "typeProperties.autoUpdateETA", + type: { + name: "DateTime" + } + } + }, + additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } +}; + +export const ManagedIntegrationRuntimeOperationResult: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeOperationResult", + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeOperationResult", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + result: { + readOnly: true, + serializedName: "result", + type: { + name: "String" + } + }, + errorCode: { + readOnly: true, + serializedName: "errorCode", + type: { + name: "String" + } + }, + parameters: { + readOnly: true, + serializedName: "parameters", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + activityId: { + readOnly: true, + serializedName: "activityId", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntimeError: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeError", + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError", + modelProperties: { + time: { + readOnly: true, + serializedName: "time", + type: { + name: "DateTime" + } + }, + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + parameters: { + readOnly: true, + serializedName: "parameters", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntimeNode: msRest.CompositeMapper = { + serializedName: "ManagedIntegrationRuntimeNode", + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeNode", + modelProperties: { + nodeId: { + readOnly: true, + serializedName: "nodeId", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + }, + errors: { + serializedName: "errors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntimeStatus: msRest.CompositeMapper = { + serializedName: "Managed", + type: { + name: "Composite", + polymorphicDiscriminator: IntegrationRuntimeStatus.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntimeStatus", + className: "ManagedIntegrationRuntimeStatus", + modelProperties: { + ...IntegrationRuntimeStatus.type.modelProperties, + createTime: { + readOnly: true, + serializedName: "typeProperties.createTime", + type: { + name: "DateTime" + } + }, + nodes: { + readOnly: true, + serializedName: "typeProperties.nodes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeNode", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + otherErrors: { + readOnly: true, + serializedName: "typeProperties.otherErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeError", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + lastOperation: { + readOnly: true, + serializedName: "typeProperties.lastOperation", + type: { + name: "Composite", + className: "ManagedIntegrationRuntimeOperationResult", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: IntegrationRuntimeStatus.type.additionalProperties + } +}; + +export const LinkedIntegrationRuntimeType: msRest.CompositeMapper = { + serializedName: "LinkedIntegrationRuntimeType", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "authorizationType", + clientName: "authorizationType" + }, + uberParent: "LinkedIntegrationRuntimeType", + className: "LinkedIntegrationRuntimeType", + modelProperties: { + authorizationType: { + required: true, + serializedName: "authorizationType", + type: { + name: "String" + } + } + } + } +}; + +export const LinkedIntegrationRuntimeRbacAuthorization: msRest.CompositeMapper = { + serializedName: "RBAC", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, + uberParent: "LinkedIntegrationRuntimeType", + className: "LinkedIntegrationRuntimeRbacAuthorization", + modelProperties: { + ...LinkedIntegrationRuntimeType.type.modelProperties, + resourceId: { + required: true, + serializedName: "resourceId", + type: { + name: "String" + } + } + } + } +}; + +export const LinkedIntegrationRuntimeKeyAuthorization: msRest.CompositeMapper = { + serializedName: "Key", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedIntegrationRuntimeType.type.polymorphicDiscriminator, + uberParent: "LinkedIntegrationRuntimeType", + className: "LinkedIntegrationRuntimeKeyAuthorization", + modelProperties: { + ...LinkedIntegrationRuntimeType.type.modelProperties, + key: { + required: true, + serializedName: "key", + type: { + name: "Composite", + className: "SecureString" + } + } + } + } +}; + +export const SelfHostedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "SelfHosted", + type: { + name: "Composite", + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntime", + className: "SelfHostedIntegrationRuntime", + modelProperties: { + ...IntegrationRuntime.type.modelProperties, + linkedInfo: { + serializedName: "typeProperties.linkedInfo", + type: { + name: "Composite", + className: "LinkedIntegrationRuntimeType" + } + } + }, + additionalProperties: IntegrationRuntime.type.additionalProperties + } +}; + +export const IntegrationRuntimeCustomSetupScriptProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeCustomSetupScriptProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeCustomSetupScriptProperties", + modelProperties: { + blobContainerUri: { + serializedName: "blobContainerUri", + type: { + name: "String" + } + }, + sasToken: { + serializedName: "sasToken", + type: { + name: "Composite", + className: "SecureString" + } + } + } + } +}; + +export const IntegrationRuntimeSsisCatalogInfo: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeSsisCatalogInfo", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisCatalogInfo", + modelProperties: { + catalogServerEndpoint: { + serializedName: "catalogServerEndpoint", + type: { + name: "String" + } + }, + catalogAdminUserName: { + serializedName: "catalogAdminUserName", + constraints: { + MaxLength: 128, + MinLength: 1 + }, + type: { + name: "String" + } + }, + catalogAdminPassword: { + serializedName: "catalogAdminPassword", + type: { + name: "Composite", + className: "SecureString" + } + }, + catalogPricingTier: { + serializedName: "catalogPricingTier", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeSsisProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeSsisProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisProperties", + modelProperties: { + catalogInfo: { + serializedName: "catalogInfo", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisCatalogInfo", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + customSetupScriptProperties: { + serializedName: "customSetupScriptProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeCustomSetupScriptProperties" + } + }, + edition: { + serializedName: "edition", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeVNetProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeVNetProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeVNetProperties", + modelProperties: { + vNetId: { + serializedName: "vNetId", + type: { + name: "String" + } + }, + subnet: { + serializedName: "subnet", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeComputeProperties: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeComputeProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeComputeProperties", + modelProperties: { + location: { + serializedName: "location", + type: { + name: "String" + } + }, + nodeSize: { + serializedName: "nodeSize", + type: { + name: "String" + } + }, + numberOfNodes: { + serializedName: "numberOfNodes", + constraints: { + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + maxParallelExecutionsPerNode: { + serializedName: "maxParallelExecutionsPerNode", + constraints: { + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + vNetProperties: { + serializedName: "vNetProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeVNetProperties", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ManagedIntegrationRuntime: msRest.CompositeMapper = { + serializedName: "Managed", + type: { + name: "Composite", + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, + uberParent: "IntegrationRuntime", + className: "ManagedIntegrationRuntime", + modelProperties: { + ...IntegrationRuntime.type.modelProperties, + state: { + readOnly: true, + serializedName: "state", + type: { + name: "String" + } + }, + computeProperties: { + serializedName: "typeProperties.computeProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeComputeProperties", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + ssisProperties: { + serializedName: "typeProperties.ssisProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisProperties", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: IntegrationRuntime.type.additionalProperties + } +}; + +export const IntegrationRuntimeNodeIpAddress: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeNodeIpAddress", + type: { + name: "Composite", + className: "IntegrationRuntimeNodeIpAddress", + modelProperties: { + ipAddress: { + readOnly: true, + serializedName: "ipAddress", + type: { + name: "String" + } + } + } + } +}; + +export const SsisObjectMetadata: msRest.CompositeMapper = { + serializedName: "SsisObjectMetadata", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SsisObjectMetadata", + className: "SsisObjectMetadata", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "Number" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const SsisObjectMetadataListResponse: msRest.CompositeMapper = { + serializedName: "SsisObjectMetadataListResponse", + type: { + name: "Composite", + className: "SsisObjectMetadataListResponse", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SsisObjectMetadata" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeNodeMonitoringData: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeNodeMonitoringData", + type: { + name: "Composite", + className: "IntegrationRuntimeNodeMonitoringData", + modelProperties: { + nodeName: { + readOnly: true, + serializedName: "nodeName", + type: { + name: "String" + } + }, + availableMemoryInMB: { + readOnly: true, + serializedName: "availableMemoryInMB", + type: { + name: "Number" + } + }, + cpuUtilization: { + readOnly: true, + serializedName: "cpuUtilization", + type: { + name: "Number" + } + }, + concurrentJobsLimit: { + readOnly: true, + serializedName: "concurrentJobsLimit", + type: { + name: "Number" + } + }, + concurrentJobsRunning: { + readOnly: true, + serializedName: "concurrentJobsRunning", + type: { + name: "Number" + } + }, + maxConcurrentJobs: { + readOnly: true, + serializedName: "maxConcurrentJobs", + type: { + name: "Number" + } + }, + sentBytes: { + readOnly: true, + serializedName: "sentBytes", + type: { + name: "Number" + } + }, + receivedBytes: { + readOnly: true, + serializedName: "receivedBytes", + type: { + name: "Number" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const IntegrationRuntimeMonitoringData: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeMonitoringData", + type: { + name: "Composite", + className: "IntegrationRuntimeMonitoringData", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + nodes: { + serializedName: "nodes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeNodeMonitoringData", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + } + } +}; + +export const IntegrationRuntimeAuthKeys: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeAuthKeys", + type: { + name: "Composite", + className: "IntegrationRuntimeAuthKeys", + modelProperties: { + authKey1: { + serializedName: "authKey1", + type: { + name: "String" + } + }, + authKey2: { + serializedName: "authKey2", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeRegenerateKeyParameters: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeRegenerateKeyParameters", + type: { + name: "Composite", + className: "IntegrationRuntimeRegenerateKeyParameters", + modelProperties: { + keyName: { + serializedName: "keyName", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeConnectionInfo: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeConnectionInfo", + type: { + name: "Composite", + className: "IntegrationRuntimeConnectionInfo", + modelProperties: { + serviceToken: { + readOnly: true, + serializedName: "serviceToken", + type: { + name: "String" + } + }, + identityCertThumbprint: { + readOnly: true, + serializedName: "identityCertThumbprint", + type: { + name: "String" + } + }, + hostServiceUri: { + readOnly: true, + serializedName: "hostServiceUri", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + publicKey: { + readOnly: true, + serializedName: "publicKey", + type: { + name: "String" + } + }, + isIdentityCertExprired: { + readOnly: true, + serializedName: "isIdentityCertExprired", + type: { + name: "Boolean" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const OperationListResponse: msRest.CompositeMapper = { + serializedName: "OperationListResponse", + type: { + name: "Composite", + className: "OperationListResponse", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const FactoryListResponse: msRest.CompositeMapper = { + serializedName: "FactoryListResponse", + type: { + name: "Composite", + className: "FactoryListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Factory", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IntegrationRuntimeListResponse: msRest.CompositeMapper = { + serializedName: "IntegrationRuntimeListResponse", + type: { + name: "Composite", + className: "IntegrationRuntimeListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IntegrationRuntimeResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const LinkedServiceListResponse: msRest.CompositeMapper = { + serializedName: "LinkedServiceListResponse", + type: { + name: "Composite", + className: "LinkedServiceListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DatasetListResponse: msRest.CompositeMapper = { + serializedName: "DatasetListResponse", + type: { + name: "Composite", + className: "DatasetListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DatasetResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const PipelineListResponse: msRest.CompositeMapper = { + serializedName: "PipelineListResponse", + type: { + name: "Composite", + className: "PipelineListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PipelineResource", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const TriggerListResponse: msRest.CompositeMapper = { + serializedName: "TriggerListResponse", + type: { + name: "Composite", + className: "TriggerListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TriggerResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const RerunTriggerListResponse: msRest.CompositeMapper = { + serializedName: "RerunTriggerListResponse", + type: { + name: "Composite", + className: "RerunTriggerListResponse", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RerunTriggerResource" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +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, + 'Trigger.RerunTumblingWindowTrigger' : RerunTumblingWindowTrigger, + 'DependencyReference.SelfDependencyTumblingWindowTriggerReference' : SelfDependencyTumblingWindowTriggerReference, + 'DependencyReference.TumblingWindowTriggerDependencyReference' : TumblingWindowTriggerDependencyReference, + 'DependencyReference.TriggerDependencyReference' : TriggerDependencyReference, + 'DependencyReference' : DependencyReference, + 'Trigger.TumblingWindowTrigger' : TumblingWindowTrigger, + 'Trigger.BlobEventsTrigger' : BlobEventsTrigger, + 'Trigger.BlobTrigger' : BlobTrigger, + 'Trigger.ScheduleTrigger' : ScheduleTrigger, + 'Trigger.MultiplePipelineTrigger' : MultiplePipelineTrigger, + 'LinkedService.AzureFunction' : AzureFunctionLinkedService, + 'LinkedService.AzureDataExplorer' : AzureDataExplorerLinkedService, + 'LinkedService.GoogleAdWords' : GoogleAdWordsLinkedService, + 'LinkedService.OracleServiceCloud' : OracleServiceCloudLinkedService, + 'LinkedService.DynamicsAX' : DynamicsAXLinkedService, + 'LinkedService.Responsys' : ResponsysLinkedService, + '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.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.Salesforce' : SalesforceLinkedService, + 'LinkedService.Office365' : Office365LinkedService, + 'LinkedService.AzureBlobFS' : AzureBlobFSLinkedService, + 'LinkedService.AzureDataLakeStore' : AzureDataLakeStoreLinkedService, + 'LinkedService.CosmosDbMongoDbApi' : CosmosDbMongoDbApiLinkedService, + 'LinkedService.MongoDbV2' : MongoDbV2LinkedService, + '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.Odbc' : OdbcLinkedService, + '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.FileServer' : FileServerLinkedService, + 'LinkedService.HDInsight' : HDInsightLinkedService, + 'LinkedService.Dynamics' : DynamicsLinkedService, + 'LinkedService.CosmosDb' : CosmosDbLinkedService, + 'LinkedService.AzureKeyVault' : AzureKeyVaultLinkedService, + 'LinkedService.AzureBatch' : AzureBatchLinkedService, + 'LinkedService.AzureSqlDatabase' : AzureSqlDatabaseLinkedService, + 'LinkedService.SqlServer' : SqlServerLinkedService, + 'LinkedService.AzureSqlDW' : AzureSqlDWLinkedService, + 'LinkedService.AzureTableStorage' : AzureTableStorageLinkedService, + 'LinkedService.AzureBlobStorage' : AzureBlobStorageLinkedService, + 'LinkedService.AzureStorage' : AzureStorageLinkedService, + '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.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.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.RestResource' : RestResourceDataset, + 'Dataset.SqlServerTable' : SqlServerTableDataset, + 'Dataset.SapOpenHubTable' : SapOpenHubTableDataset, + 'Dataset.SapEccResource' : SapEccResourceDataset, + 'Dataset.SapCloudForCustomerResource' : SapCloudForCustomerResourceDataset, + 'Dataset.SalesforceObject' : SalesforceObjectDataset, + 'Dataset.RelationalTable' : RelationalTableDataset, + 'Dataset.AzureMySqlTable' : AzureMySqlTableDataset, + 'Dataset.OracleTable' : OracleTableDataset, + 'Dataset.ODataResource' : ODataResourceDataset, + 'Dataset.CosmosDbMongoDbApiCollection' : CosmosDbMongoDbApiCollectionDataset, + 'Dataset.MongoDbV2Collection' : MongoDbV2CollectionDataset, + 'Dataset.MongoDbCollection' : MongoDbCollectionDataset, + 'Dataset.FileShare' : FileShareDataset, + 'Dataset.Office365Table' : Office365Dataset, + 'Dataset.AzureBlobFSFile' : AzureBlobFSDataset, + 'Dataset.AzureDataLakeStoreFile' : AzureDataLakeStoreDataset, + 'Dataset.DynamicsEntity' : DynamicsEntityDataset, + 'Dataset.DocumentDbCollection' : DocumentDbCollectionDataset, + 'Dataset.CustomDataset' : CustomDataset, + 'Dataset.CassandraTable' : CassandraTableDataset, + 'Dataset.AzureSqlDWTable' : AzureSqlDWTableDataset, + 'Dataset.AzureSqlTable' : AzureSqlTableDataset, + 'Dataset.AzureTable' : AzureTableDataset, + 'Dataset.AzureBlob' : AzureBlobDataset, + 'Dataset.AmazonS3Object' : AmazonS3Dataset, + 'Activity.AzureFunctionActivity' : AzureFunctionActivity, + 'Activity.DatabricksSparkPython' : DatabricksSparkPythonActivity, + 'Activity.DatabricksSparkJar' : DatabricksSparkJarActivity, + 'Activity.DatabricksNotebook' : DatabricksNotebookActivity, + 'Activity.DataLakeAnalyticsU-SQL' : DataLakeAnalyticsUSQLActivity, + 'Activity.AzureMLUpdateResource' : AzureMLUpdateResourceActivity, + 'Activity.AzureMLBatchExecution' : AzureMLBatchExecutionActivity, + 'Activity.GetMetadata' : GetMetadataActivity, + 'Activity.WebActivity' : WebActivity, + '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.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.HttpSource' : HttpSource, + 'CopySource.AzureBlobFSSource' : AzureBlobFSSource, + 'CopySource.AzureDataLakeStoreSource' : AzureDataLakeStoreSource, + 'CopySource.Office365Source' : Office365Source, + 'CopySource.CosmosDbMongoDbApiSource' : CosmosDbMongoDbApiSource, + 'CopySource.MongoDbV2Source' : MongoDbV2Source, + 'CopySource.MongoDbSource' : MongoDbSource, + 'CopySource.CassandraSource' : CassandraSource, + 'CopySource.WebSource' : WebSource, + 'CopySource.OracleSource' : OracleSource, + 'CopySource.AzureDataExplorerSource' : AzureDataExplorerSource, + 'CopySource.AzureMySqlSource' : AzureMySqlSource, + 'CopySource.HdfsSource' : HdfsSource, + 'CopySource.FileSystemSource' : FileSystemSource, + 'CopySource.SqlDWSource' : SqlDWSource, + 'CopySource.SqlSource' : SqlSource, + 'CopySource.RestSource' : RestSource, + 'CopySource.SapOpenHubSource' : SapOpenHubSource, + 'CopySource.SapEccSource' : SapEccSource, + 'CopySource.SapCloudForCustomerSource' : SapCloudForCustomerSource, + 'CopySource.SalesforceSource' : SalesforceSource, + 'CopySource.RelationalSource' : RelationalSource, + 'CopySource.DynamicsSource' : DynamicsSource, + 'CopySource.DocumentDbCollectionSource' : DocumentDbCollectionSource, + 'CopySource.BlobSource' : BlobSource, + 'CopySource.AzureTableSource' : AzureTableSource, + 'CopySource' : CopySource, + 'Activity.Lookup' : LookupActivity, + '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, + 'CopyTranslator.TabularTranslator' : TabularTranslator, + 'CopyTranslator' : CopyTranslator, + 'CopySink.CosmosDbMongoDbApiSink' : CosmosDbMongoDbApiSink, + 'CopySink.SalesforceSink' : SalesforceSink, + 'CopySink.AzureDataExplorerSink' : AzureDataExplorerSink, + 'CopySink.DynamicsSink' : DynamicsSink, + 'CopySink.OdbcSink' : OdbcSink, + 'CopySink.AzureSearchIndexSink' : AzureSearchIndexSink, + 'CopySink.AzureBlobFSSink' : AzureBlobFSSink, + 'CopySink.AzureDataLakeStoreSink' : AzureDataLakeStoreSink, + 'CopySink.OracleSink' : OracleSink, + 'CopySink.SqlDWSink' : SqlDWSink, + 'CopySink.SqlSink' : SqlSink, + 'CopySink.DocumentDbCollectionSink' : DocumentDbCollectionSink, + 'CopySink.FileSystemSink' : FileSystemSink, + 'CopySink.BlobSink' : BlobSink, + 'CopySink.AzureTableSink' : AzureTableSink, + 'CopySink.AzureQueueSink' : AzureQueueSink, + 'CopySink.SapCloudForCustomerSink' : SapCloudForCustomerSink, + '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.IfCondition' : IfConditionActivity, + 'Activity.ExecutePipeline' : ExecutePipelineActivity, + 'Activity.Container' : ControlActivity, + 'IntegrationRuntimeStatus.SelfHosted' : SelfHostedIntegrationRuntimeStatus, + 'IntegrationRuntimeStatus.Managed' : ManagedIntegrationRuntimeStatus, + 'LinkedIntegrationRuntimeType.RBAC' : LinkedIntegrationRuntimeRbacAuthorization, + 'LinkedIntegrationRuntimeType.Key' : LinkedIntegrationRuntimeKeyAuthorization, + 'LinkedIntegrationRuntimeType' : LinkedIntegrationRuntimeType, + 'IntegrationRuntime.SelfHosted' : SelfHostedIntegrationRuntime, + 'IntegrationRuntime.Managed' : ManagedIntegrationRuntime, + 'SsisObjectMetadata' : SsisObjectMetadata +}; diff --git a/sdk/datafactory/arm-datafactory/lib/models/operationsMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/operationsMappers.ts new file mode 100644 index 000000000000..f9b7f42f9e7a --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/operationsMappers.ts @@ -0,0 +1,23 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + OperationListResponse, + Operation, + OperationDisplay, + OperationServiceSpecification, + OperationLogSpecification, + OperationMetricSpecification, + OperationMetricAvailability, + OperationMetricDimension, + CloudError +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/parameters.ts b/sdk/datafactory/arm-datafactory/lib/models/parameters.ts new file mode 100644 index 000000000000..f20817ecd164 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/parameters.ts @@ -0,0 +1,280 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; + +export const acceptLanguage: msRest.OperationParameter = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } +}; +export const apiVersion: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; +export const datasetName: msRest.OperationURLParameter = { + parameterPath: "datasetName", + mapper: { + required: true, + serializedName: "datasetName", + constraints: { + MaxLength: 260, + MinLength: 1, + Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ + }, + type: { + name: "String" + } + } +}; +export const factoryName: msRest.OperationURLParameter = { + parameterPath: "factoryName", + mapper: { + required: true, + serializedName: "factoryName", + constraints: { + MaxLength: 63, + MinLength: 3, + Pattern: /^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/ + }, + type: { + name: "String" + } + } +}; +export const ifMatch: msRest.OperationParameter = { + parameterPath: [ + "options", + "ifMatch" + ], + mapper: { + serializedName: "If-Match", + type: { + name: "String" + } + } +}; +export const ifNoneMatch: msRest.OperationParameter = { + parameterPath: [ + "options", + "ifNoneMatch" + ], + mapper: { + serializedName: "If-None-Match", + type: { + name: "String" + } + } +}; +export const integrationRuntimeName: msRest.OperationURLParameter = { + parameterPath: "integrationRuntimeName", + mapper: { + required: true, + serializedName: "integrationRuntimeName", + constraints: { + MaxLength: 63, + MinLength: 3, + Pattern: /^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/ + }, + type: { + name: "String" + } + } +}; +export const isRecovery: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "isRecovery" + ], + mapper: { + serializedName: "isRecovery", + type: { + name: "Boolean" + } + } +}; +export const isRecursive: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "isRecursive" + ], + mapper: { + serializedName: "isRecursive", + type: { + name: "Boolean" + } + } +}; +export const linkedServiceName: msRest.OperationURLParameter = { + parameterPath: "linkedServiceName", + mapper: { + required: true, + serializedName: "linkedServiceName", + constraints: { + MaxLength: 260, + MinLength: 1, + Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ + }, + type: { + name: "String" + } + } +}; +export const locationId: msRest.OperationURLParameter = { + parameterPath: "locationId", + mapper: { + required: true, + serializedName: "locationId", + type: { + name: "String" + } + } +}; +export const nextPageLink: msRest.OperationURLParameter = { + parameterPath: "nextPageLink", + mapper: { + required: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const nodeName: msRest.OperationURLParameter = { + parameterPath: "nodeName", + mapper: { + required: true, + serializedName: "nodeName", + constraints: { + MaxLength: 150, + MinLength: 1, + Pattern: /^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$/ + }, + type: { + name: "String" + } + } +}; +export const pipelineName: msRest.OperationURLParameter = { + parameterPath: "pipelineName", + mapper: { + required: true, + serializedName: "pipelineName", + constraints: { + MaxLength: 260, + MinLength: 1, + Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ + }, + type: { + name: "String" + } + } +}; +export const referencePipelineRunId: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "referencePipelineRunId" + ], + mapper: { + serializedName: "referencePipelineRunId", + type: { + name: "String" + } + } +}; +export const rerunTriggerName: msRest.OperationURLParameter = { + parameterPath: "rerunTriggerName", + mapper: { + required: true, + serializedName: "rerunTriggerName", + constraints: { + MaxLength: 260, + MinLength: 1, + Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ + }, + type: { + name: "String" + } + } +}; +export const resourceGroupName: msRest.OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + constraints: { + MaxLength: 90, + MinLength: 1, + Pattern: /^[-\w\._\(\)]+$/ + }, + type: { + name: "String" + } + } +}; +export const runId: msRest.OperationURLParameter = { + parameterPath: "runId", + mapper: { + required: true, + serializedName: "runId", + type: { + name: "String" + } + } +}; +export const startActivityName: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "startActivityName" + ], + mapper: { + serializedName: "startActivityName", + type: { + name: "String" + } + } +}; +export const subscriptionId: msRest.OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + required: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + } +}; +export const triggerName: msRest.OperationURLParameter = { + parameterPath: "triggerName", + mapper: { + required: true, + serializedName: "triggerName", + constraints: { + MaxLength: 260, + MinLength: 1, + Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ + }, + type: { + name: "String" + } + } +}; diff --git a/sdk/datafactory/arm-datafactory/lib/models/pipelineRunsMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/pipelineRunsMappers.ts new file mode 100644 index 000000000000..deee77adaa9c --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/pipelineRunsMappers.ts @@ -0,0 +1,21 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + RunFilterParameters, + RunQueryFilter, + RunQueryOrderBy, + PipelineRunsQueryResponse, + PipelineRun, + PipelineRunInvokedBy, + CloudError +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/pipelinesMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/pipelinesMappers.ts new file mode 100644 index 000000000000..ac25e39d083f --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/pipelinesMappers.ts @@ -0,0 +1,367 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + PipelineListResponse, + PipelineResource, + SubResource, + BaseResource, + Activity, + ActivityDependency, + UserProperty, + ParameterSpecification, + VariableSpecification, + PipelineFolder, + CloudError, + CreateRunResponse, + Resource, + Factory, + FactoryIdentity, + FactoryRepoConfiguration, + IntegrationRuntimeResource, + IntegrationRuntime, + LinkedServiceResource, + LinkedService, + IntegrationRuntimeReference, + DatasetResource, + Dataset, + LinkedServiceReference, + DatasetFolder, + TriggerResource, + Trigger, + FactoryVSTSConfiguration, + FactoryGitHubConfiguration, + RerunTumblingWindowTrigger, + RerunTriggerResource, + TumblingWindowTrigger, + TriggerPipelineReference, + PipelineReference, + RetryPolicy, + DependencyReference, + MultiplePipelineTrigger, + AzureFunctionLinkedService, + SecretBase, + AzureDataExplorerLinkedService, + GoogleAdWordsLinkedService, + OracleServiceCloudLinkedService, + DynamicsAXLinkedService, + ResponsysLinkedService, + AzureDatabricksLinkedService, + AzureDataLakeAnalyticsLinkedService, + HDInsightOnDemandLinkedService, + ScriptAction, + SalesforceMarketingCloudLinkedService, + NetezzaLinkedService, + AzureKeyVaultSecretReference, + VerticaLinkedService, + ZohoLinkedService, + XeroLinkedService, + SquareLinkedService, + SparkLinkedService, + ShopifyLinkedService, + ServiceNowLinkedService, + QuickBooksLinkedService, + PrestoLinkedService, + PhoenixLinkedService, + PaypalLinkedService, + MarketoLinkedService, + 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, + SalesforceLinkedService, + Office365LinkedService, + AzureBlobFSLinkedService, + AzureDataLakeStoreLinkedService, + CosmosDbMongoDbApiLinkedService, + MongoDbV2LinkedService, + MongoDbLinkedService, + CassandraLinkedService, + WebLinkedService, + WebLinkedServiceTypeProperties, + ODataLinkedService, + HdfsLinkedService, + OdbcLinkedService, + AzureMLLinkedService, + TeradataLinkedService, + Db2LinkedService, + SybaseLinkedService, + PostgreSqlLinkedService, + MySqlLinkedService, + AzureMySqlLinkedService, + OracleLinkedService, + FileServerLinkedService, + HDInsightLinkedService, + DynamicsLinkedService, + CosmosDbLinkedService, + AzureKeyVaultLinkedService, + AzureBatchLinkedService, + AzureSqlDatabaseLinkedService, + SqlServerLinkedService, + AzureSqlDWLinkedService, + AzureTableStorageLinkedService, + AzureBlobStorageLinkedService, + AzureStorageLinkedService, + GoogleAdWordsObjectDataset, + AzureDataExplorerTableDataset, + OracleServiceCloudObjectDataset, + DynamicsAXResourceDataset, + ResponsysObjectDataset, + SalesforceMarketingCloudObjectDataset, + VerticaTableDataset, + NetezzaTableDataset, + ZohoObjectDataset, + XeroObjectDataset, + SquareObjectDataset, + SparkObjectDataset, + ShopifyObjectDataset, + ServiceNowObjectDataset, + QuickBooksObjectDataset, + PrestoObjectDataset, + PhoenixObjectDataset, + PaypalObjectDataset, + MarketoObjectDataset, + MariaDBTableDataset, + MagentoObjectDataset, + JiraObjectDataset, + ImpalaObjectDataset, + HubspotObjectDataset, + HiveObjectDataset, + HBaseObjectDataset, + GreenplumTableDataset, + GoogleBigQueryObjectDataset, + EloquaObjectDataset, + DrillTableDataset, + CouchbaseTableDataset, + ConcurObjectDataset, + AzurePostgreSqlTableDataset, + AmazonMWSObjectDataset, + HttpDataset, + DatasetStorageFormat, + DatasetCompression, + AzureSearchIndexDataset, + WebTableDataset, + RestResourceDataset, + SqlServerTableDataset, + SapOpenHubTableDataset, + SapEccResourceDataset, + SapCloudForCustomerResourceDataset, + SalesforceObjectDataset, + RelationalTableDataset, + AzureMySqlTableDataset, + OracleTableDataset, + ODataResourceDataset, + CosmosDbMongoDbApiCollectionDataset, + MongoDbV2CollectionDataset, + MongoDbCollectionDataset, + FileShareDataset, + Office365Dataset, + AzureBlobFSDataset, + AzureDataLakeStoreDataset, + DynamicsEntityDataset, + DocumentDbCollectionDataset, + CustomDataset, + CassandraTableDataset, + AzureSqlDWTableDataset, + AzureSqlTableDataset, + AzureTableDataset, + AzureBlobDataset, + AmazonS3Dataset, + ExecutionActivity, + ActivityPolicy, + ControlActivity, + SelfHostedIntegrationRuntime, + LinkedIntegrationRuntimeType, + ManagedIntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeVNetProperties, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeSsisCatalogInfo, + SecureString, + IntegrationRuntimeCustomSetupScriptProperties, + SelfDependencyTumblingWindowTriggerReference, + TriggerDependencyReference, + TriggerReference, + BlobEventsTrigger, + BlobTrigger, + ScheduleTrigger, + ScheduleTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WebClientCertificateAuthentication, + WebBasicAuthentication, + WebAnonymousAuthentication, + DatasetZipDeflateCompression, + DatasetDeflateCompression, + DatasetGZipCompression, + DatasetBZip2Compression, + ParquetFormat, + OrcFormat, + AvroFormat, + JsonFormat, + TextFormat, + AzureFunctionActivity, + DatabricksSparkPythonActivity, + DatabricksSparkJarActivity, + DatabricksNotebookActivity, + DataLakeAnalyticsUSQLActivity, + AzureMLUpdateResourceActivity, + AzureMLBatchExecutionActivity, + AzureMLWebServiceFile, + GetMetadataActivity, + DatasetReference, + WebActivity, + WebActivityAuthentication, + LookupActivity, + CopySource, + DeleteActivity, + LogStorageSettings, + SqlServerStoredProcedureActivity, + StoredProcedureParameter, + CustomActivity, + CustomActivityReferenceObject, + ExecuteSSISPackageActivity, + SSISPackageLocation, + SSISExecutionCredential, + SSISExecutionParameter, + SSISPropertyOverride, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HDInsightMapReduceActivity, + HDInsightPigActivity, + HDInsightHiveActivity, + CopyActivity, + CopySink, + CopyTranslator, + StagingSettings, + RedirectIncompatibleRowSettings, + WebHookActivity, + AppendVariableActivity, + SetVariableActivity, + FilterActivity, + Expression, + ValidationActivity, + UntilActivity, + WaitActivity, + ForEachActivity, + IfConditionActivity, + ExecutePipelineActivity, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeKeyAuthorization, + TumblingWindowTriggerDependencyReference, + AmazonRedshiftSource, + RedshiftUnloadSettings, + GoogleAdWordsSource, + OracleServiceCloudSource, + DynamicsAXSource, + ResponsysSource, + SalesforceMarketingCloudSource, + VerticaSource, + NetezzaSource, + ZohoSource, + XeroSource, + SquareSource, + SparkSource, + ShopifySource, + ServiceNowSource, + QuickBooksSource, + PrestoSource, + PhoenixSource, + PaypalSource, + MarketoSource, + MariaDBSource, + MagentoSource, + JiraSource, + ImpalaSource, + HubspotSource, + HiveSource, + HBaseSource, + GreenplumSource, + GoogleBigQuerySource, + EloquaSource, + DrillSource, + CouchbaseSource, + ConcurSource, + AzurePostgreSqlSource, + AmazonMWSSource, + HttpSource, + AzureBlobFSSource, + AzureDataLakeStoreSource, + Office365Source, + CosmosDbMongoDbApiSource, + MongoDbCursorMethodsProperties, + MongoDbV2Source, + MongoDbSource, + CassandraSource, + WebSource, + OracleSource, + AzureDataExplorerSource, + AzureMySqlSource, + HdfsSource, + DistcpSettings, + FileSystemSource, + SqlDWSource, + SqlSource, + RestSource, + SapOpenHubSource, + SapEccSource, + SapCloudForCustomerSource, + SalesforceSource, + RelationalSource, + DynamicsSource, + DocumentDbCollectionSource, + BlobSource, + AzureTableSource, + TabularTranslator, + CosmosDbMongoDbApiSink, + SalesforceSink, + AzureDataExplorerSink, + DynamicsSink, + OdbcSink, + AzureSearchIndexSink, + AzureBlobFSSink, + AzureDataLakeStoreSink, + OracleSink, + SqlDWSink, + PolybaseSettings, + SqlSink, + DocumentDbCollectionSink, + FileSystemSink, + BlobSink, + AzureTableSink, + AzureQueueSink, + SapCloudForCustomerSink +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/rerunTriggersMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/rerunTriggersMappers.ts new file mode 100644 index 000000000000..ee466d005edf --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/rerunTriggersMappers.ts @@ -0,0 +1,367 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + RerunTumblingWindowTriggerActionParameters, + TriggerResource, + SubResource, + BaseResource, + Trigger, + CloudError, + RerunTriggerListResponse, + RerunTriggerResource, + RerunTumblingWindowTrigger, + Resource, + Factory, + FactoryIdentity, + FactoryRepoConfiguration, + IntegrationRuntimeResource, + IntegrationRuntime, + LinkedServiceResource, + LinkedService, + IntegrationRuntimeReference, + ParameterSpecification, + DatasetResource, + Dataset, + LinkedServiceReference, + DatasetFolder, + PipelineResource, + Activity, + ActivityDependency, + UserProperty, + VariableSpecification, + PipelineFolder, + FactoryVSTSConfiguration, + FactoryGitHubConfiguration, + TumblingWindowTrigger, + TriggerPipelineReference, + PipelineReference, + RetryPolicy, + DependencyReference, + MultiplePipelineTrigger, + AzureFunctionLinkedService, + SecretBase, + AzureDataExplorerLinkedService, + GoogleAdWordsLinkedService, + OracleServiceCloudLinkedService, + DynamicsAXLinkedService, + ResponsysLinkedService, + AzureDatabricksLinkedService, + AzureDataLakeAnalyticsLinkedService, + HDInsightOnDemandLinkedService, + ScriptAction, + SalesforceMarketingCloudLinkedService, + NetezzaLinkedService, + AzureKeyVaultSecretReference, + VerticaLinkedService, + ZohoLinkedService, + XeroLinkedService, + SquareLinkedService, + SparkLinkedService, + ShopifyLinkedService, + ServiceNowLinkedService, + QuickBooksLinkedService, + PrestoLinkedService, + PhoenixLinkedService, + PaypalLinkedService, + MarketoLinkedService, + 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, + SalesforceLinkedService, + Office365LinkedService, + AzureBlobFSLinkedService, + AzureDataLakeStoreLinkedService, + CosmosDbMongoDbApiLinkedService, + MongoDbV2LinkedService, + MongoDbLinkedService, + CassandraLinkedService, + WebLinkedService, + WebLinkedServiceTypeProperties, + ODataLinkedService, + HdfsLinkedService, + OdbcLinkedService, + AzureMLLinkedService, + TeradataLinkedService, + Db2LinkedService, + SybaseLinkedService, + PostgreSqlLinkedService, + MySqlLinkedService, + AzureMySqlLinkedService, + OracleLinkedService, + FileServerLinkedService, + HDInsightLinkedService, + DynamicsLinkedService, + CosmosDbLinkedService, + AzureKeyVaultLinkedService, + AzureBatchLinkedService, + AzureSqlDatabaseLinkedService, + SqlServerLinkedService, + AzureSqlDWLinkedService, + AzureTableStorageLinkedService, + AzureBlobStorageLinkedService, + AzureStorageLinkedService, + GoogleAdWordsObjectDataset, + AzureDataExplorerTableDataset, + OracleServiceCloudObjectDataset, + DynamicsAXResourceDataset, + ResponsysObjectDataset, + SalesforceMarketingCloudObjectDataset, + VerticaTableDataset, + NetezzaTableDataset, + ZohoObjectDataset, + XeroObjectDataset, + SquareObjectDataset, + SparkObjectDataset, + ShopifyObjectDataset, + ServiceNowObjectDataset, + QuickBooksObjectDataset, + PrestoObjectDataset, + PhoenixObjectDataset, + PaypalObjectDataset, + MarketoObjectDataset, + MariaDBTableDataset, + MagentoObjectDataset, + JiraObjectDataset, + ImpalaObjectDataset, + HubspotObjectDataset, + HiveObjectDataset, + HBaseObjectDataset, + GreenplumTableDataset, + GoogleBigQueryObjectDataset, + EloquaObjectDataset, + DrillTableDataset, + CouchbaseTableDataset, + ConcurObjectDataset, + AzurePostgreSqlTableDataset, + AmazonMWSObjectDataset, + HttpDataset, + DatasetStorageFormat, + DatasetCompression, + AzureSearchIndexDataset, + WebTableDataset, + RestResourceDataset, + SqlServerTableDataset, + SapOpenHubTableDataset, + SapEccResourceDataset, + SapCloudForCustomerResourceDataset, + SalesforceObjectDataset, + RelationalTableDataset, + AzureMySqlTableDataset, + OracleTableDataset, + ODataResourceDataset, + CosmosDbMongoDbApiCollectionDataset, + MongoDbV2CollectionDataset, + MongoDbCollectionDataset, + FileShareDataset, + Office365Dataset, + AzureBlobFSDataset, + AzureDataLakeStoreDataset, + DynamicsEntityDataset, + DocumentDbCollectionDataset, + CustomDataset, + CassandraTableDataset, + AzureSqlDWTableDataset, + AzureSqlTableDataset, + AzureTableDataset, + AzureBlobDataset, + AmazonS3Dataset, + ExecutionActivity, + ActivityPolicy, + ControlActivity, + SelfHostedIntegrationRuntime, + LinkedIntegrationRuntimeType, + ManagedIntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeVNetProperties, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeSsisCatalogInfo, + SecureString, + IntegrationRuntimeCustomSetupScriptProperties, + SelfDependencyTumblingWindowTriggerReference, + TriggerDependencyReference, + TriggerReference, + BlobEventsTrigger, + BlobTrigger, + ScheduleTrigger, + ScheduleTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WebClientCertificateAuthentication, + WebBasicAuthentication, + WebAnonymousAuthentication, + DatasetZipDeflateCompression, + DatasetDeflateCompression, + DatasetGZipCompression, + DatasetBZip2Compression, + ParquetFormat, + OrcFormat, + AvroFormat, + JsonFormat, + TextFormat, + AzureFunctionActivity, + DatabricksSparkPythonActivity, + DatabricksSparkJarActivity, + DatabricksNotebookActivity, + DataLakeAnalyticsUSQLActivity, + AzureMLUpdateResourceActivity, + AzureMLBatchExecutionActivity, + AzureMLWebServiceFile, + GetMetadataActivity, + DatasetReference, + WebActivity, + WebActivityAuthentication, + LookupActivity, + CopySource, + DeleteActivity, + LogStorageSettings, + SqlServerStoredProcedureActivity, + StoredProcedureParameter, + CustomActivity, + CustomActivityReferenceObject, + ExecuteSSISPackageActivity, + SSISPackageLocation, + SSISExecutionCredential, + SSISExecutionParameter, + SSISPropertyOverride, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HDInsightMapReduceActivity, + HDInsightPigActivity, + HDInsightHiveActivity, + CopyActivity, + CopySink, + CopyTranslator, + StagingSettings, + RedirectIncompatibleRowSettings, + WebHookActivity, + AppendVariableActivity, + SetVariableActivity, + FilterActivity, + Expression, + ValidationActivity, + UntilActivity, + WaitActivity, + ForEachActivity, + IfConditionActivity, + ExecutePipelineActivity, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeKeyAuthorization, + TumblingWindowTriggerDependencyReference, + AmazonRedshiftSource, + RedshiftUnloadSettings, + GoogleAdWordsSource, + OracleServiceCloudSource, + DynamicsAXSource, + ResponsysSource, + SalesforceMarketingCloudSource, + VerticaSource, + NetezzaSource, + ZohoSource, + XeroSource, + SquareSource, + SparkSource, + ShopifySource, + ServiceNowSource, + QuickBooksSource, + PrestoSource, + PhoenixSource, + PaypalSource, + MarketoSource, + MariaDBSource, + MagentoSource, + JiraSource, + ImpalaSource, + HubspotSource, + HiveSource, + HBaseSource, + GreenplumSource, + GoogleBigQuerySource, + EloquaSource, + DrillSource, + CouchbaseSource, + ConcurSource, + AzurePostgreSqlSource, + AmazonMWSSource, + HttpSource, + AzureBlobFSSource, + AzureDataLakeStoreSource, + Office365Source, + CosmosDbMongoDbApiSource, + MongoDbCursorMethodsProperties, + MongoDbV2Source, + MongoDbSource, + CassandraSource, + WebSource, + OracleSource, + AzureDataExplorerSource, + AzureMySqlSource, + HdfsSource, + DistcpSettings, + FileSystemSource, + SqlDWSource, + SqlSource, + RestSource, + SapOpenHubSource, + SapEccSource, + SapCloudForCustomerSource, + SalesforceSource, + RelationalSource, + DynamicsSource, + DocumentDbCollectionSource, + BlobSource, + AzureTableSource, + TabularTranslator, + CosmosDbMongoDbApiSink, + SalesforceSink, + AzureDataExplorerSink, + DynamicsSink, + OdbcSink, + AzureSearchIndexSink, + AzureBlobFSSink, + AzureDataLakeStoreSink, + OracleSink, + SqlDWSink, + PolybaseSettings, + SqlSink, + DocumentDbCollectionSink, + FileSystemSink, + BlobSink, + AzureTableSink, + AzureQueueSink, + SapCloudForCustomerSink +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/triggerRunsMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/triggerRunsMappers.ts new file mode 100644 index 000000000000..260c029d1e46 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/triggerRunsMappers.ts @@ -0,0 +1,20 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + RunFilterParameters, + RunQueryFilter, + RunQueryOrderBy, + TriggerRunsQueryResponse, + TriggerRun, + CloudError +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/models/triggersMappers.ts b/sdk/datafactory/arm-datafactory/lib/models/triggersMappers.ts new file mode 100644 index 000000000000..c374a75fd867 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/models/triggersMappers.ts @@ -0,0 +1,366 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + TriggerListResponse, + TriggerResource, + SubResource, + BaseResource, + Trigger, + CloudError, + Resource, + Factory, + FactoryIdentity, + FactoryRepoConfiguration, + IntegrationRuntimeResource, + IntegrationRuntime, + LinkedServiceResource, + LinkedService, + IntegrationRuntimeReference, + ParameterSpecification, + DatasetResource, + Dataset, + LinkedServiceReference, + DatasetFolder, + PipelineResource, + Activity, + ActivityDependency, + UserProperty, + VariableSpecification, + PipelineFolder, + FactoryVSTSConfiguration, + FactoryGitHubConfiguration, + RerunTumblingWindowTrigger, + RerunTriggerResource, + TumblingWindowTrigger, + TriggerPipelineReference, + PipelineReference, + RetryPolicy, + DependencyReference, + MultiplePipelineTrigger, + AzureFunctionLinkedService, + SecretBase, + AzureDataExplorerLinkedService, + GoogleAdWordsLinkedService, + OracleServiceCloudLinkedService, + DynamicsAXLinkedService, + ResponsysLinkedService, + AzureDatabricksLinkedService, + AzureDataLakeAnalyticsLinkedService, + HDInsightOnDemandLinkedService, + ScriptAction, + SalesforceMarketingCloudLinkedService, + NetezzaLinkedService, + AzureKeyVaultSecretReference, + VerticaLinkedService, + ZohoLinkedService, + XeroLinkedService, + SquareLinkedService, + SparkLinkedService, + ShopifyLinkedService, + ServiceNowLinkedService, + QuickBooksLinkedService, + PrestoLinkedService, + PhoenixLinkedService, + PaypalLinkedService, + MarketoLinkedService, + 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, + SalesforceLinkedService, + Office365LinkedService, + AzureBlobFSLinkedService, + AzureDataLakeStoreLinkedService, + CosmosDbMongoDbApiLinkedService, + MongoDbV2LinkedService, + MongoDbLinkedService, + CassandraLinkedService, + WebLinkedService, + WebLinkedServiceTypeProperties, + ODataLinkedService, + HdfsLinkedService, + OdbcLinkedService, + AzureMLLinkedService, + TeradataLinkedService, + Db2LinkedService, + SybaseLinkedService, + PostgreSqlLinkedService, + MySqlLinkedService, + AzureMySqlLinkedService, + OracleLinkedService, + FileServerLinkedService, + HDInsightLinkedService, + DynamicsLinkedService, + CosmosDbLinkedService, + AzureKeyVaultLinkedService, + AzureBatchLinkedService, + AzureSqlDatabaseLinkedService, + SqlServerLinkedService, + AzureSqlDWLinkedService, + AzureTableStorageLinkedService, + AzureBlobStorageLinkedService, + AzureStorageLinkedService, + GoogleAdWordsObjectDataset, + AzureDataExplorerTableDataset, + OracleServiceCloudObjectDataset, + DynamicsAXResourceDataset, + ResponsysObjectDataset, + SalesforceMarketingCloudObjectDataset, + VerticaTableDataset, + NetezzaTableDataset, + ZohoObjectDataset, + XeroObjectDataset, + SquareObjectDataset, + SparkObjectDataset, + ShopifyObjectDataset, + ServiceNowObjectDataset, + QuickBooksObjectDataset, + PrestoObjectDataset, + PhoenixObjectDataset, + PaypalObjectDataset, + MarketoObjectDataset, + MariaDBTableDataset, + MagentoObjectDataset, + JiraObjectDataset, + ImpalaObjectDataset, + HubspotObjectDataset, + HiveObjectDataset, + HBaseObjectDataset, + GreenplumTableDataset, + GoogleBigQueryObjectDataset, + EloquaObjectDataset, + DrillTableDataset, + CouchbaseTableDataset, + ConcurObjectDataset, + AzurePostgreSqlTableDataset, + AmazonMWSObjectDataset, + HttpDataset, + DatasetStorageFormat, + DatasetCompression, + AzureSearchIndexDataset, + WebTableDataset, + RestResourceDataset, + SqlServerTableDataset, + SapOpenHubTableDataset, + SapEccResourceDataset, + SapCloudForCustomerResourceDataset, + SalesforceObjectDataset, + RelationalTableDataset, + AzureMySqlTableDataset, + OracleTableDataset, + ODataResourceDataset, + CosmosDbMongoDbApiCollectionDataset, + MongoDbV2CollectionDataset, + MongoDbCollectionDataset, + FileShareDataset, + Office365Dataset, + AzureBlobFSDataset, + AzureDataLakeStoreDataset, + DynamicsEntityDataset, + DocumentDbCollectionDataset, + CustomDataset, + CassandraTableDataset, + AzureSqlDWTableDataset, + AzureSqlTableDataset, + AzureTableDataset, + AzureBlobDataset, + AmazonS3Dataset, + ExecutionActivity, + ActivityPolicy, + ControlActivity, + SelfHostedIntegrationRuntime, + LinkedIntegrationRuntimeType, + ManagedIntegrationRuntime, + IntegrationRuntimeComputeProperties, + IntegrationRuntimeVNetProperties, + IntegrationRuntimeSsisProperties, + IntegrationRuntimeSsisCatalogInfo, + SecureString, + IntegrationRuntimeCustomSetupScriptProperties, + SelfDependencyTumblingWindowTriggerReference, + TriggerDependencyReference, + TriggerReference, + BlobEventsTrigger, + BlobTrigger, + ScheduleTrigger, + ScheduleTriggerRecurrence, + RecurrenceSchedule, + RecurrenceScheduleOccurrence, + WebClientCertificateAuthentication, + WebBasicAuthentication, + WebAnonymousAuthentication, + DatasetZipDeflateCompression, + DatasetDeflateCompression, + DatasetGZipCompression, + DatasetBZip2Compression, + ParquetFormat, + OrcFormat, + AvroFormat, + JsonFormat, + TextFormat, + AzureFunctionActivity, + DatabricksSparkPythonActivity, + DatabricksSparkJarActivity, + DatabricksNotebookActivity, + DataLakeAnalyticsUSQLActivity, + AzureMLUpdateResourceActivity, + AzureMLBatchExecutionActivity, + AzureMLWebServiceFile, + GetMetadataActivity, + DatasetReference, + WebActivity, + WebActivityAuthentication, + LookupActivity, + CopySource, + DeleteActivity, + LogStorageSettings, + SqlServerStoredProcedureActivity, + StoredProcedureParameter, + CustomActivity, + CustomActivityReferenceObject, + ExecuteSSISPackageActivity, + SSISPackageLocation, + SSISExecutionCredential, + SSISExecutionParameter, + SSISPropertyOverride, + HDInsightSparkActivity, + HDInsightStreamingActivity, + HDInsightMapReduceActivity, + HDInsightPigActivity, + HDInsightHiveActivity, + CopyActivity, + CopySink, + CopyTranslator, + StagingSettings, + RedirectIncompatibleRowSettings, + WebHookActivity, + AppendVariableActivity, + SetVariableActivity, + FilterActivity, + Expression, + ValidationActivity, + UntilActivity, + WaitActivity, + ForEachActivity, + IfConditionActivity, + ExecutePipelineActivity, + LinkedIntegrationRuntimeRbacAuthorization, + LinkedIntegrationRuntimeKeyAuthorization, + TumblingWindowTriggerDependencyReference, + AmazonRedshiftSource, + RedshiftUnloadSettings, + GoogleAdWordsSource, + OracleServiceCloudSource, + DynamicsAXSource, + ResponsysSource, + SalesforceMarketingCloudSource, + VerticaSource, + NetezzaSource, + ZohoSource, + XeroSource, + SquareSource, + SparkSource, + ShopifySource, + ServiceNowSource, + QuickBooksSource, + PrestoSource, + PhoenixSource, + PaypalSource, + MarketoSource, + MariaDBSource, + MagentoSource, + JiraSource, + ImpalaSource, + HubspotSource, + HiveSource, + HBaseSource, + GreenplumSource, + GoogleBigQuerySource, + EloquaSource, + DrillSource, + CouchbaseSource, + ConcurSource, + AzurePostgreSqlSource, + AmazonMWSSource, + HttpSource, + AzureBlobFSSource, + AzureDataLakeStoreSource, + Office365Source, + CosmosDbMongoDbApiSource, + MongoDbCursorMethodsProperties, + MongoDbV2Source, + MongoDbSource, + CassandraSource, + WebSource, + OracleSource, + AzureDataExplorerSource, + AzureMySqlSource, + HdfsSource, + DistcpSettings, + FileSystemSource, + SqlDWSource, + SqlSource, + RestSource, + SapOpenHubSource, + SapEccSource, + SapCloudForCustomerSource, + SalesforceSource, + RelationalSource, + DynamicsSource, + DocumentDbCollectionSource, + BlobSource, + AzureTableSource, + TabularTranslator, + CosmosDbMongoDbApiSink, + SalesforceSink, + AzureDataExplorerSink, + DynamicsSink, + OdbcSink, + AzureSearchIndexSink, + AzureBlobFSSink, + AzureDataLakeStoreSink, + OracleSink, + SqlDWSink, + PolybaseSettings, + SqlSink, + DocumentDbCollectionSink, + FileSystemSink, + BlobSink, + AzureTableSink, + AzureQueueSink, + SapCloudForCustomerSink +} from "../models/mappers"; + diff --git a/sdk/datafactory/arm-datafactory/lib/operations/activityRuns.ts b/sdk/datafactory/arm-datafactory/lib/operations/activityRuns.ts new file mode 100644 index 000000000000..8fa8f663ebc9 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/activityRuns.ts @@ -0,0 +1,103 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a ActivityRuns. */ +export class ActivityRuns { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a ActivityRuns. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + runId, + filterParameters, + options + }, + queryByPipelineRunOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const queryByPipelineRunOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/datasets.ts b/sdk/datafactory/arm-datafactory/lib/operations/datasets.ts new file mode 100644 index 000000000000..c1a78dc8ccbd --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/datasets.ts @@ -0,0 +1,335 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a Datasets. */ +export class Datasets { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a Datasets. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Lists datasets. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param [options] The optional parameters + * @returns Promise + */ + 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( + { + resourceGroupName, + factoryName, + options + }, + listByFactoryOperationSpec, + callback) as Promise; + } + + /** + * 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; + /** + * @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 + */ + createOrUpdate(resourceGroupName: string, factoryName: string, datasetName: string, dataset: Models.DatasetResource, callback: msRest.ServiceCallback): void; + /** + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + datasetName, + dataset, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Gets a dataset. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param datasetName The dataset name. + * @param [options] The optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + datasetName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes a dataset. + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + datasetName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * 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(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByFactoryNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByFactoryOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.datasetName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "dataset", + mapper: { + ...Mappers.DatasetResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.DatasetResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.datasetName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifNoneMatch, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DatasetResource + }, + 304: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/datasets/{datasetName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.datasetName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByFactoryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DatasetListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/exposureControl.ts b/sdk/datafactory/arm-datafactory/lib/operations/exposureControl.ts new file mode 100644 index 000000000000..fb3914a8e571 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/exposureControl.ts @@ -0,0 +1,161 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a ExposureControl. */ +export class ExposureControl { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a ExposureControl. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * 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 + */ + 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 { + return this.client.sendOperationRequest( + { + locationId, + exposureControlRequest, + options + }, + getFeatureValueOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + exposureControlRequest, + options + }, + getFeatureValueByFactoryOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getFeatureValueOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getFeatureValueByFactoryOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getFeatureValue", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "exposureControlRequest", + mapper: { + ...Mappers.ExposureControlRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ExposureControlResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/factories.ts b/sdk/datafactory/arm-datafactory/lib/operations/factories.ts new file mode 100644 index 000000000000..0a957848b043 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/factories.ts @@ -0,0 +1,678 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a Factories. */ +export class Factories { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a Factories. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * 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 + }, + listOperationSpec, + callback) as Promise; + } + + /** + * 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; + /** + * @param locationId The location identifier. + * @param factoryRepoUpdate Update factory repo request definition. + * @param callback The callback + */ + configureFactoryRepo(locationId: string, factoryRepoUpdate: Models.FactoryRepoUpdate, callback: msRest.ServiceCallback): void; + /** + * @param locationId The location identifier. + * @param factoryRepoUpdate Update factory repo request definition. + * @param options The optional parameters + * @param callback The callback + */ + 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 { + return this.client.sendOperationRequest( + { + locationId, + factoryRepoUpdate, + options + }, + configureFactoryRepoOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as 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 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + factory, + options + }, + createOrUpdateOperationSpec, + callback) as 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 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + factoryUpdateParameters, + options + }, + updateOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes a factory. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param [options] The optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * 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 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + gitHubAccessTokenRequest, + options + }, + getGitHubAccessTokenOperationSpec, + callback) as 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 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + policy, + options + }, + getDataPlaneAccessOperationSpec, + callback) as Promise; + } + + /** + * 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(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } + + /** + * 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 { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FactoryListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const configureFactoryRepoOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FactoryListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "factory", + mapper: { + ...Mappers.Factory, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Factory + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "factoryUpdateParameters", + mapper: { + ...Mappers.FactoryUpdateParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Factory + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifNoneMatch, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Factory + }, + 304: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getGitHubAccessTokenOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getGitHubAccessToken", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "gitHubAccessTokenRequest", + mapper: { + ...Mappers.GitHubAccessTokenRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.GitHubAccessTokenResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getDataPlaneAccessOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getDataPlaneAccess", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "policy", + mapper: { + ...Mappers.UserAccessPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.AccessPolicyResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FactoryListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FactoryListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/index.ts b/sdk/datafactory/arm-datafactory/lib/operations/index.ts new file mode 100644 index 000000000000..1a1c9f440fe4 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/index.ts @@ -0,0 +1,24 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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 "./rerunTriggers"; +export * from "./triggerRuns"; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimeNodes.ts b/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimeNodes.ts new file mode 100644 index 000000000000..236a5dcbd59f --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimeNodes.ts @@ -0,0 +1,311 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a IntegrationRuntimeNodes. */ +export class IntegrationRuntimeNodes { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a IntegrationRuntimeNodes. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + nodeName, + options + }, + getOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + nodeName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + nodeName, + updateIntegrationRuntimeNodeRequest, + options + }, + updateOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + nodeName, + options + }, + getIpAddressOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + 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: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + 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 + ], + requestBody: { + parameterPath: "updateIntegrationRuntimeNodeRequest", + mapper: { + ...Mappers.UpdateIntegrationRuntimeNodeRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SelfHostedIntegrationRuntimeNode + }, + default: { + 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", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName, + Parameters.nodeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeNodeIpAddress + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimeObjectMetadata.ts b/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimeObjectMetadata.ts new file mode 100644 index 000000000000..aa92768ff9e2 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimeObjectMetadata.ts @@ -0,0 +1,161 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a IntegrationRuntimeObjectMetadata. */ +export class IntegrationRuntimeObjectMetadata { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a IntegrationRuntimeObjectMetadata. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * 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 + * @returns Promise + */ + refresh(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRefresh(resourceGroupName,factoryName,integrationRuntimeName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as 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 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; + /** + * @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.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; + } + + /** + * 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 + * @returns Promise + */ + beginRefresh(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + beginRefreshOperationSpec, + options); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRefreshOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SsisObjectMetadataStatusResponse + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimes.ts b/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimes.ts new file mode 100644 index 000000000000..61c16924a951 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/integrationRuntimes.ts @@ -0,0 +1,1121 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a IntegrationRuntimes. */ +export class IntegrationRuntimes { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a IntegrationRuntimes. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Lists integration runtimes. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param [options] The optional parameters + * @returns Promise + */ + 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( + { + resourceGroupName, + factoryName, + options + }, + listByFactoryOperationSpec, + callback) as Promise; + } + + /** + * 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; + /** + * @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 + */ + createOrUpdate(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, integrationRuntime: Models.IntegrationRuntimeResource, callback: msRest.ServiceCallback): void; + /** + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + integrationRuntime, + options + }, + createOrUpdateOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + getOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + updateIntegrationRuntimeRequest, + options + }, + updateOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + getStatusOperationSpec, + callback) as Promise; + } + + /** + * 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 + * @returns Promise + */ + 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; + /** + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + getConnectionInfoOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + regenerateKeyParameters, + options + }, + regenerateAuthKeyOperationSpec, + callback) as 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + listAuthKeysOperationSpec, + callback) as 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 optional parameters + * @returns Promise + */ + start(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStart(resourceGroupName,factoryName,integrationRuntimeName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as 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 optional parameters + * @returns Promise + */ + stop(resourceGroupName: string, factoryName: string, integrationRuntimeName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStop(resourceGroupName,factoryName,integrationRuntimeName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * 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 + * @returns Promise + */ + syncCredentials(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 + */ + syncCredentials(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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + syncCredentialsOperationSpec, + callback); + } + + /** + * 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; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param integrationRuntimeName The integration runtime name. + * @param callback The callback + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + getMonitoringDataOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + options + }, + upgradeOperationSpec, + callback); + } + + /** + * 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + linkedIntegrationRuntimeRequest, + options + }, + removeLinksOperationSpec, + callback); + } + + /** + * 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + integrationRuntimeName, + createLinkedIntegrationRuntimeRequest, + options + }, + createLinkedIntegrationRuntimeOperationSpec, + callback) as 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 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. + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByFactoryNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByFactoryOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "integrationRuntime", + mapper: { + ...Mappers.IntegrationRuntimeResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifNoneMatch, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeResource + }, + 304: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "updateIntegrationRuntimeRequest", + mapper: { + ...Mappers.UpdateIntegrationRuntimeRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getStatusOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeStatusResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getConnectionInfoOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeConnectionInfo + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const regenerateAuthKeyOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "regenerateKeyParameters", + mapper: { + ...Mappers.IntegrationRuntimeRegenerateKeyParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeAuthKeys + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAuthKeysOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeAuthKeys + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const syncCredentialsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getMonitoringDataOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeMonitoringData + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const upgradeOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const removeLinksOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "linkedIntegrationRuntimeRequest", + mapper: { + ...Mappers.LinkedIntegrationRuntimeRequest, + required: true + } + }, + 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", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "createLinkedIntegrationRuntimeRequest", + mapper: { + ...Mappers.CreateLinkedIntegrationRuntimeRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeStatusResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeStatusResponse + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStopOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.integrationRuntimeName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByFactoryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IntegrationRuntimeListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/linkedServices.ts b/sdk/datafactory/arm-datafactory/lib/operations/linkedServices.ts new file mode 100644 index 000000000000..6d117656636d --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/linkedServices.ts @@ -0,0 +1,335 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a LinkedServices. */ +export class LinkedServices { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a LinkedServices. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Lists linked services. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param [options] The optional parameters + * @returns Promise + */ + 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( + { + resourceGroupName, + factoryName, + options + }, + listByFactoryOperationSpec, + callback) as Promise; + } + + /** + * 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; + /** + * @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 + */ + createOrUpdate(resourceGroupName: string, factoryName: string, linkedServiceName: string, linkedService: Models.LinkedServiceResource, callback: msRest.ServiceCallback): void; + /** + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + linkedServiceName, + linkedService, + options + }, + createOrUpdateOperationSpec, + callback) as 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + linkedServiceName, + options + }, + getOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + linkedServiceName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * 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(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByFactoryNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByFactoryOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.linkedServiceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "linkedService", + mapper: { + ...Mappers.LinkedServiceResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.LinkedServiceResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.linkedServiceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifNoneMatch, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LinkedServiceResource + }, + 304: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/linkedservices/{linkedServiceName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.linkedServiceName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByFactoryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.LinkedServiceListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/operations.ts b/sdk/datafactory/arm-datafactory/lib/operations/operations.ts new file mode 100644 index 000000000000..3d2c2fe9ddce --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/operations.ts @@ -0,0 +1,123 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a Operations. */ +export class Operations { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a Operations. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Lists the available Azure Data Factory API operations. + * @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 + }, + listOperationSpec, + callback) as Promise; + } + + /** + * 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 + */ + 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(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "providers/Microsoft.DataFactory/operations", + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/pipelineRuns.ts b/sdk/datafactory/arm-datafactory/lib/operations/pipelineRuns.ts new file mode 100644 index 000000000000..553d61bcfbab --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/pipelineRuns.ts @@ -0,0 +1,221 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a PipelineRuns. */ +export class PipelineRuns { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a PipelineRuns. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + filterParameters, + options + }, + queryByFactoryOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + runId, + options + }, + getOperationSpec, + callback) as 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + runId, + options + }, + cancelOperationSpec, + callback); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const queryByFactoryOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.runId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PipelineRun + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const cancelOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/cancel", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.runId + ], + queryParameters: [ + Parameters.isRecursive, + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/pipelines.ts b/sdk/datafactory/arm-datafactory/lib/operations/pipelines.ts new file mode 100644 index 000000000000..e0d7c1b37157 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/pipelines.ts @@ -0,0 +1,417 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a Pipelines. */ +export class Pipelines { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a Pipelines. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Lists pipelines. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param [options] The optional parameters + * @returns Promise + */ + 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( + { + resourceGroupName, + factoryName, + options + }, + listByFactoryOperationSpec, + callback) as Promise; + } + + /** + * 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; + /** + * @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 + */ + createOrUpdate(resourceGroupName: string, factoryName: string, pipelineName: string, pipelineParameter: Models.PipelineResource, callback: msRest.ServiceCallback): void; + /** + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + pipelineName, + pipelineParameter, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Gets a pipeline. + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + pipelineName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes a pipeline. + * @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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + pipelineName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + pipelineName, + options + }, + createRunOperationSpec, + callback) as Promise; + } + + /** + * 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(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByFactoryNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByFactoryOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.pipelineName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "pipelineParameter", + mapper: { + ...Mappers.PipelineResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PipelineResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.pipelineName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifNoneMatch, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PipelineResource + }, + 304: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.pipelineName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createRunOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelines/{pipelineName}/createRun", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.pipelineName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.referencePipelineRunId, + Parameters.isRecovery, + Parameters.startActivityName + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + } + }, + responses: { + 200: { + bodyMapper: Mappers.CreateRunResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByFactoryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PipelineListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/rerunTriggers.ts b/sdk/datafactory/arm-datafactory/lib/operations/rerunTriggers.ts new file mode 100644 index 000000000000..22693ccbabba --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/rerunTriggers.ts @@ -0,0 +1,406 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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/rerunTriggersMappers"; +import * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a RerunTriggers. */ +export class RerunTriggers { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a RerunTriggers. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Creates a rerun trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param rerunTumblingWindowTriggerActionParameters Rerun tumbling window trigger action + * parameters. + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, rerunTumblingWindowTriggerActionParameters: Models.RerunTumblingWindowTriggerActionParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param rerunTumblingWindowTriggerActionParameters Rerun tumbling window trigger action + * parameters. + * @param callback The callback + */ + create(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, rerunTumblingWindowTriggerActionParameters: Models.RerunTumblingWindowTriggerActionParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param rerunTumblingWindowTriggerActionParameters Rerun tumbling window trigger action + * parameters. + * @param options The optional parameters + * @param callback The callback + */ + create(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, rerunTumblingWindowTriggerActionParameters: Models.RerunTumblingWindowTriggerActionParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, rerunTumblingWindowTriggerActionParameters: Models.RerunTumblingWindowTriggerActionParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + triggerName, + rerunTriggerName, + rerunTumblingWindowTriggerActionParameters, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Starts a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + start(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStart(resourceGroupName,factoryName,triggerName,rerunTriggerName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Stops a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + stop(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStop(resourceGroupName,factoryName,triggerName,rerunTriggerName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Cancels a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + cancel(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginCancel(resourceGroupName,factoryName,triggerName,rerunTriggerName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Lists rerun triggers by an original trigger name. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + listByTrigger(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 + */ + listByTrigger(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 + */ + listByTrigger(resourceGroupName: string, factoryName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByTrigger(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + triggerName, + options + }, + listByTriggerOperationSpec, + callback) as Promise; + } + + /** + * Starts a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + beginStart(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + factoryName, + triggerName, + rerunTriggerName, + options + }, + beginStartOperationSpec, + options); + } + + /** + * Stops a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + beginStop(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + factoryName, + triggerName, + rerunTriggerName, + options + }, + beginStopOperationSpec, + options); + } + + /** + * Cancels a trigger. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param triggerName The trigger name. + * @param rerunTriggerName The rerun trigger name. + * @param [options] The optional parameters + * @returns Promise + */ + beginCancel(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + factoryName, + triggerName, + rerunTriggerName, + options + }, + beginCancelOperationSpec, + options); + } + + /** + * Lists rerun triggers by an original trigger name. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByTriggerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByTriggerNext(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 + */ + listByTriggerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByTriggerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByTriggerNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName, + Parameters.rerunTriggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "rerunTumblingWindowTriggerActionParameters", + mapper: { + ...Mappers.RerunTumblingWindowTriggerActionParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.TriggerResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByTriggerOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RerunTriggerListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/start", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName, + Parameters.rerunTriggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStopOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/stop", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName, + Parameters.rerunTriggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCancelOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/cancel", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName, + Parameters.rerunTriggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByTriggerNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RerunTriggerListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/triggerRuns.ts b/sdk/datafactory/arm-datafactory/lib/operations/triggerRuns.ts new file mode 100644 index 000000000000..400d35e96cb4 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/triggerRuns.ts @@ -0,0 +1,98 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a TriggerRuns. */ +export class TriggerRuns { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a TriggerRuns. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * 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 optional parameters + * @returns Promise + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + filterParameters, + options + }, + queryByFactoryOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const queryByFactoryOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryTriggerRuns", + 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.TriggerRunsQueryResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/lib/operations/triggers.ts b/sdk/datafactory/arm-datafactory/lib/operations/triggers.ts new file mode 100644 index 000000000000..0e3699ac9da3 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/lib/operations/triggers.ts @@ -0,0 +1,450 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * 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 * as Parameters from "../models/parameters"; +import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; + +/** Class representing a Triggers. */ +export class Triggers { + private readonly client: DataFactoryManagementClientContext; + + /** + * Create a Triggers. + * @param {DataFactoryManagementClientContext} client Reference to the service client. + */ + constructor(client: DataFactoryManagementClientContext) { + this.client = client; + } + + /** + * Lists triggers. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param [options] The optional parameters + * @returns Promise + */ + 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( + { + resourceGroupName, + factoryName, + options + }, + listByFactoryOperationSpec, + callback) as 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 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + triggerName, + trigger, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Gets 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + triggerName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes 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 + */ + 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 + */ + 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 { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + triggerName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * 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()); + } + + /** + * 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 + */ + stop(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginStop(resourceGroupName,factoryName,triggerName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * 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 + */ + beginStart(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + factoryName, + triggerName, + options + }, + beginStartOperationSpec, + options); + } + + /** + * 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 + */ + beginStop(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + factoryName, + triggerName, + options + }, + beginStopOperationSpec, + options); + } + + /** + * 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(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByFactoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByFactoryNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByFactoryOperationSpec: msRest.OperationSpec = { + 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 + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifMatch, + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "trigger", + mapper: { + ...Mappers.TriggerResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.TriggerResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.ifNoneMatch, + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TriggerResource + }, + 304: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStartOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginStopOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName, + Parameters.triggerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByFactoryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.TriggerListResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json new file mode 100644 index 000000000000..83541e641ee1 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/package.json @@ -0,0 +1,56 @@ +{ + "name": "@azure/arm-datafactory", + "author": "Microsoft Corporation", + "description": "DataFactoryManagementClient Library with typescript type definitions for node.js and browser.", + "version": "5.3.0", + "dependencies": { + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", + "tslib": "^1.9.3" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/arm-datafactory.js", + "module": "./esm/dataFactoryManagementClient.js", + "types": "./esm/dataFactoryManagementClient.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.4.9" + }, + "homepage": "https://github.com/azure/azure-sdk-for-js", + "repository": { + "type": "git", + "url": "https://github.com/azure/azure-sdk-for-js.git" + }, + "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", + "lib/**/*.ts", + "rollup.config.js", + "tsconfig.json" + ], + "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" + }, + "sideEffects": false +} diff --git a/sdk/datafactory/arm-datafactory/rollup.config.js b/sdk/datafactory/arm-datafactory/rollup.config.js new file mode 100644 index 000000000000..8688684e0bc3 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/rollup.config.js @@ -0,0 +1,37 @@ +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. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */` + }, + plugins: [ + nodeResolve({ module: true }), + sourcemaps() + ] +}; + +export default config; diff --git a/sdk/datafactory/arm-datafactory/tsconfig.json b/sdk/datafactory/arm-datafactory/tsconfig.json new file mode 100644 index 000000000000..51ea90961ce5 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es5", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": ["es6"], + "declaration": true, + "outDir": "./esm", + "importHelpers": true + }, + "include": ["./lib/**/*.ts"], + "exclude": ["node_modules"] +}