httpdns

package
v1.63.61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {
	AccountId              string `json:"AccountId" xml:"AccountId"`
	MonthFreeCount         int    `json:"MonthFreeCount" xml:"MonthFreeCount"`
	MonthHttpsResolveCount int    `json:"MonthHttpsResolveCount" xml:"MonthHttpsResolveCount"`
	MonthResolveCount      int    `json:"MonthResolveCount" xml:"MonthResolveCount"`
	PackageCount           int    `json:"PackageCount" xml:"PackageCount"`
	UserStatus             int    `json:"UserStatus" xml:"UserStatus"`
	SignSecret             string `json:"SignSecret" xml:"SignSecret"`
	UnsignedEnabled        bool   `json:"UnsignedEnabled" xml:"UnsignedEnabled"`
	SignedCount            int64  `json:"SignedCount" xml:"SignedCount"`
	UnsignedCount          int64  `json:"UnsignedCount" xml:"UnsignedCount"`
}

AccountInfo is a nested struct in httpdns response

type AddDomainRequest

type AddDomainRequest struct {
	*requests.RpcRequest
	DomainName string `position:"Query" name:"DomainName"`
	AccountId  string `position:"Query" name:"AccountId"`
}

AddDomainRequest is the request struct for api AddDomain

func CreateAddDomainRequest

func CreateAddDomainRequest() (request *AddDomainRequest)

CreateAddDomainRequest creates a request to invoke AddDomain API

type AddDomainResponse

type AddDomainResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	DomainName string `json:"DomainName" xml:"DomainName"`
}

AddDomainResponse is the response struct for api AddDomain

func CreateAddDomainResponse

func CreateAddDomainResponse() (response *AddDomainResponse)

CreateAddDomainResponse creates a response to parse from AddDomain response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider added in v1.61.683

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy added in v1.61.683

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) AddDomain

func (client *Client) AddDomain(request *AddDomainRequest) (response *AddDomainResponse, err error)

AddDomain invokes the httpdns.AddDomain API synchronously

func (*Client) AddDomainWithCallback

func (client *Client) AddDomainWithCallback(request *AddDomainRequest, callback func(response *AddDomainResponse, err error)) <-chan int

AddDomainWithCallback invokes the httpdns.AddDomain API asynchronously

func (*Client) AddDomainWithChan

func (client *Client) AddDomainWithChan(request *AddDomainRequest) (<-chan *AddDomainResponse, <-chan error)

AddDomainWithChan invokes the httpdns.AddDomain API asynchronously

func (*Client) DeleteDomain

func (client *Client) DeleteDomain(request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)

DeleteDomain invokes the httpdns.DeleteDomain API synchronously

func (*Client) DeleteDomainWithCallback

func (client *Client) DeleteDomainWithCallback(request *DeleteDomainRequest, callback func(response *DeleteDomainResponse, err error)) <-chan int

DeleteDomainWithCallback invokes the httpdns.DeleteDomain API asynchronously

func (*Client) DeleteDomainWithChan

func (client *Client) DeleteDomainWithChan(request *DeleteDomainRequest) (<-chan *DeleteDomainResponse, <-chan error)

DeleteDomainWithChan invokes the httpdns.DeleteDomain API asynchronously

func (*Client) DescribeDomains

func (client *Client) DescribeDomains(request *DescribeDomainsRequest) (response *DescribeDomainsResponse, err error)

DescribeDomains invokes the httpdns.DescribeDomains API synchronously

func (*Client) DescribeDomainsWithCallback

func (client *Client) DescribeDomainsWithCallback(request *DescribeDomainsRequest, callback func(response *DescribeDomainsResponse, err error)) <-chan int

DescribeDomainsWithCallback invokes the httpdns.DescribeDomains API asynchronously

func (*Client) DescribeDomainsWithChan

func (client *Client) DescribeDomainsWithChan(request *DescribeDomainsRequest) (<-chan *DescribeDomainsResponse, <-chan error)

DescribeDomainsWithChan invokes the httpdns.DescribeDomains API asynchronously

func (*Client) GetAccountInfo

func (client *Client) GetAccountInfo(request *GetAccountInfoRequest) (response *GetAccountInfoResponse, err error)

GetAccountInfo invokes the httpdns.GetAccountInfo API synchronously

func (*Client) GetAccountInfoWithCallback

func (client *Client) GetAccountInfoWithCallback(request *GetAccountInfoRequest, callback func(response *GetAccountInfoResponse, err error)) <-chan int

GetAccountInfoWithCallback invokes the httpdns.GetAccountInfo API asynchronously

func (*Client) GetAccountInfoWithChan

func (client *Client) GetAccountInfoWithChan(request *GetAccountInfoRequest) (<-chan *GetAccountInfoResponse, <-chan error)

GetAccountInfoWithChan invokes the httpdns.GetAccountInfo API asynchronously

func (*Client) GetResolveCountSummary

func (client *Client) GetResolveCountSummary(request *GetResolveCountSummaryRequest) (response *GetResolveCountSummaryResponse, err error)

GetResolveCountSummary invokes the httpdns.GetResolveCountSummary API synchronously

func (*Client) GetResolveCountSummaryWithCallback

func (client *Client) GetResolveCountSummaryWithCallback(request *GetResolveCountSummaryRequest, callback func(response *GetResolveCountSummaryResponse, err error)) <-chan int

GetResolveCountSummaryWithCallback invokes the httpdns.GetResolveCountSummary API asynchronously

func (*Client) GetResolveCountSummaryWithChan

func (client *Client) GetResolveCountSummaryWithChan(request *GetResolveCountSummaryRequest) (<-chan *GetResolveCountSummaryResponse, <-chan error)

GetResolveCountSummaryWithChan invokes the httpdns.GetResolveCountSummary API asynchronously

func (*Client) GetResolveStatistics

func (client *Client) GetResolveStatistics(request *GetResolveStatisticsRequest) (response *GetResolveStatisticsResponse, err error)

GetResolveStatistics invokes the httpdns.GetResolveStatistics API synchronously

func (*Client) GetResolveStatisticsWithCallback

func (client *Client) GetResolveStatisticsWithCallback(request *GetResolveStatisticsRequest, callback func(response *GetResolveStatisticsResponse, err error)) <-chan int

GetResolveStatisticsWithCallback invokes the httpdns.GetResolveStatistics API asynchronously

func (*Client) GetResolveStatisticsWithChan

func (client *Client) GetResolveStatisticsWithChan(request *GetResolveStatisticsRequest) (<-chan *GetResolveStatisticsResponse, <-chan error)

GetResolveStatisticsWithChan invokes the httpdns.GetResolveStatistics API asynchronously

func (*Client) ListDomains

func (client *Client) ListDomains(request *ListDomainsRequest) (response *ListDomainsResponse, err error)

ListDomains invokes the httpdns.ListDomains API synchronously

func (*Client) ListDomainsWithCallback

func (client *Client) ListDomainsWithCallback(request *ListDomainsRequest, callback func(response *ListDomainsResponse, err error)) <-chan int

ListDomainsWithCallback invokes the httpdns.ListDomains API asynchronously

func (*Client) ListDomainsWithChan

func (client *Client) ListDomainsWithChan(request *ListDomainsRequest) (<-chan *ListDomainsResponse, <-chan error)

ListDomainsWithChan invokes the httpdns.ListDomains API asynchronously

type DataPoint

type DataPoint struct {
	Time  int `json:"Time" xml:"Time"`
	Count int `json:"Count" xml:"Count"`
}

DataPoint is a nested struct in httpdns response

type DataPoints

type DataPoints struct {
	DataPoint []DataPoint `json:"DataPoint" xml:"DataPoint"`
}

DataPoints is a nested struct in httpdns response

type DeleteDomainRequest

type DeleteDomainRequest struct {
	*requests.RpcRequest
	DomainName string `position:"Query" name:"DomainName"`
	AccountId  string `position:"Query" name:"AccountId"`
}

DeleteDomainRequest is the request struct for api DeleteDomain

func CreateDeleteDomainRequest

func CreateDeleteDomainRequest() (request *DeleteDomainRequest)

CreateDeleteDomainRequest creates a request to invoke DeleteDomain API

type DeleteDomainResponse

type DeleteDomainResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	DomainName string `json:"DomainName" xml:"DomainName"`
}

DeleteDomainResponse is the response struct for api DeleteDomain

func CreateDeleteDomainResponse

func CreateDeleteDomainResponse() (response *DeleteDomainResponse)

CreateDeleteDomainResponse creates a response to parse from DeleteDomain response

type DescribeDomainsRequest

type DescribeDomainsRequest struct {
	*requests.RpcRequest
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	AccountId  string           `position:"Query" name:"AccountId"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

DescribeDomainsRequest is the request struct for api DescribeDomains

func CreateDescribeDomainsRequest

func CreateDescribeDomainsRequest() (request *DescribeDomainsRequest)

CreateDescribeDomainsRequest creates a request to invoke DescribeDomains API

type DescribeDomainsResponse

type DescribeDomainsResponse struct {
	*responses.BaseResponse
	RequestId  string  `json:"RequestId" xml:"RequestId"`
	TotalCount int64   `json:"TotalCount" xml:"TotalCount"`
	PageNumber int64   `json:"PageNumber" xml:"PageNumber"`
	PageSize   int64   `json:"PageSize" xml:"PageSize"`
	Domains    Domains `json:"Domains" xml:"Domains"`
}

DescribeDomainsResponse is the response struct for api DescribeDomains

func CreateDescribeDomainsResponse

func CreateDescribeDomainsResponse() (response *DescribeDomainsResponse)

CreateDescribeDomainsResponse creates a response to parse from DescribeDomains response

type Domain

type Domain struct {
	DomainName string `json:"DomainName" xml:"DomainName"`
}

Domain is a nested struct in httpdns response

type DomainInfo

type DomainInfo struct {
	DomainName     string `json:"DomainName" xml:"DomainName"`
	Resolved       int64  `json:"Resolved" xml:"Resolved"`
	ResolvedHttps  int64  `json:"ResolvedHttps" xml:"ResolvedHttps"`
	Resolved6      int64  `json:"Resolved6" xml:"Resolved6"`
	ResolvedHttps6 int64  `json:"ResolvedHttps6" xml:"ResolvedHttps6"`
}

DomainInfo is a nested struct in httpdns response

type DomainInfos

type DomainInfos struct {
	DomainInfo []DomainInfo `json:"DomainInfo" xml:"DomainInfo"`
}

DomainInfos is a nested struct in httpdns response

type Domains

type Domains struct {
	Domain []Domain `json:"Domain" xml:"Domain"`
}

Domains is a nested struct in httpdns response

type GetAccountInfoRequest

type GetAccountInfoRequest struct {
	*requests.RpcRequest
}

GetAccountInfoRequest is the request struct for api GetAccountInfo

func CreateGetAccountInfoRequest

func CreateGetAccountInfoRequest() (request *GetAccountInfoRequest)

CreateGetAccountInfoRequest creates a request to invoke GetAccountInfo API

type GetAccountInfoResponse

type GetAccountInfoResponse struct {
	*responses.BaseResponse
	RequestId   string      `json:"RequestId" xml:"RequestId"`
	AccountInfo AccountInfo `json:"AccountInfo" xml:"AccountInfo"`
}

GetAccountInfoResponse is the response struct for api GetAccountInfo

func CreateGetAccountInfoResponse

func CreateGetAccountInfoResponse() (response *GetAccountInfoResponse)

CreateGetAccountInfoResponse creates a response to parse from GetAccountInfo response

type GetResolveCountSummaryRequest

type GetResolveCountSummaryRequest struct {
	*requests.RpcRequest
	TimeSpan    requests.Integer `position:"Query" name:"TimeSpan"`
	Granularity string           `position:"Query" name:"Granularity"`
}

GetResolveCountSummaryRequest is the request struct for api GetResolveCountSummary

func CreateGetResolveCountSummaryRequest

func CreateGetResolveCountSummaryRequest() (request *GetResolveCountSummaryRequest)

CreateGetResolveCountSummaryRequest creates a request to invoke GetResolveCountSummary API

type GetResolveCountSummaryResponse

type GetResolveCountSummaryResponse struct {
	*responses.BaseResponse
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	ResolveSummary ResolveSummary `json:"ResolveSummary" xml:"ResolveSummary"`
}

GetResolveCountSummaryResponse is the response struct for api GetResolveCountSummary

func CreateGetResolveCountSummaryResponse

func CreateGetResolveCountSummaryResponse() (response *GetResolveCountSummaryResponse)

CreateGetResolveCountSummaryResponse creates a response to parse from GetResolveCountSummary response

type GetResolveStatisticsRequest

type GetResolveStatisticsRequest struct {
	*requests.RpcRequest
	ProtocolName string           `position:"Query" name:"ProtocolName"`
	DomainName   string           `position:"Query" name:"DomainName"`
	TimeSpan     requests.Integer `position:"Query" name:"TimeSpan"`
	Granularity  string           `position:"Query" name:"Granularity"`
}

GetResolveStatisticsRequest is the request struct for api GetResolveStatistics

func CreateGetResolveStatisticsRequest

func CreateGetResolveStatisticsRequest() (request *GetResolveStatisticsRequest)

CreateGetResolveStatisticsRequest creates a request to invoke GetResolveStatistics API

type GetResolveStatisticsResponse

type GetResolveStatisticsResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	DataPoints DataPoints `json:"DataPoints" xml:"DataPoints"`
}

GetResolveStatisticsResponse is the response struct for api GetResolveStatistics

func CreateGetResolveStatisticsResponse

func CreateGetResolveStatisticsResponse() (response *GetResolveStatisticsResponse)

CreateGetResolveStatisticsResponse creates a response to parse from GetResolveStatistics response

type ListDomainsRequest

type ListDomainsRequest struct {
	*requests.RpcRequest
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListDomainsRequest is the request struct for api ListDomains

func CreateListDomainsRequest

func CreateListDomainsRequest() (request *ListDomainsRequest)

CreateListDomainsRequest creates a request to invoke ListDomains API

type ListDomainsResponse

type ListDomainsResponse struct {
	*responses.BaseResponse
	RequestId   string      `json:"RequestId" xml:"RequestId"`
	TotalCount  int64       `json:"TotalCount" xml:"TotalCount"`
	PageNumber  int64       `json:"PageNumber" xml:"PageNumber"`
	PageSize    int64       `json:"PageSize" xml:"PageSize"`
	DomainInfos DomainInfos `json:"DomainInfos" xml:"DomainInfos"`
}

ListDomainsResponse is the response struct for api ListDomains

func CreateListDomainsResponse

func CreateListDomainsResponse() (response *ListDomainsResponse)

CreateListDomainsResponse creates a response to parse from ListDomains response

type ResolveSummary

type ResolveSummary struct {
	Http   int64 `json:"Http" xml:"Http"`
	Https  int64 `json:"Https" xml:"Https"`
	Http6  int64 `json:"Http6" xml:"Http6"`
	Https6 int64 `json:"Https6" xml:"Https6"`
}

ResolveSummary is a nested struct in httpdns response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL