From 87c038a40696ad414c77e0e4ef4176d6f39ed6b0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 21 Apr 2025 16:14:58 +0000 Subject: [PATCH] CodeGen from PR 34083 in Azure/azure-rest-api-specs Merge 9520dd00868425e9728010ceb0e13f9cd0bb2537 into d507e8437a3259e88e6f1222f401340a98a11293 --- common/config/rush/pnpm-lock.yaml | 2 +- sdk/datafactory/arm-datafactory/CHANGELOG.md | 81 ++ sdk/datafactory/arm-datafactory/LICENSE | 2 +- sdk/datafactory/arm-datafactory/README.md | 7 +- sdk/datafactory/arm-datafactory/_meta.json | 10 +- .../arm-datafactory/api-extractor.json | 6 +- sdk/datafactory/arm-datafactory/package.json | 32 +- .../review/arm-datafactory.api.md | 141 +++- .../src/dataFactoryManagementClient.ts | 2 +- .../arm-datafactory/src/lroImpl.ts | 4 + .../arm-datafactory/src/models/index.ts | 421 +++++++--- .../arm-datafactory/src/models/mappers.ts | 741 +++++++++++++----- .../arm-datafactory/src/models/parameters.ts | 22 +- .../src/operations/factories.ts | 118 --- .../src/operationsInterfaces/factories.ts | 8 - .../arm-datafactory/test/sampleTest.ts | 40 + .../arm-datafactory/test/snippets.spec.ts | 19 +- .../tsconfig.browser.config.json | 5 +- sdk/datafactory/arm-datafactory/tsconfig.json | 5 +- .../arm-datafactory/tsconfig.samples.json | 4 +- .../arm-datafactory/tsconfig.test.json | 5 +- 21 files changed, 1175 insertions(+), 500 deletions(-) create mode 100644 sdk/datafactory/arm-datafactory/test/sampleTest.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 789680bf18b1..543cca0d1c63 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -2646,7 +2646,7 @@ packages: version: 0.0.0 '@rush-temp/arm-datafactory@file:projects/arm-datafactory.tgz': - resolution: {integrity: sha512-HgJz2N5jNNuxb/8qZqKooHInHrwELAro6z3Q/Fp/nxbwMlV/Q/xfBqPcrSOtvfMwHjfFWen+zcWNdXQV/Q+XHA==, tarball: file:projects/arm-datafactory.tgz} + resolution: {integrity: sha512-2N2/WIpEsWgRfHp/jbZy9JmRvom/KgxyUIbRxhgft02r5HLtLHYpM4KY962qdwIQdYTL+0XujzJ01NDNE1X6IA==, tarball: file:projects/arm-datafactory.tgz} version: 0.0.0 '@rush-temp/arm-datalake-analytics@file:projects/arm-datalake-analytics.tgz': diff --git a/sdk/datafactory/arm-datafactory/CHANGELOG.md b/sdk/datafactory/arm-datafactory/CHANGELOG.md index d29e4c31cf28..a3c1ab42f55c 100644 --- a/sdk/datafactory/arm-datafactory/CHANGELOG.md +++ b/sdk/datafactory/arm-datafactory/CHANGELOG.md @@ -1,5 +1,86 @@ # Release History +## 19.0.0 (2025-04-21) + +### Features Added + + - Added Interface AzurePostgreSqlSinkUpsertSettings + - Added Interface TeradataImportCommand + - Added Interface TeradataSink + - Added Type Alias AzurePostgreSqlWriteMethodEnum + - Added Type Alias GreenplumAuthenticationType + - Added Type Alias OracleAuthenticationType + - Added Type Alias ValueType + - Interface AzurePostgreSqlLinkedService has a new optional parameter azureCloudType + - Interface AzurePostgreSqlLinkedService has a new optional parameter credential + - Interface AzurePostgreSqlLinkedService has a new optional parameter servicePrincipalCredentialType + - Interface AzurePostgreSqlLinkedService has a new optional parameter servicePrincipalEmbeddedCert + - Interface AzurePostgreSqlLinkedService has a new optional parameter servicePrincipalEmbeddedCertPassword + - Interface AzurePostgreSqlLinkedService has a new optional parameter servicePrincipalId + - Interface AzurePostgreSqlLinkedService has a new optional parameter servicePrincipalKey + - Interface AzurePostgreSqlLinkedService has a new optional parameter tenant + - Interface AzurePostgreSqlSink has a new optional parameter upsertSettings + - Interface AzurePostgreSqlSink has a new optional parameter writeMethod + - Interface CommonDataServiceForAppsSink has a new optional parameter bypassBusinessLogicExecution + - Interface CommonDataServiceForAppsSink has a new optional parameter bypassPowerAutomateFlows + - Interface DynamicsCrmSink has a new optional parameter bypassBusinessLogicExecution + - Interface DynamicsCrmSink has a new optional parameter bypassPowerAutomateFlows + - Interface DynamicsSink has a new optional parameter bypassBusinessLogicExecution + - Interface DynamicsSink has a new optional parameter bypassPowerAutomateFlows + - Interface GreenplumLinkedService has a new optional parameter authenticationType + - Interface GreenplumLinkedService has a new optional parameter commandTimeout + - Interface GreenplumLinkedService has a new optional parameter connectionTimeout + - Interface GreenplumLinkedService has a new optional parameter database + - Interface GreenplumLinkedService has a new optional parameter host + - Interface GreenplumLinkedService has a new optional parameter port + - Interface GreenplumLinkedService has a new optional parameter sslMode + - Interface GreenplumLinkedService has a new optional parameter username + - Interface Office365LinkedService has a new optional parameter servicePrincipalCredentialType + - Interface Office365LinkedService has a new optional parameter servicePrincipalEmbeddedCert + - Interface Office365LinkedService has a new optional parameter servicePrincipalEmbeddedCertPassword + - Interface OracleLinkedService has a new optional parameter authenticationType + - Interface OracleLinkedService has a new optional parameter cryptoChecksumClient + - Interface OracleLinkedService has a new optional parameter cryptoChecksumTypesClient + - Interface OracleLinkedService has a new optional parameter enableBulkLoad + - Interface OracleLinkedService has a new optional parameter encryptionClient + - Interface OracleLinkedService has a new optional parameter encryptionTypesClient + - Interface OracleLinkedService has a new optional parameter fetchSize + - Interface OracleLinkedService has a new optional parameter fetchTswtzAsTimestamp + - Interface OracleLinkedService has a new optional parameter initializationString + - Interface OracleLinkedService has a new optional parameter initialLobFetchSize + - Interface OracleLinkedService has a new optional parameter server + - Interface OracleLinkedService has a new optional parameter statementCacheSize + - Interface OracleLinkedService has a new optional parameter supportV1DataTypes + - Interface OracleLinkedService has a new optional parameter username + - Interface PrestoLinkedService has a new optional parameter enableServerCertificateValidation + - Interface ScriptActivity has a new optional parameter returnMultistatementResult + - Interface ServiceNowV2ObjectDataset has a new optional parameter valueType + - Interface SnowflakeV2LinkedService has a new optional parameter role + - Interface SnowflakeV2LinkedService has a new optional parameter schema + - Interface TeradataLinkedService has a new optional parameter characterSet + - Interface TeradataLinkedService has a new optional parameter httpsPortNumber + - Interface TeradataLinkedService has a new optional parameter maxRespSize + - Interface TeradataLinkedService has a new optional parameter portNumber + - Interface TeradataLinkedService has a new optional parameter sslMode + - Interface TeradataLinkedService has a new optional parameter useDataEncryption + - Interface TypeConversionSettings has a new optional parameter dateFormat + - Interface TypeConversionSettings has a new optional parameter timeFormat + - Type of parameter type of interface CopySink is changed from "DelimitedTextSink" | "JsonSink" | "OrcSink" | "RestSink" | "AzurePostgreSqlSink" | "AzureMySqlSink" | "AzureDatabricksDeltaLakeSink" | "WarehouseSink" | "SapCloudForCustomerSink" | "AzureQueueSink" | "AzureTableSink" | "AvroSink" | "ParquetSink" | "BinarySink" | "IcebergSink" | "BlobSink" | "FileSystemSink" | "DocumentDbCollectionSink" | "CosmosDbSqlApiSink" | "SqlSink" | "SqlServerSink" | "AzureSqlSink" | "SqlMISink" | "SqlDWSink" | "SnowflakeSink" | "SnowflakeV2Sink" | "OracleSink" | "AzureDataLakeStoreSink" | "AzureBlobFSSink" | "AzureSearchIndexSink" | "OdbcSink" | "InformixSink" | "MicrosoftAccessSink" | "DynamicsSink" | "DynamicsCrmSink" | "CommonDataServiceForAppsSink" | "AzureDataExplorerSink" | "SalesforceSink" | "SalesforceServiceCloudSink" | "MongoDbAtlasSink" | "MongoDbV2Sink" | "CosmosDbMongoDbApiSink" | "LakeHouseTableSink" | "SalesforceV2Sink" | "SalesforceServiceCloudV2Sink" to "DelimitedTextSink" | "JsonSink" | "OrcSink" | "RestSink" | "TeradataSink" | "AzurePostgreSqlSink" | "AzureMySqlSink" | "AzureDatabricksDeltaLakeSink" | "WarehouseSink" | "SapCloudForCustomerSink" | "AzureQueueSink" | "AzureTableSink" | "AvroSink" | "ParquetSink" | "BinarySink" | "IcebergSink" | "BlobSink" | "FileSystemSink" | "DocumentDbCollectionSink" | "CosmosDbSqlApiSink" | "SqlSink" | "SqlServerSink" | "AzureSqlSink" | "SqlMISink" | "SqlDWSink" | "SnowflakeSink" | "SnowflakeV2Sink" | "OracleSink" | "AzureDataLakeStoreSink" | "AzureBlobFSSink" | "AzureSearchIndexSink" | "OdbcSink" | "InformixSink" | "MicrosoftAccessSink" | "DynamicsSink" | "DynamicsCrmSink" | "CommonDataServiceForAppsSink" | "AzureDataExplorerSink" | "SalesforceSink" | "SalesforceServiceCloudSink" | "MongoDbAtlasSink" | "MongoDbV2Sink" | "CosmosDbMongoDbApiSink" | "LakeHouseTableSink" | "SalesforceV2Sink" | "SalesforceServiceCloudV2Sink" + - Type of parameter type of interface ImportSettings is changed from "AzureDatabricksDeltaLakeImportCommand" | "SnowflakeImportCopyCommand" to "TeradataImportCommand" | "AzureDatabricksDeltaLakeImportCommand" | "SnowflakeImportCopyCommand" + - Added Enum KnownAzurePostgreSqlWriteMethodEnum + - Added Enum KnownGreenplumAuthenticationType + - Added Enum KnownOracleAuthenticationType + - Added Enum KnownValueType + +### Breaking Changes + + - Removed operation Factories.list + - Type of parameter type of interface Dataset is changed from "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "Iceberg" | "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" to "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "Iceberg" | "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 LakeHouseLinkedService is changed from "LakeHouse" to "Lakehouse" + - Type of parameter type of interface LakeHouseTableDataset is changed from "LakeHouseTable" to "LakehouseTable" + - 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" | "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" 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" + + ## 18.0.0 (2024-12-10) ### Features Added diff --git a/sdk/datafactory/arm-datafactory/LICENSE b/sdk/datafactory/arm-datafactory/LICENSE index b2f52a2bad4e..63447fd8bbbf 100644 --- a/sdk/datafactory/arm-datafactory/LICENSE +++ b/sdk/datafactory/arm-datafactory/LICENSE @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/README.md b/sdk/datafactory/arm-datafactory/README.md index 2055753cdcf5..da5f3c53f04d 100644 --- a/sdk/datafactory/arm-datafactory/README.md +++ b/sdk/datafactory/arm-datafactory/README.md @@ -63,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur import { InteractiveBrowserCredential } from "@azure/identity"; import { DataFactoryManagementClient } from "@azure/arm-datafactory"; -const subscriptionId = "00000000-0000-0000-0000-000000000000"; const credential = new InteractiveBrowserCredential({ tenantId: "", - clientId: "", -}); + clientId: "" + }); const client = new DataFactoryManagementClient(credential, subscriptionId); ``` ### JavaScript Bundle - To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling). ## Key concepts @@ -108,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js) - [azure_cli]: https://learn.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ [azure_sub]: https://azure.microsoft.com/free/ diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json index ca4bc7e73176..8e752fcb5e6e 100644 --- a/sdk/datafactory/arm-datafactory/_meta.json +++ b/sdk/datafactory/arm-datafactory/_meta.json @@ -1,8 +1,8 @@ { - "commit": "552b4dd311f90f4a7b2f7adf45461d7a8774a1cc", + "commit": "7217b89ff60c6d69882fea6c0c3f406550559e68", "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.29 --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.16", - "use": "@autorest/typescript@6.0.29" -} + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.26", + "use": "@autorest/typescript@^6.0.12" +} \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/api-extractor.json b/sdk/datafactory/arm-datafactory/api-extractor.json index 0e76d1c7e65d..76cff1157f82 100644 --- a/sdk/datafactory/arm-datafactory/api-extractor.json +++ b/sdk/datafactory/arm-datafactory/api-extractor.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "dist/esm/index.d.ts", + "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", "docModel": { "enabled": true }, @@ -11,7 +11,7 @@ "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "dist/arm-datafactory.d.ts" + "publicTrimmedFilePath": "./types/arm-datafactory.d.ts" }, "messages": { "tsdocMessageReporting": { @@ -28,4 +28,4 @@ } } } -} +} \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index a1008d899e36..c2c1d20102a1 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -3,17 +3,17 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for DataFactoryManagementClient.", - "version": "18.0.0", + "version": "19.0.0", "engines": { "node": ">=18.0.0" }, "dependencies": { "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", - "@azure/core-client": "^1.9.2", + "@azure/core-client": "^1.9.3", "@azure/core-lro": "^2.5.4", "@azure/core-paging": "^1.6.2", - "@azure/core-rest-pipeline": "^1.18.2", + "@azure/core-rest-pipeline": "^1.19.1", "tslib": "^2.8.1" }, "keywords": [ @@ -21,29 +21,31 @@ "azure", "typescript", "browser", - "isomorphic", - "cloud" + "isomorphic" ], "license": "MIT", "main": "./dist/commonjs/index.js", - "module": "./dist/esm/index.js", + "module": "./dist-esm/src/index.js", "types": "./dist/commonjs/index.d.ts", "devDependencies": { "@azure-tools/test-credential": "^2.0.0", "@azure-tools/test-recorder": "^4.1.0", "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", - "@azure/identity": "^4.6.0", + "@azure/identity": "^4.9.0", "@azure/logger": "^1.1.4", "@types/node": "^18.0.0", "@vitest/browser": "^3.0.9", "@vitest/coverage-istanbul": "^3.0.9", "dotenv": "^16.0.0", - "playwright": "^1.50.0", + "playwright": "^1.52.0", "typescript": "~5.8.2", "vitest": "^3.0.9" }, - "repository": "github:Azure/azure-sdk-for-js", + "repository": { + "type": "git", + "url": "https://github.com/Azure/azure-sdk-for-js.git" + }, "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, @@ -69,7 +71,7 @@ "integration-test:browser": "echo skipped", "integration-test:node": "dev-tool run test:vitest --esm", "lint": "echo skipped", - "minify": "echo skipped", + "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", "pack": "npm pack 2>&1", "prepack": "npm run build", "test": "npm run integration-test", @@ -91,14 +93,6 @@ }, "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://learn.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview" - }, "type": "module", "tshy": { "project": "./tsconfig.src.json", @@ -139,4 +133,4 @@ } } } -} +} \ 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 d244c8303974..2bd762beddb4 100644 --- a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md +++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md @@ -933,8 +933,10 @@ export interface AzureMySqlTableDataset extends Dataset { // @public export interface AzurePostgreSqlLinkedService extends LinkedService { + azureCloudType?: any; commandTimeout?: any; connectionString?: any; + credential?: CredentialReference; database?: any; encoding?: any; encryptedCredential?: string; @@ -942,7 +944,13 @@ export interface AzurePostgreSqlLinkedService extends LinkedService { port?: any; readBufferSize?: any; server?: any; + servicePrincipalCredentialType?: any; + servicePrincipalEmbeddedCert?: SecretBaseUnion; + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; + servicePrincipalId?: any; + servicePrincipalKey?: SecretBaseUnion; sslMode?: any; + tenant?: any; timeout?: any; timezone?: any; trustServerCertificate?: any; @@ -954,6 +962,13 @@ export interface AzurePostgreSqlLinkedService extends LinkedService { export interface AzurePostgreSqlSink extends CopySink { preCopyScript?: any; type: "AzurePostgreSqlSink"; + upsertSettings?: AzurePostgreSqlSinkUpsertSettings; + writeMethod?: AzurePostgreSqlWriteMethodEnum; +} + +// @public +export interface AzurePostgreSqlSinkUpsertSettings { + keys?: any; } // @public @@ -970,6 +985,9 @@ export interface AzurePostgreSqlTableDataset extends Dataset { type: "AzurePostgreSqlTable"; } +// @public +export type AzurePostgreSqlWriteMethodEnum = string; + // @public export interface AzureQueueSink extends CopySink { type: "AzureQueueSink"; @@ -1530,6 +1548,8 @@ export interface CommonDataServiceForAppsLinkedService extends LinkedService { // @public export interface CommonDataServiceForAppsSink extends CopySink { alternateKeyName?: any; + bypassBusinessLogicExecution?: any; + bypassPowerAutomateFlows?: any; ignoreNullValues?: any; type: "CommonDataServiceForAppsSink"; writeBehavior: DynamicsSinkWriteBehavior; @@ -1659,13 +1679,13 @@ export interface CopySink { maxConcurrentConnections?: any; sinkRetryCount?: any; sinkRetryWait?: any; - type: "DelimitedTextSink" | "JsonSink" | "OrcSink" | "RestSink" | "AzurePostgreSqlSink" | "AzureMySqlSink" | "AzureDatabricksDeltaLakeSink" | "WarehouseSink" | "SapCloudForCustomerSink" | "AzureQueueSink" | "AzureTableSink" | "AvroSink" | "ParquetSink" | "BinarySink" | "IcebergSink" | "BlobSink" | "FileSystemSink" | "DocumentDbCollectionSink" | "CosmosDbSqlApiSink" | "SqlSink" | "SqlServerSink" | "AzureSqlSink" | "SqlMISink" | "SqlDWSink" | "SnowflakeSink" | "SnowflakeV2Sink" | "OracleSink" | "AzureDataLakeStoreSink" | "AzureBlobFSSink" | "AzureSearchIndexSink" | "OdbcSink" | "InformixSink" | "MicrosoftAccessSink" | "DynamicsSink" | "DynamicsCrmSink" | "CommonDataServiceForAppsSink" | "AzureDataExplorerSink" | "SalesforceSink" | "SalesforceServiceCloudSink" | "MongoDbAtlasSink" | "MongoDbV2Sink" | "CosmosDbMongoDbApiSink" | "LakeHouseTableSink" | "SalesforceV2Sink" | "SalesforceServiceCloudV2Sink"; + type: "DelimitedTextSink" | "JsonSink" | "OrcSink" | "RestSink" | "TeradataSink" | "AzurePostgreSqlSink" | "AzureMySqlSink" | "AzureDatabricksDeltaLakeSink" | "WarehouseSink" | "SapCloudForCustomerSink" | "AzureQueueSink" | "AzureTableSink" | "AvroSink" | "ParquetSink" | "BinarySink" | "IcebergSink" | "BlobSink" | "FileSystemSink" | "DocumentDbCollectionSink" | "CosmosDbSqlApiSink" | "SqlSink" | "SqlServerSink" | "AzureSqlSink" | "SqlMISink" | "SqlDWSink" | "SnowflakeSink" | "SnowflakeV2Sink" | "OracleSink" | "AzureDataLakeStoreSink" | "AzureBlobFSSink" | "AzureSearchIndexSink" | "OdbcSink" | "InformixSink" | "MicrosoftAccessSink" | "DynamicsSink" | "DynamicsCrmSink" | "CommonDataServiceForAppsSink" | "AzureDataExplorerSink" | "SalesforceSink" | "SalesforceServiceCloudSink" | "MongoDbAtlasSink" | "MongoDbV2Sink" | "CosmosDbMongoDbApiSink" | "LakeHouseTableSink" | "SalesforceV2Sink" | "SalesforceServiceCloudV2Sink"; writeBatchSize?: any; writeBatchTimeout?: any; } // @public (undocumented) -export type CopySinkUnion = CopySink | DelimitedTextSink | JsonSink | OrcSink | RestSink | AzurePostgreSqlSink | AzureMySqlSink | AzureDatabricksDeltaLakeSink | WarehouseSink | SapCloudForCustomerSink | AzureQueueSink | AzureTableSink | AvroSink | ParquetSink | BinarySink | IcebergSink | BlobSink | FileSystemSink | DocumentDbCollectionSink | CosmosDbSqlApiSink | SqlSink | SqlServerSink | AzureSqlSink | SqlMISink | SqlDWSink | SnowflakeSink | SnowflakeV2Sink | OracleSink | AzureDataLakeStoreSink | AzureBlobFSSink | AzureSearchIndexSink | OdbcSink | InformixSink | MicrosoftAccessSink | DynamicsSink | DynamicsCrmSink | CommonDataServiceForAppsSink | AzureDataExplorerSink | SalesforceSink | SalesforceServiceCloudSink | MongoDbAtlasSink | MongoDbV2Sink | CosmosDbMongoDbApiSink | LakeHouseTableSink | SalesforceV2Sink | SalesforceServiceCloudV2Sink; +export type CopySinkUnion = CopySink | DelimitedTextSink | JsonSink | OrcSink | RestSink | TeradataSink | AzurePostgreSqlSink | AzureMySqlSink | AzureDatabricksDeltaLakeSink | WarehouseSink | SapCloudForCustomerSink | AzureQueueSink | AzureTableSink | AvroSink | ParquetSink | BinarySink | IcebergSink | BlobSink | FileSystemSink | DocumentDbCollectionSink | CosmosDbSqlApiSink | SqlSink | SqlServerSink | AzureSqlSink | SqlMISink | SqlDWSink | SnowflakeSink | SnowflakeV2Sink | OracleSink | AzureDataLakeStoreSink | AzureBlobFSSink | AzureSearchIndexSink | OdbcSink | InformixSink | MicrosoftAccessSink | DynamicsSink | DynamicsCrmSink | CommonDataServiceForAppsSink | AzureDataExplorerSink | SalesforceSink | SalesforceServiceCloudSink | MongoDbAtlasSink | MongoDbV2Sink | CosmosDbMongoDbApiSink | LakeHouseTableSink | SalesforceV2Sink | SalesforceServiceCloudV2Sink; // @public export interface CopySource { @@ -2301,7 +2321,7 @@ export interface Dataset { }; schema?: any; structure?: any; - type: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "Iceberg" | "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: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "Iceberg" | "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 @@ -2661,6 +2681,8 @@ export interface DynamicsCrmLinkedService extends LinkedService { // @public export interface DynamicsCrmSink extends CopySink { alternateKeyName?: any; + bypassBusinessLogicExecution?: any; + bypassPowerAutomateFlows?: any; ignoreNullValues?: any; type: "DynamicsCrmSink"; writeBehavior: DynamicsSinkWriteBehavior; @@ -2704,6 +2726,8 @@ export interface DynamicsLinkedService extends LinkedService { // @public export interface DynamicsSink extends CopySink { alternateKeyName?: any; + bypassBusinessLogicExecution?: any; + bypassPowerAutomateFlows?: any; ignoreNullValues?: any; type: "DynamicsSink"; writeBehavior: DynamicsSinkWriteBehavior; @@ -2988,7 +3012,6 @@ export interface Factories { get(resourceGroupName: string, factoryName: string, options?: FactoriesGetOptionalParams): Promise; getDataPlaneAccess(resourceGroupName: string, factoryName: string, policy: UserAccessPolicy, options?: FactoriesGetDataPlaneAccessOptionalParams): Promise; getGitHubAccessToken(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: GitHubAccessTokenRequest, options?: FactoriesGetGitHubAccessTokenOptionalParams): Promise; - list(options?: FactoriesListOptionalParams): PagedAsyncIterableIterator; listByResourceGroup(resourceGroupName: string, options?: FactoriesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; update(resourceGroupName: string, factoryName: string, factoryUpdateParameters: FactoryUpdateParameters, options?: FactoriesUpdateOptionalParams): Promise; } @@ -3048,20 +3071,6 @@ export interface FactoriesListByResourceGroupOptionalParams extends coreClient.O // @public export type FactoriesListByResourceGroupResponse = FactoryListResponse; -// @public -export interface FactoriesListNextOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type FactoriesListNextResponse = FactoryListResponse; - -// @public -export interface FactoriesListOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type FactoriesListResponse = FactoryListResponse; - // @public export interface FactoriesUpdateOptionalParams extends coreClient.OperationOptions { } @@ -3536,12 +3545,23 @@ export interface GoogleSheetsLinkedService extends LinkedService { type: "GoogleSheets"; } +// @public +export type GreenplumAuthenticationType = string; + // @public export interface GreenplumLinkedService extends LinkedService { + authenticationType?: GreenplumAuthenticationType; + commandTimeout?: any; connectionString?: any; + connectionTimeout?: any; + database?: any; encryptedCredential?: string; + host?: any; + port?: any; pwd?: AzureKeyVaultSecretReference; + sslMode?: any; type: "Greenplum"; + username?: any; } // @public @@ -3945,11 +3965,11 @@ export interface ImpalaSource extends TabularSource { // @public export interface ImportSettings { [property: string]: any; - type: "AzureDatabricksDeltaLakeImportCommand" | "SnowflakeImportCopyCommand"; + type: "TeradataImportCommand" | "AzureDatabricksDeltaLakeImportCommand" | "SnowflakeImportCopyCommand"; } // @public (undocumented) -export type ImportSettingsUnion = ImportSettings | AzureDatabricksDeltaLakeImportCommand | SnowflakeImportCopyCommand; +export type ImportSettingsUnion = ImportSettings | TeradataImportCommand | AzureDatabricksDeltaLakeImportCommand | SnowflakeImportCopyCommand; // @public export interface InformixLinkedService extends LinkedService { @@ -4534,6 +4554,13 @@ export enum KnownAzureFunctionActivityMethod { Trace = "TRACE" } +// @public +export enum KnownAzurePostgreSqlWriteMethodEnum { + BulkInsert = "BulkInsert", + CopyCommand = "CopyCommand", + Upsert = "Upsert" +} + // @public export enum KnownAzureSearchIndexWriteBehaviorType { Merge = "Merge", @@ -4765,6 +4792,11 @@ export enum KnownGoogleBigQueryV2AuthenticationType { UserAuthentication = "UserAuthentication" } +// @public +export enum KnownGreenplumAuthenticationType { + Basic = "Basic" +} + // @public export enum KnownHBaseAuthenticationType { Anonymous = "Anonymous", @@ -4968,6 +5000,11 @@ export enum KnownODataAuthenticationType { Windows = "Windows" } +// @public +export enum KnownOracleAuthenticationType { + Basic = "Basic" +} + // @public export enum KnownOraclePartitionOption { DynamicRange = "DynamicRange", @@ -5361,6 +5398,12 @@ export enum KnownType { LinkedServiceReference = "LinkedServiceReference" } +// @public +export enum KnownValueType { + Actual = "actual", + Display = "display" +} + // @public export enum KnownVariableType { Array = "Array", @@ -5403,7 +5446,7 @@ export interface LakeHouseLinkedService extends LinkedService { servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; tenant?: any; - type: "LakeHouse"; + type: "Lakehouse"; workspaceId?: any; } @@ -5430,7 +5473,7 @@ export interface LakeHouseReadSettings extends StoreReadSettings { export interface LakeHouseTableDataset extends Dataset { schemaTypePropertiesSchema?: any; table?: any; - type: "LakeHouseTable"; + type: "LakehouseTable"; } // @public @@ -5498,7 +5541,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" | "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: "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"; version?: string; } @@ -6258,6 +6301,9 @@ export interface Office365Dataset extends Dataset { export interface Office365LinkedService extends LinkedService { encryptedCredential?: string; office365TenantId: any; + servicePrincipalCredentialType?: any; + servicePrincipalEmbeddedCert?: SecretBaseUnion; + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; servicePrincipalId: any; servicePrincipalKey: SecretBaseUnion; servicePrincipalTenantId: any; @@ -6356,6 +6402,9 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption // @public export type OperationsListResponse = OperationListResponse; +// @public +export type OracleAuthenticationType = string; + // @public export interface OracleCloudStorageLinkedService extends LinkedService { accessKeyId?: any; @@ -6389,10 +6438,24 @@ export interface OracleCloudStorageReadSettings extends StoreReadSettings { // @public export interface OracleLinkedService extends LinkedService { - connectionString: any; + authenticationType?: OracleAuthenticationType; + connectionString?: any; + cryptoChecksumClient?: any; + cryptoChecksumTypesClient?: any; + enableBulkLoad?: any; encryptedCredential?: string; + encryptionClient?: any; + encryptionTypesClient?: any; + fetchSize?: any; + fetchTswtzAsTimestamp?: any; + initializationString?: any; + initialLobFetchSize?: any; password?: AzureKeyVaultSecretReference; + server?: any; + statementCacheSize?: any; + supportV1DataTypes?: any; type: "Oracle"; + username?: any; } // @public @@ -6881,12 +6944,13 @@ export interface PrestoLinkedService extends LinkedService { allowSelfSignedServerCert?: any; authenticationType: PrestoAuthenticationType; catalog: any; + enableServerCertificateValidation?: any; enableSsl?: any; encryptedCredential?: string; host: any; password?: SecretBaseUnion; port?: any; - serverVersion: any; + serverVersion?: any; timeZoneID?: any; trustedCertPath?: any; type: "Presto"; @@ -7704,6 +7768,7 @@ export interface ScriptAction { // @public export interface ScriptActivity extends ExecutionActivity { logSettings?: ScriptActivityTypePropertiesLogSettings; + returnMultistatementResult?: any; scriptBlockExecutionTimeout?: any; scripts?: ScriptActivityScriptBlock[]; type: "Script"; @@ -7879,6 +7944,7 @@ export interface ServiceNowV2LinkedService extends LinkedService { export interface ServiceNowV2ObjectDataset extends Dataset { tableName?: any; type: "ServiceNowV2Object"; + valueType?: ValueType; } // @public @@ -8091,6 +8157,8 @@ export interface SnowflakeV2LinkedService extends LinkedService { password?: SecretBaseUnion; privateKey?: SecretBaseUnion; privateKeyPassphrase?: SecretBaseUnion; + role?: any; + schema?: any; scope?: any; tenantId?: any; type: "SnowflakeV2"; @@ -8771,14 +8839,26 @@ export interface TeamDeskLinkedService extends LinkedService { // @public export type TeradataAuthenticationType = string; +// @public +export interface TeradataImportCommand extends ImportSettings { + additionalFormatOptions?: any; + type: "TeradataImportCommand"; +} + // @public export interface TeradataLinkedService extends LinkedService { authenticationType?: TeradataAuthenticationType; + characterSet?: any; connectionString?: any; encryptedCredential?: string; + httpsPortNumber?: any; + maxRespSize?: any; password?: SecretBaseUnion; + portNumber?: any; server?: any; + sslMode?: any; type: "Teradata"; + useDataEncryption?: any; username?: any; } @@ -8792,6 +8872,12 @@ export interface TeradataPartitionSettings { partitionUpperBound?: any; } +// @public +export interface TeradataSink extends CopySink { + importSettings?: TeradataImportCommand; + type: "TeradataSink"; +} + // @public export interface TeradataSource extends TabularSource { partitionOption?: any; @@ -9088,8 +9174,10 @@ export type Type = string; export interface TypeConversionSettings { allowDataTruncation?: any; culture?: any; + dateFormat?: any; dateTimeFormat?: any; dateTimeOffsetFormat?: any; + timeFormat?: any; timeSpanFormat?: any; treatBooleanAsNumber?: any; } @@ -9138,6 +9226,9 @@ export interface ValidationActivity extends ControlActivity { type: "Validation"; } +// @public +export type ValueType = string; + // @public export interface VariableSpecification { defaultValue?: any; diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index af044cc4a34e..c96d7ce0f470 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/18.0.0`; + const packageDetails = `azsdk-js-arm-datafactory/19.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/datafactory/arm-datafactory/src/lroImpl.ts b/sdk/datafactory/arm-datafactory/src/lroImpl.ts index d8bc98987053..5f88efab981b 100644 --- a/sdk/datafactory/arm-datafactory/src/lroImpl.ts +++ b/sdk/datafactory/arm-datafactory/src/lroImpl.ts @@ -5,6 +5,10 @@ * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { AbortSignalLike } from "@azure/abort-controller"; import { LongRunningOperation, LroResponse } from "@azure/core-lro"; diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 8c73b1d0e12e..27f171aec8ce 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -411,6 +411,7 @@ export type CopySinkUnion = | JsonSink | OrcSink | RestSink + | TeradataSink | AzurePostgreSqlSink | AzureMySqlSink | AzureDatabricksDeltaLakeSink @@ -452,14 +453,15 @@ export type CopySinkUnion = | LakeHouseTableSink | SalesforceV2Sink | SalesforceServiceCloudV2Sink; -export type ExportSettingsUnion = - | ExportSettings - | SnowflakeExportCopyCommand - | AzureDatabricksDeltaLakeExportCommand; export type ImportSettingsUnion = | ImportSettings + | TeradataImportCommand | AzureDatabricksDeltaLakeImportCommand | SnowflakeImportCopyCommand; +export type ExportSettingsUnion = + | ExportSettings + | SnowflakeExportCopyCommand + | AzureDatabricksDeltaLakeExportCommand; export type CopyTranslatorUnion = CopyTranslator | TabularTranslator; export type DependencyReferenceUnion = | DependencyReference @@ -687,12 +689,30 @@ export interface CloudError { details?: CloudError[]; } -/** A list of factory resources. */ -export interface FactoryListResponse { - /** List of factories. */ - value: Factory[]; - /** The link to the next page of results, if any remaining results exist. */ - nextLink?: string; +/** Factory's git repo information. */ +export interface FactoryRepoUpdate { + /** The factory resource id. */ + factoryResourceId?: string; + /** Git repo information of the factory. */ + repoConfiguration?: FactoryRepoConfigurationUnion; +} + +/** Factory's git repo information. */ +export interface FactoryRepoConfiguration { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FactoryVSTSConfiguration" | "FactoryGitHubConfiguration"; + /** Account name. */ + accountName: string; + /** Repository name. */ + repositoryName: string; + /** Collaboration branch. */ + collaborationBranch: string; + /** Root folder. */ + rootFolder: string; + /** Last commit id. */ + lastCommitId?: string; + /** Disable manual publish operation in ADF studio to favor automated publish. */ + disablePublish?: boolean; } /** Identity properties of the factory resource. */ @@ -719,24 +739,6 @@ export interface PurviewConfiguration { purviewResourceId?: string; } -/** Factory's git repo information. */ -export interface FactoryRepoConfiguration { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "FactoryVSTSConfiguration" | "FactoryGitHubConfiguration"; - /** Account name. */ - accountName: string; - /** Repository name. */ - repositoryName: string; - /** Collaboration branch. */ - collaborationBranch: string; - /** Root folder. */ - rootFolder: string; - /** Last commit id. */ - lastCommitId?: string; - /** Disable manual publish operation in ADF studio to favor automated publish. */ - disablePublish?: boolean; -} - /** Definition of a single parameter for an entity. */ export interface GlobalParameterSpecification { /** Global Parameter type. */ @@ -791,14 +793,6 @@ export interface Resource { readonly eTag?: string; } -/** Factory's git repo information. */ -export interface FactoryRepoUpdate { - /** The factory resource id. */ - factoryResourceId?: string; - /** Git repo information of the factory. */ - repoConfiguration?: FactoryRepoConfigurationUnion; -} - /** The exposure control request. */ export interface ExposureControlRequest { /** The feature name. */ @@ -833,6 +827,14 @@ export interface ExposureControlBatchResponse { exposureControlResponses: ExposureControlResponse[]; } +/** A list of factory resources. */ +export interface FactoryListResponse { + /** List of factories. */ + value: Factory[]; + /** The link to the next page of results, if any remaining results exist. */ + nextLink?: string; +} + /** Parameters for updating a factory resource. */ export interface FactoryUpdateParameters { /** The resource tags. */ @@ -1399,7 +1401,7 @@ export interface LinkedService { | "SnowflakeV2" | "SharePointOnlineList" | "AzureSynapseArtifacts" - | "LakeHouse" + | "Lakehouse" | "SalesforceV2" | "SalesforceServiceCloudV2" | "Warehouse" @@ -1548,7 +1550,7 @@ export interface Dataset { | "SnowflakeV2Table" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset" - | "LakeHouseTable" + | "LakehouseTable" | "SalesforceV2Object" | "SalesforceServiceCloudV2Object" | "WarehouseTable" @@ -3396,6 +3398,7 @@ export interface CopySink { | "JsonSink" | "OrcSink" | "RestSink" + | "TeradataSink" | "AzurePostgreSqlSink" | "AzureMySqlSink" | "AzureDatabricksDeltaLakeSink" @@ -3585,6 +3588,17 @@ export interface TeradataPartitionSettings { partitionLowerBound?: any; } +/** Import command settings. */ +export interface ImportSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "TeradataImportCommand" + | "AzureDatabricksDeltaLakeImportCommand" + | "SnowflakeImportCopyCommand"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; +} + /** Cursor methods for Mongodb query */ export interface MongoDbCursorMethodsProperties { /** Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -3605,6 +3619,12 @@ export interface OutputColumn { name?: string; } +/** Azure Database for PostgreSQL upsert option settings */ +export interface AzurePostgreSqlSinkUpsertSettings { + /** Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings). */ + keys?: any; +} + /** The settings that will be leveraged for Netezza source partitioning. */ export interface NetezzaPartitionSettings { /** The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). */ @@ -3631,14 +3651,6 @@ export interface ExportSettings { [property: string]: any; } -/** Import command settings. */ -export interface ImportSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "AzureDatabricksDeltaLakeImportCommand" | "SnowflakeImportCopyCommand"; - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; -} - /** DW Copy Command settings. */ export interface DWCopyCommandSettings { /** Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). */ @@ -3723,6 +3735,10 @@ export interface TypeConversionSettings { dateTimeOffsetFormat?: any; /** The format for TimeSpan values. Type: string (or Expression with resultType string). */ timeSpanFormat?: any; + /** The format for Time values. Type: string (or Expression with resultType string). */ + timeFormat?: any; + /** The format for Date values. Type: string (or Expression with resultType string). */ + dateFormat?: any; /** The culture used to convert data from/to string. Type: string (or Expression with resultType string). */ culture?: any; } @@ -5088,14 +5104,42 @@ export interface GoogleCloudStorageLinkedService extends LinkedService { encryptedCredential?: string; } -/** Oracle database. */ +/** Oracle database. This linked service has supported version property. The Version 1.0 is scheduled for deprecation while your pipeline will continue to run after EOL but without any bug fix or new features. */ export interface OracleLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Oracle"; - /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - connectionString: any; + /** The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Only used for Version 1.0. */ + connectionString?: any; + /** The location of Oracle database you want to connect to, the supported forms include connector descriptor, Easy Connect (Plus) Naming and Oracle Net Services Name (Only self-hosted IR). Type: string. Only used for Version 2.0. */ + server?: any; + /** Authentication type for connecting to the Oracle database. Only used for Version 2.0. */ + authenticationType?: OracleAuthenticationType; + /** The Oracle database username. Type: string. Only used for Version 2.0. */ + username?: any; /** The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; + /** Specifies the encryption client behavior. Supported values are accepted, rejected, requested or required, default value is required. Type: string. Only used for Version 2.0. */ + encryptionClient?: any; + /** Specifies the encryption algorithms that client can use. Supported values are AES128, AES192, AES256, 3DES112, 3DES168, default value is (AES256). Type: string. Only used for Version 2.0. */ + encryptionTypesClient?: any; + /** Specifies the desired data integrity behavior when this client connects to a server. Supported values are accepted, rejected, requested or required, default value is required. Type: string. Only used for Version 2.0. */ + cryptoChecksumClient?: any; + /** Specifies the crypto-checksum algorithms that client can use. Supported values are SHA1, SHA256, SHA384, SHA512, default value is (SHA512). Type: string. Only used for Version 2.0. */ + cryptoChecksumTypesClient?: any; + /** Specifies the amount that the source initially fetches for LOB columns, default value is 0. Type: integer. Only used for Version 2.0. */ + initialLobFetchSize?: any; + /** Specifies the number of bytes that the driver allocates to fetch the data in one database round-trip, default value is 10485760. Type: integer. Only used for Version 2.0. */ + fetchSize?: any; + /** Specifies the number of cursors or statements to be cached for each database connection, default value is 0. Type: integer. Only used for Version 2.0. */ + statementCacheSize?: any; + /** Specifies a command that is issued immediately after connecting to the database to manage session settings. Type: string. Only used for Version 2.0. */ + initializationString?: any; + /** Specifies whether to use bulk copy or batch insert when loading data into the database, default value is true. Type: boolean. Only used for Version 2.0. */ + enableBulkLoad?: any; + /** Specifies whether to use the Version 1.0 data type mappings. Do not set this to true unless you want to keep backward compatibility with Version 1.0's data type mappings, default value is false. Type: boolean. Only used for Version 2.0. */ + supportV1DataTypes?: any; + /** Specifies whether the driver returns column value with the TIMESTAMP WITH TIME ZONE data type as DateTime or string. This setting is ignored if supportV1DataTypes is not true, default value is true. Type: boolean. Only used for Version 2.0. */ + fetchTswtzAsTimestamp?: any; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; } @@ -5270,7 +5314,7 @@ export interface Db2LinkedService extends LinkedService { export interface TeradataLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Teradata"; - /** Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ + /** Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Only applied for version 1.0. */ connectionString?: any; /** Server name for connection. Type: string (or Expression with resultType string). */ server?: any; @@ -5280,6 +5324,18 @@ export interface TeradataLinkedService extends LinkedService { username?: any; /** Password for authentication. */ password?: SecretBaseUnion; + /** SSL mode for connection. Valid values including: “Disable”, “Allow”, “Prefer”, “Require”, “Verify-CA”, “Verify-Full”. Default value is “Verify-Full”. Type: string (or Expression with resultType string). Only applied for version 2.0. */ + sslMode?: any; + /** The port numbers when connecting to server through non HTTPS/TLS connections. Type: integer (or Expression with resultType integer). Only used for V2. Only applied for version 2.0. */ + portNumber?: any; + /** The port numbers when connecting to server through HTTPS/TLS connections. Type: integer (or Expression with resultType integer). Only applied for version 2.0. */ + httpsPortNumber?: any; + /** Specifies whether to encrypt all communication with the Teradata database. Allowed values are 0 or 1. This setting will be ignored for HTTPS/TLS connections. Type: integer (or Expression with resultType integer). Only applied for version 2.0. */ + useDataEncryption?: any; + /** The character set to use for the connection. Type: string (or Expression with resultType string). Only applied for version 2.0. */ + characterSet?: any; + /** The maximum size of the response buffer for SQL requests, in bytes. Type: integer. Only applied for version 2.0. */ + maxRespSize?: any; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; } @@ -5586,6 +5642,12 @@ export interface Office365LinkedService extends LinkedService { servicePrincipalId: any; /** Specify the application's key. */ servicePrincipalKey: SecretBaseUnion; + /** The service principal credential type for authentication.'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. If not specified, 'ServicePrincipalKey' is in use. Type: string (or Expression with resultType string). */ + servicePrincipalCredentialType?: any; + /** Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCert?: SecretBaseUnion; + /** Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; } @@ -5706,7 +5768,7 @@ export interface SapOdpLinkedService extends LinkedService { messageServer?: any; /** The service name or port number of the Message Server. Type: string (or Expression with resultType string). */ messageServerService?: any; - /** SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). */ + /** SNC activation flag (Boolean) to access the SAP server where the table is located. Type: boolean (or Expression with resultType boolean). */ sncMode?: any; /** Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ sncMyName?: any; @@ -6108,6 +6170,22 @@ export interface AzurePostgreSqlLinkedService extends LinkedService { password?: AzureKeyVaultSecretReference; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** The ID of the service principal used to authenticate against Azure Database for PostgreSQL Flexible server. Type: string (or Expression with resultType string). */ + servicePrincipalId?: any; + /** The key of the service principal used to authenticate against Azure Database for PostgreSQL Flexible server. */ + servicePrincipalKey?: SecretBaseUnion; + /** The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string). */ + servicePrincipalCredentialType?: any; + /** Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCert?: SecretBaseUnion; + /** Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string). */ + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; + /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ + tenant?: any; + /** Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string). */ + azureCloudType?: any; + /** The credential reference containing authentication information. */ + credential?: CredentialReference; } /** Concur Service linked service. */ @@ -6236,6 +6314,22 @@ export interface GreenplumLinkedService extends LinkedService { pwd?: AzureKeyVaultSecretReference; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; + /** The authentication type to use. Type: string. Only used for V2. */ + authenticationType?: GreenplumAuthenticationType; + /** Host name for connection. Type: string. Only used for V2. */ + host?: any; + /** The port for the connection. Type: integer. Only used for V2. */ + port?: any; + /** Username for authentication. Type: string. Only used for V2. */ + username?: any; + /** Database name for connection. Type: string. Only used for V2. */ + database?: any; + /** SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer. Only used for V2. */ + sslMode?: any; + /** The time to wait (in seconds) while trying to establish a connection before terminating the attempt and generating an error. Type: integer. Only used for V2. */ + 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. Only used for V2. */ + commandTimeout?: any; } /** HBase server linked service. */ @@ -6504,17 +6598,17 @@ export interface PhoenixLinkedService extends LinkedService { encryptedCredential?: string; } -/** Presto server linked service. */ +/** Presto server linked service. This linked service has supported version property. The Version 1.0 is scheduled for deprecation while your pipeline will continue to run after EOL but without any bug fix or new features. */ export interface PrestoLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Presto"; /** The IP address or host name of the Presto server. (i.e. 192.168.222.160) */ host: any; - /** The version of the Presto server. (i.e. 0.148-t) */ - serverVersion: any; + /** The version of the Presto server. (i.e. 0.148-t) Only used for Version 1.0. */ + serverVersion?: any; /** The catalog context for all request against the server. */ catalog: any; - /** The TCP port that the Presto server uses to listen for client connections. The default value is 8080. */ + /** The TCP port that the Presto server uses to listen for client connections. The default value is 8080 when disable SSL, default value is 443 when enable SSL. */ port?: any; /** The authentication mechanism used to connect to the Presto server. */ authenticationType: PrestoAuthenticationType; @@ -6522,17 +6616,19 @@ export interface PrestoLinkedService extends LinkedService { username?: any; /** The password corresponding to the user name. */ password?: SecretBaseUnion; - /** Specifies whether the connections to the server are encrypted using SSL. The default value is false. */ + /** Specifies whether the connections to the server are encrypted using SSL. The default value for legacy version is False. The default value for version 2.0 is True. */ enableSsl?: any; - /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. */ + /** Specifies whether the connections to the server will validate server certificate, the default value is True. Only used for Version 2.0 */ + enableServerCertificateValidation?: any; + /** The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR. Only used for Version 1.0. */ trustedCertPath?: any; - /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. */ + /** Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false. Only used for Version 1.0. */ useSystemTrustStore?: any; - /** Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. */ + /** Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false. Only used for Version 1.0. */ allowHostNameCNMismatch?: any; - /** Specifies whether to allow self-signed certificates from the server. The default value is false. */ + /** Specifies whether to allow self-signed certificates from the server. The default value is false. Only used for Version 1.0. */ allowSelfSignedServerCert?: any; - /** The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone. */ + /** The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value for Version 1.0 is the client system time zone. The default value for Version 2.0 is server system timeZone */ timeZoneID?: any; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; @@ -7037,7 +7133,7 @@ export interface SapTableLinkedService extends LinkedService { messageServer?: any; /** The service name or port number of the Message Server. Type: string (or Expression with resultType string). */ messageServerService?: any; - /** SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). */ + /** SNC activation flag (Boolean) to access the SAP server where the table is located. Type: boolean (or Expression with resultType boolean). */ sncMode?: any; /** Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ sncMyName?: any; @@ -7129,8 +7225,12 @@ export interface SnowflakeV2LinkedService extends LinkedService { privateKey?: SecretBaseUnion; /** The Azure key vault secret reference of private key password for KeyPair auth with encrypted private key. */ privateKeyPassphrase?: SecretBaseUnion; - /** The host name of the Snowflake account. */ + /** The default access control role to use in the Snowflake session. Type: string (or Expression with resultType string). */ + role?: any; + /** The host name of the Snowflake account. Type: string (or Expression with resultType string). */ host?: any; + /** Schema name for connection. Type: string (or Expression with resultType string). */ + schema?: any; /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. */ encryptedCredential?: string; } @@ -7169,17 +7269,17 @@ export interface AzureSynapseArtifactsLinkedService extends LinkedService { workspaceResourceId?: any; } -/** Microsoft Fabric LakeHouse linked service. */ +/** Microsoft Fabric Lakehouse linked service. */ export interface LakeHouseLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "LakeHouse"; + type: "Lakehouse"; /** The ID of Microsoft Fabric workspace. Type: string (or Expression with resultType string). */ workspaceId?: any; - /** The ID of Microsoft Fabric LakeHouse artifact. Type: string (or Expression with resultType string). */ + /** The ID of Microsoft Fabric Lakehouse artifact. Type: string (or Expression with resultType string). */ artifactId?: any; - /** The ID of the application used to authenticate against Microsoft Fabric LakeHouse. Type: string (or Expression with resultType string). */ + /** The ID of the application used to authenticate against Microsoft Fabric Lakehouse. Type: string (or Expression with resultType string). */ servicePrincipalId?: any; - /** The Key of the application used to authenticate against Microsoft Fabric LakeHouse. */ + /** The Key of the application used to authenticate against Microsoft Fabric Lakehouse. */ servicePrincipalKey?: SecretBaseUnion; /** The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string). */ tenant?: any; @@ -8300,13 +8400,13 @@ export interface AzureDatabricksDeltaLakeDataset extends Dataset { database?: any; } -/** Microsoft Fabric LakeHouse Table. */ +/** Microsoft Fabric Lakehouse Table. */ export interface LakeHouseTableDataset extends Dataset { /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "LakeHouseTable"; - /** The schema name of Microsoft Fabric LakeHouse Table. Type: string (or Expression with resultType string). */ + type: "LakehouseTable"; + /** The schema name of Microsoft Fabric Lakehouse Table. Type: string (or Expression with resultType string). */ schemaTypePropertiesSchema?: any; - /** The name of Microsoft Fabric LakeHouse Table. Type: string (or Expression with resultType string). */ + /** The name of Microsoft Fabric Lakehouse Table. Type: string (or Expression with resultType string). */ table?: any; } @@ -8346,6 +8446,8 @@ export interface ServiceNowV2ObjectDataset extends Dataset { type: "ServiceNowV2Object"; /** The table name. Type: string (or Expression with resultType string). */ tableName?: any; + /** Type of value copied from source. */ + valueType?: ValueType; } /** Base class for all control activities like IfCondition, ForEach , Until. */ @@ -8720,7 +8822,7 @@ export interface HdfsLocation extends DatasetLocation { type: "HdfsLocation"; } -/** The location of Microsoft Fabric LakeHouse Files dataset. */ +/** The location of Microsoft Fabric Lakehouse Files dataset. */ export interface LakeHouseLocation extends DatasetLocation { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "LakeHouseLocation"; @@ -9334,15 +9436,15 @@ export interface HdfsReadSettings extends StoreReadSettings { deleteFilesAfterCompletion?: any; } -/** Microsoft Fabric LakeHouse Files read settings. */ +/** Microsoft Fabric Lakehouse Files read settings. */ export interface LakeHouseReadSettings extends StoreReadSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "LakeHouseReadSettings"; /** If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). */ recursive?: any; - /** Microsoft Fabric LakeHouse Files wildcardFolderPath. Type: string (or Expression with resultType string). */ + /** Microsoft Fabric Lakehouse Files wildcardFolderPath. Type: string (or Expression with resultType string). */ wildcardFolderPath?: any; - /** Microsoft Fabric LakeHouse Files wildcardFileName. Type: string (or Expression with resultType string). */ + /** Microsoft Fabric Lakehouse Files wildcardFileName. Type: string (or Expression with resultType string). */ wildcardFileName?: any; /** Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). */ fileListPath?: any; @@ -9404,7 +9506,7 @@ export interface AzureFileStorageWriteSettings extends StoreWriteSettings { type: "AzureFileStorageWriteSettings"; } -/** Microsoft Fabric LakeHouse Files write settings. */ +/** Microsoft Fabric Lakehouse Files write settings. */ export interface LakeHouseWriteSettings extends StoreWriteSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "LakeHouseWriteSettings"; @@ -10023,7 +10125,7 @@ export interface HttpSource extends CopySource { httpRequestTimeout?: any; } -/** A copy activity source for Microsoft Fabric LakeHouse Table. */ +/** A copy activity source for Microsoft Fabric Lakehouse Table. */ export interface LakeHouseTableSource extends CopySource { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "LakeHouseTableSource"; @@ -10135,12 +10237,24 @@ export interface RestSink extends CopySink { httpCompressionType?: any; } -/** A copy activity Azure PostgreSQL sink. */ +/** A copy activity Teradata sink. */ +export interface TeradataSink extends CopySink { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "TeradataSink"; + /** Teradata import settings. */ + importSettings?: TeradataImportCommand; +} + +/** A copy activity Azure Database for PostgreSQL sink. */ export interface AzurePostgreSqlSink extends CopySink { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "AzurePostgreSqlSink"; /** A query to execute before starting the copy. Type: string (or Expression with resultType string). */ preCopyScript?: any; + /** The write behavior for the operation. Default is Bulk Insert. */ + writeMethod?: AzurePostgreSqlWriteMethodEnum; + /** Azure Database for PostgreSQL upsert option settings */ + upsertSettings?: AzurePostgreSqlSinkUpsertSettings; } /** A copy activity Azure MySql sink. */ @@ -10497,6 +10611,10 @@ export interface DynamicsSink extends CopySink { ignoreNullValues?: any; /** The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ alternateKeyName?: any; + /** Controls the bypass of Dataverse custom business logic. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ + bypassBusinessLogicExecution?: any; + /** Controls the bypass of Power Automate flows. Default is false. Type: boolean (or Expression with resultType boolean). */ + bypassPowerAutomateFlows?: any; } /** A copy activity Dynamics CRM sink. */ @@ -10509,6 +10627,10 @@ export interface DynamicsCrmSink extends CopySink { ignoreNullValues?: any; /** The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ alternateKeyName?: any; + /** Controls the bypass of Dataverse custom business logic. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ + bypassBusinessLogicExecution?: any; + /** Controls the bypass of Power Automate flows. Default is false. Type: boolean (or Expression with resultType boolean). */ + bypassPowerAutomateFlows?: any; } /** A copy activity Common Data Service for Apps sink. */ @@ -10521,6 +10643,10 @@ export interface CommonDataServiceForAppsSink extends CopySink { ignoreNullValues?: any; /** The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). */ alternateKeyName?: any; + /** Controls the bypass of Dataverse custom business logic. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string). */ + bypassBusinessLogicExecution?: any; + /** Controls the bypass of Power Automate flows. Default is false. Type: boolean (or Expression with resultType boolean). */ + bypassPowerAutomateFlows?: any; } /** A copy activity Azure Data Explorer sink. */ @@ -10583,11 +10709,11 @@ export interface CosmosDbMongoDbApiSink extends CopySink { writeBehavior?: any; } -/** A copy activity for Microsoft Fabric LakeHouse Table sink. */ +/** A copy activity for Microsoft Fabric Lakehouse Table sink. */ export interface LakeHouseTableSink extends CopySink { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "LakeHouseTableSink"; - /** The type of table action for LakeHouse Table sink. Possible values include: "None", "Append", "Overwrite". */ + /** The type of table action for Lakehouse Table sink. Possible values include: "None", "Append", "Overwrite". */ tableActionOption?: any; /** Create partitions in folder structure based on one or multiple columns. Each distinct column value (pair) will be a new partition. Possible values include: "None", "PartitionByKey". */ partitionOption?: any; @@ -10619,26 +10745,12 @@ export interface SalesforceServiceCloudV2Sink extends CopySink { ignoreNullValues?: any; } -/** Snowflake export command settings. */ -export interface SnowflakeExportCopyCommand extends ExportSettings { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "SnowflakeExportCopyCommand"; - /** Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } */ - additionalCopyOptions?: { [propertyName: string]: any }; - /** Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } */ - additionalFormatOptions?: { [propertyName: string]: any }; - /** The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string). */ - storageIntegration?: any; -} - -/** Azure Databricks Delta Lake export command settings. */ -export interface AzureDatabricksDeltaLakeExportCommand extends ExportSettings { +/** Teradata import command settings. */ +export interface TeradataImportCommand extends ImportSettings { /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "AzureDatabricksDeltaLakeExportCommand"; - /** Specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ - dateFormat?: any; - /** Specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ - timestampFormat?: any; + type: "TeradataImportCommand"; + /** Additional format options for Teradata Copy Command. The format options only applies to direct copy from CSV source. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "timeFormat": "HHhMImSSs" } */ + additionalFormatOptions?: any; } /** Azure Databricks Delta Lake import command settings. */ @@ -10663,6 +10775,28 @@ export interface SnowflakeImportCopyCommand extends ImportSettings { storageIntegration?: any; } +/** Snowflake export command settings. */ +export interface SnowflakeExportCopyCommand extends ExportSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SnowflakeExportCopyCommand"; + /** Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" } */ + additionalCopyOptions?: { [propertyName: string]: any }; + /** Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" } */ + additionalFormatOptions?: { [propertyName: string]: any }; + /** The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string). */ + storageIntegration?: any; +} + +/** Azure Databricks Delta Lake export command settings. */ +export interface AzureDatabricksDeltaLakeExportCommand extends ExportSettings { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureDatabricksDeltaLakeExportCommand"; + /** Specify the date format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ + dateFormat?: any; + /** Specify the timestamp format for the csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string). */ + timestampFormat?: any; +} + /** A copy activity tabular translator. */ export interface TabularTranslator extends CopyTranslator { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -11317,6 +11451,8 @@ export interface ScriptActivity extends ExecutionActivity { scripts?: ScriptActivityScriptBlock[]; /** Log settings of script activity. */ logSettings?: ScriptActivityTypePropertiesLogSettings; + /** Enable to retrieve result sets from multiple SQL statements and the number of rows affected by the DML statement. Supported connector: SnowflakeV2. Type: boolean (or Expression with resultType boolean). */ + returnMultistatementResult?: any; } /** Execute Synapse notebook activity. */ @@ -11769,7 +11905,7 @@ export interface AmazonMWSSource extends TabularSource { query?: any; } -/** A copy activity Azure PostgreSQL source. */ +/** A copy activity Azure Database for PostgreSQL source. */ export interface AzurePostgreSqlSource extends TabularSource { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "AzurePostgreSqlSource"; @@ -12818,6 +12954,24 @@ export enum KnownCredentialReferenceType { */ export type CredentialReferenceType = string; +/** Known values of {@link ValueType} that the service accepts. */ +export enum KnownValueType { + /** Actual */ + Actual = "actual", + /** Display */ + Display = "display", +} + +/** + * Defines values for ValueType. \ + * {@link KnownValueType} can be used interchangeably with ValueType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **actual** \ + * **display** + */ +export type ValueType = string; + /** Known values of {@link DataFlowComputeType} that the service accepts. */ export enum KnownDataFlowComputeType { /** General */ @@ -13139,6 +13293,21 @@ export enum KnownCosmosDbConnectionMode { */ export type CosmosDbConnectionMode = string; +/** Known values of {@link OracleAuthenticationType} that the service accepts. */ +export enum KnownOracleAuthenticationType { + /** Basic */ + Basic = "Basic", +} + +/** + * Defines values for OracleAuthenticationType. \ + * {@link KnownOracleAuthenticationType} can be used interchangeably with OracleAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** + */ +export type OracleAuthenticationType = string; + /** Known values of {@link SybaseAuthenticationType} that the service accepts. */ export enum KnownSybaseAuthenticationType { /** Basic */ @@ -13457,6 +13626,21 @@ export enum KnownGoogleBigQueryV2AuthenticationType { */ export type GoogleBigQueryV2AuthenticationType = string; +/** Known values of {@link GreenplumAuthenticationType} that the service accepts. */ +export enum KnownGreenplumAuthenticationType { + /** Basic */ + Basic = "Basic", +} + +/** + * Defines values for GreenplumAuthenticationType. \ + * {@link KnownGreenplumAuthenticationType} can be used interchangeably with GreenplumAuthenticationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Basic** + */ +export type GreenplumAuthenticationType = string; + /** Known values of {@link HBaseAuthenticationType} that the service accepts. */ export enum KnownHBaseAuthenticationType { /** Anonymous */ @@ -13784,6 +13968,27 @@ export enum KnownCassandraSourceReadConsistencyLevels { */ export type CassandraSourceReadConsistencyLevels = string; +/** Known values of {@link AzurePostgreSqlWriteMethodEnum} that the service accepts. */ +export enum KnownAzurePostgreSqlWriteMethodEnum { + /** BulkInsert */ + BulkInsert = "BulkInsert", + /** CopyCommand */ + CopyCommand = "CopyCommand", + /** Upsert */ + Upsert = "Upsert", +} + +/** + * Defines values for AzurePostgreSqlWriteMethodEnum. \ + * {@link KnownAzurePostgreSqlWriteMethodEnum} can be used interchangeably with AzurePostgreSqlWriteMethodEnum, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **BulkInsert** \ + * **CopyCommand** \ + * **Upsert** + */ +export type AzurePostgreSqlWriteMethodEnum = string; + /** Known values of {@link StoredProcedureParameterType} that the service accepts. */ export enum KnownStoredProcedureParameterType { /** String */ @@ -14872,13 +15077,6 @@ export interface OperationsListNextOptionalParams /** Contains response data for the listNext operation. */ export type OperationsListNextResponse = OperationListResponse; -/** Optional parameters. */ -export interface FactoriesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type FactoriesListResponse = FactoryListResponse; - /** Optional parameters. */ export interface FactoriesConfigureFactoryRepoOptionalParams extends coreClient.OperationOptions {} @@ -14938,13 +15136,6 @@ export interface FactoriesGetDataPlaneAccessOptionalParams /** Contains response data for the getDataPlaneAccess operation. */ export type FactoriesGetDataPlaneAccessResponse = AccessPolicyResponse; -/** Optional parameters. */ -export interface FactoriesListNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listNext operation. */ -export type FactoriesListNextResponse = FactoryListResponse; - /** Optional parameters. */ export interface FactoriesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index 0c1d8297debb..6ec7ccac69ff 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -333,80 +333,22 @@ export const CloudError: coreClient.CompositeMapper = { }, }; -export const FactoryListResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FactoryListResponse", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Factory", - }, - }, - }, - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String", - }, - }, - }, - }, -}; - -export const FactoryIdentity: coreClient.CompositeMapper = { +export const FactoryRepoUpdate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "FactoryIdentity", + className: "FactoryRepoUpdate", modelProperties: { - type: { - serializedName: "type", - required: true, + factoryResourceId: { + serializedName: "factoryResourceId", type: { name: "String", }, }, - principalId: { - serializedName: "principalId", - readOnly: true, - type: { - name: "Uuid", - }, - }, - tenantId: { - serializedName: "tenantId", - readOnly: true, - type: { - name: "Uuid", - }, - }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, - }, - }, -}; - -export const PurviewConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PurviewConfiguration", - modelProperties: { - purviewResourceId: { - serializedName: "purviewResourceId", + repoConfiguration: { + serializedName: "repoConfiguration", type: { - name: "String", + name: "Composite", + className: "FactoryRepoConfiguration", }, }, }, @@ -474,6 +416,58 @@ export const FactoryRepoConfiguration: coreClient.CompositeMapper = { }, }; +export const FactoryIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FactoryIdentity", + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "Uuid", + }, + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + }, + }, +}; + +export const PurviewConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PurviewConfiguration", + modelProperties: { + purviewResourceId: { + serializedName: "purviewResourceId", + type: { + name: "String", + }, + }, + }, + }, +}; + export const GlobalParameterSpecification: coreClient.CompositeMapper = { type: { name: "Composite", @@ -598,28 +592,6 @@ export const Resource: coreClient.CompositeMapper = { }, }; -export const FactoryRepoUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "FactoryRepoUpdate", - modelProperties: { - factoryResourceId: { - serializedName: "factoryResourceId", - type: { - name: "String", - }, - }, - repoConfiguration: { - serializedName: "repoConfiguration", - type: { - name: "Composite", - className: "FactoryRepoConfiguration", - }, - }, - }, - }, -}; - export const ExposureControlRequest: coreClient.CompositeMapper = { type: { name: "Composite", @@ -708,6 +680,34 @@ export const ExposureControlBatchResponse: coreClient.CompositeMapper = { }, }; +export const FactoryListResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "FactoryListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Factory", + }, + }, + }, + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String", + }, + }, + }, + }, +}; + export const FactoryUpdateParameters: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6583,6 +6583,29 @@ export const TeradataPartitionSettings: coreClient.CompositeMapper = { }, }; +export const ImportSettings: coreClient.CompositeMapper = { + serializedName: "ImportSettings", + type: { + name: "Composite", + className: "ImportSettings", + uberParent: "ImportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type", + }, + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String", + }, + }, + }, + }, +}; + export const MongoDbCursorMethodsProperties: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6632,6 +6655,21 @@ export const OutputColumn: coreClient.CompositeMapper = { }, }; +export const AzurePostgreSqlSinkUpsertSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzurePostgreSqlSinkUpsertSettings", + modelProperties: { + keys: { + serializedName: "keys", + type: { + name: "any", + }, + }, + }, + }, +}; + export const NetezzaPartitionSettings: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6705,29 +6743,6 @@ export const ExportSettings: coreClient.CompositeMapper = { }, }; -export const ImportSettings: coreClient.CompositeMapper = { - serializedName: "ImportSettings", - type: { - name: "Composite", - className: "ImportSettings", - uberParent: "ImportSettings", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type", - }, - modelProperties: { - type: { - serializedName: "type", - required: true, - type: { - name: "String", - }, - }, - }, - }, -}; - export const DWCopyCommandSettings: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6959,6 +6974,18 @@ export const TypeConversionSettings: coreClient.CompositeMapper = { name: "any", }, }, + timeFormat: { + serializedName: "timeFormat", + type: { + name: "any", + }, + }, + dateFormat: { + serializedName: "dateFormat", + type: { + name: "any", + }, + }, culture: { serializedName: "culture", type: { @@ -10924,7 +10951,24 @@ export const OracleLinkedService: coreClient.CompositeMapper = { ...LinkedService.type.modelProperties, connectionString: { serializedName: "typeProperties.connectionString", - required: true, + type: { + name: "any", + }, + }, + server: { + serializedName: "typeProperties.server", + type: { + name: "any", + }, + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String", + }, + }, + username: { + serializedName: "typeProperties.username", type: { name: "any", }, @@ -10936,6 +10980,72 @@ export const OracleLinkedService: coreClient.CompositeMapper = { className: "AzureKeyVaultSecretReference", }, }, + encryptionClient: { + serializedName: "typeProperties.encryptionClient", + type: { + name: "any", + }, + }, + encryptionTypesClient: { + serializedName: "typeProperties.encryptionTypesClient", + type: { + name: "any", + }, + }, + cryptoChecksumClient: { + serializedName: "typeProperties.cryptoChecksumClient", + type: { + name: "any", + }, + }, + cryptoChecksumTypesClient: { + serializedName: "typeProperties.cryptoChecksumTypesClient", + type: { + name: "any", + }, + }, + initialLobFetchSize: { + serializedName: "typeProperties.initialLobFetchSize", + type: { + name: "any", + }, + }, + fetchSize: { + serializedName: "typeProperties.fetchSize", + type: { + name: "any", + }, + }, + statementCacheSize: { + serializedName: "typeProperties.statementCacheSize", + type: { + name: "any", + }, + }, + initializationString: { + serializedName: "typeProperties.initializationString", + type: { + name: "any", + }, + }, + enableBulkLoad: { + serializedName: "typeProperties.enableBulkLoad", + type: { + name: "any", + }, + }, + supportV1DataTypes: { + serializedName: "typeProperties.supportV1DataTypes", + type: { + name: "any", + }, + }, + fetchTswtzAsTimestamp: { + serializedName: "typeProperties.fetchTswtzAsTimestamp", + type: { + name: "any", + }, + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -11474,6 +11584,42 @@ export const TeradataLinkedService: coreClient.CompositeMapper = { className: "SecretBase", }, }, + sslMode: { + serializedName: "typeProperties.sslMode", + type: { + name: "any", + }, + }, + portNumber: { + serializedName: "typeProperties.portNumber", + type: { + name: "any", + }, + }, + httpsPortNumber: { + serializedName: "typeProperties.httpsPortNumber", + type: { + name: "any", + }, + }, + useDataEncryption: { + serializedName: "typeProperties.useDataEncryption", + type: { + name: "any", + }, + }, + characterSet: { + serializedName: "typeProperties.characterSet", + type: { + name: "any", + }, + }, + maxRespSize: { + serializedName: "typeProperties.maxRespSize", + type: { + name: "any", + }, + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -12374,6 +12520,26 @@ export const Office365LinkedService: coreClient.CompositeMapper = { className: "SecretBase", }, }, + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", + type: { + name: "any", + }, + }, + servicePrincipalEmbeddedCert: { + serializedName: "typeProperties.servicePrincipalEmbeddedCert", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + servicePrincipalEmbeddedCertPassword: { + serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", + type: { + name: "Composite", + className: "SecretBase", + }, + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -13884,17 +14050,69 @@ export const AzurePostgreSqlLinkedService: coreClient.CompositeMapper = { name: "any", }, }, - password: { - serializedName: "typeProperties.password", + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference", + }, + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "String", + }, + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "any", + }, + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", + type: { + name: "any", + }, + }, + servicePrincipalEmbeddedCert: { + serializedName: "typeProperties.servicePrincipalEmbeddedCert", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + servicePrincipalEmbeddedCertPassword: { + serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", + type: { + name: "Composite", + className: "SecretBase", + }, + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "any", + }, + }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "any", + }, + }, + credential: { + serializedName: "typeProperties.credential", type: { name: "Composite", - className: "AzureKeyVaultSecretReference", - }, - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "String", + className: "CredentialReference", }, }, }, @@ -14271,6 +14489,54 @@ export const GreenplumLinkedService: coreClient.CompositeMapper = { name: "String", }, }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String", + }, + }, + host: { + serializedName: "typeProperties.host", + type: { + name: "any", + }, + }, + port: { + serializedName: "typeProperties.port", + type: { + name: "any", + }, + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "any", + }, + }, + database: { + serializedName: "typeProperties.database", + type: { + name: "any", + }, + }, + sslMode: { + serializedName: "typeProperties.sslMode", + type: { + name: "any", + }, + }, + connectionTimeout: { + serializedName: "typeProperties.connectionTimeout", + type: { + name: "any", + }, + }, + commandTimeout: { + serializedName: "typeProperties.commandTimeout", + type: { + name: "any", + }, + }, }, }, }; @@ -15077,7 +15343,6 @@ export const PrestoLinkedService: coreClient.CompositeMapper = { }, serverVersion: { serializedName: "typeProperties.serverVersion", - required: true, type: { name: "any", }, @@ -15121,6 +15386,12 @@ export const PrestoLinkedService: coreClient.CompositeMapper = { name: "any", }, }, + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", + type: { + name: "any", + }, + }, trustedCertPath: { serializedName: "typeProperties.trustedCertPath", type: { @@ -16926,12 +17197,24 @@ export const SnowflakeV2LinkedService: coreClient.CompositeMapper = { className: "SecretBase", }, }, + role: { + serializedName: "typeProperties.role", + type: { + name: "any", + }, + }, host: { serializedName: "typeProperties.host", type: { name: "any", }, }, + schema: { + serializedName: "typeProperties.schema", + type: { + name: "any", + }, + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -17044,7 +17327,7 @@ export const AzureSynapseArtifactsLinkedService: coreClient.CompositeMapper = { }; export const LakeHouseLinkedService: coreClient.CompositeMapper = { - serializedName: "LakeHouse", + serializedName: "Lakehouse", type: { name: "Composite", className: "LakeHouseLinkedService", @@ -20072,7 +20355,7 @@ export const AzureDatabricksDeltaLakeDataset: coreClient.CompositeMapper = { }; export const LakeHouseTableDataset: coreClient.CompositeMapper = { - serializedName: "LakeHouseTable", + serializedName: "LakehouseTable", type: { name: "Composite", className: "LakeHouseTableDataset", @@ -20192,6 +20475,12 @@ export const ServiceNowV2ObjectDataset: coreClient.CompositeMapper = { name: "any", }, }, + valueType: { + serializedName: "typeProperties.valueType", + type: { + name: "String", + }, + }, }, }, }; @@ -24893,6 +25182,27 @@ export const RestSink: coreClient.CompositeMapper = { }, }; +export const TeradataSink: coreClient.CompositeMapper = { + serializedName: "TeradataSink", + type: { + name: "Composite", + className: "TeradataSink", + uberParent: "CopySink", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySink.type.polymorphicDiscriminator, + modelProperties: { + ...CopySink.type.modelProperties, + importSettings: { + serializedName: "importSettings", + type: { + name: "Composite", + className: "TeradataImportCommand", + }, + }, + }, + }, +}; + export const AzurePostgreSqlSink: coreClient.CompositeMapper = { serializedName: "AzurePostgreSqlSink", type: { @@ -24909,6 +25219,19 @@ export const AzurePostgreSqlSink: coreClient.CompositeMapper = { name: "any", }, }, + writeMethod: { + serializedName: "writeMethod", + type: { + name: "String", + }, + }, + upsertSettings: { + serializedName: "upsertSettings", + type: { + name: "Composite", + className: "AzurePostgreSqlSinkUpsertSettings", + }, + }, }, }, }; @@ -25892,6 +26215,18 @@ export const DynamicsSink: coreClient.CompositeMapper = { name: "any", }, }, + bypassBusinessLogicExecution: { + serializedName: "bypassBusinessLogicExecution", + type: { + name: "any", + }, + }, + bypassPowerAutomateFlows: { + serializedName: "bypassPowerAutomateFlows", + type: { + name: "any", + }, + }, }, }, }; @@ -25925,6 +26260,18 @@ export const DynamicsCrmSink: coreClient.CompositeMapper = { name: "any", }, }, + bypassBusinessLogicExecution: { + serializedName: "bypassBusinessLogicExecution", + type: { + name: "any", + }, + }, + bypassPowerAutomateFlows: { + serializedName: "bypassPowerAutomateFlows", + type: { + name: "any", + }, + }, }, }, }; @@ -25958,6 +26305,18 @@ export const CommonDataServiceForAppsSink: coreClient.CompositeMapper = { name: "any", }, }, + bypassBusinessLogicExecution: { + serializedName: "bypassBusinessLogicExecution", + type: { + name: "any", + }, + }, + bypassPowerAutomateFlows: { + serializedName: "bypassPowerAutomateFlows", + type: { + name: "any", + }, + }, }, }, }; @@ -26214,32 +26573,18 @@ export const SalesforceServiceCloudV2Sink: coreClient.CompositeMapper = { }, }; -export const SnowflakeExportCopyCommand: coreClient.CompositeMapper = { - serializedName: "SnowflakeExportCopyCommand", +export const TeradataImportCommand: coreClient.CompositeMapper = { + serializedName: "TeradataImportCommand", type: { name: "Composite", - className: "SnowflakeExportCopyCommand", - uberParent: "ExportSettings", + className: "TeradataImportCommand", + uberParent: "ImportSettings", additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: ExportSettings.type.polymorphicDiscriminator, + polymorphicDiscriminator: ImportSettings.type.polymorphicDiscriminator, modelProperties: { - ...ExportSettings.type.modelProperties, - additionalCopyOptions: { - serializedName: "additionalCopyOptions", - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, + ...ImportSettings.type.modelProperties, additionalFormatOptions: { serializedName: "additionalFormatOptions", - type: { - name: "Dictionary", - value: { type: { name: "any" } }, - }, - }, - storageIntegration: { - serializedName: "storageIntegration", type: { name: "any", }, @@ -26248,33 +26593,6 @@ export const SnowflakeExportCopyCommand: coreClient.CompositeMapper = { }, }; -export const AzureDatabricksDeltaLakeExportCommand: coreClient.CompositeMapper = - { - serializedName: "AzureDatabricksDeltaLakeExportCommand", - type: { - name: "Composite", - className: "AzureDatabricksDeltaLakeExportCommand", - uberParent: "ExportSettings", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: ExportSettings.type.polymorphicDiscriminator, - modelProperties: { - ...ExportSettings.type.modelProperties, - dateFormat: { - serializedName: "dateFormat", - type: { - name: "any", - }, - }, - timestampFormat: { - serializedName: "timestampFormat", - type: { - name: "any", - }, - }, - }, - }, - }; - export const AzureDatabricksDeltaLakeImportCommand: coreClient.CompositeMapper = { serializedName: "AzureDatabricksDeltaLakeImportCommand", @@ -26336,6 +26654,67 @@ export const SnowflakeImportCopyCommand: coreClient.CompositeMapper = { }, }; +export const SnowflakeExportCopyCommand: coreClient.CompositeMapper = { + serializedName: "SnowflakeExportCopyCommand", + type: { + name: "Composite", + className: "SnowflakeExportCopyCommand", + uberParent: "ExportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: ExportSettings.type.polymorphicDiscriminator, + modelProperties: { + ...ExportSettings.type.modelProperties, + additionalCopyOptions: { + serializedName: "additionalCopyOptions", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + additionalFormatOptions: { + serializedName: "additionalFormatOptions", + type: { + name: "Dictionary", + value: { type: { name: "any" } }, + }, + }, + storageIntegration: { + serializedName: "storageIntegration", + type: { + name: "any", + }, + }, + }, + }, +}; + +export const AzureDatabricksDeltaLakeExportCommand: coreClient.CompositeMapper = + { + serializedName: "AzureDatabricksDeltaLakeExportCommand", + type: { + name: "Composite", + className: "AzureDatabricksDeltaLakeExportCommand", + uberParent: "ExportSettings", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: ExportSettings.type.polymorphicDiscriminator, + modelProperties: { + ...ExportSettings.type.modelProperties, + dateFormat: { + serializedName: "dateFormat", + type: { + name: "any", + }, + }, + timestampFormat: { + serializedName: "timestampFormat", + type: { + name: "any", + }, + }, + }, + }, + }; + export const TabularTranslator: coreClient.CompositeMapper = { serializedName: "TabularTranslator", type: { @@ -28448,6 +28827,12 @@ export const ScriptActivity: coreClient.CompositeMapper = { className: "ScriptActivityTypePropertiesLogSettings", }, }, + returnMultistatementResult: { + serializedName: "typeProperties.returnMultistatementResult", + type: { + name: "any", + }, + }, }, }, }; @@ -30670,8 +31055,8 @@ export let discriminators = { FormatWriteSettings: FormatWriteSettings, CopySource: CopySource, CopySink: CopySink, - ExportSettings: ExportSettings, ImportSettings: ImportSettings, + ExportSettings: ExportSettings, CopyTranslator: CopyTranslator, DependencyReference: DependencyReference, "FactoryRepoConfiguration.FactoryVSTSConfiguration": FactoryVstsConfiguration, @@ -30804,7 +31189,7 @@ export let discriminators = { "LinkedService.SnowflakeV2": SnowflakeV2LinkedService, "LinkedService.SharePointOnlineList": SharePointOnlineListLinkedService, "LinkedService.AzureSynapseArtifacts": AzureSynapseArtifactsLinkedService, - "LinkedService.LakeHouse": LakeHouseLinkedService, + "LinkedService.Lakehouse": LakeHouseLinkedService, "LinkedService.SalesforceV2": SalesforceV2LinkedService, "LinkedService.SalesforceServiceCloudV2": SalesforceServiceCloudV2LinkedService, @@ -30912,7 +31297,7 @@ export let discriminators = { "Dataset.SnowflakeV2Table": SnowflakeV2Dataset, "Dataset.SharePointOnlineListResource": SharePointOnlineListResourceDataset, "Dataset.AzureDatabricksDeltaLakeDataset": AzureDatabricksDeltaLakeDataset, - "Dataset.LakeHouseTable": LakeHouseTableDataset, + "Dataset.LakehouseTable": LakeHouseTableDataset, "Dataset.SalesforceV2Object": SalesforceV2ObjectDataset, "Dataset.SalesforceServiceCloudV2Object": SalesforceServiceCloudV2ObjectDataset, @@ -31050,6 +31435,7 @@ export let discriminators = { "CopySink.JsonSink": JsonSink, "CopySink.OrcSink": OrcSink, "CopySink.RestSink": RestSink, + "CopySink.TeradataSink": TeradataSink, "CopySink.AzurePostgreSqlSink": AzurePostgreSqlSink, "CopySink.AzureMySqlSink": AzureMySqlSink, "CopySink.AzureDatabricksDeltaLakeSink": AzureDatabricksDeltaLakeSink, @@ -31091,12 +31477,13 @@ export let discriminators = { "CopySink.LakeHouseTableSink": LakeHouseTableSink, "CopySink.SalesforceV2Sink": SalesforceV2Sink, "CopySink.SalesforceServiceCloudV2Sink": SalesforceServiceCloudV2Sink, - "ExportSettings.SnowflakeExportCopyCommand": SnowflakeExportCopyCommand, - "ExportSettings.AzureDatabricksDeltaLakeExportCommand": - AzureDatabricksDeltaLakeExportCommand, + "ImportSettings.TeradataImportCommand": TeradataImportCommand, "ImportSettings.AzureDatabricksDeltaLakeImportCommand": AzureDatabricksDeltaLakeImportCommand, "ImportSettings.SnowflakeImportCopyCommand": SnowflakeImportCopyCommand, + "ExportSettings.SnowflakeExportCopyCommand": SnowflakeExportCopyCommand, + "ExportSettings.AzureDatabricksDeltaLakeExportCommand": + AzureDatabricksDeltaLakeExportCommand, "CopyTranslator.TabularTranslator": TabularTranslator, "DependencyReference.TriggerDependencyReference": TriggerDependencyReference, "DependencyReference.SelfDependencyTumblingWindowTriggerReference": diff --git a/sdk/datafactory/arm-datafactory/src/models/parameters.ts b/sdk/datafactory/arm-datafactory/src/models/parameters.ts index 88e2e69ed26b..3a2c1bc33c40 100644 --- a/sdk/datafactory/arm-datafactory/src/models/parameters.ts +++ b/sdk/datafactory/arm-datafactory/src/models/parameters.ts @@ -93,17 +93,6 @@ export const nextLink: OperationURLParameter = { skipEncoding: true, }; -export const subscriptionId: OperationURLParameter = { - parameterPath: "subscriptionId", - mapper: { - serializedName: "subscriptionId", - required: true, - type: { - name: "String", - }, - }, -}; - export const contentType: OperationParameter = { parameterPath: ["options", "contentType"], mapper: { @@ -121,6 +110,17 @@ export const factoryRepoUpdate: OperationParameter = { mapper: FactoryRepoUpdateMapper, }; +export const subscriptionId: OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + serializedName: "subscriptionId", + required: true, + type: { + name: "String", + }, + }, +}; + export const locationId: OperationURLParameter = { parameterPath: "locationId", mapper: { diff --git a/sdk/datafactory/arm-datafactory/src/operations/factories.ts b/sdk/datafactory/arm-datafactory/src/operations/factories.ts index ba8157825d3c..efcca777d43e 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/factories.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/factories.ts @@ -15,9 +15,6 @@ import * as Parameters from "../models/parameters.js"; import { DataFactoryManagementClient } from "../dataFactoryManagementClient.js"; import { Factory, - FactoriesListNextOptionalParams, - FactoriesListOptionalParams, - FactoriesListResponse, FactoriesListByResourceGroupNextOptionalParams, FactoriesListByResourceGroupOptionalParams, FactoriesListByResourceGroupResponse, @@ -38,7 +35,6 @@ import { UserAccessPolicy, FactoriesGetDataPlaneAccessOptionalParams, FactoriesGetDataPlaneAccessResponse, - FactoriesListNextResponse, FactoriesListByResourceGroupNextResponse, } from "../models/index.js"; @@ -55,60 +51,6 @@ export class FactoriesImpl implements Factories { this.client = client; } - /** - * Lists factories under the specified subscription. - * @param options The options parameters. - */ - public list( - options?: FactoriesListOptionalParams, - ): PagedAsyncIterableIterator { - const iter = this.listPagingAll(options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings?: PageSettings) => { - if (settings?.maxPageSize) { - throw new Error("maxPageSize is not supported by this operation."); - } - return this.listPagingPage(options, settings); - }, - }; - } - - private async *listPagingPage( - options?: FactoriesListOptionalParams, - settings?: PageSettings, - ): AsyncIterableIterator { - let result: FactoriesListResponse; - let continuationToken = settings?.continuationToken; - if (!continuationToken) { - result = await this._list(options); - let page = result.value || []; - continuationToken = result.nextLink; - setContinuationToken(page, continuationToken); - yield page; - } - while (continuationToken) { - result = await this._listNext(continuationToken, options); - continuationToken = result.nextLink; - let page = result.value || []; - setContinuationToken(page, continuationToken); - yield page; - } - } - - private async *listPagingAll( - options?: FactoriesListOptionalParams, - ): AsyncIterableIterator { - for await (const page of this.listPagingPage(options)) { - yield* page; - } - } - /** * Lists factories. * @param resourceGroupName The resource group name. @@ -178,16 +120,6 @@ export class FactoriesImpl implements Factories { } } - /** - * Lists factories under the specified subscription. - * @param options The options parameters. - */ - private _list( - options?: FactoriesListOptionalParams, - ): Promise { - return this.client.sendOperationRequest({ options }, listOperationSpec); - } - /** * Updates a factory's repo information. * @param locationId The location identifier. @@ -330,21 +262,6 @@ export class FactoriesImpl implements Factories { ); } - /** - * ListNext - * @param nextLink The nextLink from the previous successful call to the List method. - * @param options The options parameters. - */ - private _listNext( - nextLink: string, - options?: FactoriesListNextOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listNextOperationSpec, - ); - } - /** * ListByResourceGroupNext * @param resourceGroupName The resource group name. @@ -365,22 +282,6 @@ export class FactoriesImpl implements Factories { // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const listOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.FactoryListResponse, - }, - default: { - bodyMapper: Mappers.CloudError, - }, - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer, -}; const configureFactoryRepoOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/locations/{locationId}/configureFactoryRepo", httpMethod: "POST", @@ -561,25 +462,6 @@ const getDataPlaneAccessOperationSpec: coreClient.OperationSpec = { mediaType: "json", serializer, }; -const listNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.FactoryListResponse, - }, - default: { - bodyMapper: Mappers.CloudError, - }, - }, - urlParameters: [ - Parameters.$host, - Parameters.nextLink, - Parameters.subscriptionId, - ], - headerParameters: [Parameters.accept], - serializer, -}; const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", diff --git a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts index 979a8d04c128..6d41ab18cd87 100644 --- a/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts +++ b/sdk/datafactory/arm-datafactory/src/operationsInterfaces/factories.ts @@ -9,7 +9,6 @@ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Factory, - FactoriesListOptionalParams, FactoriesListByResourceGroupOptionalParams, FactoryRepoUpdate, FactoriesConfigureFactoryRepoOptionalParams, @@ -33,13 +32,6 @@ import { /// /** Interface representing a Factories. */ export interface Factories { - /** - * Lists factories under the specified subscription. - * @param options The options parameters. - */ - list( - options?: FactoriesListOptionalParams, - ): PagedAsyncIterableIterator; /** * Lists factories. * @param resourceGroupName The resource group name. diff --git a/sdk/datafactory/arm-datafactory/test/sampleTest.ts b/sdk/datafactory/arm-datafactory/test/sampleTest.ts new file mode 100644 index 000000000000..a1cf7c25afd2 --- /dev/null +++ b/sdk/datafactory/arm-datafactory/test/sampleTest.ts @@ -0,0 +1,40 @@ +/* + * 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, +} from "@azure-tools/test-recorder"; + +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 (ctx) => { + recorder = new Recorder(ctx); + await recorder.start(recorderOptions); + }); + + afterEach(async () => { + await recorder.stop(); + }); + + it("sample test", async function () { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/datafactory/arm-datafactory/test/snippets.spec.ts b/sdk/datafactory/arm-datafactory/test/snippets.spec.ts index b429c5e26d72..29624c49248f 100644 --- a/sdk/datafactory/arm-datafactory/test/snippets.spec.ts +++ b/sdk/datafactory/arm-datafactory/test/snippets.spec.ts @@ -1,15 +1,26 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. +/* + * 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 { DataFactoryManagementClient } from "../src/index.js"; -import { DefaultAzureCredential, InteractiveBrowserCredential } from "@azure/identity"; +import { + DefaultAzureCredential, + InteractiveBrowserCredential, +} from "@azure/identity"; import { setLogLevel } from "@azure/logger"; import { describe, it } from "vitest"; describe("snippets", () => { it("ReadmeSampleCreateClient_Node", async () => { const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const client = new DataFactoryManagementClient(new DefaultAzureCredential(), subscriptionId); + const client = new DataFactoryManagementClient( + new DefaultAzureCredential(), + subscriptionId, + ); }); it("ReadmeSampleCreateClient_Browser", async () => { diff --git a/sdk/datafactory/arm-datafactory/tsconfig.browser.config.json b/sdk/datafactory/arm-datafactory/tsconfig.browser.config.json index 75871518e3a0..0c8bafa97126 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.browser.config.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.browser.config.json @@ -1,3 +1,6 @@ { - "extends": ["./tsconfig.test.json", "../../../tsconfig.browser.base.json"] + "extends": [ + "./tsconfig.test.json", + "../../../tsconfig.browser.base.json" + ] } diff --git a/sdk/datafactory/arm-datafactory/tsconfig.json b/sdk/datafactory/arm-datafactory/tsconfig.json index 19ceb382b521..59ea83c046bf 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.json @@ -3,11 +3,8 @@ { "path": "./tsconfig.src.json" }, - { - "path": "./tsconfig.samples.json" - }, { "path": "./tsconfig.test.json" } ] -} +} \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/tsconfig.samples.json b/sdk/datafactory/arm-datafactory/tsconfig.samples.json index 32f7e1711a52..e21ea547dfc9 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.samples.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.samples.json @@ -2,7 +2,9 @@ "extends": "../../../tsconfig.samples.base.json", "compilerOptions": { "paths": { - "@azure/arm-datafactory": ["./dist/esm"] + "@azure/arm-datafactory": [ + "./dist/esm" + ] } } } diff --git a/sdk/datafactory/arm-datafactory/tsconfig.test.json b/sdk/datafactory/arm-datafactory/tsconfig.test.json index 290ca214aebc..3c2b783a8c1b 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.test.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.test.json @@ -1,3 +1,6 @@ { - "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] + "extends": [ + "./tsconfig.src.json", + "../../../tsconfig.test.base.json" + ] }