diff --git a/packages/@azure/arm-datafactory/LICENSE.txt b/packages/@azure/arm-datafactory/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/arm-datafactory/LICENSE.txt +++ b/packages/@azure/arm-datafactory/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +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 diff --git a/packages/@azure/arm-datafactory/README.md b/packages/@azure/arm-datafactory/README.md index 58151afe23bb..d60db2e0ffc6 100644 --- a/packages/@azure/arm-datafactory/README.md +++ b/packages/@azure/arm-datafactory/README.md @@ -1,34 +1,24 @@ -## Azure DataFactoryManagementClient SDK for JavaScript - +# Azure DataFactoryManagementClient SDK for JavaScript This package contains an isomorphic SDK for DataFactoryManagementClient. -### Currently supported environments - +## Currently supported environments - Node.js version 6.x.x or higher - Browser JavaScript -### How to Install - +## How to Install ``` 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 - -``` -npm install @azure/ms-rest-nodeauth -``` +## How to use -##### Sample code +### nodejs - Authentication, client creation and list operations as an example written in TypeScript. ```ts -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 * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as msRestNodeAuth from "ms-rest-nodeauth"; import { DataFactoryManagementClient, DataFactoryManagementModels, DataFactoryManagementMappers } from "@azure/arm-datafactory"; const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; @@ -43,16 +33,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` - -##### Sample code - +### browser - Authentication, client creation and list operations as an example written in JavaScript. See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - index.html @@ -61,11 +42,11 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-datafactory sample - - - + + + - - + + ``` -## Related projects - -- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +# Related projects + - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts index a5a259413e04..feafd194a493 100644 --- a/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts +++ b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClient.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -19,7 +19,9 @@ 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; @@ -40,7 +42,9 @@ class DataFactoryManagementClient extends DataFactoryManagementClientContext { 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); diff --git a/packages/@azure/arm-datafactory/lib/dataFactoryManagementClientContext.ts b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClientContext.ts index a09d8c33b533..d174106a61e1 100644 --- a/packages/@azure/arm-datafactory/lib/dataFactoryManagementClientContext.ts +++ b/packages/@azure/arm-datafactory/lib/dataFactoryManagementClientContext.ts @@ -9,8 +9,8 @@ */ import * as Models from "./models"; -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; const packageName = "@azure/arm-datafactory"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-datafactory/lib/models/datasetsMappers.ts b/packages/@azure/arm-datafactory/lib/models/datasetsMappers.ts index 933ddb8679d9..6db6cc5de177 100644 --- a/packages/@azure/arm-datafactory/lib/models/datasetsMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/datasetsMappers.ts @@ -46,8 +46,9 @@ export { RetryPolicy, DependencyReference, MultiplePipelineTrigger, - ResponsysLinkedService, + AzureFunctionLinkedService, SecretBase, + ResponsysLinkedService, AzureDatabricksLinkedService, AzureDataLakeAnalyticsLinkedService, HDInsightOnDemandLinkedService, @@ -210,6 +211,7 @@ export { AvroFormat, JsonFormat, TextFormat, + AzureFunctionActivity, DatabricksSparkPythonActivity, DatabricksSparkJarActivity, DatabricksNotebookActivity, @@ -224,12 +226,14 @@ export { LookupActivity, CopySource, DeleteActivity, + LogStorageSettings, SqlServerStoredProcedureActivity, StoredProcedureParameter, CustomActivity, CustomActivityReferenceObject, ExecuteSSISPackageActivity, SSISPackageLocation, + SSISExecutionCredential, SSISExecutionParameter, SSISPropertyOverride, HDInsightSparkActivity, @@ -246,6 +250,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/exposureControlMappers.ts b/packages/@azure/arm-datafactory/lib/models/exposureControlMappers.ts new file mode 100644 index 000000000000..1e20b103bef5 --- /dev/null +++ b/packages/@azure/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/packages/@azure/arm-datafactory/lib/models/factoriesMappers.ts b/packages/@azure/arm-datafactory/lib/models/factoriesMappers.ts index ec95aae7d0e6..38dec94fc70a 100644 --- a/packages/@azure/arm-datafactory/lib/models/factoriesMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/factoriesMappers.ts @@ -21,6 +21,8 @@ export { FactoryUpdateParameters, GitHubAccessTokenRequest, GitHubAccessTokenResponse, + UserAccessPolicy, + AccessPolicyResponse, SubResource, IntegrationRuntimeResource, IntegrationRuntime, @@ -50,8 +52,9 @@ export { RetryPolicy, DependencyReference, MultiplePipelineTrigger, - ResponsysLinkedService, + AzureFunctionLinkedService, SecretBase, + ResponsysLinkedService, AzureDatabricksLinkedService, AzureDataLakeAnalyticsLinkedService, HDInsightOnDemandLinkedService, @@ -214,6 +217,7 @@ export { AvroFormat, JsonFormat, TextFormat, + AzureFunctionActivity, DatabricksSparkPythonActivity, DatabricksSparkJarActivity, DatabricksNotebookActivity, @@ -228,12 +232,14 @@ export { LookupActivity, CopySource, DeleteActivity, + LogStorageSettings, SqlServerStoredProcedureActivity, StoredProcedureParameter, CustomActivity, CustomActivityReferenceObject, ExecuteSSISPackageActivity, SSISPackageLocation, + SSISExecutionCredential, SSISExecutionParameter, SSISPropertyOverride, HDInsightSparkActivity, @@ -250,6 +256,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/index.ts b/packages/@azure/arm-datafactory/lib/models/index.ts index e5bba31fb9aa..63825a76b0ad 100644 --- a/packages/@azure/arm-datafactory/lib/models/index.ts +++ b/packages/@azure/arm-datafactory/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; -import * as msRest from "@azure/ms-rest-js"; +import { BaseResource, CloudError, AzureServiceClientOptions } from "ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; export { BaseResource, CloudError }; @@ -228,7 +228,7 @@ export interface FactoryRepoConfiguration { */ accountName: string; /** - * @member {string} repositoryName Rrepository name. + * @member {string} repositoryName Repository name. */ repositoryName: string; /** @@ -529,7 +529,7 @@ export interface ParameterSpecification { /** * Contains the possible cases for LinkedService. */ -export type LinkedServiceUnion = LinkedService | 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 | SapEccLinkedService | SapCloudForCustomerLinkedService | SalesforceLinkedService | AzureDataLakeStoreLinkedService | 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; +export type LinkedServiceUnion = LinkedService | AzureFunctionLinkedService | 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 | SapEccLinkedService | SapCloudForCustomerLinkedService | SalesforceLinkedService | AzureDataLakeStoreLinkedService | 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 @@ -625,6 +625,12 @@ export interface Dataset { * 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. @@ -697,11 +703,11 @@ export interface ActivityDependency { */ export interface UserProperty { /** - * @member {string} name User proprety name. + * @member {string} name User property name. */ name: string; /** - * @member {any} value User proprety value. Type: string (or Expression with + * @member {any} value User property value. Type: string (or Expression with * resultType string). */ value: any; @@ -905,7 +911,7 @@ export interface FactoryVSTSConfiguration { */ accountName: string; /** - * @member {string} repositoryName Rrepository name. + * @member {string} repositoryName Repository name. */ repositoryName: string; /** @@ -946,7 +952,7 @@ export interface FactoryGitHubConfiguration { */ accountName: string; /** - * @member {string} repositoryName Rrepository name. + * @member {string} repositoryName Repository name. */ repositoryName: string; /** @@ -1020,6 +1026,63 @@ export interface GitHubAccessTokenResponse { 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. @@ -1768,6 +1831,82 @@ export interface 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. */ @@ -2007,7 +2146,7 @@ export interface MultiplePipelineTrigger { /** * @interface * An interface representing BlobEventsTrigger. - * Trigger that runs everytime a Blob event occurs. + * Trigger that runs every time a Blob event occurs. * */ export interface BlobEventsTrigger { @@ -2061,7 +2200,7 @@ export interface BlobEventsTrigger { /** * @interface * An interface representing BlobTrigger. - * Trigger that runs everytime the selected Blob container changes. + * Trigger that runs every time the selected Blob container changes. * */ export interface BlobTrigger { @@ -2106,7 +2245,7 @@ export interface BlobTrigger { /** * @interface * An interface representing RecurrenceScheduleOccurrence. - * The recurrence schedule occurence. + * The recurrence schedule occurrence. * */ export interface RecurrenceScheduleOccurrence { @@ -2236,6 +2375,54 @@ export interface ScheduleTrigger { 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 Dataset. + */ + 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 ResponsysLinkedService. @@ -2930,7 +3117,7 @@ export interface ZohoLinkedService { /** * @interface * An interface representing XeroLinkedService. - * Xero Serivce linked service. + * Xero Service linked service. * */ export interface XeroLinkedService { @@ -3001,7 +3188,7 @@ export interface XeroLinkedService { /** * @interface * An interface representing SquareLinkedService. - * Square Serivce linked service. + * Square Service linked service. * */ export interface SquareLinkedService { @@ -3185,7 +3372,7 @@ export interface SparkLinkedService { /** * @interface * An interface representing ShopifyLinkedService. - * Shopify Serivce linked service. + * Shopify Service linked service. * */ export interface ShopifyLinkedService { @@ -3615,7 +3802,7 @@ export interface PhoenixLinkedService { /** * @interface * An interface representing PaypalLinkedService. - * Paypal Serivce linked service. + * Paypal Service linked service. * */ export interface PaypalLinkedService { @@ -3866,7 +4053,7 @@ export interface MagentoLinkedService { /** * @interface * An interface representing JiraLinkedService. - * Jira Serivce linked service. + * Jira Service linked service. * */ export interface JiraLinkedService { @@ -4034,7 +4221,7 @@ export interface ImpalaLinkedService { /** * @interface * An interface representing HubspotLinkedService. - * Hubspot Serivce linked service. + * Hubspot Service linked service. * */ export interface HubspotLinkedService { @@ -4638,7 +4825,7 @@ export interface CouchbaseLinkedService { /** * @interface * An interface representing ConcurLinkedService. - * Concur Serivce linked service. + * Concur Service linked service. * */ export interface ConcurLinkedService { @@ -4790,7 +4977,7 @@ export interface AmazonMWSLinkedService { endpoint: any; /** * @member {any} marketplaceID The Amazon Marketplace ID you want to retrieve - * data from. To retrive data from multiple Marketplace IDs, seperate them + * data from. To retrieve data from multiple Marketplace IDs, separate them * with a comma (,). (i.e. A2EUQ1WTGCTBG2) */ marketplaceID: any; @@ -6687,6 +6874,11 @@ export interface HDInsightLinkedService { * 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; } /** @@ -7327,6 +7519,12 @@ export interface ResponsysObjectDataset { * 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. @@ -7375,6 +7573,12 @@ export interface SalesforceMarketingCloudObjectDataset { * 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. @@ -7423,6 +7627,12 @@ export interface VerticaTableDataset { * 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. @@ -7471,6 +7681,12 @@ export interface NetezzaTableDataset { * 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. @@ -7519,6 +7735,12 @@ export interface ZohoObjectDataset { * 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. @@ -7549,7 +7771,7 @@ export interface ZohoObjectDataset { /** * @interface * An interface representing XeroObjectDataset. - * Xero Serivce dataset. + * Xero Service dataset. * */ export interface XeroObjectDataset { @@ -7567,6 +7789,12 @@ export interface XeroObjectDataset { * 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. @@ -7597,7 +7825,7 @@ export interface XeroObjectDataset { /** * @interface * An interface representing SquareObjectDataset. - * Square Serivce dataset. + * Square Service dataset. * */ export interface SquareObjectDataset { @@ -7615,6 +7843,12 @@ export interface SquareObjectDataset { * 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. @@ -7663,6 +7897,12 @@ export interface SparkObjectDataset { * 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. @@ -7693,7 +7933,7 @@ export interface SparkObjectDataset { /** * @interface * An interface representing ShopifyObjectDataset. - * Shopify Serivce dataset. + * Shopify Service dataset. * */ export interface ShopifyObjectDataset { @@ -7711,6 +7951,12 @@ export interface ShopifyObjectDataset { * 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. @@ -7759,6 +8005,12 @@ export interface ServiceNowObjectDataset { * 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. @@ -7807,6 +8059,12 @@ export interface QuickBooksObjectDataset { * 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. @@ -7855,6 +8113,12 @@ export interface PrestoObjectDataset { * 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. @@ -7903,6 +8167,12 @@ export interface PhoenixObjectDataset { * 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. @@ -7933,7 +8203,7 @@ export interface PhoenixObjectDataset { /** * @interface * An interface representing PaypalObjectDataset. - * Paypal Serivce dataset. + * Paypal Service dataset. * */ export interface PaypalObjectDataset { @@ -7951,6 +8221,12 @@ export interface PaypalObjectDataset { * 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. @@ -7999,6 +8275,12 @@ export interface MarketoObjectDataset { * 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. @@ -8047,6 +8329,12 @@ export interface MariaDBTableDataset { * 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. @@ -8095,6 +8383,12 @@ export interface MagentoObjectDataset { * 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. @@ -8125,7 +8419,7 @@ export interface MagentoObjectDataset { /** * @interface * An interface representing JiraObjectDataset. - * Jira Serivce dataset. + * Jira Service dataset. * */ export interface JiraObjectDataset { @@ -8143,6 +8437,12 @@ export interface JiraObjectDataset { * 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. @@ -8191,6 +8491,12 @@ export interface ImpalaObjectDataset { * 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. @@ -8221,7 +8527,7 @@ export interface ImpalaObjectDataset { /** * @interface * An interface representing HubspotObjectDataset. - * Hubspot Serivce dataset. + * Hubspot Service dataset. * */ export interface HubspotObjectDataset { @@ -8239,6 +8545,12 @@ export interface HubspotObjectDataset { * 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. @@ -8287,6 +8599,12 @@ export interface HiveObjectDataset { * 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. @@ -8335,6 +8653,12 @@ export interface HBaseObjectDataset { * 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. @@ -8383,6 +8707,12 @@ export interface GreenplumTableDataset { * 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. @@ -8431,6 +8761,12 @@ export interface GoogleBigQueryObjectDataset { * 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. @@ -8479,6 +8815,12 @@ export interface EloquaObjectDataset { * 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. @@ -8527,6 +8869,12 @@ export interface DrillTableDataset { * 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. @@ -8575,6 +8923,12 @@ export interface CouchbaseTableDataset { * 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. @@ -8605,7 +8959,7 @@ export interface CouchbaseTableDataset { /** * @interface * An interface representing ConcurObjectDataset. - * Concur Serivce dataset. + * Concur Service dataset. * */ export interface ConcurObjectDataset { @@ -8623,6 +8977,12 @@ export interface ConcurObjectDataset { * 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. @@ -8671,6 +9031,12 @@ export interface AzurePostgreSqlTableDataset { * 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. @@ -8719,6 +9085,12 @@ export interface AmazonMWSObjectDataset { * 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. @@ -9095,6 +9467,12 @@ export interface HttpDataset { * 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. @@ -9171,6 +9549,12 @@ export interface AzureSearchIndexDataset { * 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. @@ -9219,6 +9603,12 @@ export interface WebTableDataset { * 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. @@ -9272,6 +9662,12 @@ export interface SqlServerTableDataset { * 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. @@ -9321,7 +9717,13 @@ export interface SapEccResourceDataset { */ structure?: any; /** - * @member {LinkedServiceReference} linkedServiceName Linked service + * @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; @@ -9368,6 +9770,12 @@ export interface SapCloudForCustomerResourceDataset { * 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. @@ -9416,6 +9824,12 @@ export interface SalesforceObjectDataset { * 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. @@ -9464,6 +9878,12 @@ export interface RelationalTableDataset { * 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. @@ -9512,6 +9932,12 @@ export interface AzureMySqlTableDataset { * 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. @@ -9560,6 +9986,12 @@ export interface OracleTableDataset { * 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. @@ -9608,6 +10040,12 @@ export interface ODataResourceDataset { * 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. @@ -9656,6 +10094,12 @@ export interface MongoDbCollectionDataset { * 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. @@ -9704,6 +10148,12 @@ export interface FileShareDataset { * 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. @@ -9772,6 +10222,12 @@ export interface AzureDataLakeStoreDataset { * 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. @@ -9835,6 +10291,12 @@ export interface DynamicsEntityDataset { * 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. @@ -9883,6 +10345,12 @@ export interface DocumentDbCollectionDataset { * 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. @@ -9931,6 +10399,12 @@ export interface CustomDataset { * 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. @@ -9978,6 +10452,12 @@ export interface CassandraTableDataset { * 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. @@ -10031,6 +10511,12 @@ export interface AzureSqlDWTableDataset { * 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. @@ -10079,6 +10565,12 @@ export interface AzureSqlTableDataset { * 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. @@ -10127,6 +10619,12 @@ export interface AzureTableDataset { * 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. @@ -10175,6 +10673,12 @@ export interface AzureBlobDataset { * 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. @@ -10243,6 +10747,12 @@ export interface AmazonS3Dataset { * 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. @@ -10337,7 +10847,7 @@ export interface ActivityPolicy { /** * Contains the possible cases for ExecutionActivity. */ -export type ExecutionActivityUnion = ExecutionActivity | DatabricksSparkPythonActivity | DatabricksSparkJarActivity | DatabricksNotebookActivity | DataLakeAnalyticsUSQLActivity | AzureMLUpdateResourceActivity | AzureMLBatchExecutionActivity | GetMetadataActivity | WebActivity | LookupActivity | DeleteActivity | SqlServerStoredProcedureActivity | CustomActivity | ExecuteSSISPackageActivity | HDInsightSparkActivity | HDInsightStreamingActivity | HDInsightMapReduceActivity | HDInsightPigActivity | HDInsightHiveActivity | CopyActivity; +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 @@ -10377,6 +10887,68 @@ export interface ExecutionActivity { 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. @@ -11155,7 +11727,7 @@ export interface ZohoSource { /** * @interface * An interface representing XeroSource. - * A copy activity Xero Serivce source. + * A copy activity Xero Service source. * */ export interface XeroSource { @@ -11184,7 +11756,7 @@ export interface XeroSource { /** * @interface * An interface representing SquareSource. - * A copy activity Square Serivce source. + * A copy activity Square Service source. * */ export interface SquareSource { @@ -11242,7 +11814,7 @@ export interface SparkSource { /** * @interface * An interface representing ShopifySource. - * A copy activity Shopify Serivce source. + * A copy activity Shopify Service source. * */ export interface ShopifySource { @@ -11387,7 +11959,7 @@ export interface PhoenixSource { /** * @interface * An interface representing PaypalSource. - * A copy activity Paypal Serivce source. + * A copy activity Paypal Service source. * */ export interface PaypalSource { @@ -11503,7 +12075,7 @@ export interface MagentoSource { /** * @interface * An interface representing JiraSource. - * A copy activity Jira Serivce source. + * A copy activity Jira Service source. * */ export interface JiraSource { @@ -11561,7 +12133,7 @@ export interface ImpalaSource { /** * @interface * An interface representing HubspotSource. - * A copy activity Hubspot Serivce source. + * A copy activity Hubspot Service source. * */ export interface HubspotSource { @@ -11793,7 +12365,7 @@ export interface CouchbaseSource { /** * @interface * An interface representing ConcurSource. - * A copy activity Concur Serivce source. + * A copy activity Concur Service source. * */ export interface ConcurSource { @@ -12605,6 +13177,30 @@ export interface LookupActivity { 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. @@ -12642,11 +13238,27 @@ export interface DeleteActivity { */ policy?: ActivityPolicy; /** - * @member {any} [recursive] If true, files under the folder path will be - * deleted recursively. Default is true. Type: boolean (or Expression with - * resultType boolean). + * @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. */ @@ -12818,6 +13430,27 @@ export interface SSISExecutionParameter { 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. @@ -12826,9 +13459,10 @@ export interface SSISExecutionParameter { */ export interface SSISPackageLocation { /** - * @member {string} packagePath The SSIS package path. + * @member {any} packagePath The SSIS package path. Type: string (or + * Expression with resultType string). */ - packagePath: string; + packagePath: any; } /** @@ -12872,20 +13506,26 @@ export interface ExecuteSSISPackageActivity { */ packageLocation: SSISPackageLocation; /** - * @member {SSISExecutionRuntime} [runtime] Specifies the runtime to execute - * SSIS package. Possible values include: 'x64', 'x86' + * @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?: SSISExecutionRuntime; + runtime?: any; /** - * @member {string} [loggingLevel] The logging level of SSIS package - * execution. + * @member {any} [loggingLevel] The logging level of SSIS package execution. + * Type: string (or Expression with resultType string). */ - loggingLevel?: string; + loggingLevel?: any; /** - * @member {string} [environmentPath] The environment path to execute the - * SSIS package. + * @member {any} [environmentPath] The environment path to execute the SSIS + * package. Type: string (or Expression with resultType string). */ - environmentPath?: string; + environmentPath?: any; + /** + * @member {SSISExecutionCredential} [executionCredential] The package + * execution credential. + */ + executionCredential?: SSISExecutionCredential; /** * @member {IntegrationRuntimeReference} connectVia The integration runtime * reference. @@ -13309,6 +13949,17 @@ export interface HDInsightHiveActivity { * 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; } /** @@ -14179,7 +14830,7 @@ export interface CopyActivity { sink: CopySinkUnion; /** * @member {CopyTranslatorUnion} [translator] Copy activity translator. If - * not specificed, tabular translator is used. + * not specified, tabular translator is used. */ translator?: CopyTranslatorUnion; /** @@ -14230,7 +14881,7 @@ export interface CopyActivity { /** * Contains the possible cases for ControlActivity. */ -export type ControlActivityUnion = ControlActivity | AppendVariableActivity | SetVariableActivity | FilterActivity | UntilActivity | WaitActivity | ForEachActivity | IfConditionActivity | ExecutePipelineActivity; +export type ControlActivityUnion = ControlActivity | AppendVariableActivity | SetVariableActivity | FilterActivity | ValidationActivity | UntilActivity | WaitActivity | ForEachActivity | IfConditionActivity | ExecutePipelineActivity; /** * @interface @@ -14377,6 +15028,60 @@ export interface FilterActivity { condition: Expression; } +/** + * @interface + * An interface representing ValidationActivity. + * This activity blocks execution until a file has been validated to exist, + * with an optional minimum size, or the timeout is reached, whichever is + * earlier. + * + */ +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])). + * Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + timeout?: any; + /** + * @member {number} [sleep] A delay in seconds between validation attempts. + * If no value is specified, 10 seconds will be used as the default. + */ + sleep?: number; + /** + * @member {number} [minimumSize] Minimum size of a file in byte. If no value + * is specified, 0 byte will be used as the default. + */ + minimumSize?: number; + /** + * @member {DatasetReference} dataset Validation activity dataset reference. + */ + dataset: DatasetReference; +} + /** * @interface * An interface representing UntilActivity. @@ -15382,6 +16087,49 @@ export interface IntegrationRuntimeNodeIpAddress { 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. @@ -15623,6 +16371,21 @@ export interface IntegrationRuntimesGetOptionalParams extends msRest.RequestOpti 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. @@ -15729,8 +16492,8 @@ export interface PipelinesGetOptionalParams extends msRest.RequestOptionsBase { export interface PipelinesCreateRunOptionalParams extends msRest.RequestOptionsBase { /** * @member {string} [referencePipelineRunId] The pipeline run identifier. If - * run ID is specified the parameters of the the specified run will be used - * to create a new run. + * run ID is specified the parameters of the specified run will be used to + * create a new run. */ referencePipelineRunId?: string; /** @@ -16242,6 +17005,14 @@ export type DatasetCompressionLevel = 'Optimal' | 'Fastest'; */ 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' @@ -16275,14 +17046,6 @@ export type StoredProcedureParameterType = 'String' | 'Int' | 'Decimal' | 'Guid' */ export type SalesforceSourceReadBehavior = 'Query' | 'QueryAll'; -/** - * Defines values for SSISExecutionRuntime. - * Possible values include: 'x64', 'x86' - * @readonly - * @enum {string} - */ -export type SSISExecutionRuntime = 'x64' | 'x86'; - /** * Defines values for HDInsightActivityDebugInfoOption. * Possible values include: 'None', 'Always', 'Failure' @@ -16396,6 +17159,14 @@ export type IntegrationRuntimeLicenseType = 'BasePrice' | 'LicenseIncluded'; */ 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' @@ -16575,6 +17346,25 @@ export type FactoriesGetGitHubAccessTokenResponse = 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. */ @@ -16613,6 +17403,25 @@ export type FactoriesListByResourceGroupNextResponse = 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 listByFactory operation. */ @@ -16860,6 +17669,63 @@ export type IntegrationRuntimesListByFactoryNextResponse = IntegrationRuntimeLis }; }; +/** + * 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. */ diff --git a/packages/@azure/arm-datafactory/lib/models/integrationRuntimeObjectMetadataMappers.ts b/packages/@azure/arm-datafactory/lib/models/integrationRuntimeObjectMetadataMappers.ts new file mode 100644 index 000000000000..c58ec1f5588b --- /dev/null +++ b/packages/@azure/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/packages/@azure/arm-datafactory/lib/models/integrationRuntimesMappers.ts b/packages/@azure/arm-datafactory/lib/models/integrationRuntimesMappers.ts index caa82cace79c..f3aa889c99f3 100644 --- a/packages/@azure/arm-datafactory/lib/models/integrationRuntimesMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/integrationRuntimesMappers.ts @@ -56,8 +56,9 @@ export { RetryPolicy, DependencyReference, MultiplePipelineTrigger, - ResponsysLinkedService, + AzureFunctionLinkedService, SecretBase, + ResponsysLinkedService, AzureDatabricksLinkedService, AzureDataLakeAnalyticsLinkedService, HDInsightOnDemandLinkedService, @@ -227,6 +228,7 @@ export { AvroFormat, JsonFormat, TextFormat, + AzureFunctionActivity, DatabricksSparkPythonActivity, DatabricksSparkJarActivity, DatabricksNotebookActivity, @@ -241,12 +243,14 @@ export { LookupActivity, CopySource, DeleteActivity, + LogStorageSettings, SqlServerStoredProcedureActivity, StoredProcedureParameter, CustomActivity, CustomActivityReferenceObject, ExecuteSSISPackageActivity, SSISPackageLocation, + SSISExecutionCredential, SSISExecutionParameter, SSISPropertyOverride, HDInsightSparkActivity, @@ -263,6 +267,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/linkedServicesMappers.ts b/packages/@azure/arm-datafactory/lib/models/linkedServicesMappers.ts index 48066deaee2a..20d0a0dc1a66 100644 --- a/packages/@azure/arm-datafactory/lib/models/linkedServicesMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/linkedServicesMappers.ts @@ -46,8 +46,9 @@ export { RetryPolicy, DependencyReference, MultiplePipelineTrigger, - ResponsysLinkedService, + AzureFunctionLinkedService, SecretBase, + ResponsysLinkedService, AzureDatabricksLinkedService, AzureDataLakeAnalyticsLinkedService, HDInsightOnDemandLinkedService, @@ -210,6 +211,7 @@ export { AvroFormat, JsonFormat, TextFormat, + AzureFunctionActivity, DatabricksSparkPythonActivity, DatabricksSparkJarActivity, DatabricksNotebookActivity, @@ -224,12 +226,14 @@ export { LookupActivity, CopySource, DeleteActivity, + LogStorageSettings, SqlServerStoredProcedureActivity, StoredProcedureParameter, CustomActivity, CustomActivityReferenceObject, ExecuteSSISPackageActivity, SSISPackageLocation, + SSISExecutionCredential, SSISExecutionParameter, SSISPropertyOverride, HDInsightSparkActivity, @@ -246,6 +250,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/mappers.ts b/packages/@azure/arm-datafactory/lib/models/mappers.ts index 3a1c70d42293..e6c53daa4788 100644 --- a/packages/@azure/arm-datafactory/lib/models/mappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/mappers.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; -import * as msRest from "@azure/ms-rest-js"; +import { CloudErrorMapper, BaseResourceMapper } from "ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; @@ -375,6 +375,11 @@ export const Factory: msRest.CompositeMapper = { serializedName: "properties.repoConfiguration", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "FactoryRepoConfiguration", className: "FactoryRepoConfiguration" } } @@ -432,6 +437,11 @@ export const IntegrationRuntimeResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "IntegrationRuntime", className: "IntegrationRuntime", additionalProperties: { type: { @@ -540,6 +550,11 @@ export const IntegrationRuntimeStatusResponse: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "IntegrationRuntimeStatus", className: "IntegrationRuntimeStatus", additionalProperties: { type: { @@ -772,6 +787,11 @@ export const LinkedServiceResource: msRest.CompositeMapper = { defaultValue: {}, type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "LinkedService", className: "LinkedService", additionalProperties: { type: { @@ -823,6 +843,12 @@ export const Dataset: msRest.CompositeMapper = { name: "Object" } }, + schema: { + serializedName: "schema", + type: { + name: "Object" + } + }, linkedServiceName: { required: true, serializedName: "linkedServiceName", @@ -891,6 +917,11 @@ export const DatasetResource: msRest.CompositeMapper = { defaultValue: {}, type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Dataset", className: "Dataset", additionalProperties: { type: { @@ -1089,6 +1120,11 @@ export const PipelineResource: msRest.CompositeMapper = { element: { type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -1211,6 +1247,11 @@ export const TriggerResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Trigger", className: "Trigger", additionalProperties: { type: { @@ -1301,6 +1342,11 @@ export const FactoryRepoUpdate: msRest.CompositeMapper = { serializedName: "repoConfiguration", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "FactoryRepoConfiguration", className: "FactoryRepoConfiguration" } } @@ -1354,6 +1400,75 @@ export const GitHubAccessTokenResponse: msRest.CompositeMapper = { } }; +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: { @@ -2096,6 +2211,8 @@ export const RerunTriggerResource: msRest.CompositeMapper = { serializedName: "properties", type: { name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", className: "RerunTumblingWindowTrigger", additionalProperties: Trigger.type.additionalProperties } @@ -2368,6 +2485,102 @@ export const Operation: msRest.CompositeMapper = { } }; +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: { @@ -2611,6 +2824,11 @@ export const TumblingWindowTrigger: msRest.CompositeMapper = { element: { type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DependencyReference", className: "DependencyReference" } } @@ -2934,6 +3152,45 @@ export const ScheduleTrigger: msRest.CompositeMapper = { } }; +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", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + export const ResponsysLinkedService: msRest.CompositeMapper = { serializedName: "Responsys", type: { @@ -2961,6 +3218,11 @@ export const ResponsysLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3014,6 +3276,11 @@ export const AzureDatabricksLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3111,6 +3378,11 @@ export const AzureDataLakeAnalyticsLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3243,6 +3515,11 @@ export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3276,6 +3553,11 @@ export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clusterPassword", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3289,6 +3571,11 @@ export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clusterSshPassword", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3432,6 +3719,11 @@ export const SalesforceMarketingCloudLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3483,6 +3775,8 @@ export const NetezzaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -3516,6 +3810,8 @@ export const VerticaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -3550,6 +3846,11 @@ export const ZohoLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3602,6 +3903,11 @@ export const XeroLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.consumerKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3609,6 +3915,11 @@ export const XeroLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.privateKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3668,6 +3979,11 @@ export const SquareLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3759,6 +4075,11 @@ export const SparkLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3829,6 +4150,11 @@ export const ShopifyLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3894,6 +4220,11 @@ export const ServiceNowLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3907,6 +4238,11 @@ export const ServiceNowLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3974,6 +4310,11 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.consumerSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3982,6 +4323,11 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -3990,6 +4336,11 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessTokenSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4063,6 +4414,11 @@ export const PrestoLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4158,6 +4514,11 @@ export const PhoenixLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4229,6 +4590,11 @@ export const PaypalLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4288,6 +4654,11 @@ export const MarketoLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4339,6 +4710,8 @@ export const MariaDBLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -4373,6 +4746,11 @@ export const MagentoLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4438,6 +4816,11 @@ export const JiraLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4509,6 +4892,11 @@ export const ImpalaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4573,6 +4961,11 @@ export const HubspotLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4580,6 +4973,11 @@ export const HubspotLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4587,6 +4985,11 @@ export const HubspotLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.refreshToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4688,6 +5091,11 @@ export const HiveLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4783,6 +5191,11 @@ export const HBaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4840,6 +5253,8 @@ export const GreenplumLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -4893,6 +5308,11 @@ export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.refreshToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4900,6 +5320,11 @@ export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientId", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4907,6 +5332,11 @@ export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.clientSecret", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -4972,6 +5402,11 @@ export const EloquaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5023,6 +5458,8 @@ export const DrillLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.pwd", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -5056,6 +5493,8 @@ export const CouchbaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.credString", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -5097,6 +5536,11 @@ export const ConcurLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5148,6 +5592,8 @@ export const AzurePostgreSqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -5196,6 +5642,11 @@ export const AmazonMWSLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.mwsAuthToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5210,6 +5661,11 @@ export const AmazonMWSLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.secretKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5274,6 +5730,11 @@ export const SapHanaLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5328,6 +5789,11 @@ export const SapBWLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5380,6 +5846,11 @@ export const SftpServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5399,6 +5870,11 @@ export const SftpServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.privateKeyContent", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5406,6 +5882,11 @@ export const SftpServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.passPhrase", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5464,6 +5945,11 @@ export const FtpServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5522,6 +6008,11 @@ export const HttpLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5574,6 +6065,11 @@ export const AzureSearchLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.key", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5635,6 +6131,11 @@ export const AmazonRedshiftLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5681,6 +6182,11 @@ export const AmazonS3LinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.secretAccessKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5721,6 +6227,11 @@ export const SapEccLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5761,6 +6272,11 @@ export const SapCloudForCustomerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5800,6 +6316,11 @@ export const SalesforceLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5807,6 +6328,11 @@ export const SalesforceLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.securityToken", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5847,6 +6373,11 @@ export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -5924,6 +6455,11 @@ export const MongoDbLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6000,6 +6536,11 @@ export const CassandraLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6057,6 +6598,11 @@ export const WebClientCertificateAuthentication: msRest.CompositeMapper = { serializedName: "pfx", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6065,6 +6611,11 @@ export const WebClientCertificateAuthentication: msRest.CompositeMapper = { serializedName: "password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } } @@ -6093,6 +6644,11 @@ export const WebBasicAuthentication: msRest.CompositeMapper = { serializedName: "password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } } @@ -6127,6 +6683,11 @@ export const WebLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "authenticationType", + clientName: "authenticationType" + }, + uberParent: "WebLinkedServiceTypeProperties", className: "WebLinkedServiceTypeProperties" } } @@ -6167,6 +6728,11 @@ export const ODataLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6219,6 +6785,11 @@ export const HdfsLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } } @@ -6253,6 +6824,11 @@ export const OdbcLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.credential", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6266,6 +6842,11 @@ export const OdbcLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6301,6 +6882,11 @@ export const AzureMLLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.apiKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6320,6 +6906,11 @@ export const AzureMLLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6372,6 +6963,11 @@ export const TeradataLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6425,6 +7021,11 @@ export const Db2LinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6484,6 +7085,11 @@ export const SybaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6512,6 +7118,11 @@ export const PostgreSqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.connectionString", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6519,6 +7130,8 @@ export const PostgreSqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -6547,6 +7160,11 @@ export const MySqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.connectionString", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6554,6 +7172,8 @@ export const MySqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -6588,6 +7208,8 @@ export const AzureMySqlLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -6622,6 +7244,8 @@ export const OracleLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -6662,6 +7286,11 @@ export const FileServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6702,6 +7331,11 @@ export const HDInsightLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6724,6 +7358,12 @@ export const HDInsightLinkedService: msRest.CompositeMapper = { type: { name: "Object" } + }, + isEspEnabled: { + serializedName: "typeProperties.isEspEnabled", + type: { + name: "Object" + } } }, additionalProperties: LinkedService.type.additionalProperties @@ -6788,6 +7428,11 @@ export const DynamicsLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6822,6 +7467,8 @@ export const CosmosDbLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accountKey", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -6877,6 +7524,11 @@ export const AzureBatchLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accessKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6934,6 +7586,8 @@ export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -6947,6 +7601,11 @@ export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -6993,6 +7652,11 @@ export const SqlServerLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -7027,6 +7691,8 @@ export const AzureSqlDWLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7040,6 +7706,11 @@ export const AzureSqlDWLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -7079,6 +7750,8 @@ export const AzureTableStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accountKey", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7092,6 +7765,8 @@ export const AzureTableStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.sasToken", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7125,6 +7800,8 @@ export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accountKey", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7138,6 +7815,8 @@ export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.sasToken", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7157,6 +7836,11 @@ export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SecretBase", className: "SecretBase" } }, @@ -7196,6 +7880,8 @@ export const AzureStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.accountKey", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -7209,6 +7895,8 @@ export const AzureStorageLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.sasToken", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "AzureKeyVaultSecretReference" } }, @@ -8154,6 +8842,11 @@ export const HttpDataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -8166,6 +8859,11 @@ export const HttpDataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -8437,6 +9135,11 @@ export const FileShareDataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -8455,6 +9158,11 @@ export const FileShareDataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -8494,6 +9202,11 @@ export const AzureDataLakeStoreDataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -8506,6 +9219,11 @@ export const AzureDataLakeStoreDataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -8701,6 +9419,11 @@ export const AzureBlobDataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -8713,6 +9436,11 @@ export const AzureBlobDataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -8764,6 +9492,11 @@ export const AmazonS3Dataset: msRest.CompositeMapper = { serializedName: "typeProperties.format", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetStorageFormat", className: "DatasetStorageFormat", additionalProperties: { type: { @@ -8776,6 +9509,11 @@ export const AmazonS3Dataset: msRest.CompositeMapper = { serializedName: "typeProperties.compression", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DatasetCompression", className: "DatasetCompression", additionalProperties: { type: { @@ -8871,6 +9609,46 @@ export const ExecutionActivity: msRest.CompositeMapper = { } }; +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: { @@ -9243,6 +10021,8 @@ export const WebActivityAuthentication: msRest.CompositeMapper = { serializedName: "pfx", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "SecureString" } }, @@ -9256,6 +10036,8 @@ export const WebActivityAuthentication: msRest.CompositeMapper = { serializedName: "password", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "SecureString" } }, @@ -10551,6 +11333,11 @@ export const LookupActivity: msRest.CompositeMapper = { serializedName: "typeProperties.source", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CopySource", className: "CopySource", additionalProperties: { type: { @@ -10579,6 +11366,36 @@ export const LookupActivity: msRest.CompositeMapper = { } }; +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: { @@ -10594,6 +11411,33 @@ export const DeleteActivity: msRest.CompositeMapper = { 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", @@ -10767,6 +11611,40 @@ export const SSISExecutionParameter: msRest.CompositeMapper = { } }; +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", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", + className: "SecureString" + } + } + } + } +}; + export const SSISPackageLocation: msRest.CompositeMapper = { serializedName: "SSISPackageLocation", type: { @@ -10777,7 +11655,7 @@ export const SSISPackageLocation: msRest.CompositeMapper = { required: true, serializedName: "packagePath", type: { - name: "String" + name: "Object" } } } @@ -10804,19 +11682,26 @@ export const ExecuteSSISPackageActivity: msRest.CompositeMapper = { runtime: { serializedName: "typeProperties.runtime", type: { - name: "String" + name: "Object" } }, loggingLevel: { serializedName: "typeProperties.loggingLevel", type: { - name: "String" + name: "Object" } }, environmentPath: { serializedName: "typeProperties.environmentPath", type: { - name: "String" + name: "Object" + } + }, + executionCredential: { + serializedName: "typeProperties.executionCredential", + type: { + name: "Composite", + className: "SSISExecutionCredential" } }, connectVia: { @@ -11310,6 +12195,23 @@ export const HDInsightHiveActivity: msRest.CompositeMapper = { } } } + }, + variables: { + serializedName: "typeProperties.variables", + type: { + name: "Sequence", + element: { + type: { + name: "Object" + } + } + } + }, + queryTimeout: { + serializedName: "typeProperties.queryTimeout", + type: { + name: "Number" + } } }, additionalProperties: Activity.type.additionalProperties @@ -11910,6 +12812,11 @@ export const CopyActivity: msRest.CompositeMapper = { serializedName: "typeProperties.source", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CopySource", className: "CopySource", additionalProperties: { type: { @@ -11923,6 +12830,11 @@ export const CopyActivity: msRest.CompositeMapper = { serializedName: "typeProperties.sink", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CopySink", className: "CopySink", additionalProperties: { type: { @@ -11935,6 +12847,11 @@ export const CopyActivity: msRest.CompositeMapper = { serializedName: "typeProperties.translator", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "CopyTranslator", className: "CopyTranslator", additionalProperties: { type: { @@ -12118,6 +13035,47 @@ export const FilterActivity: msRest.CompositeMapper = { } }; +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: "Number" + } + }, + minimumSize: { + serializedName: "typeProperties.minimumSize", + type: { + name: "Number" + } + }, + dataset: { + required: true, + serializedName: "typeProperties.dataset", + defaultValue: {}, + type: { + name: "Composite", + className: "DatasetReference" + } + } + }, + additionalProperties: Activity.type.additionalProperties + } +}; + export const UntilActivity: msRest.CompositeMapper = { serializedName: "Until", type: { @@ -12150,6 +13108,11 @@ export const UntilActivity: msRest.CompositeMapper = { element: { type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -12227,6 +13190,11 @@ export const ForEachActivity: msRest.CompositeMapper = { element: { type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -12267,6 +13235,11 @@ export const IfConditionActivity: msRest.CompositeMapper = { element: { type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -12284,6 +13257,11 @@ export const IfConditionActivity: msRest.CompositeMapper = { element: { type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "Activity", className: "Activity", additionalProperties: { type: { @@ -12963,6 +13941,8 @@ export const LinkedIntegrationRuntimeKeyAuthorization: msRest.CompositeMapper = serializedName: "key", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "SecureString" } } @@ -12983,6 +13963,11 @@ export const SelfHostedIntegrationRuntime: msRest.CompositeMapper = { serializedName: "typeProperties.linkedInfo", type: { name: "Composite", + polymorphicDiscriminator: { + serializedName: "authorizationType", + clientName: "authorizationType" + }, + uberParent: "LinkedIntegrationRuntimeType", className: "LinkedIntegrationRuntimeType" } } @@ -13007,6 +13992,8 @@ export const IntegrationRuntimeCustomSetupScriptProperties: msRest.CompositeMapp serializedName: "sasToken", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "SecureString" } } @@ -13040,6 +14027,8 @@ export const IntegrationRuntimeSsisCatalogInfo: msRest.CompositeMapper = { serializedName: "catalogAdminPassword", type: { name: "Composite", + polymorphicDiscriminator: SecretBase.type.polymorphicDiscriminator, + uberParent: "SecretBase", className: "SecureString" } }, @@ -13250,6 +14239,79 @@ export const IntegrationRuntimeNodeIpAddress: msRest.CompositeMapper = { } }; +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", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "SsisObjectMetadata", + className: "SsisObjectMetadata" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const IntegrationRuntimeNodeMonitoringData: msRest.CompositeMapper = { serializedName: "IntegrationRuntimeNodeMonitoringData", type: { @@ -13714,6 +14776,7 @@ export const discriminators = { 'Trigger.BlobTrigger' : BlobTrigger, 'Trigger.ScheduleTrigger' : ScheduleTrigger, 'Trigger.MultiplePipelineTrigger' : MultiplePipelineTrigger, + 'LinkedService.AzureFunction' : AzureFunctionLinkedService, 'LinkedService.Responsys' : ResponsysLinkedService, 'LinkedService.AzureDatabricks' : AzureDatabricksLinkedService, 'LinkedService.AzureDataLakeAnalytics' : AzureDataLakeAnalyticsLinkedService, @@ -13854,6 +14917,7 @@ export const discriminators = { 'Dataset.AzureTable' : AzureTableDataset, 'Dataset.AzureBlob' : AzureBlobDataset, 'Dataset.AmazonS3Object' : AmazonS3Dataset, + 'Activity.AzureFunctionActivity' : AzureFunctionActivity, 'Activity.DatabricksSparkPython' : DatabricksSparkPythonActivity, 'Activity.DatabricksSparkJar' : DatabricksSparkJarActivity, 'Activity.DatabricksNotebook' : DatabricksNotebookActivity, @@ -13945,6 +15009,7 @@ export const discriminators = { 'Activity.AppendVariable' : AppendVariableActivity, 'Activity.SetVariable' : SetVariableActivity, 'Activity.Filter' : FilterActivity, + 'Activity.Validation' : ValidationActivity, 'Activity.Until' : UntilActivity, 'Activity.Wait' : WaitActivity, 'Activity.ForEach' : ForEachActivity, @@ -13957,5 +15022,6 @@ export const discriminators = { 'LinkedIntegrationRuntimeType.Key' : LinkedIntegrationRuntimeKeyAuthorization, 'LinkedIntegrationRuntimeType' : LinkedIntegrationRuntimeType, 'IntegrationRuntime.SelfHosted' : SelfHostedIntegrationRuntime, - 'IntegrationRuntime.Managed' : ManagedIntegrationRuntime + 'IntegrationRuntime.Managed' : ManagedIntegrationRuntime, + 'SsisObjectMetadata' : SsisObjectMetadata }; diff --git a/packages/@azure/arm-datafactory/lib/models/parameters.ts b/packages/@azure/arm-datafactory/lib/models/parameters.ts index 62bbebe50a2a..b0823763aba8 100644 --- a/packages/@azure/arm-datafactory/lib/models/parameters.ts +++ b/packages/@azure/arm-datafactory/lib/models/parameters.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; export const acceptLanguage: msRest.OperationParameter = { parameterPath: "acceptLanguage", diff --git a/packages/@azure/arm-datafactory/lib/models/pipelinesMappers.ts b/packages/@azure/arm-datafactory/lib/models/pipelinesMappers.ts index 590810df65a1..16101649db13 100644 --- a/packages/@azure/arm-datafactory/lib/models/pipelinesMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/pipelinesMappers.ts @@ -47,8 +47,9 @@ export { RetryPolicy, DependencyReference, MultiplePipelineTrigger, - ResponsysLinkedService, + AzureFunctionLinkedService, SecretBase, + ResponsysLinkedService, AzureDatabricksLinkedService, AzureDataLakeAnalyticsLinkedService, HDInsightOnDemandLinkedService, @@ -211,6 +212,7 @@ export { AvroFormat, JsonFormat, TextFormat, + AzureFunctionActivity, DatabricksSparkPythonActivity, DatabricksSparkJarActivity, DatabricksNotebookActivity, @@ -225,12 +227,14 @@ export { LookupActivity, CopySource, DeleteActivity, + LogStorageSettings, SqlServerStoredProcedureActivity, StoredProcedureParameter, CustomActivity, CustomActivityReferenceObject, ExecuteSSISPackageActivity, SSISPackageLocation, + SSISExecutionCredential, SSISExecutionParameter, SSISPropertyOverride, HDInsightSparkActivity, @@ -247,6 +251,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/rerunTriggersMappers.ts b/packages/@azure/arm-datafactory/lib/models/rerunTriggersMappers.ts index 93c79a14849c..434cd620566b 100644 --- a/packages/@azure/arm-datafactory/lib/models/rerunTriggersMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/rerunTriggersMappers.ts @@ -47,8 +47,9 @@ export { RetryPolicy, DependencyReference, MultiplePipelineTrigger, - ResponsysLinkedService, + AzureFunctionLinkedService, SecretBase, + ResponsysLinkedService, AzureDatabricksLinkedService, AzureDataLakeAnalyticsLinkedService, HDInsightOnDemandLinkedService, @@ -211,6 +212,7 @@ export { AvroFormat, JsonFormat, TextFormat, + AzureFunctionActivity, DatabricksSparkPythonActivity, DatabricksSparkJarActivity, DatabricksNotebookActivity, @@ -225,12 +227,14 @@ export { LookupActivity, CopySource, DeleteActivity, + LogStorageSettings, SqlServerStoredProcedureActivity, StoredProcedureParameter, CustomActivity, CustomActivityReferenceObject, ExecuteSSISPackageActivity, SSISPackageLocation, + SSISExecutionCredential, SSISExecutionParameter, SSISPropertyOverride, HDInsightSparkActivity, @@ -247,6 +251,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/models/triggersMappers.ts b/packages/@azure/arm-datafactory/lib/models/triggersMappers.ts index 6763311285bc..95683bdfb529 100644 --- a/packages/@azure/arm-datafactory/lib/models/triggersMappers.ts +++ b/packages/@azure/arm-datafactory/lib/models/triggersMappers.ts @@ -46,8 +46,9 @@ export { RetryPolicy, DependencyReference, MultiplePipelineTrigger, - ResponsysLinkedService, + AzureFunctionLinkedService, SecretBase, + ResponsysLinkedService, AzureDatabricksLinkedService, AzureDataLakeAnalyticsLinkedService, HDInsightOnDemandLinkedService, @@ -210,6 +211,7 @@ export { AvroFormat, JsonFormat, TextFormat, + AzureFunctionActivity, DatabricksSparkPythonActivity, DatabricksSparkJarActivity, DatabricksNotebookActivity, @@ -224,12 +226,14 @@ export { LookupActivity, CopySource, DeleteActivity, + LogStorageSettings, SqlServerStoredProcedureActivity, StoredProcedureParameter, CustomActivity, CustomActivityReferenceObject, ExecuteSSISPackageActivity, SSISPackageLocation, + SSISExecutionCredential, SSISExecutionParameter, SSISPropertyOverride, HDInsightSparkActivity, @@ -246,6 +250,7 @@ export { SetVariableActivity, FilterActivity, Expression, + ValidationActivity, UntilActivity, WaitActivity, ForEachActivity, diff --git a/packages/@azure/arm-datafactory/lib/operations/activityRuns.ts b/packages/@azure/arm-datafactory/lib/operations/activityRuns.ts index 8fa8f663ebc9..4661351c849e 100644 --- a/packages/@azure/arm-datafactory/lib/operations/activityRuns.ts +++ b/packages/@azure/arm-datafactory/lib/operations/activityRuns.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/activityRunsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/datasets.ts b/packages/@azure/arm-datafactory/lib/operations/datasets.ts index c1a78dc8ccbd..464c91543510 100644 --- a/packages/@azure/arm-datafactory/lib/operations/datasets.ts +++ b/packages/@azure/arm-datafactory/lib/operations/datasets.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/datasetsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/exposureControl.ts b/packages/@azure/arm-datafactory/lib/operations/exposureControl.ts new file mode 100644 index 000000000000..4873987c2e39 --- /dev/null +++ b/packages/@azure/arm-datafactory/lib/operations/exposureControl.ts @@ -0,0 +1,93 @@ +/* + * 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 "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; + } +} + +// 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 +}; diff --git a/packages/@azure/arm-datafactory/lib/operations/factories.ts b/packages/@azure/arm-datafactory/lib/operations/factories.ts index ad06bf87325a..d7dd379624f7 100644 --- a/packages/@azure/arm-datafactory/lib/operations/factories.ts +++ b/packages/@azure/arm-datafactory/lib/operations/factories.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/factoriesMappers"; import * as Parameters from "../models/parameters"; @@ -282,6 +282,42 @@ export class Factories { 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. @@ -567,6 +603,38 @@ const getGitHubAccessTokenOperationSpec: msRest.OperationSpec = { 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", diff --git a/packages/@azure/arm-datafactory/lib/operations/index.ts b/packages/@azure/arm-datafactory/lib/operations/index.ts index 263a7c767715..1a1c9f440fe4 100644 --- a/packages/@azure/arm-datafactory/lib/operations/index.ts +++ b/packages/@azure/arm-datafactory/lib/operations/index.ts @@ -10,7 +10,9 @@ export * from "./operations"; export * from "./factories"; +export * from "./exposureControl"; export * from "./integrationRuntimes"; +export * from "./integrationRuntimeObjectMetadata"; export * from "./integrationRuntimeNodes"; export * from "./linkedServices"; export * from "./datasets"; diff --git a/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeNodes.ts b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeNodes.ts index 236a5dcbd59f..c69b1b4e5c58 100644 --- a/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeNodes.ts +++ b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeNodes.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/integrationRuntimeNodesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeObjectMetadata.ts b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimeObjectMetadata.ts new file mode 100644 index 000000000000..3de50b97c933 --- /dev/null +++ b/packages/@azure/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 "ms-rest-js"; +import * as msRestAzure from "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/packages/@azure/arm-datafactory/lib/operations/integrationRuntimes.ts b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimes.ts index 59acad8987c1..e788d71ec755 100644 --- a/packages/@azure/arm-datafactory/lib/operations/integrationRuntimes.ts +++ b/packages/@azure/arm-datafactory/lib/operations/integrationRuntimes.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/integrationRuntimesMappers"; import * as Parameters from "../models/parameters"; @@ -466,7 +466,7 @@ export class IntegrationRuntimes { } /** - * Upgrade self-hosted integration runtime to latest version if availably. + * 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. diff --git a/packages/@azure/arm-datafactory/lib/operations/linkedServices.ts b/packages/@azure/arm-datafactory/lib/operations/linkedServices.ts index 6d117656636d..041da7b2e5a8 100644 --- a/packages/@azure/arm-datafactory/lib/operations/linkedServices.ts +++ b/packages/@azure/arm-datafactory/lib/operations/linkedServices.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/linkedServicesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/operations.ts b/packages/@azure/arm-datafactory/lib/operations/operations.ts index 3d2c2fe9ddce..48b7524448e7 100644 --- a/packages/@azure/arm-datafactory/lib/operations/operations.ts +++ b/packages/@azure/arm-datafactory/lib/operations/operations.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/operationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/pipelineRuns.ts b/packages/@azure/arm-datafactory/lib/operations/pipelineRuns.ts index 553d61bcfbab..7cbee8cb5f2f 100644 --- a/packages/@azure/arm-datafactory/lib/operations/pipelineRuns.ts +++ b/packages/@azure/arm-datafactory/lib/operations/pipelineRuns.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/pipelineRunsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/pipelines.ts b/packages/@azure/arm-datafactory/lib/operations/pipelines.ts index aa709aa8ca59..f51e7f7aafb9 100644 --- a/packages/@azure/arm-datafactory/lib/operations/pipelines.ts +++ b/packages/@azure/arm-datafactory/lib/operations/pipelines.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/pipelinesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/rerunTriggers.ts b/packages/@azure/arm-datafactory/lib/operations/rerunTriggers.ts index 22693ccbabba..4efd6c3a3d9c 100644 --- a/packages/@azure/arm-datafactory/lib/operations/rerunTriggers.ts +++ b/packages/@azure/arm-datafactory/lib/operations/rerunTriggers.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/rerunTriggersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/triggerRuns.ts b/packages/@azure/arm-datafactory/lib/operations/triggerRuns.ts index 400d35e96cb4..72b6c29e9c42 100644 --- a/packages/@azure/arm-datafactory/lib/operations/triggerRuns.ts +++ b/packages/@azure/arm-datafactory/lib/operations/triggerRuns.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/triggerRunsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/lib/operations/triggers.ts b/packages/@azure/arm-datafactory/lib/operations/triggers.ts index 0e3699ac9da3..eb88dd2444ab 100644 --- a/packages/@azure/arm-datafactory/lib/operations/triggers.ts +++ b/packages/@azure/arm-datafactory/lib/operations/triggers.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/triggersMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-datafactory/package.json b/packages/@azure/arm-datafactory/package.json index 6e00a9f80b93..fec1e408de72 100644 --- a/packages/@azure/arm-datafactory/package.json +++ b/packages/@azure/arm-datafactory/package.json @@ -4,8 +4,8 @@ "description": "DataFactoryManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "ms-rest-azure-js": "^1.0.181", + "ms-rest-js": "^1.0.460", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-datafactory/rollup.config.js b/packages/@azure/arm-datafactory/rollup.config.js index dc8bc798c773..aed11bd56760 100644 --- a/packages/@azure/arm-datafactory/rollup.config.js +++ b/packages/@azure/arm-datafactory/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/dataFactoryManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + external: ["ms-rest-js", "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" + "ms-rest-js": "msRest", + "ms-rest-azure-js": "msRestAzure" }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. diff --git a/packages/@azure/arm-datafactory/tsconfig.json b/packages/@azure/arm-datafactory/tsconfig.json index 51ea90961ce5..f32d1664f320 100644 --- a/packages/@azure/arm-datafactory/tsconfig.json +++ b/packages/@azure/arm-datafactory/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*.ts"], + "include": ["./lib/**/*"], "exclude": ["node_modules"] }