waf_openapi

package
v1.63.57 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

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 AccessHeaders added in v1.61.1112

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

AccessHeaders is a nested struct in waf_openapi response

type Certificate

type Certificate struct {
	IsUsing         bool     `json:"IsUsing" xml:"IsUsing"`
	CertificateName string   `json:"CertificateName" xml:"CertificateName"`
	CertificateId   int64    `json:"CertificateId" xml:"CertificateId"`
	CommonName      string   `json:"CommonName" xml:"CommonName"`
	EndTime         int64    `json:"EndTime" xml:"EndTime"`
	Sans            []string `json:"Sans" xml:"Sans"`
}

Certificate is a nested struct in waf_openapi response

type Certificates

type Certificates struct {
	Certificate []Certificate `json:"Certificate" xml:"Certificate"`
}

Certificates is a nested struct in waf_openapi 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) CreateCertificate

func (client *Client) CreateCertificate(request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)

CreateCertificate invokes the waf_openapi.CreateCertificate API synchronously

func (*Client) CreateCertificateByCertificateId added in v1.61.82

func (client *Client) CreateCertificateByCertificateId(request *CreateCertificateByCertificateIdRequest) (response *CreateCertificateByCertificateIdResponse, err error)

CreateCertificateByCertificateId invokes the waf_openapi.CreateCertificateByCertificateId API synchronously

func (*Client) CreateCertificateByCertificateIdWithCallback added in v1.61.82

func (client *Client) CreateCertificateByCertificateIdWithCallback(request *CreateCertificateByCertificateIdRequest, callback func(response *CreateCertificateByCertificateIdResponse, err error)) <-chan int

CreateCertificateByCertificateIdWithCallback invokes the waf_openapi.CreateCertificateByCertificateId API asynchronously

func (*Client) CreateCertificateByCertificateIdWithChan added in v1.61.82

func (client *Client) CreateCertificateByCertificateIdWithChan(request *CreateCertificateByCertificateIdRequest) (<-chan *CreateCertificateByCertificateIdResponse, <-chan error)

CreateCertificateByCertificateIdWithChan invokes the waf_openapi.CreateCertificateByCertificateId API asynchronously

func (*Client) CreateCertificateWithCallback

func (client *Client) CreateCertificateWithCallback(request *CreateCertificateRequest, callback func(response *CreateCertificateResponse, err error)) <-chan int

CreateCertificateWithCallback invokes the waf_openapi.CreateCertificate API asynchronously

func (*Client) CreateCertificateWithChan

func (client *Client) CreateCertificateWithChan(request *CreateCertificateRequest) (<-chan *CreateCertificateResponse, <-chan error)

CreateCertificateWithChan invokes the waf_openapi.CreateCertificate API asynchronously

func (*Client) CreateDomain

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

CreateDomain invokes the waf_openapi.CreateDomain API synchronously

func (*Client) CreateDomainWithCallback

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

CreateDomainWithCallback invokes the waf_openapi.CreateDomain API asynchronously

func (*Client) CreateDomainWithChan

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

CreateDomainWithChan invokes the waf_openapi.CreateDomain API asynchronously

func (*Client) CreateProtectionModuleRule

func (client *Client) CreateProtectionModuleRule(request *CreateProtectionModuleRuleRequest) (response *CreateProtectionModuleRuleResponse, err error)

CreateProtectionModuleRule invokes the waf_openapi.CreateProtectionModuleRule API synchronously

func (*Client) CreateProtectionModuleRuleWithCallback

func (client *Client) CreateProtectionModuleRuleWithCallback(request *CreateProtectionModuleRuleRequest, callback func(response *CreateProtectionModuleRuleResponse, err error)) <-chan int

CreateProtectionModuleRuleWithCallback invokes the waf_openapi.CreateProtectionModuleRule API asynchronously

func (*Client) CreateProtectionModuleRuleWithChan

func (client *Client) CreateProtectionModuleRuleWithChan(request *CreateProtectionModuleRuleRequest) (<-chan *CreateProtectionModuleRuleResponse, <-chan error)

CreateProtectionModuleRuleWithChan invokes the waf_openapi.CreateProtectionModuleRule API asynchronously

func (*Client) DeleteDomain

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

DeleteDomain invokes the waf_openapi.DeleteDomain API synchronously

func (*Client) DeleteDomainWithCallback

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

DeleteDomainWithCallback invokes the waf_openapi.DeleteDomain API asynchronously

func (*Client) DeleteDomainWithChan

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

DeleteDomainWithChan invokes the waf_openapi.DeleteDomain API asynchronously

func (*Client) DeleteInstance added in v1.61.153

func (client *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)

DeleteInstance invokes the waf_openapi.DeleteInstance API synchronously

func (*Client) DeleteInstanceWithCallback added in v1.61.153

func (client *Client) DeleteInstanceWithCallback(request *DeleteInstanceRequest, callback func(response *DeleteInstanceResponse, err error)) <-chan int

DeleteInstanceWithCallback invokes the waf_openapi.DeleteInstance API asynchronously

func (*Client) DeleteInstanceWithChan added in v1.61.153

func (client *Client) DeleteInstanceWithChan(request *DeleteInstanceRequest) (<-chan *DeleteInstanceResponse, <-chan error)

DeleteInstanceWithChan invokes the waf_openapi.DeleteInstance API asynchronously

func (*Client) DeleteProtectionModuleRule added in v1.61.629

func (client *Client) DeleteProtectionModuleRule(request *DeleteProtectionModuleRuleRequest) (response *DeleteProtectionModuleRuleResponse, err error)

DeleteProtectionModuleRule invokes the waf_openapi.DeleteProtectionModuleRule API synchronously

func (*Client) DeleteProtectionModuleRuleWithCallback added in v1.61.629

func (client *Client) DeleteProtectionModuleRuleWithCallback(request *DeleteProtectionModuleRuleRequest, callback func(response *DeleteProtectionModuleRuleResponse, err error)) <-chan int

DeleteProtectionModuleRuleWithCallback invokes the waf_openapi.DeleteProtectionModuleRule API asynchronously

func (*Client) DeleteProtectionModuleRuleWithChan added in v1.61.629

func (client *Client) DeleteProtectionModuleRuleWithChan(request *DeleteProtectionModuleRuleRequest) (<-chan *DeleteProtectionModuleRuleResponse, <-chan error)

DeleteProtectionModuleRuleWithChan invokes the waf_openapi.DeleteProtectionModuleRule API asynchronously

func (*Client) DescribeCertMatchStatus

func (client *Client) DescribeCertMatchStatus(request *DescribeCertMatchStatusRequest) (response *DescribeCertMatchStatusResponse, err error)

DescribeCertMatchStatus invokes the waf_openapi.DescribeCertMatchStatus API synchronously

func (*Client) DescribeCertMatchStatusWithCallback

func (client *Client) DescribeCertMatchStatusWithCallback(request *DescribeCertMatchStatusRequest, callback func(response *DescribeCertMatchStatusResponse, err error)) <-chan int

DescribeCertMatchStatusWithCallback invokes the waf_openapi.DescribeCertMatchStatus API asynchronously

func (*Client) DescribeCertMatchStatusWithChan

func (client *Client) DescribeCertMatchStatusWithChan(request *DescribeCertMatchStatusRequest) (<-chan *DescribeCertMatchStatusResponse, <-chan error)

DescribeCertMatchStatusWithChan invokes the waf_openapi.DescribeCertMatchStatus API asynchronously

func (*Client) DescribeCertificates

func (client *Client) DescribeCertificates(request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)

DescribeCertificates invokes the waf_openapi.DescribeCertificates API synchronously

func (*Client) DescribeCertificatesWithCallback

func (client *Client) DescribeCertificatesWithCallback(request *DescribeCertificatesRequest, callback func(response *DescribeCertificatesResponse, err error)) <-chan int

DescribeCertificatesWithCallback invokes the waf_openapi.DescribeCertificates API asynchronously

func (*Client) DescribeCertificatesWithChan

func (client *Client) DescribeCertificatesWithChan(request *DescribeCertificatesRequest) (<-chan *DescribeCertificatesResponse, <-chan error)

DescribeCertificatesWithChan invokes the waf_openapi.DescribeCertificates API asynchronously

func (*Client) DescribeDomain

func (client *Client) DescribeDomain(request *DescribeDomainRequest) (response *DescribeDomainResponse, err error)

DescribeDomain invokes the waf_openapi.DescribeDomain API synchronously

func (*Client) DescribeDomainAdvanceConfigs

func (client *Client) DescribeDomainAdvanceConfigs(request *DescribeDomainAdvanceConfigsRequest) (response *DescribeDomainAdvanceConfigsResponse, err error)

DescribeDomainAdvanceConfigs invokes the waf_openapi.DescribeDomainAdvanceConfigs API synchronously

func (*Client) DescribeDomainAdvanceConfigsWithCallback

func (client *Client) DescribeDomainAdvanceConfigsWithCallback(request *DescribeDomainAdvanceConfigsRequest, callback func(response *DescribeDomainAdvanceConfigsResponse, err error)) <-chan int

DescribeDomainAdvanceConfigsWithCallback invokes the waf_openapi.DescribeDomainAdvanceConfigs API asynchronously

func (*Client) DescribeDomainAdvanceConfigsWithChan

func (client *Client) DescribeDomainAdvanceConfigsWithChan(request *DescribeDomainAdvanceConfigsRequest) (<-chan *DescribeDomainAdvanceConfigsResponse, <-chan error)

DescribeDomainAdvanceConfigsWithChan invokes the waf_openapi.DescribeDomainAdvanceConfigs API asynchronously

func (*Client) DescribeDomainBasicConfigs

func (client *Client) DescribeDomainBasicConfigs(request *DescribeDomainBasicConfigsRequest) (response *DescribeDomainBasicConfigsResponse, err error)

DescribeDomainBasicConfigs invokes the waf_openapi.DescribeDomainBasicConfigs API synchronously

func (*Client) DescribeDomainBasicConfigsWithCallback

func (client *Client) DescribeDomainBasicConfigsWithCallback(request *DescribeDomainBasicConfigsRequest, callback func(response *DescribeDomainBasicConfigsResponse, err error)) <-chan int

DescribeDomainBasicConfigsWithCallback invokes the waf_openapi.DescribeDomainBasicConfigs API asynchronously

func (*Client) DescribeDomainBasicConfigsWithChan

func (client *Client) DescribeDomainBasicConfigsWithChan(request *DescribeDomainBasicConfigsRequest) (<-chan *DescribeDomainBasicConfigsResponse, <-chan error)

DescribeDomainBasicConfigsWithChan invokes the waf_openapi.DescribeDomainBasicConfigs API asynchronously

func (*Client) DescribeDomainList added in v1.61.1112

func (client *Client) DescribeDomainList(request *DescribeDomainListRequest) (response *DescribeDomainListResponse, err error)

DescribeDomainList invokes the waf_openapi.DescribeDomainList API synchronously

func (*Client) DescribeDomainListWithCallback added in v1.61.1112

func (client *Client) DescribeDomainListWithCallback(request *DescribeDomainListRequest, callback func(response *DescribeDomainListResponse, err error)) <-chan int

DescribeDomainListWithCallback invokes the waf_openapi.DescribeDomainList API asynchronously

func (*Client) DescribeDomainListWithChan added in v1.61.1112

func (client *Client) DescribeDomainListWithChan(request *DescribeDomainListRequest) (<-chan *DescribeDomainListResponse, <-chan error)

DescribeDomainListWithChan invokes the waf_openapi.DescribeDomainList API asynchronously

func (*Client) DescribeDomainNames

func (client *Client) DescribeDomainNames(request *DescribeDomainNamesRequest) (response *DescribeDomainNamesResponse, err error)

DescribeDomainNames invokes the waf_openapi.DescribeDomainNames API synchronously

func (*Client) DescribeDomainNamesWithCallback

func (client *Client) DescribeDomainNamesWithCallback(request *DescribeDomainNamesRequest, callback func(response *DescribeDomainNamesResponse, err error)) <-chan int

DescribeDomainNamesWithCallback invokes the waf_openapi.DescribeDomainNames API asynchronously

func (*Client) DescribeDomainNamesWithChan

func (client *Client) DescribeDomainNamesWithChan(request *DescribeDomainNamesRequest) (<-chan *DescribeDomainNamesResponse, <-chan error)

DescribeDomainNamesWithChan invokes the waf_openapi.DescribeDomainNames API asynchronously

func (*Client) DescribeDomainRuleGroup

func (client *Client) DescribeDomainRuleGroup(request *DescribeDomainRuleGroupRequest) (response *DescribeDomainRuleGroupResponse, err error)

DescribeDomainRuleGroup invokes the waf_openapi.DescribeDomainRuleGroup API synchronously

func (*Client) DescribeDomainRuleGroupWithCallback

func (client *Client) DescribeDomainRuleGroupWithCallback(request *DescribeDomainRuleGroupRequest, callback func(response *DescribeDomainRuleGroupResponse, err error)) <-chan int

DescribeDomainRuleGroupWithCallback invokes the waf_openapi.DescribeDomainRuleGroup API asynchronously

func (*Client) DescribeDomainRuleGroupWithChan

func (client *Client) DescribeDomainRuleGroupWithChan(request *DescribeDomainRuleGroupRequest) (<-chan *DescribeDomainRuleGroupResponse, <-chan error)

DescribeDomainRuleGroupWithChan invokes the waf_openapi.DescribeDomainRuleGroup API asynchronously

func (*Client) DescribeDomainWithCallback

func (client *Client) DescribeDomainWithCallback(request *DescribeDomainRequest, callback func(response *DescribeDomainResponse, err error)) <-chan int

DescribeDomainWithCallback invokes the waf_openapi.DescribeDomain API asynchronously

func (*Client) DescribeDomainWithChan

func (client *Client) DescribeDomainWithChan(request *DescribeDomainRequest) (<-chan *DescribeDomainResponse, <-chan error)

DescribeDomainWithChan invokes the waf_openapi.DescribeDomain API asynchronously

func (*Client) DescribeInstanceInfo

func (client *Client) DescribeInstanceInfo(request *DescribeInstanceInfoRequest) (response *DescribeInstanceInfoResponse, err error)

DescribeInstanceInfo invokes the waf_openapi.DescribeInstanceInfo API synchronously

func (*Client) DescribeInstanceInfoWithCallback

func (client *Client) DescribeInstanceInfoWithCallback(request *DescribeInstanceInfoRequest, callback func(response *DescribeInstanceInfoResponse, err error)) <-chan int

DescribeInstanceInfoWithCallback invokes the waf_openapi.DescribeInstanceInfo API asynchronously

func (*Client) DescribeInstanceInfoWithChan

func (client *Client) DescribeInstanceInfoWithChan(request *DescribeInstanceInfoRequest) (<-chan *DescribeInstanceInfoResponse, <-chan error)

DescribeInstanceInfoWithChan invokes the waf_openapi.DescribeInstanceInfo API asynchronously

func (*Client) DescribeInstanceSpecInfo

func (client *Client) DescribeInstanceSpecInfo(request *DescribeInstanceSpecInfoRequest) (response *DescribeInstanceSpecInfoResponse, err error)

DescribeInstanceSpecInfo invokes the waf_openapi.DescribeInstanceSpecInfo API synchronously

func (*Client) DescribeInstanceSpecInfoWithCallback

func (client *Client) DescribeInstanceSpecInfoWithCallback(request *DescribeInstanceSpecInfoRequest, callback func(response *DescribeInstanceSpecInfoResponse, err error)) <-chan int

DescribeInstanceSpecInfoWithCallback invokes the waf_openapi.DescribeInstanceSpecInfo API asynchronously

func (*Client) DescribeInstanceSpecInfoWithChan

func (client *Client) DescribeInstanceSpecInfoWithChan(request *DescribeInstanceSpecInfoRequest) (<-chan *DescribeInstanceSpecInfoResponse, <-chan error)

DescribeInstanceSpecInfoWithChan invokes the waf_openapi.DescribeInstanceSpecInfo API asynchronously

func (*Client) DescribeLogServiceStatus added in v1.61.1112

func (client *Client) DescribeLogServiceStatus(request *DescribeLogServiceStatusRequest) (response *DescribeLogServiceStatusResponse, err error)

DescribeLogServiceStatus invokes the waf_openapi.DescribeLogServiceStatus API synchronously

func (*Client) DescribeLogServiceStatusWithCallback added in v1.61.1112

func (client *Client) DescribeLogServiceStatusWithCallback(request *DescribeLogServiceStatusRequest, callback func(response *DescribeLogServiceStatusResponse, err error)) <-chan int

DescribeLogServiceStatusWithCallback invokes the waf_openapi.DescribeLogServiceStatus API asynchronously

func (*Client) DescribeLogServiceStatusWithChan added in v1.61.1112

func (client *Client) DescribeLogServiceStatusWithChan(request *DescribeLogServiceStatusRequest) (<-chan *DescribeLogServiceStatusResponse, <-chan error)

DescribeLogServiceStatusWithChan invokes the waf_openapi.DescribeLogServiceStatus API asynchronously

func (*Client) DescribeProtectionModuleCodeConfig added in v1.61.874

func (client *Client) DescribeProtectionModuleCodeConfig(request *DescribeProtectionModuleCodeConfigRequest) (response *DescribeProtectionModuleCodeConfigResponse, err error)

DescribeProtectionModuleCodeConfig invokes the waf_openapi.DescribeProtectionModuleCodeConfig API synchronously

func (*Client) DescribeProtectionModuleCodeConfigWithCallback added in v1.61.874

func (client *Client) DescribeProtectionModuleCodeConfigWithCallback(request *DescribeProtectionModuleCodeConfigRequest, callback func(response *DescribeProtectionModuleCodeConfigResponse, err error)) <-chan int

DescribeProtectionModuleCodeConfigWithCallback invokes the waf_openapi.DescribeProtectionModuleCodeConfig API asynchronously

func (*Client) DescribeProtectionModuleCodeConfigWithChan added in v1.61.874

func (client *Client) DescribeProtectionModuleCodeConfigWithChan(request *DescribeProtectionModuleCodeConfigRequest) (<-chan *DescribeProtectionModuleCodeConfigResponse, <-chan error)

DescribeProtectionModuleCodeConfigWithChan invokes the waf_openapi.DescribeProtectionModuleCodeConfig API asynchronously

func (*Client) DescribeProtectionModuleMode

func (client *Client) DescribeProtectionModuleMode(request *DescribeProtectionModuleModeRequest) (response *DescribeProtectionModuleModeResponse, err error)

DescribeProtectionModuleMode invokes the waf_openapi.DescribeProtectionModuleMode API synchronously

func (*Client) DescribeProtectionModuleModeWithCallback

func (client *Client) DescribeProtectionModuleModeWithCallback(request *DescribeProtectionModuleModeRequest, callback func(response *DescribeProtectionModuleModeResponse, err error)) <-chan int

DescribeProtectionModuleModeWithCallback invokes the waf_openapi.DescribeProtectionModuleMode API asynchronously

func (*Client) DescribeProtectionModuleModeWithChan

func (client *Client) DescribeProtectionModuleModeWithChan(request *DescribeProtectionModuleModeRequest) (<-chan *DescribeProtectionModuleModeResponse, <-chan error)

DescribeProtectionModuleModeWithChan invokes the waf_openapi.DescribeProtectionModuleMode API asynchronously

func (*Client) DescribeProtectionModuleRules

func (client *Client) DescribeProtectionModuleRules(request *DescribeProtectionModuleRulesRequest) (response *DescribeProtectionModuleRulesResponse, err error)

DescribeProtectionModuleRules invokes the waf_openapi.DescribeProtectionModuleRules API synchronously

func (*Client) DescribeProtectionModuleRulesWithCallback

func (client *Client) DescribeProtectionModuleRulesWithCallback(request *DescribeProtectionModuleRulesRequest, callback func(response *DescribeProtectionModuleRulesResponse, err error)) <-chan int

DescribeProtectionModuleRulesWithCallback invokes the waf_openapi.DescribeProtectionModuleRules API asynchronously

func (*Client) DescribeProtectionModuleRulesWithChan

func (client *Client) DescribeProtectionModuleRulesWithChan(request *DescribeProtectionModuleRulesRequest) (<-chan *DescribeProtectionModuleRulesResponse, <-chan error)

DescribeProtectionModuleRulesWithChan invokes the waf_openapi.DescribeProtectionModuleRules API asynchronously

func (*Client) DescribeProtectionModuleStatus

func (client *Client) DescribeProtectionModuleStatus(request *DescribeProtectionModuleStatusRequest) (response *DescribeProtectionModuleStatusResponse, err error)

DescribeProtectionModuleStatus invokes the waf_openapi.DescribeProtectionModuleStatus API synchronously

func (*Client) DescribeProtectionModuleStatusWithCallback

func (client *Client) DescribeProtectionModuleStatusWithCallback(request *DescribeProtectionModuleStatusRequest, callback func(response *DescribeProtectionModuleStatusResponse, err error)) <-chan int

DescribeProtectionModuleStatusWithCallback invokes the waf_openapi.DescribeProtectionModuleStatus API asynchronously

func (*Client) DescribeProtectionModuleStatusWithChan

func (client *Client) DescribeProtectionModuleStatusWithChan(request *DescribeProtectionModuleStatusRequest) (<-chan *DescribeProtectionModuleStatusResponse, <-chan error)

DescribeProtectionModuleStatusWithChan invokes the waf_openapi.DescribeProtectionModuleStatus API asynchronously

func (*Client) DescribeRuleGroups added in v1.62.735

func (client *Client) DescribeRuleGroups(request *DescribeRuleGroupsRequest) (response *DescribeRuleGroupsResponse, err error)

DescribeRuleGroups invokes the waf_openapi.DescribeRuleGroups API synchronously

func (*Client) DescribeRuleGroupsWithCallback added in v1.62.735

func (client *Client) DescribeRuleGroupsWithCallback(request *DescribeRuleGroupsRequest, callback func(response *DescribeRuleGroupsResponse, err error)) <-chan int

DescribeRuleGroupsWithCallback invokes the waf_openapi.DescribeRuleGroups API asynchronously

func (*Client) DescribeRuleGroupsWithChan added in v1.62.735

func (client *Client) DescribeRuleGroupsWithChan(request *DescribeRuleGroupsRequest) (<-chan *DescribeRuleGroupsResponse, <-chan error)

DescribeRuleGroupsWithChan invokes the waf_openapi.DescribeRuleGroups API asynchronously

func (*Client) DescribeRules added in v1.62.735

func (client *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)

DescribeRules invokes the waf_openapi.DescribeRules API synchronously

func (*Client) DescribeRulesWithCallback added in v1.62.735

func (client *Client) DescribeRulesWithCallback(request *DescribeRulesRequest, callback func(response *DescribeRulesResponse, err error)) <-chan int

DescribeRulesWithCallback invokes the waf_openapi.DescribeRules API asynchronously

func (*Client) DescribeRulesWithChan added in v1.62.735

func (client *Client) DescribeRulesWithChan(request *DescribeRulesRequest) (<-chan *DescribeRulesResponse, <-chan error)

DescribeRulesWithChan invokes the waf_openapi.DescribeRules API asynchronously

func (*Client) DescribeWafSourceIpSegment added in v1.61.768

func (client *Client) DescribeWafSourceIpSegment(request *DescribeWafSourceIpSegmentRequest) (response *DescribeWafSourceIpSegmentResponse, err error)

DescribeWafSourceIpSegment invokes the waf_openapi.DescribeWafSourceIpSegment API synchronously

func (*Client) DescribeWafSourceIpSegmentWithCallback added in v1.61.768

func (client *Client) DescribeWafSourceIpSegmentWithCallback(request *DescribeWafSourceIpSegmentRequest, callback func(response *DescribeWafSourceIpSegmentResponse, err error)) <-chan int

DescribeWafSourceIpSegmentWithCallback invokes the waf_openapi.DescribeWafSourceIpSegment API asynchronously

func (*Client) DescribeWafSourceIpSegmentWithChan added in v1.61.768

func (client *Client) DescribeWafSourceIpSegmentWithChan(request *DescribeWafSourceIpSegmentRequest) (<-chan *DescribeWafSourceIpSegmentResponse, <-chan error)

DescribeWafSourceIpSegmentWithChan invokes the waf_openapi.DescribeWafSourceIpSegment API asynchronously

func (*Client) ModifyDomain

func (client *Client) ModifyDomain(request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)

ModifyDomain invokes the waf_openapi.ModifyDomain API synchronously

func (*Client) ModifyDomainIpv6Status

func (client *Client) ModifyDomainIpv6Status(request *ModifyDomainIpv6StatusRequest) (response *ModifyDomainIpv6StatusResponse, err error)

ModifyDomainIpv6Status invokes the waf_openapi.ModifyDomainIpv6Status API synchronously

func (*Client) ModifyDomainIpv6StatusWithCallback

func (client *Client) ModifyDomainIpv6StatusWithCallback(request *ModifyDomainIpv6StatusRequest, callback func(response *ModifyDomainIpv6StatusResponse, err error)) <-chan int

ModifyDomainIpv6StatusWithCallback invokes the waf_openapi.ModifyDomainIpv6Status API asynchronously

func (*Client) ModifyDomainIpv6StatusWithChan

func (client *Client) ModifyDomainIpv6StatusWithChan(request *ModifyDomainIpv6StatusRequest) (<-chan *ModifyDomainIpv6StatusResponse, <-chan error)

ModifyDomainIpv6StatusWithChan invokes the waf_openapi.ModifyDomainIpv6Status API asynchronously

func (*Client) ModifyDomainWithCallback

func (client *Client) ModifyDomainWithCallback(request *ModifyDomainRequest, callback func(response *ModifyDomainResponse, err error)) <-chan int

ModifyDomainWithCallback invokes the waf_openapi.ModifyDomain API asynchronously

func (*Client) ModifyDomainWithChan

func (client *Client) ModifyDomainWithChan(request *ModifyDomainRequest) (<-chan *ModifyDomainResponse, <-chan error)

ModifyDomainWithChan invokes the waf_openapi.ModifyDomain API asynchronously

func (*Client) ModifyLogRetrievalStatus

func (client *Client) ModifyLogRetrievalStatus(request *ModifyLogRetrievalStatusRequest) (response *ModifyLogRetrievalStatusResponse, err error)

ModifyLogRetrievalStatus invokes the waf_openapi.ModifyLogRetrievalStatus API synchronously

func (*Client) ModifyLogRetrievalStatusWithCallback

func (client *Client) ModifyLogRetrievalStatusWithCallback(request *ModifyLogRetrievalStatusRequest, callback func(response *ModifyLogRetrievalStatusResponse, err error)) <-chan int

ModifyLogRetrievalStatusWithCallback invokes the waf_openapi.ModifyLogRetrievalStatus API asynchronously

func (*Client) ModifyLogRetrievalStatusWithChan

func (client *Client) ModifyLogRetrievalStatusWithChan(request *ModifyLogRetrievalStatusRequest) (<-chan *ModifyLogRetrievalStatusResponse, <-chan error)

ModifyLogRetrievalStatusWithChan invokes the waf_openapi.ModifyLogRetrievalStatus API asynchronously

func (*Client) ModifyLogServiceStatus

func (client *Client) ModifyLogServiceStatus(request *ModifyLogServiceStatusRequest) (response *ModifyLogServiceStatusResponse, err error)

ModifyLogServiceStatus invokes the waf_openapi.ModifyLogServiceStatus API synchronously

func (*Client) ModifyLogServiceStatusWithCallback

func (client *Client) ModifyLogServiceStatusWithCallback(request *ModifyLogServiceStatusRequest, callback func(response *ModifyLogServiceStatusResponse, err error)) <-chan int

ModifyLogServiceStatusWithCallback invokes the waf_openapi.ModifyLogServiceStatus API asynchronously

func (*Client) ModifyLogServiceStatusWithChan

func (client *Client) ModifyLogServiceStatusWithChan(request *ModifyLogServiceStatusRequest) (<-chan *ModifyLogServiceStatusResponse, <-chan error)

ModifyLogServiceStatusWithChan invokes the waf_openapi.ModifyLogServiceStatus API asynchronously

func (*Client) ModifyProtectionModuleMode

func (client *Client) ModifyProtectionModuleMode(request *ModifyProtectionModuleModeRequest) (response *ModifyProtectionModuleModeResponse, err error)

ModifyProtectionModuleMode invokes the waf_openapi.ModifyProtectionModuleMode API synchronously

func (*Client) ModifyProtectionModuleModeWithCallback

func (client *Client) ModifyProtectionModuleModeWithCallback(request *ModifyProtectionModuleModeRequest, callback func(response *ModifyProtectionModuleModeResponse, err error)) <-chan int

ModifyProtectionModuleModeWithCallback invokes the waf_openapi.ModifyProtectionModuleMode API asynchronously

func (*Client) ModifyProtectionModuleModeWithChan

func (client *Client) ModifyProtectionModuleModeWithChan(request *ModifyProtectionModuleModeRequest) (<-chan *ModifyProtectionModuleModeResponse, <-chan error)

ModifyProtectionModuleModeWithChan invokes the waf_openapi.ModifyProtectionModuleMode API asynchronously

func (*Client) ModifyProtectionModuleRule

func (client *Client) ModifyProtectionModuleRule(request *ModifyProtectionModuleRuleRequest) (response *ModifyProtectionModuleRuleResponse, err error)

ModifyProtectionModuleRule invokes the waf_openapi.ModifyProtectionModuleRule API synchronously

func (*Client) ModifyProtectionModuleRuleWithCallback

func (client *Client) ModifyProtectionModuleRuleWithCallback(request *ModifyProtectionModuleRuleRequest, callback func(response *ModifyProtectionModuleRuleResponse, err error)) <-chan int

ModifyProtectionModuleRuleWithCallback invokes the waf_openapi.ModifyProtectionModuleRule API asynchronously

func (*Client) ModifyProtectionModuleRuleWithChan

func (client *Client) ModifyProtectionModuleRuleWithChan(request *ModifyProtectionModuleRuleRequest) (<-chan *ModifyProtectionModuleRuleResponse, <-chan error)

ModifyProtectionModuleRuleWithChan invokes the waf_openapi.ModifyProtectionModuleRule API asynchronously

func (*Client) ModifyProtectionModuleStatus

func (client *Client) ModifyProtectionModuleStatus(request *ModifyProtectionModuleStatusRequest) (response *ModifyProtectionModuleStatusResponse, err error)

ModifyProtectionModuleStatus invokes the waf_openapi.ModifyProtectionModuleStatus API synchronously

func (*Client) ModifyProtectionModuleStatusWithCallback

func (client *Client) ModifyProtectionModuleStatusWithCallback(request *ModifyProtectionModuleStatusRequest, callback func(response *ModifyProtectionModuleStatusResponse, err error)) <-chan int

ModifyProtectionModuleStatusWithCallback invokes the waf_openapi.ModifyProtectionModuleStatus API asynchronously

func (*Client) ModifyProtectionModuleStatusWithChan

func (client *Client) ModifyProtectionModuleStatusWithChan(request *ModifyProtectionModuleStatusRequest) (<-chan *ModifyProtectionModuleStatusResponse, <-chan error)

ModifyProtectionModuleStatusWithChan invokes the waf_openapi.ModifyProtectionModuleStatus API asynchronously

func (*Client) ModifyProtectionRuleCacheStatus

func (client *Client) ModifyProtectionRuleCacheStatus(request *ModifyProtectionRuleCacheStatusRequest) (response *ModifyProtectionRuleCacheStatusResponse, err error)

ModifyProtectionRuleCacheStatus invokes the waf_openapi.ModifyProtectionRuleCacheStatus API synchronously

func (*Client) ModifyProtectionRuleCacheStatusWithCallback

func (client *Client) ModifyProtectionRuleCacheStatusWithCallback(request *ModifyProtectionRuleCacheStatusRequest, callback func(response *ModifyProtectionRuleCacheStatusResponse, err error)) <-chan int

ModifyProtectionRuleCacheStatusWithCallback invokes the waf_openapi.ModifyProtectionRuleCacheStatus API asynchronously

func (*Client) ModifyProtectionRuleCacheStatusWithChan

func (client *Client) ModifyProtectionRuleCacheStatusWithChan(request *ModifyProtectionRuleCacheStatusRequest) (<-chan *ModifyProtectionRuleCacheStatusResponse, <-chan error)

ModifyProtectionRuleCacheStatusWithChan invokes the waf_openapi.ModifyProtectionRuleCacheStatus API asynchronously

func (*Client) ModifyProtectionRuleStatus

func (client *Client) ModifyProtectionRuleStatus(request *ModifyProtectionRuleStatusRequest) (response *ModifyProtectionRuleStatusResponse, err error)

ModifyProtectionRuleStatus invokes the waf_openapi.ModifyProtectionRuleStatus API synchronously

func (*Client) ModifyProtectionRuleStatusWithCallback

func (client *Client) ModifyProtectionRuleStatusWithCallback(request *ModifyProtectionRuleStatusRequest, callback func(response *ModifyProtectionRuleStatusResponse, err error)) <-chan int

ModifyProtectionRuleStatusWithCallback invokes the waf_openapi.ModifyProtectionRuleStatus API asynchronously

func (*Client) ModifyProtectionRuleStatusWithChan

func (client *Client) ModifyProtectionRuleStatusWithChan(request *ModifyProtectionRuleStatusRequest) (<-chan *ModifyProtectionRuleStatusResponse, <-chan error)

ModifyProtectionRuleStatusWithChan invokes the waf_openapi.ModifyProtectionRuleStatus API asynchronously

func (*Client) MoveResourceGroup added in v1.61.1293

func (client *Client) MoveResourceGroup(request *MoveResourceGroupRequest) (response *MoveResourceGroupResponse, err error)

MoveResourceGroup invokes the waf_openapi.MoveResourceGroup API synchronously

func (*Client) MoveResourceGroupWithCallback added in v1.61.1293

func (client *Client) MoveResourceGroupWithCallback(request *MoveResourceGroupRequest, callback func(response *MoveResourceGroupResponse, err error)) <-chan int

MoveResourceGroupWithCallback invokes the waf_openapi.MoveResourceGroup API asynchronously

func (*Client) MoveResourceGroupWithChan added in v1.61.1293

func (client *Client) MoveResourceGroupWithChan(request *MoveResourceGroupRequest) (<-chan *MoveResourceGroupResponse, <-chan error)

MoveResourceGroupWithChan invokes the waf_openapi.MoveResourceGroup API asynchronously

func (*Client) SetDomainRuleGroup

func (client *Client) SetDomainRuleGroup(request *SetDomainRuleGroupRequest) (response *SetDomainRuleGroupResponse, err error)

SetDomainRuleGroup invokes the waf_openapi.SetDomainRuleGroup API synchronously

func (*Client) SetDomainRuleGroupWithCallback

func (client *Client) SetDomainRuleGroupWithCallback(request *SetDomainRuleGroupRequest, callback func(response *SetDomainRuleGroupResponse, err error)) <-chan int

SetDomainRuleGroupWithCallback invokes the waf_openapi.SetDomainRuleGroup API asynchronously

func (*Client) SetDomainRuleGroupWithChan

func (client *Client) SetDomainRuleGroupWithChan(request *SetDomainRuleGroupRequest) (<-chan *SetDomainRuleGroupResponse, <-chan error)

SetDomainRuleGroupWithChan invokes the waf_openapi.SetDomainRuleGroup API asynchronously

type CloudNativeInstances added in v1.61.629

type CloudNativeInstances struct {
	CloudNativeInstancesItem []CloudNativeInstancesItem `json:"CloudNativeInstances" xml:"CloudNativeInstances"`
}

CloudNativeInstances is a nested struct in waf_openapi response

type CloudNativeInstancesItem added in v1.61.629

type CloudNativeInstancesItem struct {
	RedirectionTypeName    string                    `json:"RedirectionTypeName" xml:"RedirectionTypeName"`
	CloudNativeProductName string                    `json:"CloudNativeProductName" xml:"CloudNativeProductName"`
	InstanceId             string                    `json:"InstanceId" xml:"InstanceId"`
	IPAddressList          []string                  `json:"IPAddressList" xml:"IPAddressList"`
	ProtocolPortConfigs    []ProtocolPortConfigsItem `json:"ProtocolPortConfigs" xml:"ProtocolPortConfigs"`
}

CloudNativeInstancesItem is a nested struct in waf_openapi response

type CreateCertificateByCertificateIdRequest added in v1.61.82

type CreateCertificateByCertificateIdRequest struct {
	*requests.RpcRequest
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	CertificateId   requests.Integer `position:"Query" name:"CertificateId"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
}

CreateCertificateByCertificateIdRequest is the request struct for api CreateCertificateByCertificateId

func CreateCreateCertificateByCertificateIdRequest added in v1.61.82

func CreateCreateCertificateByCertificateIdRequest() (request *CreateCertificateByCertificateIdRequest)

CreateCreateCertificateByCertificateIdRequest creates a request to invoke CreateCertificateByCertificateId API

type CreateCertificateByCertificateIdResponse added in v1.61.82

type CreateCertificateByCertificateIdResponse struct {
	*responses.BaseResponse
	CertificateId int64  `json:"CertificateId" xml:"CertificateId"`
	RequestId     string `json:"RequestId" xml:"RequestId"`
}

CreateCertificateByCertificateIdResponse is the response struct for api CreateCertificateByCertificateId

func CreateCreateCertificateByCertificateIdResponse added in v1.61.82

func CreateCreateCertificateByCertificateIdResponse() (response *CreateCertificateByCertificateIdResponse)

CreateCreateCertificateByCertificateIdResponse creates a response to parse from CreateCertificateByCertificateId response

type CreateCertificateRequest

type CreateCertificateRequest struct {
	*requests.RpcRequest
	Certificate     string `position:"Query" name:"Certificate"`
	PrivateKey      string `position:"Query" name:"PrivateKey"`
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
	CertificateName string `position:"Query" name:"CertificateName"`
}

CreateCertificateRequest is the request struct for api CreateCertificate

func CreateCreateCertificateRequest

func CreateCreateCertificateRequest() (request *CreateCertificateRequest)

CreateCreateCertificateRequest creates a request to invoke CreateCertificate API

type CreateCertificateResponse

type CreateCertificateResponse struct {
	*responses.BaseResponse
	CertificateId int64  `json:"CertificateId" xml:"CertificateId"`
	RequestId     string `json:"RequestId" xml:"RequestId"`
}

CreateCertificateResponse is the response struct for api CreateCertificate

func CreateCreateCertificateResponse

func CreateCreateCertificateResponse() (response *CreateCertificateResponse)

CreateCreateCertificateResponse creates a response to parse from CreateCertificate response

type CreateDomainRequest

type CreateDomainRequest struct {
	*requests.RpcRequest
	IpFollowStatus       requests.Integer `position:"Query" name:"IpFollowStatus"`
	Keepalive            requests.Boolean `position:"Query" name:"Keepalive"`
	SniHost              string           `position:"Query" name:"SniHost"`
	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
	SourceIp             string           `position:"Query" name:"SourceIp"`
	HttpPort             string           `position:"Query" name:"HttpPort"`
	Http2Port            string           `position:"Query" name:"Http2Port"`
	WriteTime            requests.Integer `position:"Query" name:"WriteTime"`
	AccessHeaderMode     requests.Integer `position:"Query" name:"AccessHeaderMode"`
	AccessHeaders        string           `position:"Query" name:"AccessHeaders"`
	KeepaliveTimeout     requests.Integer `position:"Query" name:"KeepaliveTimeout"`
	ClusterType          requests.Integer `position:"Query" name:"ClusterType"`
	HttpsRedirect        requests.Integer `position:"Query" name:"HttpsRedirect"`
	InstanceId           string           `position:"Query" name:"InstanceId"`
	Domain               string           `position:"Query" name:"Domain"`
	ReadTime             requests.Integer `position:"Query" name:"ReadTime"`
	HttpsPort            string           `position:"Query" name:"HttpsPort"`
	SniStatus            requests.Integer `position:"Query" name:"SniStatus"`
	Lang                 string           `position:"Query" name:"Lang"`
	Retry                requests.Boolean `position:"Query" name:"Retry"`
	KeepaliveRequests    requests.Integer `position:"Query" name:"KeepaliveRequests"`
	AccessType           string           `position:"Query" name:"AccessType"`
	LogHeaders           string           `position:"Query" name:"LogHeaders"`
	ConnectionTime       requests.Integer `position:"Query" name:"ConnectionTime"`
	CloudNativeInstances string           `position:"Query" name:"CloudNativeInstances"`
	SourceIps            string           `position:"Query" name:"SourceIps"`
	IsAccessProduct      requests.Integer `position:"Query" name:"IsAccessProduct"`
	LoadBalancing        requests.Integer `position:"Query" name:"LoadBalancing"`
	HttpToUserIp         requests.Integer `position:"Query" name:"HttpToUserIp"`
}

CreateDomainRequest is the request struct for api CreateDomain

func CreateCreateDomainRequest

func CreateCreateDomainRequest() (request *CreateDomainRequest)

CreateCreateDomainRequest creates a request to invoke CreateDomain API

type CreateDomainResponse

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

CreateDomainResponse is the response struct for api CreateDomain

func CreateCreateDomainResponse

func CreateCreateDomainResponse() (response *CreateDomainResponse)

CreateCreateDomainResponse creates a response to parse from CreateDomain response

type CreateProtectionModuleRuleRequest

type CreateProtectionModuleRuleRequest struct {
	*requests.RpcRequest
	Rule            string `position:"Query" name:"Rule"`
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	DefenseType     string `position:"Query" name:"DefenseType"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

CreateProtectionModuleRuleRequest is the request struct for api CreateProtectionModuleRule

func CreateCreateProtectionModuleRuleRequest

func CreateCreateProtectionModuleRuleRequest() (request *CreateProtectionModuleRuleRequest)

CreateCreateProtectionModuleRuleRequest creates a request to invoke CreateProtectionModuleRule API

type CreateProtectionModuleRuleResponse

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

CreateProtectionModuleRuleResponse is the response struct for api CreateProtectionModuleRule

func CreateCreateProtectionModuleRuleResponse

func CreateCreateProtectionModuleRuleResponse() (response *CreateProtectionModuleRuleResponse)

CreateCreateProtectionModuleRuleResponse creates a response to parse from CreateProtectionModuleRule response

type DeleteDomainRequest

type DeleteDomainRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

DeleteDomainRequest is the request struct for api DeleteDomain

func CreateDeleteDomainRequest

func CreateDeleteDomainRequest() (request *DeleteDomainRequest)

CreateDeleteDomainRequest creates a request to invoke DeleteDomain API

type DeleteDomainResponse

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

DeleteDomainResponse is the response struct for api DeleteDomain

func CreateDeleteDomainResponse

func CreateDeleteDomainResponse() (response *DeleteDomainResponse)

CreateDeleteDomainResponse creates a response to parse from DeleteDomain response

type DeleteInstanceRequest added in v1.61.153

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

DeleteInstanceRequest is the request struct for api DeleteInstance

func CreateDeleteInstanceRequest added in v1.61.153

func CreateDeleteInstanceRequest() (request *DeleteInstanceRequest)

CreateDeleteInstanceRequest creates a request to invoke DeleteInstance API

type DeleteInstanceResponse added in v1.61.153

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

DeleteInstanceResponse is the response struct for api DeleteInstance

func CreateDeleteInstanceResponse added in v1.61.153

func CreateDeleteInstanceResponse() (response *DeleteInstanceResponse)

CreateDeleteInstanceResponse creates a response to parse from DeleteInstance response

type DeleteProtectionModuleRuleRequest added in v1.61.629

type DeleteProtectionModuleRuleRequest struct {
	*requests.RpcRequest
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	DefenseType     string           `position:"Query" name:"DefenseType"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
	RuleId          requests.Integer `position:"Query" name:"RuleId"`
}

DeleteProtectionModuleRuleRequest is the request struct for api DeleteProtectionModuleRule

func CreateDeleteProtectionModuleRuleRequest added in v1.61.629

func CreateDeleteProtectionModuleRuleRequest() (request *DeleteProtectionModuleRuleRequest)

CreateDeleteProtectionModuleRuleRequest creates a request to invoke DeleteProtectionModuleRule API

type DeleteProtectionModuleRuleResponse added in v1.61.629

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

DeleteProtectionModuleRuleResponse is the response struct for api DeleteProtectionModuleRule

func CreateDeleteProtectionModuleRuleResponse added in v1.61.629

func CreateDeleteProtectionModuleRuleResponse() (response *DeleteProtectionModuleRuleResponse)

CreateDeleteProtectionModuleRuleResponse creates a response to parse from DeleteProtectionModuleRule response

type DescribeCertMatchStatusRequest

type DescribeCertMatchStatusRequest struct {
	*requests.RpcRequest
	Certificate     string `position:"Query" name:"Certificate"`
	PrivateKey      string `position:"Query" name:"PrivateKey"`
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

DescribeCertMatchStatusRequest is the request struct for api DescribeCertMatchStatus

func CreateDescribeCertMatchStatusRequest

func CreateDescribeCertMatchStatusRequest() (request *DescribeCertMatchStatusRequest)

CreateDescribeCertMatchStatusRequest creates a request to invoke DescribeCertMatchStatus API

type DescribeCertMatchStatusResponse

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

DescribeCertMatchStatusResponse is the response struct for api DescribeCertMatchStatus

func CreateDescribeCertMatchStatusResponse

func CreateDescribeCertMatchStatusResponse() (response *DescribeCertMatchStatusResponse)

CreateDescribeCertMatchStatusResponse creates a response to parse from DescribeCertMatchStatus response

type DescribeCertificatesRequest

type DescribeCertificatesRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

DescribeCertificatesRequest is the request struct for api DescribeCertificates

func CreateDescribeCertificatesRequest

func CreateDescribeCertificatesRequest() (request *DescribeCertificatesRequest)

CreateDescribeCertificatesRequest creates a request to invoke DescribeCertificates API

type DescribeCertificatesResponse

type DescribeCertificatesResponse struct {
	*responses.BaseResponse
	RequestId    string        `json:"RequestId" xml:"RequestId"`
	Certificates []Certificate `json:"Certificates" xml:"Certificates"`
}

DescribeCertificatesResponse is the response struct for api DescribeCertificates

func CreateDescribeCertificatesResponse

func CreateDescribeCertificatesResponse() (response *DescribeCertificatesResponse)

CreateDescribeCertificatesResponse creates a response to parse from DescribeCertificates response

type DescribeDomainAdvanceConfigsRequest

type DescribeDomainAdvanceConfigsRequest struct {
	*requests.RpcRequest
	DomainList      string `position:"Query" name:"DomainList"`
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
}

DescribeDomainAdvanceConfigsRequest is the request struct for api DescribeDomainAdvanceConfigs

func CreateDescribeDomainAdvanceConfigsRequest

func CreateDescribeDomainAdvanceConfigsRequest() (request *DescribeDomainAdvanceConfigsRequest)

CreateDescribeDomainAdvanceConfigsRequest creates a request to invoke DescribeDomainAdvanceConfigs API

type DescribeDomainAdvanceConfigsResponse

type DescribeDomainAdvanceConfigsResponse struct {
	*responses.BaseResponse
	RequestId     string         `json:"RequestId" xml:"RequestId"`
	DomainConfigs []DomainConfig `json:"DomainConfigs" xml:"DomainConfigs"`
}

DescribeDomainAdvanceConfigsResponse is the response struct for api DescribeDomainAdvanceConfigs

func CreateDescribeDomainAdvanceConfigsResponse

func CreateDescribeDomainAdvanceConfigsResponse() (response *DescribeDomainAdvanceConfigsResponse)

CreateDescribeDomainAdvanceConfigsResponse creates a response to parse from DescribeDomainAdvanceConfigs response

type DescribeDomainBasicConfigsRequest

type DescribeDomainBasicConfigsRequest 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"`
	Lang                 string           `position:"Query" name:"Lang"`
	AccessType           string           `position:"Query" name:"AccessType"`
	CloudNativeProductId requests.Integer `position:"Query" name:"CloudNativeProductId"`
	InstanceId           string           `position:"Query" name:"InstanceId"`
	DomainKey            string           `position:"Query" name:"DomainKey"`
}

DescribeDomainBasicConfigsRequest is the request struct for api DescribeDomainBasicConfigs

func CreateDescribeDomainBasicConfigsRequest

func CreateDescribeDomainBasicConfigsRequest() (request *DescribeDomainBasicConfigsRequest)

CreateDescribeDomainBasicConfigsRequest creates a request to invoke DescribeDomainBasicConfigs API

type DescribeDomainBasicConfigsResponse

type DescribeDomainBasicConfigsResponse struct {
	*responses.BaseResponse
	TotalCount    int            `json:"TotalCount" xml:"TotalCount"`
	RequestId     string         `json:"RequestId" xml:"RequestId"`
	DomainConfigs []DomainConfig `json:"DomainConfigs" xml:"DomainConfigs"`
}

DescribeDomainBasicConfigsResponse is the response struct for api DescribeDomainBasicConfigs

func CreateDescribeDomainBasicConfigsResponse

func CreateDescribeDomainBasicConfigsResponse() (response *DescribeDomainBasicConfigsResponse)

CreateDescribeDomainBasicConfigsResponse creates a response to parse from DescribeDomainBasicConfigs response

type DescribeDomainListRequest added in v1.61.1112

type DescribeDomainListRequest struct {
	*requests.RpcRequest
	DomainNames     *[]string        `position:"Query" name:"DomainNames"  type:"Repeated"`
	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"`
	DomainName      string           `position:"Query" name:"DomainName"`
	IsSub           requests.Integer `position:"Query" name:"IsSub"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
}

DescribeDomainListRequest is the request struct for api DescribeDomainList

func CreateDescribeDomainListRequest added in v1.61.1112

func CreateDescribeDomainListRequest() (request *DescribeDomainListRequest)

CreateDescribeDomainListRequest creates a request to invoke DescribeDomainList API

type DescribeDomainListResponse added in v1.61.1112

type DescribeDomainListResponse struct {
	*responses.BaseResponse
	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
	RequestId   string   `json:"RequestId" xml:"RequestId"`
	DomainNames []string `json:"DomainNames" xml:"DomainNames"`
}

DescribeDomainListResponse is the response struct for api DescribeDomainList

func CreateDescribeDomainListResponse added in v1.61.1112

func CreateDescribeDomainListResponse() (response *DescribeDomainListResponse)

CreateDescribeDomainListResponse creates a response to parse from DescribeDomainList response

type DescribeDomainNamesRequest

type DescribeDomainNamesRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	CallSource      string `position:"Query" name:"CallSource"`
}

DescribeDomainNamesRequest is the request struct for api DescribeDomainNames

func CreateDescribeDomainNamesRequest

func CreateDescribeDomainNamesRequest() (request *DescribeDomainNamesRequest)

CreateDescribeDomainNamesRequest creates a request to invoke DescribeDomainNames API

type DescribeDomainNamesResponse

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

DescribeDomainNamesResponse is the response struct for api DescribeDomainNames

func CreateDescribeDomainNamesResponse

func CreateDescribeDomainNamesResponse() (response *DescribeDomainNamesResponse)

CreateDescribeDomainNamesResponse creates a response to parse from DescribeDomainNames response

type DescribeDomainRequest

type DescribeDomainRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

DescribeDomainRequest is the request struct for api DescribeDomain

func CreateDescribeDomainRequest

func CreateDescribeDomainRequest() (request *DescribeDomainRequest)

CreateDescribeDomainRequest creates a request to invoke DescribeDomain API

type DescribeDomainResponse

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

DescribeDomainResponse is the response struct for api DescribeDomain

func CreateDescribeDomainResponse

func CreateDescribeDomainResponse() (response *DescribeDomainResponse)

CreateDescribeDomainResponse creates a response to parse from DescribeDomain response

type DescribeDomainRuleGroupRequest

type DescribeDomainRuleGroupRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

DescribeDomainRuleGroupRequest is the request struct for api DescribeDomainRuleGroup

func CreateDescribeDomainRuleGroupRequest

func CreateDescribeDomainRuleGroupRequest() (request *DescribeDomainRuleGroupRequest)

CreateDescribeDomainRuleGroupRequest creates a request to invoke DescribeDomainRuleGroup API

type DescribeDomainRuleGroupResponse

type DescribeDomainRuleGroupResponse struct {
	*responses.BaseResponse
	RuleGroupId int64  `json:"RuleGroupId" xml:"RuleGroupId"`
	RequestId   string `json:"RequestId" xml:"RequestId"`
	WafAiStatus int    `json:"WafAiStatus" xml:"WafAiStatus"`
}

DescribeDomainRuleGroupResponse is the response struct for api DescribeDomainRuleGroup

func CreateDescribeDomainRuleGroupResponse

func CreateDescribeDomainRuleGroupResponse() (response *DescribeDomainRuleGroupResponse)

CreateDescribeDomainRuleGroupResponse creates a response to parse from DescribeDomainRuleGroup response

type DescribeInstanceInfoRequest

type DescribeInstanceInfoRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	InstanceSource  string `position:"Query" name:"InstanceSource"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
}

DescribeInstanceInfoRequest is the request struct for api DescribeInstanceInfo

func CreateDescribeInstanceInfoRequest

func CreateDescribeInstanceInfoRequest() (request *DescribeInstanceInfoRequest)

CreateDescribeInstanceInfoRequest creates a request to invoke DescribeInstanceInfo API

type DescribeInstanceInfoResponse

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

DescribeInstanceInfoResponse is the response struct for api DescribeInstanceInfo

func CreateDescribeInstanceInfoResponse

func CreateDescribeInstanceInfoResponse() (response *DescribeInstanceInfoResponse)

CreateDescribeInstanceInfoResponse creates a response to parse from DescribeInstanceInfo response

type DescribeInstanceSpecInfoRequest

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

DescribeInstanceSpecInfoRequest is the request struct for api DescribeInstanceSpecInfo

func CreateDescribeInstanceSpecInfoRequest

func CreateDescribeInstanceSpecInfoRequest() (request *DescribeInstanceSpecInfoRequest)

CreateDescribeInstanceSpecInfoRequest creates a request to invoke DescribeInstanceSpecInfo API

type DescribeInstanceSpecInfoResponse

type DescribeInstanceSpecInfoResponse struct {
	*responses.BaseResponse
	RequestId         string             `json:"RequestId" xml:"RequestId"`
	InstanceId        string             `json:"InstanceId" xml:"InstanceId"`
	ExpireTime        int64              `json:"ExpireTime" xml:"ExpireTime"`
	Version           string             `json:"Version" xml:"Version"`
	InstanceSpecInfos []InstanceSpecInfo `json:"InstanceSpecInfos" xml:"InstanceSpecInfos"`
}

DescribeInstanceSpecInfoResponse is the response struct for api DescribeInstanceSpecInfo

func CreateDescribeInstanceSpecInfoResponse

func CreateDescribeInstanceSpecInfoResponse() (response *DescribeInstanceSpecInfoResponse)

CreateDescribeInstanceSpecInfoResponse creates a response to parse from DescribeInstanceSpecInfo response

type DescribeLogServiceStatusRequest added in v1.61.1112

type DescribeLogServiceStatusRequest struct {
	*requests.RpcRequest
	DomainNames     *[]string        `position:"Query" name:"DomainNames"  type:"Repeated"`
	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"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Region          string           `position:"Query" name:"Region"`
}

DescribeLogServiceStatusRequest is the request struct for api DescribeLogServiceStatus

func CreateDescribeLogServiceStatusRequest added in v1.61.1112

func CreateDescribeLogServiceStatusRequest() (request *DescribeLogServiceStatusRequest)

CreateDescribeLogServiceStatusRequest creates a request to invoke DescribeLogServiceStatus API

type DescribeLogServiceStatusResponse added in v1.61.1112

type DescribeLogServiceStatusResponse struct {
	*responses.BaseResponse
	TotalCount   int      `json:"TotalCount" xml:"TotalCount"`
	RequestId    string   `json:"RequestId" xml:"RequestId"`
	DomainStatus []Status `json:"DomainStatus" xml:"DomainStatus"`
}

DescribeLogServiceStatusResponse is the response struct for api DescribeLogServiceStatus

func CreateDescribeLogServiceStatusResponse added in v1.61.1112

func CreateDescribeLogServiceStatusResponse() (response *DescribeLogServiceStatusResponse)

CreateDescribeLogServiceStatusResponse creates a response to parse from DescribeLogServiceStatus response

type DescribeProtectionModuleCodeConfigRequest added in v1.61.874

type DescribeProtectionModuleCodeConfigRequest struct {
	*requests.RpcRequest
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	CodeValue       requests.Integer `position:"Query" name:"CodeValue"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	CodeType        requests.Integer `position:"Query" name:"CodeType"`
}

DescribeProtectionModuleCodeConfigRequest is the request struct for api DescribeProtectionModuleCodeConfig

func CreateDescribeProtectionModuleCodeConfigRequest added in v1.61.874

func CreateDescribeProtectionModuleCodeConfigRequest() (request *DescribeProtectionModuleCodeConfigRequest)

CreateDescribeProtectionModuleCodeConfigRequest creates a request to invoke DescribeProtectionModuleCodeConfig API

type DescribeProtectionModuleCodeConfigResponse added in v1.61.874

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

DescribeProtectionModuleCodeConfigResponse is the response struct for api DescribeProtectionModuleCodeConfig

func CreateDescribeProtectionModuleCodeConfigResponse added in v1.61.874

func CreateDescribeProtectionModuleCodeConfigResponse() (response *DescribeProtectionModuleCodeConfigResponse)

CreateDescribeProtectionModuleCodeConfigResponse creates a response to parse from DescribeProtectionModuleCodeConfig response

type DescribeProtectionModuleModeRequest

type DescribeProtectionModuleModeRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	DefenseType     string `position:"Query" name:"DefenseType"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

DescribeProtectionModuleModeRequest is the request struct for api DescribeProtectionModuleMode

func CreateDescribeProtectionModuleModeRequest

func CreateDescribeProtectionModuleModeRequest() (request *DescribeProtectionModuleModeRequest)

CreateDescribeProtectionModuleModeRequest creates a request to invoke DescribeProtectionModuleMode API

type DescribeProtectionModuleModeResponse

type DescribeProtectionModuleModeResponse struct {
	*responses.BaseResponse
	LearnStatus int    `json:"LearnStatus" xml:"LearnStatus"`
	RequestId   string `json:"RequestId" xml:"RequestId"`
	Mode        int    `json:"Mode" xml:"Mode"`
}

DescribeProtectionModuleModeResponse is the response struct for api DescribeProtectionModuleMode

func CreateDescribeProtectionModuleModeResponse

func CreateDescribeProtectionModuleModeResponse() (response *DescribeProtectionModuleModeResponse)

CreateDescribeProtectionModuleModeResponse creates a response to parse from DescribeProtectionModuleMode response

type DescribeProtectionModuleRulesRequest

type DescribeProtectionModuleRulesRequest 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"`
	Lang            string           `position:"Query" name:"Lang"`
	DefenseType     string           `position:"Query" name:"DefenseType"`
	Query           string           `position:"Query" name:"Query"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
}

DescribeProtectionModuleRulesRequest is the request struct for api DescribeProtectionModuleRules

func CreateDescribeProtectionModuleRulesRequest

func CreateDescribeProtectionModuleRulesRequest() (request *DescribeProtectionModuleRulesRequest)

CreateDescribeProtectionModuleRulesRequest creates a request to invoke DescribeProtectionModuleRules API

type DescribeProtectionModuleRulesResponse

type DescribeProtectionModuleRulesResponse struct {
	*responses.BaseResponse
	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Rules      []Rule `json:"Rules" xml:"Rules"`
}

DescribeProtectionModuleRulesResponse is the response struct for api DescribeProtectionModuleRules

func CreateDescribeProtectionModuleRulesResponse

func CreateDescribeProtectionModuleRulesResponse() (response *DescribeProtectionModuleRulesResponse)

CreateDescribeProtectionModuleRulesResponse creates a response to parse from DescribeProtectionModuleRules response

type DescribeProtectionModuleStatusRequest

type DescribeProtectionModuleStatusRequest struct {
	*requests.RpcRequest
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	DefenseType     string `position:"Query" name:"DefenseType"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

DescribeProtectionModuleStatusRequest is the request struct for api DescribeProtectionModuleStatus

func CreateDescribeProtectionModuleStatusRequest

func CreateDescribeProtectionModuleStatusRequest() (request *DescribeProtectionModuleStatusRequest)

CreateDescribeProtectionModuleStatusRequest creates a request to invoke DescribeProtectionModuleStatus API

type DescribeProtectionModuleStatusResponse

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

DescribeProtectionModuleStatusResponse is the response struct for api DescribeProtectionModuleStatus

func CreateDescribeProtectionModuleStatusResponse

func CreateDescribeProtectionModuleStatusResponse() (response *DescribeProtectionModuleStatusResponse)

CreateDescribeProtectionModuleStatusResponse creates a response to parse from DescribeProtectionModuleStatus response

type DescribeRuleGroupsRequest added in v1.62.735

type DescribeRuleGroupsRequest struct {
	*requests.RpcRequest
	Type            requests.Integer `position:"Query" name:"Type"`
	WafLang         string           `position:"Query" name:"WafLang"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	PolicyId        requests.Integer `position:"Query" name:"PolicyId"`
	PageSize        requests.Integer `position:"Query" name:"PageSize"`
	Lang            string           `position:"Query" name:"Lang"`
	CurrentPage     requests.Integer `position:"Query" name:"CurrentPage"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Region          string           `position:"Query" name:"Region"`
}

DescribeRuleGroupsRequest is the request struct for api DescribeRuleGroups

func CreateDescribeRuleGroupsRequest added in v1.62.735

func CreateDescribeRuleGroupsRequest() (request *DescribeRuleGroupsRequest)

CreateDescribeRuleGroupsRequest creates a request to invoke DescribeRuleGroups API

type DescribeRuleGroupsResponse added in v1.62.735

type DescribeRuleGroupsResponse struct {
	*responses.BaseResponse
	RequestId  string           `json:"RequestId" xml:"RequestId"`
	TaskStatus int              `json:"TaskStatus" xml:"TaskStatus"`
	Total      int              `json:"Total" xml:"Total"`
	WafTaskId  string           `json:"WafTaskId" xml:"WafTaskId"`
	RuleGroups []RuleGroupsItem `json:"RuleGroups" xml:"RuleGroups"`
}

DescribeRuleGroupsResponse is the response struct for api DescribeRuleGroups

func CreateDescribeRuleGroupsResponse added in v1.62.735

func CreateDescribeRuleGroupsResponse() (response *DescribeRuleGroupsResponse)

CreateDescribeRuleGroupsResponse creates a response to parse from DescribeRuleGroups response

type DescribeRulesRequest added in v1.62.735

type DescribeRulesRequest struct {
	*requests.RpcRequest
	RuleGroupId     requests.Integer `position:"Query" name:"RuleGroupId"`
	ProtectionType  requests.Integer `position:"Query" name:"ProtectionType"`
	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
	CveIdKey        string           `position:"Query" name:"CveIdKey"`
	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"`
	RiskLevel       requests.Integer `position:"Query" name:"RiskLevel"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	RuleIdKey       string           `position:"Query" name:"RuleIdKey"`
	Region          string           `position:"Query" name:"Region"`
	ApplicationType requests.Integer `position:"Query" name:"ApplicationType"`
}

DescribeRulesRequest is the request struct for api DescribeRules

func CreateDescribeRulesRequest added in v1.62.735

func CreateDescribeRulesRequest() (request *DescribeRulesRequest)

CreateDescribeRulesRequest creates a request to invoke DescribeRules API

type DescribeRulesResponse added in v1.62.735

type DescribeRulesResponse struct {
	*responses.BaseResponse
	RuleGroupTemplateId   string      `json:"RuleGroupTemplateId" xml:"RuleGroupTemplateId"`
	RuleGroupName         string      `json:"RuleGroupName" xml:"RuleGroupName"`
	RequestId             string      `json:"RequestId" xml:"RequestId"`
	TotalCount            int         `json:"TotalCount" xml:"TotalCount"`
	RuleGroupTemplateName string      `json:"RuleGroupTemplateName" xml:"RuleGroupTemplateName"`
	IsSubscribe           int64       `json:"IsSubscribe" xml:"IsSubscribe"`
	Rules                 []RulesItem `json:"Rules" xml:"Rules"`
}

DescribeRulesResponse is the response struct for api DescribeRules

func CreateDescribeRulesResponse added in v1.62.735

func CreateDescribeRulesResponse() (response *DescribeRulesResponse)

CreateDescribeRulesResponse creates a response to parse from DescribeRules response

type DescribeWafSourceIpSegmentRequest added in v1.61.768

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

DescribeWafSourceIpSegmentRequest is the request struct for api DescribeWafSourceIpSegment

func CreateDescribeWafSourceIpSegmentRequest added in v1.61.768

func CreateDescribeWafSourceIpSegmentRequest() (request *DescribeWafSourceIpSegmentRequest)

CreateDescribeWafSourceIpSegmentRequest creates a request to invoke DescribeWafSourceIpSegment API

type DescribeWafSourceIpSegmentResponse added in v1.61.768

type DescribeWafSourceIpSegmentResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Ips       string `json:"Ips" xml:"Ips"`
	IpV6s     string `json:"IpV6s" xml:"IpV6s"`
}

DescribeWafSourceIpSegmentResponse is the response struct for api DescribeWafSourceIpSegment

func CreateDescribeWafSourceIpSegmentResponse added in v1.61.768

func CreateDescribeWafSourceIpSegmentResponse() (response *DescribeWafSourceIpSegmentResponse)

CreateDescribeWafSourceIpSegmentResponse creates a response to parse from DescribeWafSourceIpSegment response

type Domain

type Domain struct {
	HttpToUserIp         int                        `json:"HttpToUserIp" xml:"HttpToUserIp"`
	SniStatus            int                        `json:"SniStatus" xml:"SniStatus"`
	IsAccessProduct      int                        `json:"IsAccessProduct" xml:"IsAccessProduct"`
	AccessHeaderMode     int                        `json:"AccessHeaderMode" xml:"AccessHeaderMode"`
	HttpsRedirect        int                        `json:"HttpsRedirect" xml:"HttpsRedirect"`
	IpFollowStatus       int                        `json:"IpFollowStatus" xml:"IpFollowStatus"`
	LoadBalancing        int                        `json:"LoadBalancing" xml:"LoadBalancing"`
	AccessType           string                     `json:"AccessType" xml:"AccessType"`
	Version              int64                      `json:"Version" xml:"Version"`
	ClusterType          int                        `json:"ClusterType" xml:"ClusterType"`
	ReadTime             int                        `json:"ReadTime" xml:"ReadTime"`
	WriteTime            int                        `json:"WriteTime" xml:"WriteTime"`
	SniHost              string                     `json:"SniHost" xml:"SniHost"`
	ResourceGroupId      string                     `json:"ResourceGroupId" xml:"ResourceGroupId"`
	Cname                string                     `json:"Cname" xml:"Cname"`
	ConnectionTime       int                        `json:"ConnectionTime" xml:"ConnectionTime"`
	Retry                bool                       `json:"Retry" xml:"Retry"`
	Keepalive            bool                       `json:"Keepalive" xml:"Keepalive"`
	KeepaliveRequests    int                        `json:"KeepaliveRequests" xml:"KeepaliveRequests"`
	KeepaliveTimeout     int                        `json:"KeepaliveTimeout" xml:"KeepaliveTimeout"`
	HttpPort             []string                   `json:"HttpPort" xml:"HttpPort"`
	Http2Port            []string                   `json:"Http2Port" xml:"Http2Port"`
	SourceIps            []string                   `json:"SourceIps" xml:"SourceIps"`
	HttpsPort            []string                   `json:"HttpsPort" xml:"HttpsPort"`
	AccessHeaders        []string                   `json:"AccessHeaders" xml:"AccessHeaders"`
	LogHeaders           []LogHeader                `json:"LogHeaders" xml:"LogHeaders"`
	CloudNativeInstances []CloudNativeInstancesItem `json:"CloudNativeInstances" xml:"CloudNativeInstances"`
}

Domain is a nested struct in waf_openapi response

type DomainConfig

type DomainConfig struct {
	Domain     string  `json:"Domain" xml:"Domain"`
	Status     int     `json:"Status" xml:"Status"`
	Version    int64   `json:"Version" xml:"Version"`
	AclStatus  int     `json:"AclStatus" xml:"AclStatus"`
	AccessType string  `json:"AccessType" xml:"AccessType"`
	WafMode    int     `json:"WafMode" xml:"WafMode"`
	WafStatus  int     `json:"WafStatus" xml:"WafStatus"`
	Owner      string  `json:"Owner" xml:"Owner"`
	CcMode     int     `json:"CcMode" xml:"CcMode"`
	CcStatus   int     `json:"CcStatus" xml:"CcStatus"`
	Profile    Profile `json:"Profile" xml:"Profile"`
}

DomainConfig is a nested struct in waf_openapi response

type DomainConfigsInDescribeDomainAdvanceConfigs

type DomainConfigsInDescribeDomainAdvanceConfigs struct {
	DomainConfig []DomainConfig `json:"DomainConfig" xml:"DomainConfig"`
}

DomainConfigsInDescribeDomainAdvanceConfigs is a nested struct in waf_openapi response

type DomainConfigsInDescribeDomainBasicConfigs

type DomainConfigsInDescribeDomainBasicConfigs struct {
	DomainConfig []DomainConfig `json:"DomainConfig" xml:"DomainConfig"`
}

DomainConfigsInDescribeDomainBasicConfigs is a nested struct in waf_openapi response

type DomainList added in v1.61.629

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

DomainList is a nested struct in waf_openapi response

type DomainNamesInDescribeDomainList added in v1.61.1112

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

DomainNamesInDescribeDomainList is a nested struct in waf_openapi response

type DomainNamesInDescribeDomainNames added in v1.61.1112

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

DomainNamesInDescribeDomainNames is a nested struct in waf_openapi response

type DomainStatus added in v1.61.1112

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

DomainStatus is a nested struct in waf_openapi response

type Http2PortInDescribeDomain added in v1.61.1293

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

Http2PortInDescribeDomain is a nested struct in waf_openapi response

type Http2PortInDescribeDomainAdvanceConfigs added in v1.61.1293

type Http2PortInDescribeDomainAdvanceConfigs struct {
	Http2Port []int `json:"Http2Port" xml:"Http2Port"`
}

Http2PortInDescribeDomainAdvanceConfigs is a nested struct in waf_openapi response

type HttpPortInDescribeDomain added in v1.61.1293

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

HttpPortInDescribeDomain is a nested struct in waf_openapi response

type HttpPortInDescribeDomainAdvanceConfigs added in v1.61.1293

type HttpPortInDescribeDomainAdvanceConfigs struct {
	HttpPort []int `json:"HttpPort" xml:"HttpPort"`
}

HttpPortInDescribeDomainAdvanceConfigs is a nested struct in waf_openapi response

type HttpsPortInDescribeDomain added in v1.61.1293

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

HttpsPortInDescribeDomain is a nested struct in waf_openapi response

type HttpsPortInDescribeDomainAdvanceConfigs added in v1.61.1293

type HttpsPortInDescribeDomainAdvanceConfigs struct {
	HttpsPort []int `json:"HttpsPort" xml:"HttpsPort"`
}

HttpsPortInDescribeDomainAdvanceConfigs is a nested struct in waf_openapi response

type IPAddressList added in v1.62.517

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

IPAddressList is a nested struct in waf_openapi response

type InstanceInfo

type InstanceInfo struct {
	Status           int    `json:"Status" xml:"Status"`
	EndDate          int64  `json:"EndDate" xml:"EndDate"`
	Version          string `json:"Version" xml:"Version"`
	RemainDay        int    `json:"RemainDay" xml:"RemainDay"`
	Region           string `json:"Region" xml:"Region"`
	PayType          int    `json:"PayType" xml:"PayType"`
	InDebt           int    `json:"InDebt" xml:"InDebt"`
	InstanceId       string `json:"InstanceId" xml:"InstanceId"`
	SubscriptionType string `json:"SubscriptionType" xml:"SubscriptionType"`
	Trial            int    `json:"Trial" xml:"Trial"`
}

InstanceInfo is a nested struct in waf_openapi response

type InstanceSpecInfo

type InstanceSpecInfo struct {
	Code  string `json:"Code" xml:"Code"`
	Value string `json:"Value" xml:"Value"`
}

InstanceSpecInfo is a nested struct in waf_openapi response

type InstanceSpecInfos

type InstanceSpecInfos struct {
	InstanceSpecInfo []InstanceSpecInfo `json:"InstanceSpecInfo" xml:"InstanceSpecInfo"`
}

InstanceSpecInfos is a nested struct in waf_openapi response

type LogHeader added in v1.61.110

type LogHeader struct {
	K string `json:"k" xml:"k"`
	V string `json:"v" xml:"v"`
}

LogHeader is a nested struct in waf_openapi response

type LogHeaders added in v1.61.110

type LogHeaders struct {
	LogHeader []LogHeader `json:"LogHeader" xml:"LogHeader"`
}

LogHeaders is a nested struct in waf_openapi response

type ModifyDomainIpv6StatusRequest

type ModifyDomainIpv6StatusRequest struct {
	*requests.RpcRequest
	WafVersion      string `position:"Query" name:"WafVersion"`
	Enabled         string `position:"Query" name:"Enabled"`
	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	Domain          string `position:"Query" name:"Domain"`
}

ModifyDomainIpv6StatusRequest is the request struct for api ModifyDomainIpv6Status

func CreateModifyDomainIpv6StatusRequest

func CreateModifyDomainIpv6StatusRequest() (request *ModifyDomainIpv6StatusRequest)

CreateModifyDomainIpv6StatusRequest creates a request to invoke ModifyDomainIpv6Status API

type ModifyDomainIpv6StatusResponse

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

ModifyDomainIpv6StatusResponse is the response struct for api ModifyDomainIpv6Status

func CreateModifyDomainIpv6StatusResponse

func CreateModifyDomainIpv6StatusResponse() (response *ModifyDomainIpv6StatusResponse)

CreateModifyDomainIpv6StatusResponse creates a response to parse from ModifyDomainIpv6Status response

type ModifyDomainRequest

type ModifyDomainRequest struct {
	*requests.RpcRequest
	IpFollowStatus       requests.Integer `position:"Query" name:"IpFollowStatus"`
	Keepalive            requests.Boolean `position:"Query" name:"Keepalive"`
	SniHost              string           `position:"Query" name:"SniHost"`
	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
	HybridCloudType      requests.Integer `position:"Query" name:"HybridCloudType"`
	SourceIp             string           `position:"Query" name:"SourceIp"`
	HttpPort             string           `position:"Query" name:"HttpPort"`
	Http2Port            string           `position:"Query" name:"Http2Port"`
	WriteTime            requests.Integer `position:"Query" name:"WriteTime"`
	AccessHeaderMode     requests.Integer `position:"Query" name:"AccessHeaderMode"`
	AccessHeaders        string           `position:"Query" name:"AccessHeaders"`
	KeepaliveTimeout     requests.Integer `position:"Query" name:"KeepaliveTimeout"`
	ClusterType          requests.Integer `position:"Query" name:"ClusterType"`
	HttpsRedirect        requests.Integer `position:"Query" name:"HttpsRedirect"`
	InstanceId           string           `position:"Query" name:"InstanceId"`
	Domain               string           `position:"Query" name:"Domain"`
	ReadTime             requests.Integer `position:"Query" name:"ReadTime"`
	HttpsPort            string           `position:"Query" name:"HttpsPort"`
	SniStatus            requests.Integer `position:"Query" name:"SniStatus"`
	Lang                 string           `position:"Query" name:"Lang"`
	Retry                requests.Boolean `position:"Query" name:"Retry"`
	KeepaliveRequests    requests.Integer `position:"Query" name:"KeepaliveRequests"`
	AccessType           string           `position:"Query" name:"AccessType"`
	BindingIpv6          requests.Integer `position:"Query" name:"BindingIpv6"`
	LogHeaders           string           `position:"Query" name:"LogHeaders"`
	ConnectionTime       requests.Integer `position:"Query" name:"ConnectionTime"`
	CloudNativeInstances string           `position:"Query" name:"CloudNativeInstances"`
	SourceIps            string           `position:"Query" name:"SourceIps"`
	IsAccessProduct      requests.Integer `position:"Query" name:"IsAccessProduct"`
	LoadBalancing        requests.Integer `position:"Query" name:"LoadBalancing"`
	HttpToUserIp         requests.Integer `position:"Query" name:"HttpToUserIp"`
}

ModifyDomainRequest is the request struct for api ModifyDomain

func CreateModifyDomainRequest

func CreateModifyDomainRequest() (request *ModifyDomainRequest)

CreateModifyDomainRequest creates a request to invoke ModifyDomain API

type ModifyDomainResponse

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

ModifyDomainResponse is the response struct for api ModifyDomain

func CreateModifyDomainResponse

func CreateModifyDomainResponse() (response *ModifyDomainResponse)

CreateModifyDomainResponse creates a response to parse from ModifyDomain response

type ModifyLogRetrievalStatusRequest

type ModifyLogRetrievalStatusRequest struct {
	*requests.RpcRequest
	Enabled         requests.Integer `position:"Query" name:"Enabled"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
}

ModifyLogRetrievalStatusRequest is the request struct for api ModifyLogRetrievalStatus

func CreateModifyLogRetrievalStatusRequest

func CreateModifyLogRetrievalStatusRequest() (request *ModifyLogRetrievalStatusRequest)

CreateModifyLogRetrievalStatusRequest creates a request to invoke ModifyLogRetrievalStatus API

type ModifyLogRetrievalStatusResponse

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

ModifyLogRetrievalStatusResponse is the response struct for api ModifyLogRetrievalStatus

func CreateModifyLogRetrievalStatusResponse

func CreateModifyLogRetrievalStatusResponse() (response *ModifyLogRetrievalStatusResponse)

CreateModifyLogRetrievalStatusResponse creates a response to parse from ModifyLogRetrievalStatus response

type ModifyLogServiceStatusRequest

type ModifyLogServiceStatusRequest struct {
	*requests.RpcRequest
	Enabled         requests.Integer `position:"Query" name:"Enabled"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
}

ModifyLogServiceStatusRequest is the request struct for api ModifyLogServiceStatus

func CreateModifyLogServiceStatusRequest

func CreateModifyLogServiceStatusRequest() (request *ModifyLogServiceStatusRequest)

CreateModifyLogServiceStatusRequest creates a request to invoke ModifyLogServiceStatus API

type ModifyLogServiceStatusResponse

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

ModifyLogServiceStatusResponse is the response struct for api ModifyLogServiceStatus

func CreateModifyLogServiceStatusResponse

func CreateModifyLogServiceStatusResponse() (response *ModifyLogServiceStatusResponse)

CreateModifyLogServiceStatusResponse creates a response to parse from ModifyLogServiceStatus response

type ModifyProtectionModuleModeRequest

type ModifyProtectionModuleModeRequest struct {
	*requests.RpcRequest
	Mode            requests.Integer `position:"Query" name:"Mode"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	DefenseType     string           `position:"Query" name:"DefenseType"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
}

ModifyProtectionModuleModeRequest is the request struct for api ModifyProtectionModuleMode

func CreateModifyProtectionModuleModeRequest

func CreateModifyProtectionModuleModeRequest() (request *ModifyProtectionModuleModeRequest)

CreateModifyProtectionModuleModeRequest creates a request to invoke ModifyProtectionModuleMode API

type ModifyProtectionModuleModeResponse

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

ModifyProtectionModuleModeResponse is the response struct for api ModifyProtectionModuleMode

func CreateModifyProtectionModuleModeResponse

func CreateModifyProtectionModuleModeResponse() (response *ModifyProtectionModuleModeResponse)

CreateModifyProtectionModuleModeResponse creates a response to parse from ModifyProtectionModuleMode response

type ModifyProtectionModuleRuleRequest

type ModifyProtectionModuleRuleRequest struct {
	*requests.RpcRequest
	Rule            string           `position:"Query" name:"Rule"`
	LockVersion     requests.Integer `position:"Query" name:"LockVersion"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	DefenseType     string           `position:"Query" name:"DefenseType"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
	RuleId          requests.Integer `position:"Query" name:"RuleId"`
}

ModifyProtectionModuleRuleRequest is the request struct for api ModifyProtectionModuleRule

func CreateModifyProtectionModuleRuleRequest

func CreateModifyProtectionModuleRuleRequest() (request *ModifyProtectionModuleRuleRequest)

CreateModifyProtectionModuleRuleRequest creates a request to invoke ModifyProtectionModuleRule API

type ModifyProtectionModuleRuleResponse

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

ModifyProtectionModuleRuleResponse is the response struct for api ModifyProtectionModuleRule

func CreateModifyProtectionModuleRuleResponse

func CreateModifyProtectionModuleRuleResponse() (response *ModifyProtectionModuleRuleResponse)

CreateModifyProtectionModuleRuleResponse creates a response to parse from ModifyProtectionModuleRule response

type ModifyProtectionModuleStatusRequest

type ModifyProtectionModuleStatusRequest struct {
	*requests.RpcRequest
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	DefenseType     string           `position:"Query" name:"DefenseType"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
	ModuleStatus    requests.Integer `position:"Query" name:"ModuleStatus"`
}

ModifyProtectionModuleStatusRequest is the request struct for api ModifyProtectionModuleStatus

func CreateModifyProtectionModuleStatusRequest

func CreateModifyProtectionModuleStatusRequest() (request *ModifyProtectionModuleStatusRequest)

CreateModifyProtectionModuleStatusRequest creates a request to invoke ModifyProtectionModuleStatus API

type ModifyProtectionModuleStatusResponse

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

ModifyProtectionModuleStatusResponse is the response struct for api ModifyProtectionModuleStatus

func CreateModifyProtectionModuleStatusResponse

func CreateModifyProtectionModuleStatusResponse() (response *ModifyProtectionModuleStatusResponse)

CreateModifyProtectionModuleStatusResponse creates a response to parse from ModifyProtectionModuleStatus response

type ModifyProtectionRuleCacheStatusRequest

type ModifyProtectionRuleCacheStatusRequest struct {
	*requests.RpcRequest
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	DefenseType     string           `position:"Query" name:"DefenseType"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
	RuleId          requests.Integer `position:"Query" name:"RuleId"`
}

ModifyProtectionRuleCacheStatusRequest is the request struct for api ModifyProtectionRuleCacheStatus

func CreateModifyProtectionRuleCacheStatusRequest

func CreateModifyProtectionRuleCacheStatusRequest() (request *ModifyProtectionRuleCacheStatusRequest)

CreateModifyProtectionRuleCacheStatusRequest creates a request to invoke ModifyProtectionRuleCacheStatus API

type ModifyProtectionRuleCacheStatusResponse

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

ModifyProtectionRuleCacheStatusResponse is the response struct for api ModifyProtectionRuleCacheStatus

func CreateModifyProtectionRuleCacheStatusResponse

func CreateModifyProtectionRuleCacheStatusResponse() (response *ModifyProtectionRuleCacheStatusResponse)

CreateModifyProtectionRuleCacheStatusResponse creates a response to parse from ModifyProtectionRuleCacheStatus response

type ModifyProtectionRuleStatusRequest

type ModifyProtectionRuleStatusRequest struct {
	*requests.RpcRequest
	LockVersion     requests.Integer `position:"Query" name:"LockVersion"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	DefenseType     string           `position:"Query" name:"DefenseType"`
	RuleStatus      requests.Integer `position:"Query" name:"RuleStatus"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
	Domain          string           `position:"Query" name:"Domain"`
	RuleId          requests.Integer `position:"Query" name:"RuleId"`
}

ModifyProtectionRuleStatusRequest is the request struct for api ModifyProtectionRuleStatus

func CreateModifyProtectionRuleStatusRequest

func CreateModifyProtectionRuleStatusRequest() (request *ModifyProtectionRuleStatusRequest)

CreateModifyProtectionRuleStatusRequest creates a request to invoke ModifyProtectionRuleStatus API

type ModifyProtectionRuleStatusResponse

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

ModifyProtectionRuleStatusResponse is the response struct for api ModifyProtectionRuleStatus

func CreateModifyProtectionRuleStatusResponse

func CreateModifyProtectionRuleStatusResponse() (response *ModifyProtectionRuleStatusResponse)

CreateModifyProtectionRuleStatusResponse creates a response to parse from ModifyProtectionRuleStatus response

type MoveResourceGroupRequest added in v1.61.1293

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

MoveResourceGroupRequest is the request struct for api MoveResourceGroup

func CreateMoveResourceGroupRequest added in v1.61.1293

func CreateMoveResourceGroupRequest() (request *MoveResourceGroupRequest)

CreateMoveResourceGroupRequest creates a request to invoke MoveResourceGroup API

type MoveResourceGroupResponse added in v1.61.1293

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

MoveResourceGroupResponse is the response struct for api MoveResourceGroup

func CreateMoveResourceGroupResponse added in v1.61.1293

func CreateMoveResourceGroupResponse() (response *MoveResourceGroupResponse)

CreateMoveResourceGroupResponse creates a response to parse from MoveResourceGroup response

type Ports added in v1.62.517

type Ports struct {
	Port []int `json:"Port" xml:"Port"`
}

Ports is a nested struct in waf_openapi response

type Profile

type Profile struct {
	Ipv6Status         int      `json:"Ipv6Status" xml:"Ipv6Status"`
	GSLBStatus         string   `json:"GSLBStatus" xml:"GSLBStatus"`
	VipServiceStatus   int      `json:"VipServiceStatus" xml:"VipServiceStatus"`
	ClusterType        int      `json:"ClusterType" xml:"ClusterType"`
	ExclusiveVipStatus int      `json:"ExclusiveVipStatus" xml:"ExclusiveVipStatus"`
	Cname              string   `json:"Cname" xml:"Cname"`
	CertStatus         int      `json:"CertStatus" xml:"CertStatus"`
	ResolvedType       int      `json:"ResolvedType" xml:"ResolvedType"`
	Http2Port          []int    `json:"Http2Port" xml:"Http2Port"`
	HttpPort           []int    `json:"HttpPort" xml:"HttpPort"`
	Rs                 []string `json:"Rs" xml:"Rs"`
	HttpsPort          []int    `json:"HttpsPort" xml:"HttpsPort"`
}

Profile is a nested struct in waf_openapi response

type ProtocolPortConfigs added in v1.61.629

type ProtocolPortConfigs struct {
	ProtocolPortConfigsItem []ProtocolPortConfigsItem `json:"ProtocolPortConfigs" xml:"ProtocolPortConfigs"`
}

ProtocolPortConfigs is a nested struct in waf_openapi response

type ProtocolPortConfigsItem added in v1.61.629

type ProtocolPortConfigsItem struct {
	Protocol string `json:"Protocol" xml:"Protocol"`
	Ports    []int  `json:"Ports" xml:"Ports"`
}

ProtocolPortConfigsItem is a nested struct in waf_openapi response

type Rs added in v1.61.1293

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

Rs is a nested struct in waf_openapi response

type Rule

type Rule struct {
	Status  int64                  `json:"Status" xml:"Status"`
	Time    int64                  `json:"Time" xml:"Time"`
	Content map[string]interface{} `json:"Content" xml:"Content"`
	Version int64                  `json:"Version" xml:"Version"`
	RuleId  int64                  `json:"RuleId" xml:"RuleId"`
}

Rule is a nested struct in waf_openapi response

type RuleGroups added in v1.62.735

type RuleGroups struct {
	RuleGroupsItem []RuleGroupsItem `json:"RuleGroups" xml:"RuleGroups"`
}

RuleGroups is a nested struct in waf_openapi response

type RuleGroupsItem added in v1.62.735

type RuleGroupsItem struct {
	Type                  int      `json:"Type" xml:"Type"`
	RuleCnt               int      `json:"RuleCnt" xml:"RuleCnt"`
	RuleGroupUpdateTime   int64    `json:"RuleGroupUpdateTime" xml:"RuleGroupUpdateTime"`
	PolicyId              int64    `json:"PolicyId" xml:"PolicyId"`
	Name                  string   `json:"Name" xml:"Name"`
	TemplatePolicyId      int64    `json:"TemplatePolicyId" xml:"TemplatePolicyId"`
	RuleGroupTemplateName string   `json:"RuleGroupTemplateName" xml:"RuleGroupTemplateName"`
	Desc                  string   `json:"Desc" xml:"Desc"`
	WafVersion            int64    `json:"WafVersion" xml:"WafVersion"`
	DomainList            []string `json:"DomainList" xml:"DomainList"`
}

RuleGroupsItem is a nested struct in waf_openapi response

type RulesInDescribeProtectionModuleRules added in v1.61.153

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

RulesInDescribeProtectionModuleRules is a nested struct in waf_openapi response

type RulesInDescribeRules added in v1.62.735

type RulesInDescribeRules struct {
	RulesItem []RulesItem `json:"Rules" xml:"Rules"`
}

RulesInDescribeRules is a nested struct in waf_openapi response

type RulesItem added in v1.62.735

type RulesItem struct {
	RiskLevel       int    `json:"RiskLevel" xml:"RiskLevel"`
	UpdateTime      int64  `json:"UpdateTime" xml:"UpdateTime"`
	Description     string `json:"Description" xml:"Description"`
	CveUrl          string `json:"CveUrl" xml:"CveUrl"`
	ApplicationType int    `json:"ApplicationType" xml:"ApplicationType"`
	CveId           string `json:"CveId" xml:"CveId"`
	ProtectionType  int    `json:"ProtectionType" xml:"ProtectionType"`
	RuleName        string `json:"RuleName" xml:"RuleName"`
	RuleId          int64  `json:"RuleId" xml:"RuleId"`
}

RulesItem is a nested struct in waf_openapi response

type Sans

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

Sans is a nested struct in waf_openapi response

type SetDomainRuleGroupRequest

type SetDomainRuleGroupRequest struct {
	*requests.RpcRequest
	WafVersion      requests.Integer `position:"Query" name:"WafVersion"`
	WafAiStatus     requests.Integer `position:"Query" name:"WafAiStatus"`
	RuleGroupId     requests.Integer `position:"Query" name:"RuleGroupId"`
	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
	SourceIp        string           `position:"Query" name:"SourceIp"`
	Lang            string           `position:"Query" name:"Lang"`
	Domains         string           `position:"Query" name:"Domains"`
	InstanceId      string           `position:"Query" name:"InstanceId"`
}

SetDomainRuleGroupRequest is the request struct for api SetDomainRuleGroup

func CreateSetDomainRuleGroupRequest

func CreateSetDomainRuleGroupRequest() (request *SetDomainRuleGroupRequest)

CreateSetDomainRuleGroupRequest creates a request to invoke SetDomainRuleGroup API

type SetDomainRuleGroupResponse

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

SetDomainRuleGroupResponse is the response struct for api SetDomainRuleGroup

func CreateSetDomainRuleGroupResponse

func CreateSetDomainRuleGroupResponse() (response *SetDomainRuleGroupResponse)

CreateSetDomainRuleGroupResponse creates a response to parse from SetDomainRuleGroup response

type SourceIps added in v1.61.83

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

SourceIps is a nested struct in waf_openapi response

type Status added in v1.61.1112

type Status struct {
	Domain       string `json:"Domain" xml:"Domain"`
	SlsLogActive int    `json:"SlsLogActive" xml:"SlsLogActive"`
}

Status is a nested struct in waf_openapi response

Source Files

Jump to

Keyboard shortcuts

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