From df7ebd653f0bcf822a6f834fd41abf52ea99c3c0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 15 Jun 2022 10:37:09 +0000 Subject: [PATCH] CodeGen from PR 19455 in Azure/azure-rest-api-specs Merge d12feeb12cc76ed6a96588fda27774653868fb3f into aa42d66d5b919ea80c8dde04ae19d30a9c974d7d --- sdk/datafactory/arm-datafactory/CHANGELOG.md | 21 +- sdk/datafactory/arm-datafactory/_meta.json | 8 +- sdk/datafactory/arm-datafactory/package.json | 16 +- .../review/arm-datafactory.api.md | 64 +++- .../src/dataFactoryManagementClient.ts | 2 +- .../arm-datafactory/src/models/index.ts | 131 ++++++-- .../arm-datafactory/src/models/mappers.ts | 301 ++++++++++++++---- sdk/datafactory/arm-datafactory/tsconfig.json | 10 +- 8 files changed, 432 insertions(+), 121 deletions(-) diff --git a/sdk/datafactory/arm-datafactory/CHANGELOG.md b/sdk/datafactory/arm-datafactory/CHANGELOG.md index c5b7a70ad1c0..0596b670659a 100644 --- a/sdk/datafactory/arm-datafactory/CHANGELOG.md +++ b/sdk/datafactory/arm-datafactory/CHANGELOG.md @@ -1,15 +1,16 @@ # Release History + +## 10.7.0 (2022-06-15) + +**Features** -## 10.6.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + - Added Type Alias SapOdpLinkedService + - Added Type Alias SapOdpResourceDataset + - Added Type Alias SapOdpSource + - Added Type Alias Type + - Added Enum KnownType + + ## 10.6.0 (2022-06-07) **Features** diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json index fedfb12b3bba..2cfbe12c4b97 100644 --- a/sdk/datafactory/arm-datafactory/_meta.json +++ b/sdk/datafactory/arm-datafactory/_meta.json @@ -1,8 +1,8 @@ { - "commit": "18feac466ef3407c59f61c61275f9c25f9b1cf19", + "commit": "1b797ff996b54955cb0064b1d73e1ef101c4e817", "readme": "specification/datafactory/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/Users/zhangqiaoqiao/work/code/azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=../autorest.typescript --generate-sample=true", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --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.0-alpha.19.20220425.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.2.1", - "use": "../autorest.typescript" + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.2", + "use": "@autorest/typescript@6.0.0-alpha.19.20220425.1" } \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index c3e2ee866bbc..7ab680658864 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for DataFactoryManagementClient.", - "version": "10.6.1", + "version": "10.7.0", "engines": { "node": ">=12.0.0" }, @@ -43,8 +43,6 @@ "@azure-tools/test-recorder": "^2.0.0", "@azure-tools/test-credential": "^1.0.0", "mocha": "^7.1.1", - "@types/chai": "^4.2.8", - "chai": "^4.2.0", "cross-env": "^7.0.2", "@azure/dev-tool": "^1.0.0" }, @@ -110,13 +108,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview" - } -} + "autoPublish": true +} \ 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 4b9e20690a31..d0fbccc282d4 100644 --- a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md +++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md @@ -1345,7 +1345,7 @@ export interface CopySource { maxConcurrentConnections?: any; sourceRetryCount?: any; sourceRetryWait?: any; - type: "AvroSource" | "ExcelSource" | "ParquetSource" | "DelimitedTextSource" | "JsonSource" | "XmlSource" | "OrcSource" | "BinarySource" | "TabularSource" | "AzureTableSource" | "BlobSource" | "DocumentDbCollectionSource" | "CosmosDbSqlApiSource" | "DynamicsSource" | "DynamicsCrmSource" | "CommonDataServiceForAppsSource" | "RelationalSource" | "InformixSource" | "MicrosoftAccessSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "ODataSource" | "SalesforceSource" | "SalesforceServiceCloudSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapTableSource" | "RestSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "FileSystemSource" | "HdfsSource" | "AzureMySqlSource" | "AzureDataExplorerSource" | "OracleSource" | "AmazonRdsForOracleSource" | "TeradataSource" | "WebSource" | "CassandraSource" | "MongoDbSource" | "MongoDbAtlasSource" | "MongoDbV2Source" | "CosmosDbMongoDbApiSource" | "Office365Source" | "AzureDataLakeStoreSource" | "AzureBlobFSSource" | "HttpSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "SnowflakeSource" | "AzureDatabricksDeltaLakeSource" | "SharePointOnlineListSource"; + type: "AvroSource" | "ExcelSource" | "ParquetSource" | "DelimitedTextSource" | "JsonSource" | "XmlSource" | "OrcSource" | "BinarySource" | "TabularSource" | "AzureTableSource" | "BlobSource" | "DocumentDbCollectionSource" | "CosmosDbSqlApiSource" | "DynamicsSource" | "DynamicsCrmSource" | "CommonDataServiceForAppsSource" | "RelationalSource" | "InformixSource" | "MicrosoftAccessSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "ODataSource" | "SalesforceSource" | "SalesforceServiceCloudSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "RestSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "FileSystemSource" | "HdfsSource" | "AzureMySqlSource" | "AzureDataExplorerSource" | "OracleSource" | "AmazonRdsForOracleSource" | "TeradataSource" | "WebSource" | "CassandraSource" | "MongoDbSource" | "MongoDbAtlasSource" | "MongoDbV2Source" | "CosmosDbMongoDbApiSource" | "Office365Source" | "AzureDataLakeStoreSource" | "AzureBlobFSSource" | "HttpSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource" | "SnowflakeSource" | "AzureDatabricksDeltaLakeSource" | "SharePointOnlineListSource"; } // @public (undocumented) @@ -1914,7 +1914,7 @@ export interface Dataset { }; schema?: any; structure?: any; - type: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset"; + type: "AmazonS3Object" | "Avro" | "Excel" | "Parquet" | "DelimitedText" | "Json" | "Xml" | "Orc" | "Binary" | "AzureBlob" | "AzureTable" | "AzureSqlTable" | "AzureSqlMITable" | "AzureSqlDWTable" | "CassandraTable" | "CustomDataset" | "CosmosDbSqlApiCollection" | "DocumentDbCollection" | "DynamicsEntity" | "DynamicsCrmEntity" | "CommonDataServiceForAppsEntity" | "AzureDataLakeStoreFile" | "AzureBlobFSFile" | "Office365Table" | "FileShare" | "MongoDbCollection" | "MongoDbAtlasCollection" | "MongoDbV2Collection" | "CosmosDbMongoDbApiCollection" | "ODataResource" | "OracleTable" | "AmazonRdsForOracleTable" | "TeradataTable" | "AzureMySqlTable" | "AmazonRedshiftTable" | "Db2Table" | "RelationalTable" | "InformixTable" | "OdbcTable" | "MySqlTable" | "PostgreSqlTable" | "MicrosoftAccessTable" | "SalesforceObject" | "SalesforceServiceCloudObject" | "SybaseTable" | "SapBwCube" | "SapCloudForCustomerResource" | "SapEccResource" | "SapHanaTable" | "SapOpenHubTable" | "SqlServerTable" | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" | "AmazonMWSObject" | "AzurePostgreSqlTable" | "ConcurObject" | "CouchbaseTable" | "DrillTable" | "EloquaObject" | "GoogleBigQueryObject" | "GreenplumTable" | "HBaseObject" | "HiveObject" | "HubspotObject" | "ImpalaObject" | "JiraObject" | "MagentoObject" | "MariaDBTable" | "AzureMariaDBTable" | "MarketoObject" | "PaypalObject" | "PhoenixObject" | "PrestoObject" | "QuickBooksObject" | "ServiceNowObject" | "ShopifyObject" | "SparkObject" | "SquareObject" | "XeroObject" | "ZohoObject" | "NetezzaTable" | "VerticaTable" | "SalesforceMarketingCloudObject" | "ResponsysObject" | "DynamicsAXResource" | "OracleServiceCloudObject" | "AzureDataExplorerTable" | "GoogleAdWordsObject" | "SnowflakeTable" | "SharePointOnlineListResource" | "AzureDatabricksDeltaLakeDataset"; } // @public @@ -2035,7 +2035,7 @@ export interface DatasetStorageFormat { export type DatasetStorageFormatUnion = DatasetStorageFormat | TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat; // @public (undocumented) -export type DatasetUnion = Dataset | AmazonS3Dataset | AvroDataset | ExcelDataset | ParquetDataset | DelimitedTextDataset | JsonDataset | XmlDataset | OrcDataset | BinaryDataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset | AzureSqlMITableDataset | AzureSqlDWTableDataset | CassandraTableDataset | CustomDataset | CosmosDbSqlApiCollectionDataset | DocumentDbCollectionDataset | DynamicsEntityDataset | DynamicsCrmEntityDataset | CommonDataServiceForAppsEntityDataset | AzureDataLakeStoreDataset | AzureBlobFSDataset | Office365Dataset | FileShareDataset | MongoDbCollectionDataset | MongoDbAtlasCollectionDataset | MongoDbV2CollectionDataset | CosmosDbMongoDbApiCollectionDataset | ODataResourceDataset | OracleTableDataset | AmazonRdsForOracleTableDataset | TeradataTableDataset | AzureMySqlTableDataset | AmazonRedshiftTableDataset | Db2TableDataset | RelationalTableDataset | InformixTableDataset | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset | SalesforceServiceCloudObjectDataset | SybaseTableDataset | SapBwCubeDataset | SapCloudForCustomerResourceDataset | SapEccResourceDataset | SapHanaTableDataset | SapOpenHubTableDataset | SqlServerTableDataset | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset | AmazonMWSObjectDataset | AzurePostgreSqlTableDataset | ConcurObjectDataset | CouchbaseTableDataset | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset | HubspotObjectDataset | ImpalaObjectDataset | JiraObjectDataset | MagentoObjectDataset | MariaDBTableDataset | AzureMariaDBTableDataset | MarketoObjectDataset | PaypalObjectDataset | PhoenixObjectDataset | PrestoObjectDataset | QuickBooksObjectDataset | ServiceNowObjectDataset | ShopifyObjectDataset | SparkObjectDataset | SquareObjectDataset | XeroObjectDataset | ZohoObjectDataset | NetezzaTableDataset | VerticaTableDataset | SalesforceMarketingCloudObjectDataset | ResponsysObjectDataset | DynamicsAXResourceDataset | OracleServiceCloudObjectDataset | AzureDataExplorerTableDataset | GoogleAdWordsObjectDataset | SnowflakeDataset | SharePointOnlineListResourceDataset | AzureDatabricksDeltaLakeDataset; +export type DatasetUnion = Dataset | AmazonS3Dataset | AvroDataset | ExcelDataset | ParquetDataset | DelimitedTextDataset | JsonDataset | XmlDataset | OrcDataset | BinaryDataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset | AzureSqlMITableDataset | AzureSqlDWTableDataset | CassandraTableDataset | CustomDataset | CosmosDbSqlApiCollectionDataset | DocumentDbCollectionDataset | DynamicsEntityDataset | DynamicsCrmEntityDataset | CommonDataServiceForAppsEntityDataset | AzureDataLakeStoreDataset | AzureBlobFSDataset | Office365Dataset | FileShareDataset | MongoDbCollectionDataset | MongoDbAtlasCollectionDataset | MongoDbV2CollectionDataset | CosmosDbMongoDbApiCollectionDataset | ODataResourceDataset | OracleTableDataset | AmazonRdsForOracleTableDataset | TeradataTableDataset | AzureMySqlTableDataset | AmazonRedshiftTableDataset | Db2TableDataset | RelationalTableDataset | InformixTableDataset | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset | SalesforceServiceCloudObjectDataset | SybaseTableDataset | SapBwCubeDataset | SapCloudForCustomerResourceDataset | SapEccResourceDataset | SapHanaTableDataset | SapOpenHubTableDataset | SqlServerTableDataset | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset | SapOdpResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset | AmazonMWSObjectDataset | AzurePostgreSqlTableDataset | ConcurObjectDataset | CouchbaseTableDataset | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset | HubspotObjectDataset | ImpalaObjectDataset | JiraObjectDataset | MagentoObjectDataset | MariaDBTableDataset | AzureMariaDBTableDataset | MarketoObjectDataset | PaypalObjectDataset | PhoenixObjectDataset | PrestoObjectDataset | QuickBooksObjectDataset | ServiceNowObjectDataset | ShopifyObjectDataset | SparkObjectDataset | SquareObjectDataset | XeroObjectDataset | ZohoObjectDataset | NetezzaTableDataset | VerticaTableDataset | SalesforceMarketingCloudObjectDataset | ResponsysObjectDataset | DynamicsAXResourceDataset | OracleServiceCloudObjectDataset | AzureDataExplorerTableDataset | GoogleAdWordsObjectDataset | SnowflakeDataset | SharePointOnlineListResourceDataset | AzureDatabricksDeltaLakeDataset; // @public export type DataworldLinkedService = LinkedService & { @@ -5070,6 +5070,12 @@ export enum KnownTumblingWindowFrequency { Month = "Month" } +// @public +export enum KnownType { + // (undocumented) + LinkedServiceReference = "LinkedServiceReference" +} + // @public export enum KnownVariableType { // (undocumented) @@ -5160,7 +5166,7 @@ export interface LinkedService { parameters?: { [propertyName: string]: ParameterSpecification; }; - type: "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "AmazonS3Compatible" | "OracleCloudStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "RestService" | "AmazonS3" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "Dataworld" | "AppFigures" | "Asana" | "Twilio" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SharePointOnlineList"; + type: "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "AmazonS3Compatible" | "OracleCloudStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "SapOdp" | "RestService" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "Dataworld" | "AppFigures" | "Asana" | "Twilio" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SharePointOnlineList"; } // @public @@ -5180,7 +5186,7 @@ export interface LinkedServiceReference { [propertyName: string]: any; }; referenceName: string; - type: "LinkedServiceReference"; + type: Type; } // @public @@ -5231,7 +5237,7 @@ export interface LinkedServicesListByFactoryOptionalParams extends coreClient.Op export type LinkedServicesListByFactoryResponse = LinkedServiceListResponse; // @public (undocumented) -export type LinkedServiceUnion = LinkedService | AzureStorageLinkedService | AzureBlobStorageLinkedService | AzureTableStorageLinkedService | AzureSqlDWLinkedService | SqlServerLinkedService | AmazonRdsForSqlServerLinkedService | AzureSqlDatabaseLinkedService | AzureSqlMILinkedService | AzureBatchLinkedService | AzureKeyVaultLinkedService | CosmosDbLinkedService | DynamicsLinkedService | DynamicsCrmLinkedService | CommonDataServiceForAppsLinkedService | HDInsightLinkedService | FileServerLinkedService | AzureFileStorageLinkedService | AmazonS3CompatibleLinkedService | OracleCloudStorageLinkedService | GoogleCloudStorageLinkedService | OracleLinkedService | AmazonRdsForOracleLinkedService | AzureMySqlLinkedService | MySqlLinkedService | PostgreSqlLinkedService | SybaseLinkedService | Db2LinkedService | TeradataLinkedService | AzureMLLinkedService | AzureMLServiceLinkedService | OdbcLinkedService | InformixLinkedService | MicrosoftAccessLinkedService | HdfsLinkedService | ODataLinkedService | WebLinkedService | CassandraLinkedService | MongoDbLinkedService | MongoDbAtlasLinkedService | MongoDbV2LinkedService | CosmosDbMongoDbApiLinkedService | AzureDataLakeStoreLinkedService | AzureBlobFSLinkedService | Office365LinkedService | SalesforceLinkedService | SalesforceServiceCloudLinkedService | SapCloudForCustomerLinkedService | SapEccLinkedService | SapOpenHubLinkedService | RestServiceLinkedService | AmazonS3LinkedService | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService | ZendeskLinkedService | DataworldLinkedService | AppFiguresLinkedService | AsanaLinkedService | TwilioLinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService | AzureSearchLinkedService | HttpLinkedService | FtpServerLinkedService | SftpServerLinkedService | SapBWLinkedService | SapHanaLinkedService | AmazonMWSLinkedService | AzurePostgreSqlLinkedService | ConcurLinkedService | CouchbaseLinkedService | DrillLinkedService | EloquaLinkedService | GoogleBigQueryLinkedService | GreenplumLinkedService | HBaseLinkedService | HiveLinkedService | HubspotLinkedService | ImpalaLinkedService | JiraLinkedService | MagentoLinkedService | MariaDBLinkedService | AzureMariaDBLinkedService | MarketoLinkedService | PaypalLinkedService | PhoenixLinkedService | PrestoLinkedService | QuickBooksLinkedService | ServiceNowLinkedService | ShopifyLinkedService | SparkLinkedService | SquareLinkedService | XeroLinkedService | ZohoLinkedService | VerticaLinkedService | NetezzaLinkedService | SalesforceMarketingCloudLinkedService | HDInsightOnDemandLinkedService | AzureDataLakeAnalyticsLinkedService | AzureDatabricksLinkedService | AzureDatabricksDeltaLakeLinkedService | ResponsysLinkedService | DynamicsAXLinkedService | OracleServiceCloudLinkedService | GoogleAdWordsLinkedService | SapTableLinkedService | AzureDataExplorerLinkedService | AzureFunctionLinkedService | SnowflakeLinkedService | SharePointOnlineListLinkedService; +export type LinkedServiceUnion = LinkedService | AzureStorageLinkedService | AzureBlobStorageLinkedService | AzureTableStorageLinkedService | AzureSqlDWLinkedService | SqlServerLinkedService | AmazonRdsForSqlServerLinkedService | AzureSqlDatabaseLinkedService | AzureSqlMILinkedService | AzureBatchLinkedService | AzureKeyVaultLinkedService | CosmosDbLinkedService | DynamicsLinkedService | DynamicsCrmLinkedService | CommonDataServiceForAppsLinkedService | HDInsightLinkedService | FileServerLinkedService | AzureFileStorageLinkedService | AmazonS3CompatibleLinkedService | OracleCloudStorageLinkedService | GoogleCloudStorageLinkedService | OracleLinkedService | AmazonRdsForOracleLinkedService | AzureMySqlLinkedService | MySqlLinkedService | PostgreSqlLinkedService | SybaseLinkedService | Db2LinkedService | TeradataLinkedService | AzureMLLinkedService | AzureMLServiceLinkedService | OdbcLinkedService | InformixLinkedService | MicrosoftAccessLinkedService | HdfsLinkedService | ODataLinkedService | WebLinkedService | CassandraLinkedService | MongoDbLinkedService | MongoDbAtlasLinkedService | MongoDbV2LinkedService | CosmosDbMongoDbApiLinkedService | AzureDataLakeStoreLinkedService | AzureBlobFSLinkedService | Office365LinkedService | SalesforceLinkedService | SalesforceServiceCloudLinkedService | SapCloudForCustomerLinkedService | SapEccLinkedService | SapOpenHubLinkedService | SapOdpLinkedService | RestServiceLinkedService | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService | ZendeskLinkedService | DataworldLinkedService | AppFiguresLinkedService | AsanaLinkedService | TwilioLinkedService | AmazonS3LinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService | AzureSearchLinkedService | HttpLinkedService | FtpServerLinkedService | SftpServerLinkedService | SapBWLinkedService | SapHanaLinkedService | AmazonMWSLinkedService | AzurePostgreSqlLinkedService | ConcurLinkedService | CouchbaseLinkedService | DrillLinkedService | EloquaLinkedService | GoogleBigQueryLinkedService | GreenplumLinkedService | HBaseLinkedService | HiveLinkedService | HubspotLinkedService | ImpalaLinkedService | JiraLinkedService | MagentoLinkedService | MariaDBLinkedService | AzureMariaDBLinkedService | MarketoLinkedService | PaypalLinkedService | PhoenixLinkedService | PrestoLinkedService | QuickBooksLinkedService | ServiceNowLinkedService | ShopifyLinkedService | SparkLinkedService | SquareLinkedService | XeroLinkedService | ZohoLinkedService | VerticaLinkedService | NetezzaLinkedService | SalesforceMarketingCloudLinkedService | HDInsightOnDemandLinkedService | AzureDataLakeAnalyticsLinkedService | AzureDatabricksLinkedService | AzureDatabricksDeltaLakeLinkedService | ResponsysLinkedService | DynamicsAXLinkedService | OracleServiceCloudLinkedService | GoogleAdWordsLinkedService | SapTableLinkedService | AzureDataExplorerLinkedService | AzureFunctionLinkedService | SnowflakeLinkedService | SharePointOnlineListLinkedService; // @public export interface LogLocationSettings { @@ -6956,6 +6962,45 @@ export type SapHanaTableDataset = Dataset & { table?: any; }; +// @public +export type SapOdpLinkedService = LinkedService & { + type: "SapOdp"; + server?: any; + systemNumber?: any; + clientId?: any; + language?: any; + systemId?: any; + userName?: any; + password?: SecretBaseUnion; + messageServer?: any; + messageServerService?: any; + sncMode?: any; + sncMyName?: any; + sncPartnerName?: any; + sncLibraryPath?: any; + sncQop?: any; + x509CertificatePath?: any; + logonGroup?: any; + subscriberName?: any; + encryptedCredential?: any; +}; + +// @public +export type SapOdpResourceDataset = Dataset & { + type: "SapOdpResource"; + context: any; + objectName: any; +}; + +// @public +export type SapOdpSource = TabularSource & { + type: "SapOdpSource"; + extractionMode?: any; + subscriberProcess?: any; + selection?: any; + projection?: any; +}; + // @public export type SapOpenHubLinkedService = LinkedService & { type: "SapOpenHub"; @@ -7883,13 +7928,13 @@ export type SybaseTableDataset = Dataset & { // @public export type TabularSource = CopySource & { - type: "TabularSource" | "AzureTableSource" | "InformixSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "SalesforceSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "AzureMySqlSource" | "TeradataSource" | "CassandraSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource"; + type: "TabularSource" | "AzureTableSource" | "InformixSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "SalesforceSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "SapOdpSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" | "AmazonRdsForSqlServerSource" | "AzureSqlSource" | "SqlMISource" | "SqlDWSource" | "AzureMySqlSource" | "TeradataSource" | "CassandraSource" | "AmazonMWSSource" | "AzurePostgreSqlSource" | "ConcurSource" | "CouchbaseSource" | "DrillSource" | "EloquaSource" | "GoogleBigQuerySource" | "GreenplumSource" | "HBaseSource" | "HiveSource" | "HubspotSource" | "ImpalaSource" | "JiraSource" | "MagentoSource" | "MariaDBSource" | "AzureMariaDBSource" | "MarketoSource" | "PaypalSource" | "PhoenixSource" | "PrestoSource" | "QuickBooksSource" | "ServiceNowSource" | "ShopifySource" | "SparkSource" | "SquareSource" | "XeroSource" | "ZohoSource" | "NetezzaSource" | "VerticaSource" | "SalesforceMarketingCloudSource" | "ResponsysSource" | "DynamicsAXSource" | "OracleServiceCloudSource" | "GoogleAdWordsSource" | "AmazonRedshiftSource"; queryTimeout?: any; additionalColumns?: any; }; // @public (undocumented) -export type TabularSourceUnion = TabularSource | AzureTableSource | InformixSource | Db2Source | OdbcSource | MySqlSource | PostgreSqlSource | SybaseSource | SapBwSource | SalesforceSource | SapCloudForCustomerSource | SapEccSource | SapHanaSource | SapOpenHubSource | SapTableSource | SqlSource | SqlServerSource | AmazonRdsForSqlServerSource | AzureSqlSource | SqlMISource | SqlDWSource | AzureMySqlSource | TeradataSource | CassandraSource | AmazonMWSSource | AzurePostgreSqlSource | ConcurSource | CouchbaseSource | DrillSource | EloquaSource | GoogleBigQuerySource | GreenplumSource | HBaseSource | HiveSource | HubspotSource | ImpalaSource | JiraSource | MagentoSource | MariaDBSource | AzureMariaDBSource | MarketoSource | PaypalSource | PhoenixSource | PrestoSource | QuickBooksSource | ServiceNowSource | ShopifySource | SparkSource | SquareSource | XeroSource | ZohoSource | NetezzaSource | VerticaSource | SalesforceMarketingCloudSource | ResponsysSource | DynamicsAXSource | OracleServiceCloudSource | GoogleAdWordsSource | AmazonRedshiftSource; +export type TabularSourceUnion = TabularSource | AzureTableSource | InformixSource | Db2Source | OdbcSource | MySqlSource | PostgreSqlSource | SybaseSource | SapBwSource | SalesforceSource | SapCloudForCustomerSource | SapEccSource | SapHanaSource | SapOpenHubSource | SapOdpSource | SapTableSource | SqlSource | SqlServerSource | AmazonRdsForSqlServerSource | AzureSqlSource | SqlMISource | SqlDWSource | AzureMySqlSource | TeradataSource | CassandraSource | AmazonMWSSource | AzurePostgreSqlSource | ConcurSource | CouchbaseSource | DrillSource | EloquaSource | GoogleBigQuerySource | GreenplumSource | HBaseSource | HiveSource | HubspotSource | ImpalaSource | JiraSource | MagentoSource | MariaDBSource | AzureMariaDBSource | MarketoSource | PaypalSource | PhoenixSource | PrestoSource | QuickBooksSource | ServiceNowSource | ShopifySource | SparkSource | SquareSource | XeroSource | ZohoSource | NetezzaSource | VerticaSource | SalesforceMarketingCloudSource | ResponsysSource | DynamicsAXSource | OracleServiceCloudSource | GoogleAdWordsSource | AmazonRedshiftSource; // @public export type TabularTranslator = CopyTranslator & { @@ -8242,6 +8287,9 @@ export type TwilioLinkedService = LinkedService & { password: SecretBaseUnion; }; +// @public +export type Type = string; + // @public export interface TypeConversionSettings { allowDataTruncation?: any; diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index 911c9e154776..9f5a03de3c9e 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -94,7 +94,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-datafactory/10.6.1`; + const packageDetails = `azsdk-js-arm-datafactory/10.7.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 3b30488fcf4a..aa2b604d35ae 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -77,8 +77,8 @@ export type LinkedServiceUnion = | SapCloudForCustomerLinkedService | SapEccLinkedService | SapOpenHubLinkedService + | SapOdpLinkedService | RestServiceLinkedService - | AmazonS3LinkedService | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService @@ -87,6 +87,7 @@ export type LinkedServiceUnion = | AppFiguresLinkedService | AsanaLinkedService | TwilioLinkedService + | AmazonS3LinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService | AzureSearchLinkedService @@ -194,6 +195,7 @@ export type DatasetUnion = | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset + | SapOdpResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset @@ -491,6 +493,7 @@ export type TabularSourceUnion = | SapEccSource | SapHanaSource | SapOpenHubSource + | SapOdpSource | SapTableSource | SqlSource | SqlServerSource @@ -1234,7 +1237,7 @@ export interface LinkedServiceListResponse { nextLink?: string; } -/** The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. */ +/** The nested object which contains the information and credential which can be used to connect with related store or compute resource. */ export interface LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ type: @@ -1287,8 +1290,8 @@ export interface LinkedService { | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" + | "SapOdp" | "RestService" - | "AmazonS3" | "TeamDesk" | "Quickbase" | "Smartsheet" @@ -1297,6 +1300,7 @@ export interface LinkedService { | "AppFigures" | "Asana" | "Twilio" + | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" @@ -1444,6 +1448,7 @@ export interface Dataset { | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" + | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" @@ -1506,7 +1511,7 @@ export interface Dataset { /** Linked service reference type. */ export interface LinkedServiceReference { /** Linked service reference type. */ - type: "LinkedServiceReference"; + type: Type; /** Reference LinkedService name. */ referenceName: string; /** Arguments for LinkedService. */ @@ -2972,6 +2977,7 @@ export interface CopySource { | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" + | "SapOdpSource" | "SapTableSource" | "RestSource" | "SqlSource" @@ -4915,6 +4921,48 @@ export type SapOpenHubLinkedService = LinkedService & { encryptedCredential?: any; }; +/** SAP ODP Linked Service. */ +export type SapOdpLinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapOdp"; + /** Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). */ + server?: any; + /** System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). */ + systemNumber?: any; + /** Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */ + clientId?: any; + /** Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). */ + language?: any; + /** SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). */ + systemId?: any; + /** Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ + userName?: any; + /** Password to access the SAP server where the table is located. */ + password?: SecretBaseUnion; + /** The hostname of the SAP Message Server. Type: string (or Expression with resultType string). */ + messageServer?: any; + /** The service name or port number of the Message Server. Type: string (or Expression with resultType string). */ + messageServerService?: any; + /** SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). */ + sncMode?: any; + /** Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ + sncMyName?: any; + /** Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ + sncPartnerName?: any; + /** External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). */ + sncLibraryPath?: any; + /** SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). */ + sncQop?: any; + /** SNC X509 certificate file path. Type: string (or Expression with resultType string). */ + x509CertificatePath?: any; + /** The Logon Group for the SAP System. Type: string (or Expression with resultType string). */ + logonGroup?: any; + /** The subscriber name. Type: string (or Expression with resultType string). */ + subscriberName?: any; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: any; +}; + /** Rest Service linked service. */ export type RestServiceLinkedService = LinkedService & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -4957,24 +5005,6 @@ export type RestServiceLinkedService = LinkedService & { scope?: any; }; -/** Linked service for Amazon S3. */ -export type AmazonS3LinkedService = LinkedService & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "AmazonS3"; - /** The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). */ - authenticationType?: any; - /** The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ - accessKeyId?: any; - /** The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */ - secretAccessKey?: SecretBaseUnion; - /** This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ - serviceUrl?: any; - /** The session token for the S3 temporary security credential. */ - sessionToken?: SecretBaseUnion; - /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; -}; - /** Linked service for TeamDesk. */ export type TeamDeskLinkedService = LinkedService & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -5075,6 +5105,24 @@ export type TwilioLinkedService = LinkedService & { password: SecretBaseUnion; }; +/** Linked service for Amazon S3. */ +export type AmazonS3LinkedService = LinkedService & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AmazonS3"; + /** The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). */ + authenticationType?: any; + /** The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */ + accessKeyId?: any; + /** The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */ + secretAccessKey?: SecretBaseUnion; + /** This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */ + serviceUrl?: any; + /** The session token for the S3 temporary security credential. */ + sessionToken?: SecretBaseUnion; + /** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */ + encryptedCredential?: any; +}; + /** Linked service for Amazon Redshift. */ export type AmazonRedshiftLinkedService = LinkedService & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -6805,6 +6853,16 @@ export type SapTableResourceDataset = Dataset & { tableName: any; }; +/** SAP ODP Resource properties. */ +export type SapOdpResourceDataset = Dataset & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapOdpResource"; + /** The context of the SAP ODP Object. Type: string (or Expression with resultType string). */ + context: any; + /** The name of the SAP ODP Object. Type: string (or Expression with resultType string). */ + objectName: any; +}; + /** The dataset points to a HTML table in the web page. */ export type WebTableDataset = Dataset & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -8306,6 +8364,7 @@ export type TabularSource = CopySource & { | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" + | "SapOdpSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" @@ -10033,6 +10092,20 @@ export type SapOpenHubSource = TabularSource & { sapDataColumnDelimiter?: any; }; +/** A copy activity source for SAP ODP source. */ +export type SapOdpSource = TabularSource & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "SapOdpSource"; + /** The extraction mode. Allowed value include: Full, Delta and Recovery. The default value is Full. Type: string (or Expression with resultType string). */ + extractionMode?: any; + /** The subscriber process to manage the delta process. Type: string (or Expression with resultType string). */ + subscriberProcess?: any; + /** Specifies the selection conditions from source data. Type: array of objects(selection) (or Expression with resultType array of objects). */ + selection?: any; + /** Specifies the columns to be selected from source data. Type: array of objects(projection) (or Expression with resultType array of objects). */ + projection?: any; +}; + /** A copy activity source for SAP Table source. */ export type SapTableSource = TabularSource & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -10741,6 +10814,20 @@ export enum KnownParameterType { */ export type ParameterType = string; +/** Known values of {@link Type} that the service accepts. */ +export enum KnownType { + LinkedServiceReference = "LinkedServiceReference" +} + +/** + * Defines values for Type. \ + * {@link KnownType} can be used interchangeably with Type, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **LinkedServiceReference** + */ +export type Type = string; + /** Known values of {@link DependencyCondition} that the service accepts. */ export enum KnownDependencyCondition { Succeeded = "Succeeded", diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index a2c60fbfb2a7..ddeff73d87ce 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -1898,9 +1898,8 @@ export const LinkedServiceReference: coreClient.CompositeMapper = { className: "LinkedServiceReference", modelProperties: { type: { - defaultValue: "LinkedServiceReference", - isConstant: true, serializedName: "type", + required: true, type: { name: "String" } @@ -10547,6 +10546,129 @@ export const SapOpenHubLinkedService: coreClient.CompositeMapper = { } }; +export const SapOdpLinkedService: coreClient.CompositeMapper = { + serializedName: "SapOdp", + type: { + name: "Composite", + className: "SapOdpLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + server: { + serializedName: "typeProperties.server", + type: { + name: "any" + } + }, + systemNumber: { + serializedName: "typeProperties.systemNumber", + type: { + name: "any" + } + }, + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "any" + } + }, + language: { + serializedName: "typeProperties.language", + type: { + name: "any" + } + }, + systemId: { + serializedName: "typeProperties.systemId", + type: { + name: "any" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "any" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + messageServer: { + serializedName: "typeProperties.messageServer", + type: { + name: "any" + } + }, + messageServerService: { + serializedName: "typeProperties.messageServerService", + type: { + name: "any" + } + }, + sncMode: { + serializedName: "typeProperties.sncMode", + type: { + name: "any" + } + }, + sncMyName: { + serializedName: "typeProperties.sncMyName", + type: { + name: "any" + } + }, + sncPartnerName: { + serializedName: "typeProperties.sncPartnerName", + type: { + name: "any" + } + }, + sncLibraryPath: { + serializedName: "typeProperties.sncLibraryPath", + type: { + name: "any" + } + }, + sncQop: { + serializedName: "typeProperties.sncQop", + type: { + name: "any" + } + }, + x509CertificatePath: { + serializedName: "typeProperties.x509CertificatePath", + type: { + name: "any" + } + }, + logonGroup: { + serializedName: "typeProperties.logonGroup", + type: { + name: "any" + } + }, + subscriberName: { + serializedName: "typeProperties.subscriberName", + type: { + name: "any" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "any" + } + } + } + } +}; + export const RestServiceLinkedService: coreClient.CompositeMapper = { serializedName: "RestService", type: { @@ -10675,58 +10797,6 @@ export const RestServiceLinkedService: coreClient.CompositeMapper = { } }; -export const AmazonS3LinkedService: coreClient.CompositeMapper = { - serializedName: "AmazonS3", - type: { - name: "Composite", - className: "AmazonS3LinkedService", - uberParent: "LinkedService", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - modelProperties: { - ...LinkedService.type.modelProperties, - authenticationType: { - serializedName: "typeProperties.authenticationType", - type: { - name: "any" - } - }, - accessKeyId: { - serializedName: "typeProperties.accessKeyId", - type: { - name: "any" - } - }, - secretAccessKey: { - serializedName: "typeProperties.secretAccessKey", - type: { - name: "Composite", - className: "SecretBase" - } - }, - serviceUrl: { - serializedName: "typeProperties.serviceUrl", - type: { - name: "any" - } - }, - sessionToken: { - serializedName: "typeProperties.sessionToken", - type: { - name: "Composite", - className: "SecretBase" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "any" - } - } - } - } -}; - export const TeamDeskLinkedService: coreClient.CompositeMapper = { serializedName: "TeamDesk", type: { @@ -11013,6 +11083,58 @@ export const TwilioLinkedService: coreClient.CompositeMapper = { } }; +export const AmazonS3LinkedService: coreClient.CompositeMapper = { + serializedName: "AmazonS3", + type: { + name: "Composite", + className: "AmazonS3LinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "any" + } + }, + accessKeyId: { + serializedName: "typeProperties.accessKeyId", + type: { + name: "any" + } + }, + secretAccessKey: { + serializedName: "typeProperties.secretAccessKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + serviceUrl: { + serializedName: "typeProperties.serviceUrl", + type: { + name: "any" + } + }, + sessionToken: { + serializedName: "typeProperties.sessionToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "any" + } + } + } + } +}; + export const AmazonRedshiftLinkedService: coreClient.CompositeMapper = { serializedName: "AmazonRedshift", type: { @@ -15973,6 +16095,34 @@ export const SapTableResourceDataset: coreClient.CompositeMapper = { } }; +export const SapOdpResourceDataset: coreClient.CompositeMapper = { + serializedName: "SapOdpResource", + type: { + name: "Composite", + className: "SapOdpResourceDataset", + uberParent: "Dataset", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + modelProperties: { + ...Dataset.type.modelProperties, + context: { + serializedName: "typeProperties.context", + required: true, + type: { + name: "any" + } + }, + objectName: { + serializedName: "typeProperties.objectName", + required: true, + type: { + name: "any" + } + } + } + } +}; + export const WebTableDataset: coreClient.CompositeMapper = { serializedName: "WebTable", type: { @@ -24846,6 +24996,44 @@ export const SapOpenHubSource: coreClient.CompositeMapper = { } }; +export const SapOdpSource: coreClient.CompositeMapper = { + serializedName: "SapOdpSource", + type: { + name: "Composite", + className: "SapOdpSource", + uberParent: "CopySource", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: CopySource.type.polymorphicDiscriminator, + modelProperties: { + ...TabularSource.type.modelProperties, + extractionMode: { + serializedName: "extractionMode", + type: { + name: "any" + } + }, + subscriberProcess: { + serializedName: "subscriberProcess", + type: { + name: "any" + } + }, + selection: { + serializedName: "selection", + type: { + name: "any" + } + }, + projection: { + serializedName: "projection", + type: { + name: "any" + } + } + } + } +}; + export const SapTableSource: coreClient.CompositeMapper = { serializedName: "SapTableSource", type: { @@ -26191,8 +26379,8 @@ export let discriminators = { "LinkedService.SapCloudForCustomer": SapCloudForCustomerLinkedService, "LinkedService.SapEcc": SapEccLinkedService, "LinkedService.SapOpenHub": SapOpenHubLinkedService, + "LinkedService.SapOdp": SapOdpLinkedService, "LinkedService.RestService": RestServiceLinkedService, - "LinkedService.AmazonS3": AmazonS3LinkedService, "LinkedService.TeamDesk": TeamDeskLinkedService, "LinkedService.Quickbase": QuickbaseLinkedService, "LinkedService.Smartsheet": SmartsheetLinkedService, @@ -26201,6 +26389,7 @@ export let discriminators = { "LinkedService.AppFigures": AppFiguresLinkedService, "LinkedService.Asana": AsanaLinkedService, "LinkedService.Twilio": TwilioLinkedService, + "LinkedService.AmazonS3": AmazonS3LinkedService, "LinkedService.AmazonRedshift": AmazonRedshiftLinkedService, "LinkedService.CustomDataSource": CustomDataSourceLinkedService, "LinkedService.AzureSearch": AzureSearchLinkedService, @@ -26306,6 +26495,7 @@ export let discriminators = { "Dataset.AmazonRdsForSqlServerTable": AmazonRdsForSqlServerTableDataset, "Dataset.RestResource": RestResourceDataset, "Dataset.SapTableResource": SapTableResourceDataset, + "Dataset.SapOdpResource": SapOdpResourceDataset, "Dataset.WebTable": WebTableDataset, "Dataset.AzureSearchIndex": AzureSearchIndexDataset, "Dataset.HttpFile": HttpDataset, @@ -26555,6 +26745,7 @@ export let discriminators = { "CopySource.SapEccSource": SapEccSource, "CopySource.SapHanaSource": SapHanaSource, "CopySource.SapOpenHubSource": SapOpenHubSource, + "CopySource.SapOdpSource": SapOdpSource, "CopySource.SapTableSource": SapTableSource, "CopySource.SqlSource": SqlSource, "CopySource.SqlServerSource": SqlServerSource, diff --git a/sdk/datafactory/arm-datafactory/tsconfig.json b/sdk/datafactory/arm-datafactory/tsconfig.json index 6f440f5c25a9..3e6ae96443f3 100644 --- a/sdk/datafactory/arm-datafactory/tsconfig.json +++ b/sdk/datafactory/arm-datafactory/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-datafactory": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"