client

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearMajorProtectionBlackIpRequest

type ClearMajorProtectionBlackIpRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the IP address blacklist rule template for major event protection.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (ClearMajorProtectionBlackIpRequest) GoString

func (*ClearMajorProtectionBlackIpRequest) SetInstanceId

func (*ClearMajorProtectionBlackIpRequest) SetRegionId added in v2.0.2

func (*ClearMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ClearMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId(v string) *ClearMajorProtectionBlackIpRequest

func (*ClearMajorProtectionBlackIpRequest) SetRuleId

func (*ClearMajorProtectionBlackIpRequest) SetTemplateId

func (ClearMajorProtectionBlackIpRequest) String

type ClearMajorProtectionBlackIpResponse

type ClearMajorProtectionBlackIpResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ClearMajorProtectionBlackIpResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ClearMajorProtectionBlackIpResponse) GoString

func (*ClearMajorProtectionBlackIpResponse) SetHeaders

func (*ClearMajorProtectionBlackIpResponse) SetStatusCode

func (ClearMajorProtectionBlackIpResponse) String

type ClearMajorProtectionBlackIpResponseBody

type ClearMajorProtectionBlackIpResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ClearMajorProtectionBlackIpResponseBody) GoString

func (*ClearMajorProtectionBlackIpResponseBody) SetRequestId

func (ClearMajorProtectionBlackIpResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) ClearMajorProtectionBlackIp

func (client *Client) ClearMajorProtectionBlackIp(request *ClearMajorProtectionBlackIpRequest) (_result *ClearMajorProtectionBlackIpResponse, _err error)

func (*Client) ClearMajorProtectionBlackIpWithOptions

func (client *Client) ClearMajorProtectionBlackIpWithOptions(request *ClearMajorProtectionBlackIpRequest, runtime *util.RuntimeOptions) (_result *ClearMajorProtectionBlackIpResponse, _err error)

func (*Client) CreateDefenseResourceGroup

func (client *Client) CreateDefenseResourceGroup(request *CreateDefenseResourceGroupRequest) (_result *CreateDefenseResourceGroupResponse, _err error)

func (*Client) CreateDefenseResourceGroupWithOptions

func (client *Client) CreateDefenseResourceGroupWithOptions(request *CreateDefenseResourceGroupRequest, runtime *util.RuntimeOptions) (_result *CreateDefenseResourceGroupResponse, _err error)

func (*Client) CreateDefenseRule

func (client *Client) CreateDefenseRule(request *CreateDefenseRuleRequest) (_result *CreateDefenseRuleResponse, _err error)

func (*Client) CreateDefenseRuleWithOptions

func (client *Client) CreateDefenseRuleWithOptions(request *CreateDefenseRuleRequest, runtime *util.RuntimeOptions) (_result *CreateDefenseRuleResponse, _err error)

func (*Client) CreateDefenseTemplate

func (client *Client) CreateDefenseTemplate(request *CreateDefenseTemplateRequest) (_result *CreateDefenseTemplateResponse, _err error)

func (*Client) CreateDefenseTemplateWithOptions

func (client *Client) CreateDefenseTemplateWithOptions(request *CreateDefenseTemplateRequest, runtime *util.RuntimeOptions) (_result *CreateDefenseTemplateResponse, _err error)

func (*Client) CreateDomain

func (client *Client) CreateDomain(request *CreateDomainRequest) (_result *CreateDomainResponse, _err error)

func (*Client) CreateDomainWithOptions

func (client *Client) CreateDomainWithOptions(tmpReq *CreateDomainRequest, runtime *util.RuntimeOptions) (_result *CreateDomainResponse, _err error)

func (*Client) CreateMajorProtectionBlackIp

func (client *Client) CreateMajorProtectionBlackIp(request *CreateMajorProtectionBlackIpRequest) (_result *CreateMajorProtectionBlackIpResponse, _err error)

*

  • This operation is available only on the China site (aliyun.com). *
  • @param request CreateMajorProtectionBlackIpRequest
  • @return CreateMajorProtectionBlackIpResponse

func (*Client) CreateMajorProtectionBlackIpWithOptions

func (client *Client) CreateMajorProtectionBlackIpWithOptions(request *CreateMajorProtectionBlackIpRequest, runtime *util.RuntimeOptions) (_result *CreateMajorProtectionBlackIpResponse, _err error)

*

  • This operation is available only on the China site (aliyun.com). *
  • @param request CreateMajorProtectionBlackIpRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateMajorProtectionBlackIpResponse

func (*Client) DeleteDefenseResourceGroup

func (client *Client) DeleteDefenseResourceGroup(request *DeleteDefenseResourceGroupRequest) (_result *DeleteDefenseResourceGroupResponse, _err error)

func (*Client) DeleteDefenseResourceGroupWithOptions

func (client *Client) DeleteDefenseResourceGroupWithOptions(request *DeleteDefenseResourceGroupRequest, runtime *util.RuntimeOptions) (_result *DeleteDefenseResourceGroupResponse, _err error)

func (*Client) DeleteDefenseRule

func (client *Client) DeleteDefenseRule(request *DeleteDefenseRuleRequest) (_result *DeleteDefenseRuleResponse, _err error)

func (*Client) DeleteDefenseRuleWithOptions

func (client *Client) DeleteDefenseRuleWithOptions(request *DeleteDefenseRuleRequest, runtime *util.RuntimeOptions) (_result *DeleteDefenseRuleResponse, _err error)

func (*Client) DeleteDefenseTemplate

func (client *Client) DeleteDefenseTemplate(request *DeleteDefenseTemplateRequest) (_result *DeleteDefenseTemplateResponse, _err error)

func (*Client) DeleteDefenseTemplateWithOptions

func (client *Client) DeleteDefenseTemplateWithOptions(request *DeleteDefenseTemplateRequest, runtime *util.RuntimeOptions) (_result *DeleteDefenseTemplateResponse, _err error)

func (*Client) DeleteDomain

func (client *Client) DeleteDomain(request *DeleteDomainRequest) (_result *DeleteDomainResponse, _err error)

func (*Client) DeleteDomainWithOptions

func (client *Client) DeleteDomainWithOptions(request *DeleteDomainRequest, runtime *util.RuntimeOptions) (_result *DeleteDomainResponse, _err error)

func (*Client) DeleteMajorProtectionBlackIp

func (client *Client) DeleteMajorProtectionBlackIp(request *DeleteMajorProtectionBlackIpRequest) (_result *DeleteMajorProtectionBlackIpResponse, _err error)

func (*Client) DeleteMajorProtectionBlackIpWithOptions

func (client *Client) DeleteMajorProtectionBlackIpWithOptions(request *DeleteMajorProtectionBlackIpRequest, runtime *util.RuntimeOptions) (_result *DeleteMajorProtectionBlackIpResponse, _err error)

func (*Client) DescribeDefenseResourceGroup

func (client *Client) DescribeDefenseResourceGroup(request *DescribeDefenseResourceGroupRequest) (_result *DescribeDefenseResourceGroupResponse, _err error)

func (*Client) DescribeDefenseResourceGroupWithOptions

func (client *Client) DescribeDefenseResourceGroupWithOptions(request *DescribeDefenseResourceGroupRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseResourceGroupResponse, _err error)

func (*Client) DescribeDefenseResources

func (client *Client) DescribeDefenseResources(request *DescribeDefenseResourcesRequest) (_result *DescribeDefenseResourcesResponse, _err error)

func (*Client) DescribeDefenseResourcesWithOptions

func (client *Client) DescribeDefenseResourcesWithOptions(request *DescribeDefenseResourcesRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseResourcesResponse, _err error)

func (*Client) DescribeDefenseRule

func (client *Client) DescribeDefenseRule(request *DescribeDefenseRuleRequest) (_result *DescribeDefenseRuleResponse, _err error)

func (*Client) DescribeDefenseRuleWithOptions

func (client *Client) DescribeDefenseRuleWithOptions(request *DescribeDefenseRuleRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseRuleResponse, _err error)

func (*Client) DescribeDefenseRules

func (client *Client) DescribeDefenseRules(request *DescribeDefenseRulesRequest) (_result *DescribeDefenseRulesResponse, _err error)

func (*Client) DescribeDefenseRulesWithOptions

func (client *Client) DescribeDefenseRulesWithOptions(request *DescribeDefenseRulesRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseRulesResponse, _err error)

func (*Client) DescribeDefenseTemplate

func (client *Client) DescribeDefenseTemplate(request *DescribeDefenseTemplateRequest) (_result *DescribeDefenseTemplateResponse, _err error)

func (*Client) DescribeDefenseTemplateWithOptions

func (client *Client) DescribeDefenseTemplateWithOptions(request *DescribeDefenseTemplateRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseTemplateResponse, _err error)

func (*Client) DescribeDomainDetail

func (client *Client) DescribeDomainDetail(request *DescribeDomainDetailRequest) (_result *DescribeDomainDetailResponse, _err error)

func (*Client) DescribeDomainDetailWithOptions

func (client *Client) DescribeDomainDetailWithOptions(request *DescribeDomainDetailRequest, runtime *util.RuntimeOptions) (_result *DescribeDomainDetailResponse, _err error)

func (*Client) DescribeDomains

func (client *Client) DescribeDomains(request *DescribeDomainsRequest) (_result *DescribeDomainsResponse, _err error)

func (*Client) DescribeDomainsWithOptions

func (client *Client) DescribeDomainsWithOptions(request *DescribeDomainsRequest, runtime *util.RuntimeOptions) (_result *DescribeDomainsResponse, _err error)

func (*Client) DescribeFlowChart

func (client *Client) DescribeFlowChart(request *DescribeFlowChartRequest) (_result *DescribeFlowChartResponse, _err error)

func (*Client) DescribeFlowChartWithOptions

func (client *Client) DescribeFlowChartWithOptions(request *DescribeFlowChartRequest, runtime *util.RuntimeOptions) (_result *DescribeFlowChartResponse, _err error)

func (*Client) DescribeFlowTopResource

func (client *Client) DescribeFlowTopResource(request *DescribeFlowTopResourceRequest) (_result *DescribeFlowTopResourceResponse, _err error)

func (*Client) DescribeFlowTopResourceWithOptions

func (client *Client) DescribeFlowTopResourceWithOptions(request *DescribeFlowTopResourceRequest, runtime *util.RuntimeOptions) (_result *DescribeFlowTopResourceResponse, _err error)

func (*Client) DescribeFlowTopUrl

func (client *Client) DescribeFlowTopUrl(request *DescribeFlowTopUrlRequest) (_result *DescribeFlowTopUrlResponse, _err error)

func (*Client) DescribeFlowTopUrlWithOptions

func (client *Client) DescribeFlowTopUrlWithOptions(request *DescribeFlowTopUrlRequest, runtime *util.RuntimeOptions) (_result *DescribeFlowTopUrlResponse, _err error)

func (*Client) DescribeHybridCloudGroups added in v2.0.2

func (client *Client) DescribeHybridCloudGroups(request *DescribeHybridCloudGroupsRequest) (_result *DescribeHybridCloudGroupsResponse, _err error)

func (*Client) DescribeHybridCloudGroupsWithOptions added in v2.0.2

func (client *Client) DescribeHybridCloudGroupsWithOptions(request *DescribeHybridCloudGroupsRequest, runtime *util.RuntimeOptions) (_result *DescribeHybridCloudGroupsResponse, _err error)

func (*Client) DescribeHybridCloudResources added in v2.0.2

func (client *Client) DescribeHybridCloudResources(request *DescribeHybridCloudResourcesRequest) (_result *DescribeHybridCloudResourcesResponse, _err error)

func (*Client) DescribeHybridCloudResourcesWithOptions added in v2.0.2

func (client *Client) DescribeHybridCloudResourcesWithOptions(request *DescribeHybridCloudResourcesRequest, runtime *util.RuntimeOptions) (_result *DescribeHybridCloudResourcesResponse, _err error)

func (*Client) DescribeHybridCloudUser added in v2.0.2

func (client *Client) DescribeHybridCloudUser(request *DescribeHybridCloudUserRequest) (_result *DescribeHybridCloudUserResponse, _err error)

func (*Client) DescribeHybridCloudUserWithOptions added in v2.0.2

func (client *Client) DescribeHybridCloudUserWithOptions(request *DescribeHybridCloudUserRequest, runtime *util.RuntimeOptions) (_result *DescribeHybridCloudUserResponse, _err error)

func (*Client) DescribeInstance

func (client *Client) DescribeInstance(request *DescribeInstanceRequest) (_result *DescribeInstanceResponse, _err error)

func (*Client) DescribeInstanceWithOptions

func (client *Client) DescribeInstanceWithOptions(request *DescribeInstanceRequest, runtime *util.RuntimeOptions) (_result *DescribeInstanceResponse, _err error)

func (*Client) DescribeMajorProtectionBlackIps

func (client *Client) DescribeMajorProtectionBlackIps(request *DescribeMajorProtectionBlackIpsRequest) (_result *DescribeMajorProtectionBlackIpsResponse, _err error)

func (*Client) DescribeMajorProtectionBlackIpsWithOptions

func (client *Client) DescribeMajorProtectionBlackIpsWithOptions(request *DescribeMajorProtectionBlackIpsRequest, runtime *util.RuntimeOptions) (_result *DescribeMajorProtectionBlackIpsResponse, _err error)

func (*Client) DescribePeakTrend

func (client *Client) DescribePeakTrend(request *DescribePeakTrendRequest) (_result *DescribePeakTrendResponse, _err error)

func (*Client) DescribePeakTrendWithOptions

func (client *Client) DescribePeakTrendWithOptions(request *DescribePeakTrendRequest, runtime *util.RuntimeOptions) (_result *DescribePeakTrendResponse, _err error)

func (*Client) DescribeResourceLogStatus

func (client *Client) DescribeResourceLogStatus(request *DescribeResourceLogStatusRequest) (_result *DescribeResourceLogStatusResponse, _err error)

func (*Client) DescribeResourceLogStatusWithOptions

func (client *Client) DescribeResourceLogStatusWithOptions(request *DescribeResourceLogStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeResourceLogStatusResponse, _err error)

func (*Client) DescribeResourcePort

func (client *Client) DescribeResourcePort(request *DescribeResourcePortRequest) (_result *DescribeResourcePortResponse, _err error)

func (*Client) DescribeResourcePortWithOptions

func (client *Client) DescribeResourcePortWithOptions(request *DescribeResourcePortRequest, runtime *util.RuntimeOptions) (_result *DescribeResourcePortResponse, _err error)

func (*Client) DescribeResponseCodeTrendGraph

func (client *Client) DescribeResponseCodeTrendGraph(request *DescribeResponseCodeTrendGraphRequest) (_result *DescribeResponseCodeTrendGraphResponse, _err error)

func (*Client) DescribeResponseCodeTrendGraphWithOptions

func (client *Client) DescribeResponseCodeTrendGraphWithOptions(request *DescribeResponseCodeTrendGraphRequest, runtime *util.RuntimeOptions) (_result *DescribeResponseCodeTrendGraphResponse, _err error)

func (*Client) DescribeRuleGroups

func (client *Client) DescribeRuleGroups(request *DescribeRuleGroupsRequest) (_result *DescribeRuleGroupsResponse, _err error)

func (*Client) DescribeRuleGroupsWithOptions

func (client *Client) DescribeRuleGroupsWithOptions(request *DescribeRuleGroupsRequest, runtime *util.RuntimeOptions) (_result *DescribeRuleGroupsResponse, _err error)

func (*Client) DescribeRuleHitsTopClientIp

func (client *Client) DescribeRuleHitsTopClientIp(request *DescribeRuleHitsTopClientIpRequest) (_result *DescribeRuleHitsTopClientIpResponse, _err error)

func (*Client) DescribeRuleHitsTopClientIpWithOptions

func (client *Client) DescribeRuleHitsTopClientIpWithOptions(request *DescribeRuleHitsTopClientIpRequest, runtime *util.RuntimeOptions) (_result *DescribeRuleHitsTopClientIpResponse, _err error)

func (*Client) DescribeRuleHitsTopResource

func (client *Client) DescribeRuleHitsTopResource(request *DescribeRuleHitsTopResourceRequest) (_result *DescribeRuleHitsTopResourceResponse, _err error)

func (*Client) DescribeRuleHitsTopResourceWithOptions

func (client *Client) DescribeRuleHitsTopResourceWithOptions(request *DescribeRuleHitsTopResourceRequest, runtime *util.RuntimeOptions) (_result *DescribeRuleHitsTopResourceResponse, _err error)

func (*Client) DescribeRuleHitsTopRuleId

func (client *Client) DescribeRuleHitsTopRuleId(request *DescribeRuleHitsTopRuleIdRequest) (_result *DescribeRuleHitsTopRuleIdResponse, _err error)

func (*Client) DescribeRuleHitsTopRuleIdWithOptions

func (client *Client) DescribeRuleHitsTopRuleIdWithOptions(request *DescribeRuleHitsTopRuleIdRequest, runtime *util.RuntimeOptions) (_result *DescribeRuleHitsTopRuleIdResponse, _err error)

func (*Client) DescribeRuleHitsTopTuleType

func (client *Client) DescribeRuleHitsTopTuleType(request *DescribeRuleHitsTopTuleTypeRequest) (_result *DescribeRuleHitsTopTuleTypeResponse, _err error)

func (*Client) DescribeRuleHitsTopTuleTypeWithOptions

func (client *Client) DescribeRuleHitsTopTuleTypeWithOptions(request *DescribeRuleHitsTopTuleTypeRequest, runtime *util.RuntimeOptions) (_result *DescribeRuleHitsTopTuleTypeResponse, _err error)

func (*Client) DescribeRuleHitsTopUa

func (client *Client) DescribeRuleHitsTopUa(request *DescribeRuleHitsTopUaRequest) (_result *DescribeRuleHitsTopUaResponse, _err error)

func (*Client) DescribeRuleHitsTopUaWithOptions

func (client *Client) DescribeRuleHitsTopUaWithOptions(request *DescribeRuleHitsTopUaRequest, runtime *util.RuntimeOptions) (_result *DescribeRuleHitsTopUaResponse, _err error)

func (*Client) DescribeRuleHitsTopUrl

func (client *Client) DescribeRuleHitsTopUrl(request *DescribeRuleHitsTopUrlRequest) (_result *DescribeRuleHitsTopUrlResponse, _err error)

func (*Client) DescribeRuleHitsTopUrlWithOptions

func (client *Client) DescribeRuleHitsTopUrlWithOptions(request *DescribeRuleHitsTopUrlRequest, runtime *util.RuntimeOptions) (_result *DescribeRuleHitsTopUrlResponse, _err error)

func (*Client) DescribeTemplateResources

func (client *Client) DescribeTemplateResources(request *DescribeTemplateResourcesRequest) (_result *DescribeTemplateResourcesResponse, _err error)

func (*Client) DescribeTemplateResourcesWithOptions

func (client *Client) DescribeTemplateResourcesWithOptions(request *DescribeTemplateResourcesRequest, runtime *util.RuntimeOptions) (_result *DescribeTemplateResourcesResponse, _err error)

func (*Client) DescribeVisitTopIp

func (client *Client) DescribeVisitTopIp(request *DescribeVisitTopIpRequest) (_result *DescribeVisitTopIpResponse, _err error)

func (*Client) DescribeVisitTopIpWithOptions

func (client *Client) DescribeVisitTopIpWithOptions(request *DescribeVisitTopIpRequest, runtime *util.RuntimeOptions) (_result *DescribeVisitTopIpResponse, _err error)

func (*Client) DescribeVisitUas

func (client *Client) DescribeVisitUas(request *DescribeVisitUasRequest) (_result *DescribeVisitUasResponse, _err error)

func (*Client) DescribeVisitUasWithOptions

func (client *Client) DescribeVisitUasWithOptions(request *DescribeVisitUasRequest, runtime *util.RuntimeOptions) (_result *DescribeVisitUasResponse, _err error)

func (*Client) DescribeWafSourceIpSegment

func (client *Client) DescribeWafSourceIpSegment(request *DescribeWafSourceIpSegmentRequest) (_result *DescribeWafSourceIpSegmentResponse, _err error)

func (*Client) DescribeWafSourceIpSegmentWithOptions

func (client *Client) DescribeWafSourceIpSegmentWithOptions(request *DescribeWafSourceIpSegmentRequest, runtime *util.RuntimeOptions) (_result *DescribeWafSourceIpSegmentResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ModifyDefenseResourceGroup

func (client *Client) ModifyDefenseResourceGroup(request *ModifyDefenseResourceGroupRequest) (_result *ModifyDefenseResourceGroupResponse, _err error)

func (*Client) ModifyDefenseResourceGroupWithOptions

func (client *Client) ModifyDefenseResourceGroupWithOptions(request *ModifyDefenseResourceGroupRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseResourceGroupResponse, _err error)

func (*Client) ModifyDefenseRule

func (client *Client) ModifyDefenseRule(request *ModifyDefenseRuleRequest) (_result *ModifyDefenseRuleResponse, _err error)

func (*Client) ModifyDefenseRuleStatus

func (client *Client) ModifyDefenseRuleStatus(request *ModifyDefenseRuleStatusRequest) (_result *ModifyDefenseRuleStatusResponse, _err error)

func (*Client) ModifyDefenseRuleStatusWithOptions

func (client *Client) ModifyDefenseRuleStatusWithOptions(request *ModifyDefenseRuleStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseRuleStatusResponse, _err error)

func (*Client) ModifyDefenseRuleWithOptions

func (client *Client) ModifyDefenseRuleWithOptions(request *ModifyDefenseRuleRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseRuleResponse, _err error)

func (*Client) ModifyDefenseTemplate

func (client *Client) ModifyDefenseTemplate(request *ModifyDefenseTemplateRequest) (_result *ModifyDefenseTemplateResponse, _err error)

func (*Client) ModifyDefenseTemplateStatus

func (client *Client) ModifyDefenseTemplateStatus(request *ModifyDefenseTemplateStatusRequest) (_result *ModifyDefenseTemplateStatusResponse, _err error)

func (*Client) ModifyDefenseTemplateStatusWithOptions

func (client *Client) ModifyDefenseTemplateStatusWithOptions(request *ModifyDefenseTemplateStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseTemplateStatusResponse, _err error)

func (*Client) ModifyDefenseTemplateWithOptions

func (client *Client) ModifyDefenseTemplateWithOptions(request *ModifyDefenseTemplateRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseTemplateResponse, _err error)

func (*Client) ModifyDomain

func (client *Client) ModifyDomain(request *ModifyDomainRequest) (_result *ModifyDomainResponse, _err error)

func (*Client) ModifyDomainWithOptions

func (client *Client) ModifyDomainWithOptions(tmpReq *ModifyDomainRequest, runtime *util.RuntimeOptions) (_result *ModifyDomainResponse, _err error)

func (*Client) ModifyHybridCloudClusterBypassStatus added in v2.1.0

func (client *Client) ModifyHybridCloudClusterBypassStatus(request *ModifyHybridCloudClusterBypassStatusRequest) (_result *ModifyHybridCloudClusterBypassStatusResponse, _err error)

func (*Client) ModifyHybridCloudClusterBypassStatusWithOptions added in v2.1.0

func (client *Client) ModifyHybridCloudClusterBypassStatusWithOptions(request *ModifyHybridCloudClusterBypassStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyHybridCloudClusterBypassStatusResponse, _err error)

func (*Client) ModifyMajorProtectionBlackIp

func (client *Client) ModifyMajorProtectionBlackIp(request *ModifyMajorProtectionBlackIpRequest) (_result *ModifyMajorProtectionBlackIpResponse, _err error)

func (*Client) ModifyMajorProtectionBlackIpWithOptions

func (client *Client) ModifyMajorProtectionBlackIpWithOptions(request *ModifyMajorProtectionBlackIpRequest, runtime *util.RuntimeOptions) (_result *ModifyMajorProtectionBlackIpResponse, _err error)

func (*Client) ModifyResourceLogStatus

func (client *Client) ModifyResourceLogStatus(request *ModifyResourceLogStatusRequest) (_result *ModifyResourceLogStatusResponse, _err error)

func (*Client) ModifyResourceLogStatusWithOptions

func (client *Client) ModifyResourceLogStatusWithOptions(request *ModifyResourceLogStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyResourceLogStatusResponse, _err error)

func (*Client) ModifyTemplateResources

func (client *Client) ModifyTemplateResources(request *ModifyTemplateResourcesRequest) (_result *ModifyTemplateResourcesResponse, _err error)

func (*Client) ModifyTemplateResourcesWithOptions

func (client *Client) ModifyTemplateResourcesWithOptions(request *ModifyTemplateResourcesRequest, runtime *util.RuntimeOptions) (_result *ModifyTemplateResourcesResponse, _err error)

type CreateDefenseResourceGroupRequest

type CreateDefenseResourceGroupRequest struct {
	// The protected objects that you want to add to the protected object group. You can add multiple protected objects to a protected object group at the same time. You can specify multiple protected objects. Separate them with commas (,).
	AddList *string `json:"AddList,omitempty" xml:"AddList,omitempty"`
	// The description of the protected object group.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the protected object group that you want to create.
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (CreateDefenseResourceGroupRequest) GoString

func (*CreateDefenseResourceGroupRequest) SetAddList

func (*CreateDefenseResourceGroupRequest) SetDescription

func (*CreateDefenseResourceGroupRequest) SetGroupName

func (*CreateDefenseResourceGroupRequest) SetInstanceId

func (*CreateDefenseResourceGroupRequest) SetRegionId added in v2.0.2

func (*CreateDefenseResourceGroupRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *CreateDefenseResourceGroupRequest) SetResourceManagerResourceGroupId(v string) *CreateDefenseResourceGroupRequest

func (CreateDefenseResourceGroupRequest) String

type CreateDefenseResourceGroupResponse

type CreateDefenseResourceGroupResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateDefenseResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateDefenseResourceGroupResponse) GoString

func (*CreateDefenseResourceGroupResponse) SetHeaders

func (*CreateDefenseResourceGroupResponse) SetStatusCode

func (CreateDefenseResourceGroupResponse) String

type CreateDefenseResourceGroupResponseBody

type CreateDefenseResourceGroupResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDefenseResourceGroupResponseBody) GoString

func (*CreateDefenseResourceGroupResponseBody) SetRequestId

func (CreateDefenseResourceGroupResponseBody) String

type CreateDefenseRuleRequest

type CreateDefenseRuleRequest struct {
	// The module to which the protection rule that you want to create belongs.
	//
	// *   **waf_group:** the basic protection rule module.
	// *   **antiscan:** the scan protection module.
	// *   **ip_blacklist:** the IP address blacklist module.
	// *   **custom_acl:** the custom rule module.
	// *   **whitelist:** the whitelist module.
	// *   **region_block:** the region blacklist module.
	// *   **custom_response:** the custom response module.
	// *   **cc:** the HTTP flood protection module.
	// *   **tamperproof:** the website tamper-proofing module.
	// *   **dlp:** the data leakage prevention module.
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The configurations of the protection rule. Specify a string that contains multiple parameters in the JSON format.
	//
	// >  The parameters vary based on the value of the **DefenseScene** parameter. For more information, see the "**Protection rule parameters**" section in this topic.
	Rules *string `json:"Rules,omitempty" xml:"Rules,omitempty"`
	// The ID of the protection rule template for which you want to create a protection rule.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (CreateDefenseRuleRequest) GoString

func (s CreateDefenseRuleRequest) GoString() string

func (*CreateDefenseRuleRequest) SetDefenseScene

func (*CreateDefenseRuleRequest) SetInstanceId

func (*CreateDefenseRuleRequest) SetRegionId added in v2.0.2

func (*CreateDefenseRuleRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *CreateDefenseRuleRequest) SetResourceManagerResourceGroupId(v string) *CreateDefenseRuleRequest

func (*CreateDefenseRuleRequest) SetRules

func (*CreateDefenseRuleRequest) SetTemplateId

func (CreateDefenseRuleRequest) String

func (s CreateDefenseRuleRequest) String() string

type CreateDefenseRuleResponse

type CreateDefenseRuleResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateDefenseRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateDefenseRuleResponse) GoString

func (s CreateDefenseRuleResponse) GoString() string

func (*CreateDefenseRuleResponse) SetBody

func (*CreateDefenseRuleResponse) SetHeaders

func (*CreateDefenseRuleResponse) SetStatusCode

func (CreateDefenseRuleResponse) String

func (s CreateDefenseRuleResponse) String() string

type CreateDefenseRuleResponseBody

type CreateDefenseRuleResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDefenseRuleResponseBody) GoString

func (*CreateDefenseRuleResponseBody) SetRequestId

func (CreateDefenseRuleResponseBody) String

type CreateDefenseTemplateRequest

type CreateDefenseTemplateRequest struct {
	// The scenario in which you want to use the protection rule template. For more information, see the description of the **DefenseScene** parameter in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The description of the protection rule template.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The name of the protection rule template.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The origin of the protection rule template that you want to create. Set the value to **custom**. The value specifies that the protection rule template is a custom template.
	TemplateOrigin *string `json:"TemplateOrigin,omitempty" xml:"TemplateOrigin,omitempty"`
	// The status of the protection rule template. Valid values:
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	TemplateStatus *int32 `json:"TemplateStatus,omitempty" xml:"TemplateStatus,omitempty"`
	// The type of the protection rule template. Valid values:
	//
	// *   **user_default:** default template.
	// *   **user_custom:** custom template.
	TemplateType *string `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (CreateDefenseTemplateRequest) GoString

func (s CreateDefenseTemplateRequest) GoString() string

func (*CreateDefenseTemplateRequest) SetDefenseScene

func (*CreateDefenseTemplateRequest) SetDescription

func (*CreateDefenseTemplateRequest) SetInstanceId

func (*CreateDefenseTemplateRequest) SetRegionId added in v2.0.2

func (*CreateDefenseTemplateRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *CreateDefenseTemplateRequest) SetResourceManagerResourceGroupId(v string) *CreateDefenseTemplateRequest

func (*CreateDefenseTemplateRequest) SetTemplateName

func (*CreateDefenseTemplateRequest) SetTemplateOrigin

func (*CreateDefenseTemplateRequest) SetTemplateStatus

func (*CreateDefenseTemplateRequest) SetTemplateType

func (CreateDefenseTemplateRequest) String

type CreateDefenseTemplateResponse

type CreateDefenseTemplateResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateDefenseTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateDefenseTemplateResponse) GoString

func (*CreateDefenseTemplateResponse) SetBody

func (*CreateDefenseTemplateResponse) SetHeaders

func (*CreateDefenseTemplateResponse) SetStatusCode

func (CreateDefenseTemplateResponse) String

type CreateDefenseTemplateResponseBody

type CreateDefenseTemplateResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the protection rule template.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (CreateDefenseTemplateResponseBody) GoString

func (*CreateDefenseTemplateResponseBody) SetRequestId

func (*CreateDefenseTemplateResponseBody) SetTemplateId

func (CreateDefenseTemplateResponseBody) String

type CreateDomainRequest

type CreateDomainRequest struct {
	// The mode in which you want to add the domain name to WAF. Valid values:
	//
	// *   **share:** adds the domain name to WAF in CNAME record mode. This is the default value.
	// *   **hybrid_cloud_cname:** adds the domain name to WAF in hybrid cloud reverse proxy mode.
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name that you want to add to WAF.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// > You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	Listen *CreateDomainRequestListen `json:"Listen,omitempty" xml:"Listen,omitempty" type:"Struct"`
	// The configurations of the forwarding rule.
	Redirect *CreateDomainRequestRedirect `json:"Redirect,omitempty" xml:"Redirect,omitempty" type:"Struct"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou**: the Chinese mainland
	// *   **ap-southeast-1**: outside the Chinese mainland
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (CreateDomainRequest) GoString

func (s CreateDomainRequest) GoString() string

func (*CreateDomainRequest) SetAccessType

func (s *CreateDomainRequest) SetAccessType(v string) *CreateDomainRequest

func (*CreateDomainRequest) SetDomain

func (*CreateDomainRequest) SetInstanceId

func (s *CreateDomainRequest) SetInstanceId(v string) *CreateDomainRequest

func (*CreateDomainRequest) SetListen

func (*CreateDomainRequest) SetRedirect

func (*CreateDomainRequest) SetRegionId

func (s *CreateDomainRequest) SetRegionId(v string) *CreateDomainRequest

func (*CreateDomainRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *CreateDomainRequest) SetResourceManagerResourceGroupId(v string) *CreateDomainRequest

func (*CreateDomainRequest) SetSourceIp added in v2.0.2

func (s *CreateDomainRequest) SetSourceIp(v string) *CreateDomainRequest

func (CreateDomainRequest) String

func (s CreateDomainRequest) String() string

type CreateDomainRequestListen

type CreateDomainRequestListen struct {
	// The ID of the certificate that you want to add. This parameter is available only if you specify **HttpsPorts**.
	CertId *string `json:"CertId,omitempty" xml:"CertId,omitempty"`
	// The type of cipher suite that you want to add. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// *   **1:** all cipher suites.
	// *   **2:** strong cipher suites. You can select this value only if you set **TLSVersion** to **tlsv1.2**.
	// *   **99:** custom cipher suites.
	CipherSuite *int32 `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// The custom cipher suite that you want to add.
	CustomCiphers []*string `json:"CustomCiphers,omitempty" xml:"CustomCiphers,omitempty" type:"Repeated"`
	// Specifies whether to support TLS 1.3. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// *   **true**
	// *   **false**
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// Specifies whether to enable an exclusive IP address. This parameter is available only if you set **IPv6Enabled** to **false** and **ProtectionResource** to **share**. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	ExclusiveIp *bool `json:"ExclusiveIp,omitempty" xml:"ExclusiveIp,omitempty"`
	// Specifies whether to enable HTTP to HTTPS redirection. This parameter is available only if you specify HttpsPorts and leave HttpPorts empty. Valid values:
	//
	// *   **true**
	// *   **false**
	FocusHttps *bool `json:"FocusHttps,omitempty" xml:"FocusHttps,omitempty"`
	// Specifies whether to enable HTTP/2. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// The HTTP listener port.
	HttpPorts []*int32 `json:"HttpPorts,omitempty" xml:"HttpPorts,omitempty" type:"Repeated"`
	// The HTTPS listener port.
	HttpsPorts []*int32 `json:"HttpsPorts,omitempty" xml:"HttpsPorts,omitempty" type:"Repeated"`
	// Specifies whether to enable IPv6. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	IPv6Enabled *bool `json:"IPv6Enabled,omitempty" xml:"IPv6Enabled,omitempty"`
	// The type of the protection resource. Valid values:
	//
	// *   **share:** a shared cluster. This is the default value.
	// *   **gslb:** shared cluster-based intelligent load balancing.
	ProtectionResource *string `json:"ProtectionResource,omitempty" xml:"ProtectionResource,omitempty"`
	// Specifies whether to allow access only from SM certificate-based clients. This parameter is available only if you set SM2Enabled to true.
	//
	// *   true
	// *   false
	SM2AccessOnly *bool `json:"SM2AccessOnly,omitempty" xml:"SM2AccessOnly,omitempty"`
	// The ID of the SM certificate that you want to add. This parameter is available only if you set SM2Enabled to true.
	SM2CertId *string `json:"SM2CertId,omitempty" xml:"SM2CertId,omitempty"`
	// Specifies whether to enable the ShangMi (SM) certificate.
	SM2Enabled *bool `json:"SM2Enabled,omitempty" xml:"SM2Enabled,omitempty"`
	// The version of the Transport Layer Security (TLS) protocol. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// *   **tlsv1**
	// *   **tlsv1.1**
	// *   **tlsv1.2**
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
	// The method that you want WAF to use to obtain the actual IP address of a client. Valid values:
	//
	// *   **0:** No Layer 7 proxies are deployed in front of WAF. This is the default value.
	// *   **1:** WAF reads the first value of the X-Forwarded-For (XFF) header field as the IP address of the client.
	// *   **2:** WAF reads the value of a custom header field as the IP address of the client.
	XffHeaderMode *int32 `json:"XffHeaderMode,omitempty" xml:"XffHeaderMode,omitempty"`
	// The custom header field that you want WAF to use to obtain the actual IP address of a client.
	XffHeaders []*string `json:"XffHeaders,omitempty" xml:"XffHeaders,omitempty" type:"Repeated"`
}

func (CreateDomainRequestListen) GoString

func (s CreateDomainRequestListen) GoString() string

func (*CreateDomainRequestListen) SetCertId

func (*CreateDomainRequestListen) SetCipherSuite

func (*CreateDomainRequestListen) SetCustomCiphers

func (s *CreateDomainRequestListen) SetCustomCiphers(v []*string) *CreateDomainRequestListen

func (*CreateDomainRequestListen) SetEnableTLSv3

func (*CreateDomainRequestListen) SetExclusiveIp

func (*CreateDomainRequestListen) SetFocusHttps

func (*CreateDomainRequestListen) SetHttp2Enabled

func (*CreateDomainRequestListen) SetHttpPorts

func (*CreateDomainRequestListen) SetHttpsPorts

func (*CreateDomainRequestListen) SetIPv6Enabled

func (*CreateDomainRequestListen) SetProtectionResource

func (s *CreateDomainRequestListen) SetProtectionResource(v string) *CreateDomainRequestListen

func (*CreateDomainRequestListen) SetSM2AccessOnly added in v2.0.2

func (*CreateDomainRequestListen) SetSM2CertId added in v2.0.2

func (*CreateDomainRequestListen) SetSM2Enabled added in v2.0.2

func (*CreateDomainRequestListen) SetTLSVersion

func (*CreateDomainRequestListen) SetXffHeaderMode

func (*CreateDomainRequestListen) SetXffHeaders

func (CreateDomainRequestListen) String

func (s CreateDomainRequestListen) String() string

type CreateDomainRequestRedirect

type CreateDomainRequestRedirect struct {
	// The IP addresses or domain names of the origin server.
	Backends []*string `json:"Backends,omitempty" xml:"Backends,omitempty" type:"Repeated"`
	// Specifies whether to enable the public cloud disaster recovery feature. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	CnameEnabled *bool `json:"CnameEnabled,omitempty" xml:"CnameEnabled,omitempty"`
	// The connection timeout period. Unit: seconds. Valid values: 1 to 3600.
	ConnectTimeout *int32 `json:"ConnectTimeout,omitempty" xml:"ConnectTimeout,omitempty"`
	// Specifies whether to enable HTTPS to HTTP redirection for back-to-origin requests. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// *   **true**
	// *   **false**
	FocusHttpBackend *bool `json:"FocusHttpBackend,omitempty" xml:"FocusHttpBackend,omitempty"`
	// Specifies whether to enable the persistent connection feature. Valid values:
	//
	// *   **true** (default)
	// *   **false**
	Keepalive *bool `json:"Keepalive,omitempty" xml:"Keepalive,omitempty"`
	// The number of reused persistent connections. Valid values: 60 to 1000.
	//
	// > This parameter specifies the number of reused persistent connections after you enable the persistent connection feature.
	KeepaliveRequests *int32 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period of persistent connections that are in the Idle state. Valid values: 1 to 60. Default value: 15. Unit: seconds.
	//
	// > This parameter specifies the period of time during which a reused persistent connection is allowed to remain in the Idle state before the persistent connection is released.
	KeepaliveTimeout *int32 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The load balancing algorithm that you want WAF to use to forward requests to the origin server. Valid values:
	//
	// *   **iphash**
	// *   **roundRobin**
	// *   **leastTime**. You can select this value only if you set **ProtectionResource** to **gslb**.
	Loadbalance *string `json:"Loadbalance,omitempty" xml:"Loadbalance,omitempty"`
	// The read timeout period. Unit: seconds. Valid values: 1 to 3600.
	ReadTimeout *int32 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The key-value pairs that you want to use to label the requests that pass through the WAF instance.
	//
	// WAF automatically adds the key-value pairs to request headers. This way, the backend service can identify requests that pass through WAF.
	RequestHeaders []*CreateDomainRequestRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// Specifies whether WAF retries to forward requests when the requests fail to be forwarded to the origin server. Valid values:
	//
	// *   **true** (default)
	// *   **false**
	Retry *bool `json:"Retry,omitempty" xml:"Retry,omitempty"`
	// The forwarding rules that you want to configure for the domain name that you want to add to WAF in hybrid cloud mode. Set the value to a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:
	//
	// *   **rs:** The back-to-origin IP addresses or CNAMEs. The value must be of the ARRAY type.
	// *   **location:** The name of the protection node. The value must be of the STRING type.
	// *   **locationId:** The ID of the protection node. The value must be of the LONG type.
	RoutingRules *string `json:"RoutingRules,omitempty" xml:"RoutingRules,omitempty"`
	// Specifies whether to enable origin Server Name Indication (SNI). This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	SniEnabled *bool `json:"SniEnabled,omitempty" xml:"SniEnabled,omitempty"`
	// The value of the SNI field. If you do not specify this parameter, the **Host** field value in the request header is used. If you want WAF to use an SNI field value that is different from the Host field value in back-to-origin requests, you can specify a custom value for the SNI field.
	//
	// > You must specify this parameter only if you set **SniEnabled** to **true**.
	SniHost *string `json:"SniHost,omitempty" xml:"SniHost,omitempty"`
	// The write timeout period. Unit: seconds. Valid values: 1 to 3600.
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	XffProto     *bool  `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (CreateDomainRequestRedirect) GoString

func (s CreateDomainRequestRedirect) GoString() string

func (*CreateDomainRequestRedirect) SetBackends

func (*CreateDomainRequestRedirect) SetCnameEnabled added in v2.0.1

func (*CreateDomainRequestRedirect) SetConnectTimeout

func (*CreateDomainRequestRedirect) SetFocusHttpBackend

func (*CreateDomainRequestRedirect) SetKeepalive added in v2.0.1

func (*CreateDomainRequestRedirect) SetKeepaliveRequests added in v2.0.1

func (*CreateDomainRequestRedirect) SetKeepaliveTimeout added in v2.0.1

func (*CreateDomainRequestRedirect) SetLoadbalance

func (*CreateDomainRequestRedirect) SetReadTimeout

func (*CreateDomainRequestRedirect) SetRequestHeaders

func (*CreateDomainRequestRedirect) SetRetry added in v2.0.1

func (*CreateDomainRequestRedirect) SetRoutingRules added in v2.0.1

func (*CreateDomainRequestRedirect) SetSniEnabled

func (*CreateDomainRequestRedirect) SetSniHost

func (*CreateDomainRequestRedirect) SetWriteTimeout

func (*CreateDomainRequestRedirect) SetXffProto added in v2.1.2

func (CreateDomainRequestRedirect) String

type CreateDomainRequestRedirectRequestHeaders

type CreateDomainRequestRedirectRequestHeaders struct {
	// The key of the custom header field.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the custom header field.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateDomainRequestRedirectRequestHeaders) GoString

func (*CreateDomainRequestRedirectRequestHeaders) SetKey

func (*CreateDomainRequestRedirectRequestHeaders) SetValue

func (CreateDomainRequestRedirectRequestHeaders) String

type CreateDomainResponse

type CreateDomainResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateDomainResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateDomainResponse) GoString

func (s CreateDomainResponse) GoString() string

func (*CreateDomainResponse) SetBody

func (*CreateDomainResponse) SetHeaders

func (s *CreateDomainResponse) SetHeaders(v map[string]*string) *CreateDomainResponse

func (*CreateDomainResponse) SetStatusCode

func (s *CreateDomainResponse) SetStatusCode(v int32) *CreateDomainResponse

func (CreateDomainResponse) String

func (s CreateDomainResponse) String() string

type CreateDomainResponseBody

type CreateDomainResponseBody struct {
	// The information about the domain name.
	DomainInfo *CreateDomainResponseBodyDomainInfo `json:"DomainInfo,omitempty" xml:"DomainInfo,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDomainResponseBody) GoString

func (s CreateDomainResponseBody) GoString() string

func (*CreateDomainResponseBody) SetDomainInfo

func (*CreateDomainResponseBody) SetRequestId

func (CreateDomainResponseBody) String

func (s CreateDomainResponseBody) String() string

type CreateDomainResponseBodyDomainInfo

type CreateDomainResponseBodyDomainInfo struct {
	// The CNAME that is assigned by WAF to the domain name.
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name that you added to WAF.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
}

func (CreateDomainResponseBodyDomainInfo) GoString

func (*CreateDomainResponseBodyDomainInfo) SetCname

func (*CreateDomainResponseBodyDomainInfo) SetDomain

func (CreateDomainResponseBodyDomainInfo) String

type CreateDomainShrinkRequest

type CreateDomainShrinkRequest struct {
	// The mode in which you want to add the domain name to WAF. Valid values:
	//
	// *   **share:** adds the domain name to WAF in CNAME record mode. This is the default value.
	// *   **hybrid_cloud_cname:** adds the domain name to WAF in hybrid cloud reverse proxy mode.
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name that you want to add to WAF.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// > You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	ListenShrink *string `json:"Listen,omitempty" xml:"Listen,omitempty"`
	// The configurations of the forwarding rule.
	RedirectShrink *string `json:"Redirect,omitempty" xml:"Redirect,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou**: the Chinese mainland
	// *   **ap-southeast-1**: outside the Chinese mainland
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (CreateDomainShrinkRequest) GoString

func (s CreateDomainShrinkRequest) GoString() string

func (*CreateDomainShrinkRequest) SetAccessType

func (*CreateDomainShrinkRequest) SetDomain

func (*CreateDomainShrinkRequest) SetInstanceId

func (*CreateDomainShrinkRequest) SetListenShrink

func (*CreateDomainShrinkRequest) SetRedirectShrink

func (*CreateDomainShrinkRequest) SetRegionId

func (*CreateDomainShrinkRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *CreateDomainShrinkRequest) SetResourceManagerResourceGroupId(v string) *CreateDomainShrinkRequest

func (*CreateDomainShrinkRequest) SetSourceIp added in v2.0.2

func (CreateDomainShrinkRequest) String

func (s CreateDomainShrinkRequest) String() string

type CreateMajorProtectionBlackIpRequest

type CreateMajorProtectionBlackIpRequest struct {
	// The description of the IP address blacklist.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time after which the IP address blacklist becomes invalid. Unit: seconds.
	//
	// >  If you set the value to **0**, the blacklist is permanently valid.
	ExpiredTime *int64 `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The IP addresses that you want to add to the IP address blacklist. CIDR blocks and IP addresses are supported. IPv4 and IPv6 addresses are supported. Separate the CIDR blocks or IP addresses with commas (,). For more information, see [Protection for major events](~~425591~~).
	IpList *string `json:"IpList,omitempty" xml:"IpList,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the major event protection template.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (CreateMajorProtectionBlackIpRequest) GoString

func (*CreateMajorProtectionBlackIpRequest) SetDescription

func (*CreateMajorProtectionBlackIpRequest) SetExpiredTime

func (*CreateMajorProtectionBlackIpRequest) SetInstanceId

func (*CreateMajorProtectionBlackIpRequest) SetIpList

func (*CreateMajorProtectionBlackIpRequest) SetRegionId added in v2.0.2

func (*CreateMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *CreateMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId(v string) *CreateMajorProtectionBlackIpRequest

func (*CreateMajorProtectionBlackIpRequest) SetRuleId

func (*CreateMajorProtectionBlackIpRequest) SetTemplateId

func (CreateMajorProtectionBlackIpRequest) String

type CreateMajorProtectionBlackIpResponse

type CreateMajorProtectionBlackIpResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateMajorProtectionBlackIpResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateMajorProtectionBlackIpResponse) GoString

func (*CreateMajorProtectionBlackIpResponse) SetHeaders

func (*CreateMajorProtectionBlackIpResponse) SetStatusCode

func (CreateMajorProtectionBlackIpResponse) String

type CreateMajorProtectionBlackIpResponseBody

type CreateMajorProtectionBlackIpResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateMajorProtectionBlackIpResponseBody) GoString

func (*CreateMajorProtectionBlackIpResponseBody) SetRequestId

func (CreateMajorProtectionBlackIpResponseBody) String

type DeleteDefenseResourceGroupRequest

type DeleteDefenseResourceGroupRequest struct {
	// The name of the protected object group that you want to delete.
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DeleteDefenseResourceGroupRequest) GoString

func (*DeleteDefenseResourceGroupRequest) SetGroupName

func (*DeleteDefenseResourceGroupRequest) SetInstanceId

func (*DeleteDefenseResourceGroupRequest) SetRegionId added in v2.0.2

func (*DeleteDefenseResourceGroupRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DeleteDefenseResourceGroupRequest) SetResourceManagerResourceGroupId(v string) *DeleteDefenseResourceGroupRequest

func (DeleteDefenseResourceGroupRequest) String

type DeleteDefenseResourceGroupResponse

type DeleteDefenseResourceGroupResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteDefenseResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteDefenseResourceGroupResponse) GoString

func (*DeleteDefenseResourceGroupResponse) SetHeaders

func (*DeleteDefenseResourceGroupResponse) SetStatusCode

func (DeleteDefenseResourceGroupResponse) String

type DeleteDefenseResourceGroupResponseBody

type DeleteDefenseResourceGroupResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDefenseResourceGroupResponseBody) GoString

func (*DeleteDefenseResourceGroupResponseBody) SetRequestId

func (DeleteDefenseResourceGroupResponseBody) String

type DeleteDefenseRuleRequest

type DeleteDefenseRuleRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The IDs of the protection rules that you want to delete. Separate the IDs with commas (,).
	RuleIds *string `json:"RuleIds,omitempty" xml:"RuleIds,omitempty"`
	// The ID of the protection rule template to which the protection rule that you want to delete belongs.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DeleteDefenseRuleRequest) GoString

func (s DeleteDefenseRuleRequest) GoString() string

func (*DeleteDefenseRuleRequest) SetInstanceId

func (*DeleteDefenseRuleRequest) SetRegionId added in v2.0.2

func (*DeleteDefenseRuleRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DeleteDefenseRuleRequest) SetResourceManagerResourceGroupId(v string) *DeleteDefenseRuleRequest

func (*DeleteDefenseRuleRequest) SetRuleIds

func (*DeleteDefenseRuleRequest) SetTemplateId

func (DeleteDefenseRuleRequest) String

func (s DeleteDefenseRuleRequest) String() string

type DeleteDefenseRuleResponse

type DeleteDefenseRuleResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteDefenseRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteDefenseRuleResponse) GoString

func (s DeleteDefenseRuleResponse) GoString() string

func (*DeleteDefenseRuleResponse) SetBody

func (*DeleteDefenseRuleResponse) SetHeaders

func (*DeleteDefenseRuleResponse) SetStatusCode

func (DeleteDefenseRuleResponse) String

func (s DeleteDefenseRuleResponse) String() string

type DeleteDefenseRuleResponseBody

type DeleteDefenseRuleResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDefenseRuleResponseBody) GoString

func (*DeleteDefenseRuleResponseBody) SetRequestId

func (DeleteDefenseRuleResponseBody) String

type DeleteDefenseTemplateRequest

type DeleteDefenseTemplateRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template that you want to delete.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DeleteDefenseTemplateRequest) GoString

func (s DeleteDefenseTemplateRequest) GoString() string

func (*DeleteDefenseTemplateRequest) SetInstanceId

func (*DeleteDefenseTemplateRequest) SetRegionId added in v2.0.2

func (*DeleteDefenseTemplateRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DeleteDefenseTemplateRequest) SetResourceManagerResourceGroupId(v string) *DeleteDefenseTemplateRequest

func (*DeleteDefenseTemplateRequest) SetTemplateId

func (DeleteDefenseTemplateRequest) String

type DeleteDefenseTemplateResponse

type DeleteDefenseTemplateResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteDefenseTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteDefenseTemplateResponse) GoString

func (*DeleteDefenseTemplateResponse) SetBody

func (*DeleteDefenseTemplateResponse) SetHeaders

func (*DeleteDefenseTemplateResponse) SetStatusCode

func (DeleteDefenseTemplateResponse) String

type DeleteDefenseTemplateResponseBody

type DeleteDefenseTemplateResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDefenseTemplateResponseBody) GoString

func (*DeleteDefenseTemplateResponseBody) SetRequestId

func (DeleteDefenseTemplateResponseBody) String

type DeleteDomainRequest

type DeleteDomainRequest struct {
	// The mode in which the domain name is added to WAF. Valid values:
	//
	// *   **share:** CNAME record mode. This is the default value.
	// *   **hybrid_cloud_cname:** hybrid cloud reverse proxy mode.
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name that you want to delete.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the domain name.
	DomainId *string `json:"DomainId,omitempty" xml:"DomainId,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The source IP address of the request. The value of this parameter is specified by the system.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (DeleteDomainRequest) GoString

func (s DeleteDomainRequest) GoString() string

func (*DeleteDomainRequest) SetAccessType added in v2.0.1

func (s *DeleteDomainRequest) SetAccessType(v string) *DeleteDomainRequest

func (*DeleteDomainRequest) SetDomain

func (*DeleteDomainRequest) SetDomainId added in v2.0.2

func (s *DeleteDomainRequest) SetDomainId(v string) *DeleteDomainRequest

func (*DeleteDomainRequest) SetInstanceId

func (s *DeleteDomainRequest) SetInstanceId(v string) *DeleteDomainRequest

func (*DeleteDomainRequest) SetRegionId

func (s *DeleteDomainRequest) SetRegionId(v string) *DeleteDomainRequest

func (*DeleteDomainRequest) SetSourceIp added in v2.0.2

func (s *DeleteDomainRequest) SetSourceIp(v string) *DeleteDomainRequest

func (DeleteDomainRequest) String

func (s DeleteDomainRequest) String() string

type DeleteDomainResponse

type DeleteDomainResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteDomainResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteDomainResponse) GoString

func (s DeleteDomainResponse) GoString() string

func (*DeleteDomainResponse) SetBody

func (*DeleteDomainResponse) SetHeaders

func (s *DeleteDomainResponse) SetHeaders(v map[string]*string) *DeleteDomainResponse

func (*DeleteDomainResponse) SetStatusCode

func (s *DeleteDomainResponse) SetStatusCode(v int32) *DeleteDomainResponse

func (DeleteDomainResponse) String

func (s DeleteDomainResponse) String() string

type DeleteDomainResponseBody

type DeleteDomainResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDomainResponseBody) GoString

func (s DeleteDomainResponseBody) GoString() string

func (*DeleteDomainResponseBody) SetRequestId

func (DeleteDomainResponseBody) String

func (s DeleteDomainResponseBody) String() string

type DeleteMajorProtectionBlackIpRequest

type DeleteMajorProtectionBlackIpRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The IP address blacklist for major event protection that you want to delete. You can specify multiple CIDR blocks or IP addresses. IPv4 and IPv6 addresses are supported. Separate the CIDR blocks or IP addresses with commas (,). For more information, see [Protection for major events](~~425591~~).
	IpList *string `json:"IpList,omitempty" xml:"IpList,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the IP address blacklist rule template for major event protection.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DeleteMajorProtectionBlackIpRequest) GoString

func (*DeleteMajorProtectionBlackIpRequest) SetInstanceId

func (*DeleteMajorProtectionBlackIpRequest) SetIpList

func (*DeleteMajorProtectionBlackIpRequest) SetRegionId added in v2.0.2

func (*DeleteMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DeleteMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId(v string) *DeleteMajorProtectionBlackIpRequest

func (*DeleteMajorProtectionBlackIpRequest) SetRuleId

func (*DeleteMajorProtectionBlackIpRequest) SetTemplateId

func (DeleteMajorProtectionBlackIpRequest) String

type DeleteMajorProtectionBlackIpResponse

type DeleteMajorProtectionBlackIpResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteMajorProtectionBlackIpResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteMajorProtectionBlackIpResponse) GoString

func (*DeleteMajorProtectionBlackIpResponse) SetHeaders

func (*DeleteMajorProtectionBlackIpResponse) SetStatusCode

func (DeleteMajorProtectionBlackIpResponse) String

type DeleteMajorProtectionBlackIpResponseBody

type DeleteMajorProtectionBlackIpResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteMajorProtectionBlackIpResponseBody) GoString

func (*DeleteMajorProtectionBlackIpResponseBody) SetRequestId

func (DeleteMajorProtectionBlackIpResponseBody) String

type DescribeDefenseResourceGroupRequest

type DescribeDefenseResourceGroupRequest struct {
	// The name of the protected object group whose information you want to query.
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDefenseResourceGroupRequest) GoString

func (*DescribeDefenseResourceGroupRequest) SetGroupName

func (*DescribeDefenseResourceGroupRequest) SetInstanceId

func (*DescribeDefenseResourceGroupRequest) SetRegionId added in v2.0.2

func (*DescribeDefenseResourceGroupRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeDefenseResourceGroupRequest) SetResourceManagerResourceGroupId(v string) *DescribeDefenseResourceGroupRequest

func (DescribeDefenseResourceGroupRequest) String

type DescribeDefenseResourceGroupResponse

type DescribeDefenseResourceGroupResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDefenseResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDefenseResourceGroupResponse) GoString

func (*DescribeDefenseResourceGroupResponse) SetHeaders

func (*DescribeDefenseResourceGroupResponse) SetStatusCode

func (DescribeDefenseResourceGroupResponse) String

type DescribeDefenseResourceGroupResponseBody

type DescribeDefenseResourceGroupResponseBody struct {
	// The information about the protected object group.
	Group *DescribeDefenseResourceGroupResponseBodyGroup `json:"Group,omitempty" xml:"Group,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDefenseResourceGroupResponseBody) GoString

func (*DescribeDefenseResourceGroupResponseBody) SetRequestId

func (DescribeDefenseResourceGroupResponseBody) String

type DescribeDefenseResourceGroupResponseBodyGroup

type DescribeDefenseResourceGroupResponseBodyGroup struct {
	// The description of the protected object group.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the protected object group was created.
	GmtCreate *int64 `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// The most recent time when the protected object group was modified.
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The name of the protected object group.
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The protected objects in the protected object group. The protected objects are separated with commas (,).
	ResourceList *string `json:"ResourceList,omitempty" xml:"ResourceList,omitempty"`
}

func (DescribeDefenseResourceGroupResponseBodyGroup) GoString

func (*DescribeDefenseResourceGroupResponseBodyGroup) SetDescription

func (*DescribeDefenseResourceGroupResponseBodyGroup) SetGmtCreate

func (*DescribeDefenseResourceGroupResponseBodyGroup) SetGmtModified

func (*DescribeDefenseResourceGroupResponseBodyGroup) SetGroupName

func (*DescribeDefenseResourceGroupResponseBodyGroup) SetResourceList

func (DescribeDefenseResourceGroupResponseBodyGroup) String

type DescribeDefenseResourcesRequest

type DescribeDefenseResourcesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of the page to return. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The query conditions. Specify the value of this parameter as a string in the JSON format.
	//
	// >  The results vary based on the query condition. For more information, see the "**Query parameters**" section in this topic.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address of the request. The value of this parameter is specified by the system.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
	// The tags of the resources that you want to query. You can specify up to 20 tags.
	Tag []*DescribeDefenseResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (DescribeDefenseResourcesRequest) GoString

func (*DescribeDefenseResourcesRequest) SetInstanceId

func (*DescribeDefenseResourcesRequest) SetPageNumber

func (*DescribeDefenseResourcesRequest) SetPageSize

func (*DescribeDefenseResourcesRequest) SetQuery

func (*DescribeDefenseResourcesRequest) SetRegionId added in v2.0.2

func (*DescribeDefenseResourcesRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeDefenseResourcesRequest) SetResourceManagerResourceGroupId(v string) *DescribeDefenseResourcesRequest

func (*DescribeDefenseResourcesRequest) SetSourceIp added in v2.0.2

func (*DescribeDefenseResourcesRequest) SetTag added in v2.0.2

func (DescribeDefenseResourcesRequest) String

type DescribeDefenseResourcesRequestTag added in v2.0.2

type DescribeDefenseResourcesRequestTag struct {
	// The key of the tag.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDefenseResourcesRequestTag) GoString added in v2.0.2

func (*DescribeDefenseResourcesRequestTag) SetKey added in v2.0.2

func (*DescribeDefenseResourcesRequestTag) SetValue added in v2.0.2

func (DescribeDefenseResourcesRequestTag) String added in v2.0.2

type DescribeDefenseResourcesResponse

type DescribeDefenseResourcesResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDefenseResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDefenseResourcesResponse) GoString

func (*DescribeDefenseResourcesResponse) SetHeaders

func (*DescribeDefenseResourcesResponse) SetStatusCode

func (DescribeDefenseResourcesResponse) String

type DescribeDefenseResourcesResponseBody

type DescribeDefenseResourcesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The protected objects.
	Resources []*DescribeDefenseResourcesResponseBodyResources `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Repeated"`
	// The total number of entries that are returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDefenseResourcesResponseBody) GoString

func (*DescribeDefenseResourcesResponseBody) SetRequestId

func (*DescribeDefenseResourcesResponseBody) SetTotalCount

func (DescribeDefenseResourcesResponseBody) String

type DescribeDefenseResourcesResponseBodyResources

type DescribeDefenseResourcesResponseBodyResources struct {
	// The status of the tracking cookie.
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	AcwCookieStatus *int32 `json:"AcwCookieStatus,omitempty" xml:"AcwCookieStatus,omitempty"`
	// The status of the secure attribute of the tracking cookie.
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	AcwSecureStatus *int32 `json:"AcwSecureStatus,omitempty" xml:"AcwSecureStatus,omitempty"`
	// The status of the secure attribute of the slider verification cookie.
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	AcwV3SecureStatus *int32 `json:"AcwV3SecureStatus,omitempty" xml:"AcwV3SecureStatus,omitempty"`
	// The custom XFF headers that are used to identify the originating IP addresses of clients. If the value of XffStatus is 1 and CustomHeaders is left empty, the first IP address in the XFF header is the originating IP address of the client.
	CustomHeaders []*string `json:"CustomHeaders,omitempty" xml:"CustomHeaders,omitempty" type:"Repeated"`
	// The description of the protected object.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The details of the protected object. Different key-value pairs in a map indicate different properties of the protected object.
	Detail map[string]interface{} `json:"Detail,omitempty" xml:"Detail,omitempty"`
	// The creation time of the protected object. Unit: seconds.
	GmtCreate *int64 `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// The most recent modification time of the protected object. Unit: seconds.
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The protection pattern.
	Pattern *string `json:"Pattern,omitempty" xml:"Pattern,omitempty"`
	// The name of the cloud service.
	Product *string `json:"Product,omitempty" xml:"Product,omitempty"`
	// The name of the protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The name of the protected object group to which the protected object belongs.
	ResourceGroup *string `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The origin of the protected object.
	ResourceOrigin *string `json:"ResourceOrigin,omitempty" xml:"ResourceOrigin,omitempty"`
	// Indicates whether the X-Forwarded-For (XFF) header is used.
	XffStatus *int32 `json:"XffStatus,omitempty" xml:"XffStatus,omitempty"`
}

func (DescribeDefenseResourcesResponseBodyResources) GoString

func (*DescribeDefenseResourcesResponseBodyResources) SetAcwCookieStatus added in v2.1.0

func (*DescribeDefenseResourcesResponseBodyResources) SetAcwSecureStatus added in v2.1.0

func (*DescribeDefenseResourcesResponseBodyResources) SetAcwV3SecureStatus added in v2.1.0

func (*DescribeDefenseResourcesResponseBodyResources) SetCustomHeaders

func (*DescribeDefenseResourcesResponseBodyResources) SetDescription

func (*DescribeDefenseResourcesResponseBodyResources) SetDetail

func (*DescribeDefenseResourcesResponseBodyResources) SetGmtCreate

func (*DescribeDefenseResourcesResponseBodyResources) SetGmtModified

func (*DescribeDefenseResourcesResponseBodyResources) SetPattern

func (*DescribeDefenseResourcesResponseBodyResources) SetProduct

func (*DescribeDefenseResourcesResponseBodyResources) SetResource

func (*DescribeDefenseResourcesResponseBodyResources) SetResourceGroup

func (*DescribeDefenseResourcesResponseBodyResources) SetResourceManagerResourceGroupId added in v2.0.2

func (*DescribeDefenseResourcesResponseBodyResources) SetResourceOrigin

func (*DescribeDefenseResourcesResponseBodyResources) SetXffStatus

func (DescribeDefenseResourcesResponseBodyResources) String

type DescribeDefenseRuleRequest

type DescribeDefenseRuleRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule that you want to query.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the protection rule template to which the protection rule that you want to query belongs.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeDefenseRuleRequest) GoString

func (s DescribeDefenseRuleRequest) GoString() string

func (*DescribeDefenseRuleRequest) SetInstanceId

func (*DescribeDefenseRuleRequest) SetRegionId added in v2.0.2

func (*DescribeDefenseRuleRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeDefenseRuleRequest) SetResourceManagerResourceGroupId(v string) *DescribeDefenseRuleRequest

func (*DescribeDefenseRuleRequest) SetRuleId

func (*DescribeDefenseRuleRequest) SetTemplateId

func (DescribeDefenseRuleRequest) String

type DescribeDefenseRuleResponse

type DescribeDefenseRuleResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDefenseRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDefenseRuleResponse) GoString

func (s DescribeDefenseRuleResponse) GoString() string

func (*DescribeDefenseRuleResponse) SetBody

func (*DescribeDefenseRuleResponse) SetHeaders

func (*DescribeDefenseRuleResponse) SetStatusCode

func (DescribeDefenseRuleResponse) String

type DescribeDefenseRuleResponseBody

type DescribeDefenseRuleResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The configurations of the protection rule. The value is a JSON string that contains multiple parameters.
	Rule *DescribeDefenseRuleResponseBodyRule `json:"Rule,omitempty" xml:"Rule,omitempty" type:"Struct"`
}

func (DescribeDefenseRuleResponseBody) GoString

func (*DescribeDefenseRuleResponseBody) SetRequestId

func (DescribeDefenseRuleResponseBody) String

type DescribeDefenseRuleResponseBodyRule

type DescribeDefenseRuleResponseBodyRule struct {
	// The details of the protection rule. The value is a JSON string that contains multiple parameters. For more information, see the "**Protection rule parameters**" section of the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// The origin of the protection rule. Valid values:
	//
	// *   **custom:** The protection rule is created by the user.
	// *   **system:** The protection rule is automatically generated by the system.
	DefenseOrigin *string `json:"DefenseOrigin,omitempty" xml:"DefenseOrigin,omitempty"`
	// The scenario in which the protection rule is used. For more information, see the description of **DefenseScene** in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The most recent time when the protection rule was modified.
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the protection rule.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The name of the protection rule.
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	// The status of the protection rule. Valid values:
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the protection rule template.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeDefenseRuleResponseBodyRule) GoString

func (*DescribeDefenseRuleResponseBodyRule) SetConfig

func (*DescribeDefenseRuleResponseBodyRule) SetDefenseOrigin

func (*DescribeDefenseRuleResponseBodyRule) SetDefenseScene

func (*DescribeDefenseRuleResponseBodyRule) SetGmtModified

func (*DescribeDefenseRuleResponseBodyRule) SetRuleId

func (*DescribeDefenseRuleResponseBodyRule) SetRuleName

func (*DescribeDefenseRuleResponseBodyRule) SetStatus

func (*DescribeDefenseRuleResponseBodyRule) SetTemplateId

func (DescribeDefenseRuleResponseBodyRule) String

type DescribeDefenseRulesRequest

type DescribeDefenseRulesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of the page to return. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The query conditions. Specify a string that contains multiple parameters in the JSON format.
	//
	// >  The results vary based on the query conditions. For more information, see the "**Query parameters**" section in this topic.
	Query *string `json:"Query,omitempty" xml:"Query,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of protection rule that you want to query. Valid values:
	//
	// *   **whitelist:** whitelist rule.
	// *   **defense:** defense rule. This is the default value.
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
}

func (DescribeDefenseRulesRequest) GoString

func (s DescribeDefenseRulesRequest) GoString() string

func (*DescribeDefenseRulesRequest) SetInstanceId

func (*DescribeDefenseRulesRequest) SetPageNumber

func (*DescribeDefenseRulesRequest) SetPageSize

func (*DescribeDefenseRulesRequest) SetQuery

func (*DescribeDefenseRulesRequest) SetRegionId added in v2.0.2

func (*DescribeDefenseRulesRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeDefenseRulesRequest) SetResourceManagerResourceGroupId(v string) *DescribeDefenseRulesRequest

func (*DescribeDefenseRulesRequest) SetRuleType

func (DescribeDefenseRulesRequest) String

type DescribeDefenseRulesResponse

type DescribeDefenseRulesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDefenseRulesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDefenseRulesResponse) GoString

func (s DescribeDefenseRulesResponse) GoString() string

func (*DescribeDefenseRulesResponse) SetBody

func (*DescribeDefenseRulesResponse) SetHeaders

func (*DescribeDefenseRulesResponse) SetStatusCode

func (DescribeDefenseRulesResponse) String

type DescribeDefenseRulesResponseBody

type DescribeDefenseRulesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array of protection rules.
	Rules []*DescribeDefenseRulesResponseBodyRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Repeated"`
	// The total number of returned entries.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDefenseRulesResponseBody) GoString

func (*DescribeDefenseRulesResponseBody) SetRequestId

func (*DescribeDefenseRulesResponseBody) SetTotalCount

func (DescribeDefenseRulesResponseBody) String

type DescribeDefenseRulesResponseBodyRules

type DescribeDefenseRulesResponseBodyRules struct {
	// The details of the protection rule. The value is a string that contains multiple parameters in the JSON format. For more information, see the "**Rule parameters**" section in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// The origin of the protection rule. Valid values:
	//
	// *   **custom:** The protection rule is created by the user.
	// *   **system:** The protection rule is automatically generated by the system.
	DefenseOrigin *string `json:"DefenseOrigin,omitempty" xml:"DefenseOrigin,omitempty"`
	// The scenario in which the protection rule is used. For more information, see the description of the **DefenseScene** parameter in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The most recent time when the protection rule was modified.
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the protection rule.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The name of the protection rule.
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	// The status of the protection rule. Valid values:
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the protection rule template.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeDefenseRulesResponseBodyRules) GoString

func (*DescribeDefenseRulesResponseBodyRules) SetConfig

func (*DescribeDefenseRulesResponseBodyRules) SetDefenseOrigin

func (*DescribeDefenseRulesResponseBodyRules) SetDefenseScene

func (*DescribeDefenseRulesResponseBodyRules) SetGmtModified

func (*DescribeDefenseRulesResponseBodyRules) SetRuleId

func (*DescribeDefenseRulesResponseBodyRules) SetRuleName

func (*DescribeDefenseRulesResponseBodyRules) SetStatus

func (*DescribeDefenseRulesResponseBodyRules) SetTemplateId

func (DescribeDefenseRulesResponseBodyRules) String

type DescribeDefenseTemplateRequest

type DescribeDefenseTemplateRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeDefenseTemplateRequest) GoString

func (*DescribeDefenseTemplateRequest) SetInstanceId

func (*DescribeDefenseTemplateRequest) SetRegionId added in v2.0.2

func (*DescribeDefenseTemplateRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeDefenseTemplateRequest) SetResourceManagerResourceGroupId(v string) *DescribeDefenseTemplateRequest

func (*DescribeDefenseTemplateRequest) SetTemplateId

func (DescribeDefenseTemplateRequest) String

type DescribeDefenseTemplateResponse

type DescribeDefenseTemplateResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDefenseTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDefenseTemplateResponse) GoString

func (*DescribeDefenseTemplateResponse) SetHeaders

func (*DescribeDefenseTemplateResponse) SetStatusCode

func (DescribeDefenseTemplateResponse) String

type DescribeDefenseTemplateResponseBody

type DescribeDefenseTemplateResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the template.
	Template *DescribeDefenseTemplateResponseBodyTemplate `json:"Template,omitempty" xml:"Template,omitempty" type:"Struct"`
}

func (DescribeDefenseTemplateResponseBody) GoString

func (*DescribeDefenseTemplateResponseBody) SetRequestId

func (DescribeDefenseTemplateResponseBody) String

type DescribeDefenseTemplateResponseBodyTemplate

type DescribeDefenseTemplateResponseBodyTemplate struct {
	// The scenario in which the template is used. For more information, see the description of the **DefenseScene** parameter in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The sub-scenario in which the template is used. Valid values:
	//
	// *   **web**: The template is a bot management template that is used for website protection.
	// *   **app**: The template is a bot management template that is used for app protection.
	// *   **basic**: The template is a bot management template that is used for basic protection.
	DefenseSubScene *string `json:"DefenseSubScene,omitempty" xml:"DefenseSubScene,omitempty"`
	// The description of the protection rule template.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The most recent time when the protection rule template was modified.
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the protection rule template.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the protection rule template.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The origin of the protection rule template. If the value of this parameter is custom, the protection rule template is created by the user.
	TemplateOrigin *string `json:"TemplateOrigin,omitempty" xml:"TemplateOrigin,omitempty"`
	// The status of the protection rule template. Valid values:
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	TemplateStatus *int32 `json:"TemplateStatus,omitempty" xml:"TemplateStatus,omitempty"`
	// The type of the protection rule template. Valid values:
	//
	// *   **user_default:** default template.
	// *   **user_custom:** custom template.
	TemplateType *string `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (DescribeDefenseTemplateResponseBodyTemplate) GoString

func (*DescribeDefenseTemplateResponseBodyTemplate) SetDefenseScene

func (*DescribeDefenseTemplateResponseBodyTemplate) SetDefenseSubScene added in v2.1.0

func (*DescribeDefenseTemplateResponseBodyTemplate) SetDescription

func (*DescribeDefenseTemplateResponseBodyTemplate) SetGmtModified

func (*DescribeDefenseTemplateResponseBodyTemplate) SetTemplateId

func (*DescribeDefenseTemplateResponseBodyTemplate) SetTemplateName

func (*DescribeDefenseTemplateResponseBodyTemplate) SetTemplateOrigin

func (*DescribeDefenseTemplateResponseBodyTemplate) SetTemplateStatus

func (*DescribeDefenseTemplateResponseBodyTemplate) SetTemplateType

func (DescribeDefenseTemplateResponseBodyTemplate) String

type DescribeDomainDetailRequest

type DescribeDomainDetailRequest struct {
	// The domain name that you want to query.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The source IP address of the request. The value of this parameter is specified by the system.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (DescribeDomainDetailRequest) GoString

func (s DescribeDomainDetailRequest) GoString() string

func (*DescribeDomainDetailRequest) SetDomain

func (*DescribeDomainDetailRequest) SetInstanceId

func (*DescribeDomainDetailRequest) SetRegionId added in v2.0.2

func (*DescribeDomainDetailRequest) SetSourceIp added in v2.0.2

func (DescribeDomainDetailRequest) String

type DescribeDomainDetailResponse

type DescribeDomainDetailResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDomainDetailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDomainDetailResponse) GoString

func (s DescribeDomainDetailResponse) GoString() string

func (*DescribeDomainDetailResponse) SetBody

func (*DescribeDomainDetailResponse) SetHeaders

func (*DescribeDomainDetailResponse) SetStatusCode

func (DescribeDomainDetailResponse) String

type DescribeDomainDetailResponseBody

type DescribeDomainDetailResponseBody struct {
	// The details of the SSL certificate.
	CertDetail *DescribeDomainDetailResponseBodyCertDetail `json:"CertDetail,omitempty" xml:"CertDetail,omitempty" type:"Struct"`
	// The CNAME that is assigned by WAF to the domain name.
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The configurations of the listeners.
	Listen *DescribeDomainDetailResponseBodyListen `json:"Listen,omitempty" xml:"Listen,omitempty" type:"Struct"`
	// The configurations of the forwarding rule.
	Redirect *DescribeDomainDetailResponseBodyRedirect `json:"Redirect,omitempty" xml:"Redirect,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The information about the SM certificate.
	SM2CertDetail *DescribeDomainDetailResponseBodySM2CertDetail `json:"SM2CertDetail,omitempty" xml:"SM2CertDetail,omitempty" type:"Struct"`
	// The status of the domain name. Valid values:
	//
	// *   **1:** The domain name is in a normal state.
	// *   **2:** The domain name is being created.
	// *   **3:** The domain name is being modified.
	// *   **4:** The domain name is being released.
	// *   **5:** WAF no longer forwards traffic of the domain name.
	Status *int64 `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeDomainDetailResponseBody) GoString

func (*DescribeDomainDetailResponseBody) SetCertDetail added in v2.0.2

func (*DescribeDomainDetailResponseBody) SetCname

func (*DescribeDomainDetailResponseBody) SetDomain

func (*DescribeDomainDetailResponseBody) SetRequestId

func (*DescribeDomainDetailResponseBody) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeDomainDetailResponseBody) SetResourceManagerResourceGroupId(v string) *DescribeDomainDetailResponseBody

func (*DescribeDomainDetailResponseBody) SetSM2CertDetail added in v2.0.2

func (*DescribeDomainDetailResponseBody) SetStatus

func (DescribeDomainDetailResponseBody) String

type DescribeDomainDetailResponseBodyCertDetail added in v2.0.2

type DescribeDomainDetailResponseBodyCertDetail struct {
	// The domain name of your website.
	CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"`
	// The end of the validity period of the SSL certificate. The value is in the UNIX timestamp format. Unit: milliseconds.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the SSL certificate.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The name of the SSL certificate.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// All domain names that are bound to the certificate.
	Sans []*string `json:"Sans,omitempty" xml:"Sans,omitempty" type:"Repeated"`
	// The beginning of the validity period of the SSL certificate. The value is in the UNIX timestamp format. Unit: milliseconds.
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDomainDetailResponseBodyCertDetail) GoString added in v2.0.2

func (*DescribeDomainDetailResponseBodyCertDetail) SetCommonName added in v2.0.2

func (*DescribeDomainDetailResponseBodyCertDetail) SetEndTime added in v2.0.2

func (*DescribeDomainDetailResponseBodyCertDetail) SetId added in v2.0.2

func (*DescribeDomainDetailResponseBodyCertDetail) SetName added in v2.0.2

func (*DescribeDomainDetailResponseBodyCertDetail) SetSans added in v2.0.2

func (*DescribeDomainDetailResponseBodyCertDetail) SetStartTime added in v2.0.2

func (DescribeDomainDetailResponseBodyCertDetail) String added in v2.0.2

type DescribeDomainDetailResponseBodyListen

type DescribeDomainDetailResponseBodyListen struct {
	// The ID of the certificate.
	CertId *int64 `json:"CertId,omitempty" xml:"CertId,omitempty"`
	// The type of the cipher suites. Valid values:
	//
	// *   **1:** all cipher suites.
	// *   **2:** strong cipher suites.
	// *   **99:** custom cipher suites.
	CipherSuite *int64 `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// An array of custom cipher suites.
	CustomCiphers []*string `json:"CustomCiphers,omitempty" xml:"CustomCiphers,omitempty" type:"Repeated"`
	// Indicates whether TLS 1.3 is supported. Valid values:
	//
	// *   **true:** TLS 1.3 is supported.
	// *   **false:** TLS 1.3 is not supported.
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// Indicates whether an exclusive IP address is enabled. Valid values:
	//
	// *   **true:** An exclusive IP address is enabled for the domain name.
	// *   **false:** No exclusive IP addresses are enabled for the domain name.
	ExclusiveIp *bool `json:"ExclusiveIp,omitempty" xml:"ExclusiveIp,omitempty"`
	// Indicates whether HTTP to HTTPS redirection is enabled for the domain name. Valid values:
	//
	// *   **true:** HTTP to HTTPS redirection is enabled.
	// *   **false:** HTTP to HTTPS redirection is disabled.
	FocusHttps *bool `json:"FocusHttps,omitempty" xml:"FocusHttps,omitempty"`
	// Indicates whether HTTP/2 is enabled. Valid values:
	//
	// *   **true:** HTTP/2 is enabled.
	// *   **false:** HTTP/2 is disabled.
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// An array of HTTP listener ports.
	HttpPorts []*int64 `json:"HttpPorts,omitempty" xml:"HttpPorts,omitempty" type:"Repeated"`
	// An array of HTTPS listener ports.
	HttpsPorts []*int64 `json:"HttpsPorts,omitempty" xml:"HttpsPorts,omitempty" type:"Repeated"`
	// Indicates whether IPv6 is enabled. Valid values:
	//
	// *   **true:** IPv6 is enabled.
	// *   **false:** IPv6 is disabled.
	IPv6Enabled *bool `json:"IPv6Enabled,omitempty" xml:"IPv6Enabled,omitempty"`
	// The type of protection resource that is used. Valid values:
	//
	// *   **share:** shared cluster.
	// *   **gslb:** shared cluster-based intelligent load balancing.
	ProtectionResource *string `json:"ProtectionResource,omitempty" xml:"ProtectionResource,omitempty"`
	SM2AccessOnly      *bool   `json:"SM2AccessOnly,omitempty" xml:"SM2AccessOnly,omitempty"`
	SM2CertId          *bool   `json:"SM2CertId,omitempty" xml:"SM2CertId,omitempty"`
	SM2Enabled         *bool   `json:"SM2Enabled,omitempty" xml:"SM2Enabled,omitempty"`
	// The version of the Transport Layer Security (TLS) protocol. Valid values:
	//
	// *   **tlsv1**
	// *   **tlsv1.1**
	// *   **tlsv1.2**
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
	// The method that WAF uses to obtain the actual IP address of a client. Valid values:
	//
	// *   **0:** No Layer 7 proxies are deployed in front of WAF.
	// *   **1:** WAF reads the first value of the X-Forwarded-For (XFF) header field as the actual IP address of the client.
	// *   **2:** WAF reads the value of a custom header field as the actual IP address of the client.
	XffHeaderMode *int64 `json:"XffHeaderMode,omitempty" xml:"XffHeaderMode,omitempty"`
	// An array of custom header fields that are used to obtain the actual IP address of a client.
	XffHeaders []*string `json:"XffHeaders,omitempty" xml:"XffHeaders,omitempty" type:"Repeated"`
}

func (DescribeDomainDetailResponseBodyListen) GoString

func (*DescribeDomainDetailResponseBodyListen) SetCertId

func (*DescribeDomainDetailResponseBodyListen) SetCipherSuite

func (*DescribeDomainDetailResponseBodyListen) SetCustomCiphers

func (*DescribeDomainDetailResponseBodyListen) SetEnableTLSv3

func (*DescribeDomainDetailResponseBodyListen) SetExclusiveIp

func (*DescribeDomainDetailResponseBodyListen) SetFocusHttps

func (*DescribeDomainDetailResponseBodyListen) SetHttp2Enabled

func (*DescribeDomainDetailResponseBodyListen) SetHttpPorts

func (*DescribeDomainDetailResponseBodyListen) SetHttpsPorts

func (*DescribeDomainDetailResponseBodyListen) SetIPv6Enabled

func (*DescribeDomainDetailResponseBodyListen) SetProtectionResource

func (*DescribeDomainDetailResponseBodyListen) SetSM2AccessOnly added in v2.0.2

func (*DescribeDomainDetailResponseBodyListen) SetSM2CertId added in v2.0.2

func (*DescribeDomainDetailResponseBodyListen) SetSM2Enabled added in v2.0.2

func (*DescribeDomainDetailResponseBodyListen) SetTLSVersion

func (*DescribeDomainDetailResponseBodyListen) SetXffHeaderMode

func (*DescribeDomainDetailResponseBodyListen) SetXffHeaders

func (DescribeDomainDetailResponseBodyListen) String

type DescribeDomainDetailResponseBodyRedirect

type DescribeDomainDetailResponseBodyRedirect struct {
	// An array of addresses of origin servers.
	Backends []*DescribeDomainDetailResponseBodyRedirectBackends `json:"Backends,omitempty" xml:"Backends,omitempty" type:"Repeated"`
	// The timeout period of the connection. Unit: seconds. Valid values: 5 to 120.
	ConnectTimeout *int32 `json:"ConnectTimeout,omitempty" xml:"ConnectTimeout,omitempty"`
	// Indicates whether HTTPS to HTTP redirection is enabled for back-to-origin requests of the domain name. Valid values:
	//
	// *   **true:** HTTPS to HTTP redirection for back-to-origin requests of the domain name is enabled.
	// *   **false:** HTTPS to HTTP redirection for back-to-origin requests of the domain name is disabled.
	FocusHttpBackend *bool `json:"FocusHttpBackend,omitempty" xml:"FocusHttpBackend,omitempty"`
	// Indicates whether the persistent connection feature is enabled. Valid values:
	//
	// *   **true:** The persistent connection feature is enabled. This is the default value.
	// *   **false:** The persistent connection feature is disabled.
	Keepalive *bool `json:"Keepalive,omitempty" xml:"Keepalive,omitempty"`
	// The number of reused persistent connections. Valid values: 60 to 1000.
	//
	// >  This parameter specifies the number of reused persistent connections when you enable the persistent connection feature.
	KeepaliveRequests *int32 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period of persistent connections that are in the Idle state. Valid values: 1 to 60. Default value: 15. Unit: seconds.
	//
	// >  This parameter specifies the period of time during which a reused persistent connection is allowed to remain in the Idle state before the persistent connection is released.
	KeepaliveTimeout *int32 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The load balancing algorithm that is used when WAF forwards requests to the origin server. Valid values:
	//
	// *   **ip_hash:** the IP hash algorithm.
	// *   **roundRobin:** the round-robin algorithm.
	// *   **leastTime:** the least response time algorithm.
	Loadbalance *string `json:"Loadbalance,omitempty" xml:"Loadbalance,omitempty"`
	// The read timeout period. Unit: seconds. Valid values: 5 to 1800.
	ReadTimeout *int32 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// An array of key-value pairs that are used to mark the requests that pass through the WAF instance.
	RequestHeaders []*DescribeDomainDetailResponseBodyRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// Indicates whether WAF retries to forward requests when requests fail to be forwarded to the origin server. Valid values:
	//
	// *   **true:** WAF retries to forward requests. This is the default value.
	// *   **false:** WAF does not retry to forward requests.
	Retry *bool `json:"Retry,omitempty" xml:"Retry,omitempty"`
	// Indicates whether origin Server Name Indication (SNI) is enabled. Valid values:
	//
	// *   **true:** Origin SNI is enabled.
	// *   **false:** Origin SNI is disabled. This is the default value.
	SniEnabled *bool `json:"SniEnabled,omitempty" xml:"SniEnabled,omitempty"`
	// The value of the custom SNI field.
	SniHost *string `json:"SniHost,omitempty" xml:"SniHost,omitempty"`
	// The write timeout period. Unit: seconds. Valid values: 5 to 1800.
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	XffProto     *bool  `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (DescribeDomainDetailResponseBodyRedirect) GoString

func (*DescribeDomainDetailResponseBodyRedirect) SetConnectTimeout

func (*DescribeDomainDetailResponseBodyRedirect) SetFocusHttpBackend

func (*DescribeDomainDetailResponseBodyRedirect) SetKeepalive added in v2.0.1

func (*DescribeDomainDetailResponseBodyRedirect) SetKeepaliveRequests added in v2.0.1

func (*DescribeDomainDetailResponseBodyRedirect) SetKeepaliveTimeout added in v2.0.1

func (*DescribeDomainDetailResponseBodyRedirect) SetLoadbalance

func (*DescribeDomainDetailResponseBodyRedirect) SetReadTimeout

func (*DescribeDomainDetailResponseBodyRedirect) SetRetry added in v2.0.1

func (*DescribeDomainDetailResponseBodyRedirect) SetSniEnabled

func (*DescribeDomainDetailResponseBodyRedirect) SetSniHost

func (*DescribeDomainDetailResponseBodyRedirect) SetWriteTimeout

func (*DescribeDomainDetailResponseBodyRedirect) SetXffProto added in v2.1.2

func (DescribeDomainDetailResponseBodyRedirect) String

type DescribeDomainDetailResponseBodyRedirectBackends

type DescribeDomainDetailResponseBodyRedirectBackends struct {
	// The IP address or domain name of the origin server.
	Backend *string `json:"Backend,omitempty" xml:"Backend,omitempty"`
}

func (DescribeDomainDetailResponseBodyRedirectBackends) GoString

func (*DescribeDomainDetailResponseBodyRedirectBackends) SetBackend

func (DescribeDomainDetailResponseBodyRedirectBackends) String

type DescribeDomainDetailResponseBodyRedirectRequestHeaders

type DescribeDomainDetailResponseBodyRedirectRequestHeaders struct {
	// The key of the custom header field.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the custom header field.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDomainDetailResponseBodyRedirectRequestHeaders) GoString

func (*DescribeDomainDetailResponseBodyRedirectRequestHeaders) SetKey

func (*DescribeDomainDetailResponseBodyRedirectRequestHeaders) SetValue

func (DescribeDomainDetailResponseBodyRedirectRequestHeaders) String

type DescribeDomainDetailResponseBodySM2CertDetail added in v2.0.2

type DescribeDomainDetailResponseBodySM2CertDetail struct {
	// The domain name of your website.
	CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"`
	// The end of the validity period of the SSL certificate. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the SSL certificate.
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The name of the SSL certificate.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// All domain names that are bound to the certificate.
	Sans []*string `json:"Sans,omitempty" xml:"Sans,omitempty" type:"Repeated"`
	// The beginning of the validity period of the SSL certificate. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDomainDetailResponseBodySM2CertDetail) GoString added in v2.0.2

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetCommonName added in v2.0.2

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetEndTime added in v2.0.2

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetId added in v2.0.2

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetName added in v2.0.2

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetSans added in v2.0.2

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetStartTime added in v2.0.2

func (DescribeDomainDetailResponseBodySM2CertDetail) String added in v2.0.2

type DescribeDomainsRequest

type DescribeDomainsRequest struct {
	// An array of HTTPS listener ports.
	Backend *string `json:"Backend,omitempty" xml:"Backend,omitempty"`
	// The ID of the request.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The page number of the page to return. Default value: 1.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The HTTPS address of the origin server.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// Queries the list of a domain name that is added to Web Application Firewall (WAF).
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address. The value of this parameter is specified by the system.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
	// The tag of the resource. You can specify up to 20 tags.
	Tag []*DescribeDomainsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (DescribeDomainsRequest) GoString

func (s DescribeDomainsRequest) GoString() string

func (*DescribeDomainsRequest) SetBackend

func (*DescribeDomainsRequest) SetDomain

func (*DescribeDomainsRequest) SetInstanceId

func (*DescribeDomainsRequest) SetPageNumber

func (*DescribeDomainsRequest) SetPageSize

func (*DescribeDomainsRequest) SetRegionId added in v2.0.2

func (*DescribeDomainsRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeDomainsRequest) SetResourceManagerResourceGroupId(v string) *DescribeDomainsRequest

func (*DescribeDomainsRequest) SetSourceIp added in v2.0.2

func (*DescribeDomainsRequest) SetTag added in v2.0.2

func (DescribeDomainsRequest) String

func (s DescribeDomainsRequest) String() string

type DescribeDomainsRequestTag added in v2.0.2

type DescribeDomainsRequestTag struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDomainsRequestTag) GoString added in v2.0.2

func (s DescribeDomainsRequestTag) GoString() string

func (*DescribeDomainsRequestTag) SetKey added in v2.0.2

func (*DescribeDomainsRequestTag) SetValue added in v2.0.2

func (DescribeDomainsRequestTag) String added in v2.0.2

func (s DescribeDomainsRequestTag) String() string

type DescribeDomainsResponse

type DescribeDomainsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeDomainsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeDomainsResponse) GoString

func (s DescribeDomainsResponse) GoString() string

func (*DescribeDomainsResponse) SetBody

func (*DescribeDomainsResponse) SetHeaders

func (*DescribeDomainsResponse) SetStatusCode

func (DescribeDomainsResponse) String

func (s DescribeDomainsResponse) String() string

type DescribeDomainsResponseBody

type DescribeDomainsResponseBody struct {
	// The domain names that are added to WAF in CNAME record mode.
	Domains    []*DescribeDomainsResponseBodyDomains `json:"Domains,omitempty" xml:"Domains,omitempty" type:"Repeated"`
	RequestId  *string                               `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	TotalCount *int64                                `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDomainsResponseBody) GoString

func (s DescribeDomainsResponseBody) GoString() string

func (*DescribeDomainsResponseBody) SetDomains

func (*DescribeDomainsResponseBody) SetRequestId

func (*DescribeDomainsResponseBody) SetTotalCount

func (DescribeDomainsResponseBody) String

type DescribeDomainsResponseBodyDomains

type DescribeDomainsResponseBodyDomains struct {
	// The back-to-origin settings.
	Backeds *DescribeDomainsResponseBodyDomainsBackeds `json:"Backeds,omitempty" xml:"Backeds,omitempty" type:"Struct"`
	// The CNAME assigned by WAF to the domain name.
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name that is added to WAF in CNAME record mode.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The configurations of the listeners.
	ListenPorts *DescribeDomainsResponseBodyDomainsListenPorts `json:"ListenPorts,omitempty" xml:"ListenPorts,omitempty" type:"Struct"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The status of the domain name. Valid values:
	//
	// *   **1:** The domain name is in a normal state.
	// *   **2:** The domain name is being created.
	// *   **3:** The domain name is being modified.
	// *   **4:** The domain name is being released.
	// *   **5:** WAF no longer forwards traffic that is sent to the domain name.
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeDomainsResponseBodyDomains) GoString

func (*DescribeDomainsResponseBodyDomains) SetCname

func (*DescribeDomainsResponseBodyDomains) SetDomain

func (*DescribeDomainsResponseBodyDomains) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeDomainsResponseBodyDomains) SetResourceManagerResourceGroupId(v string) *DescribeDomainsResponseBodyDomains

func (*DescribeDomainsResponseBodyDomains) SetStatus

func (DescribeDomainsResponseBodyDomains) String

type DescribeDomainsResponseBodyDomainsBackeds

type DescribeDomainsResponseBodyDomainsBackeds struct {
	// The HTTP addresses of the origin server.
	Http []*DescribeDomainsResponseBodyDomainsBackedsHttp `json:"Http,omitempty" xml:"Http,omitempty" type:"Repeated"`
	// The HTTPS addresses of the origin server.
	Https []*DescribeDomainsResponseBodyDomainsBackedsHttps `json:"Https,omitempty" xml:"Https,omitempty" type:"Repeated"`
}

func (DescribeDomainsResponseBodyDomainsBackeds) GoString

func (DescribeDomainsResponseBodyDomainsBackeds) String

type DescribeDomainsResponseBodyDomainsBackedsHttp

type DescribeDomainsResponseBodyDomainsBackedsHttp struct {
	// The HTTP address of the origin server.
	Backend *string `json:"Backend,omitempty" xml:"Backend,omitempty"`
}

func (DescribeDomainsResponseBodyDomainsBackedsHttp) GoString

func (*DescribeDomainsResponseBodyDomainsBackedsHttp) SetBackend

func (DescribeDomainsResponseBodyDomainsBackedsHttp) String

type DescribeDomainsResponseBodyDomainsBackedsHttps

type DescribeDomainsResponseBodyDomainsBackedsHttps struct {
	// The HTTPS address of the origin server.
	Backend *string `json:"Backend,omitempty" xml:"Backend,omitempty"`
}

func (DescribeDomainsResponseBodyDomainsBackedsHttps) GoString

func (*DescribeDomainsResponseBodyDomainsBackedsHttps) SetBackend

func (DescribeDomainsResponseBodyDomainsBackedsHttps) String

type DescribeDomainsResponseBodyDomainsListenPorts

type DescribeDomainsResponseBodyDomainsListenPorts struct {
	// The HTTP listener ports.
	Http []*int64 `json:"Http,omitempty" xml:"Http,omitempty" type:"Repeated"`
	// The HTTPS listener ports.
	Https []*int64 `json:"Https,omitempty" xml:"Https,omitempty" type:"Repeated"`
}

func (DescribeDomainsResponseBodyDomainsListenPorts) GoString

func (*DescribeDomainsResponseBodyDomainsListenPorts) SetHttp

func (*DescribeDomainsResponseBodyDomainsListenPorts) SetHttps

func (DescribeDomainsResponseBodyDomainsListenPorts) String

type DescribeFlowChartRequest

type DescribeFlowChartRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The time interval. Unit: seconds. The value must be an integral multiple of 60.
	Interval *string `json:"Interval,omitempty" xml:"Interval,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeFlowChartRequest) GoString

func (s DescribeFlowChartRequest) GoString() string

func (*DescribeFlowChartRequest) SetEndTimestamp

func (*DescribeFlowChartRequest) SetInstanceId

func (*DescribeFlowChartRequest) SetInterval

func (*DescribeFlowChartRequest) SetRegionId added in v2.0.2

func (*DescribeFlowChartRequest) SetResource

func (*DescribeFlowChartRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeFlowChartRequest) SetResourceManagerResourceGroupId(v string) *DescribeFlowChartRequest

func (*DescribeFlowChartRequest) SetStartTimestamp

func (s *DescribeFlowChartRequest) SetStartTimestamp(v string) *DescribeFlowChartRequest

func (DescribeFlowChartRequest) String

func (s DescribeFlowChartRequest) String() string

type DescribeFlowChartResponse

type DescribeFlowChartResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeFlowChartResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeFlowChartResponse) GoString

func (s DescribeFlowChartResponse) GoString() string

func (*DescribeFlowChartResponse) SetBody

func (*DescribeFlowChartResponse) SetHeaders

func (*DescribeFlowChartResponse) SetStatusCode

func (DescribeFlowChartResponse) String

func (s DescribeFlowChartResponse) String() string

type DescribeFlowChartResponseBody

type DescribeFlowChartResponseBody struct {
	// The traffic statistics.
	FlowChart []*DescribeFlowChartResponseBodyFlowChart `json:"FlowChart,omitempty" xml:"FlowChart,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeFlowChartResponseBody) GoString

func (*DescribeFlowChartResponseBody) SetFlowChart

func (*DescribeFlowChartResponseBody) SetRequestId

func (DescribeFlowChartResponseBody) String

type DescribeFlowChartResponseBodyFlowChart

type DescribeFlowChartResponseBodyFlowChart struct {
	// The number of requests that are blocked by custom access control rules.
	AclCustomBlockSum *int64 `json:"AclCustomBlockSum,omitempty" xml:"AclCustomBlockSum,omitempty"`
	// The number of requests that are monitored by custom access control rules.
	AclCustomReportsSum *int64 `json:"AclCustomReportsSum,omitempty" xml:"AclCustomReportsSum,omitempty"`
	// The number of requests that are blocked by scan protection rules.
	AntiScanBlockSum *int64 `json:"AntiScanBlockSum,omitempty" xml:"AntiScanBlockSum,omitempty"`
	// The number of requests that are blocked by bot management rules.
	AntibotBlockSum *int64 `json:"AntibotBlockSum,omitempty" xml:"AntibotBlockSum,omitempty"`
	// The number of requests that are monitored by bot management rules.
	AntibotReportSum *string `json:"AntibotReportSum,omitempty" xml:"AntibotReportSum,omitempty"`
	// The number of requests that are monitored by scan protection rules.
	AntiscanReportsSum *int64 `json:"AntiscanReportsSum,omitempty" xml:"AntiscanReportsSum,omitempty"`
	// The number of requests that are blocked by IP address blacklist rules.
	BlacklistBlockSum *string `json:"BlacklistBlockSum,omitempty" xml:"BlacklistBlockSum,omitempty"`
	// The number of requests that are monitored by IP address blacklist rules.
	BlacklistReportsSum *int64 `json:"BlacklistReportsSum,omitempty" xml:"BlacklistReportsSum,omitempty"`
	// The number of requests that are blocked by custom HTTP flood protection rules.
	CcCustomBlockSum *int64 `json:"CcCustomBlockSum,omitempty" xml:"CcCustomBlockSum,omitempty"`
	// The number of requests that are monitored by custom HTTP flood protection rules.
	CcCustomReportsSum *int64 `json:"CcCustomReportsSum,omitempty" xml:"CcCustomReportsSum,omitempty"`
	// The number of requests that are blocked by HTTP flood protection rules generated by the system.
	CcSystemBlocksSum *int64 `json:"CcSystemBlocksSum,omitempty" xml:"CcSystemBlocksSum,omitempty"`
	// The number of requests that are monitored by HTTP flood protection rules generated by the system.
	CcSystemReportsSum *int64 `json:"CcSystemReportsSum,omitempty" xml:"CcSystemReportsSum,omitempty"`
	// The total number of requests.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The total number of requests that are forwarded to WAF.
	InBytes *int64 `json:"InBytes,omitempty" xml:"InBytes,omitempty"`
	// The serial number of the time interval. The serial numbers are arranged in chronological order.
	Index *int64 `json:"Index,omitempty" xml:"Index,omitempty"`
	// The maximum number of requests.
	MaxPv *int64 `json:"MaxPv,omitempty" xml:"MaxPv,omitempty"`
	// The total number of requests that are sent from WAF.
	OutBytes           *int64 `json:"OutBytes,omitempty" xml:"OutBytes,omitempty"`
	RatelimitBlockSum  *int64 `json:"RatelimitBlockSum,omitempty" xml:"RatelimitBlockSum,omitempty"`
	RatelimitReportSum *int64 `json:"RatelimitReportSum,omitempty" xml:"RatelimitReportSum,omitempty"`
	// The number of requests that are blocked by region blacklist rules.
	RegionBlockBlocksSum *int64 `json:"RegionBlockBlocksSum,omitempty" xml:"RegionBlockBlocksSum,omitempty"`
	// The number of requests that are monitored by region blacklist rules.
	RegionBlockReportsSum *int64 `json:"RegionBlockReportsSum,omitempty" xml:"RegionBlockReportsSum,omitempty"`
	RobotCount            *int64 `json:"RobotCount,omitempty" xml:"RobotCount,omitempty"`
	// The number of requests that are blocked by basic protection rules.
	WafBlockSum *int64 `json:"WafBlockSum,omitempty" xml:"WafBlockSum,omitempty"`
	// The number of requests that are monitored by basic protection rules.
	WafReportSum *string `json:"WafReportSum,omitempty" xml:"WafReportSum,omitempty"`
}

func (DescribeFlowChartResponseBodyFlowChart) GoString

func (*DescribeFlowChartResponseBodyFlowChart) SetAclCustomBlockSum

func (*DescribeFlowChartResponseBodyFlowChart) SetAclCustomReportsSum

func (*DescribeFlowChartResponseBodyFlowChart) SetAntiScanBlockSum

func (*DescribeFlowChartResponseBodyFlowChart) SetAntibotBlockSum

func (*DescribeFlowChartResponseBodyFlowChart) SetAntibotReportSum

func (*DescribeFlowChartResponseBodyFlowChart) SetAntiscanReportsSum

func (*DescribeFlowChartResponseBodyFlowChart) SetBlacklistBlockSum

func (*DescribeFlowChartResponseBodyFlowChart) SetBlacklistReportsSum

func (*DescribeFlowChartResponseBodyFlowChart) SetCcCustomBlockSum

func (*DescribeFlowChartResponseBodyFlowChart) SetCcCustomReportsSum

func (*DescribeFlowChartResponseBodyFlowChart) SetCcSystemBlocksSum

func (*DescribeFlowChartResponseBodyFlowChart) SetCcSystemReportsSum

func (*DescribeFlowChartResponseBodyFlowChart) SetCount

func (*DescribeFlowChartResponseBodyFlowChart) SetInBytes

func (*DescribeFlowChartResponseBodyFlowChart) SetIndex

func (*DescribeFlowChartResponseBodyFlowChart) SetMaxPv

func (*DescribeFlowChartResponseBodyFlowChart) SetOutBytes

func (*DescribeFlowChartResponseBodyFlowChart) SetRatelimitBlockSum added in v2.1.0

func (*DescribeFlowChartResponseBodyFlowChart) SetRatelimitReportSum added in v2.1.0

func (*DescribeFlowChartResponseBodyFlowChart) SetRegionBlockBlocksSum

func (*DescribeFlowChartResponseBodyFlowChart) SetRegionBlockReportsSum

func (*DescribeFlowChartResponseBodyFlowChart) SetRobotCount added in v2.1.0

func (*DescribeFlowChartResponseBodyFlowChart) SetWafBlockSum

func (*DescribeFlowChartResponseBodyFlowChart) SetWafReportSum

func (DescribeFlowChartResponseBodyFlowChart) String

type DescribeFlowTopResourceRequest

type DescribeFlowTopResourceRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeFlowTopResourceRequest) GoString

func (*DescribeFlowTopResourceRequest) SetEndTimestamp

func (*DescribeFlowTopResourceRequest) SetInstanceId

func (*DescribeFlowTopResourceRequest) SetRegionId added in v2.0.2

func (*DescribeFlowTopResourceRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeFlowTopResourceRequest) SetResourceManagerResourceGroupId(v string) *DescribeFlowTopResourceRequest

func (*DescribeFlowTopResourceRequest) SetStartTimestamp

func (DescribeFlowTopResourceRequest) String

type DescribeFlowTopResourceResponse

type DescribeFlowTopResourceResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeFlowTopResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeFlowTopResourceResponse) GoString

func (*DescribeFlowTopResourceResponse) SetHeaders

func (*DescribeFlowTopResourceResponse) SetStatusCode

func (DescribeFlowTopResourceResponse) String

type DescribeFlowTopResourceResponseBody

type DescribeFlowTopResourceResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the top 10 protected objects that receive requests.
	RuleHitsTopResource []*DescribeFlowTopResourceResponseBodyRuleHitsTopResource `json:"RuleHitsTopResource,omitempty" xml:"RuleHitsTopResource,omitempty" type:"Repeated"`
}

func (DescribeFlowTopResourceResponseBody) GoString

func (*DescribeFlowTopResourceResponseBody) SetRequestId

func (DescribeFlowTopResourceResponseBody) String

type DescribeFlowTopResourceResponseBodyRuleHitsTopResource

type DescribeFlowTopResourceResponseBodyRuleHitsTopResource struct {
	// The total number of requests received by the protected object in a specified time range.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
}

func (DescribeFlowTopResourceResponseBodyRuleHitsTopResource) GoString

func (*DescribeFlowTopResourceResponseBodyRuleHitsTopResource) SetCount

func (*DescribeFlowTopResourceResponseBodyRuleHitsTopResource) SetResource

func (DescribeFlowTopResourceResponseBodyRuleHitsTopResource) String

type DescribeFlowTopUrlRequest

type DescribeFlowTopUrlRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeFlowTopUrlRequest) GoString

func (s DescribeFlowTopUrlRequest) GoString() string

func (*DescribeFlowTopUrlRequest) SetEndTimestamp

func (*DescribeFlowTopUrlRequest) SetInstanceId

func (*DescribeFlowTopUrlRequest) SetRegionId added in v2.0.2

func (*DescribeFlowTopUrlRequest) SetResource

func (*DescribeFlowTopUrlRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeFlowTopUrlRequest) SetResourceManagerResourceGroupId(v string) *DescribeFlowTopUrlRequest

func (*DescribeFlowTopUrlRequest) SetStartTimestamp

func (DescribeFlowTopUrlRequest) String

func (s DescribeFlowTopUrlRequest) String() string

type DescribeFlowTopUrlResponse

type DescribeFlowTopUrlResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeFlowTopUrlResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeFlowTopUrlResponse) GoString

func (s DescribeFlowTopUrlResponse) GoString() string

func (*DescribeFlowTopUrlResponse) SetBody

func (*DescribeFlowTopUrlResponse) SetHeaders

func (*DescribeFlowTopUrlResponse) SetStatusCode

func (DescribeFlowTopUrlResponse) String

type DescribeFlowTopUrlResponseBody

type DescribeFlowTopUrlResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the top 10 URLs that are used to initiate requests.
	RuleHitsTopUrl []*DescribeFlowTopUrlResponseBodyRuleHitsTopUrl `json:"RuleHitsTopUrl,omitempty" xml:"RuleHitsTopUrl,omitempty" type:"Repeated"`
}

func (DescribeFlowTopUrlResponseBody) GoString

func (*DescribeFlowTopUrlResponseBody) SetRequestId

func (DescribeFlowTopUrlResponseBody) String

type DescribeFlowTopUrlResponseBodyRuleHitsTopUrl

type DescribeFlowTopUrlResponseBodyRuleHitsTopUrl struct {
	// The total number of requests that are initiated by using the URL.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The URL that is used to initiate requests.
	Url *string `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (DescribeFlowTopUrlResponseBodyRuleHitsTopUrl) GoString

func (*DescribeFlowTopUrlResponseBodyRuleHitsTopUrl) SetCount

func (*DescribeFlowTopUrlResponseBodyRuleHitsTopUrl) SetUrl

func (DescribeFlowTopUrlResponseBodyRuleHitsTopUrl) String

type DescribeHybridCloudGroupsRequest added in v2.0.2

type DescribeHybridCloudGroupsRequest struct {
	// The ID of the hybrid cloud cluster.
	ClusterId *int64 `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The type of proxy cluster that is used. Valid values:
	//
	// *   **service**: service-based traffic mirroring.
	// *   **cname**: reverse proxy.
	ClusterProxyType *string `json:"ClusterProxyType,omitempty" xml:"ClusterProxyType,omitempty"`
	// The name of the hybrid cloud node group that you want to query.
	GroupName *int32 `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The type of the node group. Valid values:
	//
	// *   **protect**
	// *   **control**
	// *   **storage**
	// *   **controlStorage**
	GroupType *string `json:"GroupType,omitempty" xml:"GroupType,omitempty"`
	// The ID of the WAF instance.
	//
	// > You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the WAF instance. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeHybridCloudGroupsRequest) GoString added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetClusterId added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetClusterProxyType added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetGroupName added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetGroupType added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetInstanceId added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetPageNumber added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetPageSize added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetRegionId added in v2.0.2

func (*DescribeHybridCloudGroupsRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeHybridCloudGroupsRequest) SetResourceManagerResourceGroupId(v string) *DescribeHybridCloudGroupsRequest

func (DescribeHybridCloudGroupsRequest) String added in v2.0.2

type DescribeHybridCloudGroupsResponse added in v2.0.2

type DescribeHybridCloudGroupsResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeHybridCloudGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeHybridCloudGroupsResponse) GoString added in v2.0.2

func (*DescribeHybridCloudGroupsResponse) SetBody added in v2.0.2

func (*DescribeHybridCloudGroupsResponse) SetHeaders added in v2.0.2

func (*DescribeHybridCloudGroupsResponse) SetStatusCode added in v2.0.2

func (DescribeHybridCloudGroupsResponse) String added in v2.0.2

type DescribeHybridCloudGroupsResponseBody added in v2.0.2

type DescribeHybridCloudGroupsResponseBody struct {
	// The hybrid cloud node groups.
	Groups []*DescribeHybridCloudGroupsResponseBodyGroups `json:"Groups,omitempty" xml:"Groups,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHybridCloudGroupsResponseBody) GoString added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBody) SetGroups added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBody) SetRequestId added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBody) SetTotalCount added in v2.0.2

func (DescribeHybridCloudGroupsResponseBody) String added in v2.0.2

type DescribeHybridCloudGroupsResponseBodyGroups added in v2.0.2

type DescribeHybridCloudGroupsResponseBodyGroups struct {
	BackSourceMark  *string `json:"BackSourceMark,omitempty" xml:"BackSourceMark,omitempty"`
	ContinentsValue *int32  `json:"ContinentsValue,omitempty" xml:"ContinentsValue,omitempty"`
	// The ID of the hybrid cloud node group.
	GroupId *int32 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The name of the hybrid cloud node group.
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The type of the hybrid cloud node group. Valid values:
	//
	// *   **protect**
	// *   **control**
	// *   **storage**
	// *   **controlStorage**
	GroupType *string `json:"GroupType,omitempty" xml:"GroupType,omitempty"`
	// The IP address of the server for load balancing.
	LoadBalanceIp *string `json:"LoadBalanceIp,omitempty" xml:"LoadBalanceIp,omitempty"`
	// The ID of the protection node.
	LocationId    *int64 `json:"LocationId,omitempty" xml:"LocationId,omitempty"`
	OperatorValue *int32 `json:"OperatorValue,omitempty" xml:"OperatorValue,omitempty"`
	// The port that is used by the hybrid cloud cluster. The value of this parameter is a string. If multiple ports are returned, the value is in the **port1,port2,port3** format.
	Ports           *string `json:"Ports,omitempty" xml:"Ports,omitempty"`
	RegionCodeValue *int32  `json:"RegionCodeValue,omitempty" xml:"RegionCodeValue,omitempty"`
	// The description of the hybrid cloud node group.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
}

func (DescribeHybridCloudGroupsResponseBodyGroups) GoString added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetBackSourceMark added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetContinentsValue added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetGroupId added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetGroupName added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetGroupType added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetLoadBalanceIp added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetLocationId added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetOperatorValue added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetPorts added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetRegionCodeValue added in v2.0.2

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetRemark added in v2.0.2

func (DescribeHybridCloudGroupsResponseBodyGroups) String added in v2.0.2

type DescribeHybridCloudResourcesRequest added in v2.0.2

type DescribeHybridCloudResourcesRequest struct {
	// The back-to-origin IP address or domain name.
	Backend *string `json:"Backend,omitempty" xml:"Backend,omitempty"`
	// Specifies whether the public cloud disaster recovery feature is enabled for the domain name. Valid values:
	//
	// *   **true**
	// *   **false**
	CnameEnabled *bool `json:"CnameEnabled,omitempty" xml:"CnameEnabled,omitempty"`
	// The domain name that you want to query.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// > You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the WAF instance. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address of the request. The system specifies this parameter.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (DescribeHybridCloudResourcesRequest) GoString added in v2.0.2

func (*DescribeHybridCloudResourcesRequest) SetBackend added in v2.0.2

func (*DescribeHybridCloudResourcesRequest) SetCnameEnabled added in v2.0.2

func (*DescribeHybridCloudResourcesRequest) SetDomain added in v2.0.2

func (*DescribeHybridCloudResourcesRequest) SetInstanceId added in v2.0.2

func (*DescribeHybridCloudResourcesRequest) SetPageNumber added in v2.0.2

func (*DescribeHybridCloudResourcesRequest) SetPageSize added in v2.0.2

func (*DescribeHybridCloudResourcesRequest) SetRegionId added in v2.0.2

func (*DescribeHybridCloudResourcesRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeHybridCloudResourcesRequest) SetResourceManagerResourceGroupId(v string) *DescribeHybridCloudResourcesRequest

func (*DescribeHybridCloudResourcesRequest) SetSourceIp added in v2.0.2

func (DescribeHybridCloudResourcesRequest) String added in v2.0.2

type DescribeHybridCloudResourcesResponse added in v2.0.2

type DescribeHybridCloudResourcesResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeHybridCloudResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeHybridCloudResourcesResponse) GoString added in v2.0.2

func (*DescribeHybridCloudResourcesResponse) SetBody added in v2.0.2

func (*DescribeHybridCloudResourcesResponse) SetHeaders added in v2.0.2

func (*DescribeHybridCloudResourcesResponse) SetStatusCode added in v2.0.2

func (DescribeHybridCloudResourcesResponse) String added in v2.0.2

type DescribeHybridCloudResourcesResponseBody added in v2.0.2

type DescribeHybridCloudResourcesResponseBody struct {
	// The domain names.
	Domains []*DescribeHybridCloudResourcesResponseBodyDomains `json:"Domains,omitempty" xml:"Domains,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries that are returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHybridCloudResourcesResponseBody) GoString added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBody) SetDomains added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBody) SetRequestId added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBody) SetTotalCount added in v2.0.2

func (DescribeHybridCloudResourcesResponseBody) String added in v2.0.2

type DescribeHybridCloudResourcesResponseBodyDomains added in v2.0.2

type DescribeHybridCloudResourcesResponseBodyDomains struct {
	// The CNAME that is assigned by WAF to the domain name.
	//
	// > This parameter is returned only if you set **CnameEnabled** to true.
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The access ID.
	Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The configurations of the listeners.
	Listen *DescribeHybridCloudResourcesResponseBodyDomainsListen `json:"Listen,omitempty" xml:"Listen,omitempty" type:"Struct"`
	// The configurations of the forwarding rule.
	Redirect *DescribeHybridCloudResourcesResponseBodyDomainsRedirect `json:"Redirect,omitempty" xml:"Redirect,omitempty" type:"Struct"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The status of the domain name. Valid values:
	//
	// *   **1:** The domain name is normal.
	// *   **2:** The domain name is being created.
	// *   **3:** The domain name is being modified.
	// *   **4:** The domain name is being released.
	// *   **5:** WAF no longer forwards traffic of the domain name.
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The user ID.
	Uid *string `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (DescribeHybridCloudResourcesResponseBodyDomains) GoString added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetCname added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetDomain added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetId added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetResourceManagerResourceGroupId added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetStatus added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetUid added in v2.0.2

func (DescribeHybridCloudResourcesResponseBodyDomains) String added in v2.0.2

type DescribeHybridCloudResourcesResponseBodyDomainsListen added in v2.0.2

type DescribeHybridCloudResourcesResponseBodyDomainsListen struct {
	// The ID of the certificate.
	CertId *string `json:"CertId,omitempty" xml:"CertId,omitempty"`
	// The types of cipher suites that are added. Valid values:
	//
	// *   **1:** all cipher suites.
	// *   **2:** strong cipher suites.
	// *   **99:** custom cipher suites.
	CipherSuite *int32 `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// The custom cipher suites.
	//
	// > This parameter is returned only if the value of **CipherSuite** is **99**.
	CustomCiphers []*string `json:"CustomCiphers,omitempty" xml:"CustomCiphers,omitempty" type:"Repeated"`
	// Indicates whether TLS 1.3 is supported. Valid values:
	//
	// *   **true**
	// *   **false**
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// Indicates whether exclusive IP addresses are supported. Valid values:
	//
	// *   **true**
	// *   **false**
	ExclusiveIp *bool `json:"ExclusiveIp,omitempty" xml:"ExclusiveIp,omitempty"`
	// Indicates whether the HTTP to HTTPS redirection feature is enabled for the domain name. Valid values:
	//
	// *   **true**
	// *   **false**
	FocusHttps *bool `json:"FocusHttps,omitempty" xml:"FocusHttps,omitempty"`
	// Indicates whether HTTP/2 is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// The HTTP listener ports.
	HttpPorts []*int64 `json:"HttpPorts,omitempty" xml:"HttpPorts,omitempty" type:"Repeated"`
	// The HTTPS listener ports.
	HttpsPorts  []*int64 `json:"HttpsPorts,omitempty" xml:"HttpsPorts,omitempty" type:"Repeated"`
	IPv6Enabled *bool    `json:"IPv6Enabled,omitempty" xml:"IPv6Enabled,omitempty"`
	// Indicates whether IPv6 is supported. Valid values:
	//
	// *   **true**
	// *   **false**
	Ipv6Enabled *bool `json:"Ipv6Enabled,omitempty" xml:"Ipv6Enabled,omitempty"`
	// The type of the protection resource. Valid values:
	//
	// *   **share:** shared cluster.
	// *   **gslb:** shared cluster-based intelligent load balancing.
	ProtectionResource *string `json:"ProtectionResource,omitempty" xml:"ProtectionResource,omitempty"`
	// The version of the Transport Layer Security (TLS) protocol. Valid values:
	//
	// *   **tlsv1**
	// *   **tlsv1.1**
	// *   **tlsv1.2**
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
	// The method that is used to obtain the actual IP address of a client. Valid values:
	//
	// *   **0:** No Layer 7 proxies are deployed in front of WAF.
	// *   **1:** WAF reads the first value of the X-Forwarded-For (XFF) header field as the actual IP address of the client.
	// *   **2:** WAF reads the value of a custom header field as the actual IP address of the client.
	XffHeaderMode *int32 `json:"XffHeaderMode,omitempty" xml:"XffHeaderMode,omitempty"`
	// The custom header fields that are used to obtain the actual IP address of a client. The value is in the \["header1","header2",...] format.
	//
	// > This parameter is returned only if the value of **XffHeaderMode** is 2.
	XffHeaders []*string `json:"XffHeaders,omitempty" xml:"XffHeaders,omitempty" type:"Repeated"`
}

func (DescribeHybridCloudResourcesResponseBodyDomainsListen) GoString added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetCertId added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetCipherSuite added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetCustomCiphers added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetEnableTLSv3 added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetExclusiveIp added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetFocusHttps added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetHttp2Enabled added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetHttpPorts added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetHttpsPorts added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetIPv6Enabled added in v2.1.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetIpv6Enabled added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetProtectionResource added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetTLSVersion added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetXffHeaderMode added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetXffHeaders added in v2.0.2

func (DescribeHybridCloudResourcesResponseBodyDomainsListen) String added in v2.0.2

type DescribeHybridCloudResourcesResponseBodyDomainsRedirect added in v2.0.2

type DescribeHybridCloudResourcesResponseBodyDomainsRedirect struct {
	// The back-to-origin IP addresses or domain names.
	Backends []*string `json:"Backends,omitempty" xml:"Backends,omitempty" type:"Repeated"`
	// Indicates whether the public cloud disaster recovery feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	CnameEnabled *bool `json:"CnameEnabled,omitempty" xml:"CnameEnabled,omitempty"`
	// The connection timeout period. Unit: seconds. Valid values: 5 to 120.
	ConnectTimeout *int64 `json:"ConnectTimeout,omitempty" xml:"ConnectTimeout,omitempty"`
	// Indicates whether the HTTPS to HTTP redirection feature is enabled for back-to-origin requests. Valid values:
	//
	// *   **true**
	// *   **false**
	FocusHttpBackend *bool `json:"FocusHttpBackend,omitempty" xml:"FocusHttpBackend,omitempty"`
	// Indicates whether the persistent connection feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	Keepalive *bool `json:"Keepalive,omitempty" xml:"Keepalive,omitempty"`
	// The number of reused persistent connections. Valid values: 60 to 1000.
	//
	// > This parameter indicates the number of reused persistent connections after you enable the persistent connection feature.
	KeepaliveRequests *int64 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period of persistent connections that are in the Idle state. Unit: seconds. Valid values: 1 to 60. Default value: 15.
	//
	// > This parameter indicates the period of time during which a reused persistent connection is allowed to remain in the Idle state before the persistent connection is released.
	KeepaliveTimeout *int64 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The load balancing algorithm that WAF uses to forward requests to the origin server. Valid values:
	//
	// *   **ip_hash**
	// *   **roundRobin**
	// *   **leastTime**
	Loadbalance *string `json:"Loadbalance,omitempty" xml:"Loadbalance,omitempty"`
	// The read timeout period. Unit: seconds. Valid values: 5 to 1800.
	ReadTimeout *int64 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The key-value pair that is used to mark the requests that pass through the WAF instance.
	RequestHeaders []*DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// Indicates whether WAF retries to forward requests when requests fail to be forwarded to the origin server. Valid values:
	//
	// *   **true**
	// *   **false**
	Retry *bool `json:"Retry,omitempty" xml:"Retry,omitempty"`
	// The forwarding rules that you configured for the domain name that you added to WAF in hybrid cloud mode. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:
	//
	// *   **rs:** The back-to-origin IP addresses or CNAMEs. The value is of the ARRAY type.
	// *   **location:** The name of the protection node. The value is of the STRING type.
	// *   **locationId:** The ID of the protection node. The value is of the LONG type.
	RoutingRules *string `json:"RoutingRules,omitempty" xml:"RoutingRules,omitempty"`
	// Indicates whether the origin Server Name Indication (SNI) feature is enabled. Valid values:
	//
	// *   **true**
	// *   **false**
	SniEnabled *bool `json:"SniEnabled,omitempty" xml:"SniEnabled,omitempty"`
	// The value of the custom Server Name Indication (SNI) field. If the parameter is left empty, the value of the **Host** field in the request header is automatically used as the value of the SNI field.
	//
	// > This parameter is returned only if the value of **SniEnabled** is **true**.
	SniHost *string `json:"SniHost,omitempty" xml:"SniHost,omitempty"`
	// The write timeout period. Unit: seconds. Valid values: 5 to 1800.
	WriteTimeout *int64 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
}

func (DescribeHybridCloudResourcesResponseBodyDomainsRedirect) GoString added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetBackends added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetCnameEnabled added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetConnectTimeout added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetFocusHttpBackend added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetKeepalive added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetKeepaliveRequests added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetKeepaliveTimeout added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetLoadbalance added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetReadTimeout added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetRetry added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetRoutingRules added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetSniEnabled added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetSniHost added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetWriteTimeout added in v2.0.2

func (DescribeHybridCloudResourcesResponseBodyDomainsRedirect) String added in v2.0.2

type DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders added in v2.0.2

type DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders struct {
	// The key of the custom header field.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the custom header field.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders) GoString added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders) SetKey added in v2.0.2

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders) SetValue added in v2.0.2

func (DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders) String added in v2.0.2

type DescribeHybridCloudUserRequest added in v2.0.2

type DescribeHybridCloudUserRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// > You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeHybridCloudUserRequest) GoString added in v2.0.2

func (*DescribeHybridCloudUserRequest) SetInstanceId added in v2.0.2

func (*DescribeHybridCloudUserRequest) SetRegionId added in v2.0.2

func (*DescribeHybridCloudUserRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeHybridCloudUserRequest) SetResourceManagerResourceGroupId(v string) *DescribeHybridCloudUserRequest

func (DescribeHybridCloudUserRequest) String added in v2.0.2

type DescribeHybridCloudUserResponse added in v2.0.2

type DescribeHybridCloudUserResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeHybridCloudUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeHybridCloudUserResponse) GoString added in v2.0.2

func (*DescribeHybridCloudUserResponse) SetBody added in v2.0.2

func (*DescribeHybridCloudUserResponse) SetHeaders added in v2.0.2

func (*DescribeHybridCloudUserResponse) SetStatusCode added in v2.0.2

func (DescribeHybridCloudUserResponse) String added in v2.0.2

type DescribeHybridCloudUserResponseBody added in v2.0.2

type DescribeHybridCloudUserResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the ports that can be used by a hybrid cloud cluster.
	UserInfo *DescribeHybridCloudUserResponseBodyUserInfo `json:"UserInfo,omitempty" xml:"UserInfo,omitempty" type:"Struct"`
}

func (DescribeHybridCloudUserResponseBody) GoString added in v2.0.2

func (*DescribeHybridCloudUserResponseBody) SetRequestId added in v2.0.2

func (*DescribeHybridCloudUserResponseBody) SetUserInfo added in v2.0.2

func (DescribeHybridCloudUserResponseBody) String added in v2.0.2

type DescribeHybridCloudUserResponseBodyUserInfo added in v2.0.2

type DescribeHybridCloudUserResponseBodyUserInfo struct {
	// The HTTP ports. The value is a string. If multiple ports are returned, the value is in the **port1,port2,port3** format.
	HttpPorts *string `json:"HttpPorts,omitempty" xml:"HttpPorts,omitempty"`
	// The HTTPS ports. The value is a string. If multiple ports are returned, the value is in the **port1,port2,port3** format.
	HttpsPorts *string `json:"HttpsPorts,omitempty" xml:"HttpsPorts,omitempty"`
}

func (DescribeHybridCloudUserResponseBodyUserInfo) GoString added in v2.0.2

func (*DescribeHybridCloudUserResponseBodyUserInfo) SetHttpPorts added in v2.0.2

func (*DescribeHybridCloudUserResponseBodyUserInfo) SetHttpsPorts added in v2.0.2

func (DescribeHybridCloudUserResponseBodyUserInfo) String added in v2.0.2

type DescribeInstanceRequest

type DescribeInstanceRequest struct {
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeInstanceRequest) GoString

func (s DescribeInstanceRequest) GoString() string

func (*DescribeInstanceRequest) SetRegionId

func (*DescribeInstanceRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeInstanceRequest) SetResourceManagerResourceGroupId(v string) *DescribeInstanceRequest

func (DescribeInstanceRequest) String

func (s DescribeInstanceRequest) String() string

type DescribeInstanceResponse

type DescribeInstanceResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeInstanceResponse) GoString

func (s DescribeInstanceResponse) GoString() string

func (*DescribeInstanceResponse) SetBody

func (*DescribeInstanceResponse) SetHeaders

func (*DescribeInstanceResponse) SetStatusCode

func (DescribeInstanceResponse) String

func (s DescribeInstanceResponse) String() string

type DescribeInstanceResponseBody

type DescribeInstanceResponseBody struct {
	// The details of the WAF instance.
	Details *DescribeInstanceResponseBodyDetails `json:"Details,omitempty" xml:"Details,omitempty" type:"Struct"`
	// The edition of the WAF instance.
	Edition *string `json:"Edition,omitempty" xml:"Edition,omitempty"`
	// The expiration time of the WAF instance.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// Indicates whether the WAF instance has overdue payments. Valid values:
	//
	// *   **0**: The WAF instance does not have overdue payments.
	// *   **1**: The WAF instance has overdue payments.
	InDebt *string `json:"InDebt,omitempty" xml:"InDebt,omitempty"`
	// The ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The billing method of the WAF instance. Valid values:
	//
	// *   **POSTPAY:** The WAF instance uses the pay-as-you-go billing method.
	// *   **PREPAY:** The WAF instance uses the subscription billing method.
	PayType *string `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The purchase time of the WAF instance. The time is in the UNIX timestamp format. The time is displayed in UTC. Unit: milliseconds.
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The status of the WAF instance. Valid values:
	//
	// *   **1:** The WAF instance is in a normal state.
	// *   **2:** The WAF instance has expired.
	// *   **3:** The WAF instance has been released.
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeInstanceResponseBody) GoString

func (s DescribeInstanceResponseBody) GoString() string

func (*DescribeInstanceResponseBody) SetDetails

func (*DescribeInstanceResponseBody) SetEdition

func (*DescribeInstanceResponseBody) SetEndTime

func (*DescribeInstanceResponseBody) SetInDebt

func (*DescribeInstanceResponseBody) SetInstanceId

func (*DescribeInstanceResponseBody) SetPayType

func (*DescribeInstanceResponseBody) SetRegionId

func (*DescribeInstanceResponseBody) SetRequestId

func (*DescribeInstanceResponseBody) SetStartTime

func (*DescribeInstanceResponseBody) SetStatus

func (DescribeInstanceResponseBody) String

type DescribeInstanceResponseBodyDetails

type DescribeInstanceResponseBodyDetails struct {
	// The maximum number of IP addresses that can be added to the match content of a match condition. For more information, see [Match conditions](~~374354~~).
	AclRuleMaxIpCount *int64 `json:"AclRuleMaxIpCount,omitempty" xml:"AclRuleMaxIpCount,omitempty"`
	// Indicates whether the scan protection module is supported. Valid values:
	//
	// *   **true:** The scan protection module is supported.
	// *   **false:** The scan protection module is not supported.
	AntiScan *bool `json:"AntiScan,omitempty" xml:"AntiScan,omitempty"`
	// The maximum number of scan protection rule templates that can be configured.
	AntiScanTemplateMaxCount *int64 `json:"AntiScanTemplateMaxCount,omitempty" xml:"AntiScanTemplateMaxCount,omitempty"`
	// The maximum number of back-to-origin IP addresses that can be configured.
	BackendMaxCount *int64 `json:"BackendMaxCount,omitempty" xml:"BackendMaxCount,omitempty"`
	// Indicates whether the basic protection rule module is supported. Valid values:
	//
	// *   **true:** The basic protection rule module is supported.
	// *   **false:** The basic protection rule module is not supported.
	BaseWafGroup *bool `json:"BaseWafGroup,omitempty" xml:"BaseWafGroup,omitempty"`
	// The maximum number of protection rules that can be included in a basic protection rule template.
	BaseWafGroupRuleInTemplateMaxCount *int64 `json:"BaseWafGroupRuleInTemplateMaxCount,omitempty" xml:"BaseWafGroupRuleInTemplateMaxCount,omitempty"`
	// The maximum number of basic protection rule templates that can be configured.
	BaseWafGroupRuleTemplateMaxCount *int64 `json:"BaseWafGroupRuleTemplateMaxCount,omitempty" xml:"BaseWafGroupRuleTemplateMaxCount,omitempty"`
	// Indicates whether the bot management module is supported. Valid values:
	//
	// *   **true:** The bot management module is supported.
	// *   **false:** The bot management module is not supported.
	Bot *bool `json:"Bot,omitempty" xml:"Bot,omitempty"`
	// Indicates whether bot management for app protection is supported. Valid values:
	//
	// *   **true:** Bot management for app protection is supported.
	// *   **false:** Bot management for app protection is not supported.
	BotApp *string `json:"BotApp,omitempty" xml:"BotApp,omitempty"`
	// The maximum number of bot management rule templates that can be configured.
	BotTemplateMaxCount *int64 `json:"BotTemplateMaxCount,omitempty" xml:"BotTemplateMaxCount,omitempty"`
	// Indicates whether bot management for website protection is supported. Valid values:
	//
	// *   **true:** Bot management for website protection is supported.
	// *   **false:** Bot management for website protection is not supported.
	BotWeb *string `json:"BotWeb,omitempty" xml:"BotWeb,omitempty"`
	// The maximum number of CNAMEs that can be added.
	CnameResourceMaxCount *int64 `json:"CnameResourceMaxCount,omitempty" xml:"CnameResourceMaxCount,omitempty"`
	// Indicates whether the custom response module is supported. Valid values:
	//
	// *   **true:** The custom response module is supported.
	// *   **false:** The custom response module is not supported.
	CustomResponse *bool `json:"CustomResponse,omitempty" xml:"CustomResponse,omitempty"`
	// The maximum number of rules that can be included in a custom response rule template.
	CustomResponseRuleInTemplateMaxCount *int64 `json:"CustomResponseRuleInTemplateMaxCount,omitempty" xml:"CustomResponseRuleInTemplateMaxCount,omitempty"`
	// The maximum number of custom response rule templates that can be configured.
	CustomResponseTemplateMaxCount *int64 `json:"CustomResponseTemplateMaxCount,omitempty" xml:"CustomResponseTemplateMaxCount,omitempty"`
	// Indicates whether the custom rule module is supported. Valid values:
	//
	// *   **true:** The custom rule module is supported.
	// *   **false:** The custom rule module is not supported.
	CustomRule *bool `json:"CustomRule,omitempty" xml:"CustomRule,omitempty"`
	// The action that can be included in a custom rule.
	CustomRuleAction *string `json:"CustomRuleAction,omitempty" xml:"CustomRuleAction,omitempty"`
	// The match conditions that can be used in a custom rule. For more information, see **Match condition parameters** in the "**Parameters of custom rules (custom_acl)**" section in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	CustomRuleCondition *string `json:"CustomRuleCondition,omitempty" xml:"CustomRuleCondition,omitempty"`
	// The maximum number of rules that can be included in a custom rule template.
	CustomRuleInTemplateMaxCount *int64 `json:"CustomRuleInTemplateMaxCount,omitempty" xml:"CustomRuleInTemplateMaxCount,omitempty"`
	// The statistical object for rate limiting in a custom rule.
	CustomRuleRatelimitor *string `json:"CustomRuleRatelimitor,omitempty" xml:"CustomRuleRatelimitor,omitempty"`
	// The maximum number of custom rule templates that can be configured.
	CustomRuleTemplateMaxCount *int64 `json:"CustomRuleTemplateMaxCount,omitempty" xml:"CustomRuleTemplateMaxCount,omitempty"`
	// The maximum number of protected object groups that can be configured.
	DefenseGroupMaxCount *int64 `json:"DefenseGroupMaxCount,omitempty" xml:"DefenseGroupMaxCount,omitempty"`
	// The maximum number of protected objects that can be included in a protected object group.
	DefenseObjectInGroupMaxCount *int64 `json:"DefenseObjectInGroupMaxCount,omitempty" xml:"DefenseObjectInGroupMaxCount,omitempty"`
	// The maximum number of protected objects to which a protection rule template can be applied.
	DefenseObjectInTemplateMaxCount *int64 `json:"DefenseObjectInTemplateMaxCount,omitempty" xml:"DefenseObjectInTemplateMaxCount,omitempty"`
	// The maximum number of protected objects that can be configured.
	DefenseObjectMaxCount *int64 `json:"DefenseObjectMaxCount,omitempty" xml:"DefenseObjectMaxCount,omitempty"`
	// Indicates whether the data leakage prevention module is supported. Valid values:
	//
	// *   **true:** The data leakage prevention module is supported.
	// *   **false:** The data leakage prevention module is not supported.
	Dlp *bool `json:"Dlp,omitempty" xml:"Dlp,omitempty"`
	// The maximum number of rules that can be included in a data leakage prevention rule template.
	DlpRuleInTemplateMaxCount *int64 `json:"DlpRuleInTemplateMaxCount,omitempty" xml:"DlpRuleInTemplateMaxCount,omitempty"`
	// The maximum number of data leakage prevention rule templates that can be configured.
	DlpTemplateMaxCount *int64 `json:"DlpTemplateMaxCount,omitempty" xml:"DlpTemplateMaxCount,omitempty"`
	// Indicates whether exclusive IP addresses are supported. Valid values:
	//
	// *   **true:** Exclusive IP addresses are supported.
	// *   **false:** Exclusive IP addresses are not supported.
	ExclusiveIp *bool `json:"ExclusiveIp,omitempty" xml:"ExclusiveIp,omitempty"`
	// Indicates whether global server load balancing (GSLB) is supported. Valid values:
	//
	// *   **true:** GSLB is supported.
	// *   **false:** GSLB is not supported.
	Gslb *bool `json:"Gslb,omitempty" xml:"Gslb,omitempty"`
	// The HTTP port range that is supported. For more information, see [View supported ports](~~385578~~).
	HttpPorts *string `json:"HttpPorts,omitempty" xml:"HttpPorts,omitempty"`
	// The HTTPS port range that is supported. For more information, see [View supported ports](~~385578~~).
	HttpsPorts *string `json:"HttpsPorts,omitempty" xml:"HttpsPorts,omitempty"`
	// Indicates whether the IP address blacklist module is supported. Valid values:
	//
	// *   **true:** The IP address blacklist module is supported.
	// *   **false:** The IP address blacklist module is not supported.
	IpBlacklist *bool `json:"IpBlacklist,omitempty" xml:"IpBlacklist,omitempty"`
	// The maximum number of IP addresses that can be added to an IP address blacklist rule.
	IpBlacklistIpInRuleMaxCount *int64 `json:"IpBlacklistIpInRuleMaxCount,omitempty" xml:"IpBlacklistIpInRuleMaxCount,omitempty"`
	// The maximum number of rules that can be included in an IP address blacklist rule template.
	IpBlacklistRuleInTemplateMaxCount *int64 `json:"IpBlacklistRuleInTemplateMaxCount,omitempty" xml:"IpBlacklistRuleInTemplateMaxCount,omitempty"`
	// The maximum number of IP address blacklist rule templates that can be configured.
	IpBlacklistTemplateMaxCount *int64 `json:"IpBlacklistTemplateMaxCount,omitempty" xml:"IpBlacklistTemplateMaxCount,omitempty"`
	// Indicates whether IPv6 is supported. Valid values:
	//
	// *   **true:** IPv6 is supported.
	// *   **false:** IPv6 is not supported.
	Ipv6 *bool `json:"Ipv6,omitempty" xml:"Ipv6,omitempty"`
	// Indicates whether the log collection feature is supported. Valid values:
	//
	// *   **true:** The log collection feature is supported.
	// *   **false:** The log collection feature is not supported.
	LogService *bool `json:"LogService,omitempty" xml:"LogService,omitempty"`
	// Indicates whether major event protection is supported. Valid values:
	//
	// *   **true:** Major event protection is supported.
	// *   **false:** Major event protection is not supported.
	MajorProtection *bool `json:"MajorProtection,omitempty" xml:"MajorProtection,omitempty"`
	// The maximum number of major event protection rule templates that can be configured.
	MajorProtectionTemplateMaxCount *int64 `json:"MajorProtectionTemplateMaxCount,omitempty" xml:"MajorProtectionTemplateMaxCount,omitempty"`
	// Indicates whether the website tamper-proofing module is supported. Valid values:
	//
	// *   **true:** The website tamper-proofing module is supported.
	// *   **false:** The website tamper-proofing module is not supported.
	Tamperproof *bool `json:"Tamperproof,omitempty" xml:"Tamperproof,omitempty"`
	// The maximum number of rules that can be included in a website tamper-proofing rule template.
	TamperproofRuleInTemplateMaxCount *int64 `json:"TamperproofRuleInTemplateMaxCount,omitempty" xml:"TamperproofRuleInTemplateMaxCount,omitempty"`
	// The maximum number of website tamper-proofing rule templates that can be configured.
	TamperproofTemplateMaxCount *int64 `json:"TamperproofTemplateMaxCount,omitempty" xml:"TamperproofTemplateMaxCount,omitempty"`
	// The maximum number of IP addresses or CIDR blocks that can be added to an IP address blacklist in a batch.
	VastIpBlacklistInFileMaxCount *int64 `json:"VastIpBlacklistInFileMaxCount,omitempty" xml:"VastIpBlacklistInFileMaxCount,omitempty"`
	// The maximum number of IP addresses or CIDR blocks that can be added to an IP address blacklist on a page.
	VastIpBlacklistInOperationMaxCount *int64 `json:"VastIpBlacklistInOperationMaxCount,omitempty" xml:"VastIpBlacklistInOperationMaxCount,omitempty"`
	// The maximum number of IP addresses or CIDR blocks that can be added to an IP address blacklist per Alibaba Cloud account.
	VastIpBlacklistMaxCount *int64 `json:"VastIpBlacklistMaxCount,omitempty" xml:"VastIpBlacklistMaxCount,omitempty"`
	// Indicates whether the whitelist module is supported. Valid values:
	//
	// *   **true:** The whitelist module is supported.
	// *   **false:** The whitelist module is not supported.
	Whitelist *bool `json:"Whitelist,omitempty" xml:"Whitelist,omitempty"`
	// The logical operators that can be used in a whitelist rule. For more information, see **Match condition parameters** in the "**Parameters of whitelist rules (whitelist)**" section in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	WhitelistLogical *string `json:"WhitelistLogical,omitempty" xml:"WhitelistLogical,omitempty"`
	// The match fields that can be used in a whitelist rule. For more information, see **Match condition parameters** in the "**Parameters of whitelist rules (whitelist)**" section in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	WhitelistRuleCondition *string `json:"WhitelistRuleCondition,omitempty" xml:"WhitelistRuleCondition,omitempty"`
	// The maximum number of rules that can be included in a whitelist rule template.
	WhitelistRuleInTemplateMaxCount *int64 `json:"WhitelistRuleInTemplateMaxCount,omitempty" xml:"WhitelistRuleInTemplateMaxCount,omitempty"`
	// The maximum number of whitelist rule templates that can be configured.
	WhitelistTemplateMaxCount *int64 `json:"WhitelistTemplateMaxCount,omitempty" xml:"WhitelistTemplateMaxCount,omitempty"`
}

func (DescribeInstanceResponseBodyDetails) GoString

func (*DescribeInstanceResponseBodyDetails) SetAclRuleMaxIpCount

func (*DescribeInstanceResponseBodyDetails) SetAntiScan

func (*DescribeInstanceResponseBodyDetails) SetAntiScanTemplateMaxCount

func (*DescribeInstanceResponseBodyDetails) SetBackendMaxCount

func (*DescribeInstanceResponseBodyDetails) SetBaseWafGroup

func (*DescribeInstanceResponseBodyDetails) SetBaseWafGroupRuleInTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetBaseWafGroupRuleInTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetBaseWafGroupRuleTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetBaseWafGroupRuleTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetBot

func (*DescribeInstanceResponseBodyDetails) SetBotApp

func (*DescribeInstanceResponseBodyDetails) SetBotTemplateMaxCount

func (*DescribeInstanceResponseBodyDetails) SetBotWeb

func (*DescribeInstanceResponseBodyDetails) SetCnameResourceMaxCount

func (*DescribeInstanceResponseBodyDetails) SetCustomResponse

func (*DescribeInstanceResponseBodyDetails) SetCustomResponseRuleInTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetCustomResponseRuleInTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetCustomResponseTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetCustomResponseTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetCustomRule

func (*DescribeInstanceResponseBodyDetails) SetCustomRuleAction

func (*DescribeInstanceResponseBodyDetails) SetCustomRuleCondition

func (*DescribeInstanceResponseBodyDetails) SetCustomRuleInTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetCustomRuleInTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetCustomRuleRatelimitor

func (*DescribeInstanceResponseBodyDetails) SetCustomRuleTemplateMaxCount

func (*DescribeInstanceResponseBodyDetails) SetDefenseGroupMaxCount

func (*DescribeInstanceResponseBodyDetails) SetDefenseObjectInGroupMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetDefenseObjectInGroupMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetDefenseObjectInTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetDefenseObjectInTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetDefenseObjectMaxCount

func (*DescribeInstanceResponseBodyDetails) SetDlp

func (*DescribeInstanceResponseBodyDetails) SetDlpRuleInTemplateMaxCount

func (*DescribeInstanceResponseBodyDetails) SetDlpTemplateMaxCount

func (*DescribeInstanceResponseBodyDetails) SetExclusiveIp

func (*DescribeInstanceResponseBodyDetails) SetGslb

func (*DescribeInstanceResponseBodyDetails) SetHttpPorts

func (*DescribeInstanceResponseBodyDetails) SetHttpsPorts

func (*DescribeInstanceResponseBodyDetails) SetIpBlacklist

func (*DescribeInstanceResponseBodyDetails) SetIpBlacklistIpInRuleMaxCount

func (*DescribeInstanceResponseBodyDetails) SetIpBlacklistRuleInTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetIpBlacklistRuleInTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetIpBlacklistTemplateMaxCount

func (*DescribeInstanceResponseBodyDetails) SetIpv6

func (*DescribeInstanceResponseBodyDetails) SetLogService

func (*DescribeInstanceResponseBodyDetails) SetMajorProtection

func (*DescribeInstanceResponseBodyDetails) SetMajorProtectionTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetMajorProtectionTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetTamperproof

func (*DescribeInstanceResponseBodyDetails) SetTamperproofRuleInTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetTamperproofRuleInTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetTamperproofTemplateMaxCount

func (*DescribeInstanceResponseBodyDetails) SetVastIpBlacklistInFileMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetVastIpBlacklistInFileMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetVastIpBlacklistInOperationMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetVastIpBlacklistInOperationMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetVastIpBlacklistMaxCount

func (*DescribeInstanceResponseBodyDetails) SetWhitelist

func (*DescribeInstanceResponseBodyDetails) SetWhitelistLogical

func (*DescribeInstanceResponseBodyDetails) SetWhitelistRuleCondition

func (*DescribeInstanceResponseBodyDetails) SetWhitelistRuleInTemplateMaxCount

func (s *DescribeInstanceResponseBodyDetails) SetWhitelistRuleInTemplateMaxCount(v int64) *DescribeInstanceResponseBodyDetails

func (*DescribeInstanceResponseBodyDetails) SetWhitelistTemplateMaxCount

func (DescribeInstanceResponseBodyDetails) String

type DescribeMajorProtectionBlackIpsRequest

type DescribeMajorProtectionBlackIpsRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The IP address that you want to query. You can specify this parameter to query an IP address in the IP address blacklist for major event protection by using fuzzy matching.
	IpLike *string `json:"IpLike,omitempty" xml:"IpLike,omitempty"`
	// The method that you want to use to sort the IP addresses **in descending order**. Valid values:
	//
	// *   **gmtModified:** sorts the IP addresses by most recent modification time.
	// *   **ip:** sorts the IP addresses by IP address.
	// *   **templateId:** sorts the IP addresses by template ID.
	// *   **id:** sorts the IP addresses by primary key.
	OrderBy *string `json:"OrderBy,omitempty" xml:"OrderBy,omitempty"`
	// The number of the page to return. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the rule template for major event protection.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeMajorProtectionBlackIpsRequest) GoString

func (*DescribeMajorProtectionBlackIpsRequest) SetInstanceId

func (*DescribeMajorProtectionBlackIpsRequest) SetIpLike

func (*DescribeMajorProtectionBlackIpsRequest) SetOrderBy

func (*DescribeMajorProtectionBlackIpsRequest) SetPageNumber

func (*DescribeMajorProtectionBlackIpsRequest) SetPageSize

func (*DescribeMajorProtectionBlackIpsRequest) SetRegionId added in v2.0.2

func (*DescribeMajorProtectionBlackIpsRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (*DescribeMajorProtectionBlackIpsRequest) SetRuleId

func (*DescribeMajorProtectionBlackIpsRequest) SetTemplateId

func (DescribeMajorProtectionBlackIpsRequest) String

type DescribeMajorProtectionBlackIpsResponse

type DescribeMajorProtectionBlackIpsResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeMajorProtectionBlackIpsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeMajorProtectionBlackIpsResponse) GoString

func (*DescribeMajorProtectionBlackIpsResponse) SetHeaders

func (*DescribeMajorProtectionBlackIpsResponse) SetStatusCode

func (DescribeMajorProtectionBlackIpsResponse) String

type DescribeMajorProtectionBlackIpsResponseBody

type DescribeMajorProtectionBlackIpsResponseBody struct {
	// An array of IP addresses in the IP address blacklist.
	IpList []*DescribeMajorProtectionBlackIpsResponseBodyIpList `json:"IpList,omitempty" xml:"IpList,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of IP addresses in the blacklist.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeMajorProtectionBlackIpsResponseBody) GoString

func (*DescribeMajorProtectionBlackIpsResponseBody) SetRequestId

func (*DescribeMajorProtectionBlackIpsResponseBody) SetTotalCount

func (DescribeMajorProtectionBlackIpsResponseBody) String

type DescribeMajorProtectionBlackIpsResponseBodyIpList

type DescribeMajorProtectionBlackIpsResponseBodyIpList struct {
	// The description of the IP address in the blacklist.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time after which the IP address blacklist becomes invalid. Unit: seconds.
	//
	// >  If the value of this parameter is **0**, the blacklist is permanently valid.
	ExpiredTime *int64 `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The most recent time when the IP address blacklist was modified.
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The IP address in the IP address blacklist.
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the rule template for major event protection.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeMajorProtectionBlackIpsResponseBodyIpList) GoString

func (*DescribeMajorProtectionBlackIpsResponseBodyIpList) SetDescription

func (*DescribeMajorProtectionBlackIpsResponseBodyIpList) SetExpiredTime

func (*DescribeMajorProtectionBlackIpsResponseBodyIpList) SetGmtModified

func (*DescribeMajorProtectionBlackIpsResponseBodyIpList) SetIp

func (*DescribeMajorProtectionBlackIpsResponseBodyIpList) SetRuleId

func (*DescribeMajorProtectionBlackIpsResponseBodyIpList) SetTemplateId

func (DescribeMajorProtectionBlackIpsResponseBodyIpList) String

type DescribePeakTrendRequest

type DescribePeakTrendRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The time interval. Unit: seconds. The value must be an integral multiple of 60.
	Interval *string `json:"Interval,omitempty" xml:"Interval,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribePeakTrendRequest) GoString

func (s DescribePeakTrendRequest) GoString() string

func (*DescribePeakTrendRequest) SetEndTimestamp

func (*DescribePeakTrendRequest) SetInstanceId

func (*DescribePeakTrendRequest) SetInterval

func (*DescribePeakTrendRequest) SetRegionId added in v2.0.2

func (*DescribePeakTrendRequest) SetResource

func (*DescribePeakTrendRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribePeakTrendRequest) SetResourceManagerResourceGroupId(v string) *DescribePeakTrendRequest

func (*DescribePeakTrendRequest) SetStartTimestamp

func (s *DescribePeakTrendRequest) SetStartTimestamp(v string) *DescribePeakTrendRequest

func (DescribePeakTrendRequest) String

func (s DescribePeakTrendRequest) String() string

type DescribePeakTrendResponse

type DescribePeakTrendResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribePeakTrendResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribePeakTrendResponse) GoString

func (s DescribePeakTrendResponse) GoString() string

func (*DescribePeakTrendResponse) SetBody

func (*DescribePeakTrendResponse) SetHeaders

func (*DescribePeakTrendResponse) SetStatusCode

func (DescribePeakTrendResponse) String

func (s DescribePeakTrendResponse) String() string

type DescribePeakTrendResponseBody

type DescribePeakTrendResponseBody struct {
	// An array of the QPS statistics of the WAF instance.
	FlowChart []*DescribePeakTrendResponseBodyFlowChart `json:"FlowChart,omitempty" xml:"FlowChart,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribePeakTrendResponseBody) GoString

func (*DescribePeakTrendResponseBody) SetFlowChart

func (*DescribePeakTrendResponseBody) SetRequestId

func (DescribePeakTrendResponseBody) String

type DescribePeakTrendResponseBodyFlowChart

type DescribePeakTrendResponseBodyFlowChart struct {
	// The number of requests that are monitored or blocked by the custom rule (access control) module.
	AclSum *int64 `json:"AclSum,omitempty" xml:"AclSum,omitempty"`
	// The number of requests that are monitored or blocked by the scan protection module.
	AntiScanSum *int64 `json:"AntiScanSum,omitempty" xml:"AntiScanSum,omitempty"`
	// The number of requests that are monitored or blocked by the HTTP flood protection module.
	CcSum *int64 `json:"CcSum,omitempty" xml:"CcSum,omitempty"`
	// The total number of requests.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The serial number of the time interval. The serial numbers are arranged in chronological order.
	Index *int64 `json:"Index,omitempty" xml:"Index,omitempty"`
	// The number of requests that are monitored or blocked by the regular expression protection engine.
	WafSum *int64 `json:"WafSum,omitempty" xml:"WafSum,omitempty"`
}

func (DescribePeakTrendResponseBodyFlowChart) GoString

func (*DescribePeakTrendResponseBodyFlowChart) SetAclSum

func (*DescribePeakTrendResponseBodyFlowChart) SetAntiScanSum

func (*DescribePeakTrendResponseBodyFlowChart) SetCcSum

func (*DescribePeakTrendResponseBodyFlowChart) SetCount

func (*DescribePeakTrendResponseBodyFlowChart) SetIndex

func (*DescribePeakTrendResponseBodyFlowChart) SetWafSum

func (DescribePeakTrendResponseBodyFlowChart) String

type DescribeResourceLogStatusRequest

type DescribeResourceLogStatusRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The protected object that you want to query. You can specify multiple protected objects. Separate the protected objects with commas (,).
	Resources *string `json:"Resources,omitempty" xml:"Resources,omitempty"`
}

func (DescribeResourceLogStatusRequest) GoString

func (*DescribeResourceLogStatusRequest) SetInstanceId

func (*DescribeResourceLogStatusRequest) SetRegionId added in v2.0.2

func (*DescribeResourceLogStatusRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeResourceLogStatusRequest) SetResourceManagerResourceGroupId(v string) *DescribeResourceLogStatusRequest

func (*DescribeResourceLogStatusRequest) SetResources

func (DescribeResourceLogStatusRequest) String

type DescribeResourceLogStatusResponse

type DescribeResourceLogStatusResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeResourceLogStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeResourceLogStatusResponse) GoString

func (*DescribeResourceLogStatusResponse) SetHeaders

func (*DescribeResourceLogStatusResponse) SetStatusCode

func (DescribeResourceLogStatusResponse) String

type DescribeResourceLogStatusResponseBody

type DescribeResourceLogStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The returned result.
	Result []*DescribeResourceLogStatusResponseBodyResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Repeated"`
}

func (DescribeResourceLogStatusResponseBody) GoString

func (*DescribeResourceLogStatusResponseBody) SetRequestId

func (DescribeResourceLogStatusResponseBody) String

type DescribeResourceLogStatusResponseBodyResult

type DescribeResourceLogStatusResponseBodyResult struct {
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// Indicates whether the log collection feature is enabled for the protected object. Valid values:
	//
	// *   **true:** The log collection feature is enabled.
	// *   **false:** The log collection feature is disabled.
	Status *bool `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeResourceLogStatusResponseBodyResult) GoString

func (*DescribeResourceLogStatusResponseBodyResult) SetResource

func (*DescribeResourceLogStatusResponseBodyResult) SetStatus

func (DescribeResourceLogStatusResponseBodyResult) String

type DescribeResourcePortRequest

type DescribeResourcePortRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the cloud service instance.
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeResourcePortRequest) GoString

func (s DescribeResourcePortRequest) GoString() string

func (*DescribeResourcePortRequest) SetInstanceId

func (*DescribeResourcePortRequest) SetRegionId added in v2.0.2

func (*DescribeResourcePortRequest) SetResourceInstanceId

func (s *DescribeResourcePortRequest) SetResourceInstanceId(v string) *DescribeResourcePortRequest

func (*DescribeResourcePortRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeResourcePortRequest) SetResourceManagerResourceGroupId(v string) *DescribeResourcePortRequest

func (DescribeResourcePortRequest) String

type DescribeResourcePortResponse

type DescribeResourcePortResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeResourcePortResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeResourcePortResponse) GoString

func (s DescribeResourcePortResponse) GoString() string

func (*DescribeResourcePortResponse) SetBody

func (*DescribeResourcePortResponse) SetHeaders

func (*DescribeResourcePortResponse) SetStatusCode

func (DescribeResourcePortResponse) String

type DescribeResourcePortResponseBody

type DescribeResourcePortResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array of HTTP and HTTPS listener ports that are added to the WAF instance.
	ResourcePorts []*string `json:"ResourcePorts,omitempty" xml:"ResourcePorts,omitempty" type:"Repeated"`
}

func (DescribeResourcePortResponseBody) GoString

func (*DescribeResourcePortResponseBody) SetRequestId

func (*DescribeResourcePortResponseBody) SetResourcePorts

func (DescribeResourcePortResponseBody) String

type DescribeResponseCodeTrendGraphRequest

type DescribeResponseCodeTrendGraphRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The time interval. Unit: seconds. The value must be an integral multiple of 60.
	Interval *string `json:"Interval,omitempty" xml:"Interval,omitempty"`
	// The ID of the region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
	// The type of the error codes. Valid values:
	//
	// *   **waf:** error codes that are returned to clients from WAF.
	// *   **upstream:** error codes that are returned to WAF from the origin server.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeResponseCodeTrendGraphRequest) GoString

func (*DescribeResponseCodeTrendGraphRequest) SetEndTimestamp

func (*DescribeResponseCodeTrendGraphRequest) SetInstanceId

func (*DescribeResponseCodeTrendGraphRequest) SetInterval

func (*DescribeResponseCodeTrendGraphRequest) SetRegionId added in v2.0.2

func (*DescribeResponseCodeTrendGraphRequest) SetResource

func (*DescribeResponseCodeTrendGraphRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (*DescribeResponseCodeTrendGraphRequest) SetStartTimestamp

func (*DescribeResponseCodeTrendGraphRequest) SetType

func (DescribeResponseCodeTrendGraphRequest) String

type DescribeResponseCodeTrendGraphResponse

type DescribeResponseCodeTrendGraphResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeResponseCodeTrendGraphResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeResponseCodeTrendGraphResponse) GoString

func (*DescribeResponseCodeTrendGraphResponse) SetHeaders

func (*DescribeResponseCodeTrendGraphResponse) SetStatusCode

func (DescribeResponseCodeTrendGraphResponse) String

type DescribeResponseCodeTrendGraphResponseBody

type DescribeResponseCodeTrendGraphResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the statistics of the error codes.
	ResponseCodes []*DescribeResponseCodeTrendGraphResponseBodyResponseCodes `json:"ResponseCodes,omitempty" xml:"ResponseCodes,omitempty" type:"Repeated"`
}

func (DescribeResponseCodeTrendGraphResponseBody) GoString

func (*DescribeResponseCodeTrendGraphResponseBody) SetRequestId

func (DescribeResponseCodeTrendGraphResponseBody) String

type DescribeResponseCodeTrendGraphResponseBodyResponseCodes

type DescribeResponseCodeTrendGraphResponseBodyResponseCodes struct {
	// The number of 302 error codes that are returned.
	Code302Pv *int64 `json:"302Pv,omitempty" xml:"302Pv,omitempty"`
	// The number of 405 error codes that are returned.
	Code405Pv *int64 `json:"405Pv,omitempty" xml:"405Pv,omitempty"`
	// The number of 499 error codes that are returned.
	Code499Pv *int64 `json:"499Pv,omitempty" xml:"499Pv,omitempty"`
	// The number of 5xx error codes that are returned.
	Code5xxPv *int64 `json:"5xxPv,omitempty" xml:"5xxPv,omitempty"`
	// The serial number of the time interval. The serial numbers are arranged in chronological order.
	Index *int64 `json:"Index,omitempty" xml:"Index,omitempty"`
}

func (DescribeResponseCodeTrendGraphResponseBodyResponseCodes) GoString

func (*DescribeResponseCodeTrendGraphResponseBodyResponseCodes) SetCode302Pv

func (*DescribeResponseCodeTrendGraphResponseBodyResponseCodes) SetCode405Pv

func (*DescribeResponseCodeTrendGraphResponseBodyResponseCodes) SetCode499Pv

func (*DescribeResponseCodeTrendGraphResponseBodyResponseCodes) SetCode5xxPv

func (*DescribeResponseCodeTrendGraphResponseBodyResponseCodes) SetIndex

func (DescribeResponseCodeTrendGraphResponseBodyResponseCodes) String

type DescribeRuleGroupsRequest

type DescribeRuleGroupsRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of the page to return. Default value: **1**.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the query condition. Valid values:
	//
	// *   **id:** queries regular expression rule groups by ID.
	// *   **name:** queries regular expression rule groups by name.
	SearchType *string `json:"SearchType,omitempty" xml:"SearchType,omitempty"`
	// The query condition.
	SearchValue *string `json:"SearchValue,omitempty" xml:"SearchValue,omitempty"`
}

func (DescribeRuleGroupsRequest) GoString

func (s DescribeRuleGroupsRequest) GoString() string

func (*DescribeRuleGroupsRequest) SetInstanceId

func (*DescribeRuleGroupsRequest) SetPageNumber

func (*DescribeRuleGroupsRequest) SetPageSize

func (*DescribeRuleGroupsRequest) SetRegionId added in v2.0.2

func (*DescribeRuleGroupsRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeRuleGroupsRequest) SetResourceManagerResourceGroupId(v string) *DescribeRuleGroupsRequest

func (*DescribeRuleGroupsRequest) SetSearchType

func (*DescribeRuleGroupsRequest) SetSearchValue

func (DescribeRuleGroupsRequest) String

func (s DescribeRuleGroupsRequest) String() string

type DescribeRuleGroupsResponse

type DescribeRuleGroupsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRuleGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRuleGroupsResponse) GoString

func (s DescribeRuleGroupsResponse) GoString() string

func (*DescribeRuleGroupsResponse) SetBody

func (*DescribeRuleGroupsResponse) SetHeaders

func (*DescribeRuleGroupsResponse) SetStatusCode

func (DescribeRuleGroupsResponse) String

type DescribeRuleGroupsResponseBody

type DescribeRuleGroupsResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array of regular expression rule groups.
	RuleGroups []*DescribeRuleGroupsResponseBodyRuleGroups `json:"RuleGroups,omitempty" xml:"RuleGroups,omitempty" type:"Repeated"`
	// The total number of entries that are returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeRuleGroupsResponseBody) GoString

func (*DescribeRuleGroupsResponseBody) SetRequestId

func (*DescribeRuleGroupsResponseBody) SetTotalCount

func (DescribeRuleGroupsResponseBody) String

type DescribeRuleGroupsResponseBodyRuleGroups

type DescribeRuleGroupsResponseBodyRuleGroups struct {
	// The most recent time when the rule group was modified.
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// Indicates whether the automatic update feature is enabled for the rule group.
	//
	// *   1: The automatic update feature is enabled for the rule group.
	// *   2: The automatic update feature is disabled for the rule group.
	IsSubscribe *int32 `json:"IsSubscribe,omitempty" xml:"IsSubscribe,omitempty"`
	// The ID of the rule group.
	//
	// *   0: The rule group is created from scratch.
	// *   1011: The rule group is a strict rule group.
	// *   1012: The rule group is a medium rule group.
	// *   1013: The rue group is a loose rule group.
	ParentRuleGroupId *int64 `json:"ParentRuleGroupId,omitempty" xml:"ParentRuleGroupId,omitempty"`
	// The ID of the regular expression rule group.
	RuleGroupId *int64 `json:"RuleGroupId,omitempty" xml:"RuleGroupId,omitempty"`
	// The name of the rule group.
	RuleGroupName *string `json:"RuleGroupName,omitempty" xml:"RuleGroupName,omitempty"`
	// The number of built-in rules in the rule group.
	RuleTotalCount *int32 `json:"RuleTotalCount,omitempty" xml:"RuleTotalCount,omitempty"`
}

func (DescribeRuleGroupsResponseBodyRuleGroups) GoString

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetGmtModified

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetIsSubscribe added in v2.0.2

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetParentRuleGroupId added in v2.0.2

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetRuleGroupId

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetRuleGroupName

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetRuleTotalCount

func (DescribeRuleGroupsResponseBodyRuleGroups) String

type DescribeRuleHitsTopClientIpRequest

type DescribeRuleHitsTopClientIpRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of rules that are triggered by the protected object. By default, this parameter is not specified and all types of rules are queried.
	//
	// *   **blacklist:** IP address blacklist rules.
	// *   **custom:** custom rules.
	// *   **antiscan:** scan protection rules.
	// *   **cc_system:** HTTP flood protection rules.
	// *   **region_block:** region blacklist rules.
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopClientIpRequest) GoString

func (*DescribeRuleHitsTopClientIpRequest) SetEndTimestamp

func (*DescribeRuleHitsTopClientIpRequest) SetInstanceId

func (*DescribeRuleHitsTopClientIpRequest) SetRegionId added in v2.0.2

func (*DescribeRuleHitsTopClientIpRequest) SetResource

func (*DescribeRuleHitsTopClientIpRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeRuleHitsTopClientIpRequest) SetResourceManagerResourceGroupId(v string) *DescribeRuleHitsTopClientIpRequest

func (*DescribeRuleHitsTopClientIpRequest) SetRuleType

func (*DescribeRuleHitsTopClientIpRequest) SetStartTimestamp

func (DescribeRuleHitsTopClientIpRequest) String

type DescribeRuleHitsTopClientIpResponse

type DescribeRuleHitsTopClientIpResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRuleHitsTopClientIpResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRuleHitsTopClientIpResponse) GoString

func (*DescribeRuleHitsTopClientIpResponse) SetHeaders

func (*DescribeRuleHitsTopClientIpResponse) SetStatusCode

func (DescribeRuleHitsTopClientIpResponse) String

type DescribeRuleHitsTopClientIpResponseBody

type DescribeRuleHitsTopClientIpResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the top 10 IP addresses from which attacks are initiated.
	RuleHitsTopClientIp []*DescribeRuleHitsTopClientIpResponseBodyRuleHitsTopClientIp `json:"RuleHitsTopClientIp,omitempty" xml:"RuleHitsTopClientIp,omitempty" type:"Repeated"`
}

func (DescribeRuleHitsTopClientIpResponseBody) GoString

func (*DescribeRuleHitsTopClientIpResponseBody) SetRequestId

func (DescribeRuleHitsTopClientIpResponseBody) String

type DescribeRuleHitsTopClientIpResponseBodyRuleHitsTopClientIp

type DescribeRuleHitsTopClientIpResponseBodyRuleHitsTopClientIp struct {
	// The IP address of the service client.
	ClientIp *string `json:"ClientIp,omitempty" xml:"ClientIp,omitempty"`
	// The number of attacks that are initiated from the IP address.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
}

func (DescribeRuleHitsTopClientIpResponseBodyRuleHitsTopClientIp) GoString

func (*DescribeRuleHitsTopClientIpResponseBodyRuleHitsTopClientIp) SetClientIp

func (*DescribeRuleHitsTopClientIpResponseBodyRuleHitsTopClientIp) SetCount

func (DescribeRuleHitsTopClientIpResponseBodyRuleHitsTopClientIp) String

type DescribeRuleHitsTopResourceRequest

type DescribeRuleHitsTopResourceRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of rules that are triggered by the protected object. By default, this parameter is not specified and all types of rules are queried.
	//
	// *   **blacklist:** IP address blacklist rules.
	// *   **custom:** custom rules.
	// *   **antiscan:** scan protection rules.
	// *   **cc_system:** HTTP flood protection rules.
	// *   **region_block:** region blacklist rules.
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopResourceRequest) GoString

func (*DescribeRuleHitsTopResourceRequest) SetEndTimestamp

func (*DescribeRuleHitsTopResourceRequest) SetInstanceId

func (*DescribeRuleHitsTopResourceRequest) SetRegionId added in v2.0.2

func (*DescribeRuleHitsTopResourceRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeRuleHitsTopResourceRequest) SetResourceManagerResourceGroupId(v string) *DescribeRuleHitsTopResourceRequest

func (*DescribeRuleHitsTopResourceRequest) SetRuleType

func (*DescribeRuleHitsTopResourceRequest) SetStartTimestamp

func (DescribeRuleHitsTopResourceRequest) String

type DescribeRuleHitsTopResourceResponse

type DescribeRuleHitsTopResourceResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRuleHitsTopResourceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRuleHitsTopResourceResponse) GoString

func (*DescribeRuleHitsTopResourceResponse) SetHeaders

func (*DescribeRuleHitsTopResourceResponse) SetStatusCode

func (DescribeRuleHitsTopResourceResponse) String

type DescribeRuleHitsTopResourceResponseBody

type DescribeRuleHitsTopResourceResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the top 10 protected objects that trigger protection rules.
	RuleHitsTopResource []*DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource `json:"RuleHitsTopResource,omitempty" xml:"RuleHitsTopResource,omitempty" type:"Repeated"`
}

func (DescribeRuleHitsTopResourceResponseBody) GoString

func (*DescribeRuleHitsTopResourceResponseBody) SetRequestId

func (DescribeRuleHitsTopResourceResponseBody) String

type DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource

type DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource struct {
	// The number of requests that match protection rules.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
}

func (DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource) GoString

func (*DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource) SetCount

func (*DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource) SetResource

func (DescribeRuleHitsTopResourceResponseBodyRuleHitsTopResource) String

type DescribeRuleHitsTopRuleIdRequest

type DescribeRuleHitsTopRuleIdRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to query the ID of the WAF instance.
	InstanceId      *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	IsGroupResource *string `json:"IsGroupResource,omitempty" xml:"IsGroupResource,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of rules that are triggered by the protected object. By default, this parameter is not specified and all types of rules are queried.
	//
	// *   **blacklist:** IP address blacklist rules.
	// *   **custom:** custom rules.
	// *   **antiscan:** scan protection rules.
	// *   **cc_system:** HTTP flood protection rules.
	// *   **region_block:** region blacklist rules.
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopRuleIdRequest) GoString

func (*DescribeRuleHitsTopRuleIdRequest) SetEndTimestamp

func (*DescribeRuleHitsTopRuleIdRequest) SetInstanceId

func (*DescribeRuleHitsTopRuleIdRequest) SetIsGroupResource added in v2.1.1

func (*DescribeRuleHitsTopRuleIdRequest) SetRegionId added in v2.0.2

func (*DescribeRuleHitsTopRuleIdRequest) SetResource

func (*DescribeRuleHitsTopRuleIdRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeRuleHitsTopRuleIdRequest) SetResourceManagerResourceGroupId(v string) *DescribeRuleHitsTopRuleIdRequest

func (*DescribeRuleHitsTopRuleIdRequest) SetRuleType

func (*DescribeRuleHitsTopRuleIdRequest) SetStartTimestamp

func (DescribeRuleHitsTopRuleIdRequest) String

type DescribeRuleHitsTopRuleIdResponse

type DescribeRuleHitsTopRuleIdResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRuleHitsTopRuleIdResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRuleHitsTopRuleIdResponse) GoString

func (*DescribeRuleHitsTopRuleIdResponse) SetHeaders

func (*DescribeRuleHitsTopRuleIdResponse) SetStatusCode

func (DescribeRuleHitsTopRuleIdResponse) String

type DescribeRuleHitsTopRuleIdResponseBody

type DescribeRuleHitsTopRuleIdResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the IDs of the top 10 rules that are matched by requests.
	RuleHitsTopRuleId []*DescribeRuleHitsTopRuleIdResponseBodyRuleHitsTopRuleId `json:"RuleHitsTopRuleId,omitempty" xml:"RuleHitsTopRuleId,omitempty" type:"Repeated"`
}

func (DescribeRuleHitsTopRuleIdResponseBody) GoString

func (*DescribeRuleHitsTopRuleIdResponseBody) SetRequestId

func (DescribeRuleHitsTopRuleIdResponseBody) String

type DescribeRuleHitsTopRuleIdResponseBodyRuleHitsTopRuleId

type DescribeRuleHitsTopRuleIdResponseBodyRuleHitsTopRuleId struct {
	// The number of requests that match the rule.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the rule.
	RuleId *string `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
}

func (DescribeRuleHitsTopRuleIdResponseBodyRuleHitsTopRuleId) GoString

func (*DescribeRuleHitsTopRuleIdResponseBodyRuleHitsTopRuleId) SetCount

func (*DescribeRuleHitsTopRuleIdResponseBodyRuleHitsTopRuleId) SetResource

func (*DescribeRuleHitsTopRuleIdResponseBodyRuleHitsTopRuleId) SetRuleId

func (DescribeRuleHitsTopRuleIdResponseBodyRuleHitsTopRuleId) String

type DescribeRuleHitsTopTuleTypeRequest

type DescribeRuleHitsTopTuleTypeRequest struct {
	// The end point of the time period for which to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to query the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou**: the Chinese mainland.
	// *   **ap-southeast-1**: outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The start point of the time period for which to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopTuleTypeRequest) GoString

func (*DescribeRuleHitsTopTuleTypeRequest) SetEndTimestamp

func (*DescribeRuleHitsTopTuleTypeRequest) SetInstanceId

func (*DescribeRuleHitsTopTuleTypeRequest) SetRegionId added in v2.0.2

func (*DescribeRuleHitsTopTuleTypeRequest) SetResource

func (*DescribeRuleHitsTopTuleTypeRequest) SetStartTimestamp

func (DescribeRuleHitsTopTuleTypeRequest) String

type DescribeRuleHitsTopTuleTypeResponse

type DescribeRuleHitsTopTuleTypeResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRuleHitsTopTuleTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRuleHitsTopTuleTypeResponse) GoString

func (*DescribeRuleHitsTopTuleTypeResponse) SetHeaders

func (*DescribeRuleHitsTopTuleTypeResponse) SetStatusCode

func (DescribeRuleHitsTopTuleTypeResponse) String

type DescribeRuleHitsTopTuleTypeResponseBody

type DescribeRuleHitsTopTuleTypeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The top 10 protection modules that are matched.
	RuleHitsTopTuleType []*DescribeRuleHitsTopTuleTypeResponseBodyRuleHitsTopTuleType `json:"RuleHitsTopTuleType,omitempty" xml:"RuleHitsTopTuleType,omitempty" type:"Repeated"`
}

func (DescribeRuleHitsTopTuleTypeResponseBody) GoString

func (*DescribeRuleHitsTopTuleTypeResponseBody) SetRequestId

func (DescribeRuleHitsTopTuleTypeResponseBody) String

type DescribeRuleHitsTopTuleTypeResponseBodyRuleHitsTopTuleType

type DescribeRuleHitsTopTuleTypeResponseBodyRuleHitsTopTuleType struct {
	// The number of requests that match protection rules.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The type of rule that is matched. By default, this parameter is not returned. This indicates that all types of rules that are matched are returned.
	//
	// *   **waf:** basic protection rules.
	// *   **blacklist:** IP address blacklist rules.
	// *   **custom:** custom rules.
	// *   **antiscan:** scan protection rules.
	// *   **cc_system:** HTTP flood protection rules.
	// *   **region_block:** region blacklist rules.
	// *   **scene:** bot management rules.
	// *   **dlp:** data leakage prevention rules.
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
}

func (DescribeRuleHitsTopTuleTypeResponseBodyRuleHitsTopTuleType) GoString

func (*DescribeRuleHitsTopTuleTypeResponseBodyRuleHitsTopTuleType) SetCount

func (*DescribeRuleHitsTopTuleTypeResponseBodyRuleHitsTopTuleType) SetRuleType

func (DescribeRuleHitsTopTuleTypeResponseBodyRuleHitsTopTuleType) String

type DescribeRuleHitsTopUaRequest

type DescribeRuleHitsTopUaRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopUaRequest) GoString

func (s DescribeRuleHitsTopUaRequest) GoString() string

func (*DescribeRuleHitsTopUaRequest) SetEndTimestamp

func (*DescribeRuleHitsTopUaRequest) SetInstanceId

func (*DescribeRuleHitsTopUaRequest) SetRegionId added in v2.0.2

func (*DescribeRuleHitsTopUaRequest) SetResource

func (*DescribeRuleHitsTopUaRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeRuleHitsTopUaRequest) SetResourceManagerResourceGroupId(v string) *DescribeRuleHitsTopUaRequest

func (*DescribeRuleHitsTopUaRequest) SetStartTimestamp

func (DescribeRuleHitsTopUaRequest) String

type DescribeRuleHitsTopUaResponse

type DescribeRuleHitsTopUaResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRuleHitsTopUaResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRuleHitsTopUaResponse) GoString

func (*DescribeRuleHitsTopUaResponse) SetBody

func (*DescribeRuleHitsTopUaResponse) SetHeaders

func (*DescribeRuleHitsTopUaResponse) SetStatusCode

func (DescribeRuleHitsTopUaResponse) String

type DescribeRuleHitsTopUaResponseBody

type DescribeRuleHitsTopUaResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the top 10 user agents that are used to initiate attacks.
	RuleHitsTopUa []*DescribeRuleHitsTopUaResponseBodyRuleHitsTopUa `json:"RuleHitsTopUa,omitempty" xml:"RuleHitsTopUa,omitempty" type:"Repeated"`
}

func (DescribeRuleHitsTopUaResponseBody) GoString

func (*DescribeRuleHitsTopUaResponseBody) SetRequestId

func (DescribeRuleHitsTopUaResponseBody) String

type DescribeRuleHitsTopUaResponseBodyRuleHitsTopUa

type DescribeRuleHitsTopUaResponseBodyRuleHitsTopUa struct {
	// The number of attacks that are initiated from the IP address.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The user agent.
	Ua *string `json:"Ua,omitempty" xml:"Ua,omitempty"`
}

func (DescribeRuleHitsTopUaResponseBodyRuleHitsTopUa) GoString

func (*DescribeRuleHitsTopUaResponseBodyRuleHitsTopUa) SetCount

func (*DescribeRuleHitsTopUaResponseBodyRuleHitsTopUa) SetUa

func (DescribeRuleHitsTopUaResponseBodyRuleHitsTopUa) String

type DescribeRuleHitsTopUrlRequest

type DescribeRuleHitsTopUrlRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of rules that are triggered by the protected object. By default, this parameter is not specified and all types of rules are queried.
	//
	// *   **blacklist:** IP address blacklist rules.
	// *   **custom:** custom rules.
	// *   **antiscan:** scan protection rules.
	// *   **cc_system:** HTTP flood protection rules.
	// *   **region_block:** region blacklist rules.
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopUrlRequest) GoString

func (*DescribeRuleHitsTopUrlRequest) SetEndTimestamp

func (*DescribeRuleHitsTopUrlRequest) SetInstanceId

func (*DescribeRuleHitsTopUrlRequest) SetRegionId added in v2.0.2

func (*DescribeRuleHitsTopUrlRequest) SetResource

func (*DescribeRuleHitsTopUrlRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeRuleHitsTopUrlRequest) SetResourceManagerResourceGroupId(v string) *DescribeRuleHitsTopUrlRequest

func (*DescribeRuleHitsTopUrlRequest) SetRuleType

func (*DescribeRuleHitsTopUrlRequest) SetStartTimestamp

func (DescribeRuleHitsTopUrlRequest) String

type DescribeRuleHitsTopUrlResponse

type DescribeRuleHitsTopUrlResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRuleHitsTopUrlResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRuleHitsTopUrlResponse) GoString

func (*DescribeRuleHitsTopUrlResponse) SetHeaders

func (*DescribeRuleHitsTopUrlResponse) SetStatusCode

func (DescribeRuleHitsTopUrlResponse) String

type DescribeRuleHitsTopUrlResponseBody

type DescribeRuleHitsTopUrlResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the top 10 URLs that trigger protection rules.
	RuleHitsTopUrl []*DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl `json:"RuleHitsTopUrl,omitempty" xml:"RuleHitsTopUrl,omitempty" type:"Repeated"`
}

func (DescribeRuleHitsTopUrlResponseBody) GoString

func (*DescribeRuleHitsTopUrlResponseBody) SetRequestId

func (DescribeRuleHitsTopUrlResponseBody) String

type DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl

type DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl struct {
	// The number of requests from the URL that match protection rules.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The request URL.
	Url *string `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl) GoString

func (*DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl) SetCount

func (*DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl) SetUrl

func (DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl) String

type DescribeTemplateResourcesRequest

type DescribeTemplateResourcesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the protected resource. Valid values:
	//
	// *   **single:** protected object.
	// *   **group:** protected object group.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The ID of the protection rule template.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeTemplateResourcesRequest) GoString

func (*DescribeTemplateResourcesRequest) SetInstanceId

func (*DescribeTemplateResourcesRequest) SetRegionId added in v2.0.2

func (*DescribeTemplateResourcesRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeTemplateResourcesRequest) SetResourceManagerResourceGroupId(v string) *DescribeTemplateResourcesRequest

func (*DescribeTemplateResourcesRequest) SetResourceType

func (*DescribeTemplateResourcesRequest) SetTemplateId

func (DescribeTemplateResourcesRequest) String

type DescribeTemplateResourcesResponse

type DescribeTemplateResourcesResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeTemplateResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeTemplateResourcesResponse) GoString

func (*DescribeTemplateResourcesResponse) SetHeaders

func (*DescribeTemplateResourcesResponse) SetStatusCode

func (DescribeTemplateResourcesResponse) String

type DescribeTemplateResourcesResponseBody

type DescribeTemplateResourcesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array of protected objects or protected object groups that are associated to the protection rule template.
	Resources []*string `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Repeated"`
}

func (DescribeTemplateResourcesResponseBody) GoString

func (*DescribeTemplateResourcesResponseBody) SetRequestId

func (*DescribeTemplateResourcesResponseBody) SetResources

func (DescribeTemplateResourcesResponseBody) String

type DescribeVisitTopIpRequest

type DescribeVisitTopIpRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeVisitTopIpRequest) GoString

func (s DescribeVisitTopIpRequest) GoString() string

func (*DescribeVisitTopIpRequest) SetEndTimestamp

func (*DescribeVisitTopIpRequest) SetInstanceId

func (*DescribeVisitTopIpRequest) SetRegionId added in v2.0.2

func (*DescribeVisitTopIpRequest) SetResource

func (*DescribeVisitTopIpRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeVisitTopIpRequest) SetResourceManagerResourceGroupId(v string) *DescribeVisitTopIpRequest

func (*DescribeVisitTopIpRequest) SetStartTimestamp

func (DescribeVisitTopIpRequest) String

func (s DescribeVisitTopIpRequest) String() string

type DescribeVisitTopIpResponse

type DescribeVisitTopIpResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeVisitTopIpResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeVisitTopIpResponse) GoString

func (s DescribeVisitTopIpResponse) GoString() string

func (*DescribeVisitTopIpResponse) SetBody

func (*DescribeVisitTopIpResponse) SetHeaders

func (*DescribeVisitTopIpResponse) SetStatusCode

func (DescribeVisitTopIpResponse) String

type DescribeVisitTopIpResponseBody

type DescribeVisitTopIpResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the top 10 IP addresses from which requests are sent.
	TopIp []*DescribeVisitTopIpResponseBodyTopIp `json:"TopIp,omitempty" xml:"TopIp,omitempty" type:"Repeated"`
}

func (DescribeVisitTopIpResponseBody) GoString

func (*DescribeVisitTopIpResponseBody) SetRequestId

func (*DescribeVisitTopIpResponseBody) SetTopIp

func (DescribeVisitTopIpResponseBody) String

type DescribeVisitTopIpResponseBodyTopIp

type DescribeVisitTopIpResponseBodyTopIp struct {
	// The ordinal number of the area to which the IP address belongs.
	Area *string `json:"Area,omitempty" xml:"Area,omitempty"`
	// The total number of requests that are sent from the IP address.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The IP address.
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The ISP.
	Isp *string `json:"Isp,omitempty" xml:"Isp,omitempty"`
}

func (DescribeVisitTopIpResponseBodyTopIp) GoString

func (*DescribeVisitTopIpResponseBodyTopIp) SetArea

func (*DescribeVisitTopIpResponseBodyTopIp) SetCount

func (*DescribeVisitTopIpResponseBodyTopIp) SetIp

func (*DescribeVisitTopIpResponseBodyTopIp) SetIsp

func (DescribeVisitTopIpResponseBodyTopIp) String

type DescribeVisitUasRequest

type DescribeVisitUasRequest struct {
	// The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	RegionId   *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeVisitUasRequest) GoString

func (s DescribeVisitUasRequest) GoString() string

func (*DescribeVisitUasRequest) SetEndTimestamp

func (*DescribeVisitUasRequest) SetInstanceId

func (*DescribeVisitUasRequest) SetRegionId added in v2.0.2

func (*DescribeVisitUasRequest) SetResource

func (*DescribeVisitUasRequest) SetStartTimestamp

func (s *DescribeVisitUasRequest) SetStartTimestamp(v string) *DescribeVisitUasRequest

func (DescribeVisitUasRequest) String

func (s DescribeVisitUasRequest) String() string

type DescribeVisitUasResponse

type DescribeVisitUasResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeVisitUasResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeVisitUasResponse) GoString

func (s DescribeVisitUasResponse) GoString() string

func (*DescribeVisitUasResponse) SetBody

func (*DescribeVisitUasResponse) SetHeaders

func (*DescribeVisitUasResponse) SetStatusCode

func (DescribeVisitUasResponse) String

func (s DescribeVisitUasResponse) String() string

type DescribeVisitUasResponseBody

type DescribeVisitUasResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The array of the top 10 user agents that are used to initiate requests.
	Uas []*DescribeVisitUasResponseBodyUas `json:"Uas,omitempty" xml:"Uas,omitempty" type:"Repeated"`
}

func (DescribeVisitUasResponseBody) GoString

func (s DescribeVisitUasResponseBody) GoString() string

func (*DescribeVisitUasResponseBody) SetRequestId

func (*DescribeVisitUasResponseBody) SetUas

func (DescribeVisitUasResponseBody) String

type DescribeVisitUasResponseBodyUas

type DescribeVisitUasResponseBodyUas struct {
	// The number of requests that use the user agent.
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The user agent.
	Ua *string `json:"Ua,omitempty" xml:"Ua,omitempty"`
}

func (DescribeVisitUasResponseBodyUas) GoString

func (*DescribeVisitUasResponseBodyUas) SetCount

func (*DescribeVisitUasResponseBodyUas) SetUa

func (DescribeVisitUasResponseBodyUas) String

type DescribeWafSourceIpSegmentRequest

type DescribeWafSourceIpSegmentRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeWafSourceIpSegmentRequest) GoString

func (*DescribeWafSourceIpSegmentRequest) SetInstanceId

func (*DescribeWafSourceIpSegmentRequest) SetRegionId added in v2.0.2

func (*DescribeWafSourceIpSegmentRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *DescribeWafSourceIpSegmentRequest) SetResourceManagerResourceGroupId(v string) *DescribeWafSourceIpSegmentRequest

func (DescribeWafSourceIpSegmentRequest) String

type DescribeWafSourceIpSegmentResponse

type DescribeWafSourceIpSegmentResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeWafSourceIpSegmentResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeWafSourceIpSegmentResponse) GoString

func (*DescribeWafSourceIpSegmentResponse) SetHeaders

func (*DescribeWafSourceIpSegmentResponse) SetStatusCode

func (DescribeWafSourceIpSegmentResponse) String

type DescribeWafSourceIpSegmentResponseBody

type DescribeWafSourceIpSegmentResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The back-to-origin CIDR blocks that are used by the protection cluster.
	WafSourceIp *DescribeWafSourceIpSegmentResponseBodyWafSourceIp `json:"WafSourceIp,omitempty" xml:"WafSourceIp,omitempty" type:"Struct"`
}

func (DescribeWafSourceIpSegmentResponseBody) GoString

func (*DescribeWafSourceIpSegmentResponseBody) SetRequestId

func (DescribeWafSourceIpSegmentResponseBody) String

type DescribeWafSourceIpSegmentResponseBodyWafSourceIp

type DescribeWafSourceIpSegmentResponseBodyWafSourceIp struct {
	// An array of back-to-origin IPv4 CIDR blocks.
	IPv4 []*string `json:"IPv4,omitempty" xml:"IPv4,omitempty" type:"Repeated"`
	// An array of back-to-origin IPv6 CIDR blocks.
	IPv6 []*string `json:"IPv6,omitempty" xml:"IPv6,omitempty" type:"Repeated"`
}

func (DescribeWafSourceIpSegmentResponseBodyWafSourceIp) GoString

func (*DescribeWafSourceIpSegmentResponseBodyWafSourceIp) SetIPv4

func (*DescribeWafSourceIpSegmentResponseBodyWafSourceIp) SetIPv6

func (DescribeWafSourceIpSegmentResponseBodyWafSourceIp) String

type ModifyDefenseResourceGroupRequest

type ModifyDefenseResourceGroupRequest struct {
	// The protected objects that you want to add to the protected object group. Separate the protected objects with commas (,). If you leave this parameter empty, no protected objects are added to the protected object group.
	AddList *string `json:"AddList,omitempty" xml:"AddList,omitempty"`
	// The protected objects that you want to remove from the protected object group. Separate the protected objects with commas (,). If you leave this parameter empty, no protected objects are removed from the protected object group.
	DeleteList *string `json:"DeleteList,omitempty" xml:"DeleteList,omitempty"`
	// The description of the protected object group.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the protected object group whose configurations you want to modify.
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyDefenseResourceGroupRequest) GoString

func (*ModifyDefenseResourceGroupRequest) SetAddList

func (*ModifyDefenseResourceGroupRequest) SetDeleteList

func (*ModifyDefenseResourceGroupRequest) SetDescription

func (*ModifyDefenseResourceGroupRequest) SetGroupName

func (*ModifyDefenseResourceGroupRequest) SetInstanceId

func (*ModifyDefenseResourceGroupRequest) SetRegionId added in v2.0.2

func (*ModifyDefenseResourceGroupRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ModifyDefenseResourceGroupRequest) SetResourceManagerResourceGroupId(v string) *ModifyDefenseResourceGroupRequest

func (ModifyDefenseResourceGroupRequest) String

type ModifyDefenseResourceGroupResponse

type ModifyDefenseResourceGroupResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyDefenseResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyDefenseResourceGroupResponse) GoString

func (*ModifyDefenseResourceGroupResponse) SetHeaders

func (*ModifyDefenseResourceGroupResponse) SetStatusCode

func (ModifyDefenseResourceGroupResponse) String

type ModifyDefenseResourceGroupResponseBody

type ModifyDefenseResourceGroupResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseResourceGroupResponseBody) GoString

func (*ModifyDefenseResourceGroupResponseBody) SetRequestId

func (ModifyDefenseResourceGroupResponseBody) String

type ModifyDefenseRuleRequest

type ModifyDefenseRuleRequest struct {
	DefenseScene                   *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	InstanceId                     *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	RegionId                       *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	Rules                          *string `json:"Rules,omitempty" xml:"Rules,omitempty"`
	TemplateId                     *int64  `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (ModifyDefenseRuleRequest) GoString

func (s ModifyDefenseRuleRequest) GoString() string

func (*ModifyDefenseRuleRequest) SetDefenseScene

func (*ModifyDefenseRuleRequest) SetInstanceId

func (*ModifyDefenseRuleRequest) SetRegionId added in v2.0.2

func (*ModifyDefenseRuleRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ModifyDefenseRuleRequest) SetResourceManagerResourceGroupId(v string) *ModifyDefenseRuleRequest

func (*ModifyDefenseRuleRequest) SetRules

func (*ModifyDefenseRuleRequest) SetTemplateId

func (ModifyDefenseRuleRequest) String

func (s ModifyDefenseRuleRequest) String() string

type ModifyDefenseRuleResponse

type ModifyDefenseRuleResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyDefenseRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyDefenseRuleResponse) GoString

func (s ModifyDefenseRuleResponse) GoString() string

func (*ModifyDefenseRuleResponse) SetBody

func (*ModifyDefenseRuleResponse) SetHeaders

func (*ModifyDefenseRuleResponse) SetStatusCode

func (ModifyDefenseRuleResponse) String

func (s ModifyDefenseRuleResponse) String() string

type ModifyDefenseRuleResponseBody

type ModifyDefenseRuleResponseBody struct {
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseRuleResponseBody) GoString

func (*ModifyDefenseRuleResponseBody) SetRequestId

func (ModifyDefenseRuleResponseBody) String

type ModifyDefenseRuleStatusRequest

type ModifyDefenseRuleStatusRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule whose status you want to change.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The new status of the protection rule. Valid values:
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	RuleStatus *int32 `json:"RuleStatus,omitempty" xml:"RuleStatus,omitempty"`
	// The ID of the protection rule template to which the protection rule whose status you want to change belongs.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (ModifyDefenseRuleStatusRequest) GoString

func (*ModifyDefenseRuleStatusRequest) SetInstanceId

func (*ModifyDefenseRuleStatusRequest) SetRegionId added in v2.0.2

func (*ModifyDefenseRuleStatusRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ModifyDefenseRuleStatusRequest) SetResourceManagerResourceGroupId(v string) *ModifyDefenseRuleStatusRequest

func (*ModifyDefenseRuleStatusRequest) SetRuleId

func (*ModifyDefenseRuleStatusRequest) SetRuleStatus

func (*ModifyDefenseRuleStatusRequest) SetTemplateId

func (ModifyDefenseRuleStatusRequest) String

type ModifyDefenseRuleStatusResponse

type ModifyDefenseRuleStatusResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyDefenseRuleStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyDefenseRuleStatusResponse) GoString

func (*ModifyDefenseRuleStatusResponse) SetHeaders

func (*ModifyDefenseRuleStatusResponse) SetStatusCode

func (ModifyDefenseRuleStatusResponse) String

type ModifyDefenseRuleStatusResponseBody

type ModifyDefenseRuleStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseRuleStatusResponseBody) GoString

func (*ModifyDefenseRuleStatusResponseBody) SetRequestId

func (ModifyDefenseRuleStatusResponseBody) String

type ModifyDefenseTemplateRequest

type ModifyDefenseTemplateRequest struct {
	// The description of the protection rule template whose configurations you want to modify.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template whose configurations you want to modify.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the protection rule template whose configurations you want to modify.
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (ModifyDefenseTemplateRequest) GoString

func (s ModifyDefenseTemplateRequest) GoString() string

func (*ModifyDefenseTemplateRequest) SetDescription

func (*ModifyDefenseTemplateRequest) SetInstanceId

func (*ModifyDefenseTemplateRequest) SetRegionId added in v2.0.2

func (*ModifyDefenseTemplateRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ModifyDefenseTemplateRequest) SetResourceManagerResourceGroupId(v string) *ModifyDefenseTemplateRequest

func (*ModifyDefenseTemplateRequest) SetTemplateId

func (*ModifyDefenseTemplateRequest) SetTemplateName

func (ModifyDefenseTemplateRequest) String

type ModifyDefenseTemplateResponse

type ModifyDefenseTemplateResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyDefenseTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyDefenseTemplateResponse) GoString

func (*ModifyDefenseTemplateResponse) SetBody

func (*ModifyDefenseTemplateResponse) SetHeaders

func (*ModifyDefenseTemplateResponse) SetStatusCode

func (ModifyDefenseTemplateResponse) String

type ModifyDefenseTemplateResponseBody

type ModifyDefenseTemplateResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseTemplateResponseBody) GoString

func (*ModifyDefenseTemplateResponseBody) SetRequestId

func (ModifyDefenseTemplateResponseBody) String

type ModifyDefenseTemplateStatusRequest

type ModifyDefenseTemplateStatusRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template whose status you want to change.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The new status of the protection rule template. Valid values:
	//
	// *   **0:** disabled.
	// *   **1:** enabled.
	TemplateStatus *int32 `json:"TemplateStatus,omitempty" xml:"TemplateStatus,omitempty"`
}

func (ModifyDefenseTemplateStatusRequest) GoString

func (*ModifyDefenseTemplateStatusRequest) SetInstanceId

func (*ModifyDefenseTemplateStatusRequest) SetRegionId added in v2.0.2

func (*ModifyDefenseTemplateStatusRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ModifyDefenseTemplateStatusRequest) SetResourceManagerResourceGroupId(v string) *ModifyDefenseTemplateStatusRequest

func (*ModifyDefenseTemplateStatusRequest) SetTemplateId

func (*ModifyDefenseTemplateStatusRequest) SetTemplateStatus

func (ModifyDefenseTemplateStatusRequest) String

type ModifyDefenseTemplateStatusResponse

type ModifyDefenseTemplateStatusResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyDefenseTemplateStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyDefenseTemplateStatusResponse) GoString

func (*ModifyDefenseTemplateStatusResponse) SetHeaders

func (*ModifyDefenseTemplateStatusResponse) SetStatusCode

func (ModifyDefenseTemplateStatusResponse) String

type ModifyDefenseTemplateStatusResponseBody

type ModifyDefenseTemplateStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseTemplateStatusResponseBody) GoString

func (*ModifyDefenseTemplateStatusResponseBody) SetRequestId

func (ModifyDefenseTemplateStatusResponseBody) String

type ModifyDomainRequest

type ModifyDomainRequest struct {
	// The mode in which you want to add the domain name to WAF. Valid values:
	//
	// *   **share:** adds the domain name to WAF in CNAME record mode. This is the default value.
	// *   **hybrid_cloud_cname:** adds the domain name to WAF in hybrid cloud reverse proxy mode.
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name whose access configurations you want to modify.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	Listen *ModifyDomainRequestListen `json:"Listen,omitempty" xml:"Listen,omitempty" type:"Struct"`
	// The configurations of the forwarding rule.
	Redirect *ModifyDomainRequestRedirect `json:"Redirect,omitempty" xml:"Redirect,omitempty" type:"Struct"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The source IP address of the request. The value of this parameter is specified by the system.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (ModifyDomainRequest) GoString

func (s ModifyDomainRequest) GoString() string

func (*ModifyDomainRequest) SetAccessType

func (s *ModifyDomainRequest) SetAccessType(v string) *ModifyDomainRequest

func (*ModifyDomainRequest) SetDomain

func (*ModifyDomainRequest) SetInstanceId

func (s *ModifyDomainRequest) SetInstanceId(v string) *ModifyDomainRequest

func (*ModifyDomainRequest) SetListen

func (*ModifyDomainRequest) SetRedirect

func (*ModifyDomainRequest) SetRegionId

func (s *ModifyDomainRequest) SetRegionId(v string) *ModifyDomainRequest

func (*ModifyDomainRequest) SetSourceIp added in v2.0.2

func (s *ModifyDomainRequest) SetSourceIp(v string) *ModifyDomainRequest

func (ModifyDomainRequest) String

func (s ModifyDomainRequest) String() string

type ModifyDomainRequestListen

type ModifyDomainRequestListen struct {
	// The ID of the certificate that you want to add.
	CertId *string `json:"CertId,omitempty" xml:"CertId,omitempty"`
	// The type of cipher suite that you want to add. This parameter is available only when you specify the **HttpsPorts** parameter. Valid values:
	//
	// *   **1:** all cipher suites.
	// *   **2:** strong cipher suites. You can select this value only when you set the **TLSVersion** parameter to **tlsv1.2**.
	// *   **99:** custom cipher suites.
	CipherSuite *int32 `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// The custom cipher suites that you want to add. This parameter is available only when you set the **CipherSuite** parameter to **99**.
	CustomCiphers []*string `json:"CustomCiphers,omitempty" xml:"CustomCiphers,omitempty" type:"Repeated"`
	// Specifies whether to support TLS 1.3. This parameter is available only when you specify the **HttpsPorts** parameter. Valid values:
	//
	// *   **true:** supports TLS 1.3.
	// *   **false:** does not support TLS 1.3.
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// Specifies whether to enable an exclusive IP address for the domain name. This parameter is available only when you set the **IPv6Enabled** parameter to false and the **ProtectionResource** parameter to **share**. Valid values:
	//
	// *   **true:** enables an exclusive IP address for the domain name.
	// *   **false:** does not enable an exclusive IP address for the domain name. This is the default value.
	ExclusiveIp *bool `json:"ExclusiveIp,omitempty" xml:"ExclusiveIp,omitempty"`
	// Specifies whether to enable HTTP to HTTPS redirection for the domain name. This parameter is available only when you specify the **HttpsPorts** parameter and leave the **HttpPorts** parameter empty. Valid values:
	//
	// *   **true:** enables HTTP to HTTPS redirection.
	// *   **false:** disables HTTP to HTTPS redirection.
	FocusHttps *bool `json:"FocusHttps,omitempty" xml:"FocusHttps,omitempty"`
	// Specifies whether to enable HTTP/2. This parameter is available only when you specify the **HttpsPorts** parameter. Valid values:
	//
	// *   **true:** enables HTTP/2.
	// *   **false:** disables HTTP/2. This is the default value.
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// An array of HTTP listener ports. Specify the value of this parameter in the \[port1,port2,...] format.
	HttpPorts []*int32 `json:"HttpPorts,omitempty" xml:"HttpPorts,omitempty" type:"Repeated"`
	// An array of HTTPS listener ports. Specify the value of this parameter in the \[port1,port2,...] format.
	HttpsPorts []*int32 `json:"HttpsPorts,omitempty" xml:"HttpsPorts,omitempty" type:"Repeated"`
	// Specifies whether to enable IPv6. Valid values:
	//
	// *   **true:** enables IPv6.
	// *   **false:** disables IPv6. This is the default value.
	IPv6Enabled *bool `json:"IPv6Enabled,omitempty" xml:"IPv6Enabled,omitempty"`
	// The type of the protection resource that you want to use. Valid values:
	//
	// *   **share:** shared cluster. This is the default value.
	// *   **gslb:** shared cluster-based intelligent load balancing.
	ProtectionResource *string `json:"ProtectionResource,omitempty" xml:"ProtectionResource,omitempty"`
	// 是否仅客端访问。仅SM2Enable取值为true时,使用该参数。
	//
	// - true:仅国密客户端才可以访问。
	//
	// - false:国密和非国密均可以访问。
	SM2AccessOnly *bool `json:"SM2AccessOnly,omitempty" xml:"SM2AccessOnly,omitempty"`
	// 要添加的国密证书的ID。仅SM2Enable取值为true时,使用该参数。
	SM2CertId *string `json:"SM2CertId,omitempty" xml:"SM2CertId,omitempty"`
	// 是否开启国密证书
	SM2Enabled *bool `json:"SM2Enabled,omitempty" xml:"SM2Enabled,omitempty"`
	// The version of the Transport Layer Security (TLS) protocol. This parameter is available only when you specify the **HttpsPorts** parameter. Valid values:
	//
	// *   **tlsv1**
	// *   **tlsv1.1**
	// *   **tlsv1.2**
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
	// The method that you want WAF to use to obtain the actual IP address of a client. Valid values:
	//
	// *   **0:** No Layer 7 proxies are deployed in front of WAF. This is the default value.
	// *   **1:** WAF reads the first value of the X-Forwarded-For (XFF) header field as the actual IP address of the client.
	// *   **2:** WAF reads the value of a custom header field as the actual IP address of the client.
	XffHeaderMode *int32 `json:"XffHeaderMode,omitempty" xml:"XffHeaderMode,omitempty"`
	// The custom header fields that you want to use to obtain the actual IP address of a client. Specify the value of this parameter in the \["header1","header2",...] format.
	//
	// >  If you set the **XffHeaderMode** parameter to 2, this parameter is required.
	XffHeaders []*string `json:"XffHeaders,omitempty" xml:"XffHeaders,omitempty" type:"Repeated"`
}

func (ModifyDomainRequestListen) GoString

func (s ModifyDomainRequestListen) GoString() string

func (*ModifyDomainRequestListen) SetCertId

func (*ModifyDomainRequestListen) SetCipherSuite

func (*ModifyDomainRequestListen) SetCustomCiphers

func (s *ModifyDomainRequestListen) SetCustomCiphers(v []*string) *ModifyDomainRequestListen

func (*ModifyDomainRequestListen) SetEnableTLSv3

func (*ModifyDomainRequestListen) SetExclusiveIp

func (*ModifyDomainRequestListen) SetFocusHttps

func (*ModifyDomainRequestListen) SetHttp2Enabled

func (*ModifyDomainRequestListen) SetHttpPorts

func (*ModifyDomainRequestListen) SetHttpsPorts

func (*ModifyDomainRequestListen) SetIPv6Enabled

func (*ModifyDomainRequestListen) SetProtectionResource

func (s *ModifyDomainRequestListen) SetProtectionResource(v string) *ModifyDomainRequestListen

func (*ModifyDomainRequestListen) SetSM2AccessOnly added in v2.0.2

func (*ModifyDomainRequestListen) SetSM2CertId added in v2.0.2

func (*ModifyDomainRequestListen) SetSM2Enabled added in v2.0.2

func (*ModifyDomainRequestListen) SetTLSVersion

func (*ModifyDomainRequestListen) SetXffHeaderMode

func (*ModifyDomainRequestListen) SetXffHeaders

func (ModifyDomainRequestListen) String

func (s ModifyDomainRequestListen) String() string

type ModifyDomainRequestRedirect

type ModifyDomainRequestRedirect struct {
	// The back-to-origin IP addresses or domain names. You can specify only one type of address. If you use the domain name type, only IPv4 is supported.
	//
	// *   If you use the IP address type, specify the value of this parameter in the \["ip1","ip2",...] format. You can specify up to 20 IP addresses.
	// *   If you use the domain name type, specify the value of this parameter in the \["domain"] format. You can specify up to 20 domain names.
	Backends []*string `json:"Backends,omitempty" xml:"Backends,omitempty" type:"Repeated"`
	// Specifies whether to enable the public cloud disaster recovery feature. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	CnameEnabled *bool `json:"CnameEnabled,omitempty" xml:"CnameEnabled,omitempty"`
	// The connection timeout period. Unit: seconds. Valid values: 1 to 3600.
	ConnectTimeout *int32 `json:"ConnectTimeout,omitempty" xml:"ConnectTimeout,omitempty"`
	// Specifies whether to enable HTTPS to HTTP redirection for back-to-origin requests. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// *   **true**
	// *   **false**
	FocusHttpBackend *bool `json:"FocusHttpBackend,omitempty" xml:"FocusHttpBackend,omitempty"`
	// Specifies whether to enable the persistent connection feature. Valid values:
	//
	// *   **true** (default)
	// *   **false**
	Keepalive *bool `json:"Keepalive,omitempty" xml:"Keepalive,omitempty"`
	// The number of reused persistent connections. Valid values: 60 to 1000.
	//
	// > This parameter specifies the number of reused persistent connections after you enable the persistent connection feature.
	KeepaliveRequests *int32 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period of persistent connections that are in the Idle state. Valid values: 1 to 60. Default value: 15. Unit: seconds.
	//
	// > This parameter specifies the period of time during which a reused persistent connection remains in the Idle state before the persistent connection is released.
	KeepaliveTimeout *int32 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The load balancing algorithm that you want WAF to use to forward requests to the origin server. Valid values:
	//
	// *   **ip_hash**
	// *   **roundRobin**
	// *   **leastTime**. You can select this value only if you set **ProtectionResource** to **gslb**.
	Loadbalance *string `json:"Loadbalance,omitempty" xml:"Loadbalance,omitempty"`
	// The read timeout period. Unit: seconds. Valid values: 1 to 3600.
	ReadTimeout *int32 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The key-value pairs that you want to use to mark the requests that are processed by WAF.
	//
	// WAF automatically adds the key-value pairs to the request headers. This way, the backend service can identify the requests that are processed by WAF.
	RequestHeaders []*ModifyDomainRequestRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// Specifies whether WAF retries to forward requests when requests fail to be forwarded to the origin server. Valid values:
	//
	// *   **true** (default)
	// *   **false**
	Retry *bool `json:"Retry,omitempty" xml:"Retry,omitempty"`
	// The forwarding rules that you want to configure for the domain name that you want to add to WAF in hybrid cloud mode. Set the value to a string that consists of JSON arrays. Each element in a JSON array must be a JSON struct that contains the following fields:
	//
	// *   **rs:** The back-to-origin IP addresses or CNAMEs. The value must be of the ARRAY type.
	// *   **location:** The name of the protection node. The value must be of the STRING type.
	// *   **locationId:** The ID of the protection node. The value must be of the LONG type.
	RoutingRules *string `json:"RoutingRules,omitempty" xml:"RoutingRules,omitempty"`
	// Specifies whether to enable origin Server Name Indication (SNI). This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// *   **true**
	// *   **false** (default)
	SniEnabled *bool `json:"SniEnabled,omitempty" xml:"SniEnabled,omitempty"`
	// The value of the custom SNI field. If you do not specify this parameter, the value of the **Host** field in the request header is automatically used. If you want WAF to use an SNI field value that is different from the value of the Host field in back-to-origin requests, you can specify a custom value for the SNI field.
	//
	// > This parameter is required only if you set **SniEnabled** to true.
	SniHost *string `json:"SniHost,omitempty" xml:"SniHost,omitempty"`
	// The write timeout period. Unit: seconds. Valid values: 1 to 3600.
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	XffProto     *bool  `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (ModifyDomainRequestRedirect) GoString

func (s ModifyDomainRequestRedirect) GoString() string

func (*ModifyDomainRequestRedirect) SetBackends

func (*ModifyDomainRequestRedirect) SetCnameEnabled added in v2.0.2

func (*ModifyDomainRequestRedirect) SetConnectTimeout

func (*ModifyDomainRequestRedirect) SetFocusHttpBackend

func (*ModifyDomainRequestRedirect) SetKeepalive added in v2.0.1

func (*ModifyDomainRequestRedirect) SetKeepaliveRequests added in v2.0.1

func (*ModifyDomainRequestRedirect) SetKeepaliveTimeout added in v2.0.1

func (*ModifyDomainRequestRedirect) SetLoadbalance

func (*ModifyDomainRequestRedirect) SetReadTimeout

func (*ModifyDomainRequestRedirect) SetRequestHeaders

func (*ModifyDomainRequestRedirect) SetRetry added in v2.0.1

func (*ModifyDomainRequestRedirect) SetRoutingRules added in v2.0.2

func (*ModifyDomainRequestRedirect) SetSniEnabled

func (*ModifyDomainRequestRedirect) SetSniHost

func (*ModifyDomainRequestRedirect) SetWriteTimeout

func (*ModifyDomainRequestRedirect) SetXffProto added in v2.1.2

func (ModifyDomainRequestRedirect) String

type ModifyDomainRequestRedirectRequestHeaders

type ModifyDomainRequestRedirectRequestHeaders struct {
	// The key of the custom header field.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the custom header field.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ModifyDomainRequestRedirectRequestHeaders) GoString

func (*ModifyDomainRequestRedirectRequestHeaders) SetKey

func (*ModifyDomainRequestRedirectRequestHeaders) SetValue

func (ModifyDomainRequestRedirectRequestHeaders) String

type ModifyDomainResponse

type ModifyDomainResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyDomainResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyDomainResponse) GoString

func (s ModifyDomainResponse) GoString() string

func (*ModifyDomainResponse) SetBody

func (*ModifyDomainResponse) SetHeaders

func (s *ModifyDomainResponse) SetHeaders(v map[string]*string) *ModifyDomainResponse

func (*ModifyDomainResponse) SetStatusCode

func (s *ModifyDomainResponse) SetStatusCode(v int32) *ModifyDomainResponse

func (ModifyDomainResponse) String

func (s ModifyDomainResponse) String() string

type ModifyDomainResponseBody

type ModifyDomainResponseBody struct {
	// The information about the domain name.
	DomainInfo *ModifyDomainResponseBodyDomainInfo `json:"DomainInfo,omitempty" xml:"DomainInfo,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDomainResponseBody) GoString

func (s ModifyDomainResponseBody) GoString() string

func (*ModifyDomainResponseBody) SetDomainInfo

func (*ModifyDomainResponseBody) SetRequestId

func (ModifyDomainResponseBody) String

func (s ModifyDomainResponseBody) String() string

type ModifyDomainResponseBodyDomainInfo

type ModifyDomainResponseBodyDomainInfo struct {
	// The CNAME that is assigned by WAF to the domain name.
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name whose access configurations you modified.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the domain name.
	DomainId *string `json:"DomainId,omitempty" xml:"DomainId,omitempty"`
}

func (ModifyDomainResponseBodyDomainInfo) GoString

func (*ModifyDomainResponseBodyDomainInfo) SetCname

func (*ModifyDomainResponseBodyDomainInfo) SetDomain

func (*ModifyDomainResponseBodyDomainInfo) SetDomainId added in v2.0.2

func (ModifyDomainResponseBodyDomainInfo) String

type ModifyDomainShrinkRequest

type ModifyDomainShrinkRequest struct {
	// The mode in which you want to add the domain name to WAF. Valid values:
	//
	// *   **share:** adds the domain name to WAF in CNAME record mode. This is the default value.
	// *   **hybrid_cloud_cname:** adds the domain name to WAF in hybrid cloud reverse proxy mode.
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name whose access configurations you want to modify.
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	ListenShrink *string `json:"Listen,omitempty" xml:"Listen,omitempty"`
	// The configurations of the forwarding rule.
	RedirectShrink *string `json:"Redirect,omitempty" xml:"Redirect,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The source IP address of the request. The value of this parameter is specified by the system.
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (ModifyDomainShrinkRequest) GoString

func (s ModifyDomainShrinkRequest) GoString() string

func (*ModifyDomainShrinkRequest) SetAccessType

func (*ModifyDomainShrinkRequest) SetDomain

func (*ModifyDomainShrinkRequest) SetInstanceId

func (*ModifyDomainShrinkRequest) SetListenShrink

func (*ModifyDomainShrinkRequest) SetRedirectShrink

func (*ModifyDomainShrinkRequest) SetRegionId

func (*ModifyDomainShrinkRequest) SetSourceIp added in v2.0.2

func (ModifyDomainShrinkRequest) String

func (s ModifyDomainShrinkRequest) String() string

type ModifyHybridCloudClusterBypassStatusRequest added in v2.1.0

type ModifyHybridCloudClusterBypassStatusRequest struct {
	// The ID of the hybrid cloud cluster.
	ClusterResourceId *string `json:"ClusterResourceId,omitempty" xml:"ClusterResourceId,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// **
	//
	// **You can call the **DescribeInstanceInfo[ operation to obtain the ID of the WAF instance.](~~140857~~)
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The status of manual bypass. Valid values:
	//
	// *   **on**: enabled.
	// *   **off**: disabled. This is the default value.
	RuleStatus *string `json:"RuleStatus,omitempty" xml:"RuleStatus,omitempty"`
}

func (ModifyHybridCloudClusterBypassStatusRequest) GoString added in v2.1.0

func (*ModifyHybridCloudClusterBypassStatusRequest) SetClusterResourceId added in v2.1.0

func (*ModifyHybridCloudClusterBypassStatusRequest) SetInstanceId added in v2.1.0

func (*ModifyHybridCloudClusterBypassStatusRequest) SetRuleStatus added in v2.1.0

func (ModifyHybridCloudClusterBypassStatusRequest) String added in v2.1.0

type ModifyHybridCloudClusterBypassStatusResponse added in v2.1.0

type ModifyHybridCloudClusterBypassStatusResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyHybridCloudClusterBypassStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyHybridCloudClusterBypassStatusResponse) GoString added in v2.1.0

func (*ModifyHybridCloudClusterBypassStatusResponse) SetBody added in v2.1.0

func (*ModifyHybridCloudClusterBypassStatusResponse) SetHeaders added in v2.1.0

func (*ModifyHybridCloudClusterBypassStatusResponse) SetStatusCode added in v2.1.0

func (ModifyHybridCloudClusterBypassStatusResponse) String added in v2.1.0

type ModifyHybridCloudClusterBypassStatusResponseBody added in v2.1.0

type ModifyHybridCloudClusterBypassStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyHybridCloudClusterBypassStatusResponseBody) GoString added in v2.1.0

func (*ModifyHybridCloudClusterBypassStatusResponseBody) SetRequestId added in v2.1.0

func (ModifyHybridCloudClusterBypassStatusResponseBody) String added in v2.1.0

type ModifyMajorProtectionBlackIpRequest

type ModifyMajorProtectionBlackIpRequest struct {
	// The description of the IP address blacklist.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time after which the IP address blacklist becomes invalid. Unit: seconds.
	//
	// >  If you set this parameter to **0**, the blacklist is permanently valid.
	ExpiredTime *int64 `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The IP addresses that you want to add to the IP address blacklist. You can specify multiple CIDR blocks or IP addresses. IPv4 and IPv6 addresses are supported. Separate the CIDR blocks or IP addresses with commas (,). For more information, see [Protection for major events](~~425591~~).
	IpList *string `json:"IpList,omitempty" xml:"IpList,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the IP address blacklist rule template for major event protection.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (ModifyMajorProtectionBlackIpRequest) GoString

func (*ModifyMajorProtectionBlackIpRequest) SetDescription

func (*ModifyMajorProtectionBlackIpRequest) SetExpiredTime

func (*ModifyMajorProtectionBlackIpRequest) SetInstanceId

func (*ModifyMajorProtectionBlackIpRequest) SetIpList

func (*ModifyMajorProtectionBlackIpRequest) SetRegionId added in v2.0.2

func (*ModifyMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ModifyMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId(v string) *ModifyMajorProtectionBlackIpRequest

func (*ModifyMajorProtectionBlackIpRequest) SetRuleId

func (*ModifyMajorProtectionBlackIpRequest) SetTemplateId

func (ModifyMajorProtectionBlackIpRequest) String

type ModifyMajorProtectionBlackIpResponse

type ModifyMajorProtectionBlackIpResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyMajorProtectionBlackIpResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyMajorProtectionBlackIpResponse) GoString

func (*ModifyMajorProtectionBlackIpResponse) SetHeaders

func (*ModifyMajorProtectionBlackIpResponse) SetStatusCode

func (ModifyMajorProtectionBlackIpResponse) String

type ModifyMajorProtectionBlackIpResponseBody

type ModifyMajorProtectionBlackIpResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyMajorProtectionBlackIpResponseBody) GoString

func (*ModifyMajorProtectionBlackIpResponseBody) SetRequestId

func (ModifyMajorProtectionBlackIpResponseBody) String

type ModifyResourceLogStatusRequest

type ModifyResourceLogStatusRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object on which you want to manage the log collection feature.
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// Specifies whether to enable the log collection feature for the protected object. Valid values:
	//
	// *   **true:** enables the log collection feature.
	// *   **false:** disables the log collection feature.
	Status *bool `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ModifyResourceLogStatusRequest) GoString

func (*ModifyResourceLogStatusRequest) SetInstanceId

func (*ModifyResourceLogStatusRequest) SetRegionId added in v2.0.2

func (*ModifyResourceLogStatusRequest) SetResource

func (*ModifyResourceLogStatusRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ModifyResourceLogStatusRequest) SetResourceManagerResourceGroupId(v string) *ModifyResourceLogStatusRequest

func (*ModifyResourceLogStatusRequest) SetStatus

func (ModifyResourceLogStatusRequest) String

type ModifyResourceLogStatusResponse

type ModifyResourceLogStatusResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyResourceLogStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyResourceLogStatusResponse) GoString

func (*ModifyResourceLogStatusResponse) SetHeaders

func (*ModifyResourceLogStatusResponse) SetStatusCode

func (ModifyResourceLogStatusResponse) String

type ModifyResourceLogStatusResponseBody

type ModifyResourceLogStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the log collection feature is enabled for the protected object. Valid values:
	//
	// *   **true**
	// *   **false**
	Status *bool `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ModifyResourceLogStatusResponseBody) GoString

func (*ModifyResourceLogStatusResponseBody) SetRequestId

func (*ModifyResourceLogStatusResponseBody) SetStatus

func (ModifyResourceLogStatusResponseBody) String

type ModifyTemplateResourcesRequest

type ModifyTemplateResourcesRequest struct {
	// The protected object groups that you want to associate with the protection rule template. Specify the value of this parameter in the \["group1","group2",...] format.
	BindResourceGroups []*string `json:"BindResourceGroups,omitempty" xml:"BindResourceGroups,omitempty" type:"Repeated"`
	// The protected objects that you want to associate with the protection rule template. Specify the value of this parameter in the \["XX1","XX2",...] format.
	BindResources []*string `json:"BindResources,omitempty" xml:"BindResources,omitempty" type:"Repeated"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance resides. Valid values:
	//
	// *   **cn-hangzhou:** the Chinese mainland.
	// *   **ap-southeast-1:** outside the Chinese mainland.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template.
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The protected object groups that you want to disassociate from the protection rule template. Specify the value of this parameter in the \["group1","group2",...] format.
	UnbindResourceGroups []*string `json:"UnbindResourceGroups,omitempty" xml:"UnbindResourceGroups,omitempty" type:"Repeated"`
	// The protected objects that you want to disassociate from the protection rule template. Specify the value of this parameter in the \["XX1","XX2",...] format.
	UnbindResources []*string `json:"UnbindResources,omitempty" xml:"UnbindResources,omitempty" type:"Repeated"`
}

func (ModifyTemplateResourcesRequest) GoString

func (*ModifyTemplateResourcesRequest) SetBindResourceGroups

func (*ModifyTemplateResourcesRequest) SetBindResources

func (*ModifyTemplateResourcesRequest) SetInstanceId

func (*ModifyTemplateResourcesRequest) SetRegionId added in v2.0.2

func (*ModifyTemplateResourcesRequest) SetResourceManagerResourceGroupId added in v2.0.2

func (s *ModifyTemplateResourcesRequest) SetResourceManagerResourceGroupId(v string) *ModifyTemplateResourcesRequest

func (*ModifyTemplateResourcesRequest) SetTemplateId

func (*ModifyTemplateResourcesRequest) SetUnbindResourceGroups

func (s *ModifyTemplateResourcesRequest) SetUnbindResourceGroups(v []*string) *ModifyTemplateResourcesRequest

func (*ModifyTemplateResourcesRequest) SetUnbindResources

func (ModifyTemplateResourcesRequest) String

type ModifyTemplateResourcesResponse

type ModifyTemplateResourcesResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyTemplateResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyTemplateResourcesResponse) GoString

func (*ModifyTemplateResourcesResponse) SetHeaders

func (*ModifyTemplateResourcesResponse) SetStatusCode

func (ModifyTemplateResourcesResponse) String

type ModifyTemplateResourcesResponseBody

type ModifyTemplateResourcesResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyTemplateResourcesResponseBody) GoString

func (*ModifyTemplateResourcesResponseBody) SetRequestId

func (ModifyTemplateResourcesResponseBody) String

Jump to

Keyboard shortcuts

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