ddospro

package
v1.62.301 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttackInfo

type AttackInfo struct {
	AttackType      string `json:"AttackType" xml:"AttackType"`
	Duration        string `json:"Duration" xml:"Duration"`
	StartTimeMillis int    `json:"StartTimeMillis" xml:"StartTimeMillis"`
	EndTimeMillis   int    `json:"EndTimeMillis" xml:"EndTimeMillis"`
	EventType       int    `json:"eventType" xml:"eventType"`
}

AttackInfo is a nested struct in ddospro response

type Attacks

type Attacks struct {
	Attack []string `json:"Attack" xml:"Attack"`
}

Attacks is a nested struct in ddospro response

type BpsDrop

type BpsDrop struct {
	BpsDropItem []string `json:"BpsDropItem" xml:"BpsDropItem"`
}

BpsDrop is a nested struct in ddospro response

type BpsTotal

type BpsTotal struct {
	BpsTotalItem []string `json:"BpsTotalItem" xml:"BpsTotalItem"`
}

BpsTotal is a nested struct in ddospro response

type CidrList

type CidrList struct {
	Cidr []string `json:"Cidr" xml:"Cidr"`
}

CidrList is a nested struct in ddospro 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://help.aliyun.com/document_detail/66217.html

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://help.aliyun.com/document_detail/66223.html

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 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://help.aliyun.com/document_detail/66222.html

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 attention: rsa key pair auth is only Japan regions available

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://help.aliyun.com/document_detail/66222.html

func (*Client) CreateBlockhole

func (client *Client) CreateBlockhole(request *CreateBlockholeRequest) (response *CreateBlockholeResponse, err error)

CreateBlockhole invokes the ddospro.CreateBlockhole API synchronously api document: https://help.aliyun.com/api/ddospro/createblockhole.html

func (*Client) CreateBlockholeWithCallback

func (client *Client) CreateBlockholeWithCallback(request *CreateBlockholeRequest, callback func(response *CreateBlockholeResponse, err error)) <-chan int

CreateBlockholeWithCallback invokes the ddospro.CreateBlockhole API asynchronously api document: https://help.aliyun.com/api/ddospro/createblockhole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateBlockholeWithChan

func (client *Client) CreateBlockholeWithChan(request *CreateBlockholeRequest) (<-chan *CreateBlockholeResponse, <-chan error)

CreateBlockholeWithChan invokes the ddospro.CreateBlockhole API asynchronously api document: https://help.aliyun.com/api/ddospro/createblockhole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateDomain

func (client *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDomainResponse, err error)

CreateDomain invokes the ddospro.CreateDomain API synchronously api document: https://help.aliyun.com/api/ddospro/createdomain.html

func (*Client) CreateDomainWithCallback

func (client *Client) CreateDomainWithCallback(request *CreateDomainRequest, callback func(response *CreateDomainResponse, err error)) <-chan int

CreateDomainWithCallback invokes the ddospro.CreateDomain API asynchronously api document: https://help.aliyun.com/api/ddospro/createdomain.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateDomainWithChan

func (client *Client) CreateDomainWithChan(request *CreateDomainRequest) (<-chan *CreateDomainResponse, <-chan error)

CreateDomainWithChan invokes the ddospro.CreateDomain API asynchronously api document: https://help.aliyun.com/api/ddospro/createdomain.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateWebLogDownloadTask

func (client *Client) CreateWebLogDownloadTask(request *CreateWebLogDownloadTaskRequest) (response *CreateWebLogDownloadTaskResponse, err error)

CreateWebLogDownloadTask invokes the ddospro.CreateWebLogDownloadTask API synchronously api document: https://help.aliyun.com/api/ddospro/createweblogdownloadtask.html

func (*Client) CreateWebLogDownloadTaskWithCallback

func (client *Client) CreateWebLogDownloadTaskWithCallback(request *CreateWebLogDownloadTaskRequest, callback func(response *CreateWebLogDownloadTaskResponse, err error)) <-chan int

CreateWebLogDownloadTaskWithCallback invokes the ddospro.CreateWebLogDownloadTask API asynchronously api document: https://help.aliyun.com/api/ddospro/createweblogdownloadtask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateWebLogDownloadTaskWithChan

func (client *Client) CreateWebLogDownloadTaskWithChan(request *CreateWebLogDownloadTaskRequest) (<-chan *CreateWebLogDownloadTaskResponse, <-chan error)

CreateWebLogDownloadTaskWithChan invokes the ddospro.CreateWebLogDownloadTask API asynchronously api document: https://help.aliyun.com/api/ddospro/createweblogdownloadtask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteBlackHole

func (client *Client) DeleteBlackHole(request *DeleteBlackHoleRequest) (response *DeleteBlackHoleResponse, err error)

DeleteBlackHole invokes the ddospro.DeleteBlackHole API synchronously api document: https://help.aliyun.com/api/ddospro/deleteblackhole.html

func (*Client) DeleteBlackHoleWithCallback

func (client *Client) DeleteBlackHoleWithCallback(request *DeleteBlackHoleRequest, callback func(response *DeleteBlackHoleResponse, err error)) <-chan int

DeleteBlackHoleWithCallback invokes the ddospro.DeleteBlackHole API asynchronously api document: https://help.aliyun.com/api/ddospro/deleteblackhole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteBlackHoleWithChan

func (client *Client) DeleteBlackHoleWithChan(request *DeleteBlackHoleRequest) (<-chan *DeleteBlackHoleResponse, <-chan error)

DeleteBlackHoleWithChan invokes the ddospro.DeleteBlackHole API asynchronously api document: https://help.aliyun.com/api/ddospro/deleteblackhole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteBlockhole

func (client *Client) DeleteBlockhole(request *DeleteBlockholeRequest) (response *DeleteBlockholeResponse, err error)

DeleteBlockhole invokes the ddospro.DeleteBlockhole API synchronously api document: https://help.aliyun.com/api/ddospro/deleteblockhole.html

func (*Client) DeleteBlockholeWithCallback

func (client *Client) DeleteBlockholeWithCallback(request *DeleteBlockholeRequest, callback func(response *DeleteBlockholeResponse, err error)) <-chan int

DeleteBlockholeWithCallback invokes the ddospro.DeleteBlockhole API asynchronously api document: https://help.aliyun.com/api/ddospro/deleteblockhole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteBlockholeWithChan

func (client *Client) DeleteBlockholeWithChan(request *DeleteBlockholeRequest) (<-chan *DeleteBlockholeResponse, <-chan error)

DeleteBlockholeWithChan invokes the ddospro.DeleteBlockhole API asynchronously api document: https://help.aliyun.com/api/ddospro/deleteblockhole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteDomain

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

DeleteDomain invokes the ddospro.DeleteDomain API synchronously api document: https://help.aliyun.com/api/ddospro/deletedomain.html

func (*Client) DeleteDomainTransmitRule

func (client *Client) DeleteDomainTransmitRule(request *DeleteDomainTransmitRuleRequest) (response *DeleteDomainTransmitRuleResponse, err error)

DeleteDomainTransmitRule invokes the ddospro.DeleteDomainTransmitRule API synchronously api document: https://help.aliyun.com/api/ddospro/deletedomaintransmitrule.html

func (*Client) DeleteDomainTransmitRuleWithCallback

func (client *Client) DeleteDomainTransmitRuleWithCallback(request *DeleteDomainTransmitRuleRequest, callback func(response *DeleteDomainTransmitRuleResponse, err error)) <-chan int

DeleteDomainTransmitRuleWithCallback invokes the ddospro.DeleteDomainTransmitRule API asynchronously api document: https://help.aliyun.com/api/ddospro/deletedomaintransmitrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteDomainTransmitRuleWithChan

func (client *Client) DeleteDomainTransmitRuleWithChan(request *DeleteDomainTransmitRuleRequest) (<-chan *DeleteDomainTransmitRuleResponse, <-chan error)

DeleteDomainTransmitRuleWithChan invokes the ddospro.DeleteDomainTransmitRule API asynchronously api document: https://help.aliyun.com/api/ddospro/deletedomaintransmitrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteDomainWithCallback

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

DeleteDomainWithCallback invokes the ddospro.DeleteDomain API asynchronously api document: https://help.aliyun.com/api/ddospro/deletedomain.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteDomainWithChan

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

DeleteDomainWithChan invokes the ddospro.DeleteDomain API asynchronously api document: https://help.aliyun.com/api/ddospro/deletedomain.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeBackSourceCidr

func (client *Client) DescribeBackSourceCidr(request *DescribeBackSourceCidrRequest) (response *DescribeBackSourceCidrResponse, err error)

DescribeBackSourceCidr invokes the ddospro.DescribeBackSourceCidr API synchronously api document: https://help.aliyun.com/api/ddospro/describebacksourcecidr.html

func (*Client) DescribeBackSourceCidrWithCallback

func (client *Client) DescribeBackSourceCidrWithCallback(request *DescribeBackSourceCidrRequest, callback func(response *DescribeBackSourceCidrResponse, err error)) <-chan int

DescribeBackSourceCidrWithCallback invokes the ddospro.DescribeBackSourceCidr API asynchronously api document: https://help.aliyun.com/api/ddospro/describebacksourcecidr.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeBackSourceCidrWithChan

func (client *Client) DescribeBackSourceCidrWithChan(request *DescribeBackSourceCidrRequest) (<-chan *DescribeBackSourceCidrResponse, <-chan error)

DescribeBackSourceCidrWithChan invokes the ddospro.DescribeBackSourceCidr API asynchronously api document: https://help.aliyun.com/api/ddospro/describebacksourcecidr.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeCcMode

func (client *Client) DescribeCcMode(request *DescribeCcModeRequest) (response *DescribeCcModeResponse, err error)

DescribeCcMode invokes the ddospro.DescribeCcMode API synchronously api document: https://help.aliyun.com/api/ddospro/describeccmode.html

func (*Client) DescribeCcModeWithCallback

func (client *Client) DescribeCcModeWithCallback(request *DescribeCcModeRequest, callback func(response *DescribeCcModeResponse, err error)) <-chan int

DescribeCcModeWithCallback invokes the ddospro.DescribeCcMode API asynchronously api document: https://help.aliyun.com/api/ddospro/describeccmode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeCcModeWithChan

func (client *Client) DescribeCcModeWithChan(request *DescribeCcModeRequest) (<-chan *DescribeCcModeResponse, <-chan error)

DescribeCcModeWithChan invokes the ddospro.DescribeCcMode API asynchronously api document: https://help.aliyun.com/api/ddospro/describeccmode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeCnameAutoStatus

func (client *Client) DescribeCnameAutoStatus(request *DescribeCnameAutoStatusRequest) (response *DescribeCnameAutoStatusResponse, err error)

DescribeCnameAutoStatus invokes the ddospro.DescribeCnameAutoStatus API synchronously api document: https://help.aliyun.com/api/ddospro/describecnameautostatus.html

func (*Client) DescribeCnameAutoStatusWithCallback

func (client *Client) DescribeCnameAutoStatusWithCallback(request *DescribeCnameAutoStatusRequest, callback func(response *DescribeCnameAutoStatusResponse, err error)) <-chan int

DescribeCnameAutoStatusWithCallback invokes the ddospro.DescribeCnameAutoStatus API asynchronously api document: https://help.aliyun.com/api/ddospro/describecnameautostatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeCnameAutoStatusWithChan

func (client *Client) DescribeCnameAutoStatusWithChan(request *DescribeCnameAutoStatusRequest) (<-chan *DescribeCnameAutoStatusResponse, <-chan error)

DescribeCnameAutoStatusWithChan invokes the ddospro.DescribeCnameAutoStatus API asynchronously api document: https://help.aliyun.com/api/ddospro/describecnameautostatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDdosStatus

func (client *Client) DescribeDdosStatus(request *DescribeDdosStatusRequest) (response *DescribeDdosStatusResponse, err error)

DescribeDdosStatus invokes the ddospro.DescribeDdosStatus API synchronously api document: https://help.aliyun.com/api/ddospro/describeddosstatus.html

func (*Client) DescribeDdosStatusWithCallback

func (client *Client) DescribeDdosStatusWithCallback(request *DescribeDdosStatusRequest, callback func(response *DescribeDdosStatusResponse, err error)) <-chan int

DescribeDdosStatusWithCallback invokes the ddospro.DescribeDdosStatus API asynchronously api document: https://help.aliyun.com/api/ddospro/describeddosstatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDdosStatusWithChan

func (client *Client) DescribeDdosStatusWithChan(request *DescribeDdosStatusRequest) (<-chan *DescribeDdosStatusResponse, <-chan error)

DescribeDdosStatusWithChan invokes the ddospro.DescribeDdosStatus API asynchronously api document: https://help.aliyun.com/api/ddospro/describeddosstatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDomainBlackWhiteList

func (client *Client) DescribeDomainBlackWhiteList(request *DescribeDomainBlackWhiteListRequest) (response *DescribeDomainBlackWhiteListResponse, err error)

DescribeDomainBlackWhiteList invokes the ddospro.DescribeDomainBlackWhiteList API synchronously api document: https://help.aliyun.com/api/ddospro/describedomainblackwhitelist.html

func (*Client) DescribeDomainBlackWhiteListWithCallback

func (client *Client) DescribeDomainBlackWhiteListWithCallback(request *DescribeDomainBlackWhiteListRequest, callback func(response *DescribeDomainBlackWhiteListResponse, err error)) <-chan int

DescribeDomainBlackWhiteListWithCallback invokes the ddospro.DescribeDomainBlackWhiteList API asynchronously api document: https://help.aliyun.com/api/ddospro/describedomainblackwhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDomainBlackWhiteListWithChan

func (client *Client) DescribeDomainBlackWhiteListWithChan(request *DescribeDomainBlackWhiteListRequest) (<-chan *DescribeDomainBlackWhiteListResponse, <-chan error)

DescribeDomainBlackWhiteListWithChan invokes the ddospro.DescribeDomainBlackWhiteList API asynchronously api document: https://help.aliyun.com/api/ddospro/describedomainblackwhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDomainConfig

func (client *Client) DescribeDomainConfig(request *DescribeDomainConfigRequest) (response *DescribeDomainConfigResponse, err error)

DescribeDomainConfig invokes the ddospro.DescribeDomainConfig API synchronously api document: https://help.aliyun.com/api/ddospro/describedomainconfig.html

func (*Client) DescribeDomainConfigWithCallback

func (client *Client) DescribeDomainConfigWithCallback(request *DescribeDomainConfigRequest, callback func(response *DescribeDomainConfigResponse, err error)) <-chan int

DescribeDomainConfigWithCallback invokes the ddospro.DescribeDomainConfig API asynchronously api document: https://help.aliyun.com/api/ddospro/describedomainconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDomainConfigWithChan

func (client *Client) DescribeDomainConfigWithChan(request *DescribeDomainConfigRequest) (<-chan *DescribeDomainConfigResponse, <-chan error)

DescribeDomainConfigWithChan invokes the ddospro.DescribeDomainConfig API asynchronously api document: https://help.aliyun.com/api/ddospro/describedomainconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDomainQps

func (client *Client) DescribeDomainQps(request *DescribeDomainQpsRequest) (response *DescribeDomainQpsResponse, err error)

DescribeDomainQps invokes the ddospro.DescribeDomainQps API synchronously api document: https://help.aliyun.com/api/ddospro/describedomainqps.html

func (*Client) DescribeDomainQpsWithCallback

func (client *Client) DescribeDomainQpsWithCallback(request *DescribeDomainQpsRequest, callback func(response *DescribeDomainQpsResponse, err error)) <-chan int

DescribeDomainQpsWithCallback invokes the ddospro.DescribeDomainQps API asynchronously api document: https://help.aliyun.com/api/ddospro/describedomainqps.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDomainQpsWithChan

func (client *Client) DescribeDomainQpsWithChan(request *DescribeDomainQpsRequest) (<-chan *DescribeDomainQpsResponse, <-chan error)

DescribeDomainQpsWithChan invokes the ddospro.DescribeDomainQps API asynchronously api document: https://help.aliyun.com/api/ddospro/describedomainqps.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeFlowBlockholeStatus

func (client *Client) DescribeFlowBlockholeStatus(request *DescribeFlowBlockholeStatusRequest) (response *DescribeFlowBlockholeStatusResponse, err error)

DescribeFlowBlockholeStatus invokes the ddospro.DescribeFlowBlockholeStatus API synchronously api document: https://help.aliyun.com/api/ddospro/describeflowblockholestatus.html

func (*Client) DescribeFlowBlockholeStatusWithCallback

func (client *Client) DescribeFlowBlockholeStatusWithCallback(request *DescribeFlowBlockholeStatusRequest, callback func(response *DescribeFlowBlockholeStatusResponse, err error)) <-chan int

DescribeFlowBlockholeStatusWithCallback invokes the ddospro.DescribeFlowBlockholeStatus API asynchronously api document: https://help.aliyun.com/api/ddospro/describeflowblockholestatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeFlowBlockholeStatusWithChan

func (client *Client) DescribeFlowBlockholeStatusWithChan(request *DescribeFlowBlockholeStatusRequest) (<-chan *DescribeFlowBlockholeStatusResponse, <-chan error)

DescribeFlowBlockholeStatusWithChan invokes the ddospro.DescribeFlowBlockholeStatus API asynchronously api document: https://help.aliyun.com/api/ddospro/describeflowblockholestatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstancePage

func (client *Client) DescribeInstancePage(request *DescribeInstancePageRequest) (response *DescribeInstancePageResponse, err error)

DescribeInstancePage invokes the ddospro.DescribeInstancePage API synchronously api document: https://help.aliyun.com/api/ddospro/describeinstancepage.html

func (*Client) DescribeInstancePageWithCallback

func (client *Client) DescribeInstancePageWithCallback(request *DescribeInstancePageRequest, callback func(response *DescribeInstancePageResponse, err error)) <-chan int

DescribeInstancePageWithCallback invokes the ddospro.DescribeInstancePage API asynchronously api document: https://help.aliyun.com/api/ddospro/describeinstancepage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstancePageWithChan

func (client *Client) DescribeInstancePageWithChan(request *DescribeInstancePageRequest) (<-chan *DescribeInstancePageResponse, <-chan error)

DescribeInstancePageWithChan invokes the ddospro.DescribeInstancePage API asynchronously api document: https://help.aliyun.com/api/ddospro/describeinstancepage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeIpAttackEvent

func (client *Client) DescribeIpAttackEvent(request *DescribeIpAttackEventRequest) (response *DescribeIpAttackEventResponse, err error)

DescribeIpAttackEvent invokes the ddospro.DescribeIpAttackEvent API synchronously api document: https://help.aliyun.com/api/ddospro/describeipattackevent.html

func (*Client) DescribeIpAttackEventWithCallback

func (client *Client) DescribeIpAttackEventWithCallback(request *DescribeIpAttackEventRequest, callback func(response *DescribeIpAttackEventResponse, err error)) <-chan int

DescribeIpAttackEventWithCallback invokes the ddospro.DescribeIpAttackEvent API asynchronously api document: https://help.aliyun.com/api/ddospro/describeipattackevent.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeIpAttackEventWithChan

func (client *Client) DescribeIpAttackEventWithChan(request *DescribeIpAttackEventRequest) (<-chan *DescribeIpAttackEventResponse, <-chan error)

DescribeIpAttackEventWithChan invokes the ddospro.DescribeIpAttackEvent API asynchronously api document: https://help.aliyun.com/api/ddospro/describeipattackevent.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeIpTraffic

func (client *Client) DescribeIpTraffic(request *DescribeIpTrafficRequest) (response *DescribeIpTrafficResponse, err error)

DescribeIpTraffic invokes the ddospro.DescribeIpTraffic API synchronously api document: https://help.aliyun.com/api/ddospro/describeiptraffic.html

func (*Client) DescribeIpTrafficWithCallback

func (client *Client) DescribeIpTrafficWithCallback(request *DescribeIpTrafficRequest, callback func(response *DescribeIpTrafficResponse, err error)) <-chan int

DescribeIpTrafficWithCallback invokes the ddospro.DescribeIpTraffic API asynchronously api document: https://help.aliyun.com/api/ddospro/describeiptraffic.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeIpTrafficWithChan

func (client *Client) DescribeIpTrafficWithChan(request *DescribeIpTrafficRequest) (<-chan *DescribeIpTrafficResponse, <-chan error)

DescribeIpTrafficWithChan invokes the ddospro.DescribeIpTraffic API asynchronously api document: https://help.aliyun.com/api/ddospro/describeiptraffic.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeOplog

func (client *Client) DescribeOplog(request *DescribeOplogRequest) (response *DescribeOplogResponse, err error)

DescribeOplog invokes the ddospro.DescribeOplog API synchronously api document: https://help.aliyun.com/api/ddospro/describeoplog.html

func (*Client) DescribeOplogWithCallback

func (client *Client) DescribeOplogWithCallback(request *DescribeOplogRequest, callback func(response *DescribeOplogResponse, err error)) <-chan int

DescribeOplogWithCallback invokes the ddospro.DescribeOplog API asynchronously api document: https://help.aliyun.com/api/ddospro/describeoplog.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeOplogWithChan

func (client *Client) DescribeOplogWithChan(request *DescribeOplogRequest) (<-chan *DescribeOplogResponse, <-chan error)

DescribeOplogWithChan invokes the ddospro.DescribeOplog API asynchronously api document: https://help.aliyun.com/api/ddospro/describeoplog.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeUnBlackholeCount

func (client *Client) DescribeUnBlackholeCount(request *DescribeUnBlackholeCountRequest) (response *DescribeUnBlackholeCountResponse, err error)

DescribeUnBlackholeCount invokes the ddospro.DescribeUnBlackholeCount API synchronously api document: https://help.aliyun.com/api/ddospro/describeunblackholecount.html

func (*Client) DescribeUnBlackholeCountWithCallback

func (client *Client) DescribeUnBlackholeCountWithCallback(request *DescribeUnBlackholeCountRequest, callback func(response *DescribeUnBlackholeCountResponse, err error)) <-chan int

DescribeUnBlackholeCountWithCallback invokes the ddospro.DescribeUnBlackholeCount API asynchronously api document: https://help.aliyun.com/api/ddospro/describeunblackholecount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeUnBlackholeCountWithChan

func (client *Client) DescribeUnBlackholeCountWithChan(request *DescribeUnBlackholeCountRequest) (<-chan *DescribeUnBlackholeCountResponse, <-chan error)

DescribeUnBlackholeCountWithChan invokes the ddospro.DescribeUnBlackholeCount API asynchronously api document: https://help.aliyun.com/api/ddospro/describeunblackholecount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeUnBlockholeCount

func (client *Client) DescribeUnBlockholeCount(request *DescribeUnBlockholeCountRequest) (response *DescribeUnBlockholeCountResponse, err error)

DescribeUnBlockholeCount invokes the ddospro.DescribeUnBlockholeCount API synchronously api document: https://help.aliyun.com/api/ddospro/describeunblockholecount.html

func (*Client) DescribeUnBlockholeCountWithCallback

func (client *Client) DescribeUnBlockholeCountWithCallback(request *DescribeUnBlockholeCountRequest, callback func(response *DescribeUnBlockholeCountResponse, err error)) <-chan int

DescribeUnBlockholeCountWithCallback invokes the ddospro.DescribeUnBlockholeCount API asynchronously api document: https://help.aliyun.com/api/ddospro/describeunblockholecount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeUnBlockholeCountWithChan

func (client *Client) DescribeUnBlockholeCountWithChan(request *DescribeUnBlockholeCountRequest) (<-chan *DescribeUnBlockholeCountResponse, <-chan error)

DescribeUnBlockholeCountWithChan invokes the ddospro.DescribeUnBlockholeCount API asynchronously api document: https://help.aliyun.com/api/ddospro/describeunblockholecount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeWebLogDownloadFilePage

func (client *Client) DescribeWebLogDownloadFilePage(request *DescribeWebLogDownloadFilePageRequest) (response *DescribeWebLogDownloadFilePageResponse, err error)

DescribeWebLogDownloadFilePage invokes the ddospro.DescribeWebLogDownloadFilePage API synchronously api document: https://help.aliyun.com/api/ddospro/describeweblogdownloadfilepage.html

func (*Client) DescribeWebLogDownloadFilePageWithCallback

func (client *Client) DescribeWebLogDownloadFilePageWithCallback(request *DescribeWebLogDownloadFilePageRequest, callback func(response *DescribeWebLogDownloadFilePageResponse, err error)) <-chan int

DescribeWebLogDownloadFilePageWithCallback invokes the ddospro.DescribeWebLogDownloadFilePage API asynchronously api document: https://help.aliyun.com/api/ddospro/describeweblogdownloadfilepage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeWebLogDownloadFilePageWithChan

func (client *Client) DescribeWebLogDownloadFilePageWithChan(request *DescribeWebLogDownloadFilePageRequest) (<-chan *DescribeWebLogDownloadFilePageResponse, <-chan error)

DescribeWebLogDownloadFilePageWithChan invokes the ddospro.DescribeWebLogDownloadFilePage API asynchronously api document: https://help.aliyun.com/api/ddospro/describeweblogdownloadfilepage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeWebLogPage

func (client *Client) DescribeWebLogPage(request *DescribeWebLogPageRequest) (response *DescribeWebLogPageResponse, err error)

DescribeWebLogPage invokes the ddospro.DescribeWebLogPage API synchronously api document: https://help.aliyun.com/api/ddospro/describeweblogpage.html

func (*Client) DescribeWebLogPageWithCallback

func (client *Client) DescribeWebLogPageWithCallback(request *DescribeWebLogPageRequest, callback func(response *DescribeWebLogPageResponse, err error)) <-chan int

DescribeWebLogPageWithCallback invokes the ddospro.DescribeWebLogPage API asynchronously api document: https://help.aliyun.com/api/ddospro/describeweblogpage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeWebLogPageWithChan

func (client *Client) DescribeWebLogPageWithChan(request *DescribeWebLogPageRequest) (<-chan *DescribeWebLogPageResponse, <-chan error)

DescribeWebLogPageWithChan invokes the ddospro.DescribeWebLogPage API asynchronously api document: https://help.aliyun.com/api/ddospro/describeweblogpage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListDomainConfig

func (client *Client) ListDomainConfig(request *ListDomainConfigRequest) (response *ListDomainConfigResponse, err error)

ListDomainConfig invokes the ddospro.ListDomainConfig API synchronously api document: https://help.aliyun.com/api/ddospro/listdomainconfig.html

func (*Client) ListDomainConfigWithCallback

func (client *Client) ListDomainConfigWithCallback(request *ListDomainConfigRequest, callback func(response *ListDomainConfigResponse, err error)) <-chan int

ListDomainConfigWithCallback invokes the ddospro.ListDomainConfig API asynchronously api document: https://help.aliyun.com/api/ddospro/listdomainconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListDomainConfigWithChan

func (client *Client) ListDomainConfigWithChan(request *ListDomainConfigRequest) (<-chan *ListDomainConfigResponse, <-chan error)

ListDomainConfigWithChan invokes the ddospro.ListDomainConfig API asynchronously api document: https://help.aliyun.com/api/ddospro/listdomainconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyCcMode

func (client *Client) ModifyCcMode(request *ModifyCcModeRequest) (response *ModifyCcModeResponse, err error)

ModifyCcMode invokes the ddospro.ModifyCcMode API synchronously api document: https://help.aliyun.com/api/ddospro/modifyccmode.html

func (*Client) ModifyCcModeWithCallback

func (client *Client) ModifyCcModeWithCallback(request *ModifyCcModeRequest, callback func(response *ModifyCcModeResponse, err error)) <-chan int

ModifyCcModeWithCallback invokes the ddospro.ModifyCcMode API asynchronously api document: https://help.aliyun.com/api/ddospro/modifyccmode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyCcModeWithChan

func (client *Client) ModifyCcModeWithChan(request *ModifyCcModeRequest) (<-chan *ModifyCcModeResponse, <-chan error)

ModifyCcModeWithChan invokes the ddospro.ModifyCcMode API asynchronously api document: https://help.aliyun.com/api/ddospro/modifyccmode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyCnameAutoStatus

func (client *Client) ModifyCnameAutoStatus(request *ModifyCnameAutoStatusRequest) (response *ModifyCnameAutoStatusResponse, err error)

ModifyCnameAutoStatus invokes the ddospro.ModifyCnameAutoStatus API synchronously api document: https://help.aliyun.com/api/ddospro/modifycnameautostatus.html

func (*Client) ModifyCnameAutoStatusWithCallback

func (client *Client) ModifyCnameAutoStatusWithCallback(request *ModifyCnameAutoStatusRequest, callback func(response *ModifyCnameAutoStatusResponse, err error)) <-chan int

ModifyCnameAutoStatusWithCallback invokes the ddospro.ModifyCnameAutoStatus API asynchronously api document: https://help.aliyun.com/api/ddospro/modifycnameautostatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyCnameAutoStatusWithChan

func (client *Client) ModifyCnameAutoStatusWithChan(request *ModifyCnameAutoStatusRequest) (<-chan *ModifyCnameAutoStatusResponse, <-chan error)

ModifyCnameAutoStatusWithChan invokes the ddospro.ModifyCnameAutoStatus API asynchronously api document: https://help.aliyun.com/api/ddospro/modifycnameautostatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDomainBlackWhiteList

func (client *Client) ModifyDomainBlackWhiteList(request *ModifyDomainBlackWhiteListRequest) (response *ModifyDomainBlackWhiteListResponse, err error)

ModifyDomainBlackWhiteList invokes the ddospro.ModifyDomainBlackWhiteList API synchronously api document: https://help.aliyun.com/api/ddospro/modifydomainblackwhitelist.html

func (*Client) ModifyDomainBlackWhiteListWithCallback

func (client *Client) ModifyDomainBlackWhiteListWithCallback(request *ModifyDomainBlackWhiteListRequest, callback func(response *ModifyDomainBlackWhiteListResponse, err error)) <-chan int

ModifyDomainBlackWhiteListWithCallback invokes the ddospro.ModifyDomainBlackWhiteList API asynchronously api document: https://help.aliyun.com/api/ddospro/modifydomainblackwhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDomainBlackWhiteListWithChan

func (client *Client) ModifyDomainBlackWhiteListWithChan(request *ModifyDomainBlackWhiteListRequest) (<-chan *ModifyDomainBlackWhiteListResponse, <-chan error)

ModifyDomainBlackWhiteListWithChan invokes the ddospro.ModifyDomainBlackWhiteList API asynchronously api document: https://help.aliyun.com/api/ddospro/modifydomainblackwhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDomainProxy

func (client *Client) ModifyDomainProxy(request *ModifyDomainProxyRequest) (response *ModifyDomainProxyResponse, err error)

ModifyDomainProxy invokes the ddospro.ModifyDomainProxy API synchronously api document: https://help.aliyun.com/api/ddospro/modifydomainproxy.html

func (*Client) ModifyDomainProxyWithCallback

func (client *Client) ModifyDomainProxyWithCallback(request *ModifyDomainProxyRequest, callback func(response *ModifyDomainProxyResponse, err error)) <-chan int

ModifyDomainProxyWithCallback invokes the ddospro.ModifyDomainProxy API asynchronously api document: https://help.aliyun.com/api/ddospro/modifydomainproxy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDomainProxyWithChan

func (client *Client) ModifyDomainProxyWithChan(request *ModifyDomainProxyRequest) (<-chan *ModifyDomainProxyResponse, <-chan error)

ModifyDomainProxyWithChan invokes the ddospro.ModifyDomainProxy API asynchronously api document: https://help.aliyun.com/api/ddospro/modifydomainproxy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDomainTransmitRule

func (client *Client) ModifyDomainTransmitRule(request *ModifyDomainTransmitRuleRequest) (response *ModifyDomainTransmitRuleResponse, err error)

ModifyDomainTransmitRule invokes the ddospro.ModifyDomainTransmitRule API synchronously api document: https://help.aliyun.com/api/ddospro/modifydomaintransmitrule.html

func (*Client) ModifyDomainTransmitRuleWithCallback

func (client *Client) ModifyDomainTransmitRuleWithCallback(request *ModifyDomainTransmitRuleRequest, callback func(response *ModifyDomainTransmitRuleResponse, err error)) <-chan int

ModifyDomainTransmitRuleWithCallback invokes the ddospro.ModifyDomainTransmitRule API asynchronously api document: https://help.aliyun.com/api/ddospro/modifydomaintransmitrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDomainTransmitRuleWithChan

func (client *Client) ModifyDomainTransmitRuleWithChan(request *ModifyDomainTransmitRuleRequest) (<-chan *ModifyDomainTransmitRuleResponse, <-chan error)

ModifyDomainTransmitRuleWithChan invokes the ddospro.ModifyDomainTransmitRule API asynchronously api document: https://help.aliyun.com/api/ddospro/modifydomaintransmitrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UploadCertificate

func (client *Client) UploadCertificate(request *UploadCertificateRequest) (response *UploadCertificateResponse, err error)

UploadCertificate invokes the ddospro.UploadCertificate API synchronously api document: https://help.aliyun.com/api/ddospro/uploadcertificate.html

func (*Client) UploadCertificateWithCallback

func (client *Client) UploadCertificateWithCallback(request *UploadCertificateRequest, callback func(response *UploadCertificateResponse, err error)) <-chan int

UploadCertificateWithCallback invokes the ddospro.UploadCertificate API asynchronously api document: https://help.aliyun.com/api/ddospro/uploadcertificate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UploadCertificateWithChan

func (client *Client) UploadCertificateWithChan(request *UploadCertificateRequest) (<-chan *UploadCertificateResponse, <-chan error)

UploadCertificateWithChan invokes the ddospro.UploadCertificate API asynchronously api document: https://help.aliyun.com/api/ddospro/uploadcertificate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type Config

type Config struct {
	Cname     string                          `json:"Cname" xml:"Cname"`
	Domain    string                          `json:"Domain" xml:"Domain"`
	Instances InstancesInDescribeDomainConfig `json:"Instances" xml:"Instances"`
}

Config is a nested struct in ddospro response

type ConfigList

type ConfigList struct {
	Config []Config `json:"Config" xml:"Config"`
}

ConfigList is a nested struct in ddospro response

type CreateBlockholeRequest

type CreateBlockholeRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Vip             string           `position:"Query" name:"Vip"`
	BlockZone       string           `position:"Query" name:"BlockZone"`
	BlockTime       requests.Integer `position:"Query" name:"BlockTime"`
}

CreateBlockholeRequest is the request struct for api CreateBlockhole

func CreateCreateBlockholeRequest

func CreateCreateBlockholeRequest() (request *CreateBlockholeRequest)

CreateCreateBlockholeRequest creates a request to invoke CreateBlockhole API

type CreateBlockholeResponse

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

CreateBlockholeResponse is the response struct for api CreateBlockhole

func CreateCreateBlockholeResponse

func CreateCreateBlockholeResponse() (response *CreateBlockholeResponse)

CreateCreateBlockholeResponse creates a response to parse from CreateBlockhole response

type CreateDomainRequest

type CreateDomainRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	Ip              string           `position:"Query" name:"Ip"`
	Type            string           `position:"Query" name:"Type"`
	CcEnable        requests.Boolean `position:"Query" name:"CcEnable"`
	RealServer      *[]string        `position:"Query" name:"RealServer"  type:"Repeated"`
	ProxyType       *[]string        `position:"Query" name:"ProxyType"  type:"Repeated"`
}

CreateDomainRequest is the request struct for api CreateDomain

func CreateCreateDomainRequest

func CreateCreateDomainRequest() (request *CreateDomainRequest)

CreateCreateDomainRequest creates a request to invoke CreateDomain API

type CreateDomainResponse

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

CreateDomainResponse is the response struct for api CreateDomain

func CreateCreateDomainResponse

func CreateCreateDomainResponse() (response *CreateDomainResponse)

CreateCreateDomainResponse creates a response to parse from CreateDomain response

type CreateWebLogDownloadTaskRequest

type CreateWebLogDownloadTaskRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	StartTime       requests.Integer `position:"Query" name:"StartTime"`
	EndTime         requests.Integer `position:"Query" name:"EndTime"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
}

CreateWebLogDownloadTaskRequest is the request struct for api CreateWebLogDownloadTask

func CreateCreateWebLogDownloadTaskRequest

func CreateCreateWebLogDownloadTaskRequest() (request *CreateWebLogDownloadTaskRequest)

CreateCreateWebLogDownloadTaskRequest creates a request to invoke CreateWebLogDownloadTask API

type CreateWebLogDownloadTaskResponse

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

CreateWebLogDownloadTaskResponse is the response struct for api CreateWebLogDownloadTask

func CreateCreateWebLogDownloadTaskResponse

func CreateCreateWebLogDownloadTaskResponse() (response *CreateWebLogDownloadTaskResponse)

CreateCreateWebLogDownloadTaskResponse creates a response to parse from CreateWebLogDownloadTask response

type Data

type Data struct {
	Cycle             int          `json:"Cycle" xml:"Cycle"`
	CycleResidue      int          `json:"CycleResidue" xml:"CycleResidue"`
	LastBlockTime     int          `json:"LastBlockTime" xml:"LastBlockTime"`
	HoleThresholdMbps int          `json:"HoleThresholdMbps" xml:"HoleThresholdMbps"`
	CcMode            string       `json:"CcMode" xml:"CcMode"`
	WhiteList         string       `json:"WhiteList" xml:"WhiteList"`
	ExpectionOpenTime int          `json:"ExpectionOpenTime" xml:"ExpectionOpenTime"`
	Status            bool         `json:"Status" xml:"Status"`
	ResourceId        string       `json:"ResourceId" xml:"ResourceId"`
	OpDesc            string       `json:"OpDesc" xml:"OpDesc"`
	OpAction          int          `json:"OpAction" xml:"OpAction"`
	LastCloseTime     int          `json:"LastCloseTime" xml:"LastCloseTime"`
	RemainingTime     int          `json:"RemainingTime" xml:"RemainingTime"`
	BlockZone         string       `json:"BlockZone" xml:"BlockZone"`
	BlockTime         int          `json:"BlockTime" xml:"BlockTime"`
	TotalClose        int          `json:"TotalClose" xml:"TotalClose"`
	Region            string       `json:"Region" xml:"Region"`
	TotalTime         int          `json:"TotalTime" xml:"TotalTime"`
	CycleTime         int          `json:"CycleTime" xml:"CycleTime"`
	DdosStatus        int          `json:"DdosStatus" xml:"DdosStatus"`
	BlackList         string       `json:"BlackList" xml:"BlackList"`
	Result            int          `json:"Result" xml:"Result"`
	Vip               string       `json:"Vip" xml:"Vip"`
	OpDate            int          `json:"OpDate" xml:"OpDate"`
	UnblockTime       int          `json:"UnblockTime" xml:"UnblockTime"`
	BpsDrop           []string     `json:"BpsDrop" xml:"BpsDrop"`
	Attacks           []string     `json:"Attacks" xml:"Attacks"`
	PpsDrop           []string     `json:"PpsDrop" xml:"PpsDrop"`
	PpsTotal          []string     `json:"PpsTotal" xml:"PpsTotal"`
	BpsTotal          []string     `json:"BpsTotal" xml:"BpsTotal"`
	Total             []string     `json:"Total" xml:"Total"`
	TimeScope         TimeScope    `json:"TimeScope" xml:"TimeScope"`
	PageInfo          PageInfo     `json:"PageInfo" xml:"PageInfo"`
	List              []AttackInfo `json:"List" xml:"List"`
}

Data is a nested struct in ddospro response

type DataInDescribeCcMode

type DataInDescribeCcMode struct {
	Data []Data `json:"data" xml:"data"`
}

DataInDescribeCcMode is a nested struct in ddospro response

type DataInDescribeDdosStatus

type DataInDescribeDdosStatus struct {
	Data []Data `json:"data" xml:"data"`
}

DataInDescribeDdosStatus is a nested struct in ddospro response

type DataInDescribeFlowBlockholeStatus

type DataInDescribeFlowBlockholeStatus struct {
	Data []Data `json:"data" xml:"data"`
}

DataInDescribeFlowBlockholeStatus is a nested struct in ddospro response

type DeleteBlackHoleRequest

type DeleteBlackHoleRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Vip             string           `position:"Query" name:"Vip"`
}

DeleteBlackHoleRequest is the request struct for api DeleteBlackHole

func CreateDeleteBlackHoleRequest

func CreateDeleteBlackHoleRequest() (request *DeleteBlackHoleRequest)

CreateDeleteBlackHoleRequest creates a request to invoke DeleteBlackHole API

type DeleteBlackHoleResponse

type DeleteBlackHoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      string `json:"data" xml:"data"`
}

DeleteBlackHoleResponse is the response struct for api DeleteBlackHole

func CreateDeleteBlackHoleResponse

func CreateDeleteBlackHoleResponse() (response *DeleteBlackHoleResponse)

CreateDeleteBlackHoleResponse creates a response to parse from DeleteBlackHole response

type DeleteBlockholeRequest

type DeleteBlockholeRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Vip             string           `position:"Query" name:"Vip"`
}

DeleteBlockholeRequest is the request struct for api DeleteBlockhole

func CreateDeleteBlockholeRequest

func CreateDeleteBlockholeRequest() (request *DeleteBlockholeRequest)

CreateDeleteBlockholeRequest creates a request to invoke DeleteBlockhole API

type DeleteBlockholeResponse

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

DeleteBlockholeResponse is the response struct for api DeleteBlockhole

func CreateDeleteBlockholeResponse

func CreateDeleteBlockholeResponse() (response *DeleteBlockholeResponse)

CreateDeleteBlockholeResponse creates a response to parse from DeleteBlockhole response

type DeleteDomainRequest

type DeleteDomainRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
}

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"`
}

DeleteDomainResponse is the response struct for api DeleteDomain

func CreateDeleteDomainResponse

func CreateDeleteDomainResponse() (response *DeleteDomainResponse)

CreateDeleteDomainResponse creates a response to parse from DeleteDomain response

type DeleteDomainTransmitRuleRequest

type DeleteDomainTransmitRuleRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	Ip              string           `position:"Query" name:"Ip"`
}

DeleteDomainTransmitRuleRequest is the request struct for api DeleteDomainTransmitRule

func CreateDeleteDomainTransmitRuleRequest

func CreateDeleteDomainTransmitRuleRequest() (request *DeleteDomainTransmitRuleRequest)

CreateDeleteDomainTransmitRuleRequest creates a request to invoke DeleteDomainTransmitRule API

type DeleteDomainTransmitRuleResponse

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

DeleteDomainTransmitRuleResponse is the response struct for api DeleteDomainTransmitRule

func CreateDeleteDomainTransmitRuleResponse

func CreateDeleteDomainTransmitRuleResponse() (response *DeleteDomainTransmitRuleResponse)

CreateDeleteDomainTransmitRuleResponse creates a response to parse from DeleteDomainTransmitRule response

type DescribeBackSourceCidrRequest

type DescribeBackSourceCidrRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Line            string           `position:"Query" name:"Line"`
	Region          string           `position:"Query" name:"Region"`
}

DescribeBackSourceCidrRequest is the request struct for api DescribeBackSourceCidr

func CreateDescribeBackSourceCidrRequest

func CreateDescribeBackSourceCidrRequest() (request *DescribeBackSourceCidrRequest)

CreateDescribeBackSourceCidrRequest creates a request to invoke DescribeBackSourceCidr API

type DescribeBackSourceCidrResponse

type DescribeBackSourceCidrResponse struct {
	*responses.BaseResponse
	RequestId string   `json:"RequestId" xml:"RequestId"`
	CidrList  CidrList `json:"CidrList" xml:"CidrList"`
}

DescribeBackSourceCidrResponse is the response struct for api DescribeBackSourceCidr

func CreateDescribeBackSourceCidrResponse

func CreateDescribeBackSourceCidrResponse() (response *DescribeBackSourceCidrResponse)

CreateDescribeBackSourceCidrResponse creates a response to parse from DescribeBackSourceCidr response

type DescribeCcModeRequest

type DescribeCcModeRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Vips            *[]string        `position:"Query" name:"Vips"  type:"Repeated"`
}

DescribeCcModeRequest is the request struct for api DescribeCcMode

func CreateDescribeCcModeRequest

func CreateDescribeCcModeRequest() (request *DescribeCcModeRequest)

CreateDescribeCcModeRequest creates a request to invoke DescribeCcMode API

type DescribeCcModeResponse

type DescribeCcModeResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      []Data `json:"Data" xml:"Data"`
}

DescribeCcModeResponse is the response struct for api DescribeCcMode

func CreateDescribeCcModeResponse

func CreateDescribeCcModeResponse() (response *DescribeCcModeResponse)

CreateDescribeCcModeResponse creates a response to parse from DescribeCcMode response

type DescribeCnameAutoStatusRequest

type DescribeCnameAutoStatusRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
}

DescribeCnameAutoStatusRequest is the request struct for api DescribeCnameAutoStatus

func CreateDescribeCnameAutoStatusRequest

func CreateDescribeCnameAutoStatusRequest() (request *DescribeCnameAutoStatusRequest)

CreateDescribeCnameAutoStatusRequest creates a request to invoke DescribeCnameAutoStatus API

type DescribeCnameAutoStatusResponse

type DescribeCnameAutoStatusResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Status    bool   `json:"Status" xml:"Status"`
}

DescribeCnameAutoStatusResponse is the response struct for api DescribeCnameAutoStatus

func CreateDescribeCnameAutoStatusResponse

func CreateDescribeCnameAutoStatusResponse() (response *DescribeCnameAutoStatusResponse)

CreateDescribeCnameAutoStatusResponse creates a response to parse from DescribeCnameAutoStatus response

type DescribeDdosStatusRequest

type DescribeDdosStatusRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Vips            *[]string        `position:"Query" name:"Vips"  type:"Repeated"`
}

DescribeDdosStatusRequest is the request struct for api DescribeDdosStatus

func CreateDescribeDdosStatusRequest

func CreateDescribeDdosStatusRequest() (request *DescribeDdosStatusRequest)

CreateDescribeDdosStatusRequest creates a request to invoke DescribeDdosStatus API

type DescribeDdosStatusResponse

type DescribeDdosStatusResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      []Data `json:"Data" xml:"Data"`
}

DescribeDdosStatusResponse is the response struct for api DescribeDdosStatus

func CreateDescribeDdosStatusResponse

func CreateDescribeDdosStatusResponse() (response *DescribeDdosStatusResponse)

CreateDescribeDdosStatusResponse creates a response to parse from DescribeDdosStatus response

type DescribeDomainBlackWhiteListRequest

type DescribeDomainBlackWhiteListRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
}

DescribeDomainBlackWhiteListRequest is the request struct for api DescribeDomainBlackWhiteList

func CreateDescribeDomainBlackWhiteListRequest

func CreateDescribeDomainBlackWhiteListRequest() (request *DescribeDomainBlackWhiteListRequest)

CreateDescribeDomainBlackWhiteListRequest creates a request to invoke DescribeDomainBlackWhiteList API

type DescribeDomainBlackWhiteListResponse

type DescribeDomainBlackWhiteListResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeDomainBlackWhiteListResponse is the response struct for api DescribeDomainBlackWhiteList

func CreateDescribeDomainBlackWhiteListResponse

func CreateDescribeDomainBlackWhiteListResponse() (response *DescribeDomainBlackWhiteListResponse)

CreateDescribeDomainBlackWhiteListResponse creates a response to parse from DescribeDomainBlackWhiteList response

type DescribeDomainConfigRequest

type DescribeDomainConfigRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
}

DescribeDomainConfigRequest is the request struct for api DescribeDomainConfig

func CreateDescribeDomainConfigRequest

func CreateDescribeDomainConfigRequest() (request *DescribeDomainConfigRequest)

CreateDescribeDomainConfigRequest creates a request to invoke DescribeDomainConfig API

type DescribeDomainConfigResponse

type DescribeDomainConfigResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Config    Config `json:"Config" xml:"Config"`
}

DescribeDomainConfigResponse is the response struct for api DescribeDomainConfig

func CreateDescribeDomainConfigResponse

func CreateDescribeDomainConfigResponse() (response *DescribeDomainConfigResponse)

CreateDescribeDomainConfigResponse creates a response to parse from DescribeDomainConfig response

type DescribeDomainQpsRequest

type DescribeDomainQpsRequest struct {
	*requests.RpcRequest
	Domain          string           `position:"Query" name:"Domain"`
	StartDateMillis requests.Integer `position:"Query" name:"StartDateMillis"`
	EndDateMillis   requests.Integer `position:"Query" name:"EndDateMillis"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
}

DescribeDomainQpsRequest is the request struct for api DescribeDomainQps

func CreateDescribeDomainQpsRequest

func CreateDescribeDomainQpsRequest() (request *DescribeDomainQpsRequest)

CreateDescribeDomainQpsRequest creates a request to invoke DescribeDomainQps API

type DescribeDomainQpsResponse

type DescribeDomainQpsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeDomainQpsResponse is the response struct for api DescribeDomainQps

func CreateDescribeDomainQpsResponse

func CreateDescribeDomainQpsResponse() (response *DescribeDomainQpsResponse)

CreateDescribeDomainQpsResponse creates a response to parse from DescribeDomainQps response

type DescribeFlowBlockholeStatusRequest

type DescribeFlowBlockholeStatusRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Vips            *[]string        `position:"Query" name:"Vips"  type:"Repeated"`
}

DescribeFlowBlockholeStatusRequest is the request struct for api DescribeFlowBlockholeStatus

func CreateDescribeFlowBlockholeStatusRequest

func CreateDescribeFlowBlockholeStatusRequest() (request *DescribeFlowBlockholeStatusRequest)

CreateDescribeFlowBlockholeStatusRequest creates a request to invoke DescribeFlowBlockholeStatus API

type DescribeFlowBlockholeStatusResponse

type DescribeFlowBlockholeStatusResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      []Data `json:"Data" xml:"Data"`
}

DescribeFlowBlockholeStatusResponse is the response struct for api DescribeFlowBlockholeStatus

func CreateDescribeFlowBlockholeStatusResponse

func CreateDescribeFlowBlockholeStatusResponse() (response *DescribeFlowBlockholeStatusResponse)

CreateDescribeFlowBlockholeStatusResponse creates a response to parse from DescribeFlowBlockholeStatus response

type DescribeInstancePageRequest

type DescribeInstancePageRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	InstanceIdList  *[]string        `position:"Query" name:"InstanceIdList"  type:"Repeated"`
	IpList          *[]string        `position:"Query" name:"IpList"  type:"Repeated"`
}

DescribeInstancePageRequest is the request struct for api DescribeInstancePage

func CreateDescribeInstancePageRequest

func CreateDescribeInstancePageRequest() (request *DescribeInstancePageRequest)

CreateDescribeInstancePageRequest creates a request to invoke DescribeInstancePage API

type DescribeInstancePageResponse

type DescribeInstancePageResponse struct {
	*responses.BaseResponse
	RequestId    string         `json:"RequestId" xml:"RequestId"`
	Total        int            `json:"Total" xml:"Total"`
	InstanceList []InstanceInfo `json:"InstanceList" xml:"InstanceList"`
}

DescribeInstancePageResponse is the response struct for api DescribeInstancePage

func CreateDescribeInstancePageResponse

func CreateDescribeInstancePageResponse() (response *DescribeInstancePageResponse)

CreateDescribeInstancePageResponse creates a response to parse from DescribeInstancePage response

type DescribeIpAttackEventRequest

type DescribeIpAttackEventRequest struct {
	*requests.RpcRequest
	StartDateMillis requests.Integer `position:"Query" name:"StartDateMillis"`
	EndDateMillis   requests.Integer `position:"Query" name:"EndDateMillis"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	Start           requests.Integer `position:"Query" name:"Start"`
	Ip              string           `position:"Query" name:"Ip"`
}

DescribeIpAttackEventRequest is the request struct for api DescribeIpAttackEvent

func CreateDescribeIpAttackEventRequest

func CreateDescribeIpAttackEventRequest() (request *DescribeIpAttackEventRequest)

CreateDescribeIpAttackEventRequest creates a request to invoke DescribeIpAttackEvent API

type DescribeIpAttackEventResponse

type DescribeIpAttackEventResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeIpAttackEventResponse is the response struct for api DescribeIpAttackEvent

func CreateDescribeIpAttackEventResponse

func CreateDescribeIpAttackEventResponse() (response *DescribeIpAttackEventResponse)

CreateDescribeIpAttackEventResponse creates a response to parse from DescribeIpAttackEvent response

type DescribeIpTrafficRequest

type DescribeIpTrafficRequest struct {
	*requests.RpcRequest
	Ip              string           `position:"Query" name:"Ip"`
	StartDateMillis requests.Integer `position:"Query" name:"StartDateMillis"`
	EndDateMillis   requests.Integer `position:"Query" name:"EndDateMillis"`
}

DescribeIpTrafficRequest is the request struct for api DescribeIpTraffic

func CreateDescribeIpTrafficRequest

func CreateDescribeIpTrafficRequest() (request *DescribeIpTrafficRequest)

CreateDescribeIpTrafficRequest creates a request to invoke DescribeIpTraffic API

type DescribeIpTrafficResponse

type DescribeIpTrafficResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeIpTrafficResponse is the response struct for api DescribeIpTraffic

func CreateDescribeIpTrafficResponse

func CreateDescribeIpTrafficResponse() (response *DescribeIpTrafficResponse)

CreateDescribeIpTrafficResponse creates a response to parse from DescribeIpTraffic response

type DescribeOplogRequest

type DescribeOplogRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceId      string           `position:"Query" name:"ResourceId"`
	Result          requests.Integer `position:"Query" name:"Result"`
	StartTime       requests.Integer `position:"Query" name:"StartTime"`
	EndTime         requests.Integer `position:"Query" name:"EndTime"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
}

DescribeOplogRequest is the request struct for api DescribeOplog

func CreateDescribeOplogRequest

func CreateDescribeOplogRequest() (request *DescribeOplogRequest)

CreateDescribeOplogRequest creates a request to invoke DescribeOplog API

type DescribeOplogResponse

type DescribeOplogResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Total     int    `json:"Total" xml:"Total"`
	OplogList []Data `json:"OplogList" xml:"OplogList"`
}

DescribeOplogResponse is the response struct for api DescribeOplog

func CreateDescribeOplogResponse

func CreateDescribeOplogResponse() (response *DescribeOplogResponse)

CreateDescribeOplogResponse creates a response to parse from DescribeOplog response

type DescribeUnBlackholeCountRequest

type DescribeUnBlackholeCountRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
}

DescribeUnBlackholeCountRequest is the request struct for api DescribeUnBlackholeCount

func CreateDescribeUnBlackholeCountRequest

func CreateDescribeUnBlackholeCountRequest() (request *DescribeUnBlackholeCountRequest)

CreateDescribeUnBlackholeCountRequest creates a request to invoke DescribeUnBlackholeCount API

type DescribeUnBlackholeCountResponse

type DescribeUnBlackholeCountResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeUnBlackholeCountResponse is the response struct for api DescribeUnBlackholeCount

func CreateDescribeUnBlackholeCountResponse

func CreateDescribeUnBlackholeCountResponse() (response *DescribeUnBlackholeCountResponse)

CreateDescribeUnBlackholeCountResponse creates a response to parse from DescribeUnBlackholeCount response

type DescribeUnBlockholeCountRequest

type DescribeUnBlockholeCountRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
}

DescribeUnBlockholeCountRequest is the request struct for api DescribeUnBlockholeCount

func CreateDescribeUnBlockholeCountRequest

func CreateDescribeUnBlockholeCountRequest() (request *DescribeUnBlockholeCountRequest)

CreateDescribeUnBlockholeCountRequest creates a request to invoke DescribeUnBlockholeCount API

type DescribeUnBlockholeCountResponse

type DescribeUnBlockholeCountResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeUnBlockholeCountResponse is the response struct for api DescribeUnBlockholeCount

func CreateDescribeUnBlockholeCountResponse

func CreateDescribeUnBlockholeCountResponse() (response *DescribeUnBlockholeCountResponse)

CreateDescribeUnBlockholeCountResponse creates a response to parse from DescribeUnBlockholeCount response

type DescribeWebLogDownloadFilePageRequest

type DescribeWebLogDownloadFilePageRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	TaskId          requests.Integer `position:"Query" name:"TaskId"`
}

DescribeWebLogDownloadFilePageRequest is the request struct for api DescribeWebLogDownloadFilePage

func CreateDescribeWebLogDownloadFilePageRequest

func CreateDescribeWebLogDownloadFilePageRequest() (request *DescribeWebLogDownloadFilePageRequest)

CreateDescribeWebLogDownloadFilePageRequest creates a request to invoke DescribeWebLogDownloadFilePage API

type DescribeWebLogDownloadFilePageResponse

type DescribeWebLogDownloadFilePageResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
	FileList   []File `json:"FileList" xml:"FileList"`
}

DescribeWebLogDownloadFilePageResponse is the response struct for api DescribeWebLogDownloadFilePage

func CreateDescribeWebLogDownloadFilePageResponse

func CreateDescribeWebLogDownloadFilePageResponse() (response *DescribeWebLogDownloadFilePageResponse)

CreateDescribeWebLogDownloadFilePageResponse creates a response to parse from DescribeWebLogDownloadFilePage response

type DescribeWebLogPageRequest

type DescribeWebLogPageRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	StartTime       requests.Integer `position:"Query" name:"StartTime"`
	EndTime         requests.Integer `position:"Query" name:"EndTime"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
}

DescribeWebLogPageRequest is the request struct for api DescribeWebLogPage

func CreateDescribeWebLogPageRequest

func CreateDescribeWebLogPageRequest() (request *DescribeWebLogPageRequest)

CreateDescribeWebLogPageRequest creates a request to invoke DescribeWebLogPage API

type DescribeWebLogPageResponse

type DescribeWebLogPageResponse struct {
	*responses.BaseResponse
	RequestId  string   `json:"RequestId" xml:"RequestId"`
	TotalCount int      `json:"TotalCount" xml:"TotalCount"`
	WebLogList []WebLog `json:"WebLogList" xml:"WebLogList"`
}

DescribeWebLogPageResponse is the response struct for api DescribeWebLogPage

func CreateDescribeWebLogPageResponse

func CreateDescribeWebLogPageResponse() (response *DescribeWebLogPageResponse)

CreateDescribeWebLogPageResponse creates a response to parse from DescribeWebLogPage response

type File

type File struct {
	FileName        string `json:"FileName" xml:"FileName"`
	FileDownloadUrl string `json:"FileDownloadUrl" xml:"FileDownloadUrl"`
}

File is a nested struct in ddospro response

type FileList

type FileList struct {
	File []File `json:"File" xml:"File"`
}

FileList is a nested struct in ddospro response

type Instance

type Instance struct {
	InstanceRemark string                      `json:"InstanceRemark" xml:"InstanceRemark"`
	InstanceId     string                      `json:"InstanceId" xml:"InstanceId"`
	Rules          RulesInDescribeDomainConfig `json:"Rules" xml:"Rules"`
}

Instance is a nested struct in ddospro response

type InstanceInfo

type InstanceInfo struct {
	InstanceId string   `json:"InstanceId" xml:"InstanceId"`
	IpList     []IpInfo `json:"IpList" xml:"IpList"`
}

InstanceInfo is a nested struct in ddospro response

type InstanceList

type InstanceList struct {
	InstanceInfo []InstanceInfo `json:"InstanceInfo" xml:"InstanceInfo"`
}

InstanceList is a nested struct in ddospro response

type InstancesInDescribeDomainConfig

type InstancesInDescribeDomainConfig struct {
	Instance []Instance `json:"Instance" xml:"Instance"`
}

InstancesInDescribeDomainConfig is a nested struct in ddospro response

type InstancesInListDomainConfig

type InstancesInListDomainConfig struct {
	Instance []Instance `json:"Instance" xml:"Instance"`
}

InstancesInListDomainConfig is a nested struct in ddospro response

type IpInfo

type IpInfo struct {
	Ip         string `json:"Ip" xml:"Ip"`
	OrderId    int    `json:"OrderId" xml:"OrderId"`
	InstanceId string `json:"InstanceId" xml:"InstanceId"`
	Status     int    `json:"Status" xml:"Status"`
	AliUid     int    `json:"AliUid" xml:"AliUid"`
}

IpInfo is a nested struct in ddospro response

type IpList

type IpList struct {
	IpInfo []IpInfo `json:"IpInfo" xml:"IpInfo"`
}

IpList is a nested struct in ddospro response

type List

type List struct {
	AttackInfo []AttackInfo `json:"AttackInfo" xml:"AttackInfo"`
}

List is a nested struct in ddospro response

type ListDomainConfigRequest

type ListDomainConfigRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
}

ListDomainConfigRequest is the request struct for api ListDomainConfig

func CreateListDomainConfigRequest

func CreateListDomainConfigRequest() (request *ListDomainConfigRequest)

CreateListDomainConfigRequest creates a request to invoke ListDomainConfig API

type ListDomainConfigResponse

type ListDomainConfigResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	Total      int        `json:"Total" xml:"Total"`
	ConfigList ConfigList `json:"ConfigList" xml:"ConfigList"`
}

ListDomainConfigResponse is the response struct for api ListDomainConfig

func CreateListDomainConfigResponse

func CreateListDomainConfigResponse() (response *ListDomainConfigResponse)

CreateListDomainConfigResponse creates a response to parse from ListDomainConfig response

type ModifyCcModeRequest

type ModifyCcModeRequest struct {
	*requests.RpcRequest
	SourceIp        string           `position:"Query" name:"SourceIp"`
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Vip             string           `position:"Query" name:"Vip"`
	CcMode          string           `position:"Query" name:"CcMode"`
}

ModifyCcModeRequest is the request struct for api ModifyCcMode

func CreateModifyCcModeRequest

func CreateModifyCcModeRequest() (request *ModifyCcModeRequest)

CreateModifyCcModeRequest creates a request to invoke ModifyCcMode API

type ModifyCcModeResponse

type ModifyCcModeResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      string `json:"data" xml:"data"`
}

ModifyCcModeResponse is the response struct for api ModifyCcMode

func CreateModifyCcModeResponse

func CreateModifyCcModeResponse() (response *ModifyCcModeResponse)

CreateModifyCcModeResponse creates a response to parse from ModifyCcMode response

type ModifyCnameAutoStatusRequest

type ModifyCnameAutoStatusRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	Enable          requests.Boolean `position:"Query" name:"Enable"`
}

ModifyCnameAutoStatusRequest is the request struct for api ModifyCnameAutoStatus

func CreateModifyCnameAutoStatusRequest

func CreateModifyCnameAutoStatusRequest() (request *ModifyCnameAutoStatusRequest)

CreateModifyCnameAutoStatusRequest creates a request to invoke ModifyCnameAutoStatus API

type ModifyCnameAutoStatusResponse

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

ModifyCnameAutoStatusResponse is the response struct for api ModifyCnameAutoStatus

func CreateModifyCnameAutoStatusResponse

func CreateModifyCnameAutoStatusResponse() (response *ModifyCnameAutoStatusResponse)

CreateModifyCnameAutoStatusResponse creates a response to parse from ModifyCnameAutoStatus response

type ModifyDomainBlackWhiteListRequest

type ModifyDomainBlackWhiteListRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	Black           *[]string        `position:"Query" name:"Black"  type:"Repeated"`
	White           *[]string        `position:"Query" name:"White"  type:"Repeated"`
}

ModifyDomainBlackWhiteListRequest is the request struct for api ModifyDomainBlackWhiteList

func CreateModifyDomainBlackWhiteListRequest

func CreateModifyDomainBlackWhiteListRequest() (request *ModifyDomainBlackWhiteListRequest)

CreateModifyDomainBlackWhiteListRequest creates a request to invoke ModifyDomainBlackWhiteList API

type ModifyDomainBlackWhiteListResponse

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

ModifyDomainBlackWhiteListResponse is the response struct for api ModifyDomainBlackWhiteList

func CreateModifyDomainBlackWhiteListResponse

func CreateModifyDomainBlackWhiteListResponse() (response *ModifyDomainBlackWhiteListResponse)

CreateModifyDomainBlackWhiteListResponse creates a response to parse from ModifyDomainBlackWhiteList response

type ModifyDomainProxyRequest

type ModifyDomainProxyRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	ProxyType       *[]string        `position:"Query" name:"ProxyType"  type:"Repeated"`
}

ModifyDomainProxyRequest is the request struct for api ModifyDomainProxy

func CreateModifyDomainProxyRequest

func CreateModifyDomainProxyRequest() (request *ModifyDomainProxyRequest)

CreateModifyDomainProxyRequest creates a request to invoke ModifyDomainProxy API

type ModifyDomainProxyResponse

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

ModifyDomainProxyResponse is the response struct for api ModifyDomainProxy

func CreateModifyDomainProxyResponse

func CreateModifyDomainProxyResponse() (response *ModifyDomainProxyResponse)

CreateModifyDomainProxyResponse creates a response to parse from ModifyDomainProxy response

type ModifyDomainTransmitRuleRequest

type ModifyDomainTransmitRuleRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	Ip              string           `position:"Query" name:"Ip"`
	Type            string           `position:"Query" name:"Type"`
	RealServer      *[]string        `position:"Query" name:"RealServer"  type:"Repeated"`
}

ModifyDomainTransmitRuleRequest is the request struct for api ModifyDomainTransmitRule

func CreateModifyDomainTransmitRuleRequest

func CreateModifyDomainTransmitRuleRequest() (request *ModifyDomainTransmitRuleRequest)

CreateModifyDomainTransmitRuleRequest creates a request to invoke ModifyDomainTransmitRule API

type ModifyDomainTransmitRuleResponse

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

ModifyDomainTransmitRuleResponse is the response struct for api ModifyDomainTransmitRule

func CreateModifyDomainTransmitRuleResponse

func CreateModifyDomainTransmitRuleResponse() (response *ModifyDomainTransmitRuleResponse)

CreateModifyDomainTransmitRuleResponse creates a response to parse from ModifyDomainTransmitRule response

type OplogList

type OplogList struct {
	Data []Data `json:"data" xml:"data"`
}

OplogList is a nested struct in ddospro response

type PageInfo

type PageInfo struct {
	Total int `json:"Total" xml:"Total"`
}

PageInfo is a nested struct in ddospro response

type PpsDrop

type PpsDrop struct {
	PpsDropItem []string `json:"PpsDropItem" xml:"PpsDropItem"`
}

PpsDrop is a nested struct in ddospro response

type PpsTotal

type PpsTotal struct {
	PpsTotalItem []string `json:"PpsTotalItem" xml:"PpsTotalItem"`
}

PpsTotal is a nested struct in ddospro response

type ProxyTypeListInDescribeDomainConfig

type ProxyTypeListInDescribeDomainConfig struct {
	ProxyType []string `json:"ProxyType" xml:"ProxyType"`
}

ProxyTypeListInDescribeDomainConfig is a nested struct in ddospro response

type ProxyTypeListInListDomainConfig

type ProxyTypeListInListDomainConfig struct {
	ProxyType []string `json:"ProxyType" xml:"ProxyType"`
}

ProxyTypeListInListDomainConfig is a nested struct in ddospro response

type RealServersInDescribeDomainConfig

type RealServersInDescribeDomainConfig struct {
	RealServer []string `json:"RealServer" xml:"RealServer"`
}

RealServersInDescribeDomainConfig is a nested struct in ddospro response

type RealServersInListDomainConfig

type RealServersInListDomainConfig struct {
	RealServer []string `json:"RealServer" xml:"RealServer"`
}

RealServersInListDomainConfig is a nested struct in ddospro response

type Rule

type Rule struct {
	Ip            string                              `json:"Ip" xml:"Ip"`
	Line          string                              `json:"Line" xml:"Line"`
	RealServers   RealServersInDescribeDomainConfig   `json:"RealServers" xml:"RealServers"`
	ProxyTypeList ProxyTypeListInDescribeDomainConfig `json:"ProxyTypeList" xml:"ProxyTypeList"`
}

Rule is a nested struct in ddospro response

type RulesInDescribeDomainConfig

type RulesInDescribeDomainConfig struct {
	Rule []Rule `json:"Rule" xml:"Rule"`
}

RulesInDescribeDomainConfig is a nested struct in ddospro response

type RulesInListDomainConfig

type RulesInListDomainConfig struct {
	Rule []Rule `json:"Rule" xml:"Rule"`
}

RulesInListDomainConfig is a nested struct in ddospro response

type TimeScope

type TimeScope struct {
	Interval int `json:"Interval" xml:"Interval"`
	Start    int `json:"Start" xml:"Start"`
}

TimeScope is a nested struct in ddospro response

type Total

type Total struct {
	Total []string `json:"Total" xml:"Total"`
}

Total is a nested struct in ddospro response

type UploadCertificateRequest

type UploadCertificateRequest struct {
	*requests.RpcRequest
	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Domain          string           `position:"Query" name:"Domain"`
	Cert            string           `position:"Query" name:"Cert"`
	Key             string           `position:"Query" name:"Key"`
}

UploadCertificateRequest is the request struct for api UploadCertificate

func CreateUploadCertificateRequest

func CreateUploadCertificateRequest() (request *UploadCertificateRequest)

CreateUploadCertificateRequest creates a request to invoke UploadCertificate API

type UploadCertificateResponse

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

UploadCertificateResponse is the response struct for api UploadCertificate

func CreateUploadCertificateResponse

func CreateUploadCertificateResponse() (response *UploadCertificateResponse)

CreateUploadCertificateResponse creates a response to parse from UploadCertificate response

type WebLog

type WebLog struct {
	Request              string `json:"Request" xml:"Request"`
	HttpXForwardedFor    string `json:"HttpXForwardedFor" xml:"HttpXForwardedFor"`
	UpstreamResponseTime string `json:"UpstreamResponseTime" xml:"UpstreamResponseTime"`
	HttpUserAgent        string `json:"HttpUserAgent" xml:"HttpUserAgent"`
	AttackRule           string `json:"AttackRule" xml:"AttackRule"`
	UpstreamStatus       string `json:"UpstreamStatus" xml:"UpstreamStatus"`
	UpstreamAddr         string `json:"UpstreamAddr" xml:"UpstreamAddr"`
	HttpCookie           string `json:"HttpCookie" xml:"HttpCookie"`
	RealClientIp         string `json:"RealClientIp" xml:"RealClientIp"`
	Host                 string `json:"Host" xml:"Host"`
	Time                 string `json:"Time" xml:"Time"`
	HttpReferer          string `json:"HttpReferer" xml:"HttpReferer"`
	Status               string `json:"Status" xml:"Status"`
	RemoteAddr           string `json:"RemoteAddr" xml:"RemoteAddr"`
}

WebLog is a nested struct in ddospro response

type WebLogList

type WebLogList struct {
	WebLog []WebLog `json:"WebLog" xml:"WebLog"`
}

WebLogList is a nested struct in ddospro response

Source Files

Jump to

Keyboard shortcuts

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