Modify DB parameter group (PUT /v1.0/{tenantId}/parametergroups/{parameterGroupId})
Modifies or initializes parameters for a DB parameter group.
Request URI
{tenantID}
Project ID of the owner of the instance
Data Type | Cardinality |
---|---|
String | 1..1 |
{ parameterGroupId }
ID of the DB parameter group
Data Type | Cardinality |
---|---|
String | 1..1 |
Request Parameters
parametergroup
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
None | parameters resetAllparameters |
parameters
List of parameters
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
Parameter structure | 1..1 | parameter group | None |
resetAllparameters
Restores all parameters to the default values
Default: false
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
Boolean | 0..1 | parameter group | None |
Parameter
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
None | name value applyMethod |
name
Name of parameter
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | 1..1 | Parameter | None |
value
Parameter value
Note that any value containing a space must be enclosed in single quotation marks if parameterGroupFamily is set to "symfoware_v12.1". For example, enter 'read committed' if you want to specify "read committed".
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
- depends on subnet |
0..1 | Parameter | None |
applyMethod
How to apply parameters
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | 0..1 | Parameter | None |
Response Headers
Status
Returns the status of the request.
One of the following values will be returned.
- 400:
- badRequest
- 401:
- unauthorized
- 403:
- forbidden
- 404:
- itemNotFound
- 413:
- overLimit
- 422:
- unprocessableEntity
- 500:
- instanceFault
- 501:
- notImplemented
- 503:
- serviceUnavailable
- 504:
- gatewayTimeout
Data Type | Cardinality |
---|---|
Int | 1..1 |
Example of Request
{
"parametergroup":{
"parameters": [
{
" name ": "shared_buffers",
" value ": "65536",
"applyMethod" : "pending-reboot"
},
{
" name ": "work_mem",
" value ": "8192",
"applyMethod" : "immediate"
}
],
"resetAllparameters" : false
}
}