ddosbgp

package
v1.62.367 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AddIpRequest

type AddIpRequest struct {
	*requests.RpcRequest
	IpList           string `position:"Query" name:"IpList"`
	ResourceGroupId  string `position:"Query" name:"ResourceGroupId"`
	InstanceId       string `position:"Query" name:"InstanceId"`
	SourceIp         string `position:"Query" name:"SourceIp"`
	ResourceRegionId string `position:"Query" name:"ResourceRegionId"`
}

AddIpRequest is the request struct for api AddIp

func CreateAddIpRequest

func CreateAddIpRequest() (request *AddIpRequest)

CreateAddIpRequest creates a request to invoke AddIp API

type AddIpResponse

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

AddIpResponse is the response struct for api AddIp

func CreateAddIpResponse

func CreateAddIpResponse() (response *AddIpResponse)

CreateAddIpResponse creates a response to parse from AddIp response

type CheckGrantRequest

type CheckGrantRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
}

CheckGrantRequest is the request struct for api CheckGrant

func CreateCheckGrantRequest

func CreateCheckGrantRequest() (request *CheckGrantRequest)

CreateCheckGrantRequest creates a request to invoke CheckGrant API

type CheckGrantResponse

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

CheckGrantResponse is the response struct for api CheckGrant

func CreateCheckGrantResponse

func CreateCheckGrantResponse() (response *CheckGrantResponse)

CreateCheckGrantResponse creates a response to parse from CheckGrant 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

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

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) AddIp

func (client *Client) AddIp(request *AddIpRequest) (response *AddIpResponse, err error)

AddIp invokes the ddosbgp.AddIp API synchronously api document: https://help.aliyun.com/api/ddosbgp/addip.html

func (*Client) AddIpWithCallback

func (client *Client) AddIpWithCallback(request *AddIpRequest, callback func(response *AddIpResponse, err error)) <-chan int

AddIpWithCallback invokes the ddosbgp.AddIp API asynchronously api document: https://help.aliyun.com/api/ddosbgp/addip.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AddIpWithChan

func (client *Client) AddIpWithChan(request *AddIpRequest) (<-chan *AddIpResponse, <-chan error)

AddIpWithChan invokes the ddosbgp.AddIp API asynchronously api document: https://help.aliyun.com/api/ddosbgp/addip.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CheckGrant

func (client *Client) CheckGrant(request *CheckGrantRequest) (response *CheckGrantResponse, err error)

CheckGrant invokes the ddosbgp.CheckGrant API synchronously api document: https://help.aliyun.com/api/ddosbgp/checkgrant.html

func (*Client) CheckGrantWithCallback

func (client *Client) CheckGrantWithCallback(request *CheckGrantRequest, callback func(response *CheckGrantResponse, err error)) <-chan int

CheckGrantWithCallback invokes the ddosbgp.CheckGrant API asynchronously api document: https://help.aliyun.com/api/ddosbgp/checkgrant.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CheckGrantWithChan

func (client *Client) CheckGrantWithChan(request *CheckGrantRequest) (<-chan *CheckGrantResponse, <-chan error)

CheckGrantWithChan invokes the ddosbgp.CheckGrant API asynchronously api document: https://help.aliyun.com/api/ddosbgp/checkgrant.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 ddosbgp.DeleteBlackhole API synchronously api document: https://help.aliyun.com/api/ddosbgp/deleteblackhole.html

func (*Client) DeleteBlackholeWithCallback

func (client *Client) DeleteBlackholeWithCallback(request *DeleteBlackholeRequest, callback func(response *DeleteBlackholeResponse, err error)) <-chan int

DeleteBlackholeWithCallback invokes the ddosbgp.DeleteBlackhole API asynchronously api document: https://help.aliyun.com/api/ddosbgp/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 ddosbgp.DeleteBlackhole API asynchronously api document: https://help.aliyun.com/api/ddosbgp/deleteblackhole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteIp

func (client *Client) DeleteIp(request *DeleteIpRequest) (response *DeleteIpResponse, err error)

DeleteIp invokes the ddosbgp.DeleteIp API synchronously api document: https://help.aliyun.com/api/ddosbgp/deleteip.html

func (*Client) DeleteIpWithCallback

func (client *Client) DeleteIpWithCallback(request *DeleteIpRequest, callback func(response *DeleteIpResponse, err error)) <-chan int

DeleteIpWithCallback invokes the ddosbgp.DeleteIp API asynchronously api document: https://help.aliyun.com/api/ddosbgp/deleteip.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteIpWithChan

func (client *Client) DeleteIpWithChan(request *DeleteIpRequest) (<-chan *DeleteIpResponse, <-chan error)

DeleteIpWithChan invokes the ddosbgp.DeleteIp API asynchronously api document: https://help.aliyun.com/api/ddosbgp/deleteip.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDdosEvent

func (client *Client) DescribeDdosEvent(request *DescribeDdosEventRequest) (response *DescribeDdosEventResponse, err error)

DescribeDdosEvent invokes the ddosbgp.DescribeDdosEvent API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeddosevent.html

func (*Client) DescribeDdosEventWithCallback

func (client *Client) DescribeDdosEventWithCallback(request *DescribeDdosEventRequest, callback func(response *DescribeDdosEventResponse, err error)) <-chan int

DescribeDdosEventWithCallback invokes the ddosbgp.DescribeDdosEvent API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeddosevent.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDdosEventWithChan

func (client *Client) DescribeDdosEventWithChan(request *DescribeDdosEventRequest) (<-chan *DescribeDdosEventResponse, <-chan error)

DescribeDdosEventWithChan invokes the ddosbgp.DescribeDdosEvent API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeddosevent.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeExcpetionCount

func (client *Client) DescribeExcpetionCount(request *DescribeExcpetionCountRequest) (response *DescribeExcpetionCountResponse, err error)

DescribeExcpetionCount invokes the ddosbgp.DescribeExcpetionCount API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeexcpetioncount.html

func (*Client) DescribeExcpetionCountWithCallback

func (client *Client) DescribeExcpetionCountWithCallback(request *DescribeExcpetionCountRequest, callback func(response *DescribeExcpetionCountResponse, err error)) <-chan int

DescribeExcpetionCountWithCallback invokes the ddosbgp.DescribeExcpetionCount API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeexcpetioncount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeExcpetionCountWithChan

func (client *Client) DescribeExcpetionCountWithChan(request *DescribeExcpetionCountRequest) (<-chan *DescribeExcpetionCountResponse, <-chan error)

DescribeExcpetionCountWithChan invokes the ddosbgp.DescribeExcpetionCount API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeexcpetioncount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceList

func (client *Client) DescribeInstanceList(request *DescribeInstanceListRequest) (response *DescribeInstanceListResponse, err error)

DescribeInstanceList invokes the ddosbgp.DescribeInstanceList API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeinstancelist.html

func (*Client) DescribeInstanceListWithCallback

func (client *Client) DescribeInstanceListWithCallback(request *DescribeInstanceListRequest, callback func(response *DescribeInstanceListResponse, err error)) <-chan int

DescribeInstanceListWithCallback invokes the ddosbgp.DescribeInstanceList API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeinstancelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceListWithChan

func (client *Client) DescribeInstanceListWithChan(request *DescribeInstanceListRequest) (<-chan *DescribeInstanceListResponse, <-chan error)

DescribeInstanceListWithChan invokes the ddosbgp.DescribeInstanceList API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeinstancelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceSpecs

func (client *Client) DescribeInstanceSpecs(request *DescribeInstanceSpecsRequest) (response *DescribeInstanceSpecsResponse, err error)

DescribeInstanceSpecs invokes the ddosbgp.DescribeInstanceSpecs API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeinstancespecs.html

func (*Client) DescribeInstanceSpecsWithCallback

func (client *Client) DescribeInstanceSpecsWithCallback(request *DescribeInstanceSpecsRequest, callback func(response *DescribeInstanceSpecsResponse, err error)) <-chan int

DescribeInstanceSpecsWithCallback invokes the ddosbgp.DescribeInstanceSpecs API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeinstancespecs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceSpecsWithChan

func (client *Client) DescribeInstanceSpecsWithChan(request *DescribeInstanceSpecsRequest) (<-chan *DescribeInstanceSpecsResponse, <-chan error)

DescribeInstanceSpecsWithChan invokes the ddosbgp.DescribeInstanceSpecs API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeinstancespecs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeOpEntities

func (client *Client) DescribeOpEntities(request *DescribeOpEntitiesRequest) (response *DescribeOpEntitiesResponse, err error)

DescribeOpEntities invokes the ddosbgp.DescribeOpEntities API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeopentities.html

func (*Client) DescribeOpEntitiesWithCallback

func (client *Client) DescribeOpEntitiesWithCallback(request *DescribeOpEntitiesRequest, callback func(response *DescribeOpEntitiesResponse, err error)) <-chan int

DescribeOpEntitiesWithCallback invokes the ddosbgp.DescribeOpEntities API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeopentities.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeOpEntitiesWithChan

func (client *Client) DescribeOpEntitiesWithChan(request *DescribeOpEntitiesRequest) (<-chan *DescribeOpEntitiesResponse, <-chan error)

DescribeOpEntitiesWithChan invokes the ddosbgp.DescribeOpEntities API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeopentities.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribePackIpList

func (client *Client) DescribePackIpList(request *DescribePackIpListRequest) (response *DescribePackIpListResponse, err error)

DescribePackIpList invokes the ddosbgp.DescribePackIpList API synchronously api document: https://help.aliyun.com/api/ddosbgp/describepackiplist.html

func (*Client) DescribePackIpListWithCallback

func (client *Client) DescribePackIpListWithCallback(request *DescribePackIpListRequest, callback func(response *DescribePackIpListResponse, err error)) <-chan int

DescribePackIpListWithCallback invokes the ddosbgp.DescribePackIpList API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describepackiplist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribePackIpListWithChan

func (client *Client) DescribePackIpListWithChan(request *DescribePackIpListRequest) (<-chan *DescribePackIpListResponse, <-chan error)

DescribePackIpListWithChan invokes the ddosbgp.DescribePackIpList API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describepackiplist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribePackPaidTraffic

func (client *Client) DescribePackPaidTraffic(request *DescribePackPaidTrafficRequest) (response *DescribePackPaidTrafficResponse, err error)

DescribePackPaidTraffic invokes the ddosbgp.DescribePackPaidTraffic API synchronously api document: https://help.aliyun.com/api/ddosbgp/describepackpaidtraffic.html

func (*Client) DescribePackPaidTrafficWithCallback

func (client *Client) DescribePackPaidTrafficWithCallback(request *DescribePackPaidTrafficRequest, callback func(response *DescribePackPaidTrafficResponse, err error)) <-chan int

DescribePackPaidTrafficWithCallback invokes the ddosbgp.DescribePackPaidTraffic API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describepackpaidtraffic.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribePackPaidTrafficWithChan

func (client *Client) DescribePackPaidTrafficWithChan(request *DescribePackPaidTrafficRequest) (<-chan *DescribePackPaidTrafficResponse, <-chan error)

DescribePackPaidTrafficWithChan invokes the ddosbgp.DescribePackPaidTraffic API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describepackpaidtraffic.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the ddosbgp.DescribeRegions API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeregions.html

func (*Client) DescribeRegionsWithCallback

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the ddosbgp.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegionsWithChan

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the ddosbgp.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeResourcePackInstances

func (client *Client) DescribeResourcePackInstances(request *DescribeResourcePackInstancesRequest) (response *DescribeResourcePackInstancesResponse, err error)

DescribeResourcePackInstances invokes the ddosbgp.DescribeResourcePackInstances API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackinstances.html

func (*Client) DescribeResourcePackInstancesWithCallback

func (client *Client) DescribeResourcePackInstancesWithCallback(request *DescribeResourcePackInstancesRequest, callback func(response *DescribeResourcePackInstancesResponse, err error)) <-chan int

DescribeResourcePackInstancesWithCallback invokes the ddosbgp.DescribeResourcePackInstances API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeResourcePackInstancesWithChan

func (client *Client) DescribeResourcePackInstancesWithChan(request *DescribeResourcePackInstancesRequest) (<-chan *DescribeResourcePackInstancesResponse, <-chan error)

DescribeResourcePackInstancesWithChan invokes the ddosbgp.DescribeResourcePackInstances API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeResourcePackStatistics

func (client *Client) DescribeResourcePackStatistics(request *DescribeResourcePackStatisticsRequest) (response *DescribeResourcePackStatisticsResponse, err error)

DescribeResourcePackStatistics invokes the ddosbgp.DescribeResourcePackStatistics API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackstatistics.html

func (*Client) DescribeResourcePackStatisticsWithCallback

func (client *Client) DescribeResourcePackStatisticsWithCallback(request *DescribeResourcePackStatisticsRequest, callback func(response *DescribeResourcePackStatisticsResponse, err error)) <-chan int

DescribeResourcePackStatisticsWithCallback invokes the ddosbgp.DescribeResourcePackStatistics API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackstatistics.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeResourcePackStatisticsWithChan

func (client *Client) DescribeResourcePackStatisticsWithChan(request *DescribeResourcePackStatisticsRequest) (<-chan *DescribeResourcePackStatisticsResponse, <-chan error)

DescribeResourcePackStatisticsWithChan invokes the ddosbgp.DescribeResourcePackStatistics API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackstatistics.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeResourcePackUsage

func (client *Client) DescribeResourcePackUsage(request *DescribeResourcePackUsageRequest) (response *DescribeResourcePackUsageResponse, err error)

DescribeResourcePackUsage invokes the ddosbgp.DescribeResourcePackUsage API synchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackusage.html

func (*Client) DescribeResourcePackUsageWithCallback

func (client *Client) DescribeResourcePackUsageWithCallback(request *DescribeResourcePackUsageRequest, callback func(response *DescribeResourcePackUsageResponse, err error)) <-chan int

DescribeResourcePackUsageWithCallback invokes the ddosbgp.DescribeResourcePackUsage API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackusage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeResourcePackUsageWithChan

func (client *Client) DescribeResourcePackUsageWithChan(request *DescribeResourcePackUsageRequest) (<-chan *DescribeResourcePackUsageResponse, <-chan error)

DescribeResourcePackUsageWithChan invokes the ddosbgp.DescribeResourcePackUsage API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describeresourcepackusage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeTraffic

func (client *Client) DescribeTraffic(request *DescribeTrafficRequest) (response *DescribeTrafficResponse, err error)

DescribeTraffic invokes the ddosbgp.DescribeTraffic API synchronously api document: https://help.aliyun.com/api/ddosbgp/describetraffic.html

func (*Client) DescribeTrafficWithCallback

func (client *Client) DescribeTrafficWithCallback(request *DescribeTrafficRequest, callback func(response *DescribeTrafficResponse, err error)) <-chan int

DescribeTrafficWithCallback invokes the ddosbgp.DescribeTraffic API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describetraffic.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeTrafficWithChan

func (client *Client) DescribeTrafficWithChan(request *DescribeTrafficRequest) (<-chan *DescribeTrafficResponse, <-chan error)

DescribeTrafficWithChan invokes the ddosbgp.DescribeTraffic API asynchronously api document: https://help.aliyun.com/api/ddosbgp/describetraffic.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyRemark

func (client *Client) ModifyRemark(request *ModifyRemarkRequest) (response *ModifyRemarkResponse, err error)

ModifyRemark invokes the ddosbgp.ModifyRemark API synchronously api document: https://help.aliyun.com/api/ddosbgp/modifyremark.html

func (*Client) ModifyRemarkWithCallback

func (client *Client) ModifyRemarkWithCallback(request *ModifyRemarkRequest, callback func(response *ModifyRemarkResponse, err error)) <-chan int

ModifyRemarkWithCallback invokes the ddosbgp.ModifyRemark API asynchronously api document: https://help.aliyun.com/api/ddosbgp/modifyremark.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyRemarkWithChan

func (client *Client) ModifyRemarkWithChan(request *ModifyRemarkRequest) (<-chan *ModifyRemarkResponse, <-chan error)

ModifyRemarkWithChan invokes the ddosbgp.ModifyRemark API asynchronously api document: https://help.aliyun.com/api/ddosbgp/modifyremark.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ReleaseInstance

func (client *Client) ReleaseInstance(request *ReleaseInstanceRequest) (response *ReleaseInstanceResponse, err error)

ReleaseInstance invokes the ddosbgp.ReleaseInstance API synchronously api document: https://help.aliyun.com/api/ddosbgp/releaseinstance.html

func (*Client) ReleaseInstanceWithCallback

func (client *Client) ReleaseInstanceWithCallback(request *ReleaseInstanceRequest, callback func(response *ReleaseInstanceResponse, err error)) <-chan int

ReleaseInstanceWithCallback invokes the ddosbgp.ReleaseInstance API asynchronously api document: https://help.aliyun.com/api/ddosbgp/releaseinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ReleaseInstanceWithChan

func (client *Client) ReleaseInstanceWithChan(request *ReleaseInstanceRequest) (<-chan *ReleaseInstanceResponse, <-chan error)

ReleaseInstanceWithChan invokes the ddosbgp.ReleaseInstance API asynchronously api document: https://help.aliyun.com/api/ddosbgp/releaseinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type DeleteBlackholeRequest

type DeleteBlackholeRequest struct {
	*requests.RpcRequest
	Ip               string `position:"Query" name:"Ip"`
	ResourceGroupId  string `position:"Query" name:"ResourceGroupId"`
	InstanceId       string `position:"Query" name:"InstanceId"`
	SourceIp         string `position:"Query" name:"SourceIp"`
	ResourceRegionId string `position:"Query" name:"ResourceRegionId"`
}

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

DeleteBlackholeResponse is the response struct for api DeleteBlackhole

func CreateDeleteBlackholeResponse

func CreateDeleteBlackholeResponse() (response *DeleteBlackholeResponse)

CreateDeleteBlackholeResponse creates a response to parse from DeleteBlackhole response

type DeleteIpRequest

type DeleteIpRequest struct {
	*requests.RpcRequest
	IpList           string `position:"Query" name:"IpList"`
	ResourceGroupId  string `position:"Query" name:"ResourceGroupId"`
	InstanceId       string `position:"Query" name:"InstanceId"`
	SourceIp         string `position:"Query" name:"SourceIp"`
	ResourceRegionId string `position:"Query" name:"ResourceRegionId"`
}

DeleteIpRequest is the request struct for api DeleteIp

func CreateDeleteIpRequest

func CreateDeleteIpRequest() (request *DeleteIpRequest)

CreateDeleteIpRequest creates a request to invoke DeleteIp API

type DeleteIpResponse

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

DeleteIpResponse is the response struct for api DeleteIp

func CreateDeleteIpResponse

func CreateDeleteIpResponse() (response *DeleteIpResponse)

CreateDeleteIpResponse creates a response to parse from DeleteIp response

type DescribeDdosEventRequest

type DescribeDdosEventRequest struct {
	*requests.RpcRequest
	StartTime        requests.Integer `position:"Query" name:"StartTime"`
	ResourceGroupId  string           `position:"Query" name:"ResourceGroupId"`
	SourceIp         string           `position:"Query" name:"SourceIp"`
	PageSize         requests.Integer `position:"Query" name:"PageSize"`
	ResourceRegionId string           `position:"Query" name:"ResourceRegionId"`
	Ip               string           `position:"Query" name:"Ip"`
	EndTime          requests.Integer `position:"Query" name:"EndTime"`
	InstanceId       string           `position:"Query" name:"InstanceId"`
	PageNo           requests.Integer `position:"Query" name:"PageNo"`
}

DescribeDdosEventRequest is the request struct for api DescribeDdosEvent

func CreateDescribeDdosEventRequest

func CreateDescribeDdosEventRequest() (request *DescribeDdosEventRequest)

CreateDescribeDdosEventRequest creates a request to invoke DescribeDdosEvent API

type DescribeDdosEventResponse

type DescribeDdosEventResponse struct {
	*responses.BaseResponse
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Total     int64   `json:"Total" xml:"Total"`
	Events    []Event `json:"Events" xml:"Events"`
}

DescribeDdosEventResponse is the response struct for api DescribeDdosEvent

func CreateDescribeDdosEventResponse

func CreateDescribeDdosEventResponse() (response *DescribeDdosEventResponse)

CreateDescribeDdosEventResponse creates a response to parse from DescribeDdosEvent response

type DescribeExcpetionCountRequest

type DescribeExcpetionCountRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	DdosRegionId    string `position:"Query" name:"DdosRegionId"`
}

DescribeExcpetionCountRequest is the request struct for api DescribeExcpetionCount

func CreateDescribeExcpetionCountRequest

func CreateDescribeExcpetionCountRequest() (request *DescribeExcpetionCountRequest)

CreateDescribeExcpetionCountRequest creates a request to invoke DescribeExcpetionCount API

type DescribeExcpetionCountResponse

type DescribeExcpetionCountResponse struct {
	*responses.BaseResponse
	RequestId        string `json:"RequestId" xml:"RequestId"`
	ExceptionIpCount int    `json:"ExceptionIpCount" xml:"ExceptionIpCount"`
	ExpireTimeCount  int    `json:"ExpireTimeCount" xml:"ExpireTimeCount"`
}

DescribeExcpetionCountResponse is the response struct for api DescribeExcpetionCount

func CreateDescribeExcpetionCountResponse

func CreateDescribeExcpetionCountResponse() (response *DescribeExcpetionCountResponse)

CreateDescribeExcpetionCountResponse creates a response to parse from DescribeExcpetionCount response

type DescribeInstanceListRequest

type DescribeInstanceListRequest struct {
	*requests.RpcRequest
	Remark          string                     `position:"Query" name:"Remark"`
	ResourceGroupId string                     `position:"Query" name:"ResourceGroupId"`
	SourceIp        string                     `position:"Query" name:"SourceIp"`
	PageSize        requests.Integer           `position:"Query" name:"PageSize"`
	DdosRegionId    string                     `position:"Query" name:"DdosRegionId"`
	InstanceType    string                     `position:"Query" name:"InstanceType"`
	IpVersion       string                     `position:"Query" name:"IpVersion"`
	Tag             *[]DescribeInstanceListTag `position:"Query" name:"Tag"  type:"Repeated"`
	Ip              string                     `position:"Query" name:"Ip"`
	Orderby         string                     `position:"Query" name:"Orderby"`
	InstanceIdList  string                     `position:"Query" name:"InstanceIdList"`
	PageNo          requests.Integer           `position:"Query" name:"PageNo"`
	Orderdire       string                     `position:"Query" name:"Orderdire"`
}

DescribeInstanceListRequest is the request struct for api DescribeInstanceList

func CreateDescribeInstanceListRequest

func CreateDescribeInstanceListRequest() (request *DescribeInstanceListRequest)

CreateDescribeInstanceListRequest creates a request to invoke DescribeInstanceList API

type DescribeInstanceListResponse

type DescribeInstanceListResponse struct {
	*responses.BaseResponse
	RequestId    string     `json:"RequestId" xml:"RequestId"`
	Total        int64      `json:"Total" xml:"Total"`
	InstanceList []Instance `json:"InstanceList" xml:"InstanceList"`
}

DescribeInstanceListResponse is the response struct for api DescribeInstanceList

func CreateDescribeInstanceListResponse

func CreateDescribeInstanceListResponse() (response *DescribeInstanceListResponse)

CreateDescribeInstanceListResponse creates a response to parse from DescribeInstanceList response

type DescribeInstanceListTag

type DescribeInstanceListTag struct {
	Value string `name:"Value"`
	Key   string `name:"Key"`
}

DescribeInstanceListTag is a repeated param struct in DescribeInstanceListRequest

type DescribeInstanceSpecsRequest

type DescribeInstanceSpecsRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	InstanceIdList  string `position:"Query" name:"InstanceIdList"`
	DdosRegionId    string `position:"Query" name:"DdosRegionId"`
	Lang            string `position:"Query" name:"Lang"`
}

DescribeInstanceSpecsRequest is the request struct for api DescribeInstanceSpecs

func CreateDescribeInstanceSpecsRequest

func CreateDescribeInstanceSpecsRequest() (request *DescribeInstanceSpecsRequest)

CreateDescribeInstanceSpecsRequest creates a request to invoke DescribeInstanceSpecs API

type DescribeInstanceSpecsResponse

type DescribeInstanceSpecsResponse struct {
	*responses.BaseResponse
	RequestId     string         `json:"RequestId" xml:"RequestId"`
	InstanceSpecs []InstanceSpec `json:"InstanceSpecs" xml:"InstanceSpecs"`
}

DescribeInstanceSpecsResponse is the response struct for api DescribeInstanceSpecs

func CreateDescribeInstanceSpecsResponse

func CreateDescribeInstanceSpecsResponse() (response *DescribeInstanceSpecsResponse)

CreateDescribeInstanceSpecsResponse creates a response to parse from DescribeInstanceSpecs response

type DescribeOpEntitiesRequest

type DescribeOpEntitiesRequest struct {
	*requests.RpcRequest
	StartTime        requests.Integer `position:"Query" name:"StartTime"`
	ResourceGroupId  string           `position:"Query" name:"ResourceGroupId"`
	SourceIp         string           `position:"Query" name:"SourceIp"`
	PageSize         requests.Integer `position:"Query" name:"PageSize"`
	Lang             string           `position:"Query" name:"Lang"`
	ResourceRegionId string           `position:"Query" name:"ResourceRegionId"`
	EndTime          requests.Integer `position:"Query" name:"EndTime"`
	OrderBy          string           `position:"Query" name:"OrderBy"`
	CurrentPage      requests.Integer `position:"Query" name:"CurrentPage"`
	OrderDir         string           `position:"Query" name:"OrderDir"`
	InstanceId       string           `position:"Query" name:"InstanceId"`
}

DescribeOpEntitiesRequest is the request struct for api DescribeOpEntities

func CreateDescribeOpEntitiesRequest

func CreateDescribeOpEntitiesRequest() (request *DescribeOpEntitiesRequest)

CreateDescribeOpEntitiesRequest creates a request to invoke DescribeOpEntities API

type DescribeOpEntitiesResponse

type DescribeOpEntitiesResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	TotalCount int        `json:"TotalCount" xml:"TotalCount"`
	OpEntities []OpEntity `json:"OpEntities" xml:"OpEntities"`
}

DescribeOpEntitiesResponse is the response struct for api DescribeOpEntities

func CreateDescribeOpEntitiesResponse

func CreateDescribeOpEntitiesResponse() (response *DescribeOpEntitiesResponse)

CreateDescribeOpEntitiesResponse creates a response to parse from DescribeOpEntities response

type DescribePackIpListRequest

type DescribePackIpListRequest struct {
	*requests.RpcRequest
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	DdosRegionId    string           `position:"Query" name:"DdosRegionId"`
	ProductName     string           `position:"Query" name:"ProductName"`
	Ip              string           `position:"Query" name:"Ip"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	PageNo          requests.Integer `position:"Query" name:"PageNo"`
}

DescribePackIpListRequest is the request struct for api DescribePackIpList

func CreateDescribePackIpListRequest

func CreateDescribePackIpListRequest() (request *DescribePackIpListRequest)

CreateDescribePackIpListRequest creates a request to invoke DescribePackIpList API

type DescribePackIpListResponse

type DescribePackIpListResponse struct {
	*responses.BaseResponse
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Success   bool     `json:"Success" xml:"Success"`
	Code      string   `json:"Code" xml:"Code"`
	Total     int      `json:"Total" xml:"Total"`
	IpList    []Ipitem `json:"IpList" xml:"IpList"`
}

DescribePackIpListResponse is the response struct for api DescribePackIpList

func CreateDescribePackIpListResponse

func CreateDescribePackIpListResponse() (response *DescribePackIpListResponse)

CreateDescribePackIpListResponse creates a response to parse from DescribePackIpList response

type DescribePackPaidTrafficRequest

type DescribePackPaidTrafficRequest struct {
	*requests.RpcRequest
	StartTime       requests.Integer `position:"Query" name:"StartTime"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	EndTime         requests.Integer `position:"Query" name:"EndTime"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
}

DescribePackPaidTrafficRequest is the request struct for api DescribePackPaidTraffic

func CreateDescribePackPaidTrafficRequest

func CreateDescribePackPaidTrafficRequest() (request *DescribePackPaidTrafficRequest)

CreateDescribePackPaidTrafficRequest creates a request to invoke DescribePackPaidTraffic API

type DescribePackPaidTrafficResponse

type DescribePackPaidTrafficResponse struct {
	*responses.BaseResponse
	RequestId        string            `json:"RequestId" xml:"RequestId"`
	TotalCount       int               `json:"TotalCount" xml:"TotalCount"`
	PackPaidTraffics []PackPaidTraffic `json:"PackPaidTraffics" xml:"PackPaidTraffics"`
}

DescribePackPaidTrafficResponse is the response struct for api DescribePackPaidTraffic

func CreateDescribePackPaidTrafficResponse

func CreateDescribePackPaidTrafficResponse() (response *DescribePackPaidTrafficResponse)

CreateDescribePackPaidTrafficResponse creates a response to parse from DescribePackPaidTraffic response

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Success   bool     `json:"Success" xml:"Success"`
	Code      string   `json:"Code" xml:"Code"`
	Regions   []Region `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DescribeResourcePackInstancesRequest

type DescribeResourcePackInstancesRequest struct {
	*requests.RpcRequest
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
}

DescribeResourcePackInstancesRequest is the request struct for api DescribeResourcePackInstances

func CreateDescribeResourcePackInstancesRequest

func CreateDescribeResourcePackInstancesRequest() (request *DescribeResourcePackInstancesRequest)

CreateDescribeResourcePackInstancesRequest creates a request to invoke DescribeResourcePackInstances API

type DescribeResourcePackInstancesResponse

type DescribeResourcePackInstancesResponse struct {
	*responses.BaseResponse
	RequestId     string         `json:"RequestId" xml:"RequestId"`
	TotalCount    int            `json:"TotalCount" xml:"TotalCount"`
	ResourcePacks []ResourcePack `json:"ResourcePacks" xml:"ResourcePacks"`
}

DescribeResourcePackInstancesResponse is the response struct for api DescribeResourcePackInstances

func CreateDescribeResourcePackInstancesResponse

func CreateDescribeResourcePackInstancesResponse() (response *DescribeResourcePackInstancesResponse)

CreateDescribeResourcePackInstancesResponse creates a response to parse from DescribeResourcePackInstances response

type DescribeResourcePackStatisticsRequest

type DescribeResourcePackStatisticsRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	DdosRegionId    string `position:"Query" name:"DdosRegionId"`
}

DescribeResourcePackStatisticsRequest is the request struct for api DescribeResourcePackStatistics

func CreateDescribeResourcePackStatisticsRequest

func CreateDescribeResourcePackStatisticsRequest() (request *DescribeResourcePackStatisticsRequest)

CreateDescribeResourcePackStatisticsRequest creates a request to invoke DescribeResourcePackStatistics API

type DescribeResourcePackStatisticsResponse

type DescribeResourcePackStatisticsResponse struct {
	*responses.BaseResponse
	RequestId         string `json:"RequestId" xml:"RequestId"`
	AvailablePackNum  int    `json:"AvailablePackNum" xml:"AvailablePackNum"`
	TotalCurrCapacity int64  `json:"TotalCurrCapacity" xml:"TotalCurrCapacity"`
	TotalUsedCapacity int64  `json:"TotalUsedCapacity" xml:"TotalUsedCapacity"`
	TotalInitCapacity int64  `json:"TotalInitCapacity" xml:"TotalInitCapacity"`
}

DescribeResourcePackStatisticsResponse is the response struct for api DescribeResourcePackStatistics

func CreateDescribeResourcePackStatisticsResponse

func CreateDescribeResourcePackStatisticsResponse() (response *DescribeResourcePackStatisticsResponse)

CreateDescribeResourcePackStatisticsResponse creates a response to parse from DescribeResourcePackStatistics response

type DescribeResourcePackUsageRequest

type DescribeResourcePackUsageRequest struct {
	*requests.RpcRequest
	EndTime         requests.Integer `position:"Query" name:"EndTime"`
	StartTime       requests.Integer `position:"Query" name:"StartTime"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
}

DescribeResourcePackUsageRequest is the request struct for api DescribeResourcePackUsage

func CreateDescribeResourcePackUsageRequest

func CreateDescribeResourcePackUsageRequest() (request *DescribeResourcePackUsageRequest)

CreateDescribeResourcePackUsageRequest creates a request to invoke DescribeResourcePackUsage API

type DescribeResourcePackUsageResponse

type DescribeResourcePackUsageResponse struct {
	*responses.BaseResponse
	RequestId  string      `json:"RequestId" xml:"RequestId"`
	Interval   int64       `json:"Interval" xml:"Interval"`
	StartTime  int64       `json:"StartTime" xml:"StartTime"`
	EndTime    int64       `json:"EndTime" xml:"EndTime"`
	PackUsages []PackUsage `json:"PackUsages" xml:"PackUsages"`
}

DescribeResourcePackUsageResponse is the response struct for api DescribeResourcePackUsage

func CreateDescribeResourcePackUsageResponse

func CreateDescribeResourcePackUsageResponse() (response *DescribeResourcePackUsageResponse)

CreateDescribeResourcePackUsageResponse creates a response to parse from DescribeResourcePackUsage response

type DescribeTrafficRequest

type DescribeTrafficRequest struct {
	*requests.RpcRequest
	StartTime       requests.Integer `position:"Query" name:"StartTime"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Ip              string           `position:"Query" name:"Ip"`
	EndTime         requests.Integer `position:"Query" name:"EndTime"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Interval        requests.Integer `position:"Query" name:"Interval"`
}

DescribeTrafficRequest is the request struct for api DescribeTraffic

func CreateDescribeTrafficRequest

func CreateDescribeTrafficRequest() (request *DescribeTrafficRequest)

CreateDescribeTrafficRequest creates a request to invoke DescribeTraffic API

type DescribeTrafficResponse

type DescribeTrafficResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	FlowList  []Flow `json:"FlowList" xml:"FlowList"`
}

DescribeTrafficResponse is the response struct for api DescribeTraffic

func CreateDescribeTrafficResponse

func CreateDescribeTrafficResponse() (response *DescribeTrafficResponse)

CreateDescribeTrafficResponse creates a response to parse from DescribeTraffic response

type Event

type Event struct {
	StartTime int    `json:"StartTime" xml:"StartTime"`
	EndTime   int    `json:"EndTime" xml:"EndTime"`
	Pps       int    `json:"Pps" xml:"Pps"`
	Ip        string `json:"Ip" xml:"Ip"`
	Mbps      int    `json:"Mbps" xml:"Mbps"`
	Status    string `json:"Status" xml:"Status"`
}

Event is a nested struct in ddosbgp response

type Events

type Events struct {
	Event []Event `json:"Event" xml:"Event"`
}

Events is a nested struct in ddosbgp response

type Flow

type Flow struct {
	Pps      int    `json:"Pps" xml:"Pps"`
	FlowType string `json:"FlowType" xml:"FlowType"`
	Kbps     int    `json:"Kbps" xml:"Kbps"`
	Name     string `json:"Name" xml:"Name"`
	Time     int    `json:"Time" xml:"Time"`
}

Flow is a nested struct in ddosbgp response

type FlowList

type FlowList struct {
	Flow []Flow `json:"Flow" xml:"Flow"`
}

FlowList is a nested struct in ddosbgp response

type Instance

type Instance struct {
	ExpireTime        int64  `json:"ExpireTime" xml:"ExpireTime"`
	InstanceId        string `json:"InstanceId" xml:"InstanceId"`
	Product           string `json:"Product" xml:"Product"`
	Remark            string `json:"Remark" xml:"Remark"`
	Status            string `json:"Status" xml:"Status"`
	IpType            string `json:"IpType" xml:"IpType"`
	AutoRenewal       bool   `json:"AutoRenewal" xml:"AutoRenewal"`
	BlackholdingCount string `json:"BlackholdingCount" xml:"BlackholdingCount"`
	GmtCreate         int64  `json:"GmtCreate" xml:"GmtCreate"`
	InstanceType      string `json:"InstanceType" xml:"InstanceType"`
}

Instance is a nested struct in ddosbgp response

type InstanceList

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

InstanceList is a nested struct in ddosbgp response

type InstanceSpec

type InstanceSpec struct {
	Region                        string     `json:"Region" xml:"Region"`
	AvailableDeleteBlackholeCount string     `json:"AvailableDeleteBlackholeCount" xml:"AvailableDeleteBlackholeCount"`
	InstanceId                    string     `json:"InstanceId" xml:"InstanceId"`
	PackConfig                    PackConfig `json:"PackConfig" xml:"PackConfig"`
}

InstanceSpec is a nested struct in ddosbgp response

type InstanceSpecs

type InstanceSpecs struct {
	InstanceSpec []InstanceSpec `json:"InstanceSpec" xml:"InstanceSpec"`
}

InstanceSpecs is a nested struct in ddosbgp response

type IpList

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

IpList is a nested struct in ddosbgp response

type Ipitem

type Ipitem struct {
	Ip      string `json:"Ip" xml:"Ip"`
	Product string `json:"Product" xml:"Product"`
	Status  string `json:"Status" xml:"Status"`
	Remark  string `json:"Remark" xml:"Remark"`
}

Ipitem is a nested struct in ddosbgp response

type ModifyRemarkRequest

type ModifyRemarkRequest struct {
	*requests.RpcRequest
	Remark           string `position:"Query" name:"Remark"`
	ResourceGroupId  string `position:"Query" name:"ResourceGroupId"`
	InstanceId       string `position:"Query" name:"InstanceId"`
	SourceIp         string `position:"Query" name:"SourceIp"`
	Lang             string `position:"Query" name:"Lang"`
	ResourceRegionId string `position:"Query" name:"ResourceRegionId"`
}

ModifyRemarkRequest is the request struct for api ModifyRemark

func CreateModifyRemarkRequest

func CreateModifyRemarkRequest() (request *ModifyRemarkRequest)

CreateModifyRemarkRequest creates a request to invoke ModifyRemark API

type ModifyRemarkResponse

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

ModifyRemarkResponse is the response struct for api ModifyRemark

func CreateModifyRemarkResponse

func CreateModifyRemarkResponse() (response *ModifyRemarkResponse)

CreateModifyRemarkResponse creates a response to parse from ModifyRemark response

type OpEntities

type OpEntities struct {
	OpEntity []OpEntity `json:"OpEntity" xml:"OpEntity"`
}

OpEntities is a nested struct in ddosbgp response

type OpEntity

type OpEntity struct {
	EntityObject string `json:"EntityObject" xml:"EntityObject"`
	EntityType   int    `json:"EntityType" xml:"EntityType"`
	OpDesc       string `json:"OpDesc" xml:"OpDesc"`
	OpAccount    string `json:"OpAccount" xml:"OpAccount"`
	OpAction     int    `json:"OpAction" xml:"OpAction"`
	GmtCreate    int64  `json:"GmtCreate" xml:"GmtCreate"`
}

OpEntity is a nested struct in ddosbgp response

type PackConfig

type PackConfig struct {
	PackAdvThre   int `json:"PackAdvThre" xml:"PackAdvThre"`
	IpAdvanceThre int `json:"IpAdvanceThre" xml:"IpAdvanceThre"`
	IpBasicThre   int `json:"IpBasicThre" xml:"IpBasicThre"`
	PackBasicThre int `json:"PackBasicThre" xml:"PackBasicThre"`
	IpSpec        int `json:"IpSpec" xml:"IpSpec"`
	BindIpCount   int `json:"BindIpCount" xml:"BindIpCount"`
}

PackConfig is a nested struct in ddosbgp response

type PackPaidTraffic

type PackPaidTraffic struct {
	InstanceId       string  `json:"InstanceId" xml:"InstanceId"`
	StartTime        int64   `json:"StartTime" xml:"StartTime"`
	BaseBandwidth    int     `json:"BaseBandwidth" xml:"BaseBandwidth"`
	ElasticBandwidth int     `json:"ElasticBandwidth" xml:"ElasticBandwidth"`
	PaidCapacity     float64 `json:"PaidCapacity" xml:"PaidCapacity"`
	TotalCapacity    float64 `json:"TotalCapacity" xml:"TotalCapacity"`
	MaxAttack        float64 `json:"MaxAttack" xml:"MaxAttack"`
}

PackPaidTraffic is a nested struct in ddosbgp response

type PackPaidTraffics

type PackPaidTraffics struct {
	PackPaidTraffic []PackPaidTraffic `json:"PackPaidTraffic" xml:"PackPaidTraffic"`
}

PackPaidTraffics is a nested struct in ddosbgp response

type PackUsage

type PackUsage struct {
	Traffic float64 `json:"Traffic" xml:"Traffic"`
	Time    int64   `json:"Time" xml:"Time"`
}

PackUsage is a nested struct in ddosbgp response

type PackUsages

type PackUsages struct {
	PackUsage []PackUsage `json:"PackUsage" xml:"PackUsage"`
}

PackUsages is a nested struct in ddosbgp response

type Region

type Region struct {
	RegionEnName string `json:"RegionEnName" xml:"RegionEnName"`
	RegionName   string `json:"RegionName" xml:"RegionName"`
	RegionId     string `json:"RegionId" xml:"RegionId"`
}

Region is a nested struct in ddosbgp response

type Regions

type Regions struct {
	Region []Region `json:"Region" xml:"Region"`
}

Regions is a nested struct in ddosbgp response

type ReleaseInstanceRequest

type ReleaseInstanceRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
}

ReleaseInstanceRequest is the request struct for api ReleaseInstance

func CreateReleaseInstanceRequest

func CreateReleaseInstanceRequest() (request *ReleaseInstanceRequest)

CreateReleaseInstanceRequest creates a request to invoke ReleaseInstance API

type ReleaseInstanceResponse

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

ReleaseInstanceResponse is the response struct for api ReleaseInstance

func CreateReleaseInstanceResponse

func CreateReleaseInstanceResponse() (response *ReleaseInstanceResponse)

CreateReleaseInstanceResponse creates a response to parse from ReleaseInstance response

type ResourcePack

type ResourcePack struct {
	ResourcePackId string `json:"ResourcePackId" xml:"ResourcePackId"`
	InitCapacity   int64  `json:"InitCapacity" xml:"InitCapacity"`
	CurrCapacity   int64  `json:"CurrCapacity" xml:"CurrCapacity"`
	StartTime      int64  `json:"StartTime" xml:"StartTime"`
	EndTime        int64  `json:"EndTime" xml:"EndTime"`
	Status         string `json:"Status" xml:"Status"`
}

ResourcePack is a nested struct in ddosbgp response

type ResourcePacks

type ResourcePacks struct {
	ResourcePack []ResourcePack `json:"ResourcePack" xml:"ResourcePack"`
}

ResourcePacks is a nested struct in ddosbgp response

Jump to

Keyboard shortcuts

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