/auto-update/edit/oracle

Follow

Edit Automated Standby Update configuration

Request

HTTP Method: POST
Content Type: application/json

Parameters

Property

Type

Description

Required

configuration_id

integer(int64)

configuration ID (non-negative)

required

enable

boolean

enable or disable Automated Standby Update

interval

integer(int32)

set the Automated Standby Update interval in seconds (minimum: 60)

auto_apply

boolean

enable or disable automatically applying logs on standby after transfer
(Note: Automated Standby Update must be enabled in order for logs to be automatically applied on standby)

replication_mode

string

set the Zero Data Loss replication mode: "dbvisit" (recommended), or "external"

required if zero_data_loss=TRUE

source_redo_mirror_dir

string

destination directory of redo log on source host

standby_redo_mirror_dir

string

destination directory of redo log on standby host

zdl_send_email

boolean

enable or disable email notifications on Zero Data Loss failures

zdl_send_slack

boolean

enable or disable Slack notifications on Zero Data Loss failures

zero_data_loss

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

error

object of type error_response

error response

result

object of type auto_update_config

automated standby update configuration

successful

boolean

response with error or not

auto_update_config

Property

Type

Description

auto_apply

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)

enabled

boolean

whether automated standby updated is enabled

interval_seconds

integer

the configured automated standby update interval in seconds

zero_data_loss_config

object of type zero_data_loss_config

error_response

Property

Type

Description

message

string

error message

zero_data_loss_config

Property

Type

Description

enabled

boolean

whether Zero Data Loss is enabled

replication_mode

string

Zero Data Loss replication mode

send_email

boolean

whether to send email notifications on Zero Data Loss failures

send_slack

boolean

whether to send Slack notifications on Zero Data Loss failures

source_redo_mirror_dir

string

Redo Log destination directory on source host

standby_redo_mirror_dir

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

error

object of type error_response

error response

successful

boolean

always false

error_response

Property

Type

Description

message

string

error message

{
    "error": {
        "message": "string"
    },
    "successful": false
}
Have more questions? Submit a request

Comments