@alicloud/dataworks-public20240518 7.2.0 → 7.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +22 -22
- package/dist/client.js +95 -27
- package/dist/client.js.map +1 -1
- package/dist/models/AddEntityIntoMetaCollectionRequest.d.ts +4 -0
- package/dist/models/AddEntityIntoMetaCollectionRequest.js.map +1 -1
- package/dist/models/CreateDijobRequest.d.ts +0 -81
- package/dist/models/CreateDijobRequest.js.map +1 -1
- package/dist/models/CreateDijobRequestDestinationDataSourceSettings.d.ts +0 -7
- package/dist/models/CreateDijobRequestDestinationDataSourceSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestJobSettings.d.ts +0 -41
- package/dist/models/CreateDijobRequestJobSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestJobSettingsColumnDataTypeSettings.d.ts +0 -14
- package/dist/models/CreateDijobRequestJobSettingsColumnDataTypeSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestJobSettingsCycleScheduleSettings.d.ts +0 -17
- package/dist/models/CreateDijobRequestJobSettingsCycleScheduleSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestJobSettingsDdlHandlingSettings.d.ts +0 -26
- package/dist/models/CreateDijobRequestJobSettingsDdlHandlingSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestJobSettingsRuntimeSettings.d.ts +0 -23
- package/dist/models/CreateDijobRequestJobSettingsRuntimeSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestResourceSettings.d.ts +0 -12
- package/dist/models/CreateDijobRequestResourceSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestResourceSettingsOfflineResourceSettings.d.ts +0 -14
- package/dist/models/CreateDijobRequestResourceSettingsOfflineResourceSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestResourceSettingsRealtimeResourceSettings.d.ts +0 -14
- package/dist/models/CreateDijobRequestResourceSettingsRealtimeResourceSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestResourceSettingsScheduleResourceSettings.d.ts +0 -14
- package/dist/models/CreateDijobRequestResourceSettingsScheduleResourceSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestSourceDataSourceSettings.d.ts +0 -11
- package/dist/models/CreateDijobRequestSourceDataSourceSettings.js.map +1 -1
- package/dist/models/CreateDijobRequestSourceDataSourceSettingsDataSourceProperties.d.ts +0 -14
- package/dist/models/CreateDijobRequestSourceDataSourceSettingsDataSourceProperties.js.map +1 -1
- package/dist/models/CreateDijobRequestTableMappings.d.ts +0 -8
- package/dist/models/CreateDijobRequestTableMappings.js.map +1 -1
- package/dist/models/CreateDijobRequestTableMappingsSourceObjectSelectionRules.d.ts +0 -32
- package/dist/models/CreateDijobRequestTableMappingsSourceObjectSelectionRules.js.map +1 -1
- package/dist/models/CreateDijobRequestTableMappingsTransformationRules.d.ts +0 -34
- package/dist/models/CreateDijobRequestTableMappingsTransformationRules.js.map +1 -1
- package/dist/models/CreateDijobRequestTransformationRules.d.ts +0 -83
- package/dist/models/CreateDijobRequestTransformationRules.js.map +1 -1
- package/dist/models/CreateDijobShrinkRequest.d.ts +0 -81
- package/dist/models/CreateDijobShrinkRequest.js.map +1 -1
- package/dist/models/CreateLineageRelationshipRequest.d.ts +4 -0
- package/dist/models/CreateLineageRelationshipRequest.js.map +1 -1
- package/dist/models/CreateLineageRelationshipResponseBody.d.ts +3 -0
- package/dist/models/CreateLineageRelationshipResponseBody.js.map +1 -1
- package/dist/models/CreateLineageRelationshipShrinkRequest.d.ts +4 -0
- package/dist/models/CreateLineageRelationshipShrinkRequest.js.map +1 -1
- package/dist/models/CreateMetaCollectionRequest.d.ts +3 -0
- package/dist/models/CreateMetaCollectionRequest.js.map +1 -1
- package/dist/models/CreateMetaCollectionResponseBody.d.ts +3 -0
- package/dist/models/CreateMetaCollectionResponseBody.js.map +1 -1
- package/dist/models/CreateWorkflowInstancesRequestDefaultRunProperties.d.ts +1 -0
- package/dist/models/CreateWorkflowInstancesRequestDefaultRunProperties.js +2 -0
- package/dist/models/CreateWorkflowInstancesRequestDefaultRunProperties.js.map +1 -1
- package/dist/models/DeleteLineageRelationshipRequest.d.ts +2 -0
- package/dist/models/DeleteLineageRelationshipRequest.js.map +1 -1
- package/dist/models/DeleteMetaCollectionRequest.d.ts +2 -0
- package/dist/models/DeleteMetaCollectionRequest.js.map +1 -1
- package/dist/models/GetCatalogRequest.d.ts +11 -0
- package/dist/models/GetCatalogRequest.js.map +1 -1
- package/dist/models/GetColumnRequest.d.ts +30 -0
- package/dist/models/GetColumnRequest.js.map +1 -1
- package/dist/models/GetDatabaseRequest.d.ts +20 -0
- package/dist/models/GetDatabaseRequest.js.map +1 -1
- package/dist/models/GetLineageRelationshipRequest.d.ts +2 -0
- package/dist/models/GetLineageRelationshipRequest.js.map +1 -1
- package/dist/models/GetMetaCollectionRequest.d.ts +2 -0
- package/dist/models/GetMetaCollectionRequest.js.map +1 -1
- package/dist/models/GetMetaCollectionResponseBody.d.ts +4 -0
- package/dist/models/GetMetaCollectionResponseBody.js.map +1 -1
- package/dist/models/GetMetaCollectionResponseBodyMetaCollection.d.ts +6 -0
- package/dist/models/GetMetaCollectionResponseBodyMetaCollection.js.map +1 -1
- package/dist/models/GetPartitionRequest.d.ts +2 -0
- package/dist/models/GetPartitionRequest.js.map +1 -1
- package/dist/models/GetRerunWorkflowInstancesResultRequest.d.ts +2 -0
- package/dist/models/GetRerunWorkflowInstancesResultRequest.js.map +1 -1
- package/dist/models/GetRerunWorkflowInstancesResultResponseBody.d.ts +7 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponseBody.js.map +1 -1
- package/dist/models/GetRerunWorkflowInstancesResultResponseBodyResult.d.ts +10 -0
- package/dist/models/GetRerunWorkflowInstancesResultResponseBodyResult.js.map +1 -1
- package/dist/models/GetSchemaRequest.d.ts +15 -3
- package/dist/models/GetSchemaRequest.js.map +1 -1
- package/dist/models/GetTableRequest.d.ts +31 -0
- package/dist/models/GetTableRequest.js.map +1 -1
- package/dist/models/GetTaskInstanceResponseBody.d.ts +1 -1
- package/dist/models/GetTaskInstanceResponseBodyTaskInstance.d.ts +8 -0
- package/dist/models/GetTaskInstanceResponseBodyTaskInstance.js.map +1 -1
- package/dist/models/ListCatalogsRequest.d.ts +11 -0
- package/dist/models/ListCatalogsRequest.js.map +1 -1
- package/dist/models/ListCatalogsShrinkRequest.d.ts +11 -0
- package/dist/models/ListCatalogsShrinkRequest.js.map +1 -1
- package/dist/models/ListColumnsRequest.d.ts +2 -0
- package/dist/models/ListColumnsRequest.js.map +1 -1
- package/dist/models/ListDatabasesRequest.d.ts +20 -0
- package/dist/models/ListDatabasesRequest.js.map +1 -1
- package/dist/models/ListEntitiesInMetaCollectionRequest.d.ts +2 -0
- package/dist/models/ListEntitiesInMetaCollectionRequest.js.map +1 -1
- package/dist/models/ListEntitiesInMetaCollectionResponseBody.d.ts +4 -0
- package/dist/models/ListEntitiesInMetaCollectionResponseBody.js.map +1 -1
- package/dist/models/ListEntitiesInMetaCollectionResponseBodyPagingInfo.d.ts +4 -0
- package/dist/models/ListEntitiesInMetaCollectionResponseBodyPagingInfo.js.map +1 -1
- package/dist/models/ListEntitiesInMetaCollectionResponseBodyPagingInfoEntities.d.ts +6 -0
- package/dist/models/ListEntitiesInMetaCollectionResponseBodyPagingInfoEntities.js.map +1 -1
- package/dist/models/ListLineageRelationshipsRequest.d.ts +4 -0
- package/dist/models/ListLineageRelationshipsRequest.js.map +1 -1
- package/dist/models/ListLineagesRequest.d.ts +6 -0
- package/dist/models/ListLineagesRequest.js.map +1 -1
- package/dist/models/ListMetaCollectionsRequest.d.ts +9 -0
- package/dist/models/ListMetaCollectionsRequest.js.map +1 -1
- package/dist/models/ListMetaCollectionsResponseBody.d.ts +4 -0
- package/dist/models/ListMetaCollectionsResponseBody.js.map +1 -1
- package/dist/models/ListMetaCollectionsResponseBodyData.d.ts +4 -0
- package/dist/models/ListMetaCollectionsResponseBodyData.js.map +1 -1
- package/dist/models/ListMetaCollectionsResponseBodyDataMetaCollections.d.ts +12 -0
- package/dist/models/ListMetaCollectionsResponseBodyDataMetaCollections.js.map +1 -1
- package/dist/models/ListPartitionsRequest.d.ts +2 -0
- package/dist/models/ListPartitionsRequest.js.map +1 -1
- package/dist/models/ListSchemasRequest.d.ts +36 -0
- package/dist/models/ListSchemasRequest.js.map +1 -1
- package/dist/models/ListSchemasResponseBody.d.ts +10 -0
- package/dist/models/ListSchemasResponseBody.js.map +1 -1
- package/dist/models/ListSchemasResponseBodyPagingInfo.d.ts +7 -0
- package/dist/models/ListSchemasResponseBodyPagingInfo.js.map +1 -1
- package/dist/models/ListSchemasShrinkRequest.d.ts +36 -0
- package/dist/models/ListSchemasShrinkRequest.js.map +1 -1
- package/dist/models/ListTablesRequest.d.ts +33 -0
- package/dist/models/ListTablesRequest.js.map +1 -1
- package/dist/models/ListTablesShrinkRequest.d.ts +33 -0
- package/dist/models/ListTablesShrinkRequest.js.map +1 -1
- package/dist/models/ListTaskInstancesRequest.d.ts +4 -0
- package/dist/models/ListTaskInstancesRequest.js.map +1 -1
- package/dist/models/ListTaskInstancesResponseBody.d.ts +1 -1
- package/dist/models/ListTaskInstancesResponseBodyPagingInfo.d.ts +1 -1
- package/dist/models/ListTaskInstancesResponseBodyPagingInfoTaskInstances.d.ts +12 -0
- package/dist/models/ListTaskInstancesResponseBodyPagingInfoTaskInstances.js.map +1 -1
- package/dist/models/ListTaskInstancesShrinkRequest.d.ts +4 -0
- package/dist/models/ListTaskInstancesShrinkRequest.js.map +1 -1
- package/dist/models/RemoveEntityFromMetaCollectionRequest.d.ts +6 -0
- package/dist/models/RemoveEntityFromMetaCollectionRequest.js.map +1 -1
- package/dist/models/RerunWorkflowInstancesRequest.d.ts +44 -0
- package/dist/models/RerunWorkflowInstancesRequest.js.map +1 -1
- package/dist/models/RerunWorkflowInstancesRequestFilter.d.ts +18 -0
- package/dist/models/RerunWorkflowInstancesRequestFilter.js.map +1 -1
- package/dist/models/RerunWorkflowInstancesResponseBody.d.ts +6 -0
- package/dist/models/RerunWorkflowInstancesResponseBody.js.map +1 -1
- package/dist/models/RerunWorkflowInstancesShrinkRequest.d.ts +44 -0
- package/dist/models/RerunWorkflowInstancesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateColumnBusinessMetadataRequest.d.ts +2 -0
- package/dist/models/UpdateColumnBusinessMetadataRequest.js.map +1 -1
- package/dist/models/UpdateDijobRequest.d.ts +0 -42
- package/dist/models/UpdateDijobRequest.js.map +1 -1
- package/dist/models/UpdateDijobRequestJobSettings.d.ts +0 -41
- package/dist/models/UpdateDijobRequestJobSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestJobSettingsColumnDataTypeSettings.d.ts +0 -14
- package/dist/models/UpdateDijobRequestJobSettingsColumnDataTypeSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestJobSettingsCycleScheduleSettings.d.ts +0 -7
- package/dist/models/UpdateDijobRequestJobSettingsCycleScheduleSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestJobSettingsDdlHandlingSettings.d.ts +0 -26
- package/dist/models/UpdateDijobRequestJobSettingsDdlHandlingSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestJobSettingsRuntimeSettings.d.ts +0 -23
- package/dist/models/UpdateDijobRequestJobSettingsRuntimeSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestResourceSettings.d.ts +0 -12
- package/dist/models/UpdateDijobRequestResourceSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestResourceSettingsOfflineResourceSettings.d.ts +0 -14
- package/dist/models/UpdateDijobRequestResourceSettingsOfflineResourceSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestResourceSettingsRealtimeResourceSettings.d.ts +0 -14
- package/dist/models/UpdateDijobRequestResourceSettingsRealtimeResourceSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestResourceSettingsScheduleResourceSettings.d.ts +0 -14
- package/dist/models/UpdateDijobRequestResourceSettingsScheduleResourceSettings.js.map +1 -1
- package/dist/models/UpdateDijobRequestTableMappings.d.ts +0 -8
- package/dist/models/UpdateDijobRequestTableMappings.js.map +1 -1
- package/dist/models/UpdateDijobRequestTableMappingsSourceObjectSelectionRules.d.ts +0 -32
- package/dist/models/UpdateDijobRequestTableMappingsSourceObjectSelectionRules.js.map +1 -1
- package/dist/models/UpdateDijobRequestTableMappingsTransformationRules.d.ts +0 -30
- package/dist/models/UpdateDijobRequestTableMappingsTransformationRules.js.map +1 -1
- package/dist/models/UpdateDijobRequestTransformationRules.d.ts +0 -83
- package/dist/models/UpdateDijobRequestTransformationRules.js.map +1 -1
- package/dist/models/UpdateDijobShrinkRequest.d.ts +0 -42
- package/dist/models/UpdateDijobShrinkRequest.js.map +1 -1
- package/dist/models/UpdateMetaCollectionRequest.d.ts +6 -0
- package/dist/models/UpdateMetaCollectionRequest.js.map +1 -1
- package/dist/models/UpdateMetaCollectionShrinkRequest.d.ts +6 -0
- package/dist/models/UpdateMetaCollectionShrinkRequest.js.map +1 -1
- package/dist/models/UpdateTableBusinessMetadataRequest.d.ts +2 -0
- package/dist/models/UpdateTableBusinessMetadataRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +117 -27
- package/src/models/AddEntityIntoMetaCollectionRequest.ts +4 -0
- package/src/models/CreateDijobRequest.ts +0 -81
- package/src/models/CreateDijobRequestDestinationDataSourceSettings.ts +0 -7
- package/src/models/CreateDijobRequestJobSettings.ts +0 -41
- package/src/models/CreateDijobRequestJobSettingsColumnDataTypeSettings.ts +0 -14
- package/src/models/CreateDijobRequestJobSettingsCycleScheduleSettings.ts +0 -17
- package/src/models/CreateDijobRequestJobSettingsDdlHandlingSettings.ts +0 -26
- package/src/models/CreateDijobRequestJobSettingsRuntimeSettings.ts +0 -23
- package/src/models/CreateDijobRequestResourceSettings.ts +0 -12
- package/src/models/CreateDijobRequestResourceSettingsOfflineResourceSettings.ts +0 -14
- package/src/models/CreateDijobRequestResourceSettingsRealtimeResourceSettings.ts +0 -14
- package/src/models/CreateDijobRequestResourceSettingsScheduleResourceSettings.ts +0 -14
- package/src/models/CreateDijobRequestSourceDataSourceSettings.ts +0 -11
- package/src/models/CreateDijobRequestSourceDataSourceSettingsDataSourceProperties.ts +0 -14
- package/src/models/CreateDijobRequestTableMappings.ts +0 -8
- package/src/models/CreateDijobRequestTableMappingsSourceObjectSelectionRules.ts +0 -32
- package/src/models/CreateDijobRequestTableMappingsTransformationRules.ts +0 -34
- package/src/models/CreateDijobRequestTransformationRules.ts +0 -83
- package/src/models/CreateDijobShrinkRequest.ts +0 -81
- package/src/models/CreateLineageRelationshipRequest.ts +4 -0
- package/src/models/CreateLineageRelationshipResponseBody.ts +3 -0
- package/src/models/CreateLineageRelationshipShrinkRequest.ts +4 -0
- package/src/models/CreateMetaCollectionRequest.ts +3 -0
- package/src/models/CreateMetaCollectionResponseBody.ts +3 -0
- package/src/models/CreateWorkflowInstancesRequestDefaultRunProperties.ts +3 -0
- package/src/models/DeleteLineageRelationshipRequest.ts +2 -0
- package/src/models/DeleteMetaCollectionRequest.ts +2 -0
- package/src/models/GetCatalogRequest.ts +11 -0
- package/src/models/GetColumnRequest.ts +30 -0
- package/src/models/GetDatabaseRequest.ts +20 -0
- package/src/models/GetLineageRelationshipRequest.ts +2 -0
- package/src/models/GetMetaCollectionRequest.ts +2 -0
- package/src/models/GetMetaCollectionResponseBody.ts +4 -0
- package/src/models/GetMetaCollectionResponseBodyMetaCollection.ts +6 -0
- package/src/models/GetPartitionRequest.ts +2 -0
- package/src/models/GetRerunWorkflowInstancesResultRequest.ts +2 -0
- package/src/models/GetRerunWorkflowInstancesResultResponseBody.ts +7 -0
- package/src/models/GetRerunWorkflowInstancesResultResponseBodyResult.ts +10 -0
- package/src/models/GetSchemaRequest.ts +15 -3
- package/src/models/GetTableRequest.ts +31 -0
- package/src/models/GetTaskInstanceResponseBody.ts +1 -1
- package/src/models/GetTaskInstanceResponseBodyTaskInstance.ts +8 -0
- package/src/models/ListCatalogsRequest.ts +11 -0
- package/src/models/ListCatalogsShrinkRequest.ts +11 -0
- package/src/models/ListColumnsRequest.ts +2 -0
- package/src/models/ListDatabasesRequest.ts +20 -0
- package/src/models/ListEntitiesInMetaCollectionRequest.ts +2 -0
- package/src/models/ListEntitiesInMetaCollectionResponseBody.ts +4 -0
- package/src/models/ListEntitiesInMetaCollectionResponseBodyPagingInfo.ts +4 -0
- package/src/models/ListEntitiesInMetaCollectionResponseBodyPagingInfoEntities.ts +6 -0
- package/src/models/ListLineageRelationshipsRequest.ts +4 -0
- package/src/models/ListLineagesRequest.ts +6 -0
- package/src/models/ListMetaCollectionsRequest.ts +9 -0
- package/src/models/ListMetaCollectionsResponseBody.ts +4 -0
- package/src/models/ListMetaCollectionsResponseBodyData.ts +4 -0
- package/src/models/ListMetaCollectionsResponseBodyDataMetaCollections.ts +12 -0
- package/src/models/ListPartitionsRequest.ts +2 -0
- package/src/models/ListSchemasRequest.ts +36 -0
- package/src/models/ListSchemasResponseBody.ts +10 -0
- package/src/models/ListSchemasResponseBodyPagingInfo.ts +7 -0
- package/src/models/ListSchemasShrinkRequest.ts +36 -0
- package/src/models/ListTablesRequest.ts +33 -0
- package/src/models/ListTablesShrinkRequest.ts +33 -0
- package/src/models/ListTaskInstancesRequest.ts +4 -0
- package/src/models/ListTaskInstancesResponseBody.ts +1 -1
- package/src/models/ListTaskInstancesResponseBodyPagingInfo.ts +1 -1
- package/src/models/ListTaskInstancesResponseBodyPagingInfoTaskInstances.ts +12 -0
- package/src/models/ListTaskInstancesShrinkRequest.ts +4 -0
- package/src/models/RemoveEntityFromMetaCollectionRequest.ts +6 -0
- package/src/models/RerunWorkflowInstancesRequest.ts +44 -0
- package/src/models/RerunWorkflowInstancesRequestFilter.ts +18 -0
- package/src/models/RerunWorkflowInstancesResponseBody.ts +6 -0
- package/src/models/RerunWorkflowInstancesShrinkRequest.ts +44 -0
- package/src/models/UpdateColumnBusinessMetadataRequest.ts +2 -0
- package/src/models/UpdateDijobRequest.ts +0 -42
- package/src/models/UpdateDijobRequestJobSettings.ts +0 -41
- package/src/models/UpdateDijobRequestJobSettingsColumnDataTypeSettings.ts +0 -14
- package/src/models/UpdateDijobRequestJobSettingsCycleScheduleSettings.ts +0 -7
- package/src/models/UpdateDijobRequestJobSettingsDdlHandlingSettings.ts +0 -26
- package/src/models/UpdateDijobRequestJobSettingsRuntimeSettings.ts +0 -23
- package/src/models/UpdateDijobRequestResourceSettings.ts +0 -12
- package/src/models/UpdateDijobRequestResourceSettingsOfflineResourceSettings.ts +0 -14
- package/src/models/UpdateDijobRequestResourceSettingsRealtimeResourceSettings.ts +0 -14
- package/src/models/UpdateDijobRequestResourceSettingsScheduleResourceSettings.ts +0 -14
- package/src/models/UpdateDijobRequestTableMappings.ts +0 -8
- package/src/models/UpdateDijobRequestTableMappingsSourceObjectSelectionRules.ts +0 -32
- package/src/models/UpdateDijobRequestTableMappingsTransformationRules.ts +0 -30
- package/src/models/UpdateDijobRequestTransformationRules.ts +0 -83
- package/src/models/UpdateDijobShrinkRequest.ts +0 -42
- package/src/models/UpdateMetaCollectionRequest.ts +6 -0
- package/src/models/UpdateMetaCollectionShrinkRequest.ts +6 -0
- package/src/models/UpdateTableBusinessMetadataRequest.ts +2 -0
|
@@ -9,131 +9,50 @@ import { CreateDIJobRequestTransformationRules } from "./CreateDijobRequestTrans
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
export class CreateDIJobRequest extends $dara.Model {
|
|
12
|
-
/**
|
|
13
|
-
* @remarks
|
|
14
|
-
* The description of the synchronization task.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* The description of the synchronization task.
|
|
18
|
-
*/
|
|
19
12
|
description?: string;
|
|
20
13
|
/**
|
|
21
14
|
* @remarks
|
|
22
|
-
* The settings of the destination. Only a single destination is supported.
|
|
23
|
-
*
|
|
24
15
|
* This parameter is required.
|
|
25
16
|
*/
|
|
26
17
|
destinationDataSourceSettings?: CreateDIJobRequestDestinationDataSourceSettings[];
|
|
27
18
|
/**
|
|
28
19
|
* @remarks
|
|
29
|
-
* The destination type. Valid values: Hologres, OSS-HDFS, OSS, MaxCompute, LogHub, StarRocks, DataHub, AnalyticDB for MySQL, Kafka, and Hive.
|
|
30
|
-
*
|
|
31
20
|
* This parameter is required.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* Hologres
|
|
35
21
|
*/
|
|
36
22
|
destinationDataSourceType?: string;
|
|
37
23
|
/**
|
|
38
|
-
* @remarks
|
|
39
|
-
* This parameter is deprecated and is replaced by the Name parameter.
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* mysql_to_holo_sync_8772
|
|
43
|
-
*
|
|
44
24
|
* @deprecated
|
|
45
25
|
*/
|
|
46
26
|
jobName?: string;
|
|
47
|
-
/**
|
|
48
|
-
* @remarks
|
|
49
|
-
* The settings for the dimension of the synchronization task. The settings include processing policies for DDL messages, policies for data type mappings between source fields and destination fields, and runtime parameters of the synchronization task.
|
|
50
|
-
*/
|
|
51
27
|
jobSettings?: CreateDIJobRequestJobSettings;
|
|
52
|
-
/**
|
|
53
|
-
* @remarks
|
|
54
|
-
* The type of the task. This parameter is optional. Valid values:
|
|
55
|
-
*
|
|
56
|
-
* * DatabaseRealtimeMigration: A real-time synchronization task used to synchronize only full data, only incremental data, or full and incremental data in multiple tables of multiple databases at the source.
|
|
57
|
-
* * DatabaseOfflineMigration: A batch synchronization task used to synchronize only full data, only incremental data, or full and incremental data in multiple tables of multiple databases at the source.
|
|
58
|
-
* * SingleTableRealtimeMigration: A real-time synchronization task used to synchronize only data in single table at the source.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* DatabaseRealtimeMigration
|
|
62
|
-
*/
|
|
63
28
|
jobType?: string;
|
|
64
29
|
/**
|
|
65
30
|
* @remarks
|
|
66
|
-
* The synchronization type. Valid values:
|
|
67
|
-
*
|
|
68
|
-
* * FullAndRealtimeIncremental: full synchronization and real-time incremental synchronization of data in an entire database
|
|
69
|
-
* * RealtimeIncremental: real-time incremental synchronization of data in a single table
|
|
70
|
-
* * Full: full batch synchronization of data in an entire database
|
|
71
|
-
* * OfflineIncremental: batch incremental synchronization of data in an entire database
|
|
72
|
-
* * FullAndOfflineIncremental: full synchronization and batch incremental synchronization of data in an entire database
|
|
73
|
-
*
|
|
74
31
|
* This parameter is required.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* FullAndRealtimeIncremental
|
|
78
32
|
*/
|
|
79
33
|
migrationType?: string;
|
|
80
|
-
/**
|
|
81
|
-
* @remarks
|
|
82
|
-
* The name of the synchronization task.
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* mysql_to_holo_sync_8772
|
|
86
|
-
*/
|
|
87
34
|
name?: string;
|
|
88
|
-
/**
|
|
89
|
-
* @remarks
|
|
90
|
-
* The DataWorks workspace ID. You can log on to the [DataWorks console](https://workbench.data.aliyun.com/console) and go to the Workspace page to query the ID.
|
|
91
|
-
*
|
|
92
|
-
* You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* 10000
|
|
96
|
-
*/
|
|
97
35
|
projectId?: number;
|
|
98
36
|
/**
|
|
99
37
|
* @remarks
|
|
100
|
-
* The resource settings.
|
|
101
|
-
*
|
|
102
38
|
* This parameter is required.
|
|
103
39
|
*/
|
|
104
40
|
resourceSettings?: CreateDIJobRequestResourceSettings;
|
|
105
41
|
/**
|
|
106
42
|
* @remarks
|
|
107
|
-
* The settings of the source. Only a single source is supported.
|
|
108
|
-
*
|
|
109
43
|
* This parameter is required.
|
|
110
44
|
*/
|
|
111
45
|
sourceDataSourceSettings?: CreateDIJobRequestSourceDataSourceSettings[];
|
|
112
46
|
/**
|
|
113
47
|
* @remarks
|
|
114
|
-
* The source type. Valid values: PolarDB, MySQL, Kafka, LogHub, Hologres, Oracle, OceanBase, MongoDB, Redshift, Hive, SQL Server, Doris, and ClickHouse.
|
|
115
|
-
*
|
|
116
48
|
* This parameter is required.
|
|
117
|
-
*
|
|
118
|
-
* @example
|
|
119
|
-
* MySQL
|
|
120
49
|
*/
|
|
121
50
|
sourceDataSourceType?: string;
|
|
122
51
|
/**
|
|
123
52
|
* @remarks
|
|
124
|
-
* The list of mappings between rules used to select synchronization objects in the source and transformation rules applied to the selected synchronization objects. Each entry in the list displays a mapping between a rule used to select synchronization objects and a transformation rule applied to the selected synchronization objects.
|
|
125
|
-
*
|
|
126
|
-
* > [ { "SourceObjectSelectionRules":[ { "ObjectType":"Database", "Action":"Include", "ExpressionType":"Exact", "Expression":"biz_db" }, { "ObjectType":"Schema", "Action":"Include", "ExpressionType":"Exact", "Expression":"s1" }, { "ObjectType":"Table", "Action":"Include", "ExpressionType":"Exact", "Expression":"table1" } ], "TransformationRuleNames":[ { "RuleName":"my_database_rename_rule", "RuleActionType":"Rename", "RuleTargetType":"Schema" } ] } ]
|
|
127
|
-
*
|
|
128
53
|
* This parameter is required.
|
|
129
54
|
*/
|
|
130
55
|
tableMappings?: CreateDIJobRequestTableMappings[];
|
|
131
|
-
/**
|
|
132
|
-
* @remarks
|
|
133
|
-
* The list of transformation rules for objects involved in the synchronization task.
|
|
134
|
-
*
|
|
135
|
-
* > [ { "RuleName":"my_database_rename_rule", "RuleActionType":"Rename", "RuleTargetType":"Schema", "RuleExpression":"{"expression":"${srcDatasoureName}_${srcDatabaseName}"}" } ]
|
|
136
|
-
*/
|
|
137
56
|
transformationRules?: CreateDIJobRequestTransformationRules[];
|
|
138
57
|
static names(): { [key: string]: string } {
|
|
139
58
|
return {
|
|
@@ -3,13 +3,6 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestDestinationDataSourceSettings extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The name of the data source.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* holo_datasource_1
|
|
12
|
-
*/
|
|
13
6
|
dataSourceName?: string;
|
|
14
7
|
static names(): { [key: string]: string } {
|
|
15
8
|
return {
|
|
@@ -7,51 +7,10 @@ import { CreateDIJobRequestJobSettingsRuntimeSettings } from "./CreateDijobReque
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export class CreateDIJobRequestJobSettings extends $dara.Model {
|
|
10
|
-
/**
|
|
11
|
-
* @remarks
|
|
12
|
-
* The channel control settings for the synchronization task. You can configure special channel control settings for the following synchronization links: data synchronization between Hologres data sources and data synchronization from Hologres to Kafka.
|
|
13
|
-
*
|
|
14
|
-
* 1. Holo2Kafka
|
|
15
|
-
*
|
|
16
|
-
* * Example: {"destinationChannelSettings":{"kafkaClientProperties":[{"key":"linger.ms","value":"100"}],"keyColumns":["col3"],"writeMode":"canal"}}
|
|
17
|
-
* * kafkaClientProperties: the parameters related to a Kafka producer, which are used when you write data to a Kafka data source.
|
|
18
|
-
* * keyColumns: the names of Kafka columns to which you want to write data.
|
|
19
|
-
* * writeMode: the writing format of the Kafka data source. Valid values: json and canal.
|
|
20
|
-
*
|
|
21
|
-
* 2. Holo2Holo
|
|
22
|
-
*
|
|
23
|
-
* * Example: {"destinationChannelSettings":{"conflictMode":"replace","dynamicColumnAction":"replay","writeMode":"replay"}}
|
|
24
|
-
* * conflictMode: the policy used to handle a conflict that occurs during data writing to Hologres. Valid values: replace and ignore.
|
|
25
|
-
* * writeMode: the mode in which you want to write data to Hologres. Valid values: replay and insert.
|
|
26
|
-
* * dynamicColumnAction: the mode in which you want to write data to dynamic columns in a Hologres table. Valid values: replay, insert, and ignore.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* {"structInfo":"MANAGED","storageType":"TEXTFILE","writeMode":"APPEND","partitionColumns":[{"columnName":"pt","columnType":"STRING","comment":""}],"fieldDelimiter":""}
|
|
30
|
-
*/
|
|
31
10
|
channelSettings?: string;
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* The data type mappings between source fields and destination fields.
|
|
35
|
-
*
|
|
36
|
-
* > "ColumnDataTypeSettings":[ { "SourceDataType":"Bigint", "DestinationDataType":"Text" } ]
|
|
37
|
-
*/
|
|
38
11
|
columnDataTypeSettings?: CreateDIJobRequestJobSettingsColumnDataTypeSettings[];
|
|
39
|
-
/**
|
|
40
|
-
* @remarks
|
|
41
|
-
* The settings for periodic scheduling.
|
|
42
|
-
*/
|
|
43
12
|
cycleScheduleSettings?: CreateDIJobRequestJobSettingsCycleScheduleSettings;
|
|
44
|
-
/**
|
|
45
|
-
* @remarks
|
|
46
|
-
* The processing settings for DDL messages.
|
|
47
|
-
*
|
|
48
|
-
* > "DDLHandlingSettings":[ { "Type":"Insert", "Action":"Normal" } ]
|
|
49
|
-
*/
|
|
50
13
|
ddlHandlingSettings?: CreateDIJobRequestJobSettingsDdlHandlingSettings[];
|
|
51
|
-
/**
|
|
52
|
-
* @remarks
|
|
53
|
-
* The runtime settings.
|
|
54
|
-
*/
|
|
55
14
|
runtimeSettings?: CreateDIJobRequestJobSettingsRuntimeSettings[];
|
|
56
15
|
static names(): { [key: string]: string } {
|
|
57
16
|
return {
|
|
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestJobSettingsColumnDataTypeSettings extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The data type of the destination field. Valid values: bigint, boolean, string, text, datetime, timestamp, decimal, and binary. Different types of data sources support different data types.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* text
|
|
12
|
-
*/
|
|
13
6
|
destinationDataType?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The data type of the source field. Valid values: Valid values: bigint, boolean, string, text, datetime, timestamp, decimal, and binary. Different types of data sources support different data types.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* bigint
|
|
20
|
-
*/
|
|
21
7
|
sourceDataType?: string;
|
|
22
8
|
static names(): { [key: string]: string } {
|
|
23
9
|
return {
|
|
@@ -3,24 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestJobSettingsCycleScheduleSettings extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The synchronization type that requires periodic scheduling. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * Full: full synchronization
|
|
11
|
-
* * OfflineIncremental: batch incremental synchronization
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* Full
|
|
15
|
-
*/
|
|
16
6
|
cycleMigrationType?: string;
|
|
17
|
-
/**
|
|
18
|
-
* @remarks
|
|
19
|
-
* The scheduling parameters.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* bizdate=$bizdate
|
|
23
|
-
*/
|
|
24
7
|
scheduleParameters?: string;
|
|
25
8
|
static names(): { [key: string]: string } {
|
|
26
9
|
return {
|
|
@@ -3,33 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestJobSettingsDdlHandlingSettings extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The processing policy. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * Ignore: ignores a DDL message.
|
|
11
|
-
* * Critical: reports an error for a DDL message.
|
|
12
|
-
* * Normal: normally processes a DDL message.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* Critical
|
|
16
|
-
*/
|
|
17
6
|
action?: string;
|
|
18
|
-
/**
|
|
19
|
-
* @remarks
|
|
20
|
-
* The type of the DDL operation. Valid values:
|
|
21
|
-
*
|
|
22
|
-
* * RenameColumn
|
|
23
|
-
* * ModifyColumn
|
|
24
|
-
* * CreateTable
|
|
25
|
-
* * TruncateTable
|
|
26
|
-
* * DropTable
|
|
27
|
-
* * DropColumn
|
|
28
|
-
* * AddColumn
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* AddColumn
|
|
32
|
-
*/
|
|
33
7
|
type?: string;
|
|
34
8
|
static names(): { [key: string]: string } {
|
|
35
9
|
return {
|
|
@@ -3,30 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestJobSettingsRuntimeSettings extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The name of the configuration item. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * src.offline.datasource.max.connection: specifies the maximum number of connections that are allowed for reading data from the source of a batch synchronization task.
|
|
11
|
-
* * dst.offline.truncate: specifies whether to clear the destination table before data writing.
|
|
12
|
-
* * runtime.offline.speed.limit.enable: specifies whether throttling is enabled for a batch synchronization task.
|
|
13
|
-
* * runtime.offline.concurrent: specifies the maximum number of parallel threads that are allowed for a batch synchronization task.
|
|
14
|
-
* * runtime.enable.auto.create.schema: specifies whether schemas are automatically created in the destination of a synchronization task.
|
|
15
|
-
* * runtime.realtime.concurrent: specifies the maximum number of parallel threads that are allowed for a real-time synchronization task.
|
|
16
|
-
* * runtime.realtime.failover.minute.dataxcdc: specifies the maximum waiting duration before a synchronization task retries the next restart if the previous restart fails after failover occurs. Unit: minutes.
|
|
17
|
-
* * runtime.realtime.failover.times.dataxcdc: specifies the maximum number of failures that are allowed for restarting a synchronization task after failovers occur.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* runtime.offline.concurrent
|
|
21
|
-
*/
|
|
22
6
|
name?: string;
|
|
23
|
-
/**
|
|
24
|
-
* @remarks
|
|
25
|
-
* The value of the configuration item.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* 1
|
|
29
|
-
*/
|
|
30
7
|
value?: string;
|
|
31
8
|
static names(): { [key: string]: string } {
|
|
32
9
|
return {
|
|
@@ -6,20 +6,8 @@ import { CreateDIJobRequestResourceSettingsScheduleResourceSettings } from "./Cr
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
export class CreateDIJobRequestResourceSettings extends $dara.Model {
|
|
9
|
-
/**
|
|
10
|
-
* @remarks
|
|
11
|
-
* The resource settings for batch synchronization.
|
|
12
|
-
*/
|
|
13
9
|
offlineResourceSettings?: CreateDIJobRequestResourceSettingsOfflineResourceSettings;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The resource settings for real-time synchronization.
|
|
17
|
-
*/
|
|
18
10
|
realtimeResourceSettings?: CreateDIJobRequestResourceSettingsRealtimeResourceSettings;
|
|
19
|
-
/**
|
|
20
|
-
* @remarks
|
|
21
|
-
* The resource settings for scheduling.
|
|
22
|
-
*/
|
|
23
11
|
scheduleResourceSettings?: CreateDIJobRequestResourceSettingsScheduleResourceSettings;
|
|
24
12
|
static names(): { [key: string]: string } {
|
|
25
13
|
return {
|
|
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestResourceSettingsOfflineResourceSettings extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The number of compute units (CUs) in the resource group for Data Integration that are used for batch synchronization.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* 2.0
|
|
12
|
-
*/
|
|
13
6
|
requestedCu?: number;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The name of the resource group for Data Integration that are used for batch synchronization.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* S_res_group_111_222
|
|
20
|
-
*/
|
|
21
7
|
resourceGroupIdentifier?: string;
|
|
22
8
|
static names(): { [key: string]: string } {
|
|
23
9
|
return {
|
|
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestResourceSettingsRealtimeResourceSettings extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The number of CUs in the resource group for Data Integration that are used for real-time synchronization.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* 2.0
|
|
12
|
-
*/
|
|
13
6
|
requestedCu?: number;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The name of the resource group for Data Integration that are used for real-time synchronization.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* S_res_group_111_222
|
|
20
|
-
*/
|
|
21
7
|
resourceGroupIdentifier?: string;
|
|
22
8
|
static names(): { [key: string]: string } {
|
|
23
9
|
return {
|
|
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestResourceSettingsScheduleResourceSettings extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The number of CUs in the resource group for scheduling that are used for batch synchronization.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* 2.0
|
|
12
|
-
*/
|
|
13
6
|
requestedCu?: number;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The name of the resource group for scheduling that is used for batch synchronization.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* S_res_group_235454102432001_1579085295030
|
|
20
|
-
*/
|
|
21
7
|
resourceGroupIdentifier?: string;
|
|
22
8
|
static names(): { [key: string]: string } {
|
|
23
9
|
return {
|
|
@@ -4,18 +4,7 @@ import { CreateDIJobRequestSourceDataSourceSettingsDataSourceProperties } from "
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class CreateDIJobRequestSourceDataSourceSettings extends $dara.Model {
|
|
7
|
-
/**
|
|
8
|
-
* @remarks
|
|
9
|
-
* The name of the data source.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* mysql_datasource_1
|
|
13
|
-
*/
|
|
14
7
|
dataSourceName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* @remarks
|
|
17
|
-
* The properties of the data source.
|
|
18
|
-
*/
|
|
19
8
|
dataSourceProperties?: CreateDIJobRequestSourceDataSourceSettingsDataSourceProperties;
|
|
20
9
|
static names(): { [key: string]: string } {
|
|
21
10
|
return {
|
|
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestSourceDataSourceSettingsDataSourceProperties extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The encoding format of the database.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* UTF-8
|
|
12
|
-
*/
|
|
13
6
|
encoding?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The time zone.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* GMT+8
|
|
20
|
-
*/
|
|
21
7
|
timezone?: string;
|
|
22
8
|
static names(): { [key: string]: string } {
|
|
23
9
|
return {
|
|
@@ -5,15 +5,7 @@ import { CreateDIJobRequestTableMappingsTransformationRules } from "./CreateDijo
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export class CreateDIJobRequestTableMappings extends $dara.Model {
|
|
8
|
-
/**
|
|
9
|
-
* @remarks
|
|
10
|
-
* The list of rules used to select synchronization objects in the source.
|
|
11
|
-
*/
|
|
12
8
|
sourceObjectSelectionRules?: CreateDIJobRequestTableMappingsSourceObjectSelectionRules[];
|
|
13
|
-
/**
|
|
14
|
-
* @remarks
|
|
15
|
-
* The list of transformation rules that you want to apply to the synchronization objects selected from the source. Each entry in the list defines a transformation rule.
|
|
16
|
-
*/
|
|
17
9
|
transformationRules?: CreateDIJobRequestTableMappingsTransformationRules[];
|
|
18
10
|
static names(): { [key: string]: string } {
|
|
19
11
|
return {
|
|
@@ -3,41 +3,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestTableMappingsSourceObjectSelectionRules extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The operation that is performed to select objects. Valid values: Include and Exclude.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* Include
|
|
12
|
-
*/
|
|
13
6
|
action?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The expression.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* mysql_table_1
|
|
20
|
-
*/
|
|
21
7
|
expression?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The expression type. Valid values: Exact and Regex.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* Exact
|
|
28
|
-
*/
|
|
29
8
|
expressionType?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The object type. Valid values:
|
|
33
|
-
*
|
|
34
|
-
* * Table
|
|
35
|
-
* * Schema
|
|
36
|
-
* * Database
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* Table
|
|
40
|
-
*/
|
|
41
9
|
objectType?: string;
|
|
42
10
|
static names(): { [key: string]: string } {
|
|
43
11
|
return {
|
|
@@ -3,42 +3,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestTableMappingsTransformationRules extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The action type. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * DefinePrimaryKey
|
|
11
|
-
* * Rename
|
|
12
|
-
* * AddColumn
|
|
13
|
-
* * HandleDml
|
|
14
|
-
* * DefineIncrementalCondition
|
|
15
|
-
* * DefineCycleScheduleSettings
|
|
16
|
-
* * DefineRuntimeSettings
|
|
17
|
-
* * DefinePartitionKey
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* Rename
|
|
21
|
-
*/
|
|
22
6
|
ruleActionType?: string;
|
|
23
|
-
/**
|
|
24
|
-
* @remarks
|
|
25
|
-
* The name of the rule. If the values of the RuleActionType parameter and the RuleTargetType parameter are the same for multiple transformation rules, you must make sure that the transformation rule names are unique.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* rename_rule_1
|
|
29
|
-
*/
|
|
30
7
|
ruleName?: string;
|
|
31
|
-
/**
|
|
32
|
-
* @remarks
|
|
33
|
-
* The type of the object on which you want to perform the action. Valid values:
|
|
34
|
-
*
|
|
35
|
-
* * Table
|
|
36
|
-
* * Schema
|
|
37
|
-
* * Database
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* Table
|
|
41
|
-
*/
|
|
42
8
|
ruleTargetType?: string;
|
|
43
9
|
static names(): { [key: string]: string } {
|
|
44
10
|
return {
|
|
@@ -3,92 +3,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateDIJobRequestTransformationRules extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The action type. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * DefinePrimaryKey
|
|
11
|
-
* * Rename
|
|
12
|
-
* * AddColumn
|
|
13
|
-
* * HandleDml
|
|
14
|
-
* * DefineIncrementalCondition
|
|
15
|
-
* * DefineCycleScheduleSettings
|
|
16
|
-
* * DefinePartitionKey
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* Rename
|
|
20
|
-
*/
|
|
21
6
|
ruleActionType?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The expression of the rule. The expression must be a JSON string.
|
|
25
|
-
*
|
|
26
|
-
* 1. Example of a renaming rule
|
|
27
|
-
*
|
|
28
|
-
* * Example: {"expression":"${srcDatasourceName}_${srcDatabaseName}_0922" }
|
|
29
|
-
* * expression: the expression of the renaming rule. You can use the following variables in an expression: ${srcDatasourceName}, ${srcDatabaseName}, and ${srcTableName}. ${srcDatasourceName} specifies the name of the source. ${srcDatabaseName} specifies the name of a source database. ${srcTableName} specifies the name of a source table.
|
|
30
|
-
*
|
|
31
|
-
* 2. Example of a column addition rule
|
|
32
|
-
*
|
|
33
|
-
* * Example: {"columns":[{"columnName":"my_add_column","columnValueType":"Constant","columnValue":"123"}]}
|
|
34
|
-
* * If you do not configure such a rule, no fields are added to the destination and no values are assigned by default.
|
|
35
|
-
* * columnName: the name of the field that is added.
|
|
36
|
-
* * columnValueType: the value type of the field. Valid values: Constant and Variable.
|
|
37
|
-
* * columnValue: the value of the field. If the columnValueType parameter is set to Constant, set the columnValue parameter to a constant of the STRING data type. If the columnValueType parameter is set to Variable, set the columnValue parameter to a built-in variable. The following built-in variables are supported: EXECUTE_TIME (LONG data type), DB_NAME_SRC (STRING data type), DATASOURCE_NAME_SRC (STRING data type), TABLE_NAME_SRC (STRING data type), DB_NAME_DEST (STRING data type), DATASOURCE_NAME_DEST (STRING data type), TABLE_NAME_DEST (STRING data type), and DB_NAME_SRC_TRANSED (STRING data type). EXECUTE_TIME specifies the execution time. DB_NAME_SRC specifies the name of a source database. DATASOURCE_NAME_SRC specifies the name of the source. TABLE_NAME_SRC specifies the name of a source table. DB_NAME_DEST specifies the name of a destination database. DATASOURCE_NAME_DEST specifies the name of the destination. TABLE_NAME_DEST specifies the name of a destination table. DB_NAME_SRC_TRANSED specifies the database name obtained after a transformation.
|
|
38
|
-
*
|
|
39
|
-
* 3. Example of a rule used to specify primary key fields for a destination table
|
|
40
|
-
*
|
|
41
|
-
* * Example: {"columns":["ukcolumn1","ukcolumn2"]}
|
|
42
|
-
* * If you do not configure such a rule, the primary key fields in the mapped source table are used for the destination table by default.
|
|
43
|
-
* * If the destination table is an existing table, Data Integration does not modify the schema of the destination table. If the specified primary key fields do not exist in the destination table, an error is reported when the synchronization task starts to run.
|
|
44
|
-
* * If the destination table is automatically created by the system, Data Integration automatically creates the schema of the destination table. The schema contains the primary key fields that you specify. If the specified primary key fields do not exist in the destination table, an error is reported when the synchronization task starts to run.
|
|
45
|
-
*
|
|
46
|
-
* 4. Example of a rule used to process DML messages
|
|
47
|
-
*
|
|
48
|
-
* * Example: {"dmlPolicies":[{"dmlType":"Delete","dmlAction":"Filter","filterCondition":"id > 1"}]}
|
|
49
|
-
* * If you do not configure such a rule, the default processing policy for messages generated for insert, update, and delete operations is Normal.
|
|
50
|
-
* * dmlType: the DML operation. Valid values: Insert, Update, and Delete.
|
|
51
|
-
* * dmlAction: the processing policy for DML messages. Valid values: Normal, Ignore, Filter, and LogicalDelete. Filter indicates conditional processing. You can set the dmlAction parameter to Filter only when the dmlType parameter is set to Update or Delete.
|
|
52
|
-
* * filterCondition: the condition used to filter DML messages. This parameter is required only when the dmlAction parameter is set to Filter.
|
|
53
|
-
*
|
|
54
|
-
* 5. Example of a rule used to perform incremental synchronization
|
|
55
|
-
*
|
|
56
|
-
* * Example: {"where":"id > 0"}
|
|
57
|
-
* * You can configure such a rule to perform incremental synchronization.
|
|
58
|
-
*
|
|
59
|
-
* 6. Example of a rule used to configure scheduling parameters for an auto triggered task
|
|
60
|
-
*
|
|
61
|
-
* * Example: {"cronExpress":" \\* \\* \\* \\* \\* \\*", "cycleType":"1"}
|
|
62
|
-
* * You can configure such a rule to configure scheduling parameters for an auto triggered task.
|
|
63
|
-
*
|
|
64
|
-
* 7. Example of a rule used to specify a partition key
|
|
65
|
-
*
|
|
66
|
-
* * Example: {"columns":["id"]}
|
|
67
|
-
* * You can configure such a rule to specify a partition key.
|
|
68
|
-
*
|
|
69
|
-
* @example
|
|
70
|
-
* {"expression":"${srcDatasoureName}_${srcDatabaseName}"}
|
|
71
|
-
*/
|
|
72
7
|
ruleExpression?: string;
|
|
73
|
-
/**
|
|
74
|
-
* @remarks
|
|
75
|
-
* The name of the rule. If the values of the RuleActionType parameter and the RuleTargetType parameter are the same for multiple transformation rules, you must make sure that the transformation rule names are unique.
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* rename_rule_1
|
|
79
|
-
*/
|
|
80
8
|
ruleName?: string;
|
|
81
|
-
/**
|
|
82
|
-
* @remarks
|
|
83
|
-
* The type of the object on which you want to perform the action. Valid values:
|
|
84
|
-
*
|
|
85
|
-
* * Table
|
|
86
|
-
* * Schema
|
|
87
|
-
* * Database
|
|
88
|
-
*
|
|
89
|
-
* @example
|
|
90
|
-
* Table
|
|
91
|
-
*/
|
|
92
9
|
ruleTargetType?: string;
|
|
93
10
|
static names(): { [key: string]: string } {
|
|
94
11
|
return {
|