Documentation ¶
Index ¶
- Constants
- type AddDomainRecordArgs
- type AddDomainRecordResponse
- type Client
- func (client *Client) AddDomainRecord(args *AddDomainRecordArgs) (response *AddDomainRecordResponse, err error)
- func (client *Client) DeleteDomainRecord(args *DeleteDomainRecordArgs) (response *DeleteDomainRecordResponse, err error)
- func (client *Client) DeleteSubDomainRecords(args *DeleteSubDomainRecordsArgs) (response *DeleteSubDomainRecordsResponse, err error)
- func (client *Client) DescribeDomainRecordInfo(args *DescribeDomainRecordInfoArgs) (response *DescribeDomainRecordInfoResponse, err error)
- func (client *Client) DescribeDomainRecords(args *DescribeDomainRecordsArgs) (response *DescribeDomainRecordsResponse, err error)
- func (client *Client) DescribeSubDomainRecords(args *DescribeSubDomainRecordsArgs) (response *DescribeSubDomainRecordsResponse, err error)
- func (client *Client) GetMainDomainName(args *GetMainDomainNameArgs) (response *GetMainDomainNameResponse, err error)
- func (client *Client) UpdateDomainRecord(args *UpdateDomainRecordArgs) (response *UpdateDomainRecordResponse, err error)
- type DeleteDomainRecordArgs
- type DeleteDomainRecordResponse
- type DeleteSubDomainRecordsArgs
- type DeleteSubDomainRecordsResponse
- type DescribeDomainRecordInfoArgs
- type DescribeDomainRecordInfoResponse
- type DescribeDomainRecordsArgs
- type DescribeDomainRecordsResponse
- type DescribeSubDomainRecordsArgs
- type DescribeSubDomainRecordsResponse
- type GetMainDomainNameArgs
- type GetMainDomainNameResponse
- type RecordType
- type UpdateDomainRecordArgs
- type UpdateDomainRecordResponse
Constants ¶
const ( // DNSDefaultEndpoint is the default API endpoint of DNS services DNSDefaultEndpoint = "http://dns.aliyuncs.com" DNSAPIVersion = "2015-01-09" )
const ( ARecord = "A" NSRecord = "NS" MXRecord = "MX" TXTRecord = "TXT" CNAMERecord = "CNAME" SRVRecord = "SRV" AAAARecord = "AAAA" RedirectURLRecord = "REDIRECT_URL" ForwordURLRecord = "FORWORD_URL" )
you can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/enum-type&record-format
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDomainRecordArgs ¶
type AddDomainRecordResponse ¶
type Client ¶
func NewClientWithEndpoint ¶
func NewCustomClient ¶
NewCustomClient creates a new instance of ECS client with customized API endpoint
func (*Client) AddDomainRecord ¶
func (client *Client) AddDomainRecord(args *AddDomainRecordArgs) (response *AddDomainRecordResponse, err error)
AddDomainRecord
You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/record-related&AddDomainRecord
func (*Client) DeleteDomainRecord ¶
func (client *Client) DeleteDomainRecord(args *DeleteDomainRecordArgs) (response *DeleteDomainRecordResponse, err error)
DeleteDomainRecord
You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/record-related&DeleteDomainRecord
func (*Client) DeleteSubDomainRecords ¶
func (client *Client) DeleteSubDomainRecords(args *DeleteSubDomainRecordsArgs) (response *DeleteSubDomainRecordsResponse, err error)
DeleteSubDomainRecords
You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/record-related&DeleteSubDomainRecords
func (*Client) DescribeDomainRecordInfo ¶
func (client *Client) DescribeDomainRecordInfo(args *DescribeDomainRecordInfoArgs) (response *DescribeDomainRecordInfoResponse, err error)
DescribeDomainRecordInfo
You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/record-related&DescribeDomainRecordInfo
func (*Client) DescribeDomainRecords ¶
func (client *Client) DescribeDomainRecords(args *DescribeDomainRecordsArgs) (response *DescribeDomainRecordsResponse, err error)
DescribeDomainRecords
You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/record-related&DescribeDomainRecords
func (*Client) DescribeSubDomainRecords ¶
func (client *Client) DescribeSubDomainRecords(args *DescribeSubDomainRecordsArgs) (response *DescribeSubDomainRecordsResponse, err error)
DescribeSubDomainRecords
You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/record-related&DescribeSubDomainRecords
func (*Client) GetMainDomainName ¶
func (client *Client) GetMainDomainName(args *GetMainDomainNameArgs) (response *GetMainDomainNameResponse, err error)
GetMainDomainName
You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/domain-related&GetMainDomainName
func (*Client) UpdateDomainRecord ¶
func (client *Client) UpdateDomainRecord(args *UpdateDomainRecordArgs) (response *UpdateDomainRecordResponse, err error)
UpdateDomainRecord
You can read doc at https://docs.aliyun.com/#/pub/dns/api-reference/record-related&UpdateDomainRecord
type DeleteDomainRecordArgs ¶
type DeleteDomainRecordArgs struct {
RecordId string
}
type DescribeDomainRecordInfoArgs ¶
type DescribeDomainRecordInfoArgs struct {
RecordId string
}
type DescribeDomainRecordInfoResponse ¶
type DescribeDomainRecordInfoResponse struct { common.Response RecordType }
type DescribeDomainRecordsResponse ¶
type DescribeDomainRecordsResponse struct { common.Response common.PaginationResult InstanceId string DomainRecords struct { Record []RecordType } }
type GetMainDomainNameArgs ¶
type GetMainDomainNameArgs struct {
InputString string
}