Modifies the specified computing resource based on the computing resource ID.
Debugging
Authorization information
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Id | long | Yes | The ID of the computing resource. | 10001 |
| ProjectId | long | Yes | The DataWorks workspace ID. | 10001 |
| ConnectionPropertiesMode | string | No | The category of the computing resource to be added. Different types have different subtypes and corresponding parameter schema constraints. Examples: InstanceMode and UrlMode. | InstanceMode |
| Description | string | No | The description of the computing resource. The maximum length is 3000 characters. | |
| ConnectionProperties | string | Yes | The specific connection configuration of the computing resource, including the connection address, access identity, and environment information. The environment type (EnvType) of the computing resource is a member attribute of this object, including DEV (development environment) and PROD (production environment). The value is not case-sensitive. | { "envType": "Prod", "regionId": "cn-beijing", "instanceId": "hgprecn-cn-x0r3oun4k001", "database": "testdb", "securityProtocol": "authTypeNone", "authType": "Executor", "authIdentity": "1107550004253538" } |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "7C352CB7-CD88-50CF-9D0D-E81BDF02XXXX",
"Success": true
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-11-25 | Add Operation | View Change Details |
