Modify Resolution SLB Weights

Last Updated: May 27, 2016


Resolution SLB weights are modified based on input parameters.

Request Parameters

Name Type Required? Description
Action String Yes Operator interface name, required parameter, value:UpdateDNSSLBWeight
RecordId String Yes The resolution record ID
Weight Long Yes The desired weight [1-100]

Return Parameters

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

Name Type Description
RequestId String The unique request identifier
RecordId String The resolution record ID
Weight Long The weight after modification

Error Codes

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

Error Code Description HTTP Status Code Language
DomainRecordNotBelongToUser The domain record does not belong to this user. 400 The resolution record does not exist under this account
DomainForbidden The action could not be completed because the domain has been forbidden. 400 The resolution operation is forbidden on this domain name
DomainRecordLocked The domain record has been locked. 400 The resolution record is locked
DomainRecordDisable The domain record is disable. 400 The resolution record is disabled
PanDomainRecord The domain record is Pan domain record. 400 Pan resolution does not permit weight modification
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
DisableDNSSLB The subdomain’s DNS SLB status is closed. 400 SLB is disabled for the sub-domain name
InvalidWeigth The weigth value is invalid. 400 Invalid weight


Request Example
&<Public Request Parameters>

Return Example

XML Format


JSON Example

    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "RecordId": "9999985",
    "Weight": 2
Thank you! We've received your feedback.