Edit Automated Standby Update configuration
Request
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Required |
|---|---|---|---|
| integer(int64) | configuration ID (non-negative) | required |
| boolean | enable or disable Automated Standby Update |
|
| integer(int32) | set the Automated Standby Update interval in seconds (minimum: 60) |
|
| boolean | enable or disable automatically applying logs on standby after transfer | |
| string | set the Zero Data Loss replication mode: "dbvisit" (recommended), or "external" | required if |
| string | destination directory of redo log on source host | |
| string | destination directory of redo log on standby host | |
| boolean | enable or disable email notifications on Zero Data Loss failures | |
| boolean | enable or disable Slack notifications on Zero Data Loss failures | |
| boolean | enable or disable Zero Data Loss |
{
"params": {
"configuration_id": 1,
"enable": false,
"interval": 123,
"auto_apply": false,
"replication_mode": string,
"source_redo_mirror_dir": string,
"standby_redo_mirror_dir": string,
"zdl_send_email": false,
"zdl_send_slack": false,
"zero_data_loss": false
}
}
Response
HTTP Status: 200
Content Type: application/json
Response
Property | Type | Description |
|---|---|---|
| object of type | error response |
| object of type | automated standby update configuration |
| boolean | response with error or not |
auto_update_config
Property | Type | Description |
|---|---|---|
| boolean | whether to automatically apply logs on standby after transfer (Note: Automated Standby Update must be enabled in order for logs to be automatically applied on standby) |
| boolean | whether automated standby updated is enabled |
| integer | the configured automated standby update interval in seconds |
| object of type |
error_response
Property | Type | Description |
|---|---|---|
| string | error message |
zero_data_loss_config
Property | Type | Description |
|---|---|---|
| boolean | whether Zero Data Loss is enabled |
| string | Zero Data Loss replication mode |
| boolean | whether to send email notifications on Zero Data Loss failures |
| boolean | whether to send Slack notifications on Zero Data Loss failures |
| string | Redo Log destination directory on source host |
| string | Redo Log destination directory on standby host |
{
"error": {
"message": "string"
},
"result": {
"auto_apply": false,
"enabled": false,
"interval_seconds": 123,
"zero_data_loss_config": {
"enabled": false,
"replication_mode": "string",
"send_email": false,
"send_slack": false,
"source_redo_mirror_dir": "string",
"standby_redo_mirror_dir": "string"
}
},
"successful": true
}
HTTP Status: 400
Content Type: application/json
Response
Property | Type | Description |
|---|---|---|
| object of type | error response |
| boolean | always false |
error_response
Property | Type | Description |
|---|---|---|
| string | error message |
{
"error": {
"message": "string"
},
"successful": false
}
Comments