edit-icon download-icon

Retrieve Resolution SLB Subdomain Name Lists

Last Updated: May 27, 2016

Description

Resolution SLB subdomain name lists are retrieved based on input parameters.

Request Parameters

Name Type Required? Description
Action String Yes Operator interface name, required parameter, value:DescribeDNSSBLSubDomains
DomainName String Yes Domain name
PageNumber Long No Number of the current page, starting from 1 by default
PageSize Long No This sets the number of lines per page for query by pages, up to 100 and 20 by default

Return Parameters

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

Name Type Description
RequestId String The unique request identifier
TotalCount Long Number of domain name groups
PageNumber Long Number of the current page
PageSize Long Number of subdomain names retrieved by this query
SlbSubDomains SLBSubDomainType Subdomain name SLB structure list

Error Codes

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

Error Code Description HTTP Status Code Language
IncorrectDomainUser The domain name does not belong to this user. 400 The domain name does not exist under this account

Example

Request Example

http://dns.aliyuncs.com/?Action=DescribeDNSSLBSubDomains
&DomainName=example.com
&PageNumber=1
&PageSize=20
&<Public Request Parameters>

Return Example

XML Format

<DescribeDNSSLBSubDomainsResponse>
    <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
    <TotalCount>1</TotalCount>
    <PageNumber>1</PageNumber>
    <PageSize>1</PageSize>
    <SlbSubDomains>
        <SlbSubDomain>
            <SubDomain>www.example.com</SubDomain>
            <RecordCount>3</RecordCount>
            <Open>true</Open>
        </SlbSubDomain>
    </SlbSubDomains>
</DescribeDNSSLBSubDomainsResponse>

JSON Example

{
    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "TotalCount": 1,
    "PageNumber": 1,
    "PageSize": 1,
    "SlbSubDomains": {
        "SlbSubDomain": [
            {
                "SubDomain": "www.example.com",
                "RecordCount": 3,
                "Open": true
            }
        ]
    }
}
Thank you! We've received your feedback.