Update Configuration - UpdateUDBParamGroup
Overview
Update UDB Configuration Parameters
Definition
Public Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Action | string | Corresponding API command name, the current API is UpdateUDBParamGroup. | Yes |
| PublicKey | string | The user’s public key can be obtained from Console  | Yes |
| Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Region | string | Region. See List of Regions and Availability Zones | Yes |
| Zone | string | Availability Zone. See Availability Zone List | Yes |
| ProjectId | string | Project ID. If not filled in, the default project is used, and the sub-account must be filled in. Please refer to the GetProjectList interface. | No |
| GroupId | int | Configure parameter group id, obtained by using DescribeUDBParamGroup | Yes |
| Key | string | Parameter Name (Used in conjunction with Value) | No |
| Value | string | Parameter Value (Used in conjunction with Key) | No |
| Name | string | The name of the configuration file. If not passed, it is assumed that the name is not to be modified. If passed, it cannot be empty. | No |
| Description | string | Description of the configuration file, considered unmodified if not passed | No |
| RegionFlag | boolean | Is this configuration file a regional level configuration file? The default is false. | No |
Response Field
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
| Action | string | Operation command name. | Yes |
| Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
Example
Request Example
https://api.surfercloud.com/?Action=UpdateUDBParamGroup
&Region=cn-bj2
&Zone=cn-bj2-04
&GroupId=2
&Key=back_log
&Value=2000
&Name=CJCMVDSu
&Description=WkHCyoXe
&RegionFlag=WggcbResponse Example
{
"Action": "UpdateUDBParamGroupResponse",
"RetCode": 0
}