diff --git a/sdk/datafactory/arm-datafactory/CHANGELOG.md b/sdk/datafactory/arm-datafactory/CHANGELOG.md index d1ecc689ca1a..b6c8513eeb67 100644 --- a/sdk/datafactory/arm-datafactory/CHANGELOG.md +++ b/sdk/datafactory/arm-datafactory/CHANGELOG.md @@ -1,5 +1,49 @@ # Release History +## 15.0.0 (2024-03-12) + +**Features** + + - Added Interface ExpressionV2 + - Added Interface GoogleBigQueryV2LinkedService + - Added Interface GoogleBigQueryV2ObjectDataset + - Added Interface GoogleBigQueryV2Source + - Added Interface PostgreSqlV2LinkedService + - Added Interface PostgreSqlV2Source + - Added Interface PostgreSqlV2TableDataset + - Added Interface ServiceNowV2LinkedService + - Added Interface ServiceNowV2ObjectDataset + - Added Interface ServiceNowV2Source + - Added Type Alias ExpressionV2Type + - Added Type Alias GoogleBigQueryV2AuthenticationType + - Added Type Alias ServiceNowV2AuthenticationType + - Type of parameter type of interface CopySource is changed from "AvroSource" | "ExcelSource" | "ParquetSource" | "DelimitedTextSource" | "JsonSource" | "XmlSource" | "OrcSource" | "BinarySource" | "TabularSource" | "AzureTableSource" | "BlobSource" | "DocumentDbCollectionSource" | "CosmosDbSqlApiSource" | "DynamicsSource" | "DynamicsCrmSource" | "CommonDataServiceForAppsSource" | "RelationalSource" | "InformixSource" | "MicrosoftAccessSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "ODataSource" | "SalesforceSource" | "SalesforceServiceCloudSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "RestSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "FileSystemSource" | "HdfsSource" | "AzureMySqlSource" | "AzureDataExplorerSource" | "OracleSource" | "AmazonRdsForOracleSource" | "TeradataSource" | "WebSource" | "CassandraSource" | "MongoDbSource" | "MongoDbAtlasSource" | "MongoDbV2Source" | "CosmosDbMongoDbApiSource" | "Office365Source" | "AzureDataLakeStoreSource" | "AzureBlobFSSource" | "HttpSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "LakeHouseTableSource" | "SnowflakeSource" | "SnowflakeV2Source" | "AzureDatabricksDeltaLakeSource" | "WarehouseSource" | "SharePointOnlineListSource" | "SalesforceV2Source" | "SalesforceServiceCloudV2Source" to "AvroSource" | "ExcelSource" | "ParquetSource" | "DelimitedTextSource" | "JsonSource" | "XmlSource" | "OrcSource" | "BinarySource" | "TabularSource" | "AzureTableSource" | "BlobSource" | "DocumentDbCollectionSource" | "CosmosDbSqlApiSource" | "DynamicsSource" | "DynamicsCrmSource" | "CommonDataServiceForAppsSource" | "RelationalSource" | "InformixSource" | "MicrosoftAccessSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "PostgreSqlV2Source" | "SybaseSource" | "SapBwSource" | "ODataSource" | "SalesforceSource" | "SalesforceServiceCloudSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "RestSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "FileSystemSource" | "HdfsSource" | "AzureMySqlSource" | "AzureDataExplorerSource" | "OracleSource" | "AmazonRdsForOracleSource" | "TeradataSource" | "WebSource" | "CassandraSource" | "MongoDbSource" | "MongoDbAtlasSource" | "MongoDbV2Source" | "CosmosDbMongoDbApiSource" | "Office365Source" | "AzureDataLakeStoreSource" | "AzureBlobFSSource" | "HttpSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GoogleBigQueryV2Source" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "LakeHouseTableSource" | "SnowflakeSource" | "SnowflakeV2Source" | "AzureDatabricksDeltaLakeSource" | "WarehouseSource" | "SharePointOnlineListSource" | "SalesforceV2Source" | "SalesforceServiceCloudV2Source" | "ServiceNowV2Source" + - Type of parameter type of interface Dataset is changed from "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SnowflakeV2Table" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset" | "LakeHouseTable" | "SalesforceV2Object" | "SalesforceServiceCloudV2Object" | "WarehouseTable" to "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "PostgreSqlV2Table" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GoogleBigQueryV2Object" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SnowflakeV2Table" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset" | "LakeHouseTable" | "SalesforceV2Object" | "SalesforceServiceCloudV2Object" | "WarehouseTable" | "ServiceNowV2Object" + - Type of parameter type of interface LinkedService is changed from "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "AmazonS3Compatible" | "OracleCloudStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "SapOdp" | "RestService" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "Dataworld" | "AppFigures" | "Asana" | "Twilio" | "GoogleSheets" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SnowflakeV2" | "SharePointOnlineList" | "AzureSynapseArtifacts" | "LakeHouse" | "SalesforceV2" | "SalesforceServiceCloudV2" | "Warehouse" to "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "AmazonS3Compatible" | "OracleCloudStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "PostgreSqlV2" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "SapOdp" | "RestService" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "Dataworld" | "AppFigures" | "Asana" | "Twilio" | "GoogleSheets" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "GoogleBigQueryV2" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SnowflakeV2" | "SharePointOnlineList" | "AzureSynapseArtifacts" | "LakeHouse" | "SalesforceV2" | "SalesforceServiceCloudV2" | "Warehouse" | "ServiceNowV2" + - Type of parameter type of interface TabularSource is changed from "TabularSource" | "AzureTableSource" | "InformixSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "SalesforceSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "AzureMySqlSource" | "TeradataSource" | "CassandraSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "WarehouseSource" | "SalesforceV2Source" to "TabularSource" | "AzureTableSource" | "InformixSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "PostgreSqlV2Source" | "SybaseSource" | "SapBwSource" | "SalesforceSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "AzureMySqlSource" | "TeradataSource" | "CassandraSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GoogleBigQueryV2Source" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "WarehouseSource" | "SalesforceV2Source" | "ServiceNowV2Source" + - Added Enum KnownExpressionV2Type + - Added Enum KnownGoogleBigQueryV2AuthenticationType + - Added Enum KnownServiceNowV2AuthenticationType + +**Breaking Changes** + + - Type of parameter headers of interface AzureFunctionActivity is changed from { + [propertyName: string]: string; + } to { + [propertyName: string]: any; + } + - Type of parameter headers of interface WebActivity is changed from { + [propertyName: string]: string; + } to { + [propertyName: string]: any; + } + - Type of parameter headers of interface WebHookActivity is changed from { + [propertyName: string]: string; + } to { + [propertyName: string]: any; + } + + ## 14.0.0 (2024-02-04) **Features** diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json index 8591824d420a..b13409b42aed 100644 --- a/sdk/datafactory/arm-datafactory/_meta.json +++ b/sdk/datafactory/arm-datafactory/_meta.json @@ -1,8 +1,8 @@ { - "commit": "45f5b5a166c75a878d0f5404e74bd1855ff48894", + "commit": "450e7fffbc37f0ef2619d9f8f888a935d070957f", "readme": "specification/datafactory/resource-manager/readme.md", - "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\datafactory\\resource-manager\\readme.md --use=@autorest/typescript@6.0.14 --generate-sample=true", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", "release_tool": "@azure-tools/js-sdk-release-tools@2.7.4", - "use": "@autorest/typescript@6.0.14" + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index b20037560d25..7880b8f0029a 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for DataFactoryManagementClient.", - "version": "14.0.0", + "version": "15.0.0", "engines": { "node": ">=18.0.0" }, @@ -12,8 +12,8 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.7.0", - "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.12.0", + "@azure/core-auth": "^1.6.0", + "@azure/core-rest-pipeline": "^1.14.0", "tslib": "^2.2.0" }, "keywords": [ @@ -106,13 +106,5 @@ ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory" +} \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md index 8fe10d3119f9..4a9a50178f5e 100644 --- a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md +++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md @@ -747,7 +747,7 @@ export interface AzureFunctionActivity extends ExecutionActivity { body?: any; functionName: any; headers?: { - [propertyName: string]: string; + [propertyName: string]: any; }; method: AzureFunctionActivityMethod; type: "AzureFunctionActivity"; @@ -1475,7 +1475,7 @@ export interface CopySource { maxConcurrentConnections?: any; sourceRetryCount?: any; sourceRetryWait?: any; - type: "AvroSource" | "ExcelSource" | "ParquetSource" | "DelimitedTextSource" | "JsonSource" | "XmlSource" | "OrcSource" | "BinarySource" | "TabularSource" | "AzureTableSource" | "BlobSource" | "DocumentDbCollectionSource" | "CosmosDbSqlApiSource" | "DynamicsSource" | "DynamicsCrmSource" | "CommonDataServiceForAppsSource" | "RelationalSource" | "InformixSource" | "MicrosoftAccessSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "ODataSource" | "SalesforceSource" | "SalesforceServiceCloudSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "RestSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "FileSystemSource" | "HdfsSource" | "AzureMySqlSource" | "AzureDataExplorerSource" | "OracleSource" | "AmazonRdsForOracleSource" | "TeradataSource" | "WebSource" | "CassandraSource" | "MongoDbSource" | "MongoDbAtlasSource" | "MongoDbV2Source" | "CosmosDbMongoDbApiSource" | "Office365Source" | "AzureDataLakeStoreSource" | "AzureBlobFSSource" | "HttpSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "LakeHouseTableSource" | "SnowflakeSource" | "SnowflakeV2Source" | "AzureDatabricksDeltaLakeSource" | "WarehouseSource" | "SharePointOnlineListSource" | "SalesforceV2Source" | "SalesforceServiceCloudV2Source"; + type: "AvroSource" | "ExcelSource" | "ParquetSource" | "DelimitedTextSource" | "JsonSource" | "XmlSource" | "OrcSource" | "BinarySource" | "TabularSource" | "AzureTableSource" | "BlobSource" | "DocumentDbCollectionSource" | "CosmosDbSqlApiSource" | "DynamicsSource" | "DynamicsCrmSource" | "CommonDataServiceForAppsSource" | "RelationalSource" | "InformixSource" | "MicrosoftAccessSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "PostgreSqlV2Source" | "SybaseSource" | "SapBwSource" | "ODataSource" | "SalesforceSource" | "SalesforceServiceCloudSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "RestSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "FileSystemSource" | "HdfsSource" | "AzureMySqlSource" | "AzureDataExplorerSource" | "OracleSource" | "AmazonRdsForOracleSource" | "TeradataSource" | "WebSource" | "CassandraSource" | "MongoDbSource" | "MongoDbAtlasSource" | "MongoDbV2Source" | "CosmosDbMongoDbApiSource" | "Office365Source" | "AzureDataLakeStoreSource" | "AzureBlobFSSource" | "HttpSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GoogleBigQueryV2Source" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "LakeHouseTableSource" | "SnowflakeSource" | "SnowflakeV2Source" | "AzureDatabricksDeltaLakeSource" | "WarehouseSource" | "SharePointOnlineListSource" | "SalesforceV2Source" | "SalesforceServiceCloudV2Source" | "ServiceNowV2Source"; } // @public (undocumented) @@ -2102,7 +2102,7 @@ export interface Dataset { }; schema?: any; structure?: any; - type: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SnowflakeV2Table" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset" | "LakeHouseTable" | "SalesforceV2Object" | "SalesforceServiceCloudV2Object" | "WarehouseTable"; + type: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "PostgreSqlV2Table" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GoogleBigQueryV2Object" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SnowflakeV2Table" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset" | "LakeHouseTable" | "SalesforceV2Object" | "SalesforceServiceCloudV2Object" | "WarehouseTable" | "ServiceNowV2Object"; } // @public @@ -2223,7 +2223,7 @@ export interface DatasetStorageFormat { export type DatasetStorageFormatUnion = DatasetStorageFormat | TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat; // @public (undocumented) -export type DatasetUnion = Dataset | AmazonS3Dataset | AvroDataset | ExcelDataset | ParquetDataset | DelimitedTextDataset | JsonDataset | XmlDataset | OrcDataset | BinaryDataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset | AzureSqlMITableDataset | AzureSqlDWTableDataset | CassandraTableDataset | CustomDataset | CosmosDbSqlApiCollectionDataset | DocumentDbCollectionDataset | DynamicsEntityDataset | DynamicsCrmEntityDataset | CommonDataServiceForAppsEntityDataset | AzureDataLakeStoreDataset | AzureBlobFSDataset | Office365Dataset | FileShareDataset | MongoDbCollectionDataset | MongoDbAtlasCollectionDataset | MongoDbV2CollectionDataset | CosmosDbMongoDbApiCollectionDataset | ODataResourceDataset | OracleTableDataset | AmazonRdsForOracleTableDataset | TeradataTableDataset | AzureMySqlTableDataset | AmazonRedshiftTableDataset | Db2TableDataset | RelationalTableDataset | InformixTableDataset | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset | SalesforceServiceCloudObjectDataset | SybaseTableDataset | SapBwCubeDataset | SapCloudForCustomerResourceDataset | SapEccResourceDataset | SapHanaTableDataset | SapOpenHubTableDataset | SqlServerTableDataset | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset | SapOdpResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset | AmazonMWSObjectDataset | AzurePostgreSqlTableDataset | ConcurObjectDataset | CouchbaseTableDataset | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset | HubspotObjectDataset | ImpalaObjectDataset | JiraObjectDataset | MagentoObjectDataset | MariaDBTableDataset | AzureMariaDBTableDataset | MarketoObjectDataset | PaypalObjectDataset | PhoenixObjectDataset | PrestoObjectDataset | QuickBooksObjectDataset | ServiceNowObjectDataset | ShopifyObjectDataset | SparkObjectDataset | SquareObjectDataset | XeroObjectDataset | ZohoObjectDataset | NetezzaTableDataset | VerticaTableDataset | SalesforceMarketingCloudObjectDataset | ResponsysObjectDataset | DynamicsAXResourceDataset | OracleServiceCloudObjectDataset | AzureDataExplorerTableDataset | GoogleAdWordsObjectDataset | SnowflakeDataset | SnowflakeV2Dataset | SharePointOnlineListResourceDataset | AzureDatabricksDeltaLakeDataset | LakeHouseTableDataset | SalesforceV2ObjectDataset | SalesforceServiceCloudV2ObjectDataset | WarehouseTableDataset; +export type DatasetUnion = Dataset | AmazonS3Dataset | AvroDataset | ExcelDataset | ParquetDataset | DelimitedTextDataset | JsonDataset | XmlDataset | OrcDataset | BinaryDataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset | AzureSqlMITableDataset | AzureSqlDWTableDataset | CassandraTableDataset | CustomDataset | CosmosDbSqlApiCollectionDataset | DocumentDbCollectionDataset | DynamicsEntityDataset | DynamicsCrmEntityDataset | CommonDataServiceForAppsEntityDataset | AzureDataLakeStoreDataset | AzureBlobFSDataset | Office365Dataset | FileShareDataset | MongoDbCollectionDataset | MongoDbAtlasCollectionDataset | MongoDbV2CollectionDataset | CosmosDbMongoDbApiCollectionDataset | ODataResourceDataset | OracleTableDataset | AmazonRdsForOracleTableDataset | TeradataTableDataset | AzureMySqlTableDataset | AmazonRedshiftTableDataset | Db2TableDataset | RelationalTableDataset | InformixTableDataset | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset | PostgreSqlV2TableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset | SalesforceServiceCloudObjectDataset | SybaseTableDataset | SapBwCubeDataset | SapCloudForCustomerResourceDataset | SapEccResourceDataset | SapHanaTableDataset | SapOpenHubTableDataset | SqlServerTableDataset | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset | SapOdpResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset | AmazonMWSObjectDataset | AzurePostgreSqlTableDataset | ConcurObjectDataset | CouchbaseTableDataset | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset | GoogleBigQueryV2ObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset | HubspotObjectDataset | ImpalaObjectDataset | JiraObjectDataset | MagentoObjectDataset | MariaDBTableDataset | AzureMariaDBTableDataset | MarketoObjectDataset | PaypalObjectDataset | PhoenixObjectDataset | PrestoObjectDataset | QuickBooksObjectDataset | ServiceNowObjectDataset | ShopifyObjectDataset | SparkObjectDataset | SquareObjectDataset | XeroObjectDataset | ZohoObjectDataset | NetezzaTableDataset | VerticaTableDataset | SalesforceMarketingCloudObjectDataset | ResponsysObjectDataset | DynamicsAXResourceDataset | OracleServiceCloudObjectDataset | AzureDataExplorerTableDataset | GoogleAdWordsObjectDataset | SnowflakeDataset | SnowflakeV2Dataset | SharePointOnlineListResourceDataset | AzureDatabricksDeltaLakeDataset | LakeHouseTableDataset | SalesforceV2ObjectDataset | SalesforceServiceCloudV2ObjectDataset | WarehouseTableDataset | ServiceNowV2ObjectDataset; // @public export interface DataworldLinkedService extends LinkedService { @@ -2764,6 +2764,17 @@ export interface Expression { value: string; } +// @public +export interface ExpressionV2 { + operands?: ExpressionV2[]; + operator?: string; + type?: ExpressionV2Type; + value?: string; +} + +// @public +export type ExpressionV2Type = string; + // @public export interface Factories { configureFactoryRepo(locationId: string, factoryRepoUpdate: FactoryRepoUpdate, options?: FactoriesConfigureFactoryRepoOptionalParams): Promise; @@ -3254,6 +3265,34 @@ export interface GoogleBigQuerySource extends TabularSource { type: "GoogleBigQuerySource"; } +// @public +export type GoogleBigQueryV2AuthenticationType = string; + +// @public +export interface GoogleBigQueryV2LinkedService extends LinkedService { + authenticationType: GoogleBigQueryV2AuthenticationType; + clientId?: any; + clientSecret?: SecretBaseUnion; + encryptedCredential?: string; + keyFileContent?: SecretBaseUnion; + projectId: any; + refreshToken?: SecretBaseUnion; + type: "GoogleBigQueryV2"; +} + +// @public +export interface GoogleBigQueryV2ObjectDataset extends Dataset { + dataset?: any; + table?: any; + type: "GoogleBigQueryV2Object"; +} + +// @public +export interface GoogleBigQueryV2Source extends TabularSource { + query?: any; + type: "GoogleBigQueryV2Source"; +} + // @public export interface GoogleCloudStorageLinkedService extends LinkedService { accessKeyId?: any; @@ -4415,6 +4454,14 @@ export enum KnownEventSubscriptionStatus { Unknown = "Unknown" } +// @public +export enum KnownExpressionV2Type { + Binary = "Binary", + Constant = "Constant", + Field = "Field", + Unary = "Unary" +} + // @public export enum KnownFactoryIdentityType { SystemAssigned = "SystemAssigned", @@ -4457,6 +4504,12 @@ export enum KnownGoogleBigQueryAuthenticationType { UserAuthentication = "UserAuthentication" } +// @public +export enum KnownGoogleBigQueryV2AuthenticationType { + ServiceAuthentication = "ServiceAuthentication", + UserAuthentication = "UserAuthentication" +} + // @public export enum KnownHBaseAuthenticationType { Anonymous = "Anonymous", @@ -4873,6 +4926,12 @@ export enum KnownServiceNowAuthenticationType { OAuth2 = "OAuth2" } +// @public +export enum KnownServiceNowV2AuthenticationType { + Basic = "Basic", + OAuth2 = "OAuth2" +} + // @public export enum KnownServicePrincipalCredentialType { ServicePrincipalCert = "ServicePrincipalCert", @@ -5176,7 +5235,7 @@ export interface LinkedService { parameters?: { [propertyName: string]: ParameterSpecification; }; - type: "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "AmazonS3Compatible" | "OracleCloudStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "SapOdp" | "RestService" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "Dataworld" | "AppFigures" | "Asana" | "Twilio" | "GoogleSheets" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SnowflakeV2" | "SharePointOnlineList" | "AzureSynapseArtifacts" | "LakeHouse" | "SalesforceV2" | "SalesforceServiceCloudV2" | "Warehouse"; + type: "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "AmazonS3Compatible" | "OracleCloudStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "PostgreSqlV2" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "SapOdp" | "RestService" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "Dataworld" | "AppFigures" | "Asana" | "Twilio" | "GoogleSheets" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "GoogleBigQueryV2" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SnowflakeV2" | "SharePointOnlineList" | "AzureSynapseArtifacts" | "LakeHouse" | "SalesforceV2" | "SalesforceServiceCloudV2" | "Warehouse" | "ServiceNowV2"; } // @public @@ -5247,7 +5306,7 @@ export interface LinkedServicesListByFactoryOptionalParams extends coreClient.Op export type LinkedServicesListByFactoryResponse = LinkedServiceListResponse; // @public (undocumented) -export type LinkedServiceUnion = LinkedService | AzureStorageLinkedService | AzureBlobStorageLinkedService | AzureTableStorageLinkedService | AzureSqlDWLinkedService | SqlServerLinkedService | AmazonRdsForSqlServerLinkedService | AzureSqlDatabaseLinkedService | AzureSqlMILinkedService | AzureBatchLinkedService | AzureKeyVaultLinkedService | CosmosDbLinkedService | DynamicsLinkedService | DynamicsCrmLinkedService | CommonDataServiceForAppsLinkedService | HDInsightLinkedService | FileServerLinkedService | AzureFileStorageLinkedService | AmazonS3CompatibleLinkedService | OracleCloudStorageLinkedService | GoogleCloudStorageLinkedService | OracleLinkedService | AmazonRdsForOracleLinkedService | AzureMySqlLinkedService | MySqlLinkedService | PostgreSqlLinkedService | SybaseLinkedService | Db2LinkedService | TeradataLinkedService | AzureMLLinkedService | AzureMLServiceLinkedService | OdbcLinkedService | InformixLinkedService | MicrosoftAccessLinkedService | HdfsLinkedService | ODataLinkedService | WebLinkedService | CassandraLinkedService | MongoDbLinkedService | MongoDbAtlasLinkedService | MongoDbV2LinkedService | CosmosDbMongoDbApiLinkedService | AzureDataLakeStoreLinkedService | AzureBlobFSLinkedService | Office365LinkedService | SalesforceLinkedService | SalesforceServiceCloudLinkedService | SapCloudForCustomerLinkedService | SapEccLinkedService | SapOpenHubLinkedService | SapOdpLinkedService | RestServiceLinkedService | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService | ZendeskLinkedService | DataworldLinkedService | AppFiguresLinkedService | AsanaLinkedService | TwilioLinkedService | GoogleSheetsLinkedService | AmazonS3LinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService | AzureSearchLinkedService | HttpLinkedService | FtpServerLinkedService | SftpServerLinkedService | SapBWLinkedService | SapHanaLinkedService | AmazonMWSLinkedService | AzurePostgreSqlLinkedService | ConcurLinkedService | CouchbaseLinkedService | DrillLinkedService | EloquaLinkedService | GoogleBigQueryLinkedService | GreenplumLinkedService | HBaseLinkedService | HiveLinkedService | HubspotLinkedService | ImpalaLinkedService | JiraLinkedService | MagentoLinkedService | MariaDBLinkedService | AzureMariaDBLinkedService | MarketoLinkedService | PaypalLinkedService | PhoenixLinkedService | PrestoLinkedService | QuickBooksLinkedService | ServiceNowLinkedService | ShopifyLinkedService | SparkLinkedService | SquareLinkedService | XeroLinkedService | ZohoLinkedService | VerticaLinkedService | NetezzaLinkedService | SalesforceMarketingCloudLinkedService | HDInsightOnDemandLinkedService | AzureDataLakeAnalyticsLinkedService | AzureDatabricksLinkedService | AzureDatabricksDeltaLakeLinkedService | ResponsysLinkedService | DynamicsAXLinkedService | OracleServiceCloudLinkedService | GoogleAdWordsLinkedService | SapTableLinkedService | AzureDataExplorerLinkedService | AzureFunctionLinkedService | SnowflakeLinkedService | SnowflakeV2LinkedService | SharePointOnlineListLinkedService | AzureSynapseArtifactsLinkedService | LakeHouseLinkedService | SalesforceV2LinkedService | SalesforceServiceCloudV2LinkedService | WarehouseLinkedService; +export type LinkedServiceUnion = LinkedService | AzureStorageLinkedService | AzureBlobStorageLinkedService | AzureTableStorageLinkedService | AzureSqlDWLinkedService | SqlServerLinkedService | AmazonRdsForSqlServerLinkedService | AzureSqlDatabaseLinkedService | AzureSqlMILinkedService | AzureBatchLinkedService | AzureKeyVaultLinkedService | CosmosDbLinkedService | DynamicsLinkedService | DynamicsCrmLinkedService | CommonDataServiceForAppsLinkedService | HDInsightLinkedService | FileServerLinkedService | AzureFileStorageLinkedService | AmazonS3CompatibleLinkedService | OracleCloudStorageLinkedService | GoogleCloudStorageLinkedService | OracleLinkedService | AmazonRdsForOracleLinkedService | AzureMySqlLinkedService | MySqlLinkedService | PostgreSqlLinkedService | PostgreSqlV2LinkedService | SybaseLinkedService | Db2LinkedService | TeradataLinkedService | AzureMLLinkedService | AzureMLServiceLinkedService | OdbcLinkedService | InformixLinkedService | MicrosoftAccessLinkedService | HdfsLinkedService | ODataLinkedService | WebLinkedService | CassandraLinkedService | MongoDbLinkedService | MongoDbAtlasLinkedService | MongoDbV2LinkedService | CosmosDbMongoDbApiLinkedService | AzureDataLakeStoreLinkedService | AzureBlobFSLinkedService | Office365LinkedService | SalesforceLinkedService | SalesforceServiceCloudLinkedService | SapCloudForCustomerLinkedService | SapEccLinkedService | SapOpenHubLinkedService | SapOdpLinkedService | RestServiceLinkedService | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService | ZendeskLinkedService | DataworldLinkedService | AppFiguresLinkedService | AsanaLinkedService | TwilioLinkedService | GoogleSheetsLinkedService | AmazonS3LinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService | AzureSearchLinkedService | HttpLinkedService | FtpServerLinkedService | SftpServerLinkedService | SapBWLinkedService | SapHanaLinkedService | AmazonMWSLinkedService | AzurePostgreSqlLinkedService | ConcurLinkedService | CouchbaseLinkedService | DrillLinkedService | EloquaLinkedService | GoogleBigQueryLinkedService | GoogleBigQueryV2LinkedService | GreenplumLinkedService | HBaseLinkedService | HiveLinkedService | HubspotLinkedService | ImpalaLinkedService | JiraLinkedService | MagentoLinkedService | MariaDBLinkedService | AzureMariaDBLinkedService | MarketoLinkedService | PaypalLinkedService | PhoenixLinkedService | PrestoLinkedService | QuickBooksLinkedService | ServiceNowLinkedService | ShopifyLinkedService | SparkLinkedService | SquareLinkedService | XeroLinkedService | ZohoLinkedService | VerticaLinkedService | NetezzaLinkedService | SalesforceMarketingCloudLinkedService | HDInsightOnDemandLinkedService | AzureDataLakeAnalyticsLinkedService | AzureDatabricksLinkedService | AzureDatabricksDeltaLakeLinkedService | ResponsysLinkedService | DynamicsAXLinkedService | OracleServiceCloudLinkedService | GoogleAdWordsLinkedService | SapTableLinkedService | AzureDataExplorerLinkedService | AzureFunctionLinkedService | SnowflakeLinkedService | SnowflakeV2LinkedService | SharePointOnlineListLinkedService | AzureSynapseArtifactsLinkedService | LakeHouseLinkedService | SalesforceV2LinkedService | SalesforceServiceCloudV2LinkedService | WarehouseLinkedService | ServiceNowV2LinkedService; // @public export interface LogLocationSettings { @@ -6491,6 +6550,43 @@ export interface PostgreSqlTableDataset extends Dataset { type: "PostgreSqlTable"; } +// @public +export interface PostgreSqlV2LinkedService extends LinkedService { + commandTimeout?: any; + connectionTimeout?: any; + database: any; + encoding?: any; + encryptedCredential?: string; + logParameters?: any; + password?: AzureKeyVaultSecretReference; + pooling?: any; + port?: any; + readBufferSize?: any; + schema?: any; + server: any; + sslCertificate?: any; + sslKey?: any; + sslMode: any; + sslPassword?: any; + timezone?: any; + trustServerCertificate?: any; + type: "PostgreSqlV2"; + username: any; +} + +// @public +export interface PostgreSqlV2Source extends TabularSource { + query?: any; + type: "PostgreSqlV2Source"; +} + +// @public +export interface PostgreSqlV2TableDataset extends Dataset { + schemaTypePropertiesSchema?: any; + table?: any; + type: "PostgreSqlV2Table"; +} + // @public export interface PowerQuerySink extends DataFlowSink { script?: string; @@ -7488,6 +7584,34 @@ export interface ServiceNowSource extends TabularSource { type: "ServiceNowSource"; } +// @public +export type ServiceNowV2AuthenticationType = string; + +// @public +export interface ServiceNowV2LinkedService extends LinkedService { + authenticationType: ServiceNowV2AuthenticationType; + clientId?: any; + clientSecret?: SecretBaseUnion; + encryptedCredential?: string; + endpoint: any; + grantType?: any; + password?: SecretBaseUnion; + type: "ServiceNowV2"; + username?: any; +} + +// @public +export interface ServiceNowV2ObjectDataset extends Dataset { + tableName?: any; + type: "ServiceNowV2Object"; +} + +// @public +export interface ServiceNowV2Source extends TabularSource { + expression?: ExpressionV2; + type: "ServiceNowV2Source"; +} + // @public export interface ServicePrincipalCredential extends Credential_2 { servicePrincipalId?: any; @@ -8260,11 +8384,11 @@ export interface SynapseSparkJobReference { export interface TabularSource extends CopySource { additionalColumns?: any; queryTimeout?: any; - type: "TabularSource" | "AzureTableSource" | "InformixSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "SalesforceSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "AzureMySqlSource" | "TeradataSource" | "CassandraSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "WarehouseSource" | "SalesforceV2Source"; + type: "TabularSource" | "AzureTableSource" | "InformixSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "PostgreSqlV2Source" | "SybaseSource" | "SapBwSource" | "SalesforceSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "AzureMySqlSource" | "TeradataSource" | "CassandraSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GoogleBigQueryV2Source" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "WarehouseSource" | "SalesforceV2Source" | "ServiceNowV2Source"; } // @public (undocumented) -export type TabularSourceUnion = TabularSource | AzureTableSource | InformixSource | Db2Source | OdbcSource | MySqlSource | PostgreSqlSource | SybaseSource | SapBwSource | SalesforceSource | SapCloudForCustomerSource | SapEccSource | SapHanaSource | SapOpenHubSource | SapOdpSource | SapTableSource | SqlSource | SqlServerSource | AmazonRdsForSqlServerSource | AzureSqlSource | SqlMISource | SqlDWSource | AzureMySqlSource | TeradataSource | CassandraSource | AmazonMWSSource | AzurePostgreSqlSource | ConcurSource | CouchbaseSource | DrillSource | EloquaSource | GoogleBigQuerySource | GreenplumSource | HBaseSource | HiveSource | HubspotSource | ImpalaSource | JiraSource | MagentoSource | MariaDBSource | AzureMariaDBSource | MarketoSource | PaypalSource | PhoenixSource | PrestoSource | QuickBooksSource | ServiceNowSource | ShopifySource | SparkSource | SquareSource | XeroSource | ZohoSource | NetezzaSource | VerticaSource | SalesforceMarketingCloudSource | ResponsysSource | DynamicsAXSource | OracleServiceCloudSource | GoogleAdWordsSource | AmazonRedshiftSource | WarehouseSource | SalesforceV2Source; +export type TabularSourceUnion = TabularSource | AzureTableSource | InformixSource | Db2Source | OdbcSource | MySqlSource | PostgreSqlSource | PostgreSqlV2Source | SybaseSource | SapBwSource | SalesforceSource | SapCloudForCustomerSource | SapEccSource | SapHanaSource | SapOpenHubSource | SapOdpSource | SapTableSource | SqlSource | SqlServerSource | AmazonRdsForSqlServerSource | AzureSqlSource | SqlMISource | SqlDWSource | AzureMySqlSource | TeradataSource | CassandraSource | AmazonMWSSource | AzurePostgreSqlSource | ConcurSource | CouchbaseSource | DrillSource | EloquaSource | GoogleBigQuerySource | GoogleBigQueryV2Source | GreenplumSource | HBaseSource | HiveSource | HubspotSource | ImpalaSource | JiraSource | MagentoSource | MariaDBSource | AzureMariaDBSource | MarketoSource | PaypalSource | PhoenixSource | PrestoSource | QuickBooksSource | ServiceNowSource | ShopifySource | SparkSource | SquareSource | XeroSource | ZohoSource | NetezzaSource | VerticaSource | SalesforceMarketingCloudSource | ResponsysSource | DynamicsAXSource | OracleServiceCloudSource | GoogleAdWordsSource | AmazonRedshiftSource | WarehouseSource | SalesforceV2Source | ServiceNowV2Source; // @public export interface TabularTranslator extends CopyTranslator { @@ -8761,7 +8885,7 @@ export interface WebActivity extends ExecutionActivity { datasets?: DatasetReference[]; disableCertValidation?: boolean; headers?: { - [propertyName: string]: string; + [propertyName: string]: any; }; httpRequestTimeout?: any; linkedServices?: LinkedServiceReference[]; @@ -8812,7 +8936,7 @@ export interface WebHookActivity extends ControlActivity { authentication?: WebActivityAuthentication; body?: any; headers?: { - [propertyName: string]: string; + [propertyName: string]: any; }; method: WebHookActivityMethod; policy?: SecureInputOutputPolicy; diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index 00fa0f05ab85..56566703d1c5 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -98,7 +98,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { credential: credentials, }; - const packageDetails = `azsdk-js-arm-datafactory/14.0.0`; + const packageDetails = `azsdk-js-arm-datafactory/15.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 6b70fe600c73..bdc910fd88d3 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -53,6 +53,7 @@ export type LinkedServiceUnion = | AzureMySqlLinkedService | MySqlLinkedService | PostgreSqlLinkedService + | PostgreSqlV2LinkedService | SybaseLinkedService | Db2LinkedService | TeradataLinkedService @@ -104,6 +105,7 @@ export type LinkedServiceUnion = | DrillLinkedService | EloquaLinkedService | GoogleBigQueryLinkedService + | GoogleBigQueryV2LinkedService | GreenplumLinkedService | HBaseLinkedService | HiveLinkedService @@ -145,7 +147,8 @@ export type LinkedServiceUnion = | LakeHouseLinkedService | SalesforceV2LinkedService | SalesforceServiceCloudV2LinkedService - | WarehouseLinkedService; + | WarehouseLinkedService + | ServiceNowV2LinkedService; export type DatasetUnion = | Dataset | AmazonS3Dataset @@ -189,6 +192,7 @@ export type DatasetUnion = | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset + | PostgreSqlV2TableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset | SalesforceServiceCloudObjectDataset @@ -213,6 +217,7 @@ export type DatasetUnion = | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset + | GoogleBigQueryV2ObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset @@ -248,7 +253,8 @@ export type DatasetUnion = | LakeHouseTableDataset | SalesforceV2ObjectDataset | SalesforceServiceCloudV2ObjectDataset - | WarehouseTableDataset; + | WarehouseTableDataset + | ServiceNowV2ObjectDataset; export type ActivityUnion = | Activity | ControlActivityUnion @@ -512,6 +518,7 @@ export type TabularSourceUnion = | OdbcSource | MySqlSource | PostgreSqlSource + | PostgreSqlV2Source | SybaseSource | SapBwSource | SalesforceSource @@ -537,6 +544,7 @@ export type TabularSourceUnion = | DrillSource | EloquaSource | GoogleBigQuerySource + | GoogleBigQueryV2Source | GreenplumSource | HBaseSource | HiveSource @@ -566,7 +574,8 @@ export type TabularSourceUnion = | GoogleAdWordsSource | AmazonRedshiftSource | WarehouseSource - | SalesforceV2Source; + | SalesforceV2Source + | ServiceNowV2Source; export type TriggerDependencyReferenceUnion = | TriggerDependencyReference | TumblingWindowTriggerDependencyReference; @@ -1296,6 +1305,7 @@ export interface LinkedService { | "AzureMySql" | "MySql" | "PostgreSql" + | "PostgreSqlV2" | "Sybase" | "Db2" | "Teradata" @@ -1347,6 +1357,7 @@ export interface LinkedService { | "Drill" | "Eloqua" | "GoogleBigQuery" + | "GoogleBigQueryV2" | "Greenplum" | "HBase" | "Hive" @@ -1388,7 +1399,8 @@ export interface LinkedService { | "LakeHouse" | "SalesforceV2" | "SalesforceServiceCloudV2" - | "Warehouse"; + | "Warehouse" + | "ServiceNowV2"; /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; /** The integration runtime reference. */ @@ -1472,6 +1484,7 @@ export interface Dataset { | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" + | "PostgreSqlV2Table" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" @@ -1496,6 +1509,7 @@ export interface Dataset { | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" + | "GoogleBigQueryV2Object" | "GreenplumTable" | "HBaseObject" | "HiveObject" @@ -1531,7 +1545,8 @@ export interface Dataset { | "LakeHouseTable" | "SalesforceV2Object" | "SalesforceServiceCloudV2Object" - | "WarehouseTable"; + | "WarehouseTable" + | "ServiceNowV2Object"; /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; /** Dataset description. */ @@ -3217,6 +3232,7 @@ export interface CopySource { | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" + | "PostgreSqlV2Source" | "SybaseSource" | "SapBwSource" | "ODataSource" @@ -3259,6 +3275,7 @@ export interface CopySource { | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" + | "GoogleBigQueryV2Source" | "GreenplumSource" | "HBaseSource" | "HiveSource" @@ -3294,7 +3311,8 @@ export interface CopySource { | "WarehouseSource" | "SharePointOnlineListSource" | "SalesforceV2Source" - | "SalesforceServiceCloudV2Source"; + | "SalesforceServiceCloudV2Source" + | "ServiceNowV2Source"; /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; /** Source retry count. Type: integer (or Expression with resultType integer). */ @@ -3893,6 +3911,18 @@ export interface SynapseSparkJobReference { referenceName: any; } +/** Nested representation of a complex expression. */ +export interface ExpressionV2 { + /** Type of expressions supported by the system. Type: string. */ + type?: ExpressionV2Type; + /** Value for Constant/Field Type: string. */ + value?: string; + /** Expression operator value Type: string. */ + operator?: string; + /** List of nested expressions. */ + operands?: ExpressionV2[]; +} + /** The workflow trigger recurrence. */ export interface ScheduleTriggerRecurrence { /** Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -4826,6 +4856,50 @@ export interface PostgreSqlLinkedService extends LinkedService { encryptedCredential?: string; } +/** Linked service for PostgreSQLV2 data source. */ +export interface PostgreSqlV2LinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PostgreSqlV2"; + /** Server name for connection. Type: string. */ + server: any; + /** The port for the connection. Type: integer. */ + port?: any; + /** Username for authentication. Type: string. */ + username: any; + /** Database name for connection. Type: string. */ + database: any; + /** SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer. */ + sslMode: any; + /** Sets the schema search path. Type: string. */ + schema?: any; + /** Whether connection pooling should be used. Type: boolean. */ + pooling?: any; + /** The time to wait (in seconds) while trying to establish a connection before terminating the attempt and generating an error. Type: integer. */ + connectionTimeout?: any; + /** The time to wait (in seconds) while trying to execute a command before terminating the attempt and generating an error. Set to zero for infinity. Type: integer. */ + commandTimeout?: any; + /** Whether to trust the server certificate without validating it. Type: boolean. */ + trustServerCertificate?: any; + /** Location of a client certificate to be sent to the server. Type: string. */ + sslCertificate?: any; + /** Location of a client key for a client certificate to be sent to the server. Type: string. */ + sslKey?: any; + /** Password for a key for a client certificate. Type: string. */ + sslPassword?: any; + /** Determines the size of the internal buffer uses when reading. Increasing may improve performance if transferring large values from the database. Type: integer. */ + readBufferSize?: any; + /** When enabled, parameter values are logged when commands are executed. Type: boolean. */ + logParameters?: any; + /** Gets or sets the session timezone. Type: string. */ + timezone?: any; + /** Gets or sets the .NET encoding that will be used to encode/decode PostgreSQL string data. Type: string */ + encoding?: any; + /** The Azure key vault secret reference of password in connection string. Type: string. */ + password?: AzureKeyVaultSecretReference; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; +} + /** Linked service for Sybase data source. */ export interface SybaseLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -5782,6 +5856,26 @@ export interface GoogleBigQueryLinkedService extends LinkedService { encryptedCredential?: string; } +/** Google BigQuery service linked service. */ +export interface GoogleBigQueryV2LinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleBigQueryV2"; + /** The default BigQuery project id to query against. Type: string (or Expression with resultType string). */ + projectId: any; + /** The OAuth 2.0 authentication mechanism used for authentication. */ + authenticationType: GoogleBigQueryV2AuthenticationType; + /** The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string). */ + clientId?: any; + /** The client secret of the google application used to acquire the refresh token. */ + clientSecret?: SecretBaseUnion; + /** The refresh token obtained from Google for authorizing access to BigQuery for UserAuthentication. */ + refreshToken?: SecretBaseUnion; + /** The content of the .json key file that is used to authenticate the service account. Type: string (or Expression with resultType string). */ + keyFileContent?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; +} + /** Greenplum Database linked service. */ export interface GreenplumLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -6787,6 +6881,28 @@ export interface WarehouseLinkedService extends LinkedService { servicePrincipalCredential?: SecretBaseUnion; } +/** ServiceNowV2 server linked service. */ +export interface ServiceNowV2LinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceNowV2"; + /** The endpoint of the ServiceNowV2 server. (i.e. .service-now.com) */ + endpoint: any; + /** The authentication type to use. */ + authenticationType: ServiceNowV2AuthenticationType; + /** The user name used to connect to the ServiceNowV2 server for Basic and OAuth2 authentication. */ + username?: any; + /** The password corresponding to the user name for Basic and OAuth2 authentication. */ + password?: SecretBaseUnion; + /** The client id for OAuth2 authentication. */ + clientId?: any; + /** The client secret for OAuth2 authentication. */ + clientSecret?: SecretBaseUnion; + /** GrantType for OAuth2 authentication. Default value is password. */ + grantType?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ + encryptedCredential?: string; +} + /** A single Amazon Simple Storage Service (S3) object or a set of S3 objects. */ export interface AmazonS3Dataset extends Dataset { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -7252,6 +7368,16 @@ export interface PostgreSqlTableDataset extends Dataset { schemaTypePropertiesSchema?: any; } +/** The PostgreSQLV2 table dataset. */ +export interface PostgreSqlV2TableDataset extends Dataset { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PostgreSqlV2Table"; + /** The PostgreSQL table name. Type: string (or Expression with resultType string). */ + table?: any; + /** The PostgreSQL schema name. Type: string (or Expression with resultType string). */ + schemaTypePropertiesSchema?: any; +} + /** The Microsoft Access table dataset. */ export interface MicrosoftAccessTableDataset extends Dataset { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -7492,6 +7618,16 @@ export interface GoogleBigQueryObjectDataset extends Dataset { dataset?: any; } +/** Google BigQuery service dataset. */ +export interface GoogleBigQueryV2ObjectDataset extends Dataset { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleBigQueryV2Object"; + /** The table name of the Google BigQuery. Type: string (or Expression with resultType string). */ + table?: any; + /** The database name of the Google BigQuery. Type: string (or Expression with resultType string). */ + dataset?: any; +} + /** Greenplum Database dataset. */ export interface GreenplumTableDataset extends Dataset { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -7824,6 +7960,14 @@ export interface WarehouseTableDataset extends Dataset { table?: any; } +/** ServiceNowV2 server dataset. */ +export interface ServiceNowV2ObjectDataset extends Dataset { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceNowV2Object"; + /** The table name. Type: string (or Expression with resultType string). */ + tableName?: any; +} + /** Base class for all control activities like IfCondition, ForEach , Until. */ export interface ControlActivity extends Activity { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -8977,6 +9121,7 @@ export interface TabularSource extends CopySource { | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" + | "PostgreSqlV2Source" | "SybaseSource" | "SapBwSource" | "SalesforceSource" @@ -9002,6 +9147,7 @@ export interface TabularSource extends CopySource { | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" + | "GoogleBigQueryV2Source" | "GreenplumSource" | "HBaseSource" | "HiveSource" @@ -9031,7 +9177,8 @@ export interface TabularSource extends CopySource { | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "WarehouseSource" - | "SalesforceV2Source"; + | "SalesforceV2Source" + | "ServiceNowV2Source"; /** Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ queryTimeout?: any; /** Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects). */ @@ -10171,7 +10318,7 @@ export interface WebHookActivity extends ControlActivity { /** The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ timeout?: string; /** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */ - headers?: { [propertyName: string]: string }; + headers?: { [propertyName: string]: any }; /** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */ body?: any; /** Authentication method used for calling the endpoint. */ @@ -10447,7 +10594,7 @@ export interface WebActivity extends ExecutionActivity { /** Web activity target endpoint and path. Type: string (or Expression with resultType string). */ url: any; /** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */ - headers?: { [propertyName: string]: string }; + headers?: { [propertyName: string]: any }; /** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */ body?: any; /** Authentication method used for calling the endpoint. */ @@ -10591,7 +10738,7 @@ export interface AzureFunctionActivity extends ExecutionActivity { /** Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string) */ functionName: any; /** Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string). */ - headers?: { [propertyName: string]: string }; + headers?: { [propertyName: string]: any }; /** Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string). */ body?: any; } @@ -10806,6 +10953,14 @@ export interface PostgreSqlSource extends TabularSource { query?: any; } +/** A copy activity source for PostgreSQL databases. */ +export interface PostgreSqlV2Source extends TabularSource { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "PostgreSqlV2Source"; + /** Database query. Type: string (or Expression with resultType string). */ + query?: any; +} + /** A copy activity source for Sybase databases. */ export interface SybaseSource extends TabularSource { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -11120,6 +11275,14 @@ export interface GoogleBigQuerySource extends TabularSource { query?: any; } +/** A copy activity Google BigQuery service source. */ +export interface GoogleBigQueryV2Source extends TabularSource { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleBigQueryV2Source"; + /** A query to retrieve data from source. Type: string (or Expression with resultType string). */ + query?: any; +} + /** A copy activity Greenplum Database source. */ export interface GreenplumSource extends TabularSource { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -11380,6 +11543,14 @@ export interface SalesforceV2Source extends TabularSource { includeDeletedObjects?: any; } +/** A copy activity ServiceNowV2 server source. */ +export interface ServiceNowV2Source extends TabularSource { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ServiceNowV2Source"; + /** Expression to filter data from source. */ + expression?: ExpressionV2; +} + /** Referenced tumbling window trigger dependency. */ export interface TumblingWindowTriggerDependencyReference extends TriggerDependencyReference { @@ -12609,6 +12780,24 @@ export enum KnownGoogleBigQueryAuthenticationType { */ export type GoogleBigQueryAuthenticationType = string; +/** Known values of {@link GoogleBigQueryV2AuthenticationType} that the service accepts. */ +export enum KnownGoogleBigQueryV2AuthenticationType { + /** ServiceAuthentication */ + ServiceAuthentication = "ServiceAuthentication", + /** UserAuthentication */ + UserAuthentication = "UserAuthentication", +} + +/** + * Defines values for GoogleBigQueryV2AuthenticationType. \ + * {@link KnownGoogleBigQueryV2AuthenticationType} can be used interchangeably with GoogleBigQueryV2AuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ServiceAuthentication** \ + * **UserAuthentication** + */ +export type GoogleBigQueryV2AuthenticationType = string; + /** Known values of {@link HBaseAuthenticationType} that the service accepts. */ export enum KnownHBaseAuthenticationType { /** Anonymous */ @@ -12876,6 +13065,24 @@ export enum KnownSnowflakeAuthenticationType { */ export type SnowflakeAuthenticationType = string; +/** Known values of {@link ServiceNowV2AuthenticationType} that the service accepts. */ +export enum KnownServiceNowV2AuthenticationType { + /** Basic */ + Basic = "Basic", + /** OAuth2 */ + OAuth2 = "OAuth2", +} + +/** + * Defines values for ServiceNowV2AuthenticationType. \ + * {@link KnownServiceNowV2AuthenticationType} can be used interchangeably with ServiceNowV2AuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** \ + * **OAuth2** + */ +export type ServiceNowV2AuthenticationType = string; + /** Known values of {@link CassandraSourceReadConsistencyLevels} that the service accepts. */ export enum KnownCassandraSourceReadConsistencyLevels { /** ALL */ @@ -13398,6 +13605,30 @@ export enum KnownSalesforceV2SinkWriteBehavior { */ export type SalesforceV2SinkWriteBehavior = string; +/** Known values of {@link ExpressionV2Type} that the service accepts. */ +export enum KnownExpressionV2Type { + /** Constant */ + Constant = "Constant", + /** Field */ + Field = "Field", + /** Unary */ + Unary = "Unary", + /** Binary */ + Binary = "Binary", +} + +/** + * Defines values for ExpressionV2Type. \ + * {@link KnownExpressionV2Type} can be used interchangeably with ExpressionV2Type, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Constant** \ + * **Field** \ + * **Unary** \ + * **Binary** + */ +export type ExpressionV2Type = string; + /** Known values of {@link RecurrenceFrequency} that the service accepts. */ export enum KnownRecurrenceFrequency { /** NotSpecified */ diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index ca0b419d5e4c..7225acc6450d 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -7542,6 +7542,45 @@ export const SynapseSparkJobReference: coreClient.CompositeMapper = { }, }; +export const ExpressionV2: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ExpressionV2", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String", + }, + }, + value: { + serializedName: "value", + type: { + name: "String", + }, + }, + operator: { + serializedName: "operator", + type: { + name: "String", + }, + }, + operands: { + serializedName: "operands", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressionV2", + }, + }, + }, + }, + }, + }, +}; + export const ScheduleTriggerRecurrence: coreClient.CompositeMapper = { type: { name: "Composite", @@ -10180,6 +10219,139 @@ export const PostgreSqlLinkedService: coreClient.CompositeMapper = { }, }; +export const PostgreSqlV2LinkedService: coreClient.CompositeMapper = { + serializedName: "PostgreSqlV2", + type: { + name: "Composite", + className: "PostgreSqlV2LinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + server: { + serializedName: "typeProperties.server", + required: true, + type: { + name: "any", + }, + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "any", + }, + }, + username: { + serializedName: "typeProperties.username", + required: true, + type: { + name: "any", + }, + }, + database: { + serializedName: "typeProperties.database", + required: true, + type: { + name: "any", + }, + }, + sslMode: { + serializedName: "typeProperties.sslMode", + required: true, + type: { + name: "any", + }, + }, + schema: { + serializedName: "typeProperties.schema", + type: { + name: "any", + }, + }, + pooling: { + serializedName: "typeProperties.pooling", + type: { + name: "any", + }, + }, + connectionTimeout: { + serializedName: "typeProperties.connectionTimeout", + type: { + name: "any", + }, + }, + commandTimeout: { + serializedName: "typeProperties.commandTimeout", + type: { + name: "any", + }, + }, + trustServerCertificate: { + serializedName: "typeProperties.trustServerCertificate", + type: { + name: "any", + }, + }, + sslCertificate: { + serializedName: "typeProperties.sslCertificate", + type: { + name: "any", + }, + }, + sslKey: { + serializedName: "typeProperties.sslKey", + type: { + name: "any", + }, + }, + sslPassword: { + serializedName: "typeProperties.sslPassword", + type: { + name: "any", + }, + }, + readBufferSize: { + serializedName: "typeProperties.readBufferSize", + type: { + name: "any", + }, + }, + logParameters: { + serializedName: "typeProperties.logParameters", + type: { + name: "any", + }, + }, + timezone: { + serializedName: "typeProperties.timezone", + type: { + name: "any", + }, + }, + encoding: { + serializedName: "typeProperties.encoding", + type: { + name: "any", + }, + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference", + }, + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "String", + }, + }, + }, + }, +}; + export const SybaseLinkedService: coreClient.CompositeMapper = { serializedName: "Sybase", type: { @@ -12970,6 +13142,67 @@ export const GoogleBigQueryLinkedService: coreClient.CompositeMapper = { }, }; +export const GoogleBigQueryV2LinkedService: coreClient.CompositeMapper = { + serializedName: "GoogleBigQueryV2", + type: { + name: "Composite", + className: "GoogleBigQueryV2LinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + projectId: { + serializedName: "typeProperties.projectId", + required: true, + type: { + name: "any", + }, + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, + type: { + name: "String", + }, + }, + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "any", + }, + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + refreshToken: { + serializedName: "typeProperties.refreshToken", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + keyFileContent: { + serializedName: "typeProperties.keyFileContent", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "String", + }, + }, + }, + }, +}; + export const GreenplumLinkedService: coreClient.CompositeMapper = { serializedName: "Greenplum", type: { @@ -15948,6 +16181,72 @@ export const WarehouseLinkedService: coreClient.CompositeMapper = { }, }; +export const ServiceNowV2LinkedService: coreClient.CompositeMapper = { + serializedName: "ServiceNowV2", + type: { + name: "Composite", + className: "ServiceNowV2LinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + serializedName: "typeProperties.endpoint", + required: true, + type: { + name: "any", + }, + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, + type: { + name: "String", + }, + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "any", + }, + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "any", + }, + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + grantType: { + serializedName: "typeProperties.grantType", + type: { + name: "any", + }, + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "String", + }, + }, + }, + }, +}; + export const AmazonS3Dataset: coreClient.CompositeMapper = { serializedName: "AmazonS3Object", type: { @@ -17218,6 +17517,32 @@ export const PostgreSqlTableDataset: coreClient.CompositeMapper = { }, }; +export const PostgreSqlV2TableDataset: coreClient.CompositeMapper = { + serializedName: "PostgreSqlV2Table", + type: { + name: "Composite", + className: "PostgreSqlV2TableDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + table: { + serializedName: "typeProperties.table", + type: { + name: "any", + }, + }, + schemaTypePropertiesSchema: { + serializedName: "typeProperties.schema", + type: { + name: "any", + }, + }, + }, + }, +}; + export const MicrosoftAccessTableDataset: coreClient.CompositeMapper = { serializedName: "MicrosoftAccessTable", type: { @@ -17842,6 +18167,32 @@ export const GoogleBigQueryObjectDataset: coreClient.CompositeMapper = { }, }; +export const GoogleBigQueryV2ObjectDataset: coreClient.CompositeMapper = { + serializedName: "GoogleBigQueryV2Object", + type: { + name: "Composite", + className: "GoogleBigQueryV2ObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + table: { + serializedName: "typeProperties.table", + type: { + name: "any", + }, + }, + dataset: { + serializedName: "typeProperties.dataset", + type: { + name: "any", + }, + }, + }, + }, +}; + export const GreenplumTableDataset: coreClient.CompositeMapper = { serializedName: "GreenplumTable", type: { @@ -18697,6 +19048,26 @@ export const WarehouseTableDataset: coreClient.CompositeMapper = { }, }; +export const ServiceNowV2ObjectDataset: coreClient.CompositeMapper = { + serializedName: "ServiceNowV2Object", + type: { + name: "Composite", + className: "ServiceNowV2ObjectDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", + type: { + name: "any", + }, + }, + }, + }, +}; + export const ControlActivity: coreClient.CompositeMapper = { serializedName: "Container", type: { @@ -24966,7 +25337,7 @@ export const WebHookActivity: coreClient.CompositeMapper = { serializedName: "typeProperties.headers", type: { name: "Dictionary", - value: { type: { name: "String" } }, + value: { type: { name: "any" } }, }, }, body: { @@ -25891,7 +26262,7 @@ export const WebActivity: coreClient.CompositeMapper = { serializedName: "typeProperties.headers", type: { name: "Dictionary", - value: { type: { name: "String" } }, + value: { type: { name: "any" } }, }, }, body: { @@ -26357,7 +26728,7 @@ export const AzureFunctionActivity: coreClient.CompositeMapper = { serializedName: "typeProperties.headers", type: { name: "Dictionary", - value: { type: { name: "String" } }, + value: { type: { name: "any" } }, }, }, body: { @@ -27004,6 +27375,26 @@ export const PostgreSqlSource: coreClient.CompositeMapper = { }, }; +export const PostgreSqlV2Source: coreClient.CompositeMapper = { + serializedName: "PostgreSqlV2Source", + type: { + name: "Composite", + className: "PostgreSqlV2Source", + uberParent: "TabularSource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: TabularSource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "any", + }, + }, + }, + }, +}; + export const SybaseSource: coreClient.CompositeMapper = { serializedName: "SybaseSource", type: { @@ -27855,6 +28246,26 @@ export const GoogleBigQuerySource: coreClient.CompositeMapper = { }, }; +export const GoogleBigQueryV2Source: coreClient.CompositeMapper = { + serializedName: "GoogleBigQueryV2Source", + type: { + name: "Composite", + className: "GoogleBigQueryV2Source", + uberParent: "TabularSource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: TabularSource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + query: { + serializedName: "query", + type: { + name: "any", + }, + }, + }, + }, +}; + export const GreenplumSource: coreClient.CompositeMapper = { serializedName: "GreenplumSource", type: { @@ -28518,6 +28929,27 @@ export const SalesforceV2Source: coreClient.CompositeMapper = { }, }; +export const ServiceNowV2Source: coreClient.CompositeMapper = { + serializedName: "ServiceNowV2Source", + type: { + name: "Composite", + className: "ServiceNowV2Source", + uberParent: "TabularSource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: TabularSource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + expression: { + serializedName: "expression", + type: { + name: "Composite", + className: "ExpressionV2", + }, + }, + }, + }, +}; + export const TumblingWindowTriggerDependencyReference: coreClient.CompositeMapper = { serializedName: "TumblingWindowTriggerDependencyReference", @@ -28655,6 +29087,7 @@ export let discriminators = { "LinkedService.AzureMySql": AzureMySqlLinkedService, "LinkedService.MySql": MySqlLinkedService, "LinkedService.PostgreSql": PostgreSqlLinkedService, + "LinkedService.PostgreSqlV2": PostgreSqlV2LinkedService, "LinkedService.Sybase": SybaseLinkedService, "LinkedService.Db2": Db2LinkedService, "LinkedService.Teradata": TeradataLinkedService, @@ -28706,6 +29139,7 @@ export let discriminators = { "LinkedService.Drill": DrillLinkedService, "LinkedService.Eloqua": EloquaLinkedService, "LinkedService.GoogleBigQuery": GoogleBigQueryLinkedService, + "LinkedService.GoogleBigQueryV2": GoogleBigQueryV2LinkedService, "LinkedService.Greenplum": GreenplumLinkedService, "LinkedService.HBase": HBaseLinkedService, "LinkedService.Hive": HiveLinkedService, @@ -28751,6 +29185,7 @@ export let discriminators = { "LinkedService.SalesforceServiceCloudV2": SalesforceServiceCloudV2LinkedService, "LinkedService.Warehouse": WarehouseLinkedService, + "LinkedService.ServiceNowV2": ServiceNowV2LinkedService, "Dataset.AmazonS3Object": AmazonS3Dataset, "Dataset.Avro": AvroDataset, "Dataset.Excel": ExcelDataset, @@ -28793,6 +29228,7 @@ export let discriminators = { "Dataset.OdbcTable": OdbcTableDataset, "Dataset.MySqlTable": MySqlTableDataset, "Dataset.PostgreSqlTable": PostgreSqlTableDataset, + "Dataset.PostgreSqlV2Table": PostgreSqlV2TableDataset, "Dataset.MicrosoftAccessTable": MicrosoftAccessTableDataset, "Dataset.SalesforceObject": SalesforceObjectDataset, "Dataset.SalesforceServiceCloudObject": SalesforceServiceCloudObjectDataset, @@ -28817,6 +29253,7 @@ export let discriminators = { "Dataset.DrillTable": DrillTableDataset, "Dataset.EloquaObject": EloquaObjectDataset, "Dataset.GoogleBigQueryObject": GoogleBigQueryObjectDataset, + "Dataset.GoogleBigQueryV2Object": GoogleBigQueryV2ObjectDataset, "Dataset.GreenplumTable": GreenplumTableDataset, "Dataset.HBaseObject": HBaseObjectDataset, "Dataset.HiveObject": HiveObjectDataset, @@ -28855,6 +29292,7 @@ export let discriminators = { "Dataset.SalesforceServiceCloudV2Object": SalesforceServiceCloudV2ObjectDataset, "Dataset.WarehouseTable": WarehouseTableDataset, + "Dataset.ServiceNowV2Object": ServiceNowV2ObjectDataset, "Activity.Container": ControlActivity, "Activity.Execution": ExecutionActivity, "Activity.ExecuteWranglingDataflow": ExecuteWranglingDataflowActivity, @@ -29086,6 +29524,7 @@ export let discriminators = { "TabularSource.OdbcSource": OdbcSource, "TabularSource.MySqlSource": MySqlSource, "TabularSource.PostgreSqlSource": PostgreSqlSource, + "TabularSource.PostgreSqlV2Source": PostgreSqlV2Source, "TabularSource.SybaseSource": SybaseSource, "TabularSource.SapBwSource": SapBwSource, "TabularSource.SalesforceSource": SalesforceSource, @@ -29111,6 +29550,7 @@ export let discriminators = { "TabularSource.DrillSource": DrillSource, "TabularSource.EloquaSource": EloquaSource, "TabularSource.GoogleBigQuerySource": GoogleBigQuerySource, + "TabularSource.GoogleBigQueryV2Source": GoogleBigQueryV2Source, "TabularSource.GreenplumSource": GreenplumSource, "TabularSource.HBaseSource": HBaseSource, "TabularSource.HiveSource": HiveSource, @@ -29142,6 +29582,7 @@ export let discriminators = { "TabularSource.AmazonRedshiftSource": AmazonRedshiftSource, "TabularSource.WarehouseSource": WarehouseSource, "TabularSource.SalesforceV2Source": SalesforceV2Source, + "TabularSource.ServiceNowV2Source": ServiceNowV2Source, "TriggerDependencyReference.TumblingWindowTriggerDependencyReference": TumblingWindowTriggerDependencyReference, }; diff --git a/sdk/datafactory/arm-datafactory/test/sampleTest.ts b/sdk/datafactory/arm-datafactory/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/datafactory/arm-datafactory/tsconfig.json b/sdk/datafactory/arm-datafactory/tsconfig.json index 6f440f5c25a9..3e6ae96443f3 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-datafactory": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"