From e321d1cc9fefd2b0c6fd77bb4334f8ae29d84620 Mon Sep 17 00:00:00 2001 From: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com> Date: Wed, 21 Sep 2022 10:02:47 +0800 Subject: [PATCH] refresh-synapse-artifact-for-data-plane (#23251) * refresh-synapse-artifact-for-data-plane * update change log and version * fix version * update change log * Update CHANGELOG.md --- sdk/synapse/synapse-artifacts/CHANGELOG.md | 19 +- sdk/synapse/synapse-artifacts/package.json | 2 +- .../review/synapse-artifacts.api.md | 167 +++- .../synapse-artifacts/src/artifactsClient.ts | 2 +- .../synapse-artifacts/src/models/index.ts | 295 ++++++- .../synapse-artifacts/src/models/mappers.ts | 750 ++++++++++++++++-- .../src/models/parameters.ts | 2 +- sdk/synapse/synapse-artifacts/src/tracing.ts | 2 +- .../synapse-artifacts/swagger/README.md | 6 +- 9 files changed, 1136 insertions(+), 109 deletions(-) diff --git a/sdk/synapse/synapse-artifacts/CHANGELOG.md b/sdk/synapse/synapse-artifacts/CHANGELOG.md index 25d744b0b0fb..5a4b236c9521 100644 --- a/sdk/synapse/synapse-artifacts/CHANGELOG.md +++ b/sdk/synapse/synapse-artifacts/CHANGELOG.md @@ -1,26 +1,11 @@ # Release History -## 1.0.0-beta.12 (Unreleased) +## 1.0.0-beta.11 (2022-09-21) ### Features Added - Updated to `@azure/core-tracing` 1.0. - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 1.0.0-beta.11 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- add a set of new LinkedService types. ## 1.0.0-beta.10 (2022-04-18) diff --git a/sdk/synapse/synapse-artifacts/package.json b/sdk/synapse/synapse-artifacts/package.json index 67d1ce58a2ad..cdb2f539f654 100644 --- a/sdk/synapse/synapse-artifacts/package.json +++ b/sdk/synapse/synapse-artifacts/package.json @@ -3,7 +3,7 @@ "author": "Microsoft Corporation", "description": "A generated SDK for ArtifactsClient.", "sdk-type": "client", - "version": "1.0.0-beta.12", + "version": "1.0.0-beta.11", "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-artifacts/README.md", "repository": "github:Azure/azure-sdk-for-js", "dependencies": { diff --git a/sdk/synapse/synapse-artifacts/review/synapse-artifacts.api.md b/sdk/synapse/synapse-artifacts/review/synapse-artifacts.api.md index 1d9366cda6a4..ed6ad6b3d575 100644 --- a/sdk/synapse/synapse-artifacts/review/synapse-artifacts.api.md +++ b/sdk/synapse/synapse-artifacts/review/synapse-artifacts.api.md @@ -17,7 +17,7 @@ export interface Activity { dependsOn?: ActivityDependency[]; description?: string; name: string; - type: "Container" | "Execution" | "Copy" | "HDInsightHive" | "HDInsightPig" | "HDInsightMapReduce" | "HDInsightStreaming" | "HDInsightSpark" | "ExecuteSSISPackage" | "Custom" | "SqlServerStoredProcedure" | "ExecutePipeline" | "Delete" | "AzureDataExplorerCommand" | "Lookup" | "WebActivity" | "GetMetadata" | "IfCondition" | "Switch" | "ForEach" | "AzureMLBatchExecution" | "AzureMLUpdateResource" | "AzureMLExecutePipeline" | "DataLakeAnalyticsU-SQL" | "Wait" | "Until" | "Validation" | "Filter" | "DatabricksNotebook" | "DatabricksSparkJar" | "DatabricksSparkPython" | "SetVariable" | "AppendVariable" | "AzureFunctionActivity" | "WebHook" | "ExecuteDataFlow" | "Script" | "SynapseNotebook" | "SparkJob" | "SqlPoolStoredProcedure"; + type: "Container" | "Execution" | "Copy" | "HDInsightHive" | "HDInsightPig" | "HDInsightMapReduce" | "HDInsightStreaming" | "HDInsightSpark" | "ExecuteSSISPackage" | "Custom" | "SqlServerStoredProcedure" | "ExecutePipeline" | "Delete" | "AzureDataExplorerCommand" | "Lookup" | "WebActivity" | "GetMetadata" | "IfCondition" | "Switch" | "ForEach" | "AzureMLBatchExecution" | "AzureMLUpdateResource" | "AzureMLExecutePipeline" | "DataLakeAnalyticsU-SQL" | "Wait" | "Fail" | "Until" | "Validation" | "Filter" | "DatabricksNotebook" | "DatabricksSparkJar" | "DatabricksSparkPython" | "SetVariable" | "AppendVariable" | "AzureFunctionActivity" | "WebHook" | "ExecuteDataFlow" | "Script" | "SynapseNotebook" | "SparkJob" | "SqlPoolStoredProcedure"; userProperties?: UserProperty[]; } @@ -247,6 +247,14 @@ export interface AppendVariableActivity extends ControlActivity { variableName?: string; } +// @public +export interface AppFiguresLinkedService extends LinkedService { + clientKey: SecretBaseUnion; + password: SecretBaseUnion; + type: "AppFigures"; + userName: any; +} + // @public export interface ArtifactRenameRequest { newName?: string; @@ -310,6 +318,13 @@ export interface ArtifactsClientOptionalParams extends coreClient.ServiceClientO endpoint?: string; } +// @public +export interface AsanaLinkedService extends LinkedService { + apiToken: SecretBaseUnion; + encryptedCredential?: any; + type: "Asana"; +} + // @public export interface AutoPauseProperties { delayInMinutes?: number; @@ -1021,6 +1036,13 @@ export interface AzureStorageLinkedService extends LinkedService { type: "AzureStorage"; } +// @public +export interface AzureSynapseArtifactsLinkedService extends LinkedService { + authentication?: any; + endpoint: any; + type: "AzureSynapseArtifacts"; +} + // @public export interface AzureTableDataset extends Dataset { tableName: any; @@ -1304,11 +1326,11 @@ export interface ConcurSource extends TabularSource { // @public export interface ControlActivity extends Activity { - type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook"; + type: "Container" | "ExecutePipeline" | "IfCondition" | "Switch" | "ForEach" | "Wait" | "Fail" | "Until" | "Validation" | "Filter" | "SetVariable" | "AppendVariable" | "WebHook"; } // @public (undocumented) -export type ControlActivityUnion = ControlActivity | ExecutePipelineActivity | IfConditionActivity | SwitchActivity | ForEachActivity | WaitActivity | UntilActivity | ValidationActivity | FilterActivity | SetVariableActivity | AppendVariableActivity | WebHookActivity; +export type ControlActivityUnion = ControlActivity | ExecutePipelineActivity | IfConditionActivity | SwitchActivity | ForEachActivity | WaitActivity | FailActivity | UntilActivity | ValidationActivity | FilterActivity | SetVariableActivity | AppendVariableActivity | WebHookActivity; // @public export interface CopyActivity extends ExecutionActivity { @@ -1361,7 +1383,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) @@ -1816,6 +1838,7 @@ export interface DataFlowResource extends SubResource { // @public export interface DataFlowSink extends Transformation { + rejectedDataLinkedService?: LinkedServiceReference; schemaLinkedService?: LinkedServiceReference; } @@ -1872,7 +1895,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 @@ -2010,7 +2033,14 @@ 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 interface DataworldLinkedService extends LinkedService { + apiToken: SecretBaseUnion; + encryptedCredential?: any; + type: "Dataworld"; +} // @public export type DayOfWeek = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"; @@ -2382,6 +2412,7 @@ export interface ExcelDataset extends Dataset { location?: DatasetLocationUnion; nullValue?: any; range?: any; + sheetIndex?: any; sheetName?: any; type: "Excel"; } @@ -2400,6 +2431,7 @@ export interface ExecuteDataFlowActivity extends ExecutionActivity { dataflow: DataFlowReference; integrationRuntime?: IntegrationRuntimeReference; runConcurrently?: any; + sourceStagingConcurrency?: any; staging?: DataFlowStagingInfo; traceLevel?: any; type: "ExecuteDataFlow"; @@ -2492,6 +2524,13 @@ export interface Expression { // @public export type ExpressionType = string; +// @public +export interface FailActivity extends ControlActivity { + errorCode: any; + message: any; + type: "Fail"; +} + // @public export interface FileServerLinkedService extends LinkedService { encryptedCredential?: any; @@ -2760,6 +2799,13 @@ export interface GoogleCloudStorageReadSettings extends StoreReadSettings { wildcardFolderPath?: any; } +// @public +export interface GoogleSheetsLinkedService extends LinkedService { + apiToken: SecretBaseUnion; + encryptedCredential?: any; + type: "GoogleSheets"; +} + // @public export interface GreenplumLinkedService extends LinkedService { connectionString?: any; @@ -3883,7 +3929,8 @@ export enum KnownRestServiceAuthenticationType { AadServicePrincipal = "AadServicePrincipal", Anonymous = "Anonymous", Basic = "Basic", - ManagedServiceIdentity = "ManagedServiceIdentity" + ManagedServiceIdentity = "ManagedServiceIdentity", + OAuth2ClientCredential = "OAuth2ClientCredential" } // @public @@ -4040,6 +4087,11 @@ export enum KnownSparkBatchJobResultType { Uncertain = "Uncertain" } +// @public +export enum KnownSparkConfigurationReferenceType { + SparkConfigurationReference = "SparkConfigurationReference" +} + // @public export enum KnownSparkErrorSource { Dependency = "Dependency", @@ -4451,6 +4503,7 @@ export interface LinkConnection { export interface LinkConnectionCompute { computeType?: string; coreCount?: number; + dataProcessIntervalMinutes?: number; } // @public @@ -4471,7 +4524,9 @@ export interface LinkConnectionDetailedStatus { id?: string; isApplyingChanges?: boolean; isPartiallyFailed?: boolean; + landingZoneCredentialExpireTime?: Date; name?: string; + refreshStatus?: LinkConnectionRefreshStatus; startTime?: any; status?: string; stopTime?: any; @@ -4558,8 +4613,15 @@ export interface LinkConnectionQueryTableStatusOptionalParams extends coreClient // @public export type LinkConnectionQueryTableStatusResponse = LinkConnectionQueryTableStatus; +// @public (undocumented) +export interface LinkConnectionRefreshStatus { + readonly errorMessage?: string; + readonly refreshStatus?: string; +} + // @public (undocumented) export interface LinkConnectionResource { + description?: string; id?: string; name?: string; properties: LinkConnection; @@ -4589,6 +4651,13 @@ export interface LinkConnectionStopOptionalParams extends coreClient.OperationOp // @public (undocumented) export interface LinkConnectionTargetDatabase { linkedService?: LinkedServiceReference; + typeProperties?: LinkConnectionTargetDatabaseTypeProperties; +} + +// @public (undocumented) +export interface LinkConnectionTargetDatabaseTypeProperties { + crossTableTransaction?: boolean; + dropExistingTargetTableOnStart?: boolean; } // @public @@ -4624,7 +4693,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" | "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" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "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"; + type: "AzureStorage" | "AzureBlobStorage" | "AzureTableStorage" | "AzureSqlDW" | "SqlServer" | "AmazonRdsForSqlServer" | "AzureSqlDatabase" | "AzureSqlMI" | "AzureBatch" | "AzureKeyVault" | "CosmosDb" | "Dynamics" | "DynamicsCrm" | "CommonDataServiceForApps" | "HDInsight" | "FileServer" | "AzureFileStorage" | "GoogleCloudStorage" | "Oracle" | "AmazonRdsForOracle" | "AzureMySql" | "MySql" | "PostgreSql" | "Sybase" | "Db2" | "Teradata" | "AzureML" | "AzureMLService" | "Odbc" | "Informix" | "MicrosoftAccess" | "Hdfs" | "OData" | "Web" | "Cassandra" | "MongoDb" | "MongoDbAtlas" | "MongoDbV2" | "CosmosDbMongoDbApi" | "AzureDataLakeStore" | "AzureBlobFS" | "Office365" | "Salesforce" | "SalesforceServiceCloud" | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" | "SapOdp" | "RestService" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" | "Dataworld" | "AppFigures" | "Asana" | "Twilio" | "GoogleSheets" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" | "AzureSearch" | "HttpServer" | "FtpServer" | "Sftp" | "SapBW" | "SapHana" | "AmazonMWS" | "AzurePostgreSql" | "Concur" | "Couchbase" | "Drill" | "Eloqua" | "GoogleBigQuery" | "Greenplum" | "HBase" | "Hive" | "Hubspot" | "Impala" | "Jira" | "Magento" | "MariaDB" | "AzureMariaDB" | "Marketo" | "Paypal" | "Phoenix" | "Presto" | "QuickBooks" | "ServiceNow" | "Shopify" | "Spark" | "Square" | "Xero" | "Zoho" | "Vertica" | "Netezza" | "SalesforceMarketingCloud" | "HDInsightOnDemand" | "AzureDataLakeAnalytics" | "AzureDatabricks" | "AzureDatabricksDeltaLake" | "Responsys" | "DynamicsAX" | "OracleServiceCloud" | "GoogleAdWords" | "SapTable" | "AzureDataExplorer" | "AzureFunction" | "Snowflake" | "SharePointOnlineList" | "AzureSynapseArtifacts"; } // @public @@ -4709,7 +4778,7 @@ export interface LinkedServiceResource extends SubResource { } // @public (undocumented) -export type LinkedServiceUnion = LinkedService | AzureStorageLinkedService | AzureBlobStorageLinkedService | AzureTableStorageLinkedService | AzureSqlDWLinkedService | SqlServerLinkedService | AmazonRdsForSqlServerLinkedService | AzureSqlDatabaseLinkedService | AzureSqlMILinkedService | AzureBatchLinkedService | AzureKeyVaultLinkedService | CosmosDbLinkedService | DynamicsLinkedService | DynamicsCrmLinkedService | CommonDataServiceForAppsLinkedService | HDInsightLinkedService | FileServerLinkedService | AzureFileStorageLinkedService | 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 | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService | ZendeskLinkedService | 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; +export type LinkedServiceUnion = LinkedService | AzureStorageLinkedService | AzureBlobStorageLinkedService | AzureTableStorageLinkedService | AzureSqlDWLinkedService | SqlServerLinkedService | AmazonRdsForSqlServerLinkedService | AzureSqlDatabaseLinkedService | AzureSqlMILinkedService | AzureBatchLinkedService | AzureKeyVaultLinkedService | CosmosDbLinkedService | DynamicsLinkedService | DynamicsCrmLinkedService | CommonDataServiceForAppsLinkedService | HDInsightLinkedService | FileServerLinkedService | AzureFileStorageLinkedService | GoogleCloudStorageLinkedService | OracleLinkedService | AmazonRdsForOracleLinkedService | AzureMySqlLinkedService | MySqlLinkedService | PostgreSqlLinkedService | SybaseLinkedService | Db2LinkedService | TeradataLinkedService | AzureMLLinkedService | AzureMLServiceLinkedService | OdbcLinkedService | InformixLinkedService | MicrosoftAccessLinkedService | HdfsLinkedService | ODataLinkedService | WebLinkedService | CassandraLinkedService | MongoDbLinkedService | MongoDbAtlasLinkedService | MongoDbV2LinkedService | CosmosDbMongoDbApiLinkedService | AzureDataLakeStoreLinkedService | AzureBlobFSLinkedService | Office365LinkedService | SalesforceLinkedService | SalesforceServiceCloudLinkedService | SapCloudForCustomerLinkedService | SapEccLinkedService | SapOpenHubLinkedService | SapOdpLinkedService | RestServiceLinkedService | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService | ZendeskLinkedService | DataworldLinkedService | AppFiguresLinkedService | AsanaLinkedService | TwilioLinkedService | GoogleSheetsLinkedService | AmazonS3LinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService | AzureSearchLinkedService | HttpLinkedService | FtpServerLinkedService | SftpServerLinkedService | SapBWLinkedService | SapHanaLinkedService | AmazonMWSLinkedService | AzurePostgreSqlLinkedService | ConcurLinkedService | CouchbaseLinkedService | DrillLinkedService | EloquaLinkedService | GoogleBigQueryLinkedService | GreenplumLinkedService | HBaseLinkedService | HiveLinkedService | HubspotLinkedService | ImpalaLinkedService | JiraLinkedService | MagentoLinkedService | MariaDBLinkedService | AzureMariaDBLinkedService | MarketoLinkedService | PaypalLinkedService | PhoenixLinkedService | PrestoLinkedService | QuickBooksLinkedService | ServiceNowLinkedService | ShopifyLinkedService | SparkLinkedService | SquareLinkedService | XeroLinkedService | ZohoLinkedService | VerticaLinkedService | NetezzaLinkedService | SalesforceMarketingCloudLinkedService | HDInsightOnDemandLinkedService | AzureDataLakeAnalyticsLinkedService | AzureDatabricksLinkedService | AzureDatabricksDeltaLakeLinkedService | ResponsysLinkedService | DynamicsAXLinkedService | OracleServiceCloudLinkedService | GoogleAdWordsLinkedService | SapTableLinkedService | AzureDataExplorerLinkedService | AzureFunctionLinkedService | SnowflakeLinkedService | SharePointOnlineListLinkedService | AzureSynapseArtifactsLinkedService; // @public (undocumented) export interface LinkTableListResponse { @@ -4734,6 +4803,7 @@ export interface LinkTableRequestSource { export interface LinkTableRequestTarget { distributionOptions?: LinkTableRequestTargetDistributionOptions; schemaName?: string; + structureOptions?: LinkTableRequestTargetStructureOptions; tableName?: string; } @@ -4743,6 +4813,11 @@ export interface LinkTableRequestTargetDistributionOptions { type?: string; } +// @public (undocumented) +export interface LinkTableRequestTargetStructureOptions { + type?: string; +} + // @public (undocumented) export interface LinkTableResource { id?: string; @@ -4753,8 +4828,12 @@ export interface LinkTableResource { // @public (undocumented) export interface LinkTableStatus { + errorCode?: string; errorMessage?: string; id?: string; + lastProcessedData?: Date; + lastTransactionCommitTime?: Date; + linkTableId?: string; startTime?: any; status?: string; stopTime?: any; @@ -5153,6 +5232,7 @@ export interface Notebook { nbformat: number; nbformatMinor: number; sessionProperties?: NotebookSessionProperties; + targetSparkConfiguration?: SparkConfigurationReference; } // @public @@ -6081,12 +6161,17 @@ export interface RestServiceLinkedService extends LinkedService { aadResourceId?: any; authenticationType: RestServiceAuthenticationType; azureCloudType?: any; + clientId?: any; + clientSecret?: SecretBaseUnion; enableServerCertificateValidation?: any; encryptedCredential?: any; password?: SecretBaseUnion; + resource?: any; + scope?: any; servicePrincipalId?: any; servicePrincipalKey?: SecretBaseUnion; tenant?: any; + tokenEndpoint?: any; type: "RestService"; url: any; userName?: any; @@ -6364,6 +6449,45 @@ export interface SapHanaTableDataset extends Dataset { type: "SapHanaTable"; } +// @public +export interface SapOdpLinkedService extends LinkedService { + clientId?: any; + encryptedCredential?: any; + language?: any; + logonGroup?: any; + messageServer?: any; + messageServerService?: any; + password?: SecretBaseUnion; + server?: any; + sncLibraryPath?: any; + sncMode?: any; + sncMyName?: any; + sncPartnerName?: any; + sncQop?: any; + subscriberName?: any; + systemId?: any; + systemNumber?: any; + type: "SapOdp"; + userName?: any; + x509CertificatePath?: any; +} + +// @public +export interface SapOdpResourceDataset extends Dataset { + context: any; + objectName: any; + type: "SapOdpResource"; +} + +// @public +export interface SapOdpSource extends TabularSource { + extractionMode?: any; + projection?: any; + selection?: any; + subscriberProcess?: any; + type: "SapOdpSource"; +} + // @public export interface SapOpenHubLinkedService extends LinkedService { clientId: any; @@ -6863,6 +6987,15 @@ export interface SparkConfigurationOperations { listSparkConfigurationsByWorkspace(options?: SparkConfigurationGetSparkConfigurationsByWorkspaceOptionalParams): PagedAsyncIterableIterator; } +// @public +export interface SparkConfigurationReference { + referenceName: string; + type: SparkConfigurationReferenceType; +} + +// @public +export type SparkConfigurationReferenceType = string; + // @public export interface SparkConfigurationRenameSparkConfigurationOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -6886,6 +7019,7 @@ export interface SparkJobDefinition { language?: string; requiredSparkVersion?: string; targetBigDataPool: BigDataPoolReference; + targetSparkConfiguration?: SparkConfigurationReference; } // @public @@ -7627,7 +7761,11 @@ export interface SybaseTableDataset extends Dataset { // @public export interface SynapseNotebookActivity extends ExecutionActivity { + conf?: any; + driverSize?: any; + executorSize?: any; notebook: SynapseNotebookReference; + numExecutors?: number; parameters?: { [propertyName: string]: NotebookParameter; }; @@ -7666,11 +7804,11 @@ export interface SynapseSparkJobReference { export interface TabularSource extends CopySource { additionalColumns?: any; queryTimeout?: any; - type: "TabularSource" | "AzureTableSource" | "InformixSource" | "Db2Source" | "OdbcSource" | "MySqlSource" | "PostgreSqlSource" | "SybaseSource" | "SapBwSource" | "SalesforceSource" | "SapCloudForCustomerSource" | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" | "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"; } // @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 interface TabularTranslator extends CopyTranslator { @@ -8010,6 +8148,13 @@ export interface TumblingWindowTriggerDependencyReference extends TriggerDepende type: "TumblingWindowTriggerDependencyReference"; } +// @public +export interface TwilioLinkedService extends LinkedService { + password: SecretBaseUnion; + type: "Twilio"; + userName: any; +} + // @public export type Type = string; diff --git a/sdk/synapse/synapse-artifacts/src/artifactsClient.ts b/sdk/synapse/synapse-artifacts/src/artifactsClient.ts index a7941a953f8d..121fc83cbc59 100644 --- a/sdk/synapse/synapse-artifacts/src/artifactsClient.ts +++ b/sdk/synapse/synapse-artifacts/src/artifactsClient.ts @@ -92,7 +92,7 @@ export class ArtifactsClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-synapse-artifacts/1.0.0-beta.12`; + const packageDetails = `azsdk-js-synapse-artifacts/1.0.0-beta.11`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/synapse/synapse-artifacts/src/models/index.ts b/sdk/synapse/synapse-artifacts/src/models/index.ts index f522750b36f1..b48d7c2793e7 100644 --- a/sdk/synapse/synapse-artifacts/src/models/index.ts +++ b/sdk/synapse/synapse-artifacts/src/models/index.ts @@ -73,6 +73,7 @@ export type DatasetUnion = | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset + | SapOdpResourceDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset @@ -163,11 +164,17 @@ export type LinkedServiceUnion = | SapCloudForCustomerLinkedService | SapEccLinkedService | SapOpenHubLinkedService + | SapOdpLinkedService | RestServiceLinkedService | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService | ZendeskLinkedService + | DataworldLinkedService + | AppFiguresLinkedService + | AsanaLinkedService + | TwilioLinkedService + | GoogleSheetsLinkedService | AmazonS3LinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService @@ -219,7 +226,8 @@ export type LinkedServiceUnion = | AzureDataExplorerLinkedService | AzureFunctionLinkedService | SnowflakeLinkedService - | SharePointOnlineListLinkedService; + | SharePointOnlineListLinkedService + | AzureSynapseArtifactsLinkedService; export type ActivityUnion = | Activity | ControlActivityUnion @@ -397,6 +405,7 @@ export type ControlActivityUnion = | SwitchActivity | ForEachActivity | WaitActivity + | FailActivity | UntilActivity | ValidationActivity | FilterActivity @@ -452,6 +461,7 @@ export type TabularSourceUnion = | SapEccSource | SapHanaSource | SapOpenHubSource + | SapOdpSource | SapTableSource | SqlSource | SqlServerSource @@ -517,6 +527,8 @@ export interface LinkConnectionResource { type?: string; /** Properties of link connection */ properties: LinkConnection; + /** Link connection description */ + description?: string; } export interface LinkConnection { @@ -557,6 +569,15 @@ export interface LinkConnectionSourceDatabaseTypeProperties { export interface LinkConnectionTargetDatabase { /** Linked service reference */ linkedService?: LinkedServiceReference; + /** Target database type properties */ + typeProperties?: LinkConnectionTargetDatabaseTypeProperties; +} + +export interface LinkConnectionTargetDatabaseTypeProperties { + /** Enable cross table transaction consistency on target database */ + crossTableTransaction?: boolean; + /** Drop and recreate same existing target table on link connection target database */ + dropExistingTargetTableOnStart?: boolean; } export interface LinkConnectionLandingZone { @@ -577,10 +598,12 @@ export interface SecretBase { } export interface LinkConnectionCompute { - /** Link connection's compute core count */ + /** Compute core count used by the link connection */ coreCount?: number; /** Link connection's compute type */ computeType?: string; + /** Link connection's data process interval in minutes */ + dataProcessIntervalMinutes?: number; } /** The object that defines the structure of an Azure Synapse error response. */ @@ -625,6 +648,8 @@ export interface LinkTableRequestTarget { schemaName?: string; /** Target table distribution options for link table request */ distributionOptions?: LinkTableRequestTargetDistributionOptions; + /** Target table structure options for link table request */ + structureOptions?: LinkTableRequestTargetStructureOptions; } export interface LinkTableRequestTargetDistributionOptions { @@ -634,6 +659,11 @@ export interface LinkTableRequestTargetDistributionOptions { distributionColumn?: string; } +export interface LinkTableRequestTargetStructureOptions { + /** Target table structure type */ + type?: string; +} + export interface LinkConnectionDetailedStatus { /** Link connection id */ id?: string; @@ -653,6 +683,23 @@ export interface LinkConnectionDetailedStatus { continuousRunId?: string; /** Link connection error */ error?: any; + /** Link connection refresh status */ + refreshStatus?: LinkConnectionRefreshStatus; + /** Link connection landing zone credential expire time */ + landingZoneCredentialExpireTime?: Date; +} + +export interface LinkConnectionRefreshStatus { + /** + * Link connection refresh status + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly refreshStatus?: string; + /** + * Link connection refresh error message + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly errorMessage?: string; } export interface LinkTableListResponse { @@ -686,7 +733,7 @@ export interface LinkConnectionQueryTableStatus { } export interface LinkTableStatus { - /** Link table id */ + /** ID provided by the client */ id?: string; /** Link table status */ status?: string; @@ -696,6 +743,14 @@ export interface LinkTableStatus { startTime?: any; /** Link table stop time */ stopTime?: any; + /** Link table ID */ + linkTableId?: string; + /** Link table error code */ + errorCode?: string; + /** Link table last processed data time */ + lastProcessedData?: Date; + /** Link table last transaction commit time */ + lastTransactionCommitTime?: Date; } export interface UpdateLandingZoneCredential { @@ -1101,6 +1156,7 @@ export interface Dataset { | "AmazonRdsForSqlServerTable" | "RestResource" | "SapTableResource" + | "SapOdpResource" | "WebTable" | "AzureSearchIndex" | "HttpFile" @@ -1225,11 +1281,17 @@ export interface LinkedService { | "SapCloudForCustomer" | "SapEcc" | "SapOpenHub" + | "SapOdp" | "RestService" | "TeamDesk" | "Quickbase" | "Smartsheet" | "Zendesk" + | "Dataworld" + | "AppFigures" + | "Asana" + | "Twilio" + | "GoogleSheets" | "AmazonS3" | "AmazonRedshift" | "CustomDataSource" @@ -1281,7 +1343,8 @@ export interface LinkedService { | "AzureDataExplorer" | "AzureFunction" | "Snowflake" - | "SharePointOnlineList"; + | "SharePointOnlineList" + | "AzureSynapseArtifacts"; /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; /** The integration runtime reference. */ @@ -1565,6 +1628,8 @@ export interface Notebook { description?: string; /** Big data pool reference. */ bigDataPool?: BigDataPoolReference; + /** The spark configuration of the spark job. */ + targetSparkConfiguration?: SparkConfigurationReference; /** Session properties. */ sessionProperties?: NotebookSessionProperties; /** Notebook root-level metadata. */ @@ -1587,6 +1652,14 @@ export interface BigDataPoolReference { referenceName: string; } +/** Spark configuration reference. */ +export interface SparkConfigurationReference { + /** Spark configuration reference type. */ + type: SparkConfigurationReferenceType; + /** Reference spark configuration name. */ + referenceName: string; +} + /** Session properties. */ export interface NotebookSessionProperties { /** Amount of memory to use for the driver process. */ @@ -1706,6 +1779,7 @@ export interface Activity { | "AzureMLExecutePipeline" | "DataLakeAnalyticsU-SQL" | "Wait" + | "Fail" | "Until" | "Validation" | "Filter" @@ -1991,6 +2065,8 @@ export interface SparkJobDefinition { description?: string; /** Big data pool reference. */ targetBigDataPool: BigDataPoolReference; + /** The spark configuration of the spark job. */ + targetSparkConfiguration?: SparkConfigurationReference; /** The required Spark version of the application. */ requiredSparkVersion?: string; /** The language of the Spark application. */ @@ -2568,17 +2644,6 @@ export interface RerunTumblingWindowTriggerActionParameters { maxConcurrency: number; } -/** A list of rerun triggers. */ -export interface RerunTriggerListResponse { - /** List of rerun triggers. */ - value: RerunTriggerResource[]; - /** - * The continuation token for getting the next page of results, if any remaining results exist, null otherwise. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - /** The request payload of get SSIS object metadata. */ export interface GetSsisObjectMetadataRequest { /** Metadata path. */ @@ -2729,6 +2794,17 @@ export interface DataFlowDebugResultResponse { data?: string; } +/** A list of rerun triggers. */ +export interface RerunTriggerListResponse { + /** List of rerun triggers. */ + value: RerunTriggerResource[]; + /** + * The continuation token for getting the next page of results, if any remaining results exist, null otherwise. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + /** A data flow transformation. */ export interface Transformation { /** Transformation name. */ @@ -2965,6 +3041,7 @@ export interface CopySource { | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" + | "SapOdpSource" | "SapTableSource" | "RestSource" | "SqlSource" @@ -3863,8 +3940,10 @@ export interface ExcelDataset extends Dataset { type: "Excel"; /** The location of the excel storage. */ location?: DatasetLocationUnion; - /** The sheet of excel file. Type: string (or Expression with resultType string). */ + /** The sheet name of excel file. Type: string (or Expression with resultType string). */ sheetName?: any; + /** The sheet index of excel file and default value is 0. Type: integer (or Expression with resultType integer) */ + sheetIndex?: any; /** The partial data of one sheet. Type: string (or Expression with resultType string). */ range?: any; /** When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). */ @@ -4409,6 +4488,16 @@ export interface SapTableResourceDataset extends Dataset { tableName: any; } +/** SAP ODP Resource properties. */ +export interface SapOdpResourceDataset extends 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 interface WebTableDataset extends Dataset { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -5661,6 +5750,48 @@ export interface SapOpenHubLinkedService extends LinkedService { encryptedCredential?: any; } +/** SAP ODP Linked Service. */ +export interface SapOdpLinkedService extends 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 interface RestServiceLinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -5687,6 +5818,16 @@ export interface RestServiceLinkedService extends LinkedService { aadResourceId?: 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; + /** The client ID associated with your application. Type: string (or Expression with resultType string). */ + clientId?: any; + /** The client secret associated with your application. */ + clientSecret?: SecretBaseUnion; + /** The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string). */ + tokenEndpoint?: any; + /** The target service or resource to which the access will be requested. Type: string (or Expression with resultType string). */ + resource?: any; + /** The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string). */ + scope?: any; } /** Linked service for TeamDesk. */ @@ -5747,6 +5888,58 @@ export interface ZendeskLinkedService extends LinkedService { encryptedCredential?: any; } +/** Linked service for Dataworld. */ +export interface DataworldLinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Dataworld"; + /** The api token for the Dataworld source. */ + apiToken: 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 AppFigures. */ +export interface AppFiguresLinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AppFigures"; + /** The username of the Appfigures source. */ + userName: any; + /** The password of the AppFigures source. */ + password: SecretBaseUnion; + /** The client key for the AppFigures source. */ + clientKey: SecretBaseUnion; +} + +/** Linked service for Asana. */ +export interface AsanaLinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Asana"; + /** The api token for the Asana source. */ + apiToken: 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 Twilio. */ +export interface TwilioLinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Twilio"; + /** The Account SID of Twilio service. */ + userName: any; + /** The auth token of Twilio service. */ + password: SecretBaseUnion; +} + +/** Linked service for GoogleSheets. */ +export interface GoogleSheetsLinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "GoogleSheets"; + /** The api token for the GoogleSheets source. */ + apiToken: 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 S3. */ export interface AmazonS3LinkedService extends LinkedService { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -6890,6 +7083,16 @@ export interface SharePointOnlineListLinkedService extends LinkedService { encryptedCredential?: any; } +/** Azure Synapse Analytics (Artifacts) linked service. */ +export interface AzureSynapseArtifactsLinkedService extends LinkedService { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureSynapseArtifacts"; + /** https://.dev.azuresynapse.net, Azure Synapse Analytics workspace URL. Type: string (or Expression with resultType string). */ + endpoint: any; + /** Required to specify MSI, if using system assigned managed identity as authentication method. Type: string (or Expression with resultType string). */ + authentication?: any; +} + /** Base class for all control activities like IfCondition, ForEach , Until. */ export interface ControlActivity extends Activity { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -6900,6 +7103,7 @@ export interface ControlActivity extends Activity { | "Switch" | "ForEach" | "Wait" + | "Fail" | "Until" | "Validation" | "Filter" @@ -7032,6 +7236,8 @@ export interface DataFlowSource extends Transformation { export interface DataFlowSink extends Transformation { /** Schema linked service reference. */ schemaLinkedService?: LinkedServiceReference; + /** Rejected data linked service reference. */ + rejectedDataLinkedService?: LinkedServiceReference; } /** The location of azure blob dataset. */ @@ -7748,6 +7954,7 @@ export interface TabularSource extends CopySource { | "SapEccSource" | "SapHanaSource" | "SapOpenHubSource" + | "SapOdpSource" | "SapTableSource" | "SqlSource" | "SqlServerSource" @@ -8859,6 +9066,16 @@ export interface WaitActivity extends ControlActivity { waitTimeInSeconds: any; } +/** This activity will fail within its own scope and output a custom error message and error code. The error message and code can provided either as a string literal or as an expression that can be evaluated to a string at runtime. The activity scope can be the whole pipeline or a control activity (e.g. foreach, switch, until), if the fail activity is contained in it. */ +export interface FailActivity extends ControlActivity { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Fail"; + /** The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). */ + message: any; + /** The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string). */ + errorCode: any; +} + /** This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier. */ export interface UntilActivity extends ControlActivity { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -9359,6 +9576,8 @@ export interface ExecuteDataFlowActivity extends ExecutionActivity { continueOnError?: any; /** Concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean) */ runConcurrently?: any; + /** Specify number of parallel staging for sources applicable to the sink. Type: integer (or Expression with resultType integer) */ + sourceStagingConcurrency?: any; } /** Script activity type. */ @@ -9381,6 +9600,14 @@ export interface SynapseNotebookActivity extends ExecutionActivity { sparkPool?: BigDataPoolParametrizationReference; /** Notebook parameters. */ parameters?: { [propertyName: string]: NotebookParameter }; + /** Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string). */ + executorSize?: any; + /** Spark configuration properties, which will override the 'conf' of the notebook you provide. */ + conf?: any; + /** Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string). */ + driverSize?: any; + /** Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide. */ + numExecutors?: number; } /** Execute spark job activity. */ @@ -9583,6 +9810,20 @@ export interface SapOpenHubSource extends TabularSource { sapDataColumnDelimiter?: any; } +/** A copy activity source for SAP ODP source. */ +export interface SapOdpSource extends 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 interface SapTableSource extends TabularSource { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -10350,6 +10591,21 @@ export enum KnownBigDataPoolReferenceType { */ export type BigDataPoolReferenceType = string; +/** Known values of {@link SparkConfigurationReferenceType} that the service accepts. */ +export enum KnownSparkConfigurationReferenceType { + /** SparkConfigurationReference */ + SparkConfigurationReference = "SparkConfigurationReference" +} + +/** + * Defines values for SparkConfigurationReferenceType. \ + * {@link KnownSparkConfigurationReferenceType} can be used interchangeably with SparkConfigurationReferenceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SparkConfigurationReference** + */ +export type SparkConfigurationReferenceType = string; + /** Known values of {@link CellOutputType} that the service accepts. */ export enum KnownCellOutputType { /** ExecuteResult */ @@ -11091,7 +11347,9 @@ export enum KnownRestServiceAuthenticationType { /** AadServicePrincipal */ AadServicePrincipal = "AadServicePrincipal", /** ManagedServiceIdentity */ - ManagedServiceIdentity = "ManagedServiceIdentity" + ManagedServiceIdentity = "ManagedServiceIdentity", + /** OAuth2ClientCredential */ + OAuth2ClientCredential = "OAuth2ClientCredential" } /** @@ -11102,7 +11360,8 @@ export enum KnownRestServiceAuthenticationType { * **Anonymous** \ * **Basic** \ * **AadServicePrincipal** \ - * **ManagedServiceIdentity** + * **ManagedServiceIdentity** \ + * **OAuth2ClientCredential** */ export type RestServiceAuthenticationType = string; diff --git a/sdk/synapse/synapse-artifacts/src/models/mappers.ts b/sdk/synapse/synapse-artifacts/src/models/mappers.ts index a39d40521f27..0c68cd147d1c 100644 --- a/sdk/synapse/synapse-artifacts/src/models/mappers.ts +++ b/sdk/synapse/synapse-artifacts/src/models/mappers.ts @@ -65,6 +65,12 @@ export const LinkConnectionResource: coreClient.CompositeMapper = { name: "Composite", className: "LinkConnection" } + }, + description: { + serializedName: "description", + type: { + name: "String" + } } } } @@ -192,6 +198,34 @@ export const LinkConnectionTargetDatabase: coreClient.CompositeMapper = { name: "Composite", className: "LinkedServiceReference" } + }, + typeProperties: { + serializedName: "typeProperties", + type: { + name: "Composite", + className: "LinkConnectionTargetDatabaseTypeProperties" + } + } + } + } +}; + +export const LinkConnectionTargetDatabaseTypeProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinkConnectionTargetDatabaseTypeProperties", + modelProperties: { + crossTableTransaction: { + serializedName: "crossTableTransaction", + type: { + name: "Boolean" + } + }, + dropExistingTargetTableOnStart: { + serializedName: "dropExistingTargetTableOnStart", + type: { + name: "Boolean" + } } } } @@ -269,6 +303,16 @@ export const LinkConnectionCompute: coreClient.CompositeMapper = { type: { name: "String" } + }, + dataProcessIntervalMinutes: { + constraints: { + InclusiveMaximum: 60, + InclusiveMinimum: 20 + }, + serializedName: "dataProcessIntervalMinutes", + type: { + name: "Number" + } } } } @@ -415,6 +459,13 @@ export const LinkTableRequestTarget: coreClient.CompositeMapper = { name: "Composite", className: "LinkTableRequestTargetDistributionOptions" } + }, + structureOptions: { + serializedName: "structureOptions", + type: { + name: "Composite", + className: "LinkTableRequestTargetStructureOptions" + } } } } @@ -441,6 +492,21 @@ export const LinkTableRequestTargetDistributionOptions: coreClient.CompositeMapp } }; +export const LinkTableRequestTargetStructureOptions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinkTableRequestTargetStructureOptions", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const LinkConnectionDetailedStatus: coreClient.CompositeMapper = { type: { name: "Composite", @@ -499,6 +565,42 @@ export const LinkConnectionDetailedStatus: coreClient.CompositeMapper = { type: { name: "any" } + }, + refreshStatus: { + serializedName: "refreshStatus", + type: { + name: "Composite", + className: "LinkConnectionRefreshStatus" + } + }, + landingZoneCredentialExpireTime: { + serializedName: "landingZoneCredentialExpireTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const LinkConnectionRefreshStatus: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinkConnectionRefreshStatus", + modelProperties: { + refreshStatus: { + serializedName: "refreshStatus", + readOnly: true, + type: { + name: "String" + } + }, + errorMessage: { + serializedName: "errorMessage", + readOnly: true, + type: { + name: "String" + } } } } @@ -566,6 +668,9 @@ export const QueryTableStatusRequest: coreClient.CompositeMapper = { className: "QueryTableStatusRequest", modelProperties: { maxSegmentCount: { + constraints: { + InclusiveMaximum: 1000 + }, serializedName: "maxSegmentCount", type: { name: "Number" @@ -642,6 +747,30 @@ export const LinkTableStatus: coreClient.CompositeMapper = { type: { name: "any" } + }, + linkTableId: { + serializedName: "linkTableId", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "errorCode", + type: { + name: "String" + } + }, + lastProcessedData: { + serializedName: "lastProcessedData", + type: { + name: "DateTime" + } + }, + lastTransactionCommitTime: { + serializedName: "lastTransactionCommitTime", + type: { + name: "DateTime" + } } } } @@ -2466,6 +2595,13 @@ export const Notebook: coreClient.CompositeMapper = { className: "BigDataPoolReference" } }, + targetSparkConfiguration: { + serializedName: "targetSparkConfiguration", + type: { + name: "Composite", + className: "SparkConfigurationReference" + } + }, sessionProperties: { serializedName: "sessionProperties", type: { @@ -2541,6 +2677,29 @@ export const BigDataPoolReference: coreClient.CompositeMapper = { } }; +export const SparkConfigurationReference: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SparkConfigurationReference", + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + }, + referenceName: { + serializedName: "referenceName", + required: true, + type: { + name: "String" + } + } + } + } +}; + export const NotebookSessionProperties: coreClient.CompositeMapper = { type: { name: "Composite", @@ -3406,6 +3565,13 @@ export const SparkJobDefinition: coreClient.CompositeMapper = { className: "BigDataPoolReference" } }, + targetSparkConfiguration: { + serializedName: "targetSparkConfiguration", + type: { + name: "Composite", + className: "SparkConfigurationReference" + } + }, requiredSparkVersion: { serializedName: "requiredSparkVersion", type: { @@ -5044,35 +5210,6 @@ export const RerunTumblingWindowTriggerActionParameters: coreClient.CompositeMap } }; -export const RerunTriggerListResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RerunTriggerListResponse", - modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RerunTriggerResource" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - export const GetSsisObjectMetadataRequest: coreClient.CompositeMapper = { type: { name: "Composite", @@ -5494,6 +5631,35 @@ export const DataFlowDebugResultResponse: coreClient.CompositeMapper = { } }; +export const RerunTriggerListResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RerunTriggerListResponse", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RerunTriggerResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const Transformation: coreClient.CompositeMapper = { type: { name: "Composite", @@ -8292,6 +8458,12 @@ export const ExcelDataset: coreClient.CompositeMapper = { name: "any" } }, + sheetIndex: { + serializedName: "typeProperties.sheetIndex", + type: { + name: "any" + } + }, range: { serializedName: "typeProperties.range", type: { @@ -9748,6 +9920,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: { @@ -13268,75 +13468,198 @@ export const SapOpenHubLinkedService: coreClient.CompositeMapper = { } }; -export const RestServiceLinkedService: coreClient.CompositeMapper = { - serializedName: "RestService", +export const SapOdpLinkedService: coreClient.CompositeMapper = { + serializedName: "SapOdp", type: { name: "Composite", - className: "RestServiceLinkedService", + className: "SapOdpLinkedService", uberParent: "LinkedService", additionalProperties: { type: { name: "Object" } }, polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, modelProperties: { ...LinkedService.type.modelProperties, - url: { - serializedName: "typeProperties.url", - required: true, + server: { + serializedName: "typeProperties.server", type: { name: "any" } }, - enableServerCertificateValidation: { - serializedName: "typeProperties.enableServerCertificateValidation", + systemNumber: { + serializedName: "typeProperties.systemNumber", type: { name: "any" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", - required: true, + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "String" + name: "any" } }, - userName: { - serializedName: "typeProperties.userName", + language: { + serializedName: "typeProperties.language", type: { name: "any" } }, - password: { - serializedName: "typeProperties.password", + systemId: { + serializedName: "typeProperties.systemId", type: { - name: "Composite", - className: "SecretBase" + name: "any" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + userName: { + serializedName: "typeProperties.userName", type: { name: "any" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - tenant: { - serializedName: "typeProperties.tenant", + messageServer: { + serializedName: "typeProperties.messageServer", type: { name: "any" } }, - azureCloudType: { - serializedName: "typeProperties.azureCloudType", + messageServerService: { + serializedName: "typeProperties.messageServerService", type: { name: "any" } }, - aadResourceId: { + 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: { + name: "Composite", + className: "RestServiceLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + serializedName: "typeProperties.url", + required: true, + type: { + name: "any" + } + }, + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", + type: { + name: "any" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + required: true, + type: { + name: "String" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "any" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "any" + } + }, + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", + type: { + name: "any" + } + }, + azureCloudType: { + serializedName: "typeProperties.azureCloudType", + type: { + name: "any" + } + }, + aadResourceId: { serializedName: "typeProperties.aadResourceId", type: { name: "any" @@ -13347,6 +13670,37 @@ export const RestServiceLinkedService: coreClient.CompositeMapper = { type: { name: "any" } + }, + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "any" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tokenEndpoint: { + serializedName: "typeProperties.tokenEndpoint", + type: { + name: "any" + } + }, + resource: { + serializedName: "typeProperties.resource", + type: { + name: "any" + } + }, + scope: { + serializedName: "typeProperties.scope", + type: { + name: "any" + } } } } @@ -13521,6 +13875,150 @@ export const ZendeskLinkedService: coreClient.CompositeMapper = { } }; +export const DataworldLinkedService: coreClient.CompositeMapper = { + serializedName: "Dataworld", + type: { + name: "Composite", + className: "DataworldLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + apiToken: { + serializedName: "typeProperties.apiToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "any" + } + } + } + } +}; + +export const AppFiguresLinkedService: coreClient.CompositeMapper = { + serializedName: "AppFigures", + type: { + name: "Composite", + className: "AppFiguresLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + userName: { + serializedName: "typeProperties.userName", + required: true, + type: { + name: "any" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + clientKey: { + serializedName: "typeProperties.clientKey", + type: { + name: "Composite", + className: "SecretBase" + } + } + } + } +}; + +export const AsanaLinkedService: coreClient.CompositeMapper = { + serializedName: "Asana", + type: { + name: "Composite", + className: "AsanaLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + apiToken: { + serializedName: "typeProperties.apiToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "any" + } + } + } + } +}; + +export const TwilioLinkedService: coreClient.CompositeMapper = { + serializedName: "Twilio", + type: { + name: "Composite", + className: "TwilioLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + userName: { + serializedName: "typeProperties.userName", + required: true, + type: { + name: "any" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + } + } + } +}; + +export const GoogleSheetsLinkedService: coreClient.CompositeMapper = { + serializedName: "GoogleSheets", + type: { + name: "Composite", + className: "GoogleSheetsLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + apiToken: { + serializedName: "typeProperties.apiToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "any" + } + } + } + } +}; + export const AmazonS3LinkedService: coreClient.CompositeMapper = { serializedName: "AmazonS3", type: { @@ -16897,6 +17395,33 @@ export const SharePointOnlineListLinkedService: coreClient.CompositeMapper = { } }; +export const AzureSynapseArtifactsLinkedService: coreClient.CompositeMapper = { + serializedName: "AzureSynapseArtifacts", + type: { + name: "Composite", + className: "AzureSynapseArtifactsLinkedService", + uberParent: "LinkedService", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + serializedName: "typeProperties.endpoint", + required: true, + type: { + name: "any" + } + }, + authentication: { + serializedName: "typeProperties.authentication", + type: { + name: "any" + } + } + } + } +}; + export const ControlActivity: coreClient.CompositeMapper = { serializedName: "Container", type: { @@ -17211,6 +17736,13 @@ export const DataFlowSink: coreClient.CompositeMapper = { name: "Composite", className: "LinkedServiceReference" } + }, + rejectedDataLinkedService: { + serializedName: "rejectedDataLinkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } } } } @@ -22005,6 +22537,34 @@ export const WaitActivity: coreClient.CompositeMapper = { } }; +export const FailActivity: coreClient.CompositeMapper = { + serializedName: "Fail", + type: { + name: "Composite", + className: "FailActivity", + uberParent: "Activity", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: Activity.type.polymorphicDiscriminator, + modelProperties: { + ...ControlActivity.type.modelProperties, + message: { + serializedName: "typeProperties.message", + required: true, + type: { + name: "any" + } + }, + errorCode: { + serializedName: "typeProperties.errorCode", + required: true, + type: { + name: "any" + } + } + } + } +}; + export const UntilActivity: coreClient.CompositeMapper = { serializedName: "Until", type: { @@ -23623,6 +24183,12 @@ export const ExecuteDataFlowActivity: coreClient.CompositeMapper = { type: { name: "any" } + }, + sourceStagingConcurrency: { + serializedName: "typeProperties.sourceStagingConcurrency", + type: { + name: "any" + } } } } @@ -23691,6 +24257,30 @@ export const SynapseNotebookActivity: coreClient.CompositeMapper = { name: "Dictionary", value: { type: { name: "Composite", className: "NotebookParameter" } } } + }, + executorSize: { + serializedName: "typeProperties.executorSize", + type: { + name: "any" + } + }, + conf: { + serializedName: "typeProperties.conf", + type: { + name: "any" + } + }, + driverSize: { + serializedName: "typeProperties.driverSize", + type: { + name: "any" + } + }, + numExecutors: { + serializedName: "typeProperties.numExecutors", + type: { + name: "Number" + } } } } @@ -24255,6 +24845,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: { @@ -25831,6 +26459,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, @@ -25919,11 +26548,17 @@ export let discriminators = { "LinkedService.SapCloudForCustomer": SapCloudForCustomerLinkedService, "LinkedService.SapEcc": SapEccLinkedService, "LinkedService.SapOpenHub": SapOpenHubLinkedService, + "LinkedService.SapOdp": SapOdpLinkedService, "LinkedService.RestService": RestServiceLinkedService, "LinkedService.TeamDesk": TeamDeskLinkedService, "LinkedService.Quickbase": QuickbaseLinkedService, "LinkedService.Smartsheet": SmartsheetLinkedService, "LinkedService.Zendesk": ZendeskLinkedService, + "LinkedService.Dataworld": DataworldLinkedService, + "LinkedService.AppFigures": AppFiguresLinkedService, + "LinkedService.Asana": AsanaLinkedService, + "LinkedService.Twilio": TwilioLinkedService, + "LinkedService.GoogleSheets": GoogleSheetsLinkedService, "LinkedService.AmazonS3": AmazonS3LinkedService, "LinkedService.AmazonRedshift": AmazonRedshiftLinkedService, "LinkedService.CustomDataSource": CustomDataSourceLinkedService, @@ -25976,6 +26611,7 @@ export let discriminators = { "LinkedService.AzureFunction": AzureFunctionLinkedService, "LinkedService.Snowflake": SnowflakeLinkedService, "LinkedService.SharePointOnlineList": SharePointOnlineListLinkedService, + "LinkedService.AzureSynapseArtifacts": AzureSynapseArtifactsLinkedService, "Activity.Container": ControlActivity, "Activity.Execution": ExecutionActivity, "Activity.SqlPoolStoredProcedure": SqlPoolStoredProcedureActivity, @@ -26119,6 +26755,7 @@ export let discriminators = { "Activity.Switch": SwitchActivity, "Activity.ForEach": ForEachActivity, "Activity.Wait": WaitActivity, + "Activity.Fail": FailActivity, "Activity.Until": UntilActivity, "Activity.Validation": ValidationActivity, "Activity.Filter": FilterActivity, @@ -26168,6 +26805,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/synapse/synapse-artifacts/src/models/parameters.ts b/sdk/synapse/synapse-artifacts/src/models/parameters.ts index a9dcf43eebc2..70850a8d4491 100644 --- a/sdk/synapse/synapse-artifacts/src/models/parameters.ts +++ b/sdk/synapse/synapse-artifacts/src/models/parameters.ts @@ -64,7 +64,7 @@ export const endpoint: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-12-01-preview", + defaultValue: "2022-08-01-preview", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/synapse/synapse-artifacts/src/tracing.ts b/sdk/synapse/synapse-artifacts/src/tracing.ts index 39872dd38b65..4836b73cbacd 100644 --- a/sdk/synapse/synapse-artifacts/src/tracing.ts +++ b/sdk/synapse/synapse-artifacts/src/tracing.ts @@ -11,5 +11,5 @@ import { createTracingClient } from "@azure/core-tracing"; export const tracingClient = createTracingClient({ namespace: "Azure.Synapse.Artifacts", packageName: "@azure/synapse-artifacts", - packageVersion: "1.0.0-beta.12" + packageVersion: "1.0.0-beta.13" }); diff --git a/sdk/synapse/synapse-artifacts/swagger/README.md b/sdk/synapse/synapse-artifacts/swagger/README.md index 4cdccecedc38..238ae8bda77d 100644 --- a/sdk/synapse/synapse-artifacts/swagger/README.md +++ b/sdk/synapse/synapse-artifacts/swagger/README.md @@ -8,7 +8,7 @@ Run `rushx generate:client` to generate code. ```yaml package-name: "@azure/synapse-artifacts" -package-version: "1.0.0-beta.12" +package-version: "1.0.0-beta.11" add-credentials: true license-header: MICROSOFT_MIT_NO_VERSION security-scopes: https://dev.azuresynapse.net/.default @@ -18,10 +18,10 @@ clear-output-folder: false tracing-info: namespace: "Azure.Synapse.Artifacts" packagePrefix: "Microsoft.Synapse" -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/9137cd61964e736bc5e4391d83311084a312907a/specification/synapse/data-plane/readme.md +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/e24bbf6a66cb0a19c072c6f15cee163acbd7acf7/specification/synapse/data-plane/readme.md use-extension: "@autorest/typescript": "latest" -tag: package-artifacts-composite-v4 +tag: package-artifacts-composite-v5 typescript: generate-metadata: false