ServerConfig

ServerConfig
ServerConfig
JSON Example
{
    "def_port": false,
    "hostname": "string",
    "ip_addr": {
        "addr": "string",
        "type": "string"
    },
    "is_enabled": false,
    "last_state": "string",
    "location": {
        "latitude": "number",
        "longitude": "number",
        "name": "string",
        "tag": "string"
    },
    "oper_status": {
        "last_changed_time": {
            "secs": 0,
            "usecs": 0
        },
        "reason": [
            "string"
        ],
        "reason_code": 0,
        "reason_code_string": "string",
        "state": "string"
    },
    "port": 0,
    "propogate_state": false,
    "timer_exists": false
}
boolean
def_port
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
hostname
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

ip_addr
Required

ip_addr

boolean
is_enabled
Required

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
last_state
Optional

Enum options - OPER_UP, OPER_DOWN, OPER_CREATING, OPER_RESOURCES, OPER_INACTIVE, OPER_DISABLED, OPER_UNUSED, OPER_UNKNOWN, OPER_PROCESSING, OPER_INITIALIZING, OPER_ERROR_DISABLED, OPER_AWAIT_MANUAL_PLACEMENT, OPER_UPGRADING, OPER_SE_PROCESSING, OPER_PARTITIONED, OPER_DISABLING, OPER_FAILED, OPER_UNAVAIL, OPER_AGGREGATE_DOWN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

location
Optional

location

oper_status
Optional

oper_status

integer As int32 As int32
port
Required

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
propogate_state
Optional

If this is set, propogate this server state to other SEs for this VS. Applicable to EastWest VS and GS HM-sharding. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

boolean
timer_exists
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.