waf_openapi

package
v1.62.147 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 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"`
	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) 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) 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
	CertificateId requests.Integer `position:"Query" name:"CertificateId"`
	InstanceId    string           `position:"Query" name:"InstanceId"`
	SourceIp      string           `position:"Query" name:"SourceIp"`
	Domain        string           `position:"Query" name:"Domain"`
	Lang          string           `position:"Query" name:"Lang"`
}

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"`
	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"`
	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"`
	SniStatus            requests.Integer `position:"Query" name:"SniStatus"`
	Lang                 string           `position:"Query" name:"Lang"`
	AccessHeaderMode     requests.Integer `position:"Query" name:"AccessHeaderMode"`
	AccessType           string           `position:"Query" name:"AccessType"`
	LogHeaders           string           `position:"Query" name:"LogHeaders"`
	AccessHeaders        string           `position:"Query" name:"AccessHeaders"`
	ConnectionTime       requests.Integer `position:"Query" name:"ConnectionTime"`
	ClusterType          requests.Integer `position:"Query" name:"ClusterType"`
	CloudNativeInstances string           `position:"Query" name:"CloudNativeInstances"`
	HttpsRedirect        requests.Integer `position:"Query" name:"HttpsRedirect"`
	InstanceId           string           `position:"Query" name:"InstanceId"`
	SourceIps            string           `position:"Query" name:"SourceIps"`
	Domain               string           `position:"Query" name:"Domain"`
	IsAccessProduct      requests.Integer `position:"Query" name:"IsAccessProduct"`
	ReadTime             requests.Integer `position:"Query" name:"ReadTime"`
	HttpsPort            string           `position:"Query" name:"HttpsPort"`
	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
	DefenseType string `position:"Query" name:"DefenseType"`
	Rule        string `position:"Query" name:"Rule"`
	InstanceId  string `position:"Query" name:"InstanceId"`
	SourceIp    string `position:"Query" name:"SourceIp"`
	Domain      string `position:"Query" name:"Domain"`
	Lang        string `position:"Query" name:"Lang"`
}

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

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"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
}

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

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

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"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
}

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

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"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	InstanceSource  string `position:"Query" name:"InstanceSource"`
	Lang            string `position:"Query" name:"Lang"`
}

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"`
	InstanceId      string `position:"Query" name:"InstanceId"`
	SourceIp        string `position:"Query" name:"SourceIp"`
	Lang            string `position:"Query" name:"Lang"`
}

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

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 DescribeWafSourceIpSegmentRequest added in v1.61.768

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

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

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"`
	SniHost              string           `position:"Query" name:"SniHost"`
	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"`
	SniStatus            requests.Integer `position:"Query" name:"SniStatus"`
	Lang                 string           `position:"Query" name:"Lang"`
	AccessHeaderMode     requests.Integer `position:"Query" name:"AccessHeaderMode"`
	AccessType           string           `position:"Query" name:"AccessType"`
	BindingIpv6          requests.Integer `position:"Query" name:"BindingIpv6"`
	LogHeaders           string           `position:"Query" name:"LogHeaders"`
	AccessHeaders        string           `position:"Query" name:"AccessHeaders"`
	ConnectionTime       requests.Integer `position:"Query" name:"ConnectionTime"`
	ClusterType          requests.Integer `position:"Query" name:"ClusterType"`
	CloudNativeInstances string           `position:"Query" name:"CloudNativeInstances"`
	HttpsRedirect        requests.Integer `position:"Query" name:"HttpsRedirect"`
	InstanceId           string           `position:"Query" name:"InstanceId"`
	SourceIps            string           `position:"Query" name:"SourceIps"`
	Domain               string           `position:"Query" name:"Domain"`
	IsAccessProduct      requests.Integer `position:"Query" name:"IsAccessProduct"`
	ReadTime             requests.Integer `position:"Query" name:"ReadTime"`
	HttpsPort            string           `position:"Query" name:"HttpsPort"`
	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"`
	InstanceId string           `position:"Query" name:"InstanceId"`
	SourceIp   string           `position:"Query" name:"SourceIp"`
	Domain     string           `position:"Query" name:"Domain"`
	Lang       string           `position:"Query" name:"Lang"`
}

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

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
	DefenseType string           `position:"Query" name:"DefenseType"`
	Mode        requests.Integer `position:"Query" name:"Mode"`
	InstanceId  string           `position:"Query" name:"InstanceId"`
	SourceIp    string           `position:"Query" name:"SourceIp"`
	Domain      string           `position:"Query" name:"Domain"`
	Lang        string           `position:"Query" name:"Lang"`
}

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"`
	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
	DefenseType  string           `position:"Query" name:"DefenseType"`
	InstanceId   string           `position:"Query" name:"InstanceId"`
	SourceIp     string           `position:"Query" name:"SourceIp"`
	Domain       string           `position:"Query" name:"Domain"`
	ModuleStatus requests.Integer `position:"Query" name:"ModuleStatus"`
	Lang         string           `position:"Query" name:"Lang"`
}

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
	DefenseType string           `position:"Query" name:"DefenseType"`
	InstanceId  string           `position:"Query" name:"InstanceId"`
	SourceIp    string           `position:"Query" name:"SourceIp"`
	Domain      string           `position:"Query" name:"Domain"`
	Lang        string           `position:"Query" name:"Lang"`
	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"`
	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 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 {
	Ports    string `json:"Ports" xml:"Ports"`
	Protocol string `json:"Protocol" xml:"Protocol"`
}

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 Rules

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

Rules 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