All Products
Document Center

Enable/Disable Resolution SLB

Last Updated: May 27, 2016


Resolution SLB is enabled/disabled based on input parameters.

Request Parameters

Name Type Required? Description
Action String Yes Operator interface name, required parameter, value:SetDNSSLBStatus
SubDomain String Yes The required SLB subdomain name, wherein is incorrect. Please use
Open Boolean No true= enable, false= disable, default value: true

Return Parameters

Public return parameters. For details, see Public Return Parameters.

Name Type Description
RequestId String The unique request identifier
RecordCount Long Number of compliant A records
Open Boolean The latest resolution SLB status

Error Codes

For errors common to all interfaces, please refer to the Error Code Table.

Error Code Description HTTP Status Code Language
DomainForbidden The action could not be completed because the domain has been forbidden. 400 The resolution operation is forbidden on this domain name
IncorrectDomainUser The domain name does not belong to this user. 400 The domain name does not exist under this account
RecordForbidden.BlackHole The action could not be completed because there are some records have been into black hole 400 Domain name resolution protects against entry into black holes
RecordForbidden.DNSChange The action could not be completed because DNS is changing. 400 This operation is forbidden due to DNS migration


Request Example
&<Public Request Parameters>

Return Example

XML Format


JSON Example

    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "RecordCount": 8,
    "Open": true