ddosbgp

package
v1.62.733 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 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"`
}

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 CheckAccessLogAuthRequest added in v1.62.385

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

CheckAccessLogAuthRequest is the request struct for api CheckAccessLogAuth

func CreateCheckAccessLogAuthRequest added in v1.62.385

func CreateCheckAccessLogAuthRequest() (request *CheckAccessLogAuthRequest)

CreateCheckAccessLogAuthRequest creates a request to invoke CheckAccessLogAuth API

type CheckAccessLogAuthResponse added in v1.62.385

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

CheckAccessLogAuthResponse is the response struct for api CheckAccessLogAuth

func CreateCheckAccessLogAuthResponse added in v1.62.385

func CreateCheckAccessLogAuthResponse() (response *CheckAccessLogAuthResponse)

CreateCheckAccessLogAuthResponse creates a response to parse from CheckAccessLogAuth 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
	Status    int    `json:"Status" xml:"Status"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

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

func (*Client) AddIpWithCallback

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

AddIpWithCallback invokes the ddosbgp.AddIp API asynchronously

func (*Client) AddIpWithChan

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

AddIpWithChan invokes the ddosbgp.AddIp API asynchronously

func (*Client) CheckAccessLogAuth added in v1.62.385

func (client *Client) CheckAccessLogAuth(request *CheckAccessLogAuthRequest) (response *CheckAccessLogAuthResponse, err error)

CheckAccessLogAuth invokes the ddosbgp.CheckAccessLogAuth API synchronously

func (*Client) CheckAccessLogAuthWithCallback added in v1.62.385

func (client *Client) CheckAccessLogAuthWithCallback(request *CheckAccessLogAuthRequest, callback func(response *CheckAccessLogAuthResponse, err error)) <-chan int

CheckAccessLogAuthWithCallback invokes the ddosbgp.CheckAccessLogAuth API asynchronously

func (*Client) CheckAccessLogAuthWithChan added in v1.62.385

func (client *Client) CheckAccessLogAuthWithChan(request *CheckAccessLogAuthRequest) (<-chan *CheckAccessLogAuthResponse, <-chan error)

CheckAccessLogAuthWithChan invokes the ddosbgp.CheckAccessLogAuth API asynchronously

func (*Client) CheckGrant

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

CheckGrant invokes the ddosbgp.CheckGrant API synchronously

func (*Client) CheckGrantWithCallback

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

CheckGrantWithCallback invokes the ddosbgp.CheckGrant API asynchronously

func (*Client) CheckGrantWithChan

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

CheckGrantWithChan invokes the ddosbgp.CheckGrant API asynchronously

func (*Client) ConfigSchedruleOnDemand added in v1.62.385

func (client *Client) ConfigSchedruleOnDemand(request *ConfigSchedruleOnDemandRequest) (response *ConfigSchedruleOnDemandResponse, err error)

ConfigSchedruleOnDemand invokes the ddosbgp.ConfigSchedruleOnDemand API synchronously

func (*Client) ConfigSchedruleOnDemandWithCallback added in v1.62.385

func (client *Client) ConfigSchedruleOnDemandWithCallback(request *ConfigSchedruleOnDemandRequest, callback func(response *ConfigSchedruleOnDemandResponse, err error)) <-chan int

ConfigSchedruleOnDemandWithCallback invokes the ddosbgp.ConfigSchedruleOnDemand API asynchronously

func (*Client) ConfigSchedruleOnDemandWithChan added in v1.62.385

func (client *Client) ConfigSchedruleOnDemandWithChan(request *ConfigSchedruleOnDemandRequest) (<-chan *ConfigSchedruleOnDemandResponse, <-chan error)

ConfigSchedruleOnDemandWithChan invokes the ddosbgp.ConfigSchedruleOnDemand API asynchronously

func (*Client) CreateSchedruleOnDemand added in v1.62.385

func (client *Client) CreateSchedruleOnDemand(request *CreateSchedruleOnDemandRequest) (response *CreateSchedruleOnDemandResponse, err error)

CreateSchedruleOnDemand invokes the ddosbgp.CreateSchedruleOnDemand API synchronously

func (*Client) CreateSchedruleOnDemandWithCallback added in v1.62.385

func (client *Client) CreateSchedruleOnDemandWithCallback(request *CreateSchedruleOnDemandRequest, callback func(response *CreateSchedruleOnDemandResponse, err error)) <-chan int

CreateSchedruleOnDemandWithCallback invokes the ddosbgp.CreateSchedruleOnDemand API asynchronously

func (*Client) CreateSchedruleOnDemandWithChan added in v1.62.385

func (client *Client) CreateSchedruleOnDemandWithChan(request *CreateSchedruleOnDemandRequest) (<-chan *CreateSchedruleOnDemandResponse, <-chan error)

CreateSchedruleOnDemandWithChan invokes the ddosbgp.CreateSchedruleOnDemand API asynchronously

func (*Client) DeleteBlackhole

func (client *Client) DeleteBlackhole(request *DeleteBlackholeRequest) (response *DeleteBlackholeResponse, err error)

DeleteBlackhole invokes the ddosbgp.DeleteBlackhole API synchronously

func (*Client) DeleteBlackholeWithCallback

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

DeleteBlackholeWithCallback invokes the ddosbgp.DeleteBlackhole API asynchronously

func (*Client) DeleteBlackholeWithChan

func (client *Client) DeleteBlackholeWithChan(request *DeleteBlackholeRequest) (<-chan *DeleteBlackholeResponse, <-chan error)

DeleteBlackholeWithChan invokes the ddosbgp.DeleteBlackhole API asynchronously

func (*Client) DeleteIp

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

DeleteIp invokes the ddosbgp.DeleteIp API synchronously

func (*Client) DeleteIpWithCallback

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

DeleteIpWithCallback invokes the ddosbgp.DeleteIp API asynchronously

func (*Client) DeleteIpWithChan

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

DeleteIpWithChan invokes the ddosbgp.DeleteIp API asynchronously

func (*Client) DeleteSchedruleOnDemand added in v1.62.385

func (client *Client) DeleteSchedruleOnDemand(request *DeleteSchedruleOnDemandRequest) (response *DeleteSchedruleOnDemandResponse, err error)

DeleteSchedruleOnDemand invokes the ddosbgp.DeleteSchedruleOnDemand API synchronously

func (*Client) DeleteSchedruleOnDemandWithCallback added in v1.62.385

func (client *Client) DeleteSchedruleOnDemandWithCallback(request *DeleteSchedruleOnDemandRequest, callback func(response *DeleteSchedruleOnDemandResponse, err error)) <-chan int

DeleteSchedruleOnDemandWithCallback invokes the ddosbgp.DeleteSchedruleOnDemand API asynchronously

func (*Client) DeleteSchedruleOnDemandWithChan added in v1.62.385

func (client *Client) DeleteSchedruleOnDemandWithChan(request *DeleteSchedruleOnDemandRequest) (<-chan *DeleteSchedruleOnDemandResponse, <-chan error)

DeleteSchedruleOnDemandWithChan invokes the ddosbgp.DeleteSchedruleOnDemand API asynchronously

func (*Client) DescribeDdosEvent

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

DescribeDdosEvent invokes the ddosbgp.DescribeDdosEvent API synchronously

func (*Client) DescribeDdosEventWithCallback

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

DescribeDdosEventWithCallback invokes the ddosbgp.DescribeDdosEvent API asynchronously

func (*Client) DescribeDdosEventWithChan

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

DescribeDdosEventWithChan invokes the ddosbgp.DescribeDdosEvent API asynchronously

func (*Client) DescribeExcpetionCount

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

DescribeExcpetionCount invokes the ddosbgp.DescribeExcpetionCount API synchronously

func (*Client) DescribeExcpetionCountWithCallback

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

DescribeExcpetionCountWithCallback invokes the ddosbgp.DescribeExcpetionCount API asynchronously

func (*Client) DescribeExcpetionCountWithChan

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

DescribeExcpetionCountWithChan invokes the ddosbgp.DescribeExcpetionCount API asynchronously

func (*Client) DescribeInstanceList

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

DescribeInstanceList invokes the ddosbgp.DescribeInstanceList API synchronously

func (*Client) DescribeInstanceListWithCallback

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

DescribeInstanceListWithCallback invokes the ddosbgp.DescribeInstanceList API asynchronously

func (*Client) DescribeInstanceListWithChan

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

DescribeInstanceListWithChan invokes the ddosbgp.DescribeInstanceList API asynchronously

func (*Client) DescribeInstanceSpecs

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

DescribeInstanceSpecs invokes the ddosbgp.DescribeInstanceSpecs API synchronously

func (*Client) DescribeInstanceSpecsWithCallback

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

DescribeInstanceSpecsWithCallback invokes the ddosbgp.DescribeInstanceSpecs API asynchronously

func (*Client) DescribeInstanceSpecsWithChan

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

DescribeInstanceSpecsWithChan invokes the ddosbgp.DescribeInstanceSpecs API asynchronously

func (*Client) DescribeOnDemandDdosEvent added in v1.62.385

func (client *Client) DescribeOnDemandDdosEvent(request *DescribeOnDemandDdosEventRequest) (response *DescribeOnDemandDdosEventResponse, err error)

DescribeOnDemandDdosEvent invokes the ddosbgp.DescribeOnDemandDdosEvent API synchronously

func (*Client) DescribeOnDemandDdosEventWithCallback added in v1.62.385

func (client *Client) DescribeOnDemandDdosEventWithCallback(request *DescribeOnDemandDdosEventRequest, callback func(response *DescribeOnDemandDdosEventResponse, err error)) <-chan int

DescribeOnDemandDdosEventWithCallback invokes the ddosbgp.DescribeOnDemandDdosEvent API asynchronously

func (*Client) DescribeOnDemandDdosEventWithChan added in v1.62.385

func (client *Client) DescribeOnDemandDdosEventWithChan(request *DescribeOnDemandDdosEventRequest) (<-chan *DescribeOnDemandDdosEventResponse, <-chan error)

DescribeOnDemandDdosEventWithChan invokes the ddosbgp.DescribeOnDemandDdosEvent API asynchronously

func (*Client) DescribeOnDemandInstanceStatus added in v1.62.385

func (client *Client) DescribeOnDemandInstanceStatus(request *DescribeOnDemandInstanceStatusRequest) (response *DescribeOnDemandInstanceStatusResponse, err error)

DescribeOnDemandInstanceStatus invokes the ddosbgp.DescribeOnDemandInstanceStatus API synchronously

func (*Client) DescribeOnDemandInstanceStatusWithCallback added in v1.62.385

func (client *Client) DescribeOnDemandInstanceStatusWithCallback(request *DescribeOnDemandInstanceStatusRequest, callback func(response *DescribeOnDemandInstanceStatusResponse, err error)) <-chan int

DescribeOnDemandInstanceStatusWithCallback invokes the ddosbgp.DescribeOnDemandInstanceStatus API asynchronously

func (*Client) DescribeOnDemandInstanceStatusWithChan added in v1.62.385

func (client *Client) DescribeOnDemandInstanceStatusWithChan(request *DescribeOnDemandInstanceStatusRequest) (<-chan *DescribeOnDemandInstanceStatusResponse, <-chan error)

DescribeOnDemandInstanceStatusWithChan invokes the ddosbgp.DescribeOnDemandInstanceStatus API asynchronously

func (*Client) DescribeOpEntities

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

DescribeOpEntities invokes the ddosbgp.DescribeOpEntities API synchronously

func (*Client) DescribeOpEntitiesWithCallback

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

DescribeOpEntitiesWithCallback invokes the ddosbgp.DescribeOpEntities API asynchronously

func (*Client) DescribeOpEntitiesWithChan

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

DescribeOpEntitiesWithChan invokes the ddosbgp.DescribeOpEntities API asynchronously

func (*Client) DescribePackIpList

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

DescribePackIpList invokes the ddosbgp.DescribePackIpList API synchronously

func (*Client) DescribePackIpListWithCallback

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

DescribePackIpListWithCallback invokes the ddosbgp.DescribePackIpList API asynchronously

func (*Client) DescribePackIpListWithChan

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

DescribePackIpListWithChan invokes the ddosbgp.DescribePackIpList API asynchronously

func (*Client) DescribeRegions

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

DescribeRegions invokes the ddosbgp.DescribeRegions API synchronously

func (*Client) DescribeRegionsWithCallback

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

DescribeRegionsWithCallback invokes the ddosbgp.DescribeRegions API asynchronously

func (*Client) DescribeRegionsWithChan

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

DescribeRegionsWithChan invokes the ddosbgp.DescribeRegions API asynchronously

func (*Client) DescribeTraffic

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

DescribeTraffic invokes the ddosbgp.DescribeTraffic API synchronously

func (*Client) DescribeTrafficWithCallback

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

DescribeTrafficWithCallback invokes the ddosbgp.DescribeTraffic API asynchronously

func (*Client) DescribeTrafficWithChan

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

DescribeTrafficWithChan invokes the ddosbgp.DescribeTraffic API asynchronously

func (*Client) GetSlsOpenStatus added in v1.62.385

func (client *Client) GetSlsOpenStatus(request *GetSlsOpenStatusRequest) (response *GetSlsOpenStatusResponse, err error)

GetSlsOpenStatus invokes the ddosbgp.GetSlsOpenStatus API synchronously

func (*Client) GetSlsOpenStatusWithCallback added in v1.62.385

func (client *Client) GetSlsOpenStatusWithCallback(request *GetSlsOpenStatusRequest, callback func(response *GetSlsOpenStatusResponse, err error)) <-chan int

GetSlsOpenStatusWithCallback invokes the ddosbgp.GetSlsOpenStatus API asynchronously

func (*Client) GetSlsOpenStatusWithChan added in v1.62.385

func (client *Client) GetSlsOpenStatusWithChan(request *GetSlsOpenStatusRequest) (<-chan *GetSlsOpenStatusResponse, <-chan error)

GetSlsOpenStatusWithChan invokes the ddosbgp.GetSlsOpenStatus API asynchronously

func (*Client) ListOpenedAccessLogInstances added in v1.62.385

func (client *Client) ListOpenedAccessLogInstances(request *ListOpenedAccessLogInstancesRequest) (response *ListOpenedAccessLogInstancesResponse, err error)

ListOpenedAccessLogInstances invokes the ddosbgp.ListOpenedAccessLogInstances API synchronously

func (*Client) ListOpenedAccessLogInstancesWithCallback added in v1.62.385

func (client *Client) ListOpenedAccessLogInstancesWithCallback(request *ListOpenedAccessLogInstancesRequest, callback func(response *ListOpenedAccessLogInstancesResponse, err error)) <-chan int

ListOpenedAccessLogInstancesWithCallback invokes the ddosbgp.ListOpenedAccessLogInstances API asynchronously

func (*Client) ListOpenedAccessLogInstancesWithChan added in v1.62.385

func (client *Client) ListOpenedAccessLogInstancesWithChan(request *ListOpenedAccessLogInstancesRequest) (<-chan *ListOpenedAccessLogInstancesResponse, <-chan error)

ListOpenedAccessLogInstancesWithChan invokes the ddosbgp.ListOpenedAccessLogInstances API asynchronously

func (*Client) ListTagKeys added in v1.62.385

func (client *Client) ListTagKeys(request *ListTagKeysRequest) (response *ListTagKeysResponse, err error)

ListTagKeys invokes the ddosbgp.ListTagKeys API synchronously

func (*Client) ListTagKeysWithCallback added in v1.62.385

func (client *Client) ListTagKeysWithCallback(request *ListTagKeysRequest, callback func(response *ListTagKeysResponse, err error)) <-chan int

ListTagKeysWithCallback invokes the ddosbgp.ListTagKeys API asynchronously

func (*Client) ListTagKeysWithChan added in v1.62.385

func (client *Client) ListTagKeysWithChan(request *ListTagKeysRequest) (<-chan *ListTagKeysResponse, <-chan error)

ListTagKeysWithChan invokes the ddosbgp.ListTagKeys API asynchronously

func (*Client) ListTagResources added in v1.62.385

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)

ListTagResources invokes the ddosbgp.ListTagResources API synchronously

func (*Client) ListTagResourcesWithCallback added in v1.62.385

func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int

ListTagResourcesWithCallback invokes the ddosbgp.ListTagResources API asynchronously

func (*Client) ListTagResourcesWithChan added in v1.62.385

func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)

ListTagResourcesWithChan invokes the ddosbgp.ListTagResources API asynchronously

func (*Client) ModifyRemark

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

ModifyRemark invokes the ddosbgp.ModifyRemark API synchronously

func (*Client) ModifyRemarkWithCallback

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

ModifyRemarkWithCallback invokes the ddosbgp.ModifyRemark API asynchronously

func (*Client) ModifyRemarkWithChan

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

ModifyRemarkWithChan invokes the ddosbgp.ModifyRemark API asynchronously

func (*Client) QuerySchedruleOnDemand added in v1.62.385

func (client *Client) QuerySchedruleOnDemand(request *QuerySchedruleOnDemandRequest) (response *QuerySchedruleOnDemandResponse, err error)

QuerySchedruleOnDemand invokes the ddosbgp.QuerySchedruleOnDemand API synchronously

func (*Client) QuerySchedruleOnDemandWithCallback added in v1.62.385

func (client *Client) QuerySchedruleOnDemandWithCallback(request *QuerySchedruleOnDemandRequest, callback func(response *QuerySchedruleOnDemandResponse, err error)) <-chan int

QuerySchedruleOnDemandWithCallback invokes the ddosbgp.QuerySchedruleOnDemand API asynchronously

func (*Client) QuerySchedruleOnDemandWithChan added in v1.62.385

func (client *Client) QuerySchedruleOnDemandWithChan(request *QuerySchedruleOnDemandRequest) (<-chan *QuerySchedruleOnDemandResponse, <-chan error)

QuerySchedruleOnDemandWithChan invokes the ddosbgp.QuerySchedruleOnDemand API asynchronously

func (*Client) SetInstanceModeOnDemand added in v1.62.385

func (client *Client) SetInstanceModeOnDemand(request *SetInstanceModeOnDemandRequest) (response *SetInstanceModeOnDemandResponse, err error)

SetInstanceModeOnDemand invokes the ddosbgp.SetInstanceModeOnDemand API synchronously

func (*Client) SetInstanceModeOnDemandWithCallback added in v1.62.385

func (client *Client) SetInstanceModeOnDemandWithCallback(request *SetInstanceModeOnDemandRequest, callback func(response *SetInstanceModeOnDemandResponse, err error)) <-chan int

SetInstanceModeOnDemandWithCallback invokes the ddosbgp.SetInstanceModeOnDemand API asynchronously

func (*Client) SetInstanceModeOnDemandWithChan added in v1.62.385

func (client *Client) SetInstanceModeOnDemandWithChan(request *SetInstanceModeOnDemandRequest) (<-chan *SetInstanceModeOnDemandResponse, <-chan error)

SetInstanceModeOnDemandWithChan invokes the ddosbgp.SetInstanceModeOnDemand API asynchronously

func (*Client) TagResources added in v1.62.385

func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)

TagResources invokes the ddosbgp.TagResources API synchronously

func (*Client) TagResourcesWithCallback added in v1.62.385

func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int

TagResourcesWithCallback invokes the ddosbgp.TagResources API asynchronously

func (*Client) TagResourcesWithChan added in v1.62.385

func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)

TagResourcesWithChan invokes the ddosbgp.TagResources API asynchronously

func (*Client) UntagResources added in v1.62.385

func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)

UntagResources invokes the ddosbgp.UntagResources API synchronously

func (*Client) UntagResourcesWithCallback added in v1.62.385

func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, callback func(response *UntagResourcesResponse, err error)) <-chan int

UntagResourcesWithCallback invokes the ddosbgp.UntagResources API asynchronously

func (*Client) UntagResourcesWithChan added in v1.62.385

func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)

UntagResourcesWithChan invokes the ddosbgp.UntagResources API asynchronously

type Config added in v1.62.385

type Config struct {
	RuleSwitch        string `json:"RuleSwitch" xml:"RuleSwitch"`
	RuleConditionMbps string `json:"RuleConditionMbps" xml:"RuleConditionMbps"`
	TimeZone          string `json:"TimeZone" xml:"TimeZone"`
	RuleAction        string `json:"RuleAction" xml:"RuleAction"`
	RuleConditionKpps string `json:"RuleConditionKpps" xml:"RuleConditionKpps"`
	RuleUndoMode      string `json:"RuleUndoMode" xml:"RuleUndoMode"`
	RuleUndoBeginTime string `json:"RuleUndoBeginTime" xml:"RuleUndoBeginTime"`
	RuleConditionCnt  string `json:"RuleConditionCnt" xml:"RuleConditionCnt"`
	RuleUndoEndTime   string `json:"RuleUndoEndTime" xml:"RuleUndoEndTime"`
	RuleName          string `json:"RuleName" xml:"RuleName"`
}

Config is a nested struct in ddosbgp response

type ConfigSchedruleOnDemandRequest added in v1.62.385

type ConfigSchedruleOnDemandRequest struct {
	*requests.RpcRequest
	TimeZone          string `position:"Query" name:"TimeZone"`
	RuleName          string `position:"Query" name:"RuleName"`
	RuleConditionMbps string `position:"Query" name:"RuleConditionMbps"`
	RuleAction        string `position:"Query" name:"RuleAction"`
	SourceIp          string `position:"Query" name:"SourceIp"`
	RuleUndoMode      string `position:"Query" name:"RuleUndoMode"`
	RuleUndoEndTime   string `position:"Query" name:"RuleUndoEndTime"`
	InstanceId        string `position:"Query" name:"InstanceId"`
	RuleUndoBeginTime string `position:"Query" name:"RuleUndoBeginTime"`
	RuleConditionCnt  string `position:"Query" name:"RuleConditionCnt"`
	RuleSwitch        string `position:"Query" name:"RuleSwitch"`
	RuleConditionKpps string `position:"Query" name:"RuleConditionKpps"`
}

ConfigSchedruleOnDemandRequest is the request struct for api ConfigSchedruleOnDemand

func CreateConfigSchedruleOnDemandRequest added in v1.62.385

func CreateConfigSchedruleOnDemandRequest() (request *ConfigSchedruleOnDemandRequest)

CreateConfigSchedruleOnDemandRequest creates a request to invoke ConfigSchedruleOnDemand API

type ConfigSchedruleOnDemandResponse added in v1.62.385

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

ConfigSchedruleOnDemandResponse is the response struct for api ConfigSchedruleOnDemand

func CreateConfigSchedruleOnDemandResponse added in v1.62.385

func CreateConfigSchedruleOnDemandResponse() (response *ConfigSchedruleOnDemandResponse)

CreateConfigSchedruleOnDemandResponse creates a response to parse from ConfigSchedruleOnDemand response

type CreateSchedruleOnDemandRequest added in v1.62.385

type CreateSchedruleOnDemandRequest struct {
	*requests.RpcRequest
	TimeZone          string `position:"Query" name:"TimeZone"`
	RuleName          string `position:"Query" name:"RuleName"`
	RuleConditionMbps string `position:"Query" name:"RuleConditionMbps"`
	RuleAction        string `position:"Query" name:"RuleAction"`
	SourceIp          string `position:"Query" name:"SourceIp"`
	RuleUndoMode      string `position:"Query" name:"RuleUndoMode"`
	RuleUndoEndTime   string `position:"Query" name:"RuleUndoEndTime"`
	InstanceId        string `position:"Query" name:"InstanceId"`
	RuleUndoBeginTime string `position:"Query" name:"RuleUndoBeginTime"`
	RuleConditionCnt  string `position:"Query" name:"RuleConditionCnt"`
	RuleSwitch        string `position:"Query" name:"RuleSwitch"`
	RuleConditionKpps string `position:"Query" name:"RuleConditionKpps"`
}

CreateSchedruleOnDemandRequest is the request struct for api CreateSchedruleOnDemand

func CreateCreateSchedruleOnDemandRequest added in v1.62.385

func CreateCreateSchedruleOnDemandRequest() (request *CreateSchedruleOnDemandRequest)

CreateCreateSchedruleOnDemandRequest creates a request to invoke CreateSchedruleOnDemand API

type CreateSchedruleOnDemandResponse added in v1.62.385

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

CreateSchedruleOnDemandResponse is the response struct for api CreateSchedruleOnDemand

func CreateCreateSchedruleOnDemandResponse added in v1.62.385

func CreateCreateSchedruleOnDemandResponse() (response *CreateSchedruleOnDemandResponse)

CreateCreateSchedruleOnDemandResponse creates a response to parse from CreateSchedruleOnDemand response

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

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

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 DeleteSchedruleOnDemandRequest added in v1.62.385

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

DeleteSchedruleOnDemandRequest is the request struct for api DeleteSchedruleOnDemand

func CreateDeleteSchedruleOnDemandRequest added in v1.62.385

func CreateDeleteSchedruleOnDemandRequest() (request *DeleteSchedruleOnDemandRequest)

CreateDeleteSchedruleOnDemandRequest creates a request to invoke DeleteSchedruleOnDemand API

type DeleteSchedruleOnDemandResponse added in v1.62.385

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

DeleteSchedruleOnDemandResponse is the response struct for api DeleteSchedruleOnDemand

func CreateDeleteSchedruleOnDemandResponse added in v1.62.385

func CreateDeleteSchedruleOnDemandResponse() (response *DeleteSchedruleOnDemandResponse)

CreateDeleteSchedruleOnDemandResponse creates a response to parse from DeleteSchedruleOnDemand 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"`
	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
	Total     int64   `json:"Total" xml:"Total"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	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"`
}

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
	ExceptionIpCount int    `json:"ExceptionIpCount" xml:"ExceptionIpCount"`
	ExpireTimeCount  int    `json:"ExpireTimeCount" xml:"ExpireTimeCount"`
	RequestId        string `json:"RequestId" xml:"RequestId"`
}

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"`
	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"`
	InstanceTypeList *[]string                  `position:"Query" name:"InstanceTypeList"  type:"Repeated"`
}

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
	Total        int64      `json:"Total" xml:"Total"`
	RequestId    string     `json:"RequestId" xml:"RequestId"`
	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"`
	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 DescribeOnDemandDdosEventRequest added in v1.62.385

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

DescribeOnDemandDdosEventRequest is the request struct for api DescribeOnDemandDdosEvent

func CreateDescribeOnDemandDdosEventRequest added in v1.62.385

func CreateDescribeOnDemandDdosEventRequest() (request *DescribeOnDemandDdosEventRequest)

CreateDescribeOnDemandDdosEventRequest creates a request to invoke DescribeOnDemandDdosEvent API

type DescribeOnDemandDdosEventResponse added in v1.62.385

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

DescribeOnDemandDdosEventResponse is the response struct for api DescribeOnDemandDdosEvent

func CreateDescribeOnDemandDdosEventResponse added in v1.62.385

func CreateDescribeOnDemandDdosEventResponse() (response *DescribeOnDemandDdosEventResponse)

CreateDescribeOnDemandDdosEventResponse creates a response to parse from DescribeOnDemandDdosEvent response

type DescribeOnDemandInstanceStatusRequest added in v1.62.385

type DescribeOnDemandInstanceStatusRequest struct {
	*requests.RpcRequest
	SourceIp       string    `position:"Query" name:"SourceIp"`
	InstanceIdList *[]string `position:"Query" name:"InstanceIdList"  type:"Repeated"`
}

DescribeOnDemandInstanceStatusRequest is the request struct for api DescribeOnDemandInstanceStatus

func CreateDescribeOnDemandInstanceStatusRequest added in v1.62.385

func CreateDescribeOnDemandInstanceStatusRequest() (request *DescribeOnDemandInstanceStatusRequest)

CreateDescribeOnDemandInstanceStatusRequest creates a request to invoke DescribeOnDemandInstanceStatus API

type DescribeOnDemandInstanceStatusResponse added in v1.62.385

type DescribeOnDemandInstanceStatusResponse struct {
	*responses.BaseResponse
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Instances []Instance `json:"Instances" xml:"Instances"`
}

DescribeOnDemandInstanceStatusResponse is the response struct for api DescribeOnDemandInstanceStatus

func CreateDescribeOnDemandInstanceStatusResponse added in v1.62.385

func CreateDescribeOnDemandInstanceStatusResponse() (response *DescribeOnDemandInstanceStatusResponse)

CreateDescribeOnDemandInstanceStatusResponse creates a response to parse from DescribeOnDemandInstanceStatus 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"`
	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
	TotalCount int        `json:"TotalCount" xml:"TotalCount"`
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	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"`
	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
	Code      string   `json:"Code" xml:"Code"`
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Total     int      `json:"Total" xml:"Total"`
	Success   bool     `json:"Success" xml:"Success"`
	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 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
	Code      string   `json:"Code" xml:"Code"`
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Success   bool     `json:"Success" xml:"Success"`
	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 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"`
	Ipnet           string           `position:"Query" name:"Ipnet"`
	FlowType        string           `position:"Query" name:"FlowType"`
	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 {
	EndTime   int    `json:"EndTime" xml:"EndTime"`
	Ip        string `json:"Ip" xml:"Ip"`
	StartTime int    `json:"StartTime" xml:"StartTime"`
	Status    string `json:"Status" xml:"Status"`
	Mbps      int    `json:"Mbps" xml:"Mbps"`
	Pps       int    `json:"Pps" xml:"Pps"`
}

Event is a nested struct in ddosbgp response

type EventsInDescribeDdosEvent added in v1.62.385

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

EventsInDescribeDdosEvent is a nested struct in ddosbgp response

type EventsInDescribeOnDemandDdosEvent added in v1.62.385

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

EventsInDescribeOnDemandDdosEvent is a nested struct in ddosbgp response

type Flow

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

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 GetSlsOpenStatusRequest added in v1.62.385

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

GetSlsOpenStatusRequest is the request struct for api GetSlsOpenStatus

func CreateGetSlsOpenStatusRequest added in v1.62.385

func CreateGetSlsOpenStatusRequest() (request *GetSlsOpenStatusRequest)

CreateGetSlsOpenStatusRequest creates a request to invoke GetSlsOpenStatus API

type GetSlsOpenStatusResponse added in v1.62.385

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

GetSlsOpenStatusResponse is the response struct for api GetSlsOpenStatus

func CreateGetSlsOpenStatusResponse added in v1.62.385

func CreateGetSlsOpenStatusResponse() (response *GetSlsOpenStatusResponse)

CreateGetSlsOpenStatusResponse creates a response to parse from GetSlsOpenStatus response

type Instance

type Instance struct {
	Declared          string `json:"Declared" xml:"Declared"`
	Product           string `json:"Product" xml:"Product"`
	Desc              string `json:"Desc" xml:"Desc"`
	Remark            string `json:"Remark" xml:"Remark"`
	InstanceType      string `json:"InstanceType" xml:"InstanceType"`
	CoverageType      int    `json:"CoverageType" xml:"CoverageType"`
	Net               string `json:"Net" xml:"Net"`
	IpType            string `json:"IpType" xml:"IpType"`
	Mode              string `json:"Mode" xml:"Mode"`
	GmtCreate         int64  `json:"GmtCreate" xml:"GmtCreate"`
	AutoRenewal       bool   `json:"AutoRenewal" xml:"AutoRenewal"`
	InstanceId        string `json:"InstanceId" xml:"InstanceId"`
	UserId            string `json:"UserId" xml:"UserId"`
	ExpireTime        int64  `json:"ExpireTime" xml:"ExpireTime"`
	Status            string `json:"Status" xml:"Status"`
	BlackholdingCount string `json:"BlackholdingCount" xml:"BlackholdingCount"`
	RegistedAs        string `json:"RegistedAs" xml:"RegistedAs"`
}

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 {
	IsFullDefenseMode             int        `json:"IsFullDefenseMode" xml:"IsFullDefenseMode"`
	Region                        string     `json:"Region" xml:"Region"`
	AvailableDefenseTimes         int        `json:"AvailableDefenseTimes" xml:"AvailableDefenseTimes"`
	TotalDefenseTimes             int        `json:"TotalDefenseTimes" xml:"TotalDefenseTimes"`
	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 Instances added in v1.62.385

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

Instances 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 {
	Status  string `json:"Status" xml:"Status"`
	Ip      string `json:"Ip" xml:"Ip"`
	Remark  string `json:"Remark" xml:"Remark"`
	Product string `json:"Product" xml:"Product"`
	Region  string `json:"Region" xml:"Region"`
}

Ipitem is a nested struct in ddosbgp response

type ListOpenedAccessLogInstancesRequest added in v1.62.385

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

ListOpenedAccessLogInstancesRequest is the request struct for api ListOpenedAccessLogInstances

func CreateListOpenedAccessLogInstancesRequest added in v1.62.385

func CreateListOpenedAccessLogInstancesRequest() (request *ListOpenedAccessLogInstancesRequest)

CreateListOpenedAccessLogInstancesRequest creates a request to invoke ListOpenedAccessLogInstances API

type ListOpenedAccessLogInstancesResponse added in v1.62.385

type ListOpenedAccessLogInstancesResponse struct {
	*responses.BaseResponse
	TotalCount      int              `json:"TotalCount" xml:"TotalCount"`
	RequestId       string           `json:"RequestId" xml:"RequestId"`
	SlsConfigStatus []OpenedInstance `json:"SlsConfigStatus" xml:"SlsConfigStatus"`
}

ListOpenedAccessLogInstancesResponse is the response struct for api ListOpenedAccessLogInstances

func CreateListOpenedAccessLogInstancesResponse added in v1.62.385

func CreateListOpenedAccessLogInstancesResponse() (response *ListOpenedAccessLogInstancesResponse)

CreateListOpenedAccessLogInstancesResponse creates a response to parse from ListOpenedAccessLogInstances response

type ListTagKeysRequest added in v1.62.385

type ListTagKeysRequest struct {
	*requests.RpcRequest
	TagOwnerUid     string           `position:"Query" name:"TagOwnerUid"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Scope           string           `position:"Query" name:"Scope"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	TagOwnerBid     string           `position:"Query" name:"TagOwnerBid"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	ResourceType    string           `position:"Query" name:"ResourceType"`
}

ListTagKeysRequest is the request struct for api ListTagKeys

func CreateListTagKeysRequest added in v1.62.385

func CreateListTagKeysRequest() (request *ListTagKeysRequest)

CreateListTagKeysRequest creates a request to invoke ListTagKeys API

type ListTagKeysResponse added in v1.62.385

type ListTagKeysResponse struct {
	*responses.BaseResponse
	CurrentPage int      `json:"CurrentPage" xml:"CurrentPage"`
	RequestId   string   `json:"RequestId" xml:"RequestId"`
	PageSize    int      `json:"PageSize" xml:"PageSize"`
	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
	TagKeys     []TagKey `json:"TagKeys" xml:"TagKeys"`
}

ListTagKeysResponse is the response struct for api ListTagKeys

func CreateListTagKeysResponse added in v1.62.385

func CreateListTagKeysResponse() (response *ListTagKeysResponse)

CreateListTagKeysResponse creates a response to parse from ListTagKeys response

type ListTagResourcesRequest added in v1.62.385

type ListTagResourcesRequest struct {
	*requests.RpcRequest
	TagOwnerUid     string                 `position:"Query" name:"TagOwnerUid"`
	ResourceGroupId string                 `position:"Query" name:"ResourceGroupId"`
	SourceIp        string                 `position:"Query" name:"SourceIp"`
	NextToken       string                 `position:"Query" name:"NextToken"`
	Scope           string                 `position:"Query" name:"Scope"`
	TagOwnerBid     string                 `position:"Query" name:"TagOwnerBid"`
	Tag             *[]ListTagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
	ResourceId      *[]string              `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceType    string                 `position:"Query" name:"ResourceType"`
}

ListTagResourcesRequest is the request struct for api ListTagResources

func CreateListTagResourcesRequest added in v1.62.385

func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)

CreateListTagResourcesRequest creates a request to invoke ListTagResources API

type ListTagResourcesResponse added in v1.62.385

type ListTagResourcesResponse struct {
	*responses.BaseResponse
	NextToken    string       `json:"NextToken" xml:"NextToken"`
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	TagResources TagResources `json:"TagResources" xml:"TagResources"`
}

ListTagResourcesResponse is the response struct for api ListTagResources

func CreateListTagResourcesResponse added in v1.62.385

func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)

CreateListTagResourcesResponse creates a response to parse from ListTagResources response

type ListTagResourcesTag added in v1.62.385

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

ListTagResourcesTag is a repeated param struct in ListTagResourcesRequest

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

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 {
	EntityType   int    `json:"EntityType" xml:"EntityType"`
	EntityObject string `json:"EntityObject" xml:"EntityObject"`
	OpAction     int    `json:"OpAction" xml:"OpAction"`
	GmtCreate    int64  `json:"GmtCreate" xml:"GmtCreate"`
	OpAccount    string `json:"OpAccount" xml:"OpAccount"`
	OpDesc       string `json:"OpDesc" xml:"OpDesc"`
}

OpEntity is a nested struct in ddosbgp response

type OpenedInstance added in v1.62.385

type OpenedInstance struct {
	InstanceId string `json:"InstanceId" xml:"InstanceId"`
	Enable     bool   `json:"Enable" xml:"Enable"`
}

OpenedInstance is a nested struct in ddosbgp response

type PackConfig

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

PackConfig is a nested struct in ddosbgp response

type QuerySchedruleOnDemandRequest added in v1.62.385

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

QuerySchedruleOnDemandRequest is the request struct for api QuerySchedruleOnDemand

func CreateQuerySchedruleOnDemandRequest added in v1.62.385

func CreateQuerySchedruleOnDemandRequest() (request *QuerySchedruleOnDemandRequest)

CreateQuerySchedruleOnDemandRequest creates a request to invoke QuerySchedruleOnDemand API

type QuerySchedruleOnDemandResponse added in v1.62.385

type QuerySchedruleOnDemandResponse struct {
	*responses.BaseResponse
	RequestId  string   `json:"RequestId" xml:"RequestId"`
	InstanceId string   `json:"InstanceId" xml:"InstanceId"`
	UserId     string   `json:"UserId" xml:"UserId"`
	RuleConfig []Config `json:"RuleConfig" xml:"RuleConfig"`
	RuleStatus []Status `json:"RuleStatus" xml:"RuleStatus"`
}

QuerySchedruleOnDemandResponse is the response struct for api QuerySchedruleOnDemand

func CreateQuerySchedruleOnDemandResponse added in v1.62.385

func CreateQuerySchedruleOnDemandResponse() (response *QuerySchedruleOnDemandResponse)

CreateQuerySchedruleOnDemandResponse creates a response to parse from QuerySchedruleOnDemand 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 RuleConfig added in v1.62.385

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

RuleConfig is a nested struct in ddosbgp response

type RuleStatus added in v1.62.385

type RuleStatus struct {
	Status []Status `json:"Status" xml:"Status"`
}

RuleStatus is a nested struct in ddosbgp response

type SetInstanceModeOnDemandRequest added in v1.62.385

type SetInstanceModeOnDemandRequest struct {
	*requests.RpcRequest
	Mode           string    `position:"Query" name:"Mode"`
	SourceIp       string    `position:"Query" name:"SourceIp"`
	InstanceIdList *[]string `position:"Query" name:"InstanceIdList"  type:"Repeated"`
}

SetInstanceModeOnDemandRequest is the request struct for api SetInstanceModeOnDemand

func CreateSetInstanceModeOnDemandRequest added in v1.62.385

func CreateSetInstanceModeOnDemandRequest() (request *SetInstanceModeOnDemandRequest)

CreateSetInstanceModeOnDemandRequest creates a request to invoke SetInstanceModeOnDemand API

type SetInstanceModeOnDemandResponse added in v1.62.385

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

SetInstanceModeOnDemandResponse is the response struct for api SetInstanceModeOnDemand

func CreateSetInstanceModeOnDemandResponse added in v1.62.385

func CreateSetInstanceModeOnDemandResponse() (response *SetInstanceModeOnDemandResponse)

CreateSetInstanceModeOnDemandResponse creates a response to parse from SetInstanceModeOnDemand response

type SlsConfigStatus added in v1.62.385

type SlsConfigStatus struct {
	OpenedInstance []OpenedInstance `json:"OpenedInstance" xml:"OpenedInstance"`
}

SlsConfigStatus is a nested struct in ddosbgp response

type Status added in v1.62.385

type Status struct {
	RuleSchedStatus string `json:"RuleSchedStatus" xml:"RuleSchedStatus"`
	Net             string `json:"Net" xml:"Net"`
}

Status is a nested struct in ddosbgp response

type TagKey added in v1.62.385

type TagKey struct {
	TagCount int    `json:"TagCount" xml:"TagCount"`
	TagKey   string `json:"TagKey" xml:"TagKey"`
}

TagKey is a nested struct in ddosbgp response

type TagKeys added in v1.62.385

type TagKeys struct {
	TagKey []TagKey `json:"TagKey" xml:"TagKey"`
}

TagKeys is a nested struct in ddosbgp response

type TagResource added in v1.62.385

type TagResource struct {
	TagValue     string `json:"TagValue" xml:"TagValue"`
	ResourceType string `json:"ResourceType" xml:"ResourceType"`
	ResourceId   string `json:"ResourceId" xml:"ResourceId"`
	TagKey       string `json:"TagKey" xml:"TagKey"`
}

TagResource is a nested struct in ddosbgp response

type TagResources added in v1.62.385

type TagResources struct {
	TagResource []TagResource `json:"TagResource" xml:"TagResource"`
}

TagResources is a nested struct in ddosbgp response

type TagResourcesRequest added in v1.62.385

type TagResourcesRequest struct {
	*requests.RpcRequest
	TagOwnerUid     string             `position:"Query" name:"TagOwnerUid"`
	ResourceGroupId string             `position:"Query" name:"ResourceGroupId"`
	SourceIp        string             `position:"Query" name:"SourceIp"`
	Scope           string             `position:"Query" name:"Scope"`
	TagOwnerBid     string             `position:"Query" name:"TagOwnerBid"`
	Tag             *[]TagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
	ResourceId      *[]string          `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceType    string             `position:"Query" name:"ResourceType"`
}

TagResourcesRequest is the request struct for api TagResources

func CreateTagResourcesRequest added in v1.62.385

func CreateTagResourcesRequest() (request *TagResourcesRequest)

CreateTagResourcesRequest creates a request to invoke TagResources API

type TagResourcesResponse added in v1.62.385

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

TagResourcesResponse is the response struct for api TagResources

func CreateTagResourcesResponse added in v1.62.385

func CreateTagResourcesResponse() (response *TagResourcesResponse)

CreateTagResourcesResponse creates a response to parse from TagResources response

type TagResourcesTag added in v1.62.385

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

TagResourcesTag is a repeated param struct in TagResourcesRequest

type UntagResourcesRequest added in v1.62.385

type UntagResourcesRequest struct {
	*requests.RpcRequest
	TagOwnerUid     string           `position:"Query" name:"TagOwnerUid"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	TagOwnerBid     string           `position:"Query" name:"TagOwnerBid"`
	All             requests.Boolean `position:"Query" name:"All"`
	ResourceId      *[]string        `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceType    string           `position:"Query" name:"ResourceType"`
	TagKey          *[]string        `position:"Query" name:"TagKey"  type:"Repeated"`
}

UntagResourcesRequest is the request struct for api UntagResources

func CreateUntagResourcesRequest added in v1.62.385

func CreateUntagResourcesRequest() (request *UntagResourcesRequest)

CreateUntagResourcesRequest creates a request to invoke UntagResources API

type UntagResourcesResponse added in v1.62.385

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

UntagResourcesResponse is the response struct for api UntagResources

func CreateUntagResourcesResponse added in v1.62.385

func CreateUntagResourcesResponse() (response *UntagResourcesResponse)

CreateUntagResourcesResponse creates a response to parse from UntagResources response

Jump to

Keyboard shortcuts

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