Clones a data source to create a new data source with the same configurations.
Operation description
-
This operation is available for all DataWorks editions.
-
To call this operation, you must have one of the following roles in DataWorks:
-
Tenant Owner, Workspace Administrator, Workspace Owner, and O&M
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:CloneDataSource |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The data source ID. |
16036 |
| CloneDataSourceName |
string |
Yes |
The name of the destination data source The name can contain letters, digits, and underscores (_), and must start with a letter. It cannot exceed 60 characters in length. |
demo_holo_datasource |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. You can use this ID to locate logs and troubleshoot issues. |
FCD583B9-346B-5E75-82C1-4A7C192C48DB |
| Id |
integer |
The ID of the cloned data source. |
19715 |
Examples
Success response
JSON format
{
"RequestId": "FCD583B9-346B-5E75-82C1-4A7C192C48DB",
"Id": 19715
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.