client

package
v5.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 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 ChangeResourceGroupRequest

type ChangeResourceGroupRequest struct {
	// The ID of the new resource group. You can view the available resource groups in the Resource Management console.
	//
	// This parameter is required.
	//
	// example:
	//
	// rg-aek2mcq***
	NewResourceGroupId *string `json:"NewResourceGroupId,omitempty" xml:"NewResourceGroupId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the protected object in Web Application Firewall (WAF) that you want to manage.
	//
	// This parameter is required.
	//
	// example:
	//
	// demo.aliyun.com-waf
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The resource type. The value is fixed as defenseresource.
	//
	// This parameter is required.
	//
	// example:
	//
	// defenseresource
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ChangeResourceGroupRequest) GoString

func (s ChangeResourceGroupRequest) GoString() string

func (*ChangeResourceGroupRequest) SetNewResourceGroupId

func (s *ChangeResourceGroupRequest) SetNewResourceGroupId(v string) *ChangeResourceGroupRequest

func (*ChangeResourceGroupRequest) SetRegionId

func (*ChangeResourceGroupRequest) SetResourceId

func (*ChangeResourceGroupRequest) SetResourceManagerResourceGroupId

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

func (*ChangeResourceGroupRequest) SetResourceType

func (ChangeResourceGroupRequest) String

type ChangeResourceGroupResponse

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

func (ChangeResourceGroupResponse) GoString

func (s ChangeResourceGroupResponse) GoString() string

func (*ChangeResourceGroupResponse) SetBody

func (*ChangeResourceGroupResponse) SetHeaders

func (*ChangeResourceGroupResponse) SetStatusCode

func (ChangeResourceGroupResponse) String

type ChangeResourceGroupResponseBody

type ChangeResourceGroupResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 0A916D48-D206-5654-8D37-***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ChangeResourceGroupResponseBody) GoString

func (*ChangeResourceGroupResponseBody) SetRequestId

func (ChangeResourceGroupResponseBody) String

type ClearMajorProtectionBlackIpRequest

type ClearMajorProtectionBlackIpRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20012033
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the IP address blacklist rule template for major event protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 5132
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (ClearMajorProtectionBlackIpRequest) GoString

func (*ClearMajorProtectionBlackIpRequest) SetInstanceId

func (*ClearMajorProtectionBlackIpRequest) SetRegionId

func (*ClearMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 66A98669-CC6E-4F3E-80A6-3014697B11AE
	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) ChangeResourceGroup

func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (_result *ChangeResourceGroupResponse, _err error)

Summary:

Changes the resource group to which a protected object belongs.

@param request - ChangeResourceGroupRequest

@return ChangeResourceGroupResponse

func (*Client) ChangeResourceGroupWithOptions

func (client *Client) ChangeResourceGroupWithOptions(request *ChangeResourceGroupRequest, runtime *util.RuntimeOptions) (_result *ChangeResourceGroupResponse, _err error)

Summary:

Changes the resource group to which a protected object belongs.

@param request - ChangeResourceGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return ChangeResourceGroupResponse

func (*Client) ClearMajorProtectionBlackIp

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

Summary:

Clears an IP address blacklist for major event protection.

@param request - ClearMajorProtectionBlackIpRequest

@return ClearMajorProtectionBlackIpResponse

func (*Client) ClearMajorProtectionBlackIpWithOptions

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

Summary:

Clears an IP address blacklist for major event protection.

@param request - ClearMajorProtectionBlackIpRequest

@param runtime - runtime options for this request RuntimeOptions

@return ClearMajorProtectionBlackIpResponse

func (*Client) CopyDefenseTemplate

func (client *Client) CopyDefenseTemplate(request *CopyDefenseTemplateRequest) (_result *CopyDefenseTemplateResponse, _err error)

Summary:

Creates a new protection template from the copy.

@param request - CopyDefenseTemplateRequest

@return CopyDefenseTemplateResponse

func (*Client) CopyDefenseTemplateWithOptions

func (client *Client) CopyDefenseTemplateWithOptions(request *CopyDefenseTemplateRequest, runtime *util.RuntimeOptions) (_result *CopyDefenseTemplateResponse, _err error)

Summary:

Creates a new protection template from the copy.

@param request - CopyDefenseTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return CopyDefenseTemplateResponse

func (*Client) CreateApiExport

func (client *Client) CreateApiExport(request *CreateApiExportRequest) (_result *CreateApiExportResponse, _err error)

Summary:

Creates a data export task in the API security module.

@param request - CreateApiExportRequest

@return CreateApiExportResponse

func (*Client) CreateApiExportWithOptions

func (client *Client) CreateApiExportWithOptions(request *CreateApiExportRequest, runtime *util.RuntimeOptions) (_result *CreateApiExportResponse, _err error)

Summary:

Creates a data export task in the API security module.

@param request - CreateApiExportRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateApiExportResponse

func (*Client) CreateCloudResource

func (client *Client) CreateCloudResource(request *CreateCloudResourceRequest) (_result *CreateCloudResourceResponse, _err error)

Summary:

Adds a service to Web Application Firewall (WAF). This operation is supported for only the Elastic Compute Service (ECS) and Classic Load Balancer (CLB) services.

@param request - CreateCloudResourceRequest

@return CreateCloudResourceResponse

func (*Client) CreateCloudResourceWithOptions

func (client *Client) CreateCloudResourceWithOptions(tmpReq *CreateCloudResourceRequest, runtime *util.RuntimeOptions) (_result *CreateCloudResourceResponse, _err error)

Summary:

Adds a service to Web Application Firewall (WAF). This operation is supported for only the Elastic Compute Service (ECS) and Classic Load Balancer (CLB) services.

@param tmpReq - CreateCloudResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateCloudResourceResponse

func (*Client) CreateDefenseResourceGroup

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

Summary:

Creates a protected object group.

@param request - CreateDefenseResourceGroupRequest

@return CreateDefenseResourceGroupResponse

func (*Client) CreateDefenseResourceGroupWithOptions

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

Summary:

Creates a protected object group.

@param request - CreateDefenseResourceGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateDefenseResourceGroupResponse

func (*Client) CreateDefenseRule

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

Summary:

Creates a protection rule.

@param request - CreateDefenseRuleRequest

@return CreateDefenseRuleResponse

func (*Client) CreateDefenseRuleWithOptions

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

Summary:

Creates a protection rule.

@param request - CreateDefenseRuleRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateDefenseRuleResponse

func (*Client) CreateDefenseTemplate

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

Summary:

Creates a protection rule template.

@param request - CreateDefenseTemplateRequest

@return CreateDefenseTemplateResponse

func (*Client) CreateDefenseTemplateWithOptions

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

Summary:

Creates a protection rule template.

@param request - CreateDefenseTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateDefenseTemplateResponse

func (*Client) CreateDomain

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

Summary:

Adds a domain name to Web Application Firewall (WAF).

@param request - CreateDomainRequest

@return CreateDomainResponse

func (*Client) CreateDomainWithOptions

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

Summary:

Adds a domain name to Web Application Firewall (WAF).

@param tmpReq - CreateDomainRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateDomainResponse

func (*Client) CreateHybridCloudGroup

func (client *Client) CreateHybridCloudGroup(request *CreateHybridCloudGroupRequest) (_result *CreateHybridCloudGroupResponse, _err error)

Summary:

Creates a node group for a hybrid cloud cluster.

@param request - CreateHybridCloudGroupRequest

@return CreateHybridCloudGroupResponse

func (*Client) CreateHybridCloudGroupWithOptions

func (client *Client) CreateHybridCloudGroupWithOptions(request *CreateHybridCloudGroupRequest, runtime *util.RuntimeOptions) (_result *CreateHybridCloudGroupResponse, _err error)

Summary:

Creates a node group for a hybrid cloud cluster.

@param request - CreateHybridCloudGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateHybridCloudGroupResponse

func (*Client) CreateMajorProtectionBlackIp

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

Summary:

Creates an IP address blacklist for major event protection.

Description:

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)

Summary:

Creates an IP address blacklist for major event protection.

Description:

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

func (client *Client) CreateMemberAccounts(request *CreateMemberAccountsRequest) (_result *CreateMemberAccountsResponse, _err error)

Summary:

Adds members to use the multi-account management feature of Web Application Firewall (WAF).

@param request - CreateMemberAccountsRequest

@return CreateMemberAccountsResponse

func (*Client) CreateMemberAccountsWithOptions

func (client *Client) CreateMemberAccountsWithOptions(request *CreateMemberAccountsRequest, runtime *util.RuntimeOptions) (_result *CreateMemberAccountsResponse, _err error)

Summary:

Adds members to use the multi-account management feature of Web Application Firewall (WAF).

@param request - CreateMemberAccountsRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateMemberAccountsResponse

func (*Client) CreatePostpaidInstance

func (client *Client) CreatePostpaidInstance(request *CreatePostpaidInstanceRequest) (_result *CreatePostpaidInstanceResponse, _err error)

Summary:

Creates a pay-as-you-go Web Application Firewall (WAF) 3.0 instance.

@param request - CreatePostpaidInstanceRequest

@return CreatePostpaidInstanceResponse

func (*Client) CreatePostpaidInstanceWithOptions

func (client *Client) CreatePostpaidInstanceWithOptions(request *CreatePostpaidInstanceRequest, runtime *util.RuntimeOptions) (_result *CreatePostpaidInstanceResponse, _err error)

Summary:

Creates a pay-as-you-go Web Application Firewall (WAF) 3.0 instance.

@param request - CreatePostpaidInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreatePostpaidInstanceResponse

func (*Client) CreateSM2Cert

func (client *Client) CreateSM2Cert(request *CreateSM2CertRequest) (_result *CreateSM2CertResponse, _err error)

Summary:

Uploads a ShangMi (SM) certificate for a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.

@param request - CreateSM2CertRequest

@return CreateSM2CertResponse

func (*Client) CreateSM2CertWithOptions

func (client *Client) CreateSM2CertWithOptions(request *CreateSM2CertRequest, runtime *util.RuntimeOptions) (_result *CreateSM2CertResponse, _err error)

Summary:

Uploads a ShangMi (SM) certificate for a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.

@param request - CreateSM2CertRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateSM2CertResponse

func (*Client) DeleteApisecAbnormals

func (client *Client) DeleteApisecAbnormals(request *DeleteApisecAbnormalsRequest) (_result *DeleteApisecAbnormalsResponse, _err error)

Summary:

Deletes multiple risks detected by the API security module at a time.

@param request - DeleteApisecAbnormalsRequest

@return DeleteApisecAbnormalsResponse

func (*Client) DeleteApisecAbnormalsWithOptions

func (client *Client) DeleteApisecAbnormalsWithOptions(request *DeleteApisecAbnormalsRequest, runtime *util.RuntimeOptions) (_result *DeleteApisecAbnormalsResponse, _err error)

Summary:

Deletes multiple risks detected by the API security module at a time.

@param request - DeleteApisecAbnormalsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteApisecAbnormalsResponse

func (*Client) DeleteApisecEvents

func (client *Client) DeleteApisecEvents(request *DeleteApisecEventsRequest) (_result *DeleteApisecEventsResponse, _err error)

Summary:

Deletes multiple security events detected by the API security module at a time.

@param request - DeleteApisecEventsRequest

@return DeleteApisecEventsResponse

func (*Client) DeleteApisecEventsWithOptions

func (client *Client) DeleteApisecEventsWithOptions(request *DeleteApisecEventsRequest, runtime *util.RuntimeOptions) (_result *DeleteApisecEventsResponse, _err error)

Summary:

Deletes multiple security events detected by the API security module at a time.

@param request - DeleteApisecEventsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteApisecEventsResponse

func (*Client) DeleteCloudResource

func (client *Client) DeleteCloudResource(request *DeleteCloudResourceRequest) (_result *DeleteCloudResourceResponse, _err error)

Summary:

Removes a service from Web Application Firewall (WAF). This operation is supported for only the Elastic Compute Service (ECS) and Classic Load Balancer (CLB) services.

@param request - DeleteCloudResourceRequest

@return DeleteCloudResourceResponse

func (*Client) DeleteCloudResourceWithOptions

func (client *Client) DeleteCloudResourceWithOptions(request *DeleteCloudResourceRequest, runtime *util.RuntimeOptions) (_result *DeleteCloudResourceResponse, _err error)

Summary:

Removes a service from Web Application Firewall (WAF). This operation is supported for only the Elastic Compute Service (ECS) and Classic Load Balancer (CLB) services.

@param request - DeleteCloudResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteCloudResourceResponse

func (*Client) DeleteDefenseResourceGroup

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

Summary:

Deletes a protected object group.

@param request - DeleteDefenseResourceGroupRequest

@return DeleteDefenseResourceGroupResponse

func (*Client) DeleteDefenseResourceGroupWithOptions

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

Summary:

Deletes a protected object group.

@param request - DeleteDefenseResourceGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteDefenseResourceGroupResponse

func (*Client) DeleteDefenseRule

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

Summary:

Deletes a protection rule.

@param request - DeleteDefenseRuleRequest

@return DeleteDefenseRuleResponse

func (*Client) DeleteDefenseRuleWithOptions

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

Summary:

Deletes a protection rule.

@param request - DeleteDefenseRuleRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteDefenseRuleResponse

func (*Client) DeleteDefenseTemplate

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

Summary:

Deletes a protection rule template.

@param request - DeleteDefenseTemplateRequest

@return DeleteDefenseTemplateResponse

func (*Client) DeleteDefenseTemplateWithOptions

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

Summary:

Deletes a protection rule template.

@param request - DeleteDefenseTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteDefenseTemplateResponse

func (*Client) DeleteDomain

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

Summary:

Deletes a domain name that is added to Web Application Firewall (WAF).

@param request - DeleteDomainRequest

@return DeleteDomainResponse

func (*Client) DeleteDomainWithOptions

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

Summary:

Deletes a domain name that is added to Web Application Firewall (WAF).

@param request - DeleteDomainRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteDomainResponse

func (*Client) DeleteMajorProtectionBlackIp

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

Summary:

Deletes an IP address blacklist for major event protection.

@param request - DeleteMajorProtectionBlackIpRequest

@return DeleteMajorProtectionBlackIpResponse

func (*Client) DeleteMajorProtectionBlackIpWithOptions

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

Summary:

Deletes an IP address blacklist for major event protection.

@param request - DeleteMajorProtectionBlackIpRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteMajorProtectionBlackIpResponse

func (*Client) DeleteMemberAccount

func (client *Client) DeleteMemberAccount(request *DeleteMemberAccountRequest) (_result *DeleteMemberAccountResponse, _err error)

Summary:

Removes the members that are added for multi-account management in Web Application Firewall (WAF).

@param request - DeleteMemberAccountRequest

@return DeleteMemberAccountResponse

func (*Client) DeleteMemberAccountWithOptions

func (client *Client) DeleteMemberAccountWithOptions(request *DeleteMemberAccountRequest, runtime *util.RuntimeOptions) (_result *DeleteMemberAccountResponse, _err error)

Summary:

Removes the members that are added for multi-account management in Web Application Firewall (WAF).

@param request - DeleteMemberAccountRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteMemberAccountResponse

func (*Client) DescribeAccountDelegatedStatus

func (client *Client) DescribeAccountDelegatedStatus(request *DescribeAccountDelegatedStatusRequest) (_result *DescribeAccountDelegatedStatusResponse, _err error)

Summary:

Queries whether an Alibaba Cloud account is the delegated administrator account of a Web Application Firewall (WAF) instance.

@param request - DescribeAccountDelegatedStatusRequest

@return DescribeAccountDelegatedStatusResponse

func (*Client) DescribeAccountDelegatedStatusWithOptions

func (client *Client) DescribeAccountDelegatedStatusWithOptions(request *DescribeAccountDelegatedStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeAccountDelegatedStatusResponse, _err error)

Summary:

Queries whether an Alibaba Cloud account is the delegated administrator account of a Web Application Firewall (WAF) instance.

@param request - DescribeAccountDelegatedStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeAccountDelegatedStatusResponse

func (*Client) DescribeApiExports

func (client *Client) DescribeApiExports(request *DescribeApiExportsRequest) (_result *DescribeApiExportsResponse, _err error)

Summary:

Queries the list of data export tasks in the API security module.

@param request - DescribeApiExportsRequest

@return DescribeApiExportsResponse

func (*Client) DescribeApiExportsWithOptions

func (client *Client) DescribeApiExportsWithOptions(request *DescribeApiExportsRequest, runtime *util.RuntimeOptions) (_result *DescribeApiExportsResponse, _err error)

Summary:

Queries the list of data export tasks in the API security module.

@param request - DescribeApiExportsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApiExportsResponse

func (*Client) DescribeApisecAbnormalDomainStatistic

func (client *Client) DescribeApisecAbnormalDomainStatistic(request *DescribeApisecAbnormalDomainStatisticRequest) (_result *DescribeApisecAbnormalDomainStatisticResponse, _err error)

Summary:

Queries the statistics on domain names on which risks are detected by the API security module.

@param request - DescribeApisecAbnormalDomainStatisticRequest

@return DescribeApisecAbnormalDomainStatisticResponse

func (*Client) DescribeApisecAbnormalDomainStatisticWithOptions

func (client *Client) DescribeApisecAbnormalDomainStatisticWithOptions(request *DescribeApisecAbnormalDomainStatisticRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecAbnormalDomainStatisticResponse, _err error)

Summary:

Queries the statistics on domain names on which risks are detected by the API security module.

@param request - DescribeApisecAbnormalDomainStatisticRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecAbnormalDomainStatisticResponse

func (*Client) DescribeApisecAbnormals

func (client *Client) DescribeApisecAbnormals(request *DescribeApisecAbnormalsRequest) (_result *DescribeApisecAbnormalsResponse, _err error)

Summary:

Queries the list of API security risks.

@param request - DescribeApisecAbnormalsRequest

@return DescribeApisecAbnormalsResponse

func (*Client) DescribeApisecAbnormalsWithOptions

func (client *Client) DescribeApisecAbnormalsWithOptions(request *DescribeApisecAbnormalsRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecAbnormalsResponse, _err error)

Summary:

Queries the list of API security risks.

@param request - DescribeApisecAbnormalsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecAbnormalsResponse

func (*Client) DescribeApisecApiResources

func (client *Client) DescribeApisecApiResources(request *DescribeApisecApiResourcesRequest) (_result *DescribeApisecApiResourcesResponse, _err error)

Summary:

Queries API assets in the API security module.

@param request - DescribeApisecApiResourcesRequest

@return DescribeApisecApiResourcesResponse

func (*Client) DescribeApisecApiResourcesWithOptions

func (client *Client) DescribeApisecApiResourcesWithOptions(request *DescribeApisecApiResourcesRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecApiResourcesResponse, _err error)

Summary:

Queries API assets in the API security module.

@param request - DescribeApisecApiResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecApiResourcesResponse

func (*Client) DescribeApisecAssetTrend

func (client *Client) DescribeApisecAssetTrend(request *DescribeApisecAssetTrendRequest) (_result *DescribeApisecAssetTrendResponse, _err error)

Summary:

Queries the asset trends in the API security module.

@param request - DescribeApisecAssetTrendRequest

@return DescribeApisecAssetTrendResponse

func (*Client) DescribeApisecAssetTrendWithOptions

func (client *Client) DescribeApisecAssetTrendWithOptions(request *DescribeApisecAssetTrendRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecAssetTrendResponse, _err error)

Summary:

Queries the asset trends in the API security module.

@param request - DescribeApisecAssetTrendRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecAssetTrendResponse

func (*Client) DescribeApisecEventDomainStatistic

func (client *Client) DescribeApisecEventDomainStatistic(request *DescribeApisecEventDomainStatisticRequest) (_result *DescribeApisecEventDomainStatisticResponse, _err error)

Summary:

Queries the statistics on domain names on which security events are detected by the API security module.

@param request - DescribeApisecEventDomainStatisticRequest

@return DescribeApisecEventDomainStatisticResponse

func (*Client) DescribeApisecEventDomainStatisticWithOptions

func (client *Client) DescribeApisecEventDomainStatisticWithOptions(request *DescribeApisecEventDomainStatisticRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecEventDomainStatisticResponse, _err error)

Summary:

Queries the statistics on domain names on which security events are detected by the API security module.

@param request - DescribeApisecEventDomainStatisticRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecEventDomainStatisticResponse

func (*Client) DescribeApisecEvents

func (client *Client) DescribeApisecEvents(request *DescribeApisecEventsRequest) (_result *DescribeApisecEventsResponse, _err error)

Summary:

Queries API security events.

@param request - DescribeApisecEventsRequest

@return DescribeApisecEventsResponse

func (*Client) DescribeApisecEventsWithOptions

func (client *Client) DescribeApisecEventsWithOptions(request *DescribeApisecEventsRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecEventsResponse, _err error)

Summary:

Queries API security events.

@param request - DescribeApisecEventsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecEventsResponse

func (*Client) DescribeApisecLogDeliveries

func (client *Client) DescribeApisecLogDeliveries(request *DescribeApisecLogDeliveriesRequest) (_result *DescribeApisecLogDeliveriesResponse, _err error)

Summary:

Queries the configurations of API security log subscription.

@param request - DescribeApisecLogDeliveriesRequest

@return DescribeApisecLogDeliveriesResponse

func (*Client) DescribeApisecLogDeliveriesWithOptions

func (client *Client) DescribeApisecLogDeliveriesWithOptions(request *DescribeApisecLogDeliveriesRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecLogDeliveriesResponse, _err error)

Summary:

Queries the configurations of API security log subscription.

@param request - DescribeApisecLogDeliveriesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecLogDeliveriesResponse

func (*Client) DescribeApisecMatchedHosts

func (client *Client) DescribeApisecMatchedHosts(request *DescribeApisecMatchedHostsRequest) (_result *DescribeApisecMatchedHostsResponse, _err error)

Summary:

Queries the list of domain names detected in the API security module.

@param request - DescribeApisecMatchedHostsRequest

@return DescribeApisecMatchedHostsResponse

func (*Client) DescribeApisecMatchedHostsWithOptions

func (client *Client) DescribeApisecMatchedHostsWithOptions(request *DescribeApisecMatchedHostsRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecMatchedHostsResponse, _err error)

Summary:

Queries the list of domain names detected in the API security module.

@param request - DescribeApisecMatchedHostsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecMatchedHostsResponse

func (*Client) DescribeApisecProtectionGroups

func (client *Client) DescribeApisecProtectionGroups(request *DescribeApisecProtectionGroupsRequest) (_result *DescribeApisecProtectionGroupsResponse, _err error)

Summary:

Queries the list of protected object groups to which API security policies are applied.

@param request - DescribeApisecProtectionGroupsRequest

@return DescribeApisecProtectionGroupsResponse

func (*Client) DescribeApisecProtectionGroupsWithOptions

func (client *Client) DescribeApisecProtectionGroupsWithOptions(request *DescribeApisecProtectionGroupsRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecProtectionGroupsResponse, _err error)

Summary:

Queries the list of protected object groups to which API security policies are applied.

@param request - DescribeApisecProtectionGroupsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecProtectionGroupsResponse

func (*Client) DescribeApisecProtectionResources

func (client *Client) DescribeApisecProtectionResources(request *DescribeApisecProtectionResourcesRequest) (_result *DescribeApisecProtectionResourcesResponse, _err error)

Summary:

Queries the list of protected objects to which API security policies are applied.

@param request - DescribeApisecProtectionResourcesRequest

@return DescribeApisecProtectionResourcesResponse

func (*Client) DescribeApisecProtectionResourcesWithOptions

func (client *Client) DescribeApisecProtectionResourcesWithOptions(request *DescribeApisecProtectionResourcesRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecProtectionResourcesResponse, _err error)

Summary:

Queries the list of protected objects to which API security policies are applied.

@param request - DescribeApisecProtectionResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecProtectionResourcesResponse

func (*Client) DescribeApisecRules

func (client *Client) DescribeApisecRules(request *DescribeApisecRulesRequest) (_result *DescribeApisecRulesResponse, _err error)

Summary:

Queries the policies configured in the API security module.

@param request - DescribeApisecRulesRequest

@return DescribeApisecRulesResponse

func (*Client) DescribeApisecRulesWithOptions

func (client *Client) DescribeApisecRulesWithOptions(request *DescribeApisecRulesRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecRulesResponse, _err error)

Summary:

Queries the policies configured in the API security module.

@param request - DescribeApisecRulesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecRulesResponse

func (*Client) DescribeApisecSensitiveDomainStatistic

func (client *Client) DescribeApisecSensitiveDomainStatistic(request *DescribeApisecSensitiveDomainStatisticRequest) (_result *DescribeApisecSensitiveDomainStatisticResponse, _err error)

Summary:

Queries the statistics on domain names on which sensitive data is detected by the API security module.

@param request - DescribeApisecSensitiveDomainStatisticRequest

@return DescribeApisecSensitiveDomainStatisticResponse

func (*Client) DescribeApisecSensitiveDomainStatisticWithOptions

func (client *Client) DescribeApisecSensitiveDomainStatisticWithOptions(request *DescribeApisecSensitiveDomainStatisticRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecSensitiveDomainStatisticResponse, _err error)

Summary:

Queries the statistics on domain names on which sensitive data is detected by the API security module.

@param request - DescribeApisecSensitiveDomainStatisticRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecSensitiveDomainStatisticResponse

func (*Client) DescribeApisecSlsLogStores

func (client *Client) DescribeApisecSlsLogStores(request *DescribeApisecSlsLogStoresRequest) (_result *DescribeApisecSlsLogStoresResponse, _err error)

Summary:

Queries the Logstores whose names start with apisec- in Simple Log Service.

@param request - DescribeApisecSlsLogStoresRequest

@return DescribeApisecSlsLogStoresResponse

func (*Client) DescribeApisecSlsLogStoresWithOptions

func (client *Client) DescribeApisecSlsLogStoresWithOptions(request *DescribeApisecSlsLogStoresRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecSlsLogStoresResponse, _err error)

Summary:

Queries the Logstores whose names start with apisec- in Simple Log Service.

@param request - DescribeApisecSlsLogStoresRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecSlsLogStoresResponse

func (*Client) DescribeApisecSlsProjects

func (client *Client) DescribeApisecSlsProjects(request *DescribeApisecSlsProjectsRequest) (_result *DescribeApisecSlsProjectsResponse, _err error)

Summary:

Queries the projects whose names start with apisec- in Simple Log Service.

@param request - DescribeApisecSlsProjectsRequest

@return DescribeApisecSlsProjectsResponse

func (*Client) DescribeApisecSlsProjectsWithOptions

func (client *Client) DescribeApisecSlsProjectsWithOptions(request *DescribeApisecSlsProjectsRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecSlsProjectsResponse, _err error)

Summary:

Queries the projects whose names start with apisec- in Simple Log Service.

@param request - DescribeApisecSlsProjectsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecSlsProjectsResponse

func (*Client) DescribeApisecStatistics

func (client *Client) DescribeApisecStatistics(request *DescribeApisecStatisticsRequest) (_result *DescribeApisecStatisticsResponse, _err error)

Summary:

Queries the statistics of API security-related risks and events.

@param request - DescribeApisecStatisticsRequest

@return DescribeApisecStatisticsResponse

func (*Client) DescribeApisecStatisticsWithOptions

func (client *Client) DescribeApisecStatisticsWithOptions(request *DescribeApisecStatisticsRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecStatisticsResponse, _err error)

Summary:

Queries the statistics of API security-related risks and events.

@param request - DescribeApisecStatisticsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecStatisticsResponse

func (*Client) DescribeApisecSuggestions

func (client *Client) DescribeApisecSuggestions(request *DescribeApisecSuggestionsRequest) (_result *DescribeApisecSuggestionsResponse, _err error)

Summary:

Queries the protection suggestions for APIs.

@param request - DescribeApisecSuggestionsRequest

@return DescribeApisecSuggestionsResponse

func (*Client) DescribeApisecSuggestionsWithOptions

func (client *Client) DescribeApisecSuggestionsWithOptions(request *DescribeApisecSuggestionsRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecSuggestionsResponse, _err error)

Summary:

Queries the protection suggestions for APIs.

@param request - DescribeApisecSuggestionsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecSuggestionsResponse

func (*Client) DescribeApisecUserOperations

func (client *Client) DescribeApisecUserOperations(request *DescribeApisecUserOperationsRequest) (_result *DescribeApisecUserOperationsResponse, _err error)

Summary:

Queries user operation records in the API security module.

@param request - DescribeApisecUserOperationsRequest

@return DescribeApisecUserOperationsResponse

func (*Client) DescribeApisecUserOperationsWithOptions

func (client *Client) DescribeApisecUserOperationsWithOptions(request *DescribeApisecUserOperationsRequest, runtime *util.RuntimeOptions) (_result *DescribeApisecUserOperationsResponse, _err error)

Summary:

Queries user operation records in the API security module.

@param request - DescribeApisecUserOperationsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeApisecUserOperationsResponse

func (*Client) DescribeCertDetail

func (client *Client) DescribeCertDetail(request *DescribeCertDetailRequest) (_result *DescribeCertDetailResponse, _err error)

Summary:

Queries the details of a certificate, such as the certificate name, expiration time, issuance time, and associated domain name.

@param request - DescribeCertDetailRequest

@return DescribeCertDetailResponse

func (*Client) DescribeCertDetailWithOptions

func (client *Client) DescribeCertDetailWithOptions(request *DescribeCertDetailRequest, runtime *util.RuntimeOptions) (_result *DescribeCertDetailResponse, _err error)

Summary:

Queries the details of a certificate, such as the certificate name, expiration time, issuance time, and associated domain name.

@param request - DescribeCertDetailRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeCertDetailResponse

func (*Client) DescribeCerts

func (client *Client) DescribeCerts(request *DescribeCertsRequest) (_result *DescribeCertsResponse, _err error)

Summary:

Queries the certificates issued for your domain names that are added to Web Application Firewall (WAF).

@param request - DescribeCertsRequest

@return DescribeCertsResponse

func (*Client) DescribeCertsWithOptions

func (client *Client) DescribeCertsWithOptions(request *DescribeCertsRequest, runtime *util.RuntimeOptions) (_result *DescribeCertsResponse, _err error)

Summary:

Queries the certificates issued for your domain names that are added to Web Application Firewall (WAF).

@param request - DescribeCertsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeCertsResponse

func (*Client) DescribeCloudResourceAccessPortDetails

func (client *Client) DescribeCloudResourceAccessPortDetails(request *DescribeCloudResourceAccessPortDetailsRequest) (_result *DescribeCloudResourceAccessPortDetailsResponse, _err error)

Summary:

Queries a port of the cloud service that is added to Web Application Firewall (WAF). This operation is supported for only Elastic Compute Service (ECS) and Classic Load Balancer (CLB).

@param request - DescribeCloudResourceAccessPortDetailsRequest

@return DescribeCloudResourceAccessPortDetailsResponse

func (*Client) DescribeCloudResourceAccessPortDetailsWithOptions

func (client *Client) DescribeCloudResourceAccessPortDetailsWithOptions(request *DescribeCloudResourceAccessPortDetailsRequest, runtime *util.RuntimeOptions) (_result *DescribeCloudResourceAccessPortDetailsResponse, _err error)

Summary:

Queries a port of the cloud service that is added to Web Application Firewall (WAF). This operation is supported for only Elastic Compute Service (ECS) and Classic Load Balancer (CLB).

@param request - DescribeCloudResourceAccessPortDetailsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeCloudResourceAccessPortDetailsResponse

func (*Client) DescribeCloudResourceAccessedPorts

func (client *Client) DescribeCloudResourceAccessedPorts(request *DescribeCloudResourceAccessedPortsRequest) (_result *DescribeCloudResourceAccessedPortsResponse, _err error)

Summary:

Queries the ports of the cloud service that is added to Web Application Firewall (WAF). This operation is supported for only Elastic Compute Service (ECS) and Classic Load Balancer (CLB).

@param request - DescribeCloudResourceAccessedPortsRequest

@return DescribeCloudResourceAccessedPortsResponse

func (*Client) DescribeCloudResourceAccessedPortsWithOptions

func (client *Client) DescribeCloudResourceAccessedPortsWithOptions(request *DescribeCloudResourceAccessedPortsRequest, runtime *util.RuntimeOptions) (_result *DescribeCloudResourceAccessedPortsResponse, _err error)

Summary:

Queries the ports of the cloud service that is added to Web Application Firewall (WAF). This operation is supported for only Elastic Compute Service (ECS) and Classic Load Balancer (CLB).

@param request - DescribeCloudResourceAccessedPortsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeCloudResourceAccessedPortsResponse

func (*Client) DescribeCloudResources

func (client *Client) DescribeCloudResources(request *DescribeCloudResourcesRequest) (_result *DescribeCloudResourcesResponse, _err error)

Summary:

Queries cloud service resources that are added to Web Application Firewall (WAF).

@param request - DescribeCloudResourcesRequest

@return DescribeCloudResourcesResponse

func (*Client) DescribeCloudResourcesWithOptions

func (client *Client) DescribeCloudResourcesWithOptions(request *DescribeCloudResourcesRequest, runtime *util.RuntimeOptions) (_result *DescribeCloudResourcesResponse, _err error)

Summary:

Queries cloud service resources that are added to Web Application Firewall (WAF).

@param request - DescribeCloudResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeCloudResourcesResponse

func (*Client) DescribeCnameCount

func (client *Client) DescribeCnameCount(request *DescribeCnameCountRequest) (_result *DescribeCnameCountResponse, _err error)

Summary:

Queries the total number of domain names that are added to Web Application Firewall (WAF) in CNAME record mode and hybrid cloud reverse proxy mode.

@param request - DescribeCnameCountRequest

@return DescribeCnameCountResponse

func (*Client) DescribeCnameCountWithOptions

func (client *Client) DescribeCnameCountWithOptions(request *DescribeCnameCountRequest, runtime *util.RuntimeOptions) (_result *DescribeCnameCountResponse, _err error)

Summary:

Queries the total number of domain names that are added to Web Application Firewall (WAF) in CNAME record mode and hybrid cloud reverse proxy mode.

@param request - DescribeCnameCountRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeCnameCountResponse

func (*Client) DescribeDDoSStatus

func (client *Client) DescribeDDoSStatus(request *DescribeDDoSStatusRequest) (_result *DescribeDDoSStatusResponse, _err error)

Summary:

Checks whether DDoS attacks occur on specific domain names protected by a Web Application Firewall (WAF) instance.

@param request - DescribeDDoSStatusRequest

@return DescribeDDoSStatusResponse

func (*Client) DescribeDDoSStatusWithOptions

func (client *Client) DescribeDDoSStatusWithOptions(request *DescribeDDoSStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeDDoSStatusResponse, _err error)

Summary:

Checks whether DDoS attacks occur on specific domain names protected by a Web Application Firewall (WAF) instance.

@param request - DescribeDDoSStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDDoSStatusResponse

func (*Client) DescribeDefaultHttps

func (client *Client) DescribeDefaultHttps(request *DescribeDefaultHttpsRequest) (_result *DescribeDefaultHttpsResponse, _err error)

Summary:

Queries the default SSL and Transport Layer Security (TLS) settings.

@param request - DescribeDefaultHttpsRequest

@return DescribeDefaultHttpsResponse

func (*Client) DescribeDefaultHttpsWithOptions

func (client *Client) DescribeDefaultHttpsWithOptions(request *DescribeDefaultHttpsRequest, runtime *util.RuntimeOptions) (_result *DescribeDefaultHttpsResponse, _err error)

Summary:

Queries the default SSL and Transport Layer Security (TLS) settings.

@param request - DescribeDefaultHttpsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefaultHttpsResponse

func (*Client) DescribeDefenseResource

func (client *Client) DescribeDefenseResource(request *DescribeDefenseResourceRequest) (_result *DescribeDefenseResourceResponse, _err error)

Summary:

Queries the information about a protected object.

@param request - DescribeDefenseResourceRequest

@return DescribeDefenseResourceResponse

func (*Client) DescribeDefenseResourceGroup

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

Summary:

Queries the information about a protected object group.

@param request - DescribeDefenseResourceGroupRequest

@return DescribeDefenseResourceGroupResponse

func (*Client) DescribeDefenseResourceGroupNames

func (client *Client) DescribeDefenseResourceGroupNames(request *DescribeDefenseResourceGroupNamesRequest) (_result *DescribeDefenseResourceGroupNamesResponse, _err error)

Summary:

Queries the names of protected object groups.

@param request - DescribeDefenseResourceGroupNamesRequest

@return DescribeDefenseResourceGroupNamesResponse

func (*Client) DescribeDefenseResourceGroupNamesWithOptions

func (client *Client) DescribeDefenseResourceGroupNamesWithOptions(request *DescribeDefenseResourceGroupNamesRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseResourceGroupNamesResponse, _err error)

Summary:

Queries the names of protected object groups.

@param request - DescribeDefenseResourceGroupNamesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseResourceGroupNamesResponse

func (*Client) DescribeDefenseResourceGroupWithOptions

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

Summary:

Queries the information about a protected object group.

@param request - DescribeDefenseResourceGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseResourceGroupResponse

func (*Client) DescribeDefenseResourceGroups

func (client *Client) DescribeDefenseResourceGroups(request *DescribeDefenseResourceGroupsRequest) (_result *DescribeDefenseResourceGroupsResponse, _err error)

Summary:

Performs a pagination query to retrieve the information about protected object groups.

@param request - DescribeDefenseResourceGroupsRequest

@return DescribeDefenseResourceGroupsResponse

func (*Client) DescribeDefenseResourceGroupsWithOptions

func (client *Client) DescribeDefenseResourceGroupsWithOptions(request *DescribeDefenseResourceGroupsRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseResourceGroupsResponse, _err error)

Summary:

Performs a pagination query to retrieve the information about protected object groups.

@param request - DescribeDefenseResourceGroupsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseResourceGroupsResponse

func (*Client) DescribeDefenseResourceNames

func (client *Client) DescribeDefenseResourceNames(request *DescribeDefenseResourceNamesRequest) (_result *DescribeDefenseResourceNamesResponse, _err error)

Summary:

Performs a pagination query to retrieve the names of protected objects.

@param request - DescribeDefenseResourceNamesRequest

@return DescribeDefenseResourceNamesResponse

func (*Client) DescribeDefenseResourceNamesWithOptions

func (client *Client) DescribeDefenseResourceNamesWithOptions(request *DescribeDefenseResourceNamesRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseResourceNamesResponse, _err error)

Summary:

Performs a pagination query to retrieve the names of protected objects.

@param request - DescribeDefenseResourceNamesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseResourceNamesResponse

func (*Client) DescribeDefenseResourceTemplates

func (client *Client) DescribeDefenseResourceTemplates(request *DescribeDefenseResourceTemplatesRequest) (_result *DescribeDefenseResourceTemplatesResponse, _err error)

Summary:

Queries the protection templates that are associated with a protected object or protected object group.

@param request - DescribeDefenseResourceTemplatesRequest

@return DescribeDefenseResourceTemplatesResponse

func (*Client) DescribeDefenseResourceTemplatesWithOptions

func (client *Client) DescribeDefenseResourceTemplatesWithOptions(request *DescribeDefenseResourceTemplatesRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseResourceTemplatesResponse, _err error)

Summary:

Queries the protection templates that are associated with a protected object or protected object group.

@param request - DescribeDefenseResourceTemplatesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseResourceTemplatesResponse

func (*Client) DescribeDefenseResourceWithOptions

func (client *Client) DescribeDefenseResourceWithOptions(request *DescribeDefenseResourceRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseResourceResponse, _err error)

Summary:

Queries the information about a protected object.

@param request - DescribeDefenseResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseResourceResponse

func (*Client) DescribeDefenseResources

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

Summary:

Queries protected objects by page.

@param request - DescribeDefenseResourcesRequest

@return DescribeDefenseResourcesResponse

func (*Client) DescribeDefenseResourcesWithOptions

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

Summary:

Queries protected objects by page.

@param request - DescribeDefenseResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseResourcesResponse

func (*Client) DescribeDefenseRule

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

Summary:

Queries a protection rule.

@param request - DescribeDefenseRuleRequest

@return DescribeDefenseRuleResponse

func (*Client) DescribeDefenseRuleWithOptions

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

Summary:

Queries a protection rule.

@param request - DescribeDefenseRuleRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseRuleResponse

func (*Client) DescribeDefenseRules

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

Summary:

Queries protection rules by page.

@param request - DescribeDefenseRulesRequest

@return DescribeDefenseRulesResponse

func (*Client) DescribeDefenseRulesWithOptions

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

Summary:

Queries protection rules by page.

@param request - DescribeDefenseRulesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseRulesResponse

func (*Client) DescribeDefenseTemplate

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

Summary:

Queries a protection rule template.

@param request - DescribeDefenseTemplateRequest

@return DescribeDefenseTemplateResponse

func (*Client) DescribeDefenseTemplateValidGroups

func (client *Client) DescribeDefenseTemplateValidGroups(request *DescribeDefenseTemplateValidGroupsRequest) (_result *DescribeDefenseTemplateValidGroupsResponse, _err error)

Summary:

Queries the names of protected object groups for which a protection template can take effect.

@param request - DescribeDefenseTemplateValidGroupsRequest

@return DescribeDefenseTemplateValidGroupsResponse

func (*Client) DescribeDefenseTemplateValidGroupsWithOptions

func (client *Client) DescribeDefenseTemplateValidGroupsWithOptions(request *DescribeDefenseTemplateValidGroupsRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseTemplateValidGroupsResponse, _err error)

Summary:

Queries the names of protected object groups for which a protection template can take effect.

@param request - DescribeDefenseTemplateValidGroupsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseTemplateValidGroupsResponse

func (*Client) DescribeDefenseTemplateWithOptions

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

Summary:

Queries a protection rule template.

@param request - DescribeDefenseTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseTemplateResponse

func (*Client) DescribeDefenseTemplates

func (client *Client) DescribeDefenseTemplates(request *DescribeDefenseTemplatesRequest) (_result *DescribeDefenseTemplatesResponse, _err error)

Summary:

Performs a paging query to retrieve protection templates.

@param request - DescribeDefenseTemplatesRequest

@return DescribeDefenseTemplatesResponse

func (*Client) DescribeDefenseTemplatesWithOptions

func (client *Client) DescribeDefenseTemplatesWithOptions(request *DescribeDefenseTemplatesRequest, runtime *util.RuntimeOptions) (_result *DescribeDefenseTemplatesResponse, _err error)

Summary:

Performs a paging query to retrieve protection templates.

@param request - DescribeDefenseTemplatesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDefenseTemplatesResponse

func (*Client) DescribeDomainDNSRecord

func (client *Client) DescribeDomainDNSRecord(request *DescribeDomainDNSRecordRequest) (_result *DescribeDomainDNSRecordResponse, _err error)

Summary:

Checks whether the Domain Name System (DNS) settings of a domain name are properly configured.

@param request - DescribeDomainDNSRecordRequest

@return DescribeDomainDNSRecordResponse

func (*Client) DescribeDomainDNSRecordWithOptions

func (client *Client) DescribeDomainDNSRecordWithOptions(request *DescribeDomainDNSRecordRequest, runtime *util.RuntimeOptions) (_result *DescribeDomainDNSRecordResponse, _err error)

Summary:

Checks whether the Domain Name System (DNS) settings of a domain name are properly configured.

@param request - DescribeDomainDNSRecordRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDomainDNSRecordResponse

func (*Client) DescribeDomainDetail

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

Summary:

Queries the details of a domain name that is added to Web Application Firewall (WAF).

@param request - DescribeDomainDetailRequest

@return DescribeDomainDetailResponse

func (*Client) DescribeDomainDetailWithOptions

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

Summary:

Queries the details of a domain name that is added to Web Application Firewall (WAF).

@param request - DescribeDomainDetailRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDomainDetailResponse

func (*Client) DescribeDomains

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

Summary:

Queries the domain names that are added to Web Application Firewall (WAF).

@param request - DescribeDomainsRequest

@return DescribeDomainsResponse

func (*Client) DescribeDomainsWithOptions

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

Summary:

Queries the domain names that are added to Web Application Firewall (WAF).

@param request - DescribeDomainsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeDomainsResponse

func (*Client) DescribeFlowChart

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

Summary:

Queries the traffic statistics of requests that are forwarded to Web Application Firewall (WAF).

@param request - DescribeFlowChartRequest

@return DescribeFlowChartResponse

func (*Client) DescribeFlowChartWithOptions

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

Summary:

Queries the traffic statistics of requests that are forwarded to Web Application Firewall (WAF).

@param request - DescribeFlowChartRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeFlowChartResponse

func (*Client) DescribeFlowTopResource

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

Summary:

Queries the top 10 protected objects that receive requests.

@param request - DescribeFlowTopResourceRequest

@return DescribeFlowTopResourceResponse

func (*Client) DescribeFlowTopResourceWithOptions

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

Summary:

Queries the top 10 protected objects that receive requests.

@param request - DescribeFlowTopResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeFlowTopResourceResponse

func (*Client) DescribeFlowTopUrl

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

Summary:

Queries the top 10 URLs that are used to initiate requests.

@param request - DescribeFlowTopUrlRequest

@return DescribeFlowTopUrlResponse

func (*Client) DescribeFlowTopUrlWithOptions

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

Summary:

Queries the top 10 URLs that are used to initiate requests.

@param request - DescribeFlowTopUrlRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeFlowTopUrlResponse

func (*Client) DescribeFreeUserAssetCount

func (client *Client) DescribeFreeUserAssetCount(request *DescribeFreeUserAssetCountRequest) (_result *DescribeFreeUserAssetCountResponse, _err error)

Summary:

Queries the asset statistics provided by basic detection in the API security module.

@param request - DescribeFreeUserAssetCountRequest

@return DescribeFreeUserAssetCountResponse

func (*Client) DescribeFreeUserAssetCountWithOptions

func (client *Client) DescribeFreeUserAssetCountWithOptions(request *DescribeFreeUserAssetCountRequest, runtime *util.RuntimeOptions) (_result *DescribeFreeUserAssetCountResponse, _err error)

Summary:

Queries the asset statistics provided by basic detection in the API security module.

@param request - DescribeFreeUserAssetCountRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeFreeUserAssetCountResponse

func (*Client) DescribeFreeUserEventCount

func (client *Client) DescribeFreeUserEventCount(request *DescribeFreeUserEventCountRequest) (_result *DescribeFreeUserEventCountResponse, _err error)

Summary:

Queries the statistics of security events that are detected by using the basic detection feature of the API security module.

@param request - DescribeFreeUserEventCountRequest

@return DescribeFreeUserEventCountResponse

func (*Client) DescribeFreeUserEventCountWithOptions

func (client *Client) DescribeFreeUserEventCountWithOptions(request *DescribeFreeUserEventCountRequest, runtime *util.RuntimeOptions) (_result *DescribeFreeUserEventCountResponse, _err error)

Summary:

Queries the statistics of security events that are detected by using the basic detection feature of the API security module.

@param request - DescribeFreeUserEventCountRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeFreeUserEventCountResponse

func (*Client) DescribeFreeUserEventTypes

func (client *Client) DescribeFreeUserEventTypes(request *DescribeFreeUserEventTypesRequest) (_result *DescribeFreeUserEventTypesResponse, _err error)

Summary:

Queries the types of security events on which basic detection is performed in the API security module.

@param request - DescribeFreeUserEventTypesRequest

@return DescribeFreeUserEventTypesResponse

func (*Client) DescribeFreeUserEventTypesWithOptions

func (client *Client) DescribeFreeUserEventTypesWithOptions(request *DescribeFreeUserEventTypesRequest, runtime *util.RuntimeOptions) (_result *DescribeFreeUserEventTypesResponse, _err error)

Summary:

Queries the types of security events on which basic detection is performed in the API security module.

@param request - DescribeFreeUserEventTypesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeFreeUserEventTypesResponse

func (*Client) DescribeFreeUserEvents

func (client *Client) DescribeFreeUserEvents(request *DescribeFreeUserEventsRequest) (_result *DescribeFreeUserEventsResponse, _err error)

Summary:

Queries the list of security events on which basic detection is performed in the API security module.

@param request - DescribeFreeUserEventsRequest

@return DescribeFreeUserEventsResponse

func (*Client) DescribeFreeUserEventsWithOptions

func (client *Client) DescribeFreeUserEventsWithOptions(request *DescribeFreeUserEventsRequest, runtime *util.RuntimeOptions) (_result *DescribeFreeUserEventsResponse, _err error)

Summary:

Queries the list of security events on which basic detection is performed in the API security module.

@param request - DescribeFreeUserEventsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeFreeUserEventsResponse

func (*Client) DescribeHybridCloudClusterRule

func (client *Client) DescribeHybridCloudClusterRule(request *DescribeHybridCloudClusterRuleRequest) (_result *DescribeHybridCloudClusterRuleResponse, _err error)

Summary:

Obtains the rule information about a hybrid cloud cluster.

@param request - DescribeHybridCloudClusterRuleRequest

@return DescribeHybridCloudClusterRuleResponse

func (*Client) DescribeHybridCloudClusterRuleWithOptions

func (client *Client) DescribeHybridCloudClusterRuleWithOptions(request *DescribeHybridCloudClusterRuleRequest, runtime *util.RuntimeOptions) (_result *DescribeHybridCloudClusterRuleResponse, _err error)

Summary:

Obtains the rule information about a hybrid cloud cluster.

@param request - DescribeHybridCloudClusterRuleRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHybridCloudClusterRuleResponse

func (*Client) DescribeHybridCloudClusters

func (client *Client) DescribeHybridCloudClusters(request *DescribeHybridCloudClustersRequest) (_result *DescribeHybridCloudClustersResponse, _err error)

Summary:

Queries a list of hybrid cloud clusters.

@param request - DescribeHybridCloudClustersRequest

@return DescribeHybridCloudClustersResponse

func (*Client) DescribeHybridCloudClustersWithOptions

func (client *Client) DescribeHybridCloudClustersWithOptions(request *DescribeHybridCloudClustersRequest, runtime *util.RuntimeOptions) (_result *DescribeHybridCloudClustersResponse, _err error)

Summary:

Queries a list of hybrid cloud clusters.

@param request - DescribeHybridCloudClustersRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHybridCloudClustersResponse

func (*Client) DescribeHybridCloudGroups

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

Summary:

Queries the hybrid cloud node groups that are added to Web Application Firewall (WAF).

@param request - DescribeHybridCloudGroupsRequest

@return DescribeHybridCloudGroupsResponse

func (*Client) DescribeHybridCloudGroupsWithOptions

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

Summary:

Queries the hybrid cloud node groups that are added to Web Application Firewall (WAF).

@param request - DescribeHybridCloudGroupsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHybridCloudGroupsResponse

func (*Client) DescribeHybridCloudResources

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

Summary:

Queries the domain names that are added to a Web Application Firewall (WAF) instance in hybrid cloud mode.

@param request - DescribeHybridCloudResourcesRequest

@return DescribeHybridCloudResourcesResponse

func (*Client) DescribeHybridCloudResourcesWithOptions

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

Summary:

Queries the domain names that are added to a Web Application Firewall (WAF) instance in hybrid cloud mode.

@param request - DescribeHybridCloudResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHybridCloudResourcesResponse

func (*Client) DescribeHybridCloudServerRegions

func (client *Client) DescribeHybridCloudServerRegions(request *DescribeHybridCloudServerRegionsRequest) (_result *DescribeHybridCloudServerRegionsResponse, _err error)

Summary:

Queries information about the regions that the hybrid cloud mode supports, such as the Internet service providers (ISPs), continents, and cities.

@param request - DescribeHybridCloudServerRegionsRequest

@return DescribeHybridCloudServerRegionsResponse

func (*Client) DescribeHybridCloudServerRegionsWithOptions

func (client *Client) DescribeHybridCloudServerRegionsWithOptions(request *DescribeHybridCloudServerRegionsRequest, runtime *util.RuntimeOptions) (_result *DescribeHybridCloudServerRegionsResponse, _err error)

Summary:

Queries information about the regions that the hybrid cloud mode supports, such as the Internet service providers (ISPs), continents, and cities.

@param request - DescribeHybridCloudServerRegionsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHybridCloudServerRegionsResponse

func (*Client) DescribeHybridCloudUnassignedMachines

func (client *Client) DescribeHybridCloudUnassignedMachines(request *DescribeHybridCloudUnassignedMachinesRequest) (_result *DescribeHybridCloudUnassignedMachinesResponse, _err error)

Summary:

Queries servers that are not assigned to a hybrid cloud cluster.

@param request - DescribeHybridCloudUnassignedMachinesRequest

@return DescribeHybridCloudUnassignedMachinesResponse

func (*Client) DescribeHybridCloudUnassignedMachinesWithOptions

func (client *Client) DescribeHybridCloudUnassignedMachinesWithOptions(request *DescribeHybridCloudUnassignedMachinesRequest, runtime *util.RuntimeOptions) (_result *DescribeHybridCloudUnassignedMachinesResponse, _err error)

Summary:

Queries servers that are not assigned to a hybrid cloud cluster.

@param request - DescribeHybridCloudUnassignedMachinesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHybridCloudUnassignedMachinesResponse

func (*Client) DescribeHybridCloudUser

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

Summary:

Queries the HTTP and HTTPS ports that you can use when you add a domain name to Web Application Firewall (WAF) in hybrid cloud mode.

@param request - DescribeHybridCloudUserRequest

@return DescribeHybridCloudUserResponse

func (*Client) DescribeHybridCloudUserWithOptions

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

Summary:

Queries the HTTP and HTTPS ports that you can use when you add a domain name to Web Application Firewall (WAF) in hybrid cloud mode.

@param request - DescribeHybridCloudUserRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeHybridCloudUserResponse

func (*Client) DescribeInstance

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

Summary:

Queries the details of a Web Application Firewall (WAF) instance within the current Alibaba Cloud account.

@param request - DescribeInstanceRequest

@return DescribeInstanceResponse

func (*Client) DescribeInstanceWithOptions

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

Summary:

Queries the details of a Web Application Firewall (WAF) instance within the current Alibaba Cloud account.

@param request - DescribeInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeInstanceResponse

func (*Client) DescribeMajorProtectionBlackIps

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

Summary:

Queries IP addresses in an IP address blacklist for major event protection by page.

@param request - DescribeMajorProtectionBlackIpsRequest

@return DescribeMajorProtectionBlackIpsResponse

func (*Client) DescribeMajorProtectionBlackIpsWithOptions

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

Summary:

Queries IP addresses in an IP address blacklist for major event protection by page.

@param request - DescribeMajorProtectionBlackIpsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeMajorProtectionBlackIpsResponse

func (*Client) DescribeMemberAccounts

func (client *Client) DescribeMemberAccounts(request *DescribeMemberAccountsRequest) (_result *DescribeMemberAccountsResponse, _err error)

Summary:

Queries information about members.

@param request - DescribeMemberAccountsRequest

@return DescribeMemberAccountsResponse

func (*Client) DescribeMemberAccountsWithOptions

func (client *Client) DescribeMemberAccountsWithOptions(request *DescribeMemberAccountsRequest, runtime *util.RuntimeOptions) (_result *DescribeMemberAccountsResponse, _err error)

Summary:

Queries information about members.

@param request - DescribeMemberAccountsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeMemberAccountsResponse

func (*Client) DescribePauseProtectionStatus

func (client *Client) DescribePauseProtectionStatus(request *DescribePauseProtectionStatusRequest) (_result *DescribePauseProtectionStatusResponse, _err error)

Summary:

Queries the protection status of Web Application Firewall (WAF).

@param request - DescribePauseProtectionStatusRequest

@return DescribePauseProtectionStatusResponse

func (*Client) DescribePauseProtectionStatusWithOptions

func (client *Client) DescribePauseProtectionStatusWithOptions(request *DescribePauseProtectionStatusRequest, runtime *util.RuntimeOptions) (_result *DescribePauseProtectionStatusResponse, _err error)

Summary:

Queries the protection status of Web Application Firewall (WAF).

@param request - DescribePauseProtectionStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribePauseProtectionStatusResponse

func (*Client) DescribePeakTrend

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

Summary:

Queries the queries per second (QPS) statistics of a WAF instance.

@param request - DescribePeakTrendRequest

@return DescribePeakTrendResponse

func (*Client) DescribePeakTrendWithOptions

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

Summary:

Queries the queries per second (QPS) statistics of a WAF instance.

@param request - DescribePeakTrendRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribePeakTrendResponse

func (*Client) DescribeProductInstances

func (client *Client) DescribeProductInstances(request *DescribeProductInstancesRequest) (_result *DescribeProductInstancesResponse, _err error)

Summary:

Queries the cloud service instances to be added to Web Application Firewall (WAF) in transparent proxy mode.

@param request - DescribeProductInstancesRequest

@return DescribeProductInstancesResponse

func (*Client) DescribeProductInstancesWithOptions

func (client *Client) DescribeProductInstancesWithOptions(request *DescribeProductInstancesRequest, runtime *util.RuntimeOptions) (_result *DescribeProductInstancesResponse, _err error)

Summary:

Queries the cloud service instances to be added to Web Application Firewall (WAF) in transparent proxy mode.

@param request - DescribeProductInstancesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeProductInstancesResponse

func (*Client) DescribePunishedDomains

func (client *Client) DescribePunishedDomains(request *DescribePunishedDomainsRequest) (_result *DescribePunishedDomainsResponse, _err error)

Summary:

Queries a list of domain names that are added to Web Application Firewall (WAF) and penalized for failing to obtain an Internet Content Provider (ICP) filing.

@param request - DescribePunishedDomainsRequest

@return DescribePunishedDomainsResponse

func (*Client) DescribePunishedDomainsWithOptions

func (client *Client) DescribePunishedDomainsWithOptions(request *DescribePunishedDomainsRequest, runtime *util.RuntimeOptions) (_result *DescribePunishedDomainsResponse, _err error)

Summary:

Queries a list of domain names that are added to Web Application Firewall (WAF) and penalized for failing to obtain an Internet Content Provider (ICP) filing.

@param request - DescribePunishedDomainsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribePunishedDomainsResponse

func (*Client) DescribeResourceInstanceCerts

func (client *Client) DescribeResourceInstanceCerts(request *DescribeResourceInstanceCertsRequest) (_result *DescribeResourceInstanceCertsResponse, _err error)

Summary:

Queries the certificates that are used in cloud service instances. The certificates returned include the certificates within the delegated administrator account and the certificates within members to which specific instances belong. For example, the delegated administrator account has certificate 1, instance lb-xx-1 belongs to member B, and member B has certificate 2. If you specify instance lb-xx-1 in the request, certificate 1 and certificate 2 are returned.

@param request - DescribeResourceInstanceCertsRequest

@return DescribeResourceInstanceCertsResponse

func (*Client) DescribeResourceInstanceCertsWithOptions

func (client *Client) DescribeResourceInstanceCertsWithOptions(request *DescribeResourceInstanceCertsRequest, runtime *util.RuntimeOptions) (_result *DescribeResourceInstanceCertsResponse, _err error)

Summary:

Queries the certificates that are used in cloud service instances. The certificates returned include the certificates within the delegated administrator account and the certificates within members to which specific instances belong. For example, the delegated administrator account has certificate 1, instance lb-xx-1 belongs to member B, and member B has certificate 2. If you specify instance lb-xx-1 in the request, certificate 1 and certificate 2 are returned.

@param request - DescribeResourceInstanceCertsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResourceInstanceCertsResponse

func (*Client) DescribeResourceLogStatus

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

Summary:

Queries whether the log collection feature is enabled for a protected object.

@param request - DescribeResourceLogStatusRequest

@return DescribeResourceLogStatusResponse

func (*Client) DescribeResourceLogStatusWithOptions

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

Summary:

Queries whether the log collection feature is enabled for a protected object.

@param request - DescribeResourceLogStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResourceLogStatusResponse

func (*Client) DescribeResourcePort

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

Summary:

Queries the ports of a cloud service instance that are added to Web Application Firewall (WAF).

@param request - DescribeResourcePortRequest

@return DescribeResourcePortResponse

func (*Client) DescribeResourcePortWithOptions

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

Summary:

Queries the ports of a cloud service instance that are added to Web Application Firewall (WAF).

@param request - DescribeResourcePortRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResourcePortResponse

func (*Client) DescribeResourceRegionId

func (client *Client) DescribeResourceRegionId(request *DescribeResourceRegionIdRequest) (_result *DescribeResourceRegionIdResponse, _err error)

Summary:

Queries the region IDs of the resources that are added to Web Application Firewall (WAF) in cloud native mode. The resources include Application Load Balancer (ALB) instances, Microservices Engine (MSE) instances, and custom domain names bound to web applications in Function Compute.

@param request - DescribeResourceRegionIdRequest

@return DescribeResourceRegionIdResponse

func (*Client) DescribeResourceRegionIdWithOptions

func (client *Client) DescribeResourceRegionIdWithOptions(request *DescribeResourceRegionIdRequest, runtime *util.RuntimeOptions) (_result *DescribeResourceRegionIdResponse, _err error)

Summary:

Queries the region IDs of the resources that are added to Web Application Firewall (WAF) in cloud native mode. The resources include Application Load Balancer (ALB) instances, Microservices Engine (MSE) instances, and custom domain names bound to web applications in Function Compute.

@param request - DescribeResourceRegionIdRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResourceRegionIdResponse

func (*Client) DescribeResourceSupportRegions

func (client *Client) DescribeResourceSupportRegions(request *DescribeResourceSupportRegionsRequest) (_result *DescribeResourceSupportRegionsResponse, _err error)

Summary:

Queries the region IDs of the Classic Load Balancer (CLB) and Elastic Compute Service (ECS) instances that are added to Web Application Firewall (WAF) in cloud native mode.

@param request - DescribeResourceSupportRegionsRequest

@return DescribeResourceSupportRegionsResponse

func (*Client) DescribeResourceSupportRegionsWithOptions

func (client *Client) DescribeResourceSupportRegionsWithOptions(request *DescribeResourceSupportRegionsRequest, runtime *util.RuntimeOptions) (_result *DescribeResourceSupportRegionsResponse, _err error)

Summary:

Queries the region IDs of the Classic Load Balancer (CLB) and Elastic Compute Service (ECS) instances that are added to Web Application Firewall (WAF) in cloud native mode.

@param request - DescribeResourceSupportRegionsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResourceSupportRegionsResponse

func (*Client) DescribeResponseCodeTrendGraph

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

Summary:

Queries the trend of the number of error codes that are returned to clients or Web Application Firewall (WAF). The error codes include 302, 405, 444, 499, and 5XX.

@param request - DescribeResponseCodeTrendGraphRequest

@return DescribeResponseCodeTrendGraphResponse

func (*Client) DescribeResponseCodeTrendGraphWithOptions

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

Summary:

Queries the trend of the number of error codes that are returned to clients or Web Application Firewall (WAF). The error codes include 302, 405, 444, 499, and 5XX.

@param request - DescribeResponseCodeTrendGraphRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeResponseCodeTrendGraphResponse

func (*Client) DescribeRuleGroups

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

Summary:

Queries regular expression rule groups by page.

@param request - DescribeRuleGroupsRequest

@return DescribeRuleGroupsResponse

func (*Client) DescribeRuleGroupsWithOptions

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

Summary:

Queries regular expression rule groups by page.

@param request - DescribeRuleGroupsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRuleGroupsResponse

func (*Client) DescribeRuleHitsTopClientIp

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

Summary:

Queries the top 10 IP addresses from which attacks are initiated.

@param request - DescribeRuleHitsTopClientIpRequest

@return DescribeRuleHitsTopClientIpResponse

func (*Client) DescribeRuleHitsTopClientIpWithOptions

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

Summary:

Queries the top 10 IP addresses from which attacks are initiated.

@param request - DescribeRuleHitsTopClientIpRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRuleHitsTopClientIpResponse

func (*Client) DescribeRuleHitsTopResource

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

Summary:

Queries the top 10 protected objects that trigger protection rules.

@param request - DescribeRuleHitsTopResourceRequest

@return DescribeRuleHitsTopResourceResponse

func (*Client) DescribeRuleHitsTopResourceWithOptions

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

Summary:

Queries the top 10 protected objects that trigger protection rules.

@param request - DescribeRuleHitsTopResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRuleHitsTopResourceResponse

func (*Client) DescribeRuleHitsTopRuleId

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

Summary:

Queries the IDs of the top 10 protection rules that are matched by requests.

@param request - DescribeRuleHitsTopRuleIdRequest

@return DescribeRuleHitsTopRuleIdResponse

func (*Client) DescribeRuleHitsTopRuleIdWithOptions

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

Summary:

Queries the IDs of the top 10 protection rules that are matched by requests.

@param request - DescribeRuleHitsTopRuleIdRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRuleHitsTopRuleIdResponse

func (*Client) DescribeRuleHitsTopTuleType

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

Summary:

Queries the top 10 protection modules that are matched.

@param request - DescribeRuleHitsTopTuleTypeRequest

@return DescribeRuleHitsTopTuleTypeResponse

func (*Client) DescribeRuleHitsTopTuleTypeWithOptions

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

Summary:

Queries the top 10 protection modules that are matched.

@param request - DescribeRuleHitsTopTuleTypeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRuleHitsTopTuleTypeResponse

func (*Client) DescribeRuleHitsTopUa

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

Summary:

Queries the top 10 user agents that are used to initiate attacks.

@param request - DescribeRuleHitsTopUaRequest

@return DescribeRuleHitsTopUaResponse

func (*Client) DescribeRuleHitsTopUaWithOptions

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

Summary:

Queries the top 10 user agents that are used to initiate attacks.

@param request - DescribeRuleHitsTopUaRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRuleHitsTopUaResponse

func (*Client) DescribeRuleHitsTopUrl

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

Summary:

Queries the top 10 URLs that trigger protection rules.

@param request - DescribeRuleHitsTopUrlRequest

@return DescribeRuleHitsTopUrlResponse

func (*Client) DescribeRuleHitsTopUrlWithOptions

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

Summary:

Queries the top 10 URLs that trigger protection rules.

@param request - DescribeRuleHitsTopUrlRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeRuleHitsTopUrlResponse

func (*Client) DescribeSensitiveApiStatistic

func (client *Client) DescribeSensitiveApiStatistic(request *DescribeSensitiveApiStatisticRequest) (_result *DescribeSensitiveApiStatisticResponse, _err error)

Summary:

Queries the personal information-related APIs and domain names.

@param request - DescribeSensitiveApiStatisticRequest

@return DescribeSensitiveApiStatisticResponse

func (*Client) DescribeSensitiveApiStatisticWithOptions

func (client *Client) DescribeSensitiveApiStatisticWithOptions(request *DescribeSensitiveApiStatisticRequest, runtime *util.RuntimeOptions) (_result *DescribeSensitiveApiStatisticResponse, _err error)

Summary:

Queries the personal information-related APIs and domain names.

@param request - DescribeSensitiveApiStatisticRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSensitiveApiStatisticResponse

func (*Client) DescribeSensitiveDetectionResult

func (client *Client) DescribeSensitiveDetectionResult(request *DescribeSensitiveDetectionResultRequest) (_result *DescribeSensitiveDetectionResultResponse, _err error)

Summary:

Queries the compliance check results of API security.

@param request - DescribeSensitiveDetectionResultRequest

@return DescribeSensitiveDetectionResultResponse

func (*Client) DescribeSensitiveDetectionResultWithOptions

func (client *Client) DescribeSensitiveDetectionResultWithOptions(request *DescribeSensitiveDetectionResultRequest, runtime *util.RuntimeOptions) (_result *DescribeSensitiveDetectionResultResponse, _err error)

Summary:

Queries the compliance check results of API security.

@param request - DescribeSensitiveDetectionResultRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSensitiveDetectionResultResponse

func (*Client) DescribeSensitiveOutboundDistribution

func (client *Client) DescribeSensitiveOutboundDistribution(request *DescribeSensitiveOutboundDistributionRequest) (_result *DescribeSensitiveOutboundDistributionResponse, _err error)

Summary:

Queries the traffic distribution of personal information records involved in cross-border data transfer.

@param request - DescribeSensitiveOutboundDistributionRequest

@return DescribeSensitiveOutboundDistributionResponse

func (*Client) DescribeSensitiveOutboundDistributionWithOptions

func (client *Client) DescribeSensitiveOutboundDistributionWithOptions(request *DescribeSensitiveOutboundDistributionRequest, runtime *util.RuntimeOptions) (_result *DescribeSensitiveOutboundDistributionResponse, _err error)

Summary:

Queries the traffic distribution of personal information records involved in cross-border data transfer.

@param request - DescribeSensitiveOutboundDistributionRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSensitiveOutboundDistributionResponse

func (*Client) DescribeSensitiveOutboundStatistic

func (client *Client) DescribeSensitiveOutboundStatistic(request *DescribeSensitiveOutboundStatisticRequest) (_result *DescribeSensitiveOutboundStatisticResponse, _err error)

Summary:

Queries the data types of personal information involved in cross-border data transfer.

@param request - DescribeSensitiveOutboundStatisticRequest

@return DescribeSensitiveOutboundStatisticResponse

func (*Client) DescribeSensitiveOutboundStatisticWithOptions

func (client *Client) DescribeSensitiveOutboundStatisticWithOptions(request *DescribeSensitiveOutboundStatisticRequest, runtime *util.RuntimeOptions) (_result *DescribeSensitiveOutboundStatisticResponse, _err error)

Summary:

Queries the data types of personal information involved in cross-border data transfer.

@param request - DescribeSensitiveOutboundStatisticRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSensitiveOutboundStatisticResponse

func (*Client) DescribeSensitiveOutboundTrend

func (client *Client) DescribeSensitiveOutboundTrend(request *DescribeSensitiveOutboundTrendRequest) (_result *DescribeSensitiveOutboundTrendResponse, _err error)

Summary:

Queries the trends of cross-border data transfer of personal information.

@param request - DescribeSensitiveOutboundTrendRequest

@return DescribeSensitiveOutboundTrendResponse

func (*Client) DescribeSensitiveOutboundTrendWithOptions

func (client *Client) DescribeSensitiveOutboundTrendWithOptions(request *DescribeSensitiveOutboundTrendRequest, runtime *util.RuntimeOptions) (_result *DescribeSensitiveOutboundTrendResponse, _err error)

Summary:

Queries the trends of cross-border data transfer of personal information.

@param request - DescribeSensitiveOutboundTrendRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSensitiveOutboundTrendResponse

func (*Client) DescribeSensitiveRequestLog

func (client *Client) DescribeSensitiveRequestLog(request *DescribeSensitiveRequestLogRequest) (_result *DescribeSensitiveRequestLogResponse, _err error)

Summary:

Queries the access logs of sensitive data.

@param request - DescribeSensitiveRequestLogRequest

@return DescribeSensitiveRequestLogResponse

func (*Client) DescribeSensitiveRequestLogWithOptions

func (client *Client) DescribeSensitiveRequestLogWithOptions(request *DescribeSensitiveRequestLogRequest, runtime *util.RuntimeOptions) (_result *DescribeSensitiveRequestLogResponse, _err error)

Summary:

Queries the access logs of sensitive data.

@param request - DescribeSensitiveRequestLogRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSensitiveRequestLogResponse

func (*Client) DescribeSensitiveRequests

func (client *Client) DescribeSensitiveRequests(request *DescribeSensitiveRequestsRequest) (_result *DescribeSensitiveRequestsResponse, _err error)

Summary:

Queries the tracing results of sensitive data.

@param request - DescribeSensitiveRequestsRequest

@return DescribeSensitiveRequestsResponse

func (*Client) DescribeSensitiveRequestsWithOptions

func (client *Client) DescribeSensitiveRequestsWithOptions(request *DescribeSensitiveRequestsRequest, runtime *util.RuntimeOptions) (_result *DescribeSensitiveRequestsResponse, _err error)

Summary:

Queries the tracing results of sensitive data.

@param request - DescribeSensitiveRequestsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSensitiveRequestsResponse

func (*Client) DescribeSensitiveStatistic

func (client *Client) DescribeSensitiveStatistic(request *DescribeSensitiveStatisticRequest) (_result *DescribeSensitiveStatisticResponse, _err error)

Summary:

Queries the sensitive data statistics of the tracing and auditing feature.

@param request - DescribeSensitiveStatisticRequest

@return DescribeSensitiveStatisticResponse

func (*Client) DescribeSensitiveStatisticWithOptions

func (client *Client) DescribeSensitiveStatisticWithOptions(request *DescribeSensitiveStatisticRequest, runtime *util.RuntimeOptions) (_result *DescribeSensitiveStatisticResponse, _err error)

Summary:

Queries the sensitive data statistics of the tracing and auditing feature.

@param request - DescribeSensitiveStatisticRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSensitiveStatisticResponse

func (*Client) DescribeSlsAuthStatus

func (client *Client) DescribeSlsAuthStatus(request *DescribeSlsAuthStatusRequest) (_result *DescribeSlsAuthStatusResponse, _err error)

Summary:

Queries whether Web Application Firewall (WAF) is authorized to access Logstores.

@param request - DescribeSlsAuthStatusRequest

@return DescribeSlsAuthStatusResponse

func (*Client) DescribeSlsAuthStatusWithOptions

func (client *Client) DescribeSlsAuthStatusWithOptions(request *DescribeSlsAuthStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeSlsAuthStatusResponse, _err error)

Summary:

Queries whether Web Application Firewall (WAF) is authorized to access Logstores.

@param request - DescribeSlsAuthStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSlsAuthStatusResponse

func (*Client) DescribeSlsLogStore

func (client *Client) DescribeSlsLogStore(request *DescribeSlsLogStoreRequest) (_result *DescribeSlsLogStoreResponse, _err error)

Summary:

Queries information about a Logstore, such as the total capacity, storage duration, and used capacity.

@param request - DescribeSlsLogStoreRequest

@return DescribeSlsLogStoreResponse

func (*Client) DescribeSlsLogStoreStatus

func (client *Client) DescribeSlsLogStoreStatus(request *DescribeSlsLogStoreStatusRequest) (_result *DescribeSlsLogStoreStatusResponse, _err error)

Summary:

Queries the status of a Simple Log Service Logstore.

@param request - DescribeSlsLogStoreStatusRequest

@return DescribeSlsLogStoreStatusResponse

func (*Client) DescribeSlsLogStoreStatusWithOptions

func (client *Client) DescribeSlsLogStoreStatusWithOptions(request *DescribeSlsLogStoreStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeSlsLogStoreStatusResponse, _err error)

Summary:

Queries the status of a Simple Log Service Logstore.

@param request - DescribeSlsLogStoreStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSlsLogStoreStatusResponse

func (*Client) DescribeSlsLogStoreWithOptions

func (client *Client) DescribeSlsLogStoreWithOptions(request *DescribeSlsLogStoreRequest, runtime *util.RuntimeOptions) (_result *DescribeSlsLogStoreResponse, _err error)

Summary:

Queries information about a Logstore, such as the total capacity, storage duration, and used capacity.

@param request - DescribeSlsLogStoreRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeSlsLogStoreResponse

func (*Client) DescribeTemplateResourceCount

func (client *Client) DescribeTemplateResourceCount(request *DescribeTemplateResourceCountRequest) (_result *DescribeTemplateResourceCountResponse, _err error)

Summary:

Queries the number of protected resources for which a protection template takes effect.

@param request - DescribeTemplateResourceCountRequest

@return DescribeTemplateResourceCountResponse

func (*Client) DescribeTemplateResourceCountWithOptions

func (client *Client) DescribeTemplateResourceCountWithOptions(request *DescribeTemplateResourceCountRequest, runtime *util.RuntimeOptions) (_result *DescribeTemplateResourceCountResponse, _err error)

Summary:

Queries the number of protected resources for which a protection template takes effect.

@param request - DescribeTemplateResourceCountRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeTemplateResourceCountResponse

func (*Client) DescribeTemplateResources

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

Summary:

Queries the resources that are associated to a protection rule template.

@param request - DescribeTemplateResourcesRequest

@return DescribeTemplateResourcesResponse

func (*Client) DescribeTemplateResourcesWithOptions

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

Summary:

Queries the resources that are associated to a protection rule template.

@param request - DescribeTemplateResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeTemplateResourcesResponse

func (*Client) DescribeUserAbnormalTrend

func (client *Client) DescribeUserAbnormalTrend(request *DescribeUserAbnormalTrendRequest) (_result *DescribeUserAbnormalTrendResponse, _err error)

Summary:

Queries the trends of API security risks.

@param request - DescribeUserAbnormalTrendRequest

@return DescribeUserAbnormalTrendResponse

func (*Client) DescribeUserAbnormalTrendWithOptions

func (client *Client) DescribeUserAbnormalTrendWithOptions(request *DescribeUserAbnormalTrendRequest, runtime *util.RuntimeOptions) (_result *DescribeUserAbnormalTrendResponse, _err error)

Summary:

Queries the trends of API security risks.

@param request - DescribeUserAbnormalTrendRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserAbnormalTrendResponse

func (*Client) DescribeUserAbnormalType

func (client *Client) DescribeUserAbnormalType(request *DescribeUserAbnormalTypeRequest) (_result *DescribeUserAbnormalTypeResponse, _err error)

Summary:

Queries the types and statistics of risks in the API security module.

@param request - DescribeUserAbnormalTypeRequest

@return DescribeUserAbnormalTypeResponse

func (*Client) DescribeUserAbnormalTypeWithOptions

func (client *Client) DescribeUserAbnormalTypeWithOptions(request *DescribeUserAbnormalTypeRequest, runtime *util.RuntimeOptions) (_result *DescribeUserAbnormalTypeResponse, _err error)

Summary:

Queries the types and statistics of risks in the API security module.

@param request - DescribeUserAbnormalTypeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserAbnormalTypeResponse

func (*Client) DescribeUserApiRequest

func (client *Client) DescribeUserApiRequest(request *DescribeUserApiRequestRequest) (_result *DescribeUserApiRequestResponse, _err error)

Summary:

Queries the traffic statistics of an API.

@param request - DescribeUserApiRequestRequest

@return DescribeUserApiRequestResponse

func (*Client) DescribeUserApiRequestWithOptions

func (client *Client) DescribeUserApiRequestWithOptions(request *DescribeUserApiRequestRequest, runtime *util.RuntimeOptions) (_result *DescribeUserApiRequestResponse, _err error)

Summary:

Queries the traffic statistics of an API.

@param request - DescribeUserApiRequestRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserApiRequestResponse

func (*Client) DescribeUserAsset

func (client *Client) DescribeUserAsset(request *DescribeUserAssetRequest) (_result *DescribeUserAssetResponse, _err error)

Summary:

Queries the user asset statistics in the API security module.

@param request - DescribeUserAssetRequest

@return DescribeUserAssetResponse

func (*Client) DescribeUserAssetWithOptions

func (client *Client) DescribeUserAssetWithOptions(request *DescribeUserAssetRequest, runtime *util.RuntimeOptions) (_result *DescribeUserAssetResponse, _err error)

Summary:

Queries the user asset statistics in the API security module.

@param request - DescribeUserAssetRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserAssetResponse

func (*Client) DescribeUserEventTrend

func (client *Client) DescribeUserEventTrend(request *DescribeUserEventTrendRequest) (_result *DescribeUserEventTrendResponse, _err error)

Summary:

Queries the trends of attacks detected by the API security module.

@param request - DescribeUserEventTrendRequest

@return DescribeUserEventTrendResponse

func (*Client) DescribeUserEventTrendWithOptions

func (client *Client) DescribeUserEventTrendWithOptions(request *DescribeUserEventTrendRequest, runtime *util.RuntimeOptions) (_result *DescribeUserEventTrendResponse, _err error)

Summary:

Queries the trends of attacks detected by the API security module.

@param request - DescribeUserEventTrendRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserEventTrendResponse

func (*Client) DescribeUserEventType

func (client *Client) DescribeUserEventType(request *DescribeUserEventTypeRequest) (_result *DescribeUserEventTypeResponse, _err error)

Summary:

Queries the types and statistics of security events in the API security module.

@param request - DescribeUserEventTypeRequest

@return DescribeUserEventTypeResponse

func (*Client) DescribeUserEventTypeWithOptions

func (client *Client) DescribeUserEventTypeWithOptions(request *DescribeUserEventTypeRequest, runtime *util.RuntimeOptions) (_result *DescribeUserEventTypeResponse, _err error)

Summary:

Queries the types and statistics of security events in the API security module.

@param request - DescribeUserEventTypeRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserEventTypeResponse

func (*Client) DescribeUserSlsLogRegions

func (client *Client) DescribeUserSlsLogRegions(request *DescribeUserSlsLogRegionsRequest) (_result *DescribeUserSlsLogRegionsResponse, _err error)

Summary:

Queries available regions for log storage.

@param request - DescribeUserSlsLogRegionsRequest

@return DescribeUserSlsLogRegionsResponse

func (*Client) DescribeUserSlsLogRegionsWithOptions

func (client *Client) DescribeUserSlsLogRegionsWithOptions(request *DescribeUserSlsLogRegionsRequest, runtime *util.RuntimeOptions) (_result *DescribeUserSlsLogRegionsResponse, _err error)

Summary:

Queries available regions for log storage.

@param request - DescribeUserSlsLogRegionsRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserSlsLogRegionsResponse

func (*Client) DescribeUserWafLogStatus

func (client *Client) DescribeUserWafLogStatus(request *DescribeUserWafLogStatusRequest) (_result *DescribeUserWafLogStatusResponse, _err error)

Summary:

Queries the status, region ID, and status modification time of Web Application Firewall (WAF) logs.

@param request - DescribeUserWafLogStatusRequest

@return DescribeUserWafLogStatusResponse

func (*Client) DescribeUserWafLogStatusWithOptions

func (client *Client) DescribeUserWafLogStatusWithOptions(request *DescribeUserWafLogStatusRequest, runtime *util.RuntimeOptions) (_result *DescribeUserWafLogStatusResponse, _err error)

Summary:

Queries the status, region ID, and status modification time of Web Application Firewall (WAF) logs.

@param request - DescribeUserWafLogStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeUserWafLogStatusResponse

func (*Client) DescribeVisitTopIp

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

Summary:

Queries the top 10 IP addresses from which requests are sent.

@param request - DescribeVisitTopIpRequest

@return DescribeVisitTopIpResponse

func (*Client) DescribeVisitTopIpWithOptions

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

Summary:

Queries the top 10 IP addresses from which requests are sent.

@param request - DescribeVisitTopIpRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeVisitTopIpResponse

func (*Client) DescribeVisitUas

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

Summary:

Queries the top 10 user agents that are used to initiate requests.

@param request - DescribeVisitUasRequest

@return DescribeVisitUasResponse

func (*Client) DescribeVisitUasWithOptions

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

Summary:

Queries the top 10 user agents that are used to initiate requests.

@param request - DescribeVisitUasRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeVisitUasResponse

func (*Client) DescribeWafSourceIpSegment

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

Summary:

Queries the back-to-origin CIDR blocks of a Web Application Firewall (WAF) instance.

@param request - DescribeWafSourceIpSegmentRequest

@return DescribeWafSourceIpSegmentResponse

func (*Client) DescribeWafSourceIpSegmentWithOptions

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

Summary:

Queries the back-to-origin CIDR blocks of a Web Application Firewall (WAF) instance.

@param request - DescribeWafSourceIpSegmentRequest

@param runtime - runtime options for this request RuntimeOptions

@return DescribeWafSourceIpSegmentResponse

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

func (client *Client) ListTagKeys(request *ListTagKeysRequest) (_result *ListTagKeysResponse, _err error)

Summary:

Queries tag keys.

@param request - ListTagKeysRequest

@return ListTagKeysResponse

func (*Client) ListTagKeysWithOptions

func (client *Client) ListTagKeysWithOptions(request *ListTagKeysRequest, runtime *util.RuntimeOptions) (_result *ListTagKeysResponse, _err error)

Summary:

Queries tag keys.

@param request - ListTagKeysRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListTagKeysResponse

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

Summary:

Queries the tags that are added to a resource.

@param request - ListTagResourcesRequest

@return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

Summary:

Queries the tags that are added to a resource.

@param request - ListTagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListTagResourcesResponse

func (*Client) ListTagValues

func (client *Client) ListTagValues(request *ListTagValuesRequest) (_result *ListTagValuesResponse, _err error)

Summary:

Queries the tag values of a tag key.

@param request - ListTagValuesRequest

@return ListTagValuesResponse

func (*Client) ListTagValuesWithOptions

func (client *Client) ListTagValuesWithOptions(request *ListTagValuesRequest, runtime *util.RuntimeOptions) (_result *ListTagValuesResponse, _err error)

Summary:

Queries the tag values of a tag key.

@param request - ListTagValuesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListTagValuesResponse

func (*Client) ModifyApisecAbnormals

func (client *Client) ModifyApisecAbnormals(request *ModifyApisecAbnormalsRequest) (_result *ModifyApisecAbnormalsResponse, _err error)

Summary:

Modifies the status of multiple risks detected by the API security module at a time.

@param request - ModifyApisecAbnormalsRequest

@return ModifyApisecAbnormalsResponse

func (*Client) ModifyApisecAbnormalsWithOptions

func (client *Client) ModifyApisecAbnormalsWithOptions(request *ModifyApisecAbnormalsRequest, runtime *util.RuntimeOptions) (_result *ModifyApisecAbnormalsResponse, _err error)

Summary:

Modifies the status of multiple risks detected by the API security module at a time.

@param request - ModifyApisecAbnormalsRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyApisecAbnormalsResponse

func (*Client) ModifyApisecApiResource

func (client *Client) ModifyApisecApiResource(request *ModifyApisecApiResourceRequest) (_result *ModifyApisecApiResourceResponse, _err error)

Summary:

Modifies the annotations of APIs in the API security module.

@param request - ModifyApisecApiResourceRequest

@return ModifyApisecApiResourceResponse

func (*Client) ModifyApisecApiResourceWithOptions

func (client *Client) ModifyApisecApiResourceWithOptions(request *ModifyApisecApiResourceRequest, runtime *util.RuntimeOptions) (_result *ModifyApisecApiResourceResponse, _err error)

Summary:

Modifies the annotations of APIs in the API security module.

@param request - ModifyApisecApiResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyApisecApiResourceResponse

func (*Client) ModifyApisecEvents

func (client *Client) ModifyApisecEvents(request *ModifyApisecEventsRequest) (_result *ModifyApisecEventsResponse, _err error)

Summary:

Modifies the status of multiple security events detected by the API security module at a time.

@param request - ModifyApisecEventsRequest

@return ModifyApisecEventsResponse

func (*Client) ModifyApisecEventsWithOptions

func (client *Client) ModifyApisecEventsWithOptions(request *ModifyApisecEventsRequest, runtime *util.RuntimeOptions) (_result *ModifyApisecEventsResponse, _err error)

Summary:

Modifies the status of multiple security events detected by the API security module at a time.

@param request - ModifyApisecEventsRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyApisecEventsResponse

func (*Client) ModifyApisecLogDelivery

func (client *Client) ModifyApisecLogDelivery(request *ModifyApisecLogDeliveryRequest) (_result *ModifyApisecLogDeliveryResponse, _err error)

Summary:

Modifies the configurations of API security log subscription.

@param request - ModifyApisecLogDeliveryRequest

@return ModifyApisecLogDeliveryResponse

func (*Client) ModifyApisecLogDeliveryStatus

func (client *Client) ModifyApisecLogDeliveryStatus(request *ModifyApisecLogDeliveryStatusRequest) (_result *ModifyApisecLogDeliveryStatusResponse, _err error)

Summary:

Modifies the status of API security log subscription.

@param request - ModifyApisecLogDeliveryStatusRequest

@return ModifyApisecLogDeliveryStatusResponse

func (*Client) ModifyApisecLogDeliveryStatusWithOptions

func (client *Client) ModifyApisecLogDeliveryStatusWithOptions(request *ModifyApisecLogDeliveryStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyApisecLogDeliveryStatusResponse, _err error)

Summary:

Modifies the status of API security log subscription.

@param request - ModifyApisecLogDeliveryStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyApisecLogDeliveryStatusResponse

func (*Client) ModifyApisecLogDeliveryWithOptions

func (client *Client) ModifyApisecLogDeliveryWithOptions(request *ModifyApisecLogDeliveryRequest, runtime *util.RuntimeOptions) (_result *ModifyApisecLogDeliveryResponse, _err error)

Summary:

Modifies the configurations of API security log subscription.

@param request - ModifyApisecLogDeliveryRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyApisecLogDeliveryResponse

func (*Client) ModifyApisecModuleStatus

func (client *Client) ModifyApisecModuleStatus(request *ModifyApisecModuleStatusRequest) (_result *ModifyApisecModuleStatusResponse, _err error)

Summary:

Changes the status of features in the API security module for protected objects or protected object groups.

@param request - ModifyApisecModuleStatusRequest

@return ModifyApisecModuleStatusResponse

func (*Client) ModifyApisecModuleStatusWithOptions

func (client *Client) ModifyApisecModuleStatusWithOptions(request *ModifyApisecModuleStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyApisecModuleStatusResponse, _err error)

Summary:

Changes the status of features in the API security module for protected objects or protected object groups.

@param request - ModifyApisecModuleStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyApisecModuleStatusResponse

func (*Client) ModifyApisecStatus

func (client *Client) ModifyApisecStatus(request *ModifyApisecStatusRequest) (_result *ModifyApisecStatusResponse, _err error)

Summary:

Changes the status of the API security module for protected objects or protected object groups.

@param request - ModifyApisecStatusRequest

@return ModifyApisecStatusResponse

func (*Client) ModifyApisecStatusWithOptions

func (client *Client) ModifyApisecStatusWithOptions(request *ModifyApisecStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyApisecStatusResponse, _err error)

Summary:

Changes the status of the API security module for protected objects or protected object groups.

@param request - ModifyApisecStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyApisecStatusResponse

func (*Client) ModifyCloudResource

func (client *Client) ModifyCloudResource(request *ModifyCloudResourceRequest) (_result *ModifyCloudResourceResponse, _err error)

Summary:

Modifies the configurations of a service that is added to Web Application Firewall (WAF).

@param request - ModifyCloudResourceRequest

@return ModifyCloudResourceResponse

func (*Client) ModifyCloudResourceWithOptions

func (client *Client) ModifyCloudResourceWithOptions(tmpReq *ModifyCloudResourceRequest, runtime *util.RuntimeOptions) (_result *ModifyCloudResourceResponse, _err error)

Summary:

Modifies the configurations of a service that is added to Web Application Firewall (WAF).

@param tmpReq - ModifyCloudResourceRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyCloudResourceResponse

func (*Client) ModifyDefaultHttps

func (client *Client) ModifyDefaultHttps(request *ModifyDefaultHttpsRequest) (_result *ModifyDefaultHttpsResponse, _err error)

Summary:

Modifies the default Secure Sockets Layer (SSL) and Transport Layer Security (TLS) settings.

@param request - ModifyDefaultHttpsRequest

@return ModifyDefaultHttpsResponse

func (*Client) ModifyDefaultHttpsWithOptions

func (client *Client) ModifyDefaultHttpsWithOptions(request *ModifyDefaultHttpsRequest, runtime *util.RuntimeOptions) (_result *ModifyDefaultHttpsResponse, _err error)

Summary:

Modifies the default Secure Sockets Layer (SSL) and Transport Layer Security (TLS) settings.

@param request - ModifyDefaultHttpsRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDefaultHttpsResponse

func (*Client) ModifyDefenseResourceGroup

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

Summary:

Modifies the configurations of a protected object group.

@param request - ModifyDefenseResourceGroupRequest

@return ModifyDefenseResourceGroupResponse

func (*Client) ModifyDefenseResourceGroupWithOptions

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

Summary:

Modifies the configurations of a protected object group.

@param request - ModifyDefenseResourceGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDefenseResourceGroupResponse

func (*Client) ModifyDefenseResourceXff

func (client *Client) ModifyDefenseResourceXff(request *ModifyDefenseResourceXffRequest) (_result *ModifyDefenseResourceXffResponse, _err error)

Summary:

Modifies the cookie settings of a protected object and the method to identify the originating IP addresses of clients.

@param request - ModifyDefenseResourceXffRequest

@return ModifyDefenseResourceXffResponse

func (*Client) ModifyDefenseResourceXffWithOptions

func (client *Client) ModifyDefenseResourceXffWithOptions(request *ModifyDefenseResourceXffRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseResourceXffResponse, _err error)

Summary:

Modifies the cookie settings of a protected object and the method to identify the originating IP addresses of clients.

@param request - ModifyDefenseResourceXffRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDefenseResourceXffResponse

func (*Client) ModifyDefenseRule

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

Summary:

Modifies the configurations of a protection rule.

@param request - ModifyDefenseRuleRequest

@return ModifyDefenseRuleResponse

func (*Client) ModifyDefenseRuleCache

func (client *Client) ModifyDefenseRuleCache(request *ModifyDefenseRuleCacheRequest) (_result *ModifyDefenseRuleCacheResponse, _err error)

Summary:

Updates the cached page of a website that is protected based on a website tamper-proofing rule.

@param request - ModifyDefenseRuleCacheRequest

@return ModifyDefenseRuleCacheResponse

func (*Client) ModifyDefenseRuleCacheWithOptions

func (client *Client) ModifyDefenseRuleCacheWithOptions(request *ModifyDefenseRuleCacheRequest, runtime *util.RuntimeOptions) (_result *ModifyDefenseRuleCacheResponse, _err error)

Summary:

Updates the cached page of a website that is protected based on a website tamper-proofing rule.

@param request - ModifyDefenseRuleCacheRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDefenseRuleCacheResponse

func (*Client) ModifyDefenseRuleStatus

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

Summary:

Changes the status of a protection rule.

@param request - ModifyDefenseRuleStatusRequest

@return ModifyDefenseRuleStatusResponse

func (*Client) ModifyDefenseRuleStatusWithOptions

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

Summary:

Changes the status of a protection rule.

@param request - ModifyDefenseRuleStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDefenseRuleStatusResponse

func (*Client) ModifyDefenseRuleWithOptions

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

Summary:

Modifies the configurations of a protection rule.

@param request - ModifyDefenseRuleRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDefenseRuleResponse

func (*Client) ModifyDefenseTemplate

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

Summary:

Modifies the configurations of a protection rule template.

@param request - ModifyDefenseTemplateRequest

@return ModifyDefenseTemplateResponse

func (*Client) ModifyDefenseTemplateStatus

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

Summary:

Changes the status of a protection rule template.

@param request - ModifyDefenseTemplateStatusRequest

@return ModifyDefenseTemplateStatusResponse

func (*Client) ModifyDefenseTemplateStatusWithOptions

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

Summary:

Changes the status of a protection rule template.

@param request - ModifyDefenseTemplateStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDefenseTemplateStatusResponse

func (*Client) ModifyDefenseTemplateWithOptions

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

Summary:

Modifies the configurations of a protection rule template.

@param request - ModifyDefenseTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDefenseTemplateResponse

func (*Client) ModifyDomain

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

Summary:

Modifies the configurations of a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.

@param request - ModifyDomainRequest

@return ModifyDomainResponse

func (*Client) ModifyDomainPunishStatus

func (client *Client) ModifyDomainPunishStatus(request *ModifyDomainPunishStatusRequest) (_result *ModifyDomainPunishStatusResponse, _err error)

Summary:

Re-adds a domain name that is penalized for failing to obtain an Internet Content Provider (ICP) filing to Web Application Firewall (WAF).

@param request - ModifyDomainPunishStatusRequest

@return ModifyDomainPunishStatusResponse

func (*Client) ModifyDomainPunishStatusWithOptions

func (client *Client) ModifyDomainPunishStatusWithOptions(request *ModifyDomainPunishStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyDomainPunishStatusResponse, _err error)

Summary:

Re-adds a domain name that is penalized for failing to obtain an Internet Content Provider (ICP) filing to Web Application Firewall (WAF).

@param request - ModifyDomainPunishStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDomainPunishStatusResponse

func (*Client) ModifyDomainWithOptions

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

Summary:

Modifies the configurations of a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.

@param tmpReq - ModifyDomainRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyDomainResponse

func (*Client) ModifyHybridCloudClusterBypassStatus

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

Summary:

Enables or disables manual bypass for a hybrid cloud cluster whose type is set to SDK Integration Mode.

@param request - ModifyHybridCloudClusterBypassStatusRequest

@return ModifyHybridCloudClusterBypassStatusResponse

func (*Client) ModifyHybridCloudClusterBypassStatusWithOptions

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

Summary:

Enables or disables manual bypass for a hybrid cloud cluster whose type is set to SDK Integration Mode.

@param request - ModifyHybridCloudClusterBypassStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyHybridCloudClusterBypassStatusResponse

func (*Client) ModifyHybridCloudClusterRule

func (client *Client) ModifyHybridCloudClusterRule(request *ModifyHybridCloudClusterRuleRequest) (_result *ModifyHybridCloudClusterRuleResponse, _err error)

Summary:

Modifies the rule of a hybrid cloud cluster.

@param request - ModifyHybridCloudClusterRuleRequest

@return ModifyHybridCloudClusterRuleResponse

func (*Client) ModifyHybridCloudClusterRuleWithOptions

func (client *Client) ModifyHybridCloudClusterRuleWithOptions(request *ModifyHybridCloudClusterRuleRequest, runtime *util.RuntimeOptions) (_result *ModifyHybridCloudClusterRuleResponse, _err error)

Summary:

Modifies the rule of a hybrid cloud cluster.

@param request - ModifyHybridCloudClusterRuleRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyHybridCloudClusterRuleResponse

func (*Client) ModifyHybridCloudGroup

func (client *Client) ModifyHybridCloudGroup(request *ModifyHybridCloudGroupRequest) (_result *ModifyHybridCloudGroupResponse, _err error)

Summary:

Modifies a node group in a hybrid cloud cluster.

@param request - ModifyHybridCloudGroupRequest

@return ModifyHybridCloudGroupResponse

func (*Client) ModifyHybridCloudGroupExpansionServer

func (client *Client) ModifyHybridCloudGroupExpansionServer(request *ModifyHybridCloudGroupExpansionServerRequest) (_result *ModifyHybridCloudGroupExpansionServerResponse, _err error)

Summary:

Adds a node to a node group of a hybrid cloud cluster.

@param request - ModifyHybridCloudGroupExpansionServerRequest

@return ModifyHybridCloudGroupExpansionServerResponse

func (*Client) ModifyHybridCloudGroupExpansionServerWithOptions

func (client *Client) ModifyHybridCloudGroupExpansionServerWithOptions(request *ModifyHybridCloudGroupExpansionServerRequest, runtime *util.RuntimeOptions) (_result *ModifyHybridCloudGroupExpansionServerResponse, _err error)

Summary:

Adds a node to a node group of a hybrid cloud cluster.

@param request - ModifyHybridCloudGroupExpansionServerRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyHybridCloudGroupExpansionServerResponse

func (*Client) ModifyHybridCloudGroupShrinkServer

func (client *Client) ModifyHybridCloudGroupShrinkServer(request *ModifyHybridCloudGroupShrinkServerRequest) (_result *ModifyHybridCloudGroupShrinkServerResponse, _err error)

Summary:

Deletes a node from a node group of a hybrid cloud cluster.

@param request - ModifyHybridCloudGroupShrinkServerRequest

@return ModifyHybridCloudGroupShrinkServerResponse

func (*Client) ModifyHybridCloudGroupShrinkServerWithOptions

func (client *Client) ModifyHybridCloudGroupShrinkServerWithOptions(request *ModifyHybridCloudGroupShrinkServerRequest, runtime *util.RuntimeOptions) (_result *ModifyHybridCloudGroupShrinkServerResponse, _err error)

Summary:

Deletes a node from a node group of a hybrid cloud cluster.

@param request - ModifyHybridCloudGroupShrinkServerRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyHybridCloudGroupShrinkServerResponse

func (*Client) ModifyHybridCloudGroupWithOptions

func (client *Client) ModifyHybridCloudGroupWithOptions(request *ModifyHybridCloudGroupRequest, runtime *util.RuntimeOptions) (_result *ModifyHybridCloudGroupResponse, _err error)

Summary:

Modifies a node group in a hybrid cloud cluster.

@param request - ModifyHybridCloudGroupRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyHybridCloudGroupResponse

func (*Client) ModifyHybridCloudSdkPullinStatus

func (client *Client) ModifyHybridCloudSdkPullinStatus(request *ModifyHybridCloudSdkPullinStatusRequest) (_result *ModifyHybridCloudSdkPullinStatusResponse, _err error)

Summary:

Modifies the traffic redirection status of a hybrid cloud cluster by using an SDK.

@param request - ModifyHybridCloudSdkPullinStatusRequest

@return ModifyHybridCloudSdkPullinStatusResponse

func (*Client) ModifyHybridCloudSdkPullinStatusWithOptions

func (client *Client) ModifyHybridCloudSdkPullinStatusWithOptions(request *ModifyHybridCloudSdkPullinStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyHybridCloudSdkPullinStatusResponse, _err error)

Summary:

Modifies the traffic redirection status of a hybrid cloud cluster by using an SDK.

@param request - ModifyHybridCloudSdkPullinStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyHybridCloudSdkPullinStatusResponse

func (*Client) ModifyHybridCloudServer

func (client *Client) ModifyHybridCloudServer(request *ModifyHybridCloudServerRequest) (_result *ModifyHybridCloudServerResponse, _err error)

Summary:

Modifies the information about a hybrid cloud node.

@param request - ModifyHybridCloudServerRequest

@return ModifyHybridCloudServerResponse

func (*Client) ModifyHybridCloudServerWithOptions

func (client *Client) ModifyHybridCloudServerWithOptions(request *ModifyHybridCloudServerRequest, runtime *util.RuntimeOptions) (_result *ModifyHybridCloudServerResponse, _err error)

Summary:

Modifies the information about a hybrid cloud node.

@param request - ModifyHybridCloudServerRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyHybridCloudServerResponse

func (*Client) ModifyMajorProtectionBlackIp

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

Summary:

Modifies an IP address blacklist for major event protection.

@param request - ModifyMajorProtectionBlackIpRequest

@return ModifyMajorProtectionBlackIpResponse

func (*Client) ModifyMajorProtectionBlackIpWithOptions

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

Summary:

Modifies an IP address blacklist for major event protection.

@param request - ModifyMajorProtectionBlackIpRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyMajorProtectionBlackIpResponse

func (*Client) ModifyMemberAccount

func (client *Client) ModifyMemberAccount(request *ModifyMemberAccountRequest) (_result *ModifyMemberAccountResponse, _err error)

Summary:

Modifies the information about members that are added for multi-account management.

@param request - ModifyMemberAccountRequest

@return ModifyMemberAccountResponse

func (*Client) ModifyMemberAccountWithOptions

func (client *Client) ModifyMemberAccountWithOptions(request *ModifyMemberAccountRequest, runtime *util.RuntimeOptions) (_result *ModifyMemberAccountResponse, _err error)

Summary:

Modifies the information about members that are added for multi-account management.

@param request - ModifyMemberAccountRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyMemberAccountResponse

func (*Client) ModifyPauseProtectionStatus

func (client *Client) ModifyPauseProtectionStatus(request *ModifyPauseProtectionStatusRequest) (_result *ModifyPauseProtectionStatusResponse, _err error)

Summary:

Modifies the protection status of Web Application Firewall (WAF).

@param request - ModifyPauseProtectionStatusRequest

@return ModifyPauseProtectionStatusResponse

func (*Client) ModifyPauseProtectionStatusWithOptions

func (client *Client) ModifyPauseProtectionStatusWithOptions(request *ModifyPauseProtectionStatusRequest, runtime *util.RuntimeOptions) (_result *ModifyPauseProtectionStatusResponse, _err error)

Summary:

Modifies the protection status of Web Application Firewall (WAF).

@param request - ModifyPauseProtectionStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyPauseProtectionStatusResponse

func (*Client) ModifyResourceLogStatus

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

Summary:

Enables or disables the log collection feature for a protected object.

@param request - ModifyResourceLogStatusRequest

@return ModifyResourceLogStatusResponse

func (*Client) ModifyResourceLogStatusWithOptions

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

Summary:

Enables or disables the log collection feature for a protected object.

@param request - ModifyResourceLogStatusRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyResourceLogStatusResponse

func (*Client) ModifyTemplateResources

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

Summary:

Associates or disassociates a protected object or protected object group with or from a protection rule template.

@param request - ModifyTemplateResourcesRequest

@return ModifyTemplateResourcesResponse

func (*Client) ModifyTemplateResourcesWithOptions

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

Summary:

Associates or disassociates a protected object or protected object group with or from a protection rule template.

@param request - ModifyTemplateResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifyTemplateResourcesResponse

func (*Client) ReleaseInstance

func (client *Client) ReleaseInstance(request *ReleaseInstanceRequest) (_result *ReleaseInstanceResponse, _err error)

Summary:

Releases a Web Application Firewall (WAF) 3.0 instance.

@param request - ReleaseInstanceRequest

@return ReleaseInstanceResponse

func (*Client) ReleaseInstanceWithOptions

func (client *Client) ReleaseInstanceWithOptions(request *ReleaseInstanceRequest, runtime *util.RuntimeOptions) (_result *ReleaseInstanceResponse, _err error)

Summary:

Releases a Web Application Firewall (WAF) 3.0 instance.

@param request - ReleaseInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return ReleaseInstanceResponse

func (*Client) SyncProductInstance

func (client *Client) SyncProductInstance(request *SyncProductInstanceRequest) (_result *SyncProductInstanceResponse, _err error)

Summary:

Synchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances with Web Application Firewall (WAF).

Description:

SyncProductInstance is an asynchronous operation. You can call the [DescribeProductInstances](https://help.aliyun.com/document_detail/2743168.html) operation to query the status of the task.

@param request - SyncProductInstanceRequest

@return SyncProductInstanceResponse

func (*Client) SyncProductInstanceWithOptions

func (client *Client) SyncProductInstanceWithOptions(request *SyncProductInstanceRequest, runtime *util.RuntimeOptions) (_result *SyncProductInstanceResponse, _err error)

Summary:

Synchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances with Web Application Firewall (WAF).

Description:

SyncProductInstance is an asynchronous operation. You can call the [DescribeProductInstances](https://help.aliyun.com/document_detail/2743168.html) operation to query the status of the task.

@param request - SyncProductInstanceRequest

@param runtime - runtime options for this request RuntimeOptions

@return SyncProductInstanceResponse

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

Summary:

Adds tags to resources.

@param request - TagResourcesRequest

@return TagResourcesResponse

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

Summary:

Adds tags to resources.

@param request - TagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return TagResourcesResponse

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)

Summary:

Removes tags from resources and then deletes the tags.

@param request - UntagResourcesRequest

@return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

Summary:

Removes tags from resources and then deletes the tags.

@param request - UntagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return UntagResourcesResponse

type CopyDefenseTemplateRequest

type CopyDefenseTemplateRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-lbj****x10g
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection template that you want to copy.
	//
	// This parameter is required.
	//
	// example:
	//
	// 12345
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (CopyDefenseTemplateRequest) GoString

func (s CopyDefenseTemplateRequest) GoString() string

func (*CopyDefenseTemplateRequest) SetInstanceId

func (*CopyDefenseTemplateRequest) SetRegionId

func (*CopyDefenseTemplateRequest) SetResourceManagerResourceGroupId

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

func (*CopyDefenseTemplateRequest) SetTemplateId

func (CopyDefenseTemplateRequest) String

type CopyDefenseTemplateResponse

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

func (CopyDefenseTemplateResponse) GoString

func (s CopyDefenseTemplateResponse) GoString() string

func (*CopyDefenseTemplateResponse) SetBody

func (*CopyDefenseTemplateResponse) SetHeaders

func (*CopyDefenseTemplateResponse) SetStatusCode

func (CopyDefenseTemplateResponse) String

type CopyDefenseTemplateResponseBody

type CopyDefenseTemplateResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the new protection template.
	//
	// example:
	//
	// 12346
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (CopyDefenseTemplateResponseBody) GoString

func (*CopyDefenseTemplateResponseBody) SetRequestId

func (*CopyDefenseTemplateResponseBody) SetTemplateId

func (CopyDefenseTemplateResponseBody) String

type CreateApiExportRequest

type CreateApiExportRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 993
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-zxu3***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The extended parameters of the data export task. The parameter value is in the JSON format. The following keys are supported:
	//
	// 	- **instanceId**: the instance ID
	//
	// 	- **clusterId**: the ID of the hybrid cloud cluster
	//
	// 	- **orderKey**: the name of the field used to sort exported data
	//
	// 	- **orderWay**: the sorting method of the exported data
	//
	// example:
	//
	// {
	//
	//     "orderWay": "asc",
	//
	//     "orderKey": "endTs",
	//
	//     "instanceId": "waf_v3prepaid_public_cn-****"
	//
	// }
	Param *string `json:"Param,omitempty" xml:"Param,omitempty"`
	// Language type. Valid values:
	//
	// - **cn**: Chinese.
	//
	// - **en**: English.
	//
	// example:
	//
	// cn
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the data export task. Valid values:
	//
	// 	- **apisec_api**: API tasks
	//
	// 	- **apisec_abnormal**: API risk tasks
	//
	// 	- **apisec_event**: API security event tasks
	//
	// example:
	//
	// apisec_api
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The ID of the time zone.
	//
	// example:
	//
	// Asia/Shanghai
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (CreateApiExportRequest) GoString

func (s CreateApiExportRequest) GoString() string

func (*CreateApiExportRequest) SetClusterId

func (*CreateApiExportRequest) SetInstanceId

func (*CreateApiExportRequest) SetParam

func (*CreateApiExportRequest) SetRegion

func (*CreateApiExportRequest) SetRegionId

func (*CreateApiExportRequest) SetResourceManagerResourceGroupId

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

func (*CreateApiExportRequest) SetType

func (*CreateApiExportRequest) SetZoneId

func (CreateApiExportRequest) String

func (s CreateApiExportRequest) String() string

type CreateApiExportResponse

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

func (CreateApiExportResponse) GoString

func (s CreateApiExportResponse) GoString() string

func (*CreateApiExportResponse) SetBody

func (*CreateApiExportResponse) SetHeaders

func (*CreateApiExportResponse) SetStatusCode

func (CreateApiExportResponse) String

func (s CreateApiExportResponse) String() string

type CreateApiExportResponseBody

type CreateApiExportResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 62382992-F9AA-52B2-9147-66B3B9E51D74
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateApiExportResponseBody) GoString

func (s CreateApiExportResponseBody) GoString() string

func (*CreateApiExportResponseBody) SetRequestId

func (CreateApiExportResponseBody) String

type CreateCloudResourceRequest

type CreateCloudResourceRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	//
	// This parameter is required.
	Listen *CreateCloudResourceRequestListen `json:"Listen,omitempty" xml:"Listen,omitempty" type:"Struct"`
	// The ID of the Alibaba Cloud account to which the resource belongs.
	//
	// example:
	//
	// 123
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The configurations of the forwarding rule.
	Redirect *CreateCloudResourceRequestRedirect `json:"Redirect,omitempty" xml:"Redirect,omitempty" type:"Struct"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The tags to add to the resource.
	Tag []*CreateCloudResourceRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateCloudResourceRequest) GoString

func (s CreateCloudResourceRequest) GoString() string

func (*CreateCloudResourceRequest) SetInstanceId

func (*CreateCloudResourceRequest) SetListen

func (*CreateCloudResourceRequest) SetOwnerUserId

func (*CreateCloudResourceRequest) SetRedirect

func (*CreateCloudResourceRequest) SetRegionId

func (*CreateCloudResourceRequest) SetResourceManagerResourceGroupId

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

func (*CreateCloudResourceRequest) SetTag added in v5.0.2

func (CreateCloudResourceRequest) String

type CreateCloudResourceRequestListen

type CreateCloudResourceRequestListen struct {
	// An array of certificates.
	Certificates []*CreateCloudResourceRequestListenCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The type of the cipher suites 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 set the parameter to this value only if you set **TLSVersion*	- to **tlsv1.2**.
	//
	// 	- **99**: custom cipher suites.
	//
	// example:
	//
	// 1
	CipherSuite *int32 `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// The custom cipher suites that you want to add. This parameter is available only if you set **CipherSuite*	- to **99**.
	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**
	//
	// if can be null:
	// true
	//
	// example:
	//
	// true
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// Specifies whether to enable HTTP/2. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// 	- **true**
	//
	// 	- **false*	- (default)
	//
	// example:
	//
	// true
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// The port of the resource that you want to add to WAF.
	//
	// This parameter is required.
	//
	// example:
	//
	// 80
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The type of the protocol. Valid values:
	//
	// 	- **http**
	//
	// 	- **https**
	//
	// This parameter is required.
	//
	// example:
	//
	// http
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The ID of the resource.
	//
	// This parameter is required.
	//
	// example:
	//
	// lb-bp1*****
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The cloud service. Valid values:
	//
	// 	- **clb4**: Layer 4 CLB.
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// 	- **ecs**: ECS.
	//
	// This parameter is required.
	//
	// example:
	//
	// clb4
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
	// The Transport Layer Security (TLS) version. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// 	- **tlsv1**
	//
	// 	- **tlsv1.1**
	//
	// 	- **tlsv1.2**
	//
	// example:
	//
	// tlsv1
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
}

func (CreateCloudResourceRequestListen) GoString

func (*CreateCloudResourceRequestListen) SetCipherSuite

func (*CreateCloudResourceRequestListen) SetCustomCiphers

func (*CreateCloudResourceRequestListen) SetEnableTLSv3

func (*CreateCloudResourceRequestListen) SetHttp2Enabled

func (*CreateCloudResourceRequestListen) SetPort

func (*CreateCloudResourceRequestListen) SetProtocol

func (*CreateCloudResourceRequestListen) SetResourceInstanceId

func (*CreateCloudResourceRequestListen) SetResourceProduct

func (*CreateCloudResourceRequestListen) SetTLSVersion

func (CreateCloudResourceRequestListen) String

type CreateCloudResourceRequestListenCertificates

type CreateCloudResourceRequestListenCertificates struct {
	// The type of the HTTPS certificate. Valid values:
	//
	// 	- **default**: default certificate.
	//
	// 	- **extension**: additional certificate.
	//
	// example:
	//
	// default
	AppliedType *string `json:"AppliedType,omitempty" xml:"AppliedType,omitempty"`
	// The ID of the certificate that you want to add.
	//
	// >  You can call the [DescribeCertificates](https://help.aliyun.com/document_detail/160783.html) operation to query the IDs of all SSL certificates that are associated with a domain name.
	//
	// example:
	//
	// 123-cn-hangzhou
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (CreateCloudResourceRequestListenCertificates) GoString

func (*CreateCloudResourceRequestListenCertificates) SetAppliedType

func (*CreateCloudResourceRequestListenCertificates) SetCertificateId

func (CreateCloudResourceRequestListenCertificates) String

type CreateCloudResourceRequestRedirect

type CreateCloudResourceRequestRedirect struct {
	// Specifies whether to enable the persistent connection feature. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false:**
	//
	// example:
	//
	// true
	Keepalive *bool `json:"Keepalive,omitempty" xml:"Keepalive,omitempty"`
	// The number of requests that reuse persistent connections. Valid values: 60 to 1000.
	//
	// >  This parameter specifies the number of requests that can reuse persistent connections after you enable the persistent connection feature.
	//
	// example:
	//
	// 1000
	KeepaliveRequests *int32 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period for idle persistent connections. Valid values: 10 to 3600. Default value: 3600. Unit: seconds.
	//
	// >  If no new requests are initiated over the idle persistent connection within the specified timeout period, the connection is closed
	//
	// example:
	//
	// 15
	KeepaliveTimeout *int32 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The timeout period for read connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 1
	ReadTimeout *int32 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The custom header fields. Specify the value in the [**{"k":"*key*","v":"*value*"}**] format. ***key**	- specifies the key of the custom header field. ***value**	- specifies the value of the custom header field.
	//
	// >  If the request contains the custom header field, WAF overwrites the original value of the field with the specified value.
	RequestHeaders []*CreateCloudResourceRequestRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// The timeout period for write connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 1
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	// The method that WAF uses to obtain the originating 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 originating IP address of the client.
	//
	// 	- **2**: WAF reads the value of a custom header field as the originating IP address of the client.
	//
	// example:
	//
	// 1
	XffHeaderMode *int32 `json:"XffHeaderMode,omitempty" xml:"XffHeaderMode,omitempty"`
	// The custom header fields that are used to obtain the originating IP address of a client. Specify the value in the **["header1","header2",...]*	- format.
	//
	// >  This parameter is required only if you set **XffHeaderMode*	- to 2.
	XffHeaders []*string `json:"XffHeaders,omitempty" xml:"XffHeaders,omitempty" type:"Repeated"`
	// Specifies whether to use the X-Forward-For-Proto header to identify the protocol used by WAF to forward requests to the origin server. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	XffProto *bool `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (CreateCloudResourceRequestRedirect) GoString

func (*CreateCloudResourceRequestRedirect) SetKeepalive

func (*CreateCloudResourceRequestRedirect) SetKeepaliveRequests

func (*CreateCloudResourceRequestRedirect) SetKeepaliveTimeout

func (*CreateCloudResourceRequestRedirect) SetReadTimeout

func (*CreateCloudResourceRequestRedirect) SetWriteTimeout

func (*CreateCloudResourceRequestRedirect) SetXffHeaderMode

func (*CreateCloudResourceRequestRedirect) SetXffHeaders

func (*CreateCloudResourceRequestRedirect) SetXffProto

func (CreateCloudResourceRequestRedirect) String

type CreateCloudResourceRequestRedirectRequestHeaders

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

func (CreateCloudResourceRequestRedirectRequestHeaders) GoString

func (*CreateCloudResourceRequestRedirectRequestHeaders) SetKey

func (*CreateCloudResourceRequestRedirectRequestHeaders) SetValue

func (CreateCloudResourceRequestRedirectRequestHeaders) String

type CreateCloudResourceRequestTag added in v5.0.2

type CreateCloudResourceRequestTag struct {
	// The key of tag N to add to the resource. Valid values of N: 1 to 20.
	//
	// example:
	//
	// TagKey1
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N to add to the resource. Valid values of N: 1 to 20.
	//
	// example:
	//
	// TagValue1
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateCloudResourceRequestTag) GoString added in v5.0.2

func (*CreateCloudResourceRequestTag) SetKey added in v5.0.2

func (*CreateCloudResourceRequestTag) SetValue added in v5.0.2

func (CreateCloudResourceRequestTag) String added in v5.0.2

type CreateCloudResourceResponse

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

func (CreateCloudResourceResponse) GoString

func (s CreateCloudResourceResponse) GoString() string

func (*CreateCloudResourceResponse) SetBody

func (*CreateCloudResourceResponse) SetHeaders

func (*CreateCloudResourceResponse) SetStatusCode

func (CreateCloudResourceResponse) String

type CreateCloudResourceResponseBody

type CreateCloudResourceResponseBody struct {
	// The ID of the resource that is added to WAF. The ID is automatically generated.
	//
	// example:
	//
	// lb-***
	CloudResourceId *string `json:"CloudResourceId,omitempty" xml:"CloudResourceId,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 66A98669-ER12-WE34-23PO-301469*****E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateCloudResourceResponseBody) GoString

func (*CreateCloudResourceResponseBody) SetCloudResourceId

func (*CreateCloudResourceResponseBody) SetRequestId

func (CreateCloudResourceResponseBody) String

type CreateCloudResourceShrinkRequest

type CreateCloudResourceShrinkRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	//
	// This parameter is required.
	ListenShrink *string `json:"Listen,omitempty" xml:"Listen,omitempty"`
	// The ID of the Alibaba Cloud account to which the resource belongs.
	//
	// example:
	//
	// 123
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The configurations of the forwarding rule.
	RedirectShrink *string `json:"Redirect,omitempty" xml:"Redirect,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The tags to add to the resource.
	Tag []*CreateCloudResourceShrinkRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateCloudResourceShrinkRequest) GoString

func (*CreateCloudResourceShrinkRequest) SetInstanceId

func (*CreateCloudResourceShrinkRequest) SetListenShrink

func (*CreateCloudResourceShrinkRequest) SetOwnerUserId

func (*CreateCloudResourceShrinkRequest) SetRedirectShrink

func (*CreateCloudResourceShrinkRequest) SetRegionId

func (*CreateCloudResourceShrinkRequest) SetResourceManagerResourceGroupId

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

func (*CreateCloudResourceShrinkRequest) SetTag added in v5.0.2

func (CreateCloudResourceShrinkRequest) String

type CreateCloudResourceShrinkRequestTag added in v5.0.2

type CreateCloudResourceShrinkRequestTag struct {
	// The key of tag N to add to the resource. Valid values of N: 1 to 20.
	//
	// example:
	//
	// TagKey1
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N to add to the resource. Valid values of N: 1 to 20.
	//
	// example:
	//
	// TagValue1
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateCloudResourceShrinkRequestTag) GoString added in v5.0.2

func (*CreateCloudResourceShrinkRequestTag) SetKey added in v5.0.2

func (*CreateCloudResourceShrinkRequestTag) SetValue added in v5.0.2

func (CreateCloudResourceShrinkRequestTag) String added in v5.0.2

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 (,).
	//
	// example:
	//
	// test1.aliyundoc.com,test2.aliyundoc.com
	AddList *string `json:"AddList,omitempty" xml:"AddList,omitempty"`
	// The description of the protected object group.
	//
	// example:
	//
	// test_domain
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the protected object group that you want to create.
	//
	// This parameter is required.
	//
	// example:
	//
	// group221
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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

func (*CreateDefenseResourceGroupRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 5D69B341-4F97-58E7-9E16-1B17FE7A9E98
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_group
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// This parameter is required.
	Rules *string `json:"Rules,omitempty" xml:"Rules,omitempty"`
	// The ID of the rule template for which you want to create a protection rule.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1122
	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

func (*CreateDefenseRuleRequest) SetResourceManagerResourceGroupId

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 request ID.
	//
	// example:
	//
	// 26E46541-7AAB-5565-801D-F14DBDC5F186
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The IDs of the protection rules. Multiple IDs are separated by commas (,).
	//
	// example:
	//
	// 22215,23354,462165
	RuleIds *string `json:"RuleIds,omitempty" xml:"RuleIds,omitempty"`
}

func (CreateDefenseRuleResponseBody) GoString

func (*CreateDefenseRuleResponseBody) SetRequestId

func (*CreateDefenseRuleResponseBody) SetRuleIds

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.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_group
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The description of the protection rule template.
	//
	// example:
	//
	// Test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The name of the protection rule template.
	//
	// This parameter is required.
	//
	// example:
	//
	// test221
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// custom
	TemplateOrigin *string `json:"TemplateOrigin,omitempty" xml:"TemplateOrigin,omitempty"`
	// The status of the protection rule template. Valid values:
	//
	// 	- **0:*	- disabled.
	//
	// 	- **1:*	- enabled.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// user_default
	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

func (*CreateDefenseTemplateRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// F48ABDF7-D777-5F26-892A-57349765D7A9
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the protection rule template.
	//
	// example:
	//
	// 2212
	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.
	//
	// example:
	//
	// share
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name that you want to add to WAF.
	//
	// This parameter is required.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	//
	// This parameter is required.
	Listen *CreateDomainRequestListen `json:"Listen,omitempty" xml:"Listen,omitempty" type:"Struct"`
	// The configurations of the forwarding rule.
	//
	// This parameter is required.
	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
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string                   `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	Tag                            []*CreateDomainRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

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

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

func (*CreateDomainRequest) SetTag added in v5.0.2

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**.
	//
	// if can be null:
	// true
	//
	// example:
	//
	// 123
	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.
	//
	// example:
	//
	// 2
	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**
	//
	// if can be null:
	// true
	//
	// example:
	//
	// true
	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)
	//
	// example:
	//
	// true
	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**
	//
	// example:
	//
	// true
	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)
	//
	// example:
	//
	// true
	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)
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// share
	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
	//
	// if can be null:
	// true
	//
	// example:
	//
	// true
	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.
	//
	// if can be null:
	// true
	//
	// example:
	//
	// 123-cn-hangzhou
	SM2CertId *string `json:"SM2CertId,omitempty" xml:"SM2CertId,omitempty"`
	// Specifies whether to enable the ShangMi (SM) certificate.
	//
	// if can be null:
	// true
	//
	// example:
	//
	// true
	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**
	//
	// example:
	//
	// tlsv1
	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.
	//
	// example:
	//
	// 1
	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

func (*CreateDomainRequestListen) SetSM2CertId

func (*CreateDomainRequestListen) SetSM2Enabled

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"`
	BackupBackends []*string `json:"BackupBackends,omitempty" xml:"BackupBackends,omitempty" type:"Repeated"`
	// Specifies whether to enable the public cloud disaster recovery feature. Valid values:
	//
	// 	- **true**
	//
	// 	- **false*	- (default)
	//
	// example:
	//
	// true
	CnameEnabled *bool `json:"CnameEnabled,omitempty" xml:"CnameEnabled,omitempty"`
	// The timeout period for connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 120
	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**
	//
	// example:
	//
	// true
	FocusHttpBackend *bool `json:"FocusHttpBackend,omitempty" xml:"FocusHttpBackend,omitempty"`
	// Specifies whether to enable the persistent connection feature. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// 1000
	KeepaliveRequests *int32 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period for idle persistent connections. Valid values: 1 to 60. Default value: 15. Unit: seconds.
	//
	// >  This parameter specifies the time for which a reused persistent connection can remain in the Idle state before the persistent connection is closed.
	//
	// example:
	//
	// 15
	KeepaliveTimeout *int32 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The load balancing algorithm that you want to use to forward requests to the origin server. Valid values:
	//
	// 	- **iphash**
	//
	// 	- **roundRobin**
	//
	// 	- **leastTime*	- You can set the parameter to this value only if you set **ProtectionResource*	- to **gslb**.
	//
	// This parameter is required.
	//
	// example:
	//
	// roundRobin
	Loadbalance *string `json:"Loadbalance,omitempty" xml:"Loadbalance,omitempty"`
	// The timeout period for read connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 200
	ReadTimeout *int32 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The custom header field that you want to use to label requests that are processed by WAF.
	//
	// When a request passes through WAF, the custom header field is automatically used to label the request. This way, the backend service can identify requests that are processed by WAF.
	RequestHeaders []*CreateDomainRequestRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// Specifies whether WAF retries forwarding requests to the origin server when the requests fail to be forwarded to the origin server. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	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. This parameter 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 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.
	//
	// example:
	//
	// [
	//
	//       {
	//
	//             "rs": [
	//
	//                   "1.1.XX.XX"
	//
	//             ],
	//
	//             "locationId": 535,
	//
	//             "location": "test1111"
	//
	//       }
	//
	// ]
	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)
	//
	// example:
	//
	// true
	SniEnabled *bool `json:"SniEnabled,omitempty" xml:"SniEnabled,omitempty"`
	// The value of the SNI field. If you do not specify this parameter, the value of the **Host*	- field is automatically used. This parameter is optional. 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.
	//
	// >  This parameter is required only if you set **SniEnabled*	- to **true**.
	//
	// example:
	//
	// www.aliyundoc.com
	SniHost *string `json:"SniHost,omitempty" xml:"SniHost,omitempty"`
	// The timeout period for write connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 200
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	// Specifies whether to use X-Forward-For-Proto to pass the protocol used by WAF to forward requests to the origin server. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	XffProto *bool `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (CreateDomainRequestRedirect) GoString

func (s CreateDomainRequestRedirect) GoString() string

func (*CreateDomainRequestRedirect) SetBackends

func (*CreateDomainRequestRedirect) SetBackupBackends added in v5.0.2

func (*CreateDomainRequestRedirect) SetCnameEnabled

func (*CreateDomainRequestRedirect) SetConnectTimeout

func (*CreateDomainRequestRedirect) SetFocusHttpBackend

func (*CreateDomainRequestRedirect) SetKeepalive

func (*CreateDomainRequestRedirect) SetKeepaliveRequests

func (*CreateDomainRequestRedirect) SetKeepaliveTimeout

func (*CreateDomainRequestRedirect) SetLoadbalance

func (*CreateDomainRequestRedirect) SetReadTimeout

func (*CreateDomainRequestRedirect) SetRequestHeaders

func (*CreateDomainRequestRedirect) SetRetry

func (*CreateDomainRequestRedirect) SetRoutingRules

func (*CreateDomainRequestRedirect) SetSniEnabled

func (*CreateDomainRequestRedirect) SetSniHost

func (*CreateDomainRequestRedirect) SetWriteTimeout

func (*CreateDomainRequestRedirect) SetXffProto

func (CreateDomainRequestRedirect) String

type CreateDomainRequestRedirectRequestHeaders

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

func (CreateDomainRequestRedirectRequestHeaders) GoString

func (*CreateDomainRequestRedirectRequestHeaders) SetKey

func (*CreateDomainRequestRedirectRequestHeaders) SetValue

func (CreateDomainRequestRedirectRequestHeaders) String

type CreateDomainRequestTag added in v5.0.2

type CreateDomainRequestTag struct {
	Key   *string `json:"Key,omitempty" xml:"Key,omitempty"`
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateDomainRequestTag) GoString added in v5.0.2

func (s CreateDomainRequestTag) GoString() string

func (*CreateDomainRequestTag) SetKey added in v5.0.2

func (*CreateDomainRequestTag) SetValue added in v5.0.2

func (CreateDomainRequestTag) String added in v5.0.2

func (s CreateDomainRequestTag) String() 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.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D****
	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.
	//
	// example:
	//
	// xxxxxwww.****.com
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name that you added to WAF.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain   *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	DomainId *string `json:"DomainId,omitempty" xml:"DomainId,omitempty"`
}

func (CreateDomainResponseBodyDomainInfo) GoString

func (*CreateDomainResponseBodyDomainInfo) SetCname

func (*CreateDomainResponseBodyDomainInfo) SetDomain

func (*CreateDomainResponseBodyDomainInfo) SetDomainId added in v5.0.2

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.
	//
	// example:
	//
	// share
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name that you want to add to WAF.
	//
	// This parameter is required.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	//
	// This parameter is required.
	ListenShrink *string `json:"Listen,omitempty" xml:"Listen,omitempty"`
	// The configurations of the forwarding rule.
	//
	// This parameter is required.
	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
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string                         `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	Tag                            []*CreateDomainShrinkRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

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

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

func (*CreateDomainShrinkRequest) SetTag added in v5.0.2

func (CreateDomainShrinkRequest) String

func (s CreateDomainShrinkRequest) String() string

type CreateDomainShrinkRequestTag added in v5.0.2

type CreateDomainShrinkRequestTag struct {
	Key   *string `json:"Key,omitempty" xml:"Key,omitempty"`
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateDomainShrinkRequestTag) GoString added in v5.0.2

func (s CreateDomainShrinkRequestTag) GoString() string

func (*CreateDomainShrinkRequestTag) SetKey added in v5.0.2

func (*CreateDomainShrinkRequestTag) SetValue added in v5.0.2

func (CreateDomainShrinkRequestTag) String added in v5.0.2

type CreateHybridCloudGroupRequest

type CreateHybridCloudGroupRequest struct {
	// The region in which the node resides. Specify the parameter in the Carrier code-Continent code-City code format.
	//
	// example:
	//
	// aliyun-asiapacific-beijing
	BackSourceMark *string `json:"BackSourceMark,omitempty" xml:"BackSourceMark,omitempty"`
	// The ID of the hybrid cloud cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ClusterId *int64 `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The name of the node group.
	//
	// This parameter is required.
	//
	// example:
	//
	// demoGroupName
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The type of the node group. Valid values:
	//
	// 	- **protect**
	//
	// 	- **control**
	//
	// 	- **storage**
	//
	// 	- **controlStorage**
	//
	// This parameter is required.
	//
	// example:
	//
	// protect
	GroupType *string `json:"GroupType,omitempty" xml:"GroupType,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-n6w***x52m
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The IP address of the server used for load balancing.
	//
	// This parameter is required.
	//
	// example:
	//
	// 3.3.3.3
	LoadBalanceIp *string `json:"LoadBalanceIp,omitempty" xml:"LoadBalanceIp,omitempty"`
	// The region in which the node resides. Specify the parameter in the Carrier code-Continent code-City code format.
	//
	// example:
	//
	// 0-410-0
	LocationCode *string `json:"LocationCode,omitempty" xml:"LocationCode,omitempty"`
	// The region ID of the WAF instance. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The remarks.
	//
	// example:
	//
	// demoRamark
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (CreateHybridCloudGroupRequest) GoString

func (*CreateHybridCloudGroupRequest) SetBackSourceMark

func (*CreateHybridCloudGroupRequest) SetClusterId

func (*CreateHybridCloudGroupRequest) SetGroupName

func (*CreateHybridCloudGroupRequest) SetGroupType

func (*CreateHybridCloudGroupRequest) SetInstanceId

func (*CreateHybridCloudGroupRequest) SetLoadBalanceIp

func (*CreateHybridCloudGroupRequest) SetLocationCode

func (*CreateHybridCloudGroupRequest) SetRegionId

func (*CreateHybridCloudGroupRequest) SetRemark

func (*CreateHybridCloudGroupRequest) SetResourceManagerResourceGroupId

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

func (CreateHybridCloudGroupRequest) String

type CreateHybridCloudGroupResponse

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

func (CreateHybridCloudGroupResponse) GoString

func (*CreateHybridCloudGroupResponse) SetHeaders

func (*CreateHybridCloudGroupResponse) SetStatusCode

func (CreateHybridCloudGroupResponse) String

type CreateHybridCloudGroupResponseBody

type CreateHybridCloudGroupResponseBody struct {
	// The ID of the node group.
	//
	// example:
	//
	// 1
	Data *int64 `json:"Data,omitempty" xml:"Data,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 48F7C7BA-0932-50EA-89AD-5B0E1***274
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateHybridCloudGroupResponseBody) GoString

func (*CreateHybridCloudGroupResponseBody) SetData

func (*CreateHybridCloudGroupResponseBody) SetRequestId

func (CreateHybridCloudGroupResponseBody) String

type CreateMajorProtectionBlackIpRequest

type CreateMajorProtectionBlackIpRequest struct {
	// The description of the IP address blacklist.
	//
	// example:
	//
	// Protection for major events
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1716528465
	ExpiredTime *int64 `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-2r42s6y****
	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](https://help.aliyun.com/document_detail/425591.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// 192.0.XX.XX,192.0.XX.XX/24
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 232324
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the IP address blacklist rule template for major event protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2221
	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

func (*CreateMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateMajorProtectionBlackIpResponseBody) GoString

func (*CreateMajorProtectionBlackIpResponseBody) SetRequestId

func (CreateMajorProtectionBlackIpResponseBody) String

type CreateMemberAccountsRequest

type CreateMemberAccountsRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The Alibaba Cloud account IDs of the members that you want to add. You can add up to 10 members at the same time.
	//
	// This parameter is required.
	MemberAccountIds []*string `json:"MemberAccountIds,omitempty" xml:"MemberAccountIds,omitempty" type:"Repeated"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address of the request. The system automatically obtains the value of this parameter.
	//
	// example:
	//
	// 1.1.X.X
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (CreateMemberAccountsRequest) GoString

func (s CreateMemberAccountsRequest) GoString() string

func (*CreateMemberAccountsRequest) SetInstanceId

func (*CreateMemberAccountsRequest) SetMemberAccountIds

func (s *CreateMemberAccountsRequest) SetMemberAccountIds(v []*string) *CreateMemberAccountsRequest

func (*CreateMemberAccountsRequest) SetRegionId

func (*CreateMemberAccountsRequest) SetResourceManagerResourceGroupId

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

func (*CreateMemberAccountsRequest) SetSourceIp

func (CreateMemberAccountsRequest) String

type CreateMemberAccountsResponse

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

func (CreateMemberAccountsResponse) GoString

func (s CreateMemberAccountsResponse) GoString() string

func (*CreateMemberAccountsResponse) SetBody

func (*CreateMemberAccountsResponse) SetHeaders

func (*CreateMemberAccountsResponse) SetStatusCode

func (CreateMemberAccountsResponse) String

type CreateMemberAccountsResponseBody

type CreateMemberAccountsResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 66A98669-ER12-WE34-23PO-301469*****E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateMemberAccountsResponseBody) GoString

func (*CreateMemberAccountsResponseBody) SetRequestId

func (CreateMemberAccountsResponseBody) String

type CreatePostpaidInstanceRequest

type CreatePostpaidInstanceRequest struct {
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm4gh****wela
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (CreatePostpaidInstanceRequest) GoString

func (*CreatePostpaidInstanceRequest) SetRegionId

func (*CreatePostpaidInstanceRequest) SetResourceManagerResourceGroupId

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

func (CreatePostpaidInstanceRequest) String

type CreatePostpaidInstanceResponse

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

func (CreatePostpaidInstanceResponse) GoString

func (*CreatePostpaidInstanceResponse) SetHeaders

func (*CreatePostpaidInstanceResponse) SetStatusCode

func (CreatePostpaidInstanceResponse) String

type CreatePostpaidInstanceResponseBody

type CreatePostpaidInstanceResponseBody struct {
	// The ID of the WAF instance.
	//
	// example:
	//
	// waf_v2_public_cn-x0r****gr1i
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 73A4E786-8235-50C0-9631-87C8****4A36
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreatePostpaidInstanceResponseBody) GoString

func (*CreatePostpaidInstanceResponseBody) SetInstanceId

func (*CreatePostpaidInstanceResponseBody) SetRequestId

func (CreatePostpaidInstanceResponseBody) String

type CreateSM2CertRequest

type CreateSM2CertRequest struct {
	// The name of the SM certificate.
	//
	// example:
	//
	// test-sm2
	CertName *string `json:"CertName,omitempty" xml:"CertName,omitempty"`
	// The content of the SM certificate.
	//
	// example:
	//
	// -----BEGIN CERTIFICATE-----
	//
	// ***
	//
	// -----END CERTIFICATE-----
	EncryptCertificate *string `json:"EncryptCertificate,omitempty" xml:"EncryptCertificate,omitempty"`
	// The private key of the SM certificate.
	//
	// example:
	//
	// -----BEGIN PRIVATE KEY-----
	//
	// ***
	//
	// -----END PRIVATE KEY-----
	EncryptPrivateKey *string `json:"EncryptPrivateKey,omitempty" xml:"EncryptPrivateKey,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The content of the signing certificate for the SM certificate.
	//
	// example:
	//
	// -----BEGIN CERTIFICATE-----
	//
	// ***
	//
	// -----END CERTIFICATE-----
	SignCertificate *string `json:"SignCertificate,omitempty" xml:"SignCertificate,omitempty"`
	// The private key of the signing certificate for the SM certificate.
	//
	// example:
	//
	// -----BEGIN PRIVATE KEY-----
	//
	// ***
	//
	// -----END PRIVATE KEY-----
	SignPrivateKey *string `json:"SignPrivateKey,omitempty" xml:"SignPrivateKey,omitempty"`
}

func (CreateSM2CertRequest) GoString

func (s CreateSM2CertRequest) GoString() string

func (*CreateSM2CertRequest) SetCertName

func (*CreateSM2CertRequest) SetEncryptCertificate

func (s *CreateSM2CertRequest) SetEncryptCertificate(v string) *CreateSM2CertRequest

func (*CreateSM2CertRequest) SetEncryptPrivateKey

func (s *CreateSM2CertRequest) SetEncryptPrivateKey(v string) *CreateSM2CertRequest

func (*CreateSM2CertRequest) SetInstanceId

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

func (*CreateSM2CertRequest) SetRegionId

func (*CreateSM2CertRequest) SetResourceManagerResourceGroupId

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

func (*CreateSM2CertRequest) SetSignCertificate

func (s *CreateSM2CertRequest) SetSignCertificate(v string) *CreateSM2CertRequest

func (*CreateSM2CertRequest) SetSignPrivateKey

func (s *CreateSM2CertRequest) SetSignPrivateKey(v string) *CreateSM2CertRequest

func (CreateSM2CertRequest) String

func (s CreateSM2CertRequest) String() string

type CreateSM2CertResponse

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

func (CreateSM2CertResponse) GoString

func (s CreateSM2CertResponse) GoString() string

func (*CreateSM2CertResponse) SetBody

func (*CreateSM2CertResponse) SetHeaders

func (*CreateSM2CertResponse) SetStatusCode

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

func (CreateSM2CertResponse) String

func (s CreateSM2CertResponse) String() string

type CreateSM2CertResponseBody

type CreateSM2CertResponseBody struct {
	// The ID of the certificate.
	//
	// example:
	//
	// ***-cn-hangzhou
	CertIdentifier *string `json:"CertIdentifier,omitempty" xml:"CertIdentifier,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateSM2CertResponseBody) GoString

func (s CreateSM2CertResponseBody) GoString() string

func (*CreateSM2CertResponseBody) SetCertIdentifier

func (*CreateSM2CertResponseBody) SetRequestId

func (CreateSM2CertResponseBody) String

func (s CreateSM2CertResponseBody) String() string

type DeleteApisecAbnormalsRequest

type DeleteApisecAbnormalsRequest struct {
	// The risk IDs.
	//
	// This parameter is required.
	AbnormalIds []*string `json:"AbnormalIds,omitempty" xml:"AbnormalIds,omitempty" type:"Repeated"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-nwy*****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 阿里云资源组ID。
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DeleteApisecAbnormalsRequest) GoString

func (s DeleteApisecAbnormalsRequest) GoString() string

func (*DeleteApisecAbnormalsRequest) SetAbnormalIds

func (*DeleteApisecAbnormalsRequest) SetClusterId

func (*DeleteApisecAbnormalsRequest) SetInstanceId

func (*DeleteApisecAbnormalsRequest) SetRegionId

func (*DeleteApisecAbnormalsRequest) SetResourceManagerResourceGroupId

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

func (DeleteApisecAbnormalsRequest) String

type DeleteApisecAbnormalsResponse

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

func (DeleteApisecAbnormalsResponse) GoString

func (*DeleteApisecAbnormalsResponse) SetBody

func (*DeleteApisecAbnormalsResponse) SetHeaders

func (*DeleteApisecAbnormalsResponse) SetStatusCode

func (DeleteApisecAbnormalsResponse) String

type DeleteApisecAbnormalsResponseBody

type DeleteApisecAbnormalsResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteApisecAbnormalsResponseBody) GoString

func (*DeleteApisecAbnormalsResponseBody) SetRequestId

func (DeleteApisecAbnormalsResponseBody) String

type DeleteApisecEventsRequest

type DeleteApisecEventsRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The IDs of the security events.
	//
	// This parameter is required.
	EventIds []*string `json:"EventIds,omitempty" xml:"EventIds,omitempty" type:"Repeated"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-g4t*****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 阿里云资源组ID。
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DeleteApisecEventsRequest) GoString

func (s DeleteApisecEventsRequest) GoString() string

func (*DeleteApisecEventsRequest) SetClusterId

func (*DeleteApisecEventsRequest) SetEventIds

func (*DeleteApisecEventsRequest) SetInstanceId

func (*DeleteApisecEventsRequest) SetRegionId

func (*DeleteApisecEventsRequest) SetResourceManagerResourceGroupId

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

func (DeleteApisecEventsRequest) String

func (s DeleteApisecEventsRequest) String() string

type DeleteApisecEventsResponse

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

func (DeleteApisecEventsResponse) GoString

func (s DeleteApisecEventsResponse) GoString() string

func (*DeleteApisecEventsResponse) SetBody

func (*DeleteApisecEventsResponse) SetHeaders

func (*DeleteApisecEventsResponse) SetStatusCode

func (DeleteApisecEventsResponse) String

type DeleteApisecEventsResponseBody

type DeleteApisecEventsResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteApisecEventsResponseBody) GoString

func (*DeleteApisecEventsResponseBody) SetRequestId

func (DeleteApisecEventsResponseBody) String

type DeleteCloudResourceRequest

type DeleteCloudResourceRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The port of the resource that is added to WAF.
	//
	// This parameter is required.
	//
	// example:
	//
	// 443
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// lb-bp1*****jqnnqk5uj2p
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The cloud service. Valid values:
	//
	// 	- **clb4**: Layer 4 CLB.
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// 	- **ecs**: ECS.
	//
	// This parameter is required.
	//
	// example:
	//
	// clb7
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
}

func (DeleteCloudResourceRequest) GoString

func (s DeleteCloudResourceRequest) GoString() string

func (*DeleteCloudResourceRequest) SetInstanceId

func (*DeleteCloudResourceRequest) SetPort

func (*DeleteCloudResourceRequest) SetRegionId

func (*DeleteCloudResourceRequest) SetResourceInstanceId

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

func (*DeleteCloudResourceRequest) SetResourceManagerResourceGroupId

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

func (*DeleteCloudResourceRequest) SetResourceProduct

func (DeleteCloudResourceRequest) String

type DeleteCloudResourceResponse

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

func (DeleteCloudResourceResponse) GoString

func (s DeleteCloudResourceResponse) GoString() string

func (*DeleteCloudResourceResponse) SetBody

func (*DeleteCloudResourceResponse) SetHeaders

func (*DeleteCloudResourceResponse) SetStatusCode

func (DeleteCloudResourceResponse) String

type DeleteCloudResourceResponseBody

type DeleteCloudResourceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteCloudResourceResponseBody) GoString

func (*DeleteCloudResourceResponseBody) SetRequestId

func (DeleteCloudResourceResponseBody) String

type DeleteDefenseResourceGroupRequest

type DeleteDefenseResourceGroupRequest struct {
	// The name of the protected object group that you want to delete.
	//
	// This parameter is required.
	//
	// example:
	//
	// group221
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DeleteDefenseResourceGroupRequest) GoString

func (*DeleteDefenseResourceGroupRequest) SetGroupName

func (*DeleteDefenseResourceGroupRequest) SetInstanceId

func (*DeleteDefenseResourceGroupRequest) SetRegionId

func (*DeleteDefenseResourceGroupRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 25BE1169-9AE4-5D7D-8293-C33242ABB549
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The IDs of the protection rules that you want to delete. Separate the IDs with commas (,).
	//
	// This parameter is required.
	//
	// example:
	//
	// 2223455,23354,465565
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2221
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DeleteDefenseRuleRequest) GoString

func (s DeleteDefenseRuleRequest) GoString() string

func (*DeleteDefenseRuleRequest) SetInstanceId

func (*DeleteDefenseRuleRequest) SetRegionId

func (*DeleteDefenseRuleRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 2EC856FE-6D31-5861-8275-E5DEDB539089
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template that you want to delete.
	//
	// This parameter is required.
	//
	// example:
	//
	// 3155
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DeleteDefenseTemplateRequest) GoString

func (s DeleteDefenseTemplateRequest) GoString() string

func (*DeleteDefenseTemplateRequest) SetInstanceId

func (*DeleteDefenseTemplateRequest) SetRegionId

func (*DeleteDefenseTemplateRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// E2DE6F11-6FED-5909-95F2-2520B58C5BC7
	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.
	//
	// example:
	//
	// share
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name that you want to delete.
	//
	// This parameter is required.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the domain name.
	//
	// example:
	//
	// www.aliyundoc.com-waf
	DomainId *string `json:"DomainId,omitempty" xml:"DomainId,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DeleteDomainRequest) GoString

func (s DeleteDomainRequest) GoString() string

func (*DeleteDomainRequest) SetAccessType

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

func (*DeleteDomainRequest) SetDomain

func (*DeleteDomainRequest) SetDomainId

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) 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.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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](https://help.aliyun.com/document_detail/425591.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// 192.0.XX.XX,192.0.XX.XX/24
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20013135
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the IP address blacklist rule template for major event protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 5332
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DeleteMajorProtectionBlackIpRequest) GoString

func (*DeleteMajorProtectionBlackIpRequest) SetInstanceId

func (*DeleteMajorProtectionBlackIpRequest) SetIpList

func (*DeleteMajorProtectionBlackIpRequest) SetRegionId

func (*DeleteMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 66A98669-CC6E-4F3E-80A6-3014697B11AE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteMajorProtectionBlackIpResponseBody) GoString

func (*DeleteMajorProtectionBlackIpResponseBody) SetRequestId

func (DeleteMajorProtectionBlackIpResponseBody) String

type DeleteMemberAccountRequest

type DeleteMemberAccountRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_esasdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The Alibaba Cloud account ID of the managed member.
	//
	// This parameter is required.
	//
	// example:
	//
	// 131***********39
	MemberAccountId *string `json:"MemberAccountId,omitempty" xml:"MemberAccountId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address of the request. The system automatically obtains the value of this parameter.
	//
	// example:
	//
	// 0.0.XX.XX
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (DeleteMemberAccountRequest) GoString

func (s DeleteMemberAccountRequest) GoString() string

func (*DeleteMemberAccountRequest) SetInstanceId

func (*DeleteMemberAccountRequest) SetMemberAccountId

func (*DeleteMemberAccountRequest) SetRegionId

func (*DeleteMemberAccountRequest) SetResourceManagerResourceGroupId

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

func (*DeleteMemberAccountRequest) SetSourceIp

func (DeleteMemberAccountRequest) String

type DeleteMemberAccountResponse

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

func (DeleteMemberAccountResponse) GoString

func (s DeleteMemberAccountResponse) GoString() string

func (*DeleteMemberAccountResponse) SetBody

func (*DeleteMemberAccountResponse) SetHeaders

func (*DeleteMemberAccountResponse) SetStatusCode

func (DeleteMemberAccountResponse) String

type DeleteMemberAccountResponseBody

type DeleteMemberAccountResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 5ABE714C-8890-5D7E-A08B-45CB****5473
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteMemberAccountResponseBody) GoString

func (*DeleteMemberAccountResponseBody) SetRequestId

func (DeleteMemberAccountResponseBody) String

type DescribeAccountDelegatedStatusRequest

type DescribeAccountDelegatedStatusRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeAccountDelegatedStatusRequest) GoString

func (*DescribeAccountDelegatedStatusRequest) SetInstanceId

func (*DescribeAccountDelegatedStatusRequest) SetRegionId

func (*DescribeAccountDelegatedStatusRequest) SetResourceManagerResourceGroupId

func (DescribeAccountDelegatedStatusRequest) String

type DescribeAccountDelegatedStatusResponse

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

func (DescribeAccountDelegatedStatusResponse) GoString

func (*DescribeAccountDelegatedStatusResponse) SetHeaders

func (*DescribeAccountDelegatedStatusResponse) SetStatusCode

func (DescribeAccountDelegatedStatusResponse) String

type DescribeAccountDelegatedStatusResponseBody

type DescribeAccountDelegatedStatusResponseBody struct {
	// The ID of the Alibaba Cloud account.
	//
	// example:
	//
	// 10***********34
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The name of the Alibaba Cloud account. This parameter is returned only if the account is the delegated administrator account.
	//
	// example:
	//
	// account_test
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// Indicates whether the Alibaba Cloud account is the delegated administrator account of the WAF instance.
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	DelegatedStatus *bool `json:"DelegatedStatus,omitempty" xml:"DelegatedStatus,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 8161375D-5958-5627-BFDE-DF14****3E87
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeAccountDelegatedStatusResponseBody) GoString

func (*DescribeAccountDelegatedStatusResponseBody) SetAccountId

func (*DescribeAccountDelegatedStatusResponseBody) SetAccountName

func (*DescribeAccountDelegatedStatusResponseBody) SetDelegatedStatus

func (*DescribeAccountDelegatedStatusResponseBody) SetRequestId

func (DescribeAccountDelegatedStatusResponseBody) String

type DescribeApiExportsRequest

type DescribeApiExportsRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-p****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Language type. Valid values:
	//
	// - **cn**: Chinese.
	//
	// - **en**: English.
	//
	// example:
	//
	// zh
	Lang *string `json:"Lang,omitempty" xml:"Lang,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the Web Application Firewall (WAF) instance. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeApiExportsRequest) GoString

func (s DescribeApiExportsRequest) GoString() string

func (*DescribeApiExportsRequest) SetInstanceId

func (*DescribeApiExportsRequest) SetLang

func (*DescribeApiExportsRequest) SetPageNumber

func (*DescribeApiExportsRequest) SetPageSize

func (*DescribeApiExportsRequest) SetRegionId

func (*DescribeApiExportsRequest) SetResourceManagerResourceGroupId

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

func (DescribeApiExportsRequest) String

func (s DescribeApiExportsRequest) String() string

type DescribeApiExportsResponse

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

func (DescribeApiExportsResponse) GoString

func (s DescribeApiExportsResponse) GoString() string

func (*DescribeApiExportsResponse) SetBody

func (*DescribeApiExportsResponse) SetHeaders

func (*DescribeApiExportsResponse) SetStatusCode

func (DescribeApiExportsResponse) String

type DescribeApiExportsResponseBody

type DescribeApiExportsResponseBody struct {
	// The returned data export tasks.
	ApiExports []*DescribeApiExportsResponseBodyApiExports `json:"ApiExports,omitempty" xml:"ApiExports,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D9532525-E885-54E7-A178-D5554D563AFB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The status of the data export task. Valid values:
	//
	// 	- **expired**: The file is expired.
	//
	// 	- **exporting**: Data is being exported.
	//
	// 	- **completed**: Data is exported.
	//
	// example:
	//
	// 7
	Total *int64 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (DescribeApiExportsResponseBody) GoString

func (*DescribeApiExportsResponseBody) SetRequestId

func (*DescribeApiExportsResponseBody) SetTotal

func (DescribeApiExportsResponseBody) String

type DescribeApiExportsResponseBodyApiExports

type DescribeApiExportsResponseBodyApiExports struct {
	// The time when the data export task was created. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1725604852
	CreateTime *int64 `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The name of the file.
	//
	// example:
	//
	// file_16109541456445334c0f01d9a7444e0e908***.csv
	FileName *string `json:"FileName,omitempty" xml:"FileName,omitempty"`
	// The download URL of the exported file.
	//
	// example:
	//
	// https://waf-api-sec-cn.***.aliyuncs.com/file_1610954145***.csv
	FileUrl *string `json:"FileUrl,omitempty" xml:"FileUrl,omitempty"`
	// The format of the exported file.
	//
	// example:
	//
	// CSV
	Format *string `json:"Format,omitempty" xml:"Format,omitempty"`
	// The status of the data export task. Valid values:
	//
	// 	- **expired**: The file is expired.
	//
	// 	- **exporting**: Data is being exported.
	//
	// 	- **completed**: Data is exported.
	//
	// example:
	//
	// completed
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the data export task. Valid values:
	//
	// 	- **apisec_api**: API tasks
	//
	// 	- **apisec_abnormal**: API risk tasks
	//
	// 	- **apisec_event**: API security event tasks
	//
	// example:
	//
	// apisec_api
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeApiExportsResponseBodyApiExports) GoString

func (*DescribeApiExportsResponseBodyApiExports) SetCreateTime

func (*DescribeApiExportsResponseBodyApiExports) SetFileName

func (*DescribeApiExportsResponseBodyApiExports) SetFileUrl

func (*DescribeApiExportsResponseBodyApiExports) SetFormat

func (*DescribeApiExportsResponseBodyApiExports) SetStatus

func (*DescribeApiExportsResponseBodyApiExports) SetType

func (DescribeApiExportsResponseBodyApiExports) String

type DescribeApisecAbnormalDomainStatisticRequest

type DescribeApisecAbnormalDomainStatisticRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. Specify a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1687313820
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-45919n***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The sorting order. Valid values:
	//
	// - **asc**: ascending order.
	//
	// - **desc**: descending order.
	//
	// example:
	//
	// desc
	OrderWay *string `json:"OrderWay,omitempty" xml:"OrderWay,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **5**.
	//
	// example:
	//
	// 5
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Specify a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1682571600
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeApisecAbnormalDomainStatisticRequest) GoString

func (*DescribeApisecAbnormalDomainStatisticRequest) SetClusterId

func (*DescribeApisecAbnormalDomainStatisticRequest) SetEndTime

func (*DescribeApisecAbnormalDomainStatisticRequest) SetInstanceId

func (*DescribeApisecAbnormalDomainStatisticRequest) SetOrderWay

func (*DescribeApisecAbnormalDomainStatisticRequest) SetPageNumber

func (*DescribeApisecAbnormalDomainStatisticRequest) SetPageSize

func (*DescribeApisecAbnormalDomainStatisticRequest) SetRegionId

func (*DescribeApisecAbnormalDomainStatisticRequest) SetResourceManagerResourceGroupId

func (*DescribeApisecAbnormalDomainStatisticRequest) SetStartTime

func (DescribeApisecAbnormalDomainStatisticRequest) String

type DescribeApisecAbnormalDomainStatisticResponse

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

func (DescribeApisecAbnormalDomainStatisticResponse) GoString

func (*DescribeApisecAbnormalDomainStatisticResponse) SetHeaders

func (*DescribeApisecAbnormalDomainStatisticResponse) SetStatusCode

func (DescribeApisecAbnormalDomainStatisticResponse) String

type DescribeApisecAbnormalDomainStatisticResponseBody

type DescribeApisecAbnormalDomainStatisticResponseBody struct {
	// The response parameters.
	Data []*DescribeApisecAbnormalDomainStatisticResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// Id of the request.
	//
	// example:
	//
	// 66A98669-CC6E-4F3E-80A6-3014***B11AE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 1
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecAbnormalDomainStatisticResponseBody) GoString

func (*DescribeApisecAbnormalDomainStatisticResponseBody) SetRequestId

func (*DescribeApisecAbnormalDomainStatisticResponseBody) SetTotalCount

func (DescribeApisecAbnormalDomainStatisticResponseBody) String

type DescribeApisecAbnormalDomainStatisticResponseBodyData

type DescribeApisecAbnormalDomainStatisticResponseBodyData struct {
	// The number of APIs.
	//
	// example:
	//
	// 10
	ApiCount *int64 `json:"ApiCount,omitempty" xml:"ApiCount,omitempty"`
	// The domain name.
	//
	// example:
	//
	// ba.aliyun.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The number of high-level risks.
	//
	// example:
	//
	// 12
	High *int64 `json:"High,omitempty" xml:"High,omitempty"`
	// The number of low-level risks.
	//
	// example:
	//
	// 4
	Low *int64 `json:"Low,omitempty" xml:"Low,omitempty"`
	// The number of medium-level risks.
	//
	// example:
	//
	// 9
	Medium *int64 `json:"Medium,omitempty" xml:"Medium,omitempty"`
}

func (DescribeApisecAbnormalDomainStatisticResponseBodyData) GoString

func (*DescribeApisecAbnormalDomainStatisticResponseBodyData) SetApiCount

func (*DescribeApisecAbnormalDomainStatisticResponseBodyData) SetDomain

func (*DescribeApisecAbnormalDomainStatisticResponseBodyData) SetHigh

func (*DescribeApisecAbnormalDomainStatisticResponseBodyData) SetLow

func (*DescribeApisecAbnormalDomainStatisticResponseBodyData) SetMedium

func (DescribeApisecAbnormalDomainStatisticResponseBodyData) String

type DescribeApisecAbnormalsRequest

type DescribeApisecAbnormalsRequest struct {
	// The ID of the risk.
	//
	// example:
	//
	// 29c6401****99a2bad3943e26d8
	AbnormalId *string `json:"AbnormalId,omitempty" xml:"AbnormalId,omitempty"`
	// The level of the risk. Valid values:
	//
	// 	- **high**
	//
	// 	- **medium**
	//
	// 	- **low**
	//
	// example:
	//
	// medium
	AbnormalLevel *string `json:"AbnormalLevel,omitempty" xml:"AbnormalLevel,omitempty"`
	// The type of the risk.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of risks.
	//
	// example:
	//
	// LackOfSpeedLimit
	AbnormalTag *string `json:"AbnormalTag,omitempty" xml:"AbnormalTag,omitempty"`
	// The risk-related API.
	//
	// example:
	//
	// /api/users/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the risk-related API.
	//
	// example:
	//
	// bd9efb8ad******d9ca6
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The business purpose of the API.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the business purposes of APIs.
	//
	// example:
	//
	// RegisterAPI
	ApiTag *string `json:"ApiTag,omitempty" xml:"ApiTag,omitempty"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 546
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1684382100
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-z***9g301
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The domain name or IP address of the API.
	//
	// example:
	//
	// a.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The name of the sorting field. Valid values:
	//
	// 	- **firstTime (default)**: first detection time
	//
	// 	- **abnormalLevel**: risk level
	//
	// example:
	//
	// allCnt
	OrderKey *string `json:"OrderKey,omitempty" xml:"OrderKey,omitempty"`
	// The sorting method. Valid values:
	//
	// 	- **desc (default)**: in descending order
	//
	// 	- **asc**: in ascending order
	//
	// example:
	//
	// desc
	OrderWay *string `json:"OrderWay,omitempty" xml:"OrderWay,omitempty"`
	// The source of the risk type. Valid values:
	//
	// 	- **custom**
	//
	// 	- **default**
	//
	// example:
	//
	// custom
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 2
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-qingdao
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1684252800
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The status of the risk. Valid values:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **toBeFixed**
	//
	// 	- **fixed**
	//
	// 	- **ignored**
	//
	// example:
	//
	// Confirmed
	UserStatus *string `json:"UserStatus,omitempty" xml:"UserStatus,omitempty"`
}

func (DescribeApisecAbnormalsRequest) GoString

func (*DescribeApisecAbnormalsRequest) SetAbnormalId

func (*DescribeApisecAbnormalsRequest) SetAbnormalLevel

func (*DescribeApisecAbnormalsRequest) SetAbnormalTag

func (*DescribeApisecAbnormalsRequest) SetApiFormat

func (*DescribeApisecAbnormalsRequest) SetApiId

func (*DescribeApisecAbnormalsRequest) SetApiTag

func (*DescribeApisecAbnormalsRequest) SetClusterId

func (*DescribeApisecAbnormalsRequest) SetEndTime

func (*DescribeApisecAbnormalsRequest) SetInstanceId

func (*DescribeApisecAbnormalsRequest) SetMatchedHost

func (*DescribeApisecAbnormalsRequest) SetOrderKey

func (*DescribeApisecAbnormalsRequest) SetOrderWay

func (*DescribeApisecAbnormalsRequest) SetOrigin

func (*DescribeApisecAbnormalsRequest) SetPageNumber

func (*DescribeApisecAbnormalsRequest) SetPageSize

func (*DescribeApisecAbnormalsRequest) SetRegionId

func (*DescribeApisecAbnormalsRequest) SetResourceManagerResourceGroupId

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

func (*DescribeApisecAbnormalsRequest) SetStartTime

func (*DescribeApisecAbnormalsRequest) SetUserStatus

func (DescribeApisecAbnormalsRequest) String

type DescribeApisecAbnormalsResponse

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

func (DescribeApisecAbnormalsResponse) GoString

func (*DescribeApisecAbnormalsResponse) SetHeaders

func (*DescribeApisecAbnormalsResponse) SetStatusCode

func (DescribeApisecAbnormalsResponse) String

type DescribeApisecAbnormalsResponseBody

type DescribeApisecAbnormalsResponseBody struct {
	// The risks.
	Data []*DescribeApisecAbnormalsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 9469646C-F2CC-5F0F-8401-C53***4F46
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 35
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecAbnormalsResponseBody) GoString

func (*DescribeApisecAbnormalsResponseBody) SetRequestId

func (*DescribeApisecAbnormalsResponseBody) SetTotalCount

func (DescribeApisecAbnormalsResponseBody) String

type DescribeApisecAbnormalsResponseBodyData

type DescribeApisecAbnormalsResponseBodyData struct {
	// The number of risk-related security events.
	//
	// example:
	//
	// 2
	AbnormalEventNumber *int64 `json:"AbnormalEventNumber,omitempty" xml:"AbnormalEventNumber,omitempty"`
	// The ID of the risk.
	//
	// example:
	//
	// 7c1431f27ae7e9c8cc64095***68e
	AbnormalId *string `json:"AbnormalId,omitempty" xml:"AbnormalId,omitempty"`
	// The details of the risk. The value is a string that consists of multiple parameters in the JSON format. Valid values:
	//
	// 	- **rule**: risk-related rule
	//
	// 	- **data_type**: sensitive data type
	//
	// 	- **custom_rule_name**: custom rule name
	//
	// 	- **rule_name**: built-in rule name
	//
	// example:
	//
	// { "data_type": ["1005","1004"], "rule": { "parent": "RiskType_Permission", "code": "Risk_UnauthSensitive", "level": "high", "origin": "default", "name": "Risk_UnauthSensitive" } }
	AbnormalInfo *string `json:"AbnormalInfo,omitempty" xml:"AbnormalInfo,omitempty"`
	// The level of the risk. Valid values:
	//
	// 	- **high**
	//
	// 	- **medium**
	//
	// 	- **low**
	//
	// example:
	//
	// high
	AbnormalLevel *string `json:"AbnormalLevel,omitempty" xml:"AbnormalLevel,omitempty"`
	// The type of the risk.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of risks.
	//
	// example:
	//
	// LackOfSpeedLimit
	AbnormalTag *string `json:"AbnormalTag,omitempty" xml:"AbnormalTag,omitempty"`
	// The status of the risk.
	//
	// example:
	//
	// unresolved
	AbnromalStatus *string `json:"AbnromalStatus,omitempty" xml:"AbnromalStatus,omitempty"`
	// The risk-related API.
	//
	// example:
	//
	// /api/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the risk-related API.
	//
	// example:
	//
	// 09559c0d71ca2ffc996b81***836d8
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The business purpose of the API.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the business purposes of APIs.
	//
	// example:
	//
	// SendMail
	ApiTag *string `json:"ApiTag,omitempty" xml:"ApiTag,omitempty"`
	// The time at which the risk was detected. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1684252800
	DiscoverTime *int64 `json:"DiscoverTime,omitempty" xml:"DiscoverTime,omitempty"`
	// The risk-related samples.
	Examples []*string `json:"Examples,omitempty" xml:"Examples,omitempty" type:"Repeated"`
	// The time at which the risk was first detected. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1701138088
	FirstTime *int64 `json:"FirstTime,omitempty" xml:"FirstTime,omitempty"`
	// Indicates whether the API is followed. Valid values:
	//
	// 	- **1**: yes
	//
	// 	- **0**(default): no
	//
	// example:
	//
	// 0
	Follow *int64 `json:"Follow,omitempty" xml:"Follow,omitempty"`
	// The time at which the risk was marked as ignored. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1684252800
	IgnoreTime *int64 `json:"IgnoreTime,omitempty" xml:"IgnoreTime,omitempty"`
	// The time at which the risk was last active. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1684252800
	LastestTime *int64 `json:"LastestTime,omitempty" xml:"LastestTime,omitempty"`
	// The domain name or IP address of the API.
	//
	// example:
	//
	// a.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The remarks.
	//
	// example:
	//
	// Business side notified
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The source of the risk type. Valid values:
	//
	// 	- **custom**
	//
	// 	- **default**
	//
	// example:
	//
	// custom
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The status of the risk. Valid values:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **toBeFixed**
	//
	// 	- **fixed**
	//
	// 	- **ignored**
	//
	// example:
	//
	// Confirmed
	UserStatus *string `json:"UserStatus,omitempty" xml:"UserStatus,omitempty"`
}

func (DescribeApisecAbnormalsResponseBodyData) GoString

func (*DescribeApisecAbnormalsResponseBodyData) SetAbnormalEventNumber

func (*DescribeApisecAbnormalsResponseBodyData) SetAbnormalId

func (*DescribeApisecAbnormalsResponseBodyData) SetAbnormalInfo

func (*DescribeApisecAbnormalsResponseBodyData) SetAbnormalLevel

func (*DescribeApisecAbnormalsResponseBodyData) SetAbnormalTag

func (*DescribeApisecAbnormalsResponseBodyData) SetAbnromalStatus

func (*DescribeApisecAbnormalsResponseBodyData) SetApiFormat

func (*DescribeApisecAbnormalsResponseBodyData) SetApiId

func (*DescribeApisecAbnormalsResponseBodyData) SetApiTag

func (*DescribeApisecAbnormalsResponseBodyData) SetDiscoverTime

func (*DescribeApisecAbnormalsResponseBodyData) SetExamples

func (*DescribeApisecAbnormalsResponseBodyData) SetFirstTime

func (*DescribeApisecAbnormalsResponseBodyData) SetFollow

func (*DescribeApisecAbnormalsResponseBodyData) SetIgnoreTime

func (*DescribeApisecAbnormalsResponseBodyData) SetLastestTime

func (*DescribeApisecAbnormalsResponseBodyData) SetMatchedHost

func (*DescribeApisecAbnormalsResponseBodyData) SetNote

func (*DescribeApisecAbnormalsResponseBodyData) SetOrigin

func (*DescribeApisecAbnormalsResponseBodyData) SetUserStatus

func (DescribeApisecAbnormalsResponseBodyData) String

type DescribeApisecApiResourcesRequest

type DescribeApisecApiResourcesRequest struct {
	// The API.
	//
	// example:
	//
	// /auth/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the API.
	//
	// example:
	//
	// 867ade***24ee6e205b8da82b8f84
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The request method of the API. Valid values:
	//
	// 	- **GET**
	//
	// 	- **POST**
	//
	// 	- **HEAD**
	//
	// 	- **PUT**
	//
	// 	- **DELETE**
	//
	// 	- **CONNECT**
	//
	// 	- **PATCH**
	//
	// 	- **OPTIONS**
	//
	// example:
	//
	// POST
	ApiMethod *string `json:"ApiMethod,omitempty" xml:"ApiMethod,omitempty"`
	// The API status. Valid values:
	//
	// 	- **NewbornInterface**: The API is newly added.
	//
	// 	- **OfflineInterface**: The API is inactive.
	//
	// 	- **normal**: The API is normal.
	//
	// example:
	//
	// OfflineInterface
	ApiStatus *string `json:"ApiStatus,omitempty" xml:"ApiStatus,omitempty"`
	// The business purpose of the API.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the business purpose of the API.
	//
	// example:
	//
	// SendMail
	ApiTag *string `json:"ApiTag,omitempty" xml:"ApiTag,omitempty"`
	// The service object. Valid values:
	//
	// 	- **PublicAPI**: public services
	//
	// 	- **ThirdpartAPI**: cooperation with third-party partners
	//
	// 	- **InternalAPI**: internal office
	//
	// example:
	//
	// innerAPI
	ApiType *string `json:"ApiType,omitempty" xml:"ApiType,omitempty"`
	// Specifies whether authentication is required. Valid values:
	//
	// 	- **0**: Authentication is required.
	//
	// 	- **1**: Authentication is not required.
	//
	// example:
	//
	// 0
	AuthFlag *string `json:"AuthFlag,omitempty" xml:"AuthFlag,omitempty"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 740
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683388800
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// Specifies whether to follow the API. Valid values:
	//
	// 	- **1**: follows the API.
	//
	// 	- **0**: does not follow the API.
	//
	// example:
	//
	// 0
	Follow *int64 `json:"Follow,omitempty" xml:"Follow,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-u***gr20j
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The domain name or IP address of the API.
	//
	// example:
	//
	// a.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The remarks.
	//
	// example:
	//
	// API for logon
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The name of the sorting field. Valid values:
	//
	// 	- **allCnt**: the total number of calls to the API in the previous 30 days
	//
	// 	- **botCnt**: the number of bot-initiated requests in the previous 30 days
	//
	// 	- **crossBorderCnt**: the number of cross-border requests in the previous 30 days
	//
	// 	- **abnormalNum**: the number of API-related risks
	//
	// 	- **eventNum**: the number of API-related security events
	//
	// 	- **farthestTs**: the time when the API was first detected
	//
	// 	- **lastestTs**: the time of the most recent access to the API
	//
	// example:
	//
	// allCnt
	OrderKey *string `json:"OrderKey,omitempty" xml:"OrderKey,omitempty"`
	// The sorting method. Valid values:
	//
	// 	- **desc*	- (default): descending order
	//
	// 	- **asc**: ascending order
	//
	// example:
	//
	// desc
	OrderWay *string `json:"OrderWay,omitempty" xml:"OrderWay,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The sensitive data type in the request.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported sensitive data types.
	//
	// example:
	//
	// 1004,1005
	RequestSensitiveType *string `json:"RequestSensitiveType,omitempty" xml:"RequestSensitiveType,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The sensitivity level of the API. Valid values:
	//
	// 	- **L1**: high sensitivity
	//
	// 	- **L2**: moderate sensitivity
	//
	// 	- **L3**: low sensitivity
	//
	// 	- **N**: non-sensitivity
	//
	// example:
	//
	// L3
	SensitiveLevel *string `json:"SensitiveLevel,omitempty" xml:"SensitiveLevel,omitempty"`
	// The sensitive data type in the response.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported sensitive data types.
	//
	// example:
	//
	// 1004
	SensitiveType *string `json:"SensitiveType,omitempty" xml:"SensitiveType,omitempty"`
	// The beginning of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1681833600
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeApisecApiResourcesRequest) GoString

func (*DescribeApisecApiResourcesRequest) SetApiFormat

func (*DescribeApisecApiResourcesRequest) SetApiId

func (*DescribeApisecApiResourcesRequest) SetApiMethod

func (*DescribeApisecApiResourcesRequest) SetApiStatus

func (*DescribeApisecApiResourcesRequest) SetApiTag

func (*DescribeApisecApiResourcesRequest) SetApiType

func (*DescribeApisecApiResourcesRequest) SetAuthFlag

func (*DescribeApisecApiResourcesRequest) SetClusterId

func (*DescribeApisecApiResourcesRequest) SetEndTime

func (*DescribeApisecApiResourcesRequest) SetFollow

func (*DescribeApisecApiResourcesRequest) SetInstanceId

func (*DescribeApisecApiResourcesRequest) SetMatchedHost

func (*DescribeApisecApiResourcesRequest) SetNote

func (*DescribeApisecApiResourcesRequest) SetOrderKey

func (*DescribeApisecApiResourcesRequest) SetOrderWay

func (*DescribeApisecApiResourcesRequest) SetPageNumber

func (*DescribeApisecApiResourcesRequest) SetPageSize

func (*DescribeApisecApiResourcesRequest) SetRegionId

func (*DescribeApisecApiResourcesRequest) SetRequestSensitiveType

func (*DescribeApisecApiResourcesRequest) SetResourceManagerResourceGroupId

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

func (*DescribeApisecApiResourcesRequest) SetSensitiveLevel

func (*DescribeApisecApiResourcesRequest) SetSensitiveType

func (*DescribeApisecApiResourcesRequest) SetStartTime

func (DescribeApisecApiResourcesRequest) String

type DescribeApisecApiResourcesResponse

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

func (DescribeApisecApiResourcesResponse) GoString

func (*DescribeApisecApiResourcesResponse) SetHeaders

func (*DescribeApisecApiResourcesResponse) SetStatusCode

func (DescribeApisecApiResourcesResponse) String

type DescribeApisecApiResourcesResponseBody

type DescribeApisecApiResourcesResponseBody struct {
	// The API assets.
	Data []*DescribeApisecApiResourcesResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 2EFCFE18-78F8-5079-B312-07***48B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 5
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecApiResourcesResponseBody) GoString

func (*DescribeApisecApiResourcesResponseBody) SetRequestId

func (*DescribeApisecApiResourcesResponseBody) SetTotalCount

func (DescribeApisecApiResourcesResponseBody) String

type DescribeApisecApiResourcesResponseBodyData

type DescribeApisecApiResourcesResponseBodyData struct {
	// The number of API-related risks.
	//
	// example:
	//
	// 2
	AbnormalNum *int64 `json:"AbnormalNum,omitempty" xml:"AbnormalNum,omitempty"`
	// The total number of calls to this API in the previous 30 days.
	//
	// example:
	//
	// 10
	AllCnt *int64 `json:"AllCnt,omitempty" xml:"AllCnt,omitempty"`
	// The API.
	//
	// example:
	//
	// /v1/etl/finddatabyvid
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the API.
	//
	// example:
	//
	// 867ade***24ee6e205b8da82b8f84
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The API-related information. The value of this parameter is a JSON string that contains multiple parameters. The value includes the following parameters:
	//
	// 	- **param_num**: the number of API parameters
	//
	// 	- **request_method**: the request method
	//
	// 	- **protocol**: the request protocol
	//
	// 	- **api_url**: the request URL
	//
	// 	- **poc_payload**: the request
	//
	// 	- **request**: the sample request
	//
	// 	- **response**: the sample response
	//
	// 	- **param**: the request parameters
	ApiInfo *string `json:"ApiInfo,omitempty" xml:"ApiInfo,omitempty"`
	// The request method of the API. Valid values:
	//
	// 	- **GET**
	//
	// 	- **POST**
	//
	// 	- **HEAD**
	//
	// 	- **PUT**
	//
	// 	- **DELETE**
	//
	// 	- **CONNECT**
	//
	// 	- **PATCH**
	//
	// 	- **OPTIONS**
	//
	// example:
	//
	// POST
	ApiMethod *string `json:"ApiMethod,omitempty" xml:"ApiMethod,omitempty"`
	// The API-related sensitive information. The value of this parameter is a JSON string that contains multiple parameters. The value includes the following parameters:
	//
	// 	- **request_sensitive_list**: the sensitive data type in the request
	//
	// 	- **response_sensitive_list**: the sensitive data type in the response
	//
	// 	- **sensitive_list**: sensitive data types
	//
	// 	- **sensitive_level**: sensitivity level
	//
	// example:
	//
	// {
	//
	//     "sensitive_list": ["1003","1005"],
	//
	//     "sensitive_level": "L2",
	//
	//     "request_sensitive_list": ["1003"],
	//
	//     "response_sensitive_list": ["1005"]
	//
	// }
	ApiSensitive *string `json:"ApiSensitive,omitempty" xml:"ApiSensitive,omitempty"`
	// The sensitive data type in the request.
	//
	// example:
	//
	// ["1002","1005"]
	ApiSensitiveRequest *string `json:"ApiSensitiveRequest,omitempty" xml:"ApiSensitiveRequest,omitempty"`
	// The sensitive data type in the response.
	//
	// example:
	//
	// ["1002","1005"]
	ApiSensitiveResponse *string `json:"ApiSensitiveResponse,omitempty" xml:"ApiSensitiveResponse,omitempty"`
	// The API status. Valid values:
	//
	// 	- **NewbornInterface**: The API is newly added.
	//
	// 	- **OfflineInterface**: The API is inactive.
	//
	// 	- **normal**: The API is normal.
	//
	// example:
	//
	// NewbornInterface
	ApiStatus *string `json:"ApiStatus,omitempty" xml:"ApiStatus,omitempty"`
	// The business purpose of the API.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the business purpose of the API.
	//
	// example:
	//
	// SendMail
	ApiTag *string `json:"ApiTag,omitempty" xml:"ApiTag,omitempty"`
	// The service object. Valid values:
	//
	// 	- **PublicAPI**: public services
	//
	// 	- **ThirdpartAPI**: cooperation with third-party partners
	//
	// 	- **InternalAPI**: internal office
	//
	// example:
	//
	// PublicAPI
	ApiType *string `json:"ApiType,omitempty" xml:"ApiType,omitempty"`
	// Indicates whether authentication is required. Valid values:
	//
	// 	- **0**: Authentication is required.
	//
	// 	- **1**: Authentication is not required.
	//
	// example:
	//
	// 1
	AuthFlag *string `json:"AuthFlag,omitempty" xml:"AuthFlag,omitempty"`
	// The number of bot-initiated requests in the previous 30 days.
	//
	// example:
	//
	// 2
	BotCnt *int64 `json:"BotCnt,omitempty" xml:"BotCnt,omitempty"`
	// The number of the cross-border requests in the previous 30 days.
	//
	// example:
	//
	// 2
	CrossBorderCnt *int64 `json:"CrossBorderCnt,omitempty" xml:"CrossBorderCnt,omitempty"`
	// The number of API-related security events.
	//
	// example:
	//
	// 2
	EventNum *int64 `json:"EventNum,omitempty" xml:"EventNum,omitempty"`
	// The sample APIs.
	Examples []*string `json:"Examples,omitempty" xml:"Examples,omitempty" type:"Repeated"`
	// The time when the API asset was first detected. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683388800
	FarthestTs *int64 `json:"FarthestTs,omitempty" xml:"FarthestTs,omitempty"`
	// Specifies whether to follow the API. Valid values:
	//
	// 	- **1**: follows the API.
	//
	// 	- **0**: does not follow the API.
	//
	// example:
	//
	// 1
	Follow *int32 `json:"Follow,omitempty" xml:"Follow,omitempty"`
	// The most recent access time of the API. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683388800
	LastestTs *int64 `json:"LastestTs,omitempty" xml:"LastestTs,omitempty"`
	// The domain name or IP address of the API.
	//
	// example:
	//
	// a.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The remarks.
	//
	// example:
	//
	// Password changed
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
}

func (DescribeApisecApiResourcesResponseBodyData) GoString

func (*DescribeApisecApiResourcesResponseBodyData) SetAbnormalNum

func (*DescribeApisecApiResourcesResponseBodyData) SetAllCnt

func (*DescribeApisecApiResourcesResponseBodyData) SetApiFormat

func (*DescribeApisecApiResourcesResponseBodyData) SetApiId

func (*DescribeApisecApiResourcesResponseBodyData) SetApiInfo

func (*DescribeApisecApiResourcesResponseBodyData) SetApiMethod

func (*DescribeApisecApiResourcesResponseBodyData) SetApiSensitive

func (*DescribeApisecApiResourcesResponseBodyData) SetApiSensitiveRequest

func (*DescribeApisecApiResourcesResponseBodyData) SetApiSensitiveResponse

func (*DescribeApisecApiResourcesResponseBodyData) SetApiStatus

func (*DescribeApisecApiResourcesResponseBodyData) SetApiTag

func (*DescribeApisecApiResourcesResponseBodyData) SetApiType

func (*DescribeApisecApiResourcesResponseBodyData) SetAuthFlag

func (*DescribeApisecApiResourcesResponseBodyData) SetBotCnt

func (*DescribeApisecApiResourcesResponseBodyData) SetCrossBorderCnt

func (*DescribeApisecApiResourcesResponseBodyData) SetEventNum

func (*DescribeApisecApiResourcesResponseBodyData) SetExamples

func (*DescribeApisecApiResourcesResponseBodyData) SetFarthestTs

func (*DescribeApisecApiResourcesResponseBodyData) SetFollow

func (*DescribeApisecApiResourcesResponseBodyData) SetLastestTs

func (*DescribeApisecApiResourcesResponseBodyData) SetMatchedHost

func (*DescribeApisecApiResourcesResponseBodyData) SetNote

func (DescribeApisecApiResourcesResponseBodyData) String

type DescribeApisecAssetTrendRequest

type DescribeApisecAssetTrendRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// example:
	//
	// 590
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. Specify a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683183599
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-ww**b06
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aek**7uq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Specify a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1668496310
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeApisecAssetTrendRequest) GoString

func (*DescribeApisecAssetTrendRequest) SetClusterId

func (*DescribeApisecAssetTrendRequest) SetEndTime

func (*DescribeApisecAssetTrendRequest) SetInstanceId

func (*DescribeApisecAssetTrendRequest) SetRegionId

func (*DescribeApisecAssetTrendRequest) SetResourceManagerResourceGroupId

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

func (*DescribeApisecAssetTrendRequest) SetStartTime

func (DescribeApisecAssetTrendRequest) String

type DescribeApisecAssetTrendResponse

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

func (DescribeApisecAssetTrendResponse) GoString

func (*DescribeApisecAssetTrendResponse) SetHeaders

func (*DescribeApisecAssetTrendResponse) SetStatusCode

func (DescribeApisecAssetTrendResponse) String

type DescribeApisecAssetTrendResponseBody

type DescribeApisecAssetTrendResponseBody struct {
	// The data returned.
	Data []*DescribeApisecAssetTrendResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// Id of the request.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeApisecAssetTrendResponseBody) GoString

func (*DescribeApisecAssetTrendResponseBody) SetRequestId

func (DescribeApisecAssetTrendResponseBody) String

type DescribeApisecAssetTrendResponseBodyData

type DescribeApisecAssetTrendResponseBodyData struct {
	// The number of active assets.
	//
	// example:
	//
	// 60
	AssetActive *int64 `json:"AssetActive,omitempty" xml:"AssetActive,omitempty"`
	// The total number of assets.
	//
	// example:
	//
	// 80
	AssetCount *int64 `json:"AssetCount,omitempty" xml:"AssetCount,omitempty"`
	// The number of deactivated assets.
	//
	// example:
	//
	// 20
	AssetOffline *int64 `json:"AssetOffline,omitempty" xml:"AssetOffline,omitempty"`
	// The time for statistics. Specify a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683600042
	Timestamp *int64 `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
}

func (DescribeApisecAssetTrendResponseBodyData) GoString

func (*DescribeApisecAssetTrendResponseBodyData) SetAssetActive

func (*DescribeApisecAssetTrendResponseBodyData) SetAssetCount

func (*DescribeApisecAssetTrendResponseBodyData) SetAssetOffline

func (*DescribeApisecAssetTrendResponseBodyData) SetTimestamp

func (DescribeApisecAssetTrendResponseBodyData) String

type DescribeApisecEventDomainStatisticRequest

type DescribeApisecEventDomainStatisticRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. Specify a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1686895256
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0xldbqt****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The sorting order. Valid values:
	//
	// - **asc**: ascending order.
	//
	// - **desc**: descending order.
	//
	// example:
	//
	// desc
	OrderWay *string `json:"OrderWay,omitempty" xml:"OrderWay,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **5**.
	//
	// example:
	//
	// 5
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfmvyknl****fa
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Specify a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1668496310
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeApisecEventDomainStatisticRequest) GoString

func (*DescribeApisecEventDomainStatisticRequest) SetClusterId

func (*DescribeApisecEventDomainStatisticRequest) SetEndTime

func (*DescribeApisecEventDomainStatisticRequest) SetInstanceId

func (*DescribeApisecEventDomainStatisticRequest) SetOrderWay

func (*DescribeApisecEventDomainStatisticRequest) SetPageNumber

func (*DescribeApisecEventDomainStatisticRequest) SetPageSize

func (*DescribeApisecEventDomainStatisticRequest) SetRegionId

func (*DescribeApisecEventDomainStatisticRequest) SetResourceManagerResourceGroupId

func (*DescribeApisecEventDomainStatisticRequest) SetStartTime

func (DescribeApisecEventDomainStatisticRequest) String

type DescribeApisecEventDomainStatisticResponse

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

func (DescribeApisecEventDomainStatisticResponse) GoString

func (*DescribeApisecEventDomainStatisticResponse) SetHeaders

func (*DescribeApisecEventDomainStatisticResponse) SetStatusCode

func (DescribeApisecEventDomainStatisticResponse) String

type DescribeApisecEventDomainStatisticResponseBody

type DescribeApisecEventDomainStatisticResponseBody struct {
	// The response parameters.
	Data []*DescribeApisecEventDomainStatisticResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// Id of the request.
	//
	// example:
	//
	// 66A98669-*******-80A6-3014697B11AE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 10
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecEventDomainStatisticResponseBody) GoString

func (*DescribeApisecEventDomainStatisticResponseBody) SetRequestId

func (*DescribeApisecEventDomainStatisticResponseBody) SetTotalCount

func (DescribeApisecEventDomainStatisticResponseBody) String

type DescribeApisecEventDomainStatisticResponseBodyData

type DescribeApisecEventDomainStatisticResponseBodyData struct {
	// The number of APIs.
	//
	// example:
	//
	// 10
	ApiCount *int64 `json:"ApiCount,omitempty" xml:"ApiCount,omitempty"`
	// The domain name.
	//
	// example:
	//
	// a.aliyun.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The number of high-risk security events.
	//
	// example:
	//
	// 10
	High *int64 `json:"High,omitempty" xml:"High,omitempty"`
	// The number of low-risk security events.
	//
	// example:
	//
	// 2
	Low *int64 `json:"Low,omitempty" xml:"Low,omitempty"`
	// The number of medium-risk security events.
	//
	// example:
	//
	// 6
	Medium *int64 `json:"Medium,omitempty" xml:"Medium,omitempty"`
}

func (DescribeApisecEventDomainStatisticResponseBodyData) GoString

func (*DescribeApisecEventDomainStatisticResponseBodyData) SetApiCount

func (*DescribeApisecEventDomainStatisticResponseBodyData) SetDomain

func (*DescribeApisecEventDomainStatisticResponseBodyData) SetHigh

func (*DescribeApisecEventDomainStatisticResponseBodyData) SetLow

func (*DescribeApisecEventDomainStatisticResponseBodyData) SetMedium

func (DescribeApisecEventDomainStatisticResponseBodyData) String

type DescribeApisecEventsRequest

type DescribeApisecEventsRequest struct {
	// The API.
	//
	// example:
	//
	// /apisec/v1/register.php
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the event-related API.
	//
	// example:
	//
	// 820b860***6205da93b935b28
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The business purpose of the API.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the business purpose of the API.
	//
	// example:
	//
	// SendMail
	ApiTag *string `json:"ApiTag,omitempty" xml:"ApiTag,omitempty"`
	// The Attack source IP.
	//
	// example:
	//
	// 42.224.*.*
	AttackIp *string `json:"AttackIp,omitempty" xml:"AttackIp,omitempty"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683703260
	EndTs *int64 `json:"EndTs,omitempty" xml:"EndTs,omitempty"`
	// The ID of the API security event.
	//
	// example:
	//
	// 18ba94fea9***e66ba0557b7b91
	EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// The severity level of the event. Valid values:
	//
	// 	- **high**
	//
	// 	- **medium**
	//
	// 	- **low**
	//
	// example:
	//
	// low
	EventLevel *string `json:"EventLevel,omitempty" xml:"EventLevel,omitempty"`
	// The type of the event.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported event types.
	//
	// example:
	//
	// ObtainSensitiveUnauthorized
	EventTag *string `json:"EventTag,omitempty" xml:"EventTag,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-5y***d31
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The domain name or IP address of the API.
	//
	// example:
	//
	// a.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The name of the sorting field. Valid values:
	//
	// 	- **allCnt**: the number of attacks
	//
	// 	- **startTs**: the start time of the event
	//
	// 	- **endTs**: the end time of the event
	//
	// example:
	//
	// startTs
	OrderKey *string `json:"OrderKey,omitempty" xml:"OrderKey,omitempty"`
	// The sorting method. Valid values:
	//
	// 	- **desc*	- (default): descending order
	//
	// 	- **asc**: ascending order
	//
	// example:
	//
	// desc
	OrderWay *string `json:"OrderWay,omitempty" xml:"OrderWay,omitempty"`
	// The source of the event type. Valid values:
	//
	// 	- **custom**
	//
	// 	- **default**
	//
	// example:
	//
	// default
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683648000
	StartTs *int64 `json:"StartTs,omitempty" xml:"StartTs,omitempty"`
	// The event status. Valid values:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **ignored**
	//
	// example:
	//
	// Ignore
	UserStatus *string `json:"UserStatus,omitempty" xml:"UserStatus,omitempty"`
}

func (DescribeApisecEventsRequest) GoString

func (s DescribeApisecEventsRequest) GoString() string

func (*DescribeApisecEventsRequest) SetApiFormat

func (*DescribeApisecEventsRequest) SetApiId

func (*DescribeApisecEventsRequest) SetApiTag

func (*DescribeApisecEventsRequest) SetAttackIp

func (*DescribeApisecEventsRequest) SetClusterId

func (*DescribeApisecEventsRequest) SetEndTs

func (*DescribeApisecEventsRequest) SetEventId

func (*DescribeApisecEventsRequest) SetEventLevel

func (*DescribeApisecEventsRequest) SetEventTag

func (*DescribeApisecEventsRequest) SetInstanceId

func (*DescribeApisecEventsRequest) SetMatchedHost

func (*DescribeApisecEventsRequest) SetOrderKey

func (*DescribeApisecEventsRequest) SetOrderWay

func (*DescribeApisecEventsRequest) SetOrigin

func (*DescribeApisecEventsRequest) SetPageNumber

func (*DescribeApisecEventsRequest) SetPageSize

func (*DescribeApisecEventsRequest) SetRegionId

func (*DescribeApisecEventsRequest) SetResourceManagerResourceGroupId

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

func (*DescribeApisecEventsRequest) SetStartTs

func (*DescribeApisecEventsRequest) SetUserStatus

func (DescribeApisecEventsRequest) String

type DescribeApisecEventsResponse

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

func (DescribeApisecEventsResponse) GoString

func (s DescribeApisecEventsResponse) GoString() string

func (*DescribeApisecEventsResponse) SetBody

func (*DescribeApisecEventsResponse) SetHeaders

func (*DescribeApisecEventsResponse) SetStatusCode

func (DescribeApisecEventsResponse) String

type DescribeApisecEventsResponseBody

type DescribeApisecEventsResponseBody struct {
	// The security events.
	Data []*DescribeApisecEventsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 12F4CC8F-7E9F-5E4D-BF7C-BD1EDDE0C282
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 3
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecEventsResponseBody) GoString

func (*DescribeApisecEventsResponseBody) SetRequestId

func (*DescribeApisecEventsResponseBody) SetTotalCount

func (DescribeApisecEventsResponseBody) String

type DescribeApisecEventsResponseBodyData

type DescribeApisecEventsResponseBodyData struct {
	// The number of attacks.
	//
	// example:
	//
	// 10
	AllCnt *int64 `json:"AllCnt,omitempty" xml:"AllCnt,omitempty"`
	// The API.
	//
	// example:
	//
	// /apisec/v1/register.php
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the API that is associated with the security event.
	//
	// example:
	//
	// 2ecc1cf67b91853bc55545052ccf06a8
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The business purpose of the API.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the business purpose of the API.
	//
	// example:
	//
	// SendMail
	ApiTag *string `json:"ApiTag,omitempty" xml:"ApiTag,omitempty"`
	// The client that is attacked.
	//
	// example:
	//
	// Chrome
	AttackClient *string `json:"AttackClient,omitempty" xml:"AttackClient,omitempty"`
	// The information about the number of attacks. The value of this parameter is a JSON string that contains multiple parameters. Key indicates the timestamp in seconds, and Value indicates the number of attacks.
	//
	// example:
	//
	// {\\"1717498320\\":500,\\"1717498380\\":529,\\"1717498440\\":20,\\"1717498260\\":518,\\"1717498200\\":481,\\"1717498140\\":52}
	AttackCntInfo *string `json:"AttackCntInfo,omitempty" xml:"AttackCntInfo,omitempty"`
	// The source IP address of the attack.
	//
	// example:
	//
	// 104.234.140.33
	AttackIp *string `json:"AttackIp,omitempty" xml:"AttackIp,omitempty"`
	// The information about the attack source IP address. The value of this parameter is a JSON string that contains multiple parameters. The value includes the following parameters:
	//
	// 	- **ip**: the IP address
	//
	// 	- **country_id**: the country ID
	//
	// 	- **region_id**: the region ID
	//
	// 	- **cnt**: the number of attacks
	//
	// example:
	//
	// [{\\"ip\\":\\"72.*.*.119\\",\\"country_id\\":\\"US\\",\\"region_id\\":\\"\\",\\"cnt\\":\\"2100\\"}]
	AttackIpInfo *string `json:"AttackIpInfo,omitempty" xml:"AttackIpInfo,omitempty"`
	// The end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683703260
	EndTs *int64 `json:"EndTs,omitempty" xml:"EndTs,omitempty"`
	// The ID of the event.
	//
	// example:
	//
	// c82cb276847e9c96f9597d9f4b0cdcff
	EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
	// The details of the event. The value of this parameter is a JSON string that contains multiple parameters. The value includes the following parameters:
	//
	// 	- **ip_info**: the information about the attack source IP address. This parameter corresponds to the **AttackIpInfo*	- response parameter.
	//
	// 	- **rule_id**: the ID of the rule corresponding to the event.
	//
	// 	- **rule_tag**: the information about the rule corresponding to the event.
	//
	// example:
	//
	// {}
	EventInfo *string `json:"EventInfo,omitempty" xml:"EventInfo,omitempty"`
	// The severity level of the event. Valid values:
	//
	// 	- **high**
	//
	// 	- **medium**
	//
	// 	- **low**
	//
	// example:
	//
	// medium
	EventLevel *string `json:"EventLevel,omitempty" xml:"EventLevel,omitempty"`
	// The type of the event.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported event types.
	//
	// example:
	//
	// ObtainSensitiveUnauthorized
	EventTag *string `json:"EventTag,omitempty" xml:"EventTag,omitempty"`
	// Indicates whether the API is followed. Valid values:
	//
	// 	- **1**: The API is followed.
	//
	// 	- **0**: The API is not followed.
	//
	// example:
	//
	// 0
	Follow *int32 `json:"Follow,omitempty" xml:"Follow,omitempty"`
	// The domain name or IP address of the API.
	//
	// example:
	//
	// a.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The remarks.
	//
	// example:
	//
	// Notified
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The source of the event type. Valid values:
	//
	// 	- **custom**
	//
	// 	- **default**
	//
	// example:
	//
	// custom
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The country to which the attack source IP address belongs.
	//
	// example:
	//
	// US
	RemoteCountry *string `json:"RemoteCountry,omitempty" xml:"RemoteCountry,omitempty"`
	// The region to which the attack source IP address belongs.
	//
	// example:
	//
	// 110000
	RemoteRegion *string `json:"RemoteRegion,omitempty" xml:"RemoteRegion,omitempty"`
	// The sample API request. The value of this parameter is a JSON string that contains multiple parameters.
	//
	// example:
	//
	// {}
	RequestData *string `json:"RequestData,omitempty" xml:"RequestData,omitempty"`
	// The sample API response. The value of this parameter is a JSON string that contains multiple parameters.
	//
	// example:
	//
	// {}
	ResponseData *string `json:"ResponseData,omitempty" xml:"ResponseData,omitempty"`
	// The beginning of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683648000
	StartTs *int64 `json:"StartTs,omitempty" xml:"StartTs,omitempty"`
	// The event status. Valid values:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **ignored**
	//
	// example:
	//
	// Ignore
	UserStatus *string `json:"UserStatus,omitempty" xml:"UserStatus,omitempty"`
}

func (DescribeApisecEventsResponseBodyData) GoString

func (*DescribeApisecEventsResponseBodyData) SetAllCnt

func (*DescribeApisecEventsResponseBodyData) SetApiFormat

func (*DescribeApisecEventsResponseBodyData) SetApiId

func (*DescribeApisecEventsResponseBodyData) SetApiTag

func (*DescribeApisecEventsResponseBodyData) SetAttackClient

func (*DescribeApisecEventsResponseBodyData) SetAttackCntInfo

func (*DescribeApisecEventsResponseBodyData) SetAttackIp

func (*DescribeApisecEventsResponseBodyData) SetAttackIpInfo

func (*DescribeApisecEventsResponseBodyData) SetEndTs

func (*DescribeApisecEventsResponseBodyData) SetEventId

func (*DescribeApisecEventsResponseBodyData) SetEventInfo

func (*DescribeApisecEventsResponseBodyData) SetEventLevel

func (*DescribeApisecEventsResponseBodyData) SetEventTag

func (*DescribeApisecEventsResponseBodyData) SetFollow

func (*DescribeApisecEventsResponseBodyData) SetMatchedHost

func (*DescribeApisecEventsResponseBodyData) SetNote

func (*DescribeApisecEventsResponseBodyData) SetOrigin

func (*DescribeApisecEventsResponseBodyData) SetRemoteCountry

func (*DescribeApisecEventsResponseBodyData) SetRemoteRegion

func (*DescribeApisecEventsResponseBodyData) SetRequestData

func (*DescribeApisecEventsResponseBodyData) SetResponseData

func (*DescribeApisecEventsResponseBodyData) SetStartTs

func (*DescribeApisecEventsResponseBodyData) SetUserStatus

func (DescribeApisecEventsResponseBodyData) String

type DescribeApisecLogDeliveriesRequest

type DescribeApisecLogDeliveriesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3_public_cn-uqm2z****0a
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeApisecLogDeliveriesRequest) GoString

func (*DescribeApisecLogDeliveriesRequest) SetInstanceId

func (*DescribeApisecLogDeliveriesRequest) SetRegionId

func (*DescribeApisecLogDeliveriesRequest) SetResourceManagerResourceGroupId

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

func (DescribeApisecLogDeliveriesRequest) String

type DescribeApisecLogDeliveriesResponse

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

func (DescribeApisecLogDeliveriesResponse) GoString

func (*DescribeApisecLogDeliveriesResponse) SetHeaders

func (*DescribeApisecLogDeliveriesResponse) SetStatusCode

func (DescribeApisecLogDeliveriesResponse) String

type DescribeApisecLogDeliveriesResponseBody

type DescribeApisecLogDeliveriesResponseBody struct {
	// The configurations of API security log subscription.
	DeliveryConfigs []*DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs `json:"DeliveryConfigs,omitempty" xml:"DeliveryConfigs,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// 2EFCFE18-78F8-5079-B312-07***48B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeApisecLogDeliveriesResponseBody) GoString

func (*DescribeApisecLogDeliveriesResponseBody) SetRequestId

func (DescribeApisecLogDeliveriesResponseBody) String

type DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs

type DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs struct {
	// The type of the log subscription. Valid values:
	//
	// 	- **risk**: risk information.
	//
	// 	- **event**: attack event information.
	//
	// 	- **asset**: asset information.
	//
	// example:
	//
	// risk
	AssertKey *string `json:"AssertKey,omitempty" xml:"AssertKey,omitempty"`
	// The ID of the region where logs are stored.
	//
	// example:
	//
	// cn-hangzhou
	LogRegionId *string `json:"LogRegionId,omitempty" xml:"LogRegionId,omitempty"`
	// The name of the Logstore in Simple Log Service.
	//
	// example:
	//
	// apisec-logstore***
	LogStoreName *string `json:"LogStoreName,omitempty" xml:"LogStoreName,omitempty"`
	// The name of the project in Simple Log Service.
	//
	// example:
	//
	// apisec-project-14316572********
	ProjectName *string `json:"ProjectName,omitempty" xml:"ProjectName,omitempty"`
	// The status of API security log subscription. Valid values:
	//
	// 	- **true**: enabled.
	//
	// 	- **false**: disabled.
	//
	// example:
	//
	// true
	Status *bool `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs) GoString

func (*DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs) SetAssertKey

func (*DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs) SetLogRegionId

func (*DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs) SetLogStoreName

func (*DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs) SetProjectName

func (*DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs) SetStatus

func (DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs) String

type DescribeApisecMatchedHostsRequest

type DescribeApisecMatchedHostsRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 433
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-x0r37plpl0g
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The domain name or IP address.
	//
	// example:
	//
	// bc.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *string `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 8
	PageSize *string `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekz5qqo7jthcsa
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The detection type. Valid values:
	//
	// 	- **api**: API-related domain names
	//
	// 	- **abnormal**: risk-related domain names
	//
	// 	- **event**: security event-related domain names
	//
	// example:
	//
	// event
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeApisecMatchedHostsRequest) GoString

func (*DescribeApisecMatchedHostsRequest) SetClusterId

func (*DescribeApisecMatchedHostsRequest) SetInstanceId

func (*DescribeApisecMatchedHostsRequest) SetMatchedHost

func (*DescribeApisecMatchedHostsRequest) SetPageNumber

func (*DescribeApisecMatchedHostsRequest) SetPageSize

func (*DescribeApisecMatchedHostsRequest) SetRegionId

func (*DescribeApisecMatchedHostsRequest) SetResourceManagerResourceGroupId

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

func (*DescribeApisecMatchedHostsRequest) SetType

func (DescribeApisecMatchedHostsRequest) String

type DescribeApisecMatchedHostsResponse

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

func (DescribeApisecMatchedHostsResponse) GoString

func (*DescribeApisecMatchedHostsResponse) SetHeaders

func (*DescribeApisecMatchedHostsResponse) SetStatusCode

func (DescribeApisecMatchedHostsResponse) String

type DescribeApisecMatchedHostsResponseBody

type DescribeApisecMatchedHostsResponseBody struct {
	// The domain names.
	Data []*DescribeApisecMatchedHostsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 8D4CA088-F72B-5658-BD5B-ECE8B8F0C7BB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 2
	TotalCount *string `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecMatchedHostsResponseBody) GoString

func (*DescribeApisecMatchedHostsResponseBody) SetRequestId

func (*DescribeApisecMatchedHostsResponseBody) SetTotalCount

func (DescribeApisecMatchedHostsResponseBody) String

type DescribeApisecMatchedHostsResponseBodyData

type DescribeApisecMatchedHostsResponseBodyData struct {
	// The number of APIs related to the domain name.
	//
	// example:
	//
	// 31
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The domain name or IP address.
	//
	// example:
	//
	// bc.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
}

func (DescribeApisecMatchedHostsResponseBodyData) GoString

func (*DescribeApisecMatchedHostsResponseBodyData) SetCount

func (*DescribeApisecMatchedHostsResponseBodyData) SetMatchedHost

func (DescribeApisecMatchedHostsResponseBodyData) String

type DescribeApisecProtectionGroupsRequest

type DescribeApisecProtectionGroupsRequest struct {
	// The switch of the API security module.
	//
	// example:
	//
	// 1
	ApisecStatus *int32 `json:"ApisecStatus,omitempty" xml:"ApisecStatus,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0xldbqt****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the protected object group to which the protected object belongs.
	//
	// example:
	//
	// group1
	ResourceGroup *string `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeApisecProtectionGroupsRequest) GoString

func (*DescribeApisecProtectionGroupsRequest) SetApisecStatus

func (*DescribeApisecProtectionGroupsRequest) SetInstanceId

func (*DescribeApisecProtectionGroupsRequest) SetPageNumber

func (*DescribeApisecProtectionGroupsRequest) SetPageSize

func (*DescribeApisecProtectionGroupsRequest) SetRegionId

func (*DescribeApisecProtectionGroupsRequest) SetResourceGroup

func (*DescribeApisecProtectionGroupsRequest) SetResourceManagerResourceGroupId

func (DescribeApisecProtectionGroupsRequest) String

type DescribeApisecProtectionGroupsResponse

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

func (DescribeApisecProtectionGroupsResponse) GoString

func (*DescribeApisecProtectionGroupsResponse) SetHeaders

func (*DescribeApisecProtectionGroupsResponse) SetStatusCode

func (DescribeApisecProtectionGroupsResponse) String

type DescribeApisecProtectionGroupsResponseBody

type DescribeApisecProtectionGroupsResponseBody struct {
	// The protected object groups.
	Data []*DescribeApisecProtectionGroupsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of protected object groups.
	//
	// example:
	//
	// 8
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecProtectionGroupsResponseBody) GoString

func (*DescribeApisecProtectionGroupsResponseBody) SetRequestId

func (*DescribeApisecProtectionGroupsResponseBody) SetTotalCount

func (DescribeApisecProtectionGroupsResponseBody) String

type DescribeApisecProtectionGroupsResponseBodyData

type DescribeApisecProtectionGroupsResponseBodyData struct {
	// The switch of the API security module.
	//
	// example:
	//
	// 1
	ApisecStatus *int64 `json:"ApisecStatus,omitempty" xml:"ApisecStatus,omitempty"`
	// The switch of the compliance check feature.
	//
	// example:
	//
	// 0
	ReportStatus *int64 `json:"ReportStatus,omitempty" xml:"ReportStatus,omitempty"`
	// The name of the protected object group.
	//
	// example:
	//
	// group1
	ResourceGroup *string `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty"`
	// The switch of the tracing and auditing feature.
	//
	// example:
	//
	// 0
	TraceStatus *int64 `json:"TraceStatus,omitempty" xml:"TraceStatus,omitempty"`
}

func (DescribeApisecProtectionGroupsResponseBodyData) GoString

func (*DescribeApisecProtectionGroupsResponseBodyData) SetApisecStatus

func (*DescribeApisecProtectionGroupsResponseBodyData) SetReportStatus

func (*DescribeApisecProtectionGroupsResponseBodyData) SetResourceGroup

func (*DescribeApisecProtectionGroupsResponseBodyData) SetTraceStatus

func (DescribeApisecProtectionGroupsResponseBodyData) String

type DescribeApisecProtectionResourcesRequest

type DescribeApisecProtectionResourcesRequest struct {
	// The switch of the API security module.
	//
	// example:
	//
	// 1
	ApisecStatus *int32 `json:"ApisecStatus,omitempty" xml:"ApisecStatus,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-0xldbqt****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the protected object.
	//
	// example:
	//
	// cwaf-***-waf
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeApisecProtectionResourcesRequest) GoString

func (*DescribeApisecProtectionResourcesRequest) SetApisecStatus

func (*DescribeApisecProtectionResourcesRequest) SetInstanceId

func (*DescribeApisecProtectionResourcesRequest) SetPageNumber

func (*DescribeApisecProtectionResourcesRequest) SetPageSize

func (*DescribeApisecProtectionResourcesRequest) SetRegionId

func (*DescribeApisecProtectionResourcesRequest) SetResource

func (*DescribeApisecProtectionResourcesRequest) SetResourceManagerResourceGroupId

func (DescribeApisecProtectionResourcesRequest) String

type DescribeApisecProtectionResourcesResponse

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

func (DescribeApisecProtectionResourcesResponse) GoString

func (*DescribeApisecProtectionResourcesResponse) SetHeaders

func (*DescribeApisecProtectionResourcesResponse) SetStatusCode

func (DescribeApisecProtectionResourcesResponse) String

type DescribeApisecProtectionResourcesResponseBody

type DescribeApisecProtectionResourcesResponseBody struct {
	// The protected objects.
	Data []*DescribeApisecProtectionResourcesResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 2EFCFE18-78F8-5079-B312-07***48B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 5
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecProtectionResourcesResponseBody) GoString

func (*DescribeApisecProtectionResourcesResponseBody) SetRequestId

func (*DescribeApisecProtectionResourcesResponseBody) SetTotalCount

func (DescribeApisecProtectionResourcesResponseBody) String

type DescribeApisecProtectionResourcesResponseBodyData

type DescribeApisecProtectionResourcesResponseBodyData struct {
	// The switch of the API security module.
	//
	// example:
	//
	// 1
	ApisecStatus *int64 `json:"ApisecStatus,omitempty" xml:"ApisecStatus,omitempty"`
	// The switch of the compliance check feature.
	//
	// example:
	//
	// 1
	ReportStatus *int64 `json:"ReportStatus,omitempty" xml:"ReportStatus,omitempty"`
	// The protected object.
	//
	// example:
	//
	// cwaf-***-waf
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The switch of the tracing and auditing feature.
	//
	// example:
	//
	// 0
	TraceStatus *int64 `json:"TraceStatus,omitempty" xml:"TraceStatus,omitempty"`
}

func (DescribeApisecProtectionResourcesResponseBodyData) GoString

func (*DescribeApisecProtectionResourcesResponseBodyData) SetApisecStatus

func (*DescribeApisecProtectionResourcesResponseBodyData) SetReportStatus

func (*DescribeApisecProtectionResourcesResponseBodyData) SetResource

func (*DescribeApisecProtectionResourcesResponseBodyData) SetTraceStatus

func (DescribeApisecProtectionResourcesResponseBodyData) String

type DescribeApisecRulesRequest

type DescribeApisecRulesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0x***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The level of the policy.
	//
	// If Type is set to risk or event, you can set this parameter to one of the following values:
	//
	// 	- **high**
	//
	// 	- **medium**
	//
	// 	- **low**
	//
	// If Type is set to sensitive_word, you can set this parameter to one of the following values:
	//
	// 	- **S1**
	//
	// 	- **S2**
	//
	// 	- **S3**
	//
	// 	- **S4**
	//
	// example:
	//
	// high
	Level *string `json:"Level,omitempty" xml:"Level,omitempty"`
	// The name of the policy.
	//
	// example:
	//
	// Information Leak
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The source of the policy. Valid values:
	//
	// 	- **custom**
	//
	// 	- **default**
	//
	// example:
	//
	// custom
	Origin *string `json:"Origin,omitempty" xml:"Origin,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The status of the policy. Valid values:
	//
	// 	- **1**: enabled
	//
	// 	- **0**: disabled
	//
	// example:
	//
	// 1
	Status *int64 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the policy. Valid values:
	//
	// 	- **risk**: risk detection
	//
	// 	- **event**: security event
	//
	// 	- **sensitive_word**: sensitive data
	//
	// 	- **auth_flag**: authentication credential
	//
	// 	- **api_tag**: business purpose
	//
	// 	- **desensitization**: masking
	//
	// 	- **whitelist**: whitelist
	//
	// 	- **recognition**: API recognition
	//
	// 	- **offline_api**: lifecycle management
	//
	// This parameter is required.
	//
	// example:
	//
	// risk
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeApisecRulesRequest) GoString

func (s DescribeApisecRulesRequest) GoString() string

func (*DescribeApisecRulesRequest) SetInstanceId

func (*DescribeApisecRulesRequest) SetLevel

func (*DescribeApisecRulesRequest) SetName

func (*DescribeApisecRulesRequest) SetOrigin

func (*DescribeApisecRulesRequest) SetPageNumber

func (*DescribeApisecRulesRequest) SetPageSize

func (*DescribeApisecRulesRequest) SetRegionId

func (*DescribeApisecRulesRequest) SetResourceManagerResourceGroupId

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

func (*DescribeApisecRulesRequest) SetStatus

func (*DescribeApisecRulesRequest) SetType

func (DescribeApisecRulesRequest) String

type DescribeApisecRulesResponse

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

func (DescribeApisecRulesResponse) GoString

func (s DescribeApisecRulesResponse) GoString() string

func (*DescribeApisecRulesResponse) SetBody

func (*DescribeApisecRulesResponse) SetHeaders

func (*DescribeApisecRulesResponse) SetStatusCode

func (DescribeApisecRulesResponse) String

type DescribeApisecRulesResponseBody

type DescribeApisecRulesResponseBody struct {
	// The policies.
	Data []*DescribeApisecRulesResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 6
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecRulesResponseBody) GoString

func (*DescribeApisecRulesResponseBody) SetData

func (*DescribeApisecRulesResponseBody) SetRequestId

func (*DescribeApisecRulesResponseBody) SetTotalCount

func (DescribeApisecRulesResponseBody) String

type DescribeApisecRulesResponseBodyData

type DescribeApisecRulesResponseBodyData struct {
	// The ID of the policy.
	//
	// example:
	//
	// 34933
	Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The details of the policy. The value is a string that consists of multiple parameters in the JSON format.
	//
	// example:
	//
	// {
	//
	//     "ext": "Date",
	//
	//     "regex": "-",
	//
	//     "code": "2009",
	//
	//     "level": "S1",
	//
	//     "origin": "default",
	//
	//     "name": "2009"
	//
	// }
	Rule *string `json:"Rule,omitempty" xml:"Rule,omitempty"`
	// The status of the policy. Valid values:
	//
	// 	- **1**: enabled
	//
	// 	- **0**: disabled
	//
	// example:
	//
	// 1
	Status *int64 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The type of the policy. Valid values:
	//
	// 	- **risk**: risk detection
	//
	// 	- **event**: security event
	//
	// 	- **sensitive_word**: sensitive data
	//
	// 	- **auth_flag**: authentication credential
	//
	// 	- **api_tag**: business purpose
	//
	// 	- **desensitization**: data masking
	//
	// 	- **whitelist**: whitelist
	//
	// 	- **recognition**: API recognition
	//
	// 	- **offline_api**: lifecycle management
	//
	// example:
	//
	// risk
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The time when the policy was updated. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1721095301
	UpdateTime *int64 `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
}

func (DescribeApisecRulesResponseBodyData) GoString

func (*DescribeApisecRulesResponseBodyData) SetId

func (*DescribeApisecRulesResponseBodyData) SetRule

func (*DescribeApisecRulesResponseBodyData) SetStatus

func (*DescribeApisecRulesResponseBodyData) SetType

func (*DescribeApisecRulesResponseBodyData) SetUpdateTime

func (DescribeApisecRulesResponseBodyData) String

type DescribeApisecSensitiveDomainStatisticRequest

type DescribeApisecSensitiveDomainStatisticRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. Specify a UNIX timestamp in UTC. Unit: milliseconds.
	//
	// example:
	//
	// 1686895256
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstanceInfo](https://help.aliyun.com/document_detail/140857.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The sorting order. Valid values:
	//
	// -  **asc**: ascending order.
	//
	// - **desc**: descending order.
	//
	// example:
	//
	// desc
	OrderWay *string `json:"OrderWay,omitempty" xml:"OrderWay,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **5**.
	//
	// example:
	//
	// 5
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Specify a UNIX timestamp in UTC. Unit: milliseconds.
	//
	// example:
	//
	// 1668496310
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The sensitive data type. Valid values:
	//
	// - **request**: sensitive data in requests.
	//
	// - **response**: sensitive data in responses.
	//
	// example:
	//
	// request
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeApisecSensitiveDomainStatisticRequest) GoString

func (*DescribeApisecSensitiveDomainStatisticRequest) SetClusterId

func (*DescribeApisecSensitiveDomainStatisticRequest) SetEndTime

func (*DescribeApisecSensitiveDomainStatisticRequest) SetInstanceId

func (*DescribeApisecSensitiveDomainStatisticRequest) SetOrderWay

func (*DescribeApisecSensitiveDomainStatisticRequest) SetPageNumber

func (*DescribeApisecSensitiveDomainStatisticRequest) SetPageSize

func (*DescribeApisecSensitiveDomainStatisticRequest) SetRegionId

func (*DescribeApisecSensitiveDomainStatisticRequest) SetResourceManagerResourceGroupId

func (*DescribeApisecSensitiveDomainStatisticRequest) SetStartTime

func (*DescribeApisecSensitiveDomainStatisticRequest) SetType

func (DescribeApisecSensitiveDomainStatisticRequest) String

type DescribeApisecSensitiveDomainStatisticResponse

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

func (DescribeApisecSensitiveDomainStatisticResponse) GoString

func (*DescribeApisecSensitiveDomainStatisticResponse) SetHeaders

func (*DescribeApisecSensitiveDomainStatisticResponse) SetStatusCode

func (DescribeApisecSensitiveDomainStatisticResponse) String

type DescribeApisecSensitiveDomainStatisticResponseBody

type DescribeApisecSensitiveDomainStatisticResponseBody struct {
	// The response parameters.
	Data []*DescribeApisecSensitiveDomainStatisticResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 56B40D30-4960-4F19-B7D5-2B1F***6CB70
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 27
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeApisecSensitiveDomainStatisticResponseBody) GoString

func (*DescribeApisecSensitiveDomainStatisticResponseBody) SetRequestId

func (*DescribeApisecSensitiveDomainStatisticResponseBody) SetTotalCount

func (DescribeApisecSensitiveDomainStatisticResponseBody) String

type DescribeApisecSensitiveDomainStatisticResponseBodyData

type DescribeApisecSensitiveDomainStatisticResponseBodyData struct {
	// The number of APIs that are involved.
	//
	// example:
	//
	// 10
	ApiCount *int64 `json:"ApiCount,omitempty" xml:"ApiCount,omitempty"`
	// The number of sites that are involved.
	//
	// example:
	//
	// 10
	DomainCount *int64 `json:"DomainCount,omitempty" xml:"DomainCount,omitempty"`
	// The code of the sensitive data.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported sensitive data types.
	//
	// example:
	//
	// 10
	SensitiveCode *string `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty"`
	// The sensitivity level of the sensitive data.Valid values:
	//
	// 	- **S1**: low sensitivity.
	//
	// 	- **S2**: moderate sensitivity.
	//
	// 	- **S3**: high sensitivity.
	//
	// example:
	//
	// L3
	SensitiveLevel *string `json:"SensitiveLevel,omitempty" xml:"SensitiveLevel,omitempty"`
	// The name of the sensitive data.
	//
	// example:
	//
	// 1002
	SensitiveName *string `json:"SensitiveName,omitempty" xml:"SensitiveName,omitempty"`
}

func (DescribeApisecSensitiveDomainStatisticResponseBodyData) GoString

func (*DescribeApisecSensitiveDomainStatisticResponseBodyData) SetApiCount

func (*DescribeApisecSensitiveDomainStatisticResponseBodyData) SetDomainCount

func (*DescribeApisecSensitiveDomainStatisticResponseBodyData) SetSensitiveCode

func (*DescribeApisecSensitiveDomainStatisticResponseBodyData) SetSensitiveLevel

func (*DescribeApisecSensitiveDomainStatisticResponseBodyData) SetSensitiveName

func (DescribeApisecSensitiveDomainStatisticResponseBodyData) String

type DescribeApisecSlsLogStoresRequest

type DescribeApisecSlsLogStoresRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3_public_cn-uqm2z****0a
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the region where logs are stored.
	//
	// >  You can call the [DescribeUserSlsLogRegions](https://help.aliyun.com/document_detail/2712598.html) operation to query available log storage regions.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	LogRegionId *string `json:"LogRegionId,omitempty" xml:"LogRegionId,omitempty"`
	// The name of the project in Simple Log Service.
	//
	// This parameter is required.
	//
	// example:
	//
	// apisec-project-14316572********
	ProjectName *string `json:"ProjectName,omitempty" xml:"ProjectName,omitempty"`
	// The region where the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeApisecSlsLogStoresRequest) GoString

func (*DescribeApisecSlsLogStoresRequest) SetInstanceId

func (*DescribeApisecSlsLogStoresRequest) SetLogRegionId

func (*DescribeApisecSlsLogStoresRequest) SetProjectName

func (*DescribeApisecSlsLogStoresRequest) SetRegionId

func (*DescribeApisecSlsLogStoresRequest) SetResourceManagerResourceGroupId

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

func (DescribeApisecSlsLogStoresRequest) String

type DescribeApisecSlsLogStoresResponse

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

func (DescribeApisecSlsLogStoresResponse) GoString

func (*DescribeApisecSlsLogStoresResponse) SetHeaders

func (*DescribeApisecSlsLogStoresResponse) SetStatusCode

func (DescribeApisecSlsLogStoresResponse) String

type DescribeApisecSlsLogStoresResponseBody

type DescribeApisecSlsLogStoresResponseBody struct {
	// The names of the Logstores in Simple Log Service.
	LogStores []*string `json:"LogStores,omitempty" xml:"LogStores,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeApisecSlsLogStoresResponseBody) GoString

func (*DescribeApisecSlsLogStoresResponseBody) SetLogStores

func (*DescribeApisecSlsLogStoresResponseBody) SetRequestId

func (DescribeApisecSlsLogStoresResponseBody) String

type DescribeApisecSlsProjectsRequest

type DescribeApisecSlsProjectsRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3_public_cn-uqm2z****0a
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the region where logs are stored.
	//
	// >  You can call the [DescribeUserSlsLogRegions](https://help.aliyun.com/document_detail/2712598.html) operation to query available log storage regions.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	LogRegionId *string `json:"LogRegionId,omitempty" xml:"LogRegionId,omitempty"`
	// The region where the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeApisecSlsProjectsRequest) GoString

func (*DescribeApisecSlsProjectsRequest) SetInstanceId

func (*DescribeApisecSlsProjectsRequest) SetLogRegionId

func (*DescribeApisecSlsProjectsRequest) SetRegionId

func (*DescribeApisecSlsProjectsRequest) SetResourceManagerResourceGroupId

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

func (DescribeApisecSlsProjectsRequest) String

type DescribeApisecSlsProjectsResponse

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

func (DescribeApisecSlsProjectsResponse) GoString

func (*DescribeApisecSlsProjectsResponse) SetHeaders

func (*DescribeApisecSlsProjectsResponse) SetStatusCode

func (DescribeApisecSlsProjectsResponse) String

type DescribeApisecSlsProjectsResponseBody

type DescribeApisecSlsProjectsResponseBody struct {
	// The names of the projects in Simple Log Service.
	Projects []*string `json:"Projects,omitempty" xml:"Projects,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeApisecSlsProjectsResponseBody) GoString

func (*DescribeApisecSlsProjectsResponseBody) SetProjects

func (*DescribeApisecSlsProjectsResponseBody) SetRequestId

func (DescribeApisecSlsProjectsResponseBody) String

type DescribeApisecStatisticsRequest

type DescribeApisecStatisticsRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-uax***b09
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aek2***uwbs5q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of statistics to be detected. Valid values:
	//
	// 	- **risk**: risk impact statistics
	//
	// 	- **event**: attack impact statistics
	//
	// example:
	//
	// asset_num
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeApisecStatisticsRequest) GoString

func (*DescribeApisecStatisticsRequest) SetClusterId

func (*DescribeApisecStatisticsRequest) SetInstanceId

func (*DescribeApisecStatisticsRequest) SetRegionId

func (*DescribeApisecStatisticsRequest) SetResourceManagerResourceGroupId

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

func (*DescribeApisecStatisticsRequest) SetType

func (DescribeApisecStatisticsRequest) String

type DescribeApisecStatisticsResponse

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

func (DescribeApisecStatisticsResponse) GoString

func (*DescribeApisecStatisticsResponse) SetHeaders

func (*DescribeApisecStatisticsResponse) SetStatusCode

func (DescribeApisecStatisticsResponse) String

type DescribeApisecStatisticsResponseBody

type DescribeApisecStatisticsResponseBody struct {
	// The check results.
	Data *DescribeApisecStatisticsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 221F0F14-54C6-59A1-9967-72***81B61A
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeApisecStatisticsResponseBody) GoString

func (*DescribeApisecStatisticsResponseBody) SetRequestId

func (DescribeApisecStatisticsResponseBody) String

type DescribeApisecStatisticsResponseBodyData

type DescribeApisecStatisticsResponseBodyData struct {
	// The number of APIs.
	//
	// example:
	//
	// /api/v1/login
	Api *int64 `json:"Api,omitempty" xml:"Api,omitempty"`
	// The number of confirmed events.
	//
	// example:
	//
	// 10
	Confirmed *int64 `json:"Confirmed,omitempty" xml:"Confirmed,omitempty"`
	// The number of domain names.
	//
	// example:
	//
	// a.aliyun.com
	Domain *int64 `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The number of fixed risks.
	//
	// example:
	//
	// 0
	Fixed *int64 `json:"Fixed,omitempty" xml:"Fixed,omitempty"`
	// The number of high-risk events.
	//
	// example:
	//
	// 10
	High *int64 `json:"High,omitempty" xml:"High,omitempty"`
	// The number of ignored risks.
	//
	// example:
	//
	// 0
	Ignore *int64 `json:"Ignore,omitempty" xml:"Ignore,omitempty"`
	// The number of low-risk events.
	//
	// example:
	//
	// 10
	Low *int64 `json:"Low,omitempty" xml:"Low,omitempty"`
	// The number of moderate-risk events.
	//
	// example:
	//
	// 10
	Medium *int64 `json:"Medium,omitempty" xml:"Medium,omitempty"`
	// The number of events to be confirmed.
	//
	// example:
	//
	// 10
	ToBeConfirmed *int64 `json:"ToBeConfirmed,omitempty" xml:"ToBeConfirmed,omitempty"`
	// The number of risks to be fixed.
	//
	// example:
	//
	// 10
	ToBeFixed *int64 `json:"ToBeFixed,omitempty" xml:"ToBeFixed,omitempty"`
	// The number of new high-risk events today.
	//
	// example:
	//
	// 10
	TodayHigh *string `json:"TodayHigh,omitempty" xml:"TodayHigh,omitempty"`
	// The number of new low-risk events today.
	//
	// example:
	//
	// 10
	TodayLow *int64 `json:"TodayLow,omitempty" xml:"TodayLow,omitempty"`
	// The number of new moderate-risk events today.
	//
	// example:
	//
	// 10
	TodayMedium *string `json:"TodayMedium,omitempty" xml:"TodayMedium,omitempty"`
	// The total number of new events today.
	//
	// example:
	//
	// 30
	TodayTotal *string `json:"TodayTotal,omitempty" xml:"TodayTotal,omitempty"`
	// The total number of events.
	//
	// example:
	//
	// 30
	Total *int64 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (DescribeApisecStatisticsResponseBodyData) GoString

func (*DescribeApisecStatisticsResponseBodyData) SetApi

func (*DescribeApisecStatisticsResponseBodyData) SetConfirmed

func (*DescribeApisecStatisticsResponseBodyData) SetDomain

func (*DescribeApisecStatisticsResponseBodyData) SetFixed

func (*DescribeApisecStatisticsResponseBodyData) SetHigh

func (*DescribeApisecStatisticsResponseBodyData) SetIgnore

func (*DescribeApisecStatisticsResponseBodyData) SetLow

func (*DescribeApisecStatisticsResponseBodyData) SetMedium

func (*DescribeApisecStatisticsResponseBodyData) SetToBeConfirmed

func (*DescribeApisecStatisticsResponseBodyData) SetToBeFixed

func (*DescribeApisecStatisticsResponseBodyData) SetTodayHigh

func (*DescribeApisecStatisticsResponseBodyData) SetTodayLow

func (*DescribeApisecStatisticsResponseBodyData) SetTodayMedium

func (*DescribeApisecStatisticsResponseBodyData) SetTodayTotal

func (*DescribeApisecStatisticsResponseBodyData) SetTotal

func (DescribeApisecStatisticsResponseBodyData) String

type DescribeApisecSuggestionsRequest

type DescribeApisecSuggestionsRequest struct {
	// The ID of the API.
	//
	// This parameter is required.
	//
	// example:
	//
	// a60fd7e3021fe371c06dc1dcb883def0
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-pe336n43m04
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeApisecSuggestionsRequest) GoString

func (*DescribeApisecSuggestionsRequest) SetApiId

func (*DescribeApisecSuggestionsRequest) SetClusterId

func (*DescribeApisecSuggestionsRequest) SetInstanceId

func (*DescribeApisecSuggestionsRequest) SetRegionId

func (*DescribeApisecSuggestionsRequest) SetResourceManagerResourceGroupId

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

func (DescribeApisecSuggestionsRequest) String

type DescribeApisecSuggestionsResponse

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

func (DescribeApisecSuggestionsResponse) GoString

func (*DescribeApisecSuggestionsResponse) SetHeaders

func (*DescribeApisecSuggestionsResponse) SetStatusCode

func (DescribeApisecSuggestionsResponse) String

type DescribeApisecSuggestionsResponseBody

type DescribeApisecSuggestionsResponseBody struct {
	// The protection suggestions.
	Data []*DescribeApisecSuggestionsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeApisecSuggestionsResponseBody) GoString

func (*DescribeApisecSuggestionsResponseBody) SetRequestId

func (DescribeApisecSuggestionsResponseBody) String

type DescribeApisecSuggestionsResponseBodyData

type DescribeApisecSuggestionsResponseBodyData struct {
	// The API.
	//
	// example:
	//
	// /apisec/v1/saveinfo
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The domain name or IP address of the API.
	//
	// example:
	//
	// a.aliyun.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The rule ID of the protection suggestion.
	//
	// example:
	//
	// 15060a1f8fed40130b7c4a7bf8d8733b
	SuggestId *string `json:"SuggestId,omitempty" xml:"SuggestId,omitempty"`
	// The rule content of the protection suggestion. The value is a string that consists of multiple parameters in the JSON format. Valid values:
	//
	// 	- **event_tags**: event type
	//
	// 	- **black_iplist**: IP address blacklist
	//
	// 	- **ip_baseline**: IP address
	//
	// 	- **freq_baseline**: throttling frequency
	//
	// 	- **client_id_baseline**: client information
	//
	// 	- **country_baseline**: country information
	//
	// 	- **province_baseline**: province information
	//
	// 	- **sensitive_type**: sensitive information
	//
	// example:
	//
	// {
	//
	//     "rule": "ClientRule",
	//
	//     "client_id_baseline": ["Edge"]
	//
	// }
	SuggestRule *string `json:"SuggestRule,omitempty" xml:"SuggestRule,omitempty"`
	// The rule type of the protection suggestion. Valid values:
	//
	// 	- **BotRule**: bot management rules
	//
	// 	- **BlackIPRule**: IP address blacklist rules
	//
	// 	- **WhiteIPRule**: IP address whitelist rules
	//
	// 	- **RateLimitRule**: throttling rules
	//
	// 	- **ClientRule**: client rules
	//
	// 	- **GeoRule**: region-related rules
	//
	// 	- **SensitiveRule**: sensitive information rules
	//
	// 	- **UnauthRule**: authentication rules
	//
	// example:
	//
	// WhiteIPRule
	SuggestType *string `json:"SuggestType,omitempty" xml:"SuggestType,omitempty"`
}

func (DescribeApisecSuggestionsResponseBodyData) GoString

func (*DescribeApisecSuggestionsResponseBodyData) SetApiFormat

func (*DescribeApisecSuggestionsResponseBodyData) SetMatchedHost

func (*DescribeApisecSuggestionsResponseBodyData) SetSuggestId

func (*DescribeApisecSuggestionsResponseBodyData) SetSuggestRule

func (*DescribeApisecSuggestionsResponseBodyData) SetSuggestType

func (DescribeApisecSuggestionsResponseBodyData) String

type DescribeApisecUserOperationsRequest

type DescribeApisecUserOperationsRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-wwo36ksck1e
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The object ID of the operation record.
	//
	// This parameter is required.
	//
	// example:
	//
	// fe8723e92e2037245014ab62161bbec8
	ObjectId *string `json:"ObjectId,omitempty" xml:"ObjectId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aek2ax2y5****pi
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the operation record. Valid values:
	//
	// 	- **abnormal**: risk detection
	//
	// 	- **event**: security event
	//
	// example:
	//
	// event
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeApisecUserOperationsRequest) GoString

func (*DescribeApisecUserOperationsRequest) SetClusterId

func (*DescribeApisecUserOperationsRequest) SetInstanceId

func (*DescribeApisecUserOperationsRequest) SetObjectId

func (*DescribeApisecUserOperationsRequest) SetRegionId

func (*DescribeApisecUserOperationsRequest) SetResourceManagerResourceGroupId

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

func (*DescribeApisecUserOperationsRequest) SetType

func (DescribeApisecUserOperationsRequest) String

type DescribeApisecUserOperationsResponse

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

func (DescribeApisecUserOperationsResponse) GoString

func (*DescribeApisecUserOperationsResponse) SetHeaders

func (*DescribeApisecUserOperationsResponse) SetStatusCode

func (DescribeApisecUserOperationsResponse) String

type DescribeApisecUserOperationsResponseBody

type DescribeApisecUserOperationsResponseBody struct {
	// The operation records.
	Data []*DescribeApisecUserOperationsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// C9825654-327B-5156-A570-847054B4CF10
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeApisecUserOperationsResponseBody) GoString

func (*DescribeApisecUserOperationsResponseBody) SetRequestId

func (DescribeApisecUserOperationsResponseBody) String

type DescribeApisecUserOperationsResponseBodyData

type DescribeApisecUserOperationsResponseBodyData struct {
	// The state before the operation.
	//
	// Valid values of the risk state:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **toBeFixed**
	//
	// 	- **fixed**
	//
	// 	- **ignored**
	//
	// Valid values of the event state:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **ignored**
	//
	// example:
	//
	// ignored
	FromStatus *string `json:"FromStatus,omitempty" xml:"FromStatus,omitempty"`
	// The remarks.
	//
	// example:
	//
	// Handled
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The object ID of the operation record.
	//
	// example:
	//
	// 24d997acc48a67a01e09b9c5ad861287
	ObjectId *string `json:"ObjectId,omitempty" xml:"ObjectId,omitempty"`
	// The time at which the operation was performed. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1685072214
	Time *int64 `json:"Time,omitempty" xml:"Time,omitempty"`
	// The state after the operation.
	//
	// Valid values of the risk state:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **toBeFixed**
	//
	// 	- **fixed**
	//
	// 	- **ignored**
	//
	// Valid values of the event state:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **ignored**
	//
	// example:
	//
	// Confirmed
	ToStatus *string `json:"ToStatus,omitempty" xml:"ToStatus,omitempty"`
	// The type of the operation record. Valid values:
	//
	// 	- **abnormal**: risk detection
	//
	// 	- **event**: security event
	//
	// example:
	//
	// abnormal
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The user ID.
	//
	// example:
	//
	// 1610954****
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (DescribeApisecUserOperationsResponseBodyData) GoString

func (*DescribeApisecUserOperationsResponseBodyData) SetFromStatus

func (*DescribeApisecUserOperationsResponseBodyData) SetNote

func (*DescribeApisecUserOperationsResponseBodyData) SetObjectId

func (*DescribeApisecUserOperationsResponseBodyData) SetTime

func (*DescribeApisecUserOperationsResponseBodyData) SetToStatus

func (*DescribeApisecUserOperationsResponseBodyData) SetType

func (*DescribeApisecUserOperationsResponseBodyData) SetUserId

func (DescribeApisecUserOperationsResponseBodyData) String

type DescribeCertDetailRequest

type DescribeCertDetailRequest struct {
	// The ID of the certificate.
	//
	// This parameter is required.
	//
	// example:
	//
	// 123-cn-hangzhou
	CertIdentifier *string `json:"CertIdentifier,omitempty" xml:"CertIdentifier,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-uax****3k0e
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeCertDetailRequest) GoString

func (s DescribeCertDetailRequest) GoString() string

func (*DescribeCertDetailRequest) SetCertIdentifier

func (*DescribeCertDetailRequest) SetInstanceId

func (*DescribeCertDetailRequest) SetRegionId

func (*DescribeCertDetailRequest) SetResourceManagerResourceGroupId

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

func (DescribeCertDetailRequest) String

func (s DescribeCertDetailRequest) String() string

type DescribeCertDetailResponse

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

func (DescribeCertDetailResponse) GoString

func (s DescribeCertDetailResponse) GoString() string

func (*DescribeCertDetailResponse) SetBody

func (*DescribeCertDetailResponse) SetHeaders

func (*DescribeCertDetailResponse) SetStatusCode

func (DescribeCertDetailResponse) String

type DescribeCertDetailResponseBody

type DescribeCertDetailResponseBody struct {
	// The details of the certificate.
	CertDetail *DescribeCertDetailResponseBodyCertDetail `json:"CertDetail,omitempty" xml:"CertDetail,omitempty" type:"Struct"`
	// The ID of the request.
	//
	// example:
	//
	// 3C115DBE-8E53-5A12-9CAF-FD3F****CDF6
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeCertDetailResponseBody) GoString

func (*DescribeCertDetailResponseBody) SetRequestId

func (DescribeCertDetailResponseBody) String

type DescribeCertDetailResponseBodyCertDetail

type DescribeCertDetailResponseBodyCertDetail struct {
	// The time when the certificate expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	//
	// example:
	//
	// 1976256736582
	AfterDate *int64 `json:"AfterDate,omitempty" xml:"AfterDate,omitempty"`
	// The time when the certificate was issued. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	//
	// example:
	//
	// 1976256736582
	BeforeDate *int64 `json:"BeforeDate,omitempty" xml:"BeforeDate,omitempty"`
	// The ID of the certificate.
	//
	// example:
	//
	// 123-cn-hangzhou
	CertIdentifier *string `json:"CertIdentifier,omitempty" xml:"CertIdentifier,omitempty"`
	// The name of the certificate.
	//
	// example:
	//
	// testCertName
	CertName *string `json:"CertName,omitempty" xml:"CertName,omitempty"`
	// The primary domain name, which is a common name.
	//
	// example:
	//
	// *.xxxaliyun.com
	CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"`
	// The domain name that is associated with the certificate.
	//
	// example:
	//
	// demo.xxxaliyun.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The other domain names that are associated with the certificate.
	Sans []*string `json:"Sans,omitempty" xml:"Sans,omitempty" type:"Repeated"`
}

func (DescribeCertDetailResponseBodyCertDetail) GoString

func (*DescribeCertDetailResponseBodyCertDetail) SetAfterDate

func (*DescribeCertDetailResponseBodyCertDetail) SetBeforeDate

func (*DescribeCertDetailResponseBodyCertDetail) SetCertIdentifier

func (*DescribeCertDetailResponseBodyCertDetail) SetCertName

func (*DescribeCertDetailResponseBodyCertDetail) SetCommonName

func (*DescribeCertDetailResponseBodyCertDetail) SetDomain

func (*DescribeCertDetailResponseBodyCertDetail) SetSans

func (DescribeCertDetailResponseBodyCertDetail) String

type DescribeCertsRequest

type DescribeCertsRequest struct {
	// The type of the encryption algorithm. Valid values:
	//
	// 	- **NotSM2**: The encryption algorithm is not the SM2 algorithm. This is the default value.
	//
	// 	- **SM2**: The encryption algorithm is the SM2 algorithm.
	//
	// example:
	//
	// SM2
	Algorithm *string `json:"Algorithm,omitempty" xml:"Algorithm,omitempty"`
	// The domain name.
	//
	// example:
	//
	// example.aliyun.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-5yd****tb02
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 1 to 100. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: Outside the Chinese mainland.
	//
	// example:
	//
	// ap-southeast-1
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfmoiy****p2oq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeCertsRequest) GoString

func (s DescribeCertsRequest) GoString() string

func (*DescribeCertsRequest) SetAlgorithm

func (s *DescribeCertsRequest) SetAlgorithm(v string) *DescribeCertsRequest

func (*DescribeCertsRequest) SetDomain

func (*DescribeCertsRequest) SetInstanceId

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

func (*DescribeCertsRequest) SetPageNumber

func (s *DescribeCertsRequest) SetPageNumber(v int64) *DescribeCertsRequest

func (*DescribeCertsRequest) SetPageSize

func (s *DescribeCertsRequest) SetPageSize(v int64) *DescribeCertsRequest

func (*DescribeCertsRequest) SetRegionId

func (*DescribeCertsRequest) SetResourceManagerResourceGroupId

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

func (DescribeCertsRequest) String

func (s DescribeCertsRequest) String() string

type DescribeCertsResponse

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

func (DescribeCertsResponse) GoString

func (s DescribeCertsResponse) GoString() string

func (*DescribeCertsResponse) SetBody

func (*DescribeCertsResponse) SetHeaders

func (*DescribeCertsResponse) SetStatusCode

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

func (DescribeCertsResponse) String

func (s DescribeCertsResponse) String() string

type DescribeCertsResponseBody

type DescribeCertsResponseBody struct {
	// The certificates.
	Certs []*DescribeCertsResponseBodyCerts `json:"Certs,omitempty" xml:"Certs,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 19511B0D-5AE0-5600-BB8A-DC2C8345****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 8
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeCertsResponseBody) GoString

func (s DescribeCertsResponseBody) GoString() string

func (*DescribeCertsResponseBody) SetCerts

func (*DescribeCertsResponseBody) SetRequestId

func (*DescribeCertsResponseBody) SetTotalCount

func (DescribeCertsResponseBody) String

func (s DescribeCertsResponseBody) String() string

type DescribeCertsResponseBodyCerts

type DescribeCertsResponseBodyCerts struct {
	// The expiration time.
	//
	// example:
	//
	// 1976256736582
	AfterDate *int64 `json:"AfterDate,omitempty" xml:"AfterDate,omitempty"`
	// The effective time.
	//
	// example:
	//
	// 1976256836582
	BeforeDate *int64 `json:"BeforeDate,omitempty" xml:"BeforeDate,omitempty"`
	// The globally unique ID of the certificate. The value follows a "\\<Certificate ID>-ap-southeast-1" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-ap-southeast-1.
	//
	// example:
	//
	// 123-ap-southeast-1
	CertIdentifier *string `json:"CertIdentifier,omitempty" xml:"CertIdentifier,omitempty"`
	// The name of the certificate.
	//
	// example:
	//
	// waf1234
	CertName *string `json:"CertName,omitempty" xml:"CertName,omitempty"`
	// The common name.
	//
	// example:
	//
	// *.example.com
	CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"`
	// The domain that is supported by the certificate.
	//
	// example:
	//
	// www.example.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// Indicates whether the certificate chain is complete. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	IsChainCompleted *bool `json:"IsChainCompleted,omitempty" xml:"IsChainCompleted,omitempty"`
}

func (DescribeCertsResponseBodyCerts) GoString

func (*DescribeCertsResponseBodyCerts) SetAfterDate

func (*DescribeCertsResponseBodyCerts) SetBeforeDate

func (*DescribeCertsResponseBodyCerts) SetCertIdentifier

func (*DescribeCertsResponseBodyCerts) SetCertName

func (*DescribeCertsResponseBodyCerts) SetCommonName

func (*DescribeCertsResponseBodyCerts) SetDomain

func (*DescribeCertsResponseBodyCerts) SetIsChainCompleted

func (DescribeCertsResponseBodyCerts) String

type DescribeCloudResourceAccessPortDetailsRequest

type DescribeCloudResourceAccessPortDetailsRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-tl32ast****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The port of the cloud service that is added to WAF.
	//
	// example:
	//
	// 443
	Port *string `json:"Port,omitempty" xml:"Port,omitempty"`
	// The type of the protocol. Valid values:
	//
	// 	- **http**
	//
	// 	- **https**
	//
	// example:
	//
	// https
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The instance ID of the resource.
	//
	// This parameter is required.
	//
	// example:
	//
	// lb-2zeugkfj81jvo****4tqm
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The cloud service. Valid values:
	//
	// 	- **clb4**: Layer 4 CLB.
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// 	- **ecs**: ECS.
	//
	// example:
	//
	// clb7
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
}

func (DescribeCloudResourceAccessPortDetailsRequest) GoString

func (*DescribeCloudResourceAccessPortDetailsRequest) SetInstanceId

func (*DescribeCloudResourceAccessPortDetailsRequest) SetPageNumber

func (*DescribeCloudResourceAccessPortDetailsRequest) SetPageSize

func (*DescribeCloudResourceAccessPortDetailsRequest) SetPort

func (*DescribeCloudResourceAccessPortDetailsRequest) SetProtocol

func (*DescribeCloudResourceAccessPortDetailsRequest) SetRegionId

func (*DescribeCloudResourceAccessPortDetailsRequest) SetResourceInstanceId

func (*DescribeCloudResourceAccessPortDetailsRequest) SetResourceManagerResourceGroupId

func (*DescribeCloudResourceAccessPortDetailsRequest) SetResourceProduct

func (DescribeCloudResourceAccessPortDetailsRequest) String

type DescribeCloudResourceAccessPortDetailsResponse

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

func (DescribeCloudResourceAccessPortDetailsResponse) GoString

func (*DescribeCloudResourceAccessPortDetailsResponse) SetHeaders

func (*DescribeCloudResourceAccessPortDetailsResponse) SetStatusCode

func (DescribeCloudResourceAccessPortDetailsResponse) String

type DescribeCloudResourceAccessPortDetailsResponseBody

type DescribeCloudResourceAccessPortDetailsResponseBody struct {
	// The details of the ports of cloud services that are added to WAF.
	AccessPortDetails []*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails `json:"AccessPortDetails,omitempty" xml:"AccessPortDetails,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 2EFCFE18-78F8-5079-B312-07***48B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 10
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeCloudResourceAccessPortDetailsResponseBody) GoString

func (*DescribeCloudResourceAccessPortDetailsResponseBody) SetRequestId

func (*DescribeCloudResourceAccessPortDetailsResponseBody) SetTotalCount

func (DescribeCloudResourceAccessPortDetailsResponseBody) String

type DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails

type DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails struct {
	// The certificates that are associated with the ports of cloud services.
	Certificates []*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The type of the cipher suites. Valid values:
	//
	// 	- **1**: all cipher suites.
	//
	// 	- **2**: strong cipher suites.
	//
	// 	- **99**: custom cipher suites.
	//
	// example:
	//
	// 1
	CipherSuite *int32 `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// The custom cipher suites that you want to add. This parameter is available only if you set **CipherSuite*	- to **99**.
	CustomCiphers []*string `json:"CustomCiphers,omitempty" xml:"CustomCiphers,omitempty" type:"Repeated"`
	// Indicates whether to support TLS 1.3. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// Indicates whether to enable HTTP/2. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// True
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// Indicates whether to enable the persistent connection feature. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false:**
	//
	// example:
	//
	// true
	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 requests that reuse persistent connections after you enable the persistent connection feature.
	//
	// example:
	//
	// 1000
	KeepaliveRequests *int32 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period for idle persistent connections. Valid values: 10 to 3600. Default value: 15. Unit: seconds.
	//
	// >  If no new requests are initiated over the idle persistent connection within the specified timeout period, the connection is closed.
	//
	// example:
	//
	// 10
	KeepaliveTimeout *int32 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The custom header field that you want to use to label requests that are processed by WAF.
	//
	// >  This parameter is returned only when the traffic marking feature is enabled for the domain name.
	LogHeaders []*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsLogHeaders `json:"LogHeaders,omitempty" xml:"LogHeaders,omitempty" type:"Repeated"`
	// The ID of the Alibaba Cloud account to which the resource belongs.
	//
	// example:
	//
	// 123
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The port of the cloud service that is added to WAF.
	//
	// example:
	//
	// 443
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The type of the protocol. Valid values:
	//
	// 	- **http**
	//
	// 	- **https**
	//
	// example:
	//
	// https
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The timeout period for read connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 5
	ReadTimeout *int32 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The status of the domain name. Valid values:
	//
	// 	- **1**: indicates that the port is available.
	//
	// 	- **2**: indicates that the port is being created.
	//
	// 	- **3**: indicates that the port is being modified.
	//
	// 	- **4**: indicates that the port is being released.
	//
	// example:
	//
	// 1
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The version of the Transport Layer Security (TLS) protocol. Valid values:
	//
	// 	- **tlsv1**
	//
	// 	- **tlsv1.1**
	//
	// 	- **tlsv1.2**
	//
	// example:
	//
	// tlsv1
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
	// The timeout period for write connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 1
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	// The method that WAF uses to obtain the originating 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 originating IP address of the client.
	//
	// 	- **2**: WAF reads the value of a custom header field as the originating IP address of the client.
	//
	// example:
	//
	// 0
	XffHeaderMode *int32 `json:"XffHeaderMode,omitempty" xml:"XffHeaderMode,omitempty"`
	// The custom header field that is used to obtain the originating IP address of a client. Specify the value in the ["header1","header2",...] format.
	//
	// >  This parameter is required only if you set **XffHeaderMode*	- to 2.
	XffHeaders []*string `json:"XffHeaders,omitempty" xml:"XffHeaders,omitempty" type:"Repeated"`
	// Indicates whether to use the X-Forward-For-Proto header to identify the protocol used by WAF to forward requests to the origin server. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	XffProto *bool `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) GoString

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetCipherSuite

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetCustomCiphers

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetEnableTLSv3

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetHttp2Enabled

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetKeepalive

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetKeepaliveRequests

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetKeepaliveTimeout

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetOwnerUserId

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetPort

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetProtocol

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetReadTimeout

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetStatus

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetTLSVersion

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetWriteTimeout

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetXffHeaderMode

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetXffHeaders

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) SetXffProto

func (DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails) String

type DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates

type DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates struct {
	// The type of the HTTPS certificate. Valid values:
	//
	// 	- **default**: default certificate.
	//
	// 	- **extension**: additional certificate.
	//
	// example:
	//
	// default
	AppliedType *string `json:"AppliedType,omitempty" xml:"AppliedType,omitempty"`
	// The ID of the certificate.
	//
	// example:
	//
	// 123-cn-hangzhou
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
	// The name of the certificate.
	//
	// example:
	//
	// cert-name1
	CertificateName *string `json:"CertificateName,omitempty" xml:"CertificateName,omitempty"`
}

func (DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates) GoString

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates) SetAppliedType

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates) SetCertificateId

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates) SetCertificateName

func (DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCertificates) String

type DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsLogHeaders

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

func (DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsLogHeaders) GoString

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsLogHeaders) SetKey

func (*DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsLogHeaders) SetValue

func (DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsLogHeaders) String

type DescribeCloudResourceAccessedPortsRequest

type DescribeCloudResourceAccessedPortsRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-tl32ast****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The instance ID of the resource.
	//
	// This parameter is required.
	//
	// example:
	//
	// lb-bp1*****jqnnqk5uj2p
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzwwkpn****5i
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeCloudResourceAccessedPortsRequest) GoString

func (*DescribeCloudResourceAccessedPortsRequest) SetInstanceId

func (*DescribeCloudResourceAccessedPortsRequest) SetRegionId

func (*DescribeCloudResourceAccessedPortsRequest) SetResourceInstanceId

func (*DescribeCloudResourceAccessedPortsRequest) SetResourceManagerResourceGroupId

func (DescribeCloudResourceAccessedPortsRequest) String

type DescribeCloudResourceAccessedPortsResponse

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

func (DescribeCloudResourceAccessedPortsResponse) GoString

func (*DescribeCloudResourceAccessedPortsResponse) SetHeaders

func (*DescribeCloudResourceAccessedPortsResponse) SetStatusCode

func (DescribeCloudResourceAccessedPortsResponse) String

type DescribeCloudResourceAccessedPortsResponseBody

type DescribeCloudResourceAccessedPortsResponseBody struct {
	// The HTTP ports.
	Http []*int32 `json:"Http,omitempty" xml:"Http,omitempty" type:"Repeated"`
	// The HTTPS ports.
	Https []*int32 `json:"Https,omitempty" xml:"Https,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// C1823E96-EF4B-5BD2-9E02-1D18****3ED8
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeCloudResourceAccessedPortsResponseBody) GoString

func (*DescribeCloudResourceAccessedPortsResponseBody) SetHttp

func (*DescribeCloudResourceAccessedPortsResponseBody) SetHttps

func (*DescribeCloudResourceAccessedPortsResponseBody) SetRequestId

func (DescribeCloudResourceAccessedPortsResponseBody) String

type DescribeCloudResourcesRequest

type DescribeCloudResourcesRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-lbj****cn0c
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the Alibaba Cloud account to which the resource belongs.
	//
	// example:
	//
	// 11769793******
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The domain name. You can use this parameter if you set ResourceProduct to fc or sae.
	//
	// example:
	//
	// fc-domain-test
	ResourceDomain *string `json:"ResourceDomain,omitempty" xml:"ResourceDomain,omitempty"`
	// The function name. You can use this parameter if you set ResourceProduct to fc.
	//
	// example:
	//
	// fc-test
	ResourceFunction *string `json:"ResourceFunction,omitempty" xml:"ResourceFunction,omitempty"`
	// The ID of the resource.
	//
	// example:
	//
	// alb-43glijk0fr****gths
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The name of the instance that is added to WAF.
	//
	// example:
	//
	// test-name
	ResourceInstanceName *string `json:"ResourceInstanceName,omitempty" xml:"ResourceInstanceName,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm4gh****wela
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// Deprecated
	//
	// The name of the resource.
	//
	// example:
	//
	// alb-name
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The cloud service to which the resource belongs. If you do not specify this parameter, the system automatically returns the Application Load Balancer (ALB), Microservices Engine (MSE), Function Compute, and Serverless App Engine (SAE) resources that are added to WAF. Valid values:
	//
	// 	- **alb**: ALB.
	//
	// 	- **mse**: MSE.
	//
	// 	- **fc**: Function Compute.
	//
	// 	- **sae**: SAE.
	//
	// 	- **ecs**: Elastic Compute Service (ECS).
	//
	// 	- **clb4**: Layer 4 Classic Load Balancer (CLB).
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// 	- **nlb**: Network Load Balancer (NLB).
	//
	// >  Different cloud services are available in different regions. The specified cloud service must be available in the specified region.
	//
	// example:
	//
	// alb
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
	// The region ID of the resource. For information about region IDs, see the following table.
	//
	// >  Different cloud services are available in different regions. The specified cloud service must be available in the specified region.
	//
	// example:
	//
	// cn-beijing
	ResourceRegionId *string `json:"ResourceRegionId,omitempty" xml:"ResourceRegionId,omitempty"`
	// The route name. You can use this parameter if you set ResourceProduct to mse.
	//
	// example:
	//
	// mse-default-traffic
	ResourceRouteName *string `json:"ResourceRouteName,omitempty" xml:"ResourceRouteName,omitempty"`
}

func (DescribeCloudResourcesRequest) GoString

func (*DescribeCloudResourcesRequest) SetInstanceId

func (*DescribeCloudResourcesRequest) SetOwnerUserId

func (*DescribeCloudResourcesRequest) SetPageNumber

func (*DescribeCloudResourcesRequest) SetPageSize

func (*DescribeCloudResourcesRequest) SetRegionId

func (*DescribeCloudResourcesRequest) SetResourceDomain

func (*DescribeCloudResourcesRequest) SetResourceFunction

func (*DescribeCloudResourcesRequest) SetResourceInstanceId

func (*DescribeCloudResourcesRequest) SetResourceInstanceName

func (*DescribeCloudResourcesRequest) SetResourceManagerResourceGroupId

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

func (*DescribeCloudResourcesRequest) SetResourceName

func (*DescribeCloudResourcesRequest) SetResourceProduct

func (*DescribeCloudResourcesRequest) SetResourceRegionId

func (*DescribeCloudResourcesRequest) SetResourceRouteName

func (DescribeCloudResourcesRequest) String

type DescribeCloudResourcesResponse

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

func (DescribeCloudResourcesResponse) GoString

func (*DescribeCloudResourcesResponse) SetHeaders

func (*DescribeCloudResourcesResponse) SetStatusCode

func (DescribeCloudResourcesResponse) String

type DescribeCloudResourcesResponseBody

type DescribeCloudResourcesResponseBody struct {
	// The cloud service resources that are added to WAF.
	CloudResources []*DescribeCloudResourcesResponseBodyCloudResources `json:"CloudResources,omitempty" xml:"CloudResources,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// C327F81A-CCE2-5B21-817C-F93E29C5****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of cloud service resources returned.
	//
	// example:
	//
	// 121
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeCloudResourcesResponseBody) GoString

func (*DescribeCloudResourcesResponseBody) SetRequestId

func (*DescribeCloudResourcesResponseBody) SetTotalCount

func (DescribeCloudResourcesResponseBody) String

type DescribeCloudResourcesResponseBodyCloudResources

type DescribeCloudResourcesResponseBodyCloudResources struct {
	// The number of the HTTP ports that are added to WAF.
	//
	// >  This parameter is returned only if the cloud service is ECS or CLB.
	//
	// example:
	//
	// 1
	HttpPortCount *int32 `json:"HttpPortCount,omitempty" xml:"HttpPortCount,omitempty"`
	// The number of the HTTPS ports that are added to WAF.
	//
	// >  This parameter is returned only if the cloud service is ECS or CLB.
	//
	// example:
	//
	// 1
	HttpsPortCount *int32 `json:"HttpsPortCount,omitempty" xml:"HttpsPortCount,omitempty"`
	// The ID of the Alibaba Cloud account to which the resource belongs.
	//
	// example:
	//
	// 11769793******
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The domain name. This parameter has a value only if the value of ResourceProduct is fc or sae.
	//
	// example:
	//
	// test-resource-domain
	ResourceDomain *string `json:"ResourceDomain,omitempty" xml:"ResourceDomain,omitempty"`
	// The function name. This parameter has a value only if the value of ResourceProduct is fc.
	//
	// example:
	//
	// test-resource-function
	ResourceFunction *string `json:"ResourceFunction,omitempty" xml:"ResourceFunction,omitempty"`
	// Deprecated
	//
	// The ID of the resource.
	//
	// example:
	//
	// alb-ffff****
	ResourceInstance *string `json:"ResourceInstance,omitempty" xml:"ResourceInstance,omitempty"`
	// The ID of the instance that is added to WAF.
	//
	// example:
	//
	// lb-uf60ub45fr9b***
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The IP address of the instance that is added to WAF.
	//
	// example:
	//
	// 1.1.1.1
	ResourceInstanceIp *string `json:"ResourceInstanceIp,omitempty" xml:"ResourceInstanceIp,omitempty"`
	// The name of the instance that is added to WAF.
	//
	// example:
	//
	// test-name
	ResourceInstanceName *string `json:"ResourceInstanceName,omitempty" xml:"ResourceInstanceName,omitempty"`
	// Deprecated
	//
	// The name of the resource.
	//
	// example:
	//
	// test-resource-name
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The cloud service to which the resource belongs. Valid values:
	//
	// 	- **alb**: ALB.
	//
	// 	- **mse**: MSE.
	//
	// 	- **fc**: Function Compute.
	//
	// 	- **sae**: SAE.
	//
	// 	- **ecs**: ECS.
	//
	// 	- **clb4**: Layer 4 CLB.
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// example:
	//
	// alb
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
	// The region ID of the resource.
	//
	// example:
	//
	// cn-hangzhou
	ResourceRegionId *string `json:"ResourceRegionId,omitempty" xml:"ResourceRegionId,omitempty"`
	// The route name. This parameter has a value only if the value of ResourceProduct is mse.
	//
	// example:
	//
	// test-route-name
	ResourceRouteName *string `json:"ResourceRouteName,omitempty" xml:"ResourceRouteName,omitempty"`
	// The service name. This parameter has a value only if the value of ResourceProduct is fc.
	//
	// example:
	//
	// test-resource-service
	ResourceService *string `json:"ResourceService,omitempty" xml:"ResourceService,omitempty"`
}

func (DescribeCloudResourcesResponseBodyCloudResources) GoString

func (*DescribeCloudResourcesResponseBodyCloudResources) SetHttpPortCount

func (*DescribeCloudResourcesResponseBodyCloudResources) SetHttpsPortCount

func (*DescribeCloudResourcesResponseBodyCloudResources) SetOwnerUserId

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceDomain

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceFunction

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceInstance

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceInstanceId

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceInstanceIp

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceInstanceName

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceName

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceProduct

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceRegionId

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceRouteName

func (*DescribeCloudResourcesResponseBodyCloudResources) SetResourceService

func (DescribeCloudResourcesResponseBodyCloudResources) String

type DescribeCnameCountRequest

type DescribeCnameCountRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 阿里云资源组ID。
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeCnameCountRequest) GoString

func (s DescribeCnameCountRequest) GoString() string

func (*DescribeCnameCountRequest) SetInstanceId

func (*DescribeCnameCountRequest) SetRegionId

func (*DescribeCnameCountRequest) SetResourceManagerResourceGroupId

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

func (DescribeCnameCountRequest) String

func (s DescribeCnameCountRequest) String() string

type DescribeCnameCountResponse

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

func (DescribeCnameCountResponse) GoString

func (s DescribeCnameCountResponse) GoString() string

func (*DescribeCnameCountResponse) SetBody

func (*DescribeCnameCountResponse) SetHeaders

func (*DescribeCnameCountResponse) SetStatusCode

func (DescribeCnameCountResponse) String

type DescribeCnameCountResponseBody

type DescribeCnameCountResponseBody struct {
	// The information about the number of domain names that are added to WAF in CNAME record mode and hybrid cloud reverse proxy mode.
	CnameCount *DescribeCnameCountResponseBodyCnameCount `json:"CnameCount,omitempty" xml:"CnameCount,omitempty" type:"Struct"`
	// The ID of the request.
	//
	// example:
	//
	// F35F45B0-5D6B-4238-BE02-A62D****E840
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeCnameCountResponseBody) GoString

func (*DescribeCnameCountResponseBody) SetRequestId

func (DescribeCnameCountResponseBody) String

type DescribeCnameCountResponseBodyCnameCount

type DescribeCnameCountResponseBodyCnameCount struct {
	// The number of domain names that are added to WAF in CNAME record mode.
	//
	// example:
	//
	// 1
	Cname *int64 `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The number of domain names that are added to WAF in hybrid cloud reverse proxy mode.
	//
	// example:
	//
	// 1
	HybridCloudCname *int64 `json:"HybridCloudCname,omitempty" xml:"HybridCloudCname,omitempty"`
	// The total number of domain names that are added to WAF in CNAME record mode and hybrid cloud reverse proxy mode.
	//
	// example:
	//
	// 1
	Total *int64 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (DescribeCnameCountResponseBodyCnameCount) GoString

func (*DescribeCnameCountResponseBodyCnameCount) SetCname

func (*DescribeCnameCountResponseBodyCnameCount) SetHybridCloudCname

func (*DescribeCnameCountResponseBodyCnameCount) SetTotal

func (DescribeCnameCountResponseBodyCnameCount) String

type DescribeDDoSStatusRequest

type DescribeDDoSStatusRequest struct {
	// The ID of the WAF instance that you want to query.
	//
	// >  You can call the [DescribeInstanceInfo](https://help.aliyun.com/document_detail/140857.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDDoSStatusRequest) GoString

func (s DescribeDDoSStatusRequest) GoString() string

func (*DescribeDDoSStatusRequest) SetInstanceId

func (*DescribeDDoSStatusRequest) SetRegionId

func (*DescribeDDoSStatusRequest) SetResourceManagerResourceGroupId

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

func (DescribeDDoSStatusRequest) String

func (s DescribeDDoSStatusRequest) String() string

type DescribeDDoSStatusResponse

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

func (DescribeDDoSStatusResponse) GoString

func (s DescribeDDoSStatusResponse) GoString() string

func (*DescribeDDoSStatusResponse) SetBody

func (*DescribeDDoSStatusResponse) SetHeaders

func (*DescribeDDoSStatusResponse) SetStatusCode

func (DescribeDDoSStatusResponse) String

type DescribeDDoSStatusResponseBody

type DescribeDDoSStatusResponseBody struct {
	// Indicates whether DDoS attacks occur on specific domain names.
	DDoSStatus []*DescribeDDoSStatusResponseBodyDDoSStatus `json:"DDoSStatus,omitempty" xml:"DDoSStatus,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDDoSStatusResponseBody) GoString

func (*DescribeDDoSStatusResponseBody) SetRequestId

func (DescribeDDoSStatusResponseBody) String

type DescribeDDoSStatusResponseBodyDDoSStatus

type DescribeDDoSStatusResponseBodyDDoSStatus struct {
	// The type of events that are triggered by DDoS attacks. Valid values:
	//
	// 	- defense: traffic scrubbing events.
	//
	// 	- blackhole: blackhole filtering events.
	//
	// example:
	//
	// blackhole
	EventType *string `json:"EventType,omitempty" xml:"EventType,omitempty"`
	// Indicates whether DDoS attacks occur on specific domain names. Valid value:
	//
	// 	- **doing**: DDoS attacks occur on specific domain names.
	//
	// example:
	//
	// doing
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeDDoSStatusResponseBodyDDoSStatus) GoString

func (*DescribeDDoSStatusResponseBodyDDoSStatus) SetEventType

func (*DescribeDDoSStatusResponseBodyDDoSStatus) SetStatus

func (DescribeDDoSStatusResponseBodyDDoSStatus) String

type DescribeDefaultHttpsRequest

type DescribeDefaultHttpsRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-7pp26f1****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDefaultHttpsRequest) GoString

func (s DescribeDefaultHttpsRequest) GoString() string

func (*DescribeDefaultHttpsRequest) SetInstanceId

func (*DescribeDefaultHttpsRequest) SetRegionId

func (*DescribeDefaultHttpsRequest) SetResourceManagerResourceGroupId

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

func (DescribeDefaultHttpsRequest) String

type DescribeDefaultHttpsResponse

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

func (DescribeDefaultHttpsResponse) GoString

func (s DescribeDefaultHttpsResponse) GoString() string

func (*DescribeDefaultHttpsResponse) SetBody

func (*DescribeDefaultHttpsResponse) SetHeaders

func (*DescribeDefaultHttpsResponse) SetStatusCode

func (DescribeDefaultHttpsResponse) String

type DescribeDefaultHttpsResponseBody

type DescribeDefaultHttpsResponseBody struct {
	// The default SSL and TLS settings.
	DefaultHttps *DescribeDefaultHttpsResponseBodyDefaultHttps `json:"DefaultHttps,omitempty" xml:"DefaultHttps,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// F35F45B0-5D6B-4238-BE02-A62D****E840
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDefaultHttpsResponseBody) GoString

func (*DescribeDefaultHttpsResponseBody) SetRequestId

func (DescribeDefaultHttpsResponseBody) String

type DescribeDefaultHttpsResponseBodyDefaultHttps

type DescribeDefaultHttpsResponseBodyDefaultHttps struct {
	// The certificate ID.
	//
	// example:
	//
	// 123-cn-hangzhou
	CertId *string `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.
	//
	// example:
	//
	// 1
	CipherSuite *string `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// The custom cipher suite.
	//
	// example:
	//
	// ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384
	CustomCiphers *string `json:"CustomCiphers,omitempty" xml:"CustomCiphers,omitempty"`
	// Indicates whether TLS 1.3 is supported. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// The version of the TLS protocol. Valid values:
	//
	// 	- **tlsv1**
	//
	// 	- **tlsv1.1**
	//
	// 	- **tlsv1.2**
	//
	// example:
	//
	// tlsv1
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
}

func (DescribeDefaultHttpsResponseBodyDefaultHttps) GoString

func (*DescribeDefaultHttpsResponseBodyDefaultHttps) SetCertId

func (*DescribeDefaultHttpsResponseBodyDefaultHttps) SetCipherSuite

func (*DescribeDefaultHttpsResponseBodyDefaultHttps) SetCustomCiphers

func (*DescribeDefaultHttpsResponseBodyDefaultHttps) SetEnableTLSv3

func (*DescribeDefaultHttpsResponseBodyDefaultHttps) SetTLSVersion

func (DescribeDefaultHttpsResponseBodyDefaultHttps) String

type DescribeDefenseResourceGroupNamesRequest

type DescribeDefenseResourceGroupNamesRequest struct {
	// The name of the protected object group. Fuzzy queries are supported.
	//
	// example:
	//
	// example-group
	GroupNameLike *string `json:"GroupNameLike,omitempty" xml:"GroupNameLike,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-lbj****cc03
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **20**.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzwwk****cv5i
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDefenseResourceGroupNamesRequest) GoString

func (*DescribeDefenseResourceGroupNamesRequest) SetGroupNameLike

func (*DescribeDefenseResourceGroupNamesRequest) SetInstanceId

func (*DescribeDefenseResourceGroupNamesRequest) SetPageNumber

func (*DescribeDefenseResourceGroupNamesRequest) SetPageSize

func (*DescribeDefenseResourceGroupNamesRequest) SetRegionId

func (*DescribeDefenseResourceGroupNamesRequest) SetResourceManagerResourceGroupId

func (DescribeDefenseResourceGroupNamesRequest) String

type DescribeDefenseResourceGroupNamesResponse

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

func (DescribeDefenseResourceGroupNamesResponse) GoString

func (*DescribeDefenseResourceGroupNamesResponse) SetHeaders

func (*DescribeDefenseResourceGroupNamesResponse) SetStatusCode

func (DescribeDefenseResourceGroupNamesResponse) String

type DescribeDefenseResourceGroupNamesResponseBody

type DescribeDefenseResourceGroupNamesResponseBody struct {
	// The names of the protected object groups.
	GroupNames []*string `json:"GroupNames,omitempty" xml:"GroupNames,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 59DA4258-2F32-5095-B283-57AC****70B3
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 8
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDefenseResourceGroupNamesResponseBody) GoString

func (*DescribeDefenseResourceGroupNamesResponseBody) SetGroupNames

func (*DescribeDefenseResourceGroupNamesResponseBody) SetRequestId

func (*DescribeDefenseResourceGroupNamesResponseBody) SetTotalCount

func (DescribeDefenseResourceGroupNamesResponseBody) String

type DescribeDefenseResourceGroupRequest

type DescribeDefenseResourceGroupRequest struct {
	// The name of the protected object group whose information you want to query.
	//
	// This parameter is required.
	//
	// example:
	//
	// group221
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDefenseResourceGroupRequest) GoString

func (*DescribeDefenseResourceGroupRequest) SetGroupName

func (*DescribeDefenseResourceGroupRequest) SetInstanceId

func (*DescribeDefenseResourceGroupRequest) SetRegionId

func (*DescribeDefenseResourceGroupRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// E67D21C6-5376-5F94-B745-70E08D03E3CB
	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.
	//
	// example:
	//
	// test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the protected object group was created.
	//
	// example:
	//
	// 23242312312
	GmtCreate *int64 `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// The most recent time when the protected object group was modified.
	//
	// example:
	//
	// 23242312312
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The name of the protected object group.
	//
	// example:
	//
	// group1
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The protected objects in the protected object group. The protected objects are separated with commas (,).
	//
	// example:
	//
	// test1.aliyundoc.com,test2.aliyundoc.com
	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 DescribeDefenseResourceGroupsRequest

type DescribeDefenseResourceGroupsRequest struct {
	// The name of the protected object group that you want to query. Fuzzy queries are supported.
	//
	// example:
	//
	// demoGroupName
	GroupNameLike *string `json:"GroupNameLike,omitempty" xml:"GroupNameLike,omitempty"`
	// The names of the protected object groups that you want to query. Separate multiple names with commas (,).
	//
	// example:
	//
	// groupName1,groupName2
	GroupNames *string `json:"GroupNames,omitempty" xml:"GroupNames,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-wwo36****0i
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **20**.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfmxc7lf****eq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDefenseResourceGroupsRequest) GoString

func (*DescribeDefenseResourceGroupsRequest) SetGroupNameLike

func (*DescribeDefenseResourceGroupsRequest) SetGroupNames

func (*DescribeDefenseResourceGroupsRequest) SetInstanceId

func (*DescribeDefenseResourceGroupsRequest) SetPageNumber

func (*DescribeDefenseResourceGroupsRequest) SetPageSize

func (*DescribeDefenseResourceGroupsRequest) SetRegionId

func (*DescribeDefenseResourceGroupsRequest) SetResourceManagerResourceGroupId

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

func (DescribeDefenseResourceGroupsRequest) String

type DescribeDefenseResourceGroupsResponse

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

func (DescribeDefenseResourceGroupsResponse) GoString

func (*DescribeDefenseResourceGroupsResponse) SetHeaders

func (*DescribeDefenseResourceGroupsResponse) SetStatusCode

func (DescribeDefenseResourceGroupsResponse) String

type DescribeDefenseResourceGroupsResponseBody

type DescribeDefenseResourceGroupsResponseBody struct {
	// The list of protected object groups.
	Groups []*DescribeDefenseResourceGroupsResponseBodyGroups `json:"Groups,omitempty" xml:"Groups,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// BFEC5C77-049B-5E88-A5B6-CB0C****B66E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 10
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDefenseResourceGroupsResponseBody) GoString

func (*DescribeDefenseResourceGroupsResponseBody) SetRequestId

func (*DescribeDefenseResourceGroupsResponseBody) SetTotalCount

func (DescribeDefenseResourceGroupsResponseBody) String

type DescribeDefenseResourceGroupsResponseBodyGroups

type DescribeDefenseResourceGroupsResponseBodyGroups struct {
	// The description of the protected object group.
	//
	// example:
	//
	// This is test description
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the protected object group was created. Unit: milliseconds.
	//
	// example:
	//
	// 1624343180000
	GmtCreate *int64 `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// The most recent time when the protected object group was modified. Unit: milliseconds.
	//
	// example:
	//
	// 1701656305000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The name of the protected object group.
	//
	// example:
	//
	// apptest
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The names of the protected objects that are added to the protected object group. Separate multiple protected objects with commas (,).
	//
	// example:
	//
	// example02.aliyun-waf,example01.aliyun-waf
	ResourceList *string `json:"ResourceList,omitempty" xml:"ResourceList,omitempty"`
}

func (DescribeDefenseResourceGroupsResponseBodyGroups) GoString

func (*DescribeDefenseResourceGroupsResponseBodyGroups) SetDescription

func (*DescribeDefenseResourceGroupsResponseBodyGroups) SetGmtCreate

func (*DescribeDefenseResourceGroupsResponseBodyGroups) SetGmtModified

func (*DescribeDefenseResourceGroupsResponseBodyGroups) SetGroupName

func (*DescribeDefenseResourceGroupsResponseBodyGroups) SetResourceList

func (DescribeDefenseResourceGroupsResponseBodyGroups) String

type DescribeDefenseResourceNamesRequest

type DescribeDefenseResourceNamesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-9lb****5s03
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **20**.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the protected object that you want to query.
	//
	// example:
	//
	// example.xxxxaliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzd4c****pdwy
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDefenseResourceNamesRequest) GoString

func (*DescribeDefenseResourceNamesRequest) SetInstanceId

func (*DescribeDefenseResourceNamesRequest) SetPageNumber

func (*DescribeDefenseResourceNamesRequest) SetPageSize

func (*DescribeDefenseResourceNamesRequest) SetRegionId

func (*DescribeDefenseResourceNamesRequest) SetResource

func (*DescribeDefenseResourceNamesRequest) SetResourceManagerResourceGroupId

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

func (DescribeDefenseResourceNamesRequest) String

type DescribeDefenseResourceNamesResponse

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

func (DescribeDefenseResourceNamesResponse) GoString

func (*DescribeDefenseResourceNamesResponse) SetHeaders

func (*DescribeDefenseResourceNamesResponse) SetStatusCode

func (DescribeDefenseResourceNamesResponse) String

type DescribeDefenseResourceNamesResponseBody

type DescribeDefenseResourceNamesResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// C1823E96-EF4B-5BD2-9E02-1D18****3ED8
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The names of the protected objects.
	Resources []*string `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Repeated"`
	// The total number of entries returned.
	//
	// example:
	//
	// 75
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDefenseResourceNamesResponseBody) GoString

func (*DescribeDefenseResourceNamesResponseBody) SetRequestId

func (*DescribeDefenseResourceNamesResponseBody) SetResources

func (*DescribeDefenseResourceNamesResponseBody) SetTotalCount

func (DescribeDefenseResourceNamesResponseBody) String

type DescribeDefenseResourceRequest

type DescribeDefenseResourceRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-4xl****i60i
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the protected object that you want to query. Only exact queries are supported.
	//
	// This parameter is required.
	//
	// example:
	//
	// example.aliyundoc.com-waf
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDefenseResourceRequest) GoString

func (*DescribeDefenseResourceRequest) SetInstanceId

func (*DescribeDefenseResourceRequest) SetRegionId

func (*DescribeDefenseResourceRequest) SetResource

func (*DescribeDefenseResourceRequest) SetResourceManagerResourceGroupId

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

func (DescribeDefenseResourceRequest) String

type DescribeDefenseResourceResponse

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

func (DescribeDefenseResourceResponse) GoString

func (*DescribeDefenseResourceResponse) SetHeaders

func (*DescribeDefenseResourceResponse) SetStatusCode

func (DescribeDefenseResourceResponse) String

type DescribeDefenseResourceResponseBody

type DescribeDefenseResourceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 439AADF2-368C-5E98-B14E-3086****0573
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information about the protected object.
	Resource *DescribeDefenseResourceResponseBodyResource `json:"Resource,omitempty" xml:"Resource,omitempty" type:"Struct"`
}

func (DescribeDefenseResourceResponseBody) GoString

func (*DescribeDefenseResourceResponseBody) SetRequestId

func (DescribeDefenseResourceResponseBody) String

type DescribeDefenseResourceResponseBodyResource

type DescribeDefenseResourceResponseBodyResource struct {
	// The status of the tracking cookie.
	//
	// 	- **0**: disabled.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 0
	AcwCookieStatus *int32 `json:"AcwCookieStatus,omitempty" xml:"AcwCookieStatus,omitempty"`
	// The status of the secure attribute of the tracking cookie.
	//
	// 	- **0**: disabled.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 0
	AcwSecureStatus *int32 `json:"AcwSecureStatus,omitempty" xml:"AcwSecureStatus,omitempty"`
	// The status of the secure attribute of the slider CAPTCHA cookie.
	//
	// 	- **0**: disabled.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 0
	AcwV3SecureStatus *int32 `json:"AcwV3SecureStatus,omitempty" xml:"AcwV3SecureStatus,omitempty"`
	// The custom header fields.
	//
	// >  If the value of XffStatus is 1, the first IP address in the specified header field is used as the originating IP address of the client to prevent X-Forwarded-For (XFF) forgery. If you specify multiple header fields, WAF reads the values of the header fields in sequence until the originating IP address is obtained. If the originating IP address cannot be obtained, the first IP address in the XFF header field is used as the originating IP address of the client.
	CustomHeaders []*string `json:"CustomHeaders,omitempty" xml:"CustomHeaders,omitempty" type:"Repeated"`
	// The description of the protected object.
	//
	// example:
	//
	// This is Description
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The details of the protected object. Different key-value pairs indicate different attributes of the protected object.
	//
	// example:
	//
	// {
	//
	// "product": "waf",
	//
	//  "domain": "demo.aliyundoc****.com"
	//
	// }
	Detail map[string]interface{} `json:"Detail,omitempty" xml:"Detail,omitempty"`
	// The time when the protected object was created. Unit: milliseconds.
	//
	// example:
	//
	// 1607493144000
	GmtCreate *int64 `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// The time when the protected object was modified. Unit: milliseconds.
	//
	// example:
	//
	// 1691720010000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The user ID (UID) of the Alibaba Cloud account to which the protected object belongs.
	//
	// example:
	//
	// 170457******9107
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The pattern used for the protected object.
	//
	// example:
	//
	// domain
	Pattern *string `json:"Pattern,omitempty" xml:"Pattern,omitempty"`
	// The name of the cloud service.
	//
	// example:
	//
	// alb
	Product *string `json:"Product,omitempty" xml:"Product,omitempty"`
	// The name of the protected object.
	//
	// example:
	//
	// alb-rencs***
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The name of the protected object group to which the protected object belongs.
	//
	// example:
	//
	// example_resource_group
	ResourceGroup *string `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfmoiy****p2oq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The origin of the protected object. Valid values:
	//
	// 	- **custom**
	//
	// 	- **access**
	//
	// example:
	//
	// custom
	ResourceOrigin *string `json:"ResourceOrigin,omitempty" xml:"ResourceOrigin,omitempty"`
	// Indicates whether a Layer 7 proxy is deployed in front of WAF, such as Anti-DDoS Proxy and Alibaba Cloud CDN. Valid values:
	//
	// 	- **0**: No Layer 7 proxy is deployed.
	//
	// 	- **1**: A Layer 7 proxy is deployed.
	//
	// example:
	//
	// 0
	XffStatus *int32 `json:"XffStatus,omitempty" xml:"XffStatus,omitempty"`
}

func (DescribeDefenseResourceResponseBodyResource) GoString

func (*DescribeDefenseResourceResponseBodyResource) SetAcwCookieStatus

func (*DescribeDefenseResourceResponseBodyResource) SetAcwSecureStatus

func (*DescribeDefenseResourceResponseBodyResource) SetAcwV3SecureStatus

func (*DescribeDefenseResourceResponseBodyResource) SetCustomHeaders

func (*DescribeDefenseResourceResponseBodyResource) SetDescription

func (*DescribeDefenseResourceResponseBodyResource) SetDetail

func (*DescribeDefenseResourceResponseBodyResource) SetGmtCreate

func (*DescribeDefenseResourceResponseBodyResource) SetGmtModified

func (*DescribeDefenseResourceResponseBodyResource) SetOwnerUserId

func (*DescribeDefenseResourceResponseBodyResource) SetPattern

func (*DescribeDefenseResourceResponseBodyResource) SetProduct

func (*DescribeDefenseResourceResponseBodyResource) SetResource

func (*DescribeDefenseResourceResponseBodyResource) SetResourceGroup

func (*DescribeDefenseResourceResponseBodyResource) SetResourceManagerResourceGroupId

func (*DescribeDefenseResourceResponseBodyResource) SetResourceOrigin

func (*DescribeDefenseResourceResponseBodyResource) SetXffStatus

func (DescribeDefenseResourceResponseBodyResource) String

type DescribeDefenseResourceTemplatesRequest

type DescribeDefenseResourceTemplatesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-9lb36****0e
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the protected object or protected object group that you want to query.
	//
	// This parameter is required.
	//
	// example:
	//
	// xxxxxhemicals.cn-waf
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aek2ax2y5****pi
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the protected resource. Valid values:
	//
	// 	- **single**: protected object. This is the default value.
	//
	// 	- **group**: protected object group.
	//
	// example:
	//
	// single
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The ID of the protection rule.
	//
	// example:
	//
	// 20111098
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The name of the rule.
	//
	// example:
	//
	// demoRuleName
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	// The type of the protection rule. Valid values:
	//
	// 	- **defense**: defense rule. This is the default value.
	//
	// 	- **whitelist**: whitelist rule.
	//
	// example:
	//
	// whitelist
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The name of the protection rule template.
	//
	// example:
	//
	// test221
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (DescribeDefenseResourceTemplatesRequest) GoString

func (*DescribeDefenseResourceTemplatesRequest) SetInstanceId

func (*DescribeDefenseResourceTemplatesRequest) SetRegionId

func (*DescribeDefenseResourceTemplatesRequest) SetResource

func (*DescribeDefenseResourceTemplatesRequest) SetResourceManagerResourceGroupId

func (*DescribeDefenseResourceTemplatesRequest) SetResourceType

func (*DescribeDefenseResourceTemplatesRequest) SetRuleId

func (*DescribeDefenseResourceTemplatesRequest) SetRuleName added in v5.0.3

func (*DescribeDefenseResourceTemplatesRequest) SetRuleType

func (*DescribeDefenseResourceTemplatesRequest) SetTemplateName added in v5.0.3

func (DescribeDefenseResourceTemplatesRequest) String

type DescribeDefenseResourceTemplatesResponse

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

func (DescribeDefenseResourceTemplatesResponse) GoString

func (*DescribeDefenseResourceTemplatesResponse) SetHeaders

func (*DescribeDefenseResourceTemplatesResponse) SetStatusCode

func (DescribeDefenseResourceTemplatesResponse) String

type DescribeDefenseResourceTemplatesResponseBody

type DescribeDefenseResourceTemplatesResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 2305CEB0-BA5A-5543-A1D3-3F1D0891****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The protection templates.
	Templates []*DescribeDefenseResourceTemplatesResponseBodyTemplates `json:"Templates,omitempty" xml:"Templates,omitempty" type:"Repeated"`
}

func (DescribeDefenseResourceTemplatesResponseBody) GoString

func (*DescribeDefenseResourceTemplatesResponseBody) SetRequestId

func (DescribeDefenseResourceTemplatesResponseBody) String

type DescribeDefenseResourceTemplatesResponseBodyTemplates

type DescribeDefenseResourceTemplatesResponseBodyTemplates struct {
	// The scenario in which the protection template is used.
	//
	// 	- **waf_group**: basic protection.
	//
	// 	- **antiscan**: scan protection.
	//
	// 	- **ip_blacklist**: IP address blacklist.
	//
	// 	- **custom_acl**: custom rule.
	//
	// 	- **whitelist**: whitelist.
	//
	// 	- **region_block**: region blacklist.
	//
	// 	- **custom_response**: custom response.
	//
	// 	- **cc**: HTTP flood protection.
	//
	// 	- **tamperproof**: website tamper-proofing.
	//
	// 	- **dlp**: data leakage prevention.
	//
	// example:
	//
	// whitelist
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The sub-scenario in which the template is used. Valid values:
	//
	// 	- **web**: bot management for website protection.
	//
	// 	- **app**: bot management for app protection.
	//
	// 	- **basic**: bot management for basic protection.
	//
	// example:
	//
	// basic
	DefenseSubScene *string `json:"DefenseSubScene,omitempty" xml:"DefenseSubScene,omitempty"`
	// The description of the protection template.
	//
	// example:
	//
	// test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the protection template was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	//
	// example:
	//
	// 1692930539000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the protection template.
	//
	// example:
	//
	// 12345
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the protection template.
	//
	// example:
	//
	// TestTemplateName
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The origin of the protection template. The value custom indicates that the template is a custom template created by the user.
	//
	// example:
	//
	// custom
	TemplateOrigin *string `json:"TemplateOrigin,omitempty" xml:"TemplateOrigin,omitempty"`
	// The status of the protection template. Valid values:
	//
	// 	- **0**: disabled.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 1
	TemplateStatus *int32 `json:"TemplateStatus,omitempty" xml:"TemplateStatus,omitempty"`
	// The type of the protection template. Valid values:
	//
	// 	- **user_default**: default template.
	//
	// 	- **user_custom**: custom template.
	//
	// example:
	//
	// user_custom
	TemplateType *string `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (DescribeDefenseResourceTemplatesResponseBodyTemplates) GoString

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetDefenseScene

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetDefenseSubScene

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetDescription

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetGmtModified

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetTemplateId

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetTemplateName

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetTemplateOrigin

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetTemplateStatus

func (*DescribeDefenseResourceTemplatesResponseBodyTemplates) SetTemplateType

func (DescribeDefenseResourceTemplatesResponseBodyTemplates) String

type DescribeDefenseResourcesRequest

type DescribeDefenseResourcesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of the page to return. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// {\\"product\\":\\"waf\\"}
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The tag of the resource. 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

func (*DescribeDefenseResourcesRequest) SetResourceManagerResourceGroupId

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

func (*DescribeDefenseResourcesRequest) SetTag

func (DescribeDefenseResourcesRequest) String

type DescribeDefenseResourcesRequestTag

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

func (DescribeDefenseResourcesRequestTag) GoString

func (*DescribeDefenseResourcesRequestTag) SetKey

func (*DescribeDefenseResourcesRequestTag) SetValue

func (DescribeDefenseResourcesRequestTag) String

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 request ID.
	//
	// example:
	//
	// 618F2626-DB27-5187-8C6C-4E61A491DF29
	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.
	//
	// example:
	//
	// 73
	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. This is the default value.
	//
	// example:
	//
	// 1
	AcwCookieStatus *int32 `json:"AcwCookieStatus,omitempty" xml:"AcwCookieStatus,omitempty"`
	// The status of the secure attribute of the tracking cookie.
	//
	// 	- **0**: disabled. This is the default value.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 0
	AcwSecureStatus *int32 `json:"AcwSecureStatus,omitempty" xml:"AcwSecureStatus,omitempty"`
	// The status of the secure attribute of the slider CAPTCHA cookie.
	//
	// 	- **0**: disabled. This is the default value.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 0
	AcwV3SecureStatus *int32 `json:"AcwV3SecureStatus,omitempty" xml:"AcwV3SecureStatus,omitempty"`
	// The custom header fields 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 addresses in the XFF header fields are used as the originating IP addresses of clients.
	CustomHeaders []*string `json:"CustomHeaders,omitempty" xml:"CustomHeaders,omitempty" type:"Repeated"`
	// The description of the protected object.
	//
	// example:
	//
	// test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The description 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.
	//
	// example:
	//
	// 1652149203187
	GmtCreate *int64 `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// The most recent modification time of the protected object. Unit: seconds.
	//
	// example:
	//
	// 1665633032000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The Alibaba Cloud account to which the protected object belongs. You can specify this parameter to query protected objects that belong to a specific Alibaba Cloud account. Exact match is supported.
	//
	// example:
	//
	// 135*********46
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The protection pattern.
	//
	// example:
	//
	// domain
	Pattern *string `json:"Pattern,omitempty" xml:"Pattern,omitempty"`
	// The name of the cloud service.
	//
	// example:
	//
	// alb
	Product *string `json:"Product,omitempty" xml:"Product,omitempty"`
	// The name of the protected object.
	//
	// example:
	//
	// alb-rencs***
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The name of the protected object group to which the protected object belongs.
	//
	// example:
	//
	// test
	ResourceGroup *string `json:"ResourceGroup,omitempty" xml:"ResourceGroup,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The origin of the protected object.
	//
	// example:
	//
	// custom
	ResourceOrigin *string `json:"ResourceOrigin,omitempty" xml:"ResourceOrigin,omitempty"`
	// Indicates whether the X-Forwarded-For (XFF) header is used.
	//
	// example:
	//
	// 1
	XffStatus *int32 `json:"XffStatus,omitempty" xml:"XffStatus,omitempty"`
}

func (DescribeDefenseResourcesResponseBodyResources) GoString

func (*DescribeDefenseResourcesResponseBodyResources) SetAcwCookieStatus

func (*DescribeDefenseResourcesResponseBodyResources) SetAcwSecureStatus

func (*DescribeDefenseResourcesResponseBodyResources) SetAcwV3SecureStatus

func (*DescribeDefenseResourcesResponseBodyResources) SetCustomHeaders

func (*DescribeDefenseResourcesResponseBodyResources) SetDescription

func (*DescribeDefenseResourcesResponseBodyResources) SetDetail

func (*DescribeDefenseResourcesResponseBodyResources) SetGmtCreate

func (*DescribeDefenseResourcesResponseBodyResources) SetGmtModified

func (*DescribeDefenseResourcesResponseBodyResources) SetOwnerUserId

func (*DescribeDefenseResourcesResponseBodyResources) SetPattern

func (*DescribeDefenseResourcesResponseBodyResources) SetProduct

func (*DescribeDefenseResourcesResponseBodyResources) SetResource

func (*DescribeDefenseResourcesResponseBodyResources) SetResourceGroup

func (*DescribeDefenseResourcesResponseBodyResources) SetResourceManagerResourceGroupId

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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule that you want to query.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20026192
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 10318
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeDefenseRuleRequest) GoString

func (s DescribeDefenseRuleRequest) GoString() string

func (*DescribeDefenseRuleRequest) SetInstanceId

func (*DescribeDefenseRuleRequest) SetRegionId

func (*DescribeDefenseRuleRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	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.
	//
	// example:
	//
	// {\\"status\\":1,\\"policyId\\":1012,\\"action\\":\\"block\\"}
	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.
	//
	// example:
	//
	// custom
	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.
	//
	// example:
	//
	// waf_group
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The most recent time when the protection rule was modified.
	//
	// example:
	//
	// 1665196746000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the protection rule.
	//
	// example:
	//
	// 2732975
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The name of the protection rule.
	//
	// example:
	//
	// test1
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	// The status of the protection rule. Valid values:
	//
	// 	- **0:*	- disabled.
	//
	// 	- **1:*	- enabled.
	//
	// example:
	//
	// 1
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the protection rule template.
	//
	// example:
	//
	// 9114
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of the page to return. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// {\\\\"name\\\\":\\\\"IP address blocking_20220822_10\\\\",\\\\"scene\\\\":\\\\"custom_acl\\\\",\\\\"templateId\\\\":5327}
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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.
	//
	// example:
	//
	// whitelist
	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

func (*DescribeDefenseRulesRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 80736FA5-FA87-55F6-AA69-C5477C6FE6D0
	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.
	//
	// example:
	//
	// 2
	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.
	//
	// example:
	//
	// {\\"policyId\\":1012,\\"action\\":\\"block\\"}
	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.
	//
	// example:
	//
	// custom
	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.
	//
	// example:
	//
	// waf_group
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The most recent time when the protection rule was modified.
	//
	// example:
	//
	// 1665460629000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the protection rule.
	//
	// example:
	//
	// 42755
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The name of the protection rule.
	//
	// example:
	//
	// rules_41
	RuleName *string `json:"RuleName,omitempty" xml:"RuleName,omitempty"`
	// The status of the protection rule. Valid values:
	//
	// 	- **0:*	- disabled.
	//
	// 	- **1:*	- enabled.
	//
	// example:
	//
	// 1
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the protection rule template.
	//
	// example:
	//
	// 5673
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1333
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeDefenseTemplateRequest) GoString

func (*DescribeDefenseTemplateRequest) SetInstanceId

func (*DescribeDefenseTemplateRequest) SetRegionId

func (*DescribeDefenseTemplateRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	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.
	//
	// example:
	//
	// waf_group
	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.
	//
	// example:
	//
	// app
	DefenseSubScene *string `json:"DefenseSubScene,omitempty" xml:"DefenseSubScene,omitempty"`
	// The description of the protection rule template.
	//
	// example:
	//
	// test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The most recent time when the protection rule template was modified.
	//
	// example:
	//
	// 1665283642000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the protection rule template.
	//
	// example:
	//
	// 10097
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the protection rule template.
	//
	// example:
	//
	// test0621
	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.
	//
	// example:
	//
	// custom
	TemplateOrigin *string `json:"TemplateOrigin,omitempty" xml:"TemplateOrigin,omitempty"`
	// The status of the protection rule template. Valid values:
	//
	// 	- **0:*	- disabled.
	//
	// 	- **1:*	- enabled.
	//
	// example:
	//
	// 1
	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.
	//
	// example:
	//
	// user_default
	TemplateType *string `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (DescribeDefenseTemplateResponseBodyTemplate) GoString

func (*DescribeDefenseTemplateResponseBodyTemplate) SetDefenseScene

func (*DescribeDefenseTemplateResponseBodyTemplate) SetDefenseSubScene

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 DescribeDefenseTemplateValidGroupsRequest

type DescribeDefenseTemplateValidGroupsRequest struct {
	// The scenario in which the protection template is used.
	//
	// 	- **waf_group**: basic protection.
	//
	// 	- **antiscan**: scan protection.
	//
	// 	- **ip_blacklist**: IP address blacklist.
	//
	// 	- **custom_acl**: custom rule.
	//
	// 	- **whitelist**: whitelist.
	//
	// 	- **region_block**: region blacklist.
	//
	// 	- **custom_response**: custom response.
	//
	// 	- **cc**: HTTP flood protection.
	//
	// 	- **tamperproof**: website tamper-proofing.
	//
	// 	- **dlp**: data leakage prevention.
	//
	// This parameter is required.
	//
	// example:
	//
	// region_block
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The name of the protected object group that you want to query.
	//
	// example:
	//
	// group221
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-nwy****pf0e
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **20**.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm2th****v6ay
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection template.
	//
	// example:
	//
	// 12345
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeDefenseTemplateValidGroupsRequest) GoString

func (*DescribeDefenseTemplateValidGroupsRequest) SetDefenseScene

func (*DescribeDefenseTemplateValidGroupsRequest) SetGroupName

func (*DescribeDefenseTemplateValidGroupsRequest) SetInstanceId

func (*DescribeDefenseTemplateValidGroupsRequest) SetPageNumber

func (*DescribeDefenseTemplateValidGroupsRequest) SetPageSize

func (*DescribeDefenseTemplateValidGroupsRequest) SetRegionId

func (*DescribeDefenseTemplateValidGroupsRequest) SetResourceManagerResourceGroupId

func (*DescribeDefenseTemplateValidGroupsRequest) SetTemplateId

func (DescribeDefenseTemplateValidGroupsRequest) String

type DescribeDefenseTemplateValidGroupsResponse

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

func (DescribeDefenseTemplateValidGroupsResponse) GoString

func (*DescribeDefenseTemplateValidGroupsResponse) SetHeaders

func (*DescribeDefenseTemplateValidGroupsResponse) SetStatusCode

func (DescribeDefenseTemplateValidGroupsResponse) String

type DescribeDefenseTemplateValidGroupsResponseBody

type DescribeDefenseTemplateValidGroupsResponseBody struct {
	// The names of the protected object groups.
	Groups []*string `json:"Groups,omitempty" xml:"Groups,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// 6EA4B39A-9C0C-5E57-993E-30B6****3AD0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 27
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDefenseTemplateValidGroupsResponseBody) GoString

func (*DescribeDefenseTemplateValidGroupsResponseBody) SetGroups

func (*DescribeDefenseTemplateValidGroupsResponseBody) SetRequestId

func (*DescribeDefenseTemplateValidGroupsResponseBody) SetTotalCount

func (DescribeDefenseTemplateValidGroupsResponseBody) String

type DescribeDefenseTemplatesRequest

type DescribeDefenseTemplatesRequest struct {
	// The scenario in which the protection template is used.
	//
	// 	- **waf_group**: basic protection.
	//
	// 	- **antiscan**: scan protection.
	//
	// 	- **ip_blacklist**: IP address blacklist.
	//
	// 	- **custom_acl**: custom rule.
	//
	// 	- **whitelist**: whitelist.
	//
	// 	- **region_block**: region blacklist.
	//
	// 	- **custom_response**: custom response.
	//
	// 	- **cc**: HTTP flood protection.
	//
	// 	- **tamperproof**: website tamper-proofing.
	//
	// 	- **dlp**: data leakage prevention.
	//
	// example:
	//
	// region_block
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The sub-scenario in which the protection template is used. Valid values:
	//
	// 	- **web**: bot management for website protection.
	//
	// 	- **app**: bot management for app protection.
	//
	// 	- **basic**: bot management for basic protection.
	//
	// example:
	//
	// basic
	DefenseSubScene *string `json:"DefenseSubScene,omitempty" xml:"DefenseSubScene,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-pe33b****03
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **20**.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the protected object or protected object group.
	//
	// >  If you specify ResourceType, you must specify this parameter.
	//
	// example:
	//
	// xxxqiu.cc-ecs
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfmvyknl****fa
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the protected resource. Valid values:
	//
	// 	- **single**: protected object. This is the default value.
	//
	// 	- **group**: protected object group.
	//
	// >  If you specify Resource, you must specify this parameter.
	//
	// example:
	//
	// single
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The ID of the protection template.
	//
	// example:
	//
	// 12345
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The IDs of the protection templates that you want to query. Separate multiple template IDs with commas (,).
	//
	// example:
	//
	// 189731,189539,189538,189531,189540,189542,189541
	TemplateIds *string `json:"TemplateIds,omitempty" xml:"TemplateIds,omitempty"`
	// The name of the protection template.
	//
	// example:
	//
	// testTemplateName
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The type of the protection template. Valid values:
	//
	// 	- **user_default**: default template.
	//
	// 	- **user_custom**: custom template.
	//
	// example:
	//
	// user_default
	TemplateType *string `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (DescribeDefenseTemplatesRequest) GoString

func (*DescribeDefenseTemplatesRequest) SetDefenseScene

func (*DescribeDefenseTemplatesRequest) SetDefenseSubScene

func (*DescribeDefenseTemplatesRequest) SetInstanceId

func (*DescribeDefenseTemplatesRequest) SetPageNumber

func (*DescribeDefenseTemplatesRequest) SetPageSize

func (*DescribeDefenseTemplatesRequest) SetRegionId

func (*DescribeDefenseTemplatesRequest) SetResource

func (*DescribeDefenseTemplatesRequest) SetResourceManagerResourceGroupId

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

func (*DescribeDefenseTemplatesRequest) SetResourceType

func (*DescribeDefenseTemplatesRequest) SetTemplateId

func (*DescribeDefenseTemplatesRequest) SetTemplateIds added in v5.0.3

func (*DescribeDefenseTemplatesRequest) SetTemplateName added in v5.0.3

func (*DescribeDefenseTemplatesRequest) SetTemplateType

func (DescribeDefenseTemplatesRequest) String

type DescribeDefenseTemplatesResponse

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

func (DescribeDefenseTemplatesResponse) GoString

func (*DescribeDefenseTemplatesResponse) SetHeaders

func (*DescribeDefenseTemplatesResponse) SetStatusCode

func (DescribeDefenseTemplatesResponse) String

type DescribeDefenseTemplatesResponseBody

type DescribeDefenseTemplatesResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 4F26D2F1-E288-5104-8518-05E240E3****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The protection templates.
	Templates []*DescribeDefenseTemplatesResponseBodyTemplates `json:"Templates,omitempty" xml:"Templates,omitempty" type:"Repeated"`
	// The total number of entries returned.
	//
	// example:
	//
	// 100
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDefenseTemplatesResponseBody) GoString

func (*DescribeDefenseTemplatesResponseBody) SetRequestId

func (*DescribeDefenseTemplatesResponseBody) SetTotalCount

func (DescribeDefenseTemplatesResponseBody) String

type DescribeDefenseTemplatesResponseBodyTemplates

type DescribeDefenseTemplatesResponseBodyTemplates struct {
	// The scenario in which the protection template is used.
	//
	// 	- **waf_group**: basic protection.
	//
	// 	- **antiscan**: scan protection.
	//
	// 	- **ip_blacklist**: IP address blacklist.
	//
	// 	- **custom_acl**: custom rule.
	//
	// 	- **whitelist**: whitelist.
	//
	// 	- **region_block**: region blacklist.
	//
	// 	- **custom_response**: custom response.
	//
	// 	- **cc**: HTTP flood protection.
	//
	// 	- **tamperproof**: website tamper-proofing.
	//
	// 	- **dlp**: data leakage prevention.
	//
	// example:
	//
	// whitelist
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The sub-scenario in which the protection template is used. Valid values:
	//
	// 	- **web**: bot management for website protection.
	//
	// 	- **app**: bot management for app protection.
	//
	// 	- **basic**: bot management for basic protection.
	//
	// example:
	//
	// basic
	DefenseSubScene *string `json:"DefenseSubScene,omitempty" xml:"DefenseSubScene,omitempty"`
	// The description of the protection template.
	//
	// example:
	//
	// test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the protection template was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	//
	// example:
	//
	// 1683776070000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The ID of the protection template.
	//
	// example:
	//
	// 12345
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the protection template.
	//
	// example:
	//
	// testTemplateName
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The origin of the protection template. The value custom indicates that the protection template is a custom template created by the user.
	//
	// example:
	//
	// custom
	TemplateOrigin *string `json:"TemplateOrigin,omitempty" xml:"TemplateOrigin,omitempty"`
	// The status of the protection template. Valid values:
	//
	// 	- **0**: disabled.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 1
	TemplateStatus *int32 `json:"TemplateStatus,omitempty" xml:"TemplateStatus,omitempty"`
	// The type of the protection template. Valid values:
	//
	// 	- **user_default**: default template.
	//
	// 	- **user_custom**: custom template.
	//
	// example:
	//
	// user_custom
	TemplateType *string `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (DescribeDefenseTemplatesResponseBodyTemplates) GoString

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetDefenseScene

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetDefenseSubScene

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetDescription

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetGmtModified

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetTemplateId

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetTemplateName

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetTemplateOrigin

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetTemplateStatus

func (*DescribeDefenseTemplatesResponseBodyTemplates) SetTemplateType

func (DescribeDefenseTemplatesResponseBodyTemplates) String

type DescribeDomainDNSRecordRequest

type DescribeDomainDNSRecordRequest struct {
	// The domain name whose DNS settings you want to check.
	//
	// This parameter is required.
	//
	// example:
	//
	// xxx.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-nwy****is02
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeDomainDNSRecordRequest) GoString

func (*DescribeDomainDNSRecordRequest) SetDomain

func (*DescribeDomainDNSRecordRequest) SetInstanceId

func (*DescribeDomainDNSRecordRequest) SetRegionId

func (*DescribeDomainDNSRecordRequest) SetResourceManagerResourceGroupId

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

func (DescribeDomainDNSRecordRequest) String

type DescribeDomainDNSRecordResponse

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

func (DescribeDomainDNSRecordResponse) GoString

func (*DescribeDomainDNSRecordResponse) SetHeaders

func (*DescribeDomainDNSRecordResponse) SetStatusCode

func (DescribeDomainDNSRecordResponse) String

type DescribeDomainDNSRecordResponseBody

type DescribeDomainDNSRecordResponseBody struct {
	// The status of the DNS settings. Valid values:
	//
	// 	- **cnameMatched**: The DNS settings are properly configured.
	//
	// 	- **vipMatched**: An A record maps the domain name to the WAF virtual IP address (VIP).
	//
	// 	- **wafVip**: An A record maps the domain name to another WAF VIP.
	//
	// 	- **unRecord**: The domain name does not have a DNS record.
	//
	// 	- **unUsed**: The domain name is not pointed to WAF.
	//
	// 	- **checkTimeout**: The check times out.
	//
	// example:
	//
	// cnameMatched
	DNSStatus *string `json:"DNSStatus,omitempty" xml:"DNSStatus,omitempty"`
	// The request ID.
	//
	// example:
	//
	// D827FCFE-90A7-4330-9326-D33C8B4C****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDomainDNSRecordResponseBody) GoString

func (*DescribeDomainDNSRecordResponseBody) SetDNSStatus

func (*DescribeDomainDNSRecordResponseBody) SetRequestId

func (DescribeDomainDNSRecordResponseBody) String

type DescribeDomainDetailRequest

type DescribeDomainDetailRequest struct {
	// The domain name that you want to query.
	//
	// This parameter is required.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeDomainDetailRequest) GoString

func (s DescribeDomainDetailRequest) GoString() string

func (*DescribeDomainDetailRequest) SetDomain

func (*DescribeDomainDetailRequest) SetInstanceId

func (*DescribeDomainDetailRequest) SetRegionId

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.
	//
	// example:
	//
	// xxxxxcvdaf.****.com
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name.
	//
	// example:
	//
	// www.aliyundoc.com
	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.
	//
	// example:
	//
	// BAEF9CA9-66A0-533E-BD09-5D5D7AA8****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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.
	//
	// example:
	//
	// 1
	Status *int64 `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeDomainDetailResponseBody) GoString

func (*DescribeDomainDetailResponseBody) SetCname

func (*DescribeDomainDetailResponseBody) SetDomain

func (*DescribeDomainDetailResponseBody) SetRequestId

func (*DescribeDomainDetailResponseBody) SetResourceManagerResourceGroupId

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

func (*DescribeDomainDetailResponseBody) SetStatus

func (DescribeDomainDetailResponseBody) String

type DescribeDomainDetailResponseBodyCertDetail

type DescribeDomainDetailResponseBodyCertDetail struct {
	// The domain name of your website.
	//
	// example:
	//
	// test.aliyundoc.com
	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.
	//
	// example:
	//
	// 1685590400000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the SSL certificate.
	//
	// example:
	//
	// 123-cn-hangzhou
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The name of the SSL certificate.
	//
	// example:
	//
	// test-cert-name
	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.
	//
	// example:
	//
	// 1677772800000
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDomainDetailResponseBodyCertDetail) GoString

func (*DescribeDomainDetailResponseBodyCertDetail) SetCommonName

func (*DescribeDomainDetailResponseBodyCertDetail) SetEndTime

func (*DescribeDomainDetailResponseBodyCertDetail) SetId

func (*DescribeDomainDetailResponseBodyCertDetail) SetName

func (*DescribeDomainDetailResponseBodyCertDetail) SetSans

func (*DescribeDomainDetailResponseBodyCertDetail) SetStartTime

func (DescribeDomainDetailResponseBodyCertDetail) String

type DescribeDomainDetailResponseBodyListen

type DescribeDomainDetailResponseBodyListen struct {
	// The ID of the certificate.
	//
	// example:
	//
	// 123
	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.
	//
	// example:
	//
	// 2
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// share
	ProtectionResource *string `json:"ProtectionResource,omitempty" xml:"ProtectionResource,omitempty"`
	// Indicates whether only SM certificate-based clients can access the domain name. This parameter is returned only if the value of SM2Enabled is true. Valid values:
	//
	// 	- true
	//
	// 	- false
	//
	// example:
	//
	// true
	SM2AccessOnly *bool `json:"SM2AccessOnly,omitempty" xml:"SM2AccessOnly,omitempty"`
	// The ID of the SM certificate that is added. This parameter is returned only if the value of SM2Enabled is true.
	//
	// example:
	//
	// 123-cn-hangzhou
	SM2CertId *string `json:"SM2CertId,omitempty" xml:"SM2CertId,omitempty"`
	// Indicates whether SM certificate-based verification is enabled. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	SM2Enabled *bool `json:"SM2Enabled,omitempty" xml:"SM2Enabled,omitempty"`
	// The version of the Transport Layer Security (TLS) protocol. Valid values:
	//
	// 	- **tlsv1**
	//
	// 	- **tlsv1.1**
	//
	// 	- **tlsv1.2**
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// 2
	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

func (*DescribeDomainDetailResponseBodyListen) SetSM2CertId

func (*DescribeDomainDetailResponseBodyListen) SetSM2Enabled

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"`
	// An array of HTTPS listener ports.
	BackupBackends []*DescribeDomainDetailResponseBodyRedirectBackupBackends `json:"BackupBackends,omitempty" xml:"BackupBackends,omitempty" type:"Repeated"`
	// The timeout period of the connection. Unit: seconds. Valid values: 5 to 120.
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// 1000
	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.
	//
	// example:
	//
	// 15
	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.
	//
	// example:
	//
	// iphash
	Loadbalance *string `json:"Loadbalance,omitempty" xml:"Loadbalance,omitempty"`
	// The read timeout period. Unit: seconds. Valid values: 5 to 1800.
	//
	// example:
	//
	// 200
	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 when requests fail to be forwarded to the origin server. Valid values:
	//
	// 	- **true:*	- WAF retries. This is the default value.
	//
	// 	- **false:*	- WAF does not retry.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	SniEnabled *bool `json:"SniEnabled,omitempty" xml:"SniEnabled,omitempty"`
	// The value of the custom SNI field.
	//
	// example:
	//
	// www.aliyundoc.com
	SniHost *string `json:"SniHost,omitempty" xml:"SniHost,omitempty"`
	// The write timeout period. Unit: seconds. Valid values: 5 to 1800.
	//
	// example:
	//
	// 200
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	// Indicates whether the X-Forward-For-Proto header is used to identify the protocol used by WAF to forward requests to the origin server. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	XffProto *bool `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (DescribeDomainDetailResponseBodyRedirect) GoString

func (*DescribeDomainDetailResponseBodyRedirect) SetBackupBackends added in v5.0.2

func (*DescribeDomainDetailResponseBodyRedirect) SetConnectTimeout

func (*DescribeDomainDetailResponseBodyRedirect) SetFocusHttpBackend

func (*DescribeDomainDetailResponseBodyRedirect) SetKeepalive

func (*DescribeDomainDetailResponseBodyRedirect) SetKeepaliveRequests

func (*DescribeDomainDetailResponseBodyRedirect) SetKeepaliveTimeout

func (*DescribeDomainDetailResponseBodyRedirect) SetLoadbalance

func (*DescribeDomainDetailResponseBodyRedirect) SetReadTimeout

func (*DescribeDomainDetailResponseBodyRedirect) SetRetry

func (*DescribeDomainDetailResponseBodyRedirect) SetSniEnabled

func (*DescribeDomainDetailResponseBodyRedirect) SetSniHost

func (*DescribeDomainDetailResponseBodyRedirect) SetWriteTimeout

func (*DescribeDomainDetailResponseBodyRedirect) SetXffProto

func (DescribeDomainDetailResponseBodyRedirect) String

type DescribeDomainDetailResponseBodyRedirectBackends

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

func (DescribeDomainDetailResponseBodyRedirectBackends) GoString

func (*DescribeDomainDetailResponseBodyRedirectBackends) SetBackend

func (DescribeDomainDetailResponseBodyRedirectBackends) String

type DescribeDomainDetailResponseBodyRedirectBackupBackends added in v5.0.2

type DescribeDomainDetailResponseBodyRedirectBackupBackends struct {
	// The back-to-origin IP address or domain name.
	//
	// example:
	//
	// [
	//
	//     "1.1.XX.XX",
	//
	//     "2.2.XX.XX"
	//
	// ]
	Backend *string `json:"Backend,omitempty" xml:"Backend,omitempty"`
}

func (DescribeDomainDetailResponseBodyRedirectBackupBackends) GoString added in v5.0.2

func (*DescribeDomainDetailResponseBodyRedirectBackupBackends) SetBackend added in v5.0.2

func (DescribeDomainDetailResponseBodyRedirectBackupBackends) String added in v5.0.2

type DescribeDomainDetailResponseBodyRedirectRequestHeaders

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

func (DescribeDomainDetailResponseBodyRedirectRequestHeaders) GoString

func (*DescribeDomainDetailResponseBodyRedirectRequestHeaders) SetKey

func (*DescribeDomainDetailResponseBodyRedirectRequestHeaders) SetValue

func (DescribeDomainDetailResponseBodyRedirectRequestHeaders) String

type DescribeDomainDetailResponseBodySM2CertDetail

type DescribeDomainDetailResponseBodySM2CertDetail struct {
	// The domain name of your website.
	//
	// example:
	//
	// test.aliyundoc.com
	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.
	//
	// example:
	//
	// 1665590400000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the SSL certificate.
	//
	// example:
	//
	// 123-cn-hangzhou
	Id *string `json:"Id,omitempty" xml:"Id,omitempty"`
	// The name of the SSL certificate.
	//
	// example:
	//
	// test-sm2-cert-name
	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.
	//
	// example:
	//
	// 1657551525000
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeDomainDetailResponseBodySM2CertDetail) GoString

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetCommonName

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetEndTime

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetId

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetName

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetSans

func (*DescribeDomainDetailResponseBodySM2CertDetail) SetStartTime

func (DescribeDomainDetailResponseBodySM2CertDetail) String

type DescribeDomainsRequest

type DescribeDomainsRequest struct {
	// An array of HTTPS listener ports.
	//
	// example:
	//
	// 1.1.XX.XX
	Backend *string `json:"Backend,omitempty" xml:"Backend,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The page number of the page to return. Default value: 1.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,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

func (*DescribeDomainsRequest) SetResourceManagerResourceGroupId

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

func (*DescribeDomainsRequest) SetTag

func (DescribeDomainsRequest) String

func (s DescribeDomainsRequest) String() string

type DescribeDomainsRequestTag

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

func (DescribeDomainsRequestTag) GoString

func (s DescribeDomainsRequestTag) GoString() string

func (*DescribeDomainsRequestTag) SetKey

func (*DescribeDomainsRequestTag) SetValue

func (DescribeDomainsRequestTag) String

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"`
	// The ID of the request.
	//
	// example:
	//
	// ABF68BB3-2C48-5FA4-9750-D5FE55700E36
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of returned entries.
	//
	// example:
	//
	// 146
	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.
	//
	// example:
	//
	// xxxxxcvdaf.****.com
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name that is added to WAF in CNAME record mode.
	//
	// example:
	//
	// www.aliyundoc.com
	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.
	//
	// example:
	//
	// rg-acfmvtc5z52****
	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.
	//
	// example:
	//
	// 1
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeDomainsResponseBodyDomains) GoString

func (*DescribeDomainsResponseBodyDomains) SetCname

func (*DescribeDomainsResponseBodyDomains) SetDomain

func (*DescribeDomainsResponseBodyDomains) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 1.1.XX.XX
	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.
	//
	// example:
	//
	// 1.1.XX.XX
	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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The time interval. Unit: seconds. The value must be an integral multiple of 60.
	//
	// This parameter is required.
	//
	// example:
	//
	// 300
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	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

func (*DescribeFlowChartRequest) SetResource

func (*DescribeFlowChartRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// BFA71416-670E-585D-AAE6-E7BBEE248FAB
	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 list (ACL) rules.
	//
	// example:
	//
	// 0
	AclCustomBlockSum *int64 `json:"AclCustomBlockSum,omitempty" xml:"AclCustomBlockSum,omitempty"`
	// The number of requests that are monitored by custom ACL rules.
	//
	// example:
	//
	// 0
	AclCustomReportsSum *int64 `json:"AclCustomReportsSum,omitempty" xml:"AclCustomReportsSum,omitempty"`
	// The number of requests that are blocked by scan protection rules.
	//
	// example:
	//
	// 0
	AntiScanBlockSum *int64 `json:"AntiScanBlockSum,omitempty" xml:"AntiScanBlockSum,omitempty"`
	// The number of requests that are blocked by bot management rules.
	//
	// example:
	//
	// 0
	AntibotBlockSum *int64 `json:"AntibotBlockSum,omitempty" xml:"AntibotBlockSum,omitempty"`
	// The number of requests that are monitored by bot management rules.
	//
	// example:
	//
	// 0
	AntibotReportSum *string `json:"AntibotReportSum,omitempty" xml:"AntibotReportSum,omitempty"`
	// The number of requests that are monitored by scan protection rules.
	//
	// example:
	//
	// 0
	AntiscanReportsSum *int64 `json:"AntiscanReportsSum,omitempty" xml:"AntiscanReportsSum,omitempty"`
	// The number of requests that are blocked by the IP address blacklist.
	//
	// example:
	//
	// 0
	BlacklistBlockSum *string `json:"BlacklistBlockSum,omitempty" xml:"BlacklistBlockSum,omitempty"`
	// The number of requests that are monitored by the IP address blacklist.
	//
	// example:
	//
	// 0
	BlacklistReportsSum *int64 `json:"BlacklistReportsSum,omitempty" xml:"BlacklistReportsSum,omitempty"`
	// The number of requests that are blocked by custom HTTP flood protection rules.
	//
	// example:
	//
	// 0
	CcCustomBlockSum *int64 `json:"CcCustomBlockSum,omitempty" xml:"CcCustomBlockSum,omitempty"`
	// The number of requests that are monitored by custom HTTP flood protection rules.
	//
	// example:
	//
	// 0
	CcCustomReportsSum *int64 `json:"CcCustomReportsSum,omitempty" xml:"CcCustomReportsSum,omitempty"`
	// The number of requests that are blocked by HTTP flood protection rules created by the system.
	//
	// example:
	//
	// 0
	CcSystemBlocksSum *int64 `json:"CcSystemBlocksSum,omitempty" xml:"CcSystemBlocksSum,omitempty"`
	// The number of requests that are monitored by HTTP flood protection rules created by the system.
	//
	// example:
	//
	// 0
	CcSystemReportsSum *int64 `json:"CcSystemReportsSum,omitempty" xml:"CcSystemReportsSum,omitempty"`
	// The total number of requests.
	//
	// example:
	//
	// 2932
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The total number of requests that are redirected to the WAF instance.
	//
	// example:
	//
	// 121645464
	InBytes *int64 `json:"InBytes,omitempty" xml:"InBytes,omitempty"`
	// The serial number of the time interval. The serial numbers are arranged in chronological order.
	//
	// example:
	//
	// 10
	Index *int64 `json:"Index,omitempty" xml:"Index,omitempty"`
	// The peak traffic.
	//
	// example:
	//
	// 2932
	MaxPv *int64 `json:"MaxPv,omitempty" xml:"MaxPv,omitempty"`
	// The total number of requests that are forwarded by the WAF instance.
	//
	// example:
	//
	// 1200540464
	OutBytes *int64 `json:"OutBytes,omitempty" xml:"OutBytes,omitempty"`
	// The number of requests that are blocked by rate limiting rules.
	//
	// example:
	//
	// 0
	RatelimitBlockSum *int64 `json:"RatelimitBlockSum,omitempty" xml:"RatelimitBlockSum,omitempty"`
	// The number of requests that are monitored by rate limiting rules.
	//
	// example:
	//
	// 0
	RatelimitReportSum *int64 `json:"RatelimitReportSum,omitempty" xml:"RatelimitReportSum,omitempty"`
	// The number of requests that are blocked by region blacklist rules.
	//
	// example:
	//
	// 0
	RegionBlockBlocksSum *int64 `json:"RegionBlockBlocksSum,omitempty" xml:"RegionBlockBlocksSum,omitempty"`
	// The number of requests that are monitored by region blacklist rules.
	//
	// example:
	//
	// 0
	RegionBlockReportsSum *int64 `json:"RegionBlockReportsSum,omitempty" xml:"RegionBlockReportsSum,omitempty"`
	// The total number of bot requests.
	//
	// example:
	//
	// 1110
	RobotCount *int64 `json:"RobotCount,omitempty" xml:"RobotCount,omitempty"`
	// The number of requests that are blocked by basic protection rules.
	//
	// example:
	//
	// 0
	WafBlockSum *int64 `json:"WafBlockSum,omitempty" xml:"WafBlockSum,omitempty"`
	// The number of requests that are monitored by basic protection rules.
	//
	// example:
	//
	// 0
	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

func (*DescribeFlowChartResponseBodyFlowChart) SetRatelimitReportSum

func (*DescribeFlowChartResponseBodyFlowChart) SetRegionBlockBlocksSum

func (*DescribeFlowChartResponseBodyFlowChart) SetRegionBlockReportsSum

func (*DescribeFlowChartResponseBodyFlowChart) SetRobotCount

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.
	//
	// example:
	//
	// 1665386340
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeFlowTopResourceRequest) GoString

func (*DescribeFlowTopResourceRequest) SetEndTimestamp

func (*DescribeFlowTopResourceRequest) SetInstanceId

func (*DescribeFlowTopResourceRequest) SetRegionId

func (*DescribeFlowTopResourceRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 8F0E0B9A-B518-5C6D-BEFC-A373DDE4F652
	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.
	//
	// example:
	//
	// 181174784
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	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.
	//
	// example:
	//
	// 1665386340
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	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

func (*DescribeFlowTopUrlRequest) SetResource

func (*DescribeFlowTopUrlRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 520D4E4C-B8EC-5602-ACB6-4D378ACBA28D
	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.
	//
	// example:
	//
	// 181174784
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The URL that is used to initiate requests.
	//
	// example:
	//
	// www.aliyundoc.com/path1
	Url *string `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (DescribeFlowTopUrlResponseBodyRuleHitsTopUrl) GoString

func (*DescribeFlowTopUrlResponseBodyRuleHitsTopUrl) SetCount

func (*DescribeFlowTopUrlResponseBodyRuleHitsTopUrl) SetUrl

func (DescribeFlowTopUrlResponseBodyRuleHitsTopUrl) String

type DescribeFreeUserAssetCountRequest

type DescribeFreeUserAssetCountRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-cs0*****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeFreeUserAssetCountRequest) GoString

func (*DescribeFreeUserAssetCountRequest) SetInstanceId

func (*DescribeFreeUserAssetCountRequest) SetRegionId

func (*DescribeFreeUserAssetCountRequest) SetResourceManagerResourceGroupId

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

func (DescribeFreeUserAssetCountRequest) String

type DescribeFreeUserAssetCountResponse

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

func (DescribeFreeUserAssetCountResponse) GoString

func (*DescribeFreeUserAssetCountResponse) SetHeaders

func (*DescribeFreeUserAssetCountResponse) SetStatusCode

func (DescribeFreeUserAssetCountResponse) String

type DescribeFreeUserAssetCountResponseBody

type DescribeFreeUserAssetCountResponseBody struct {
	// The asset statistics provided by basic detection.
	Asset *DescribeFreeUserAssetCountResponseBodyAsset `json:"Asset,omitempty" xml:"Asset,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 30488BF0-FD58-52DD-B396-D014549F43A3
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeFreeUserAssetCountResponseBody) GoString

func (*DescribeFreeUserAssetCountResponseBody) SetRequestId

func (DescribeFreeUserAssetCountResponseBody) String

type DescribeFreeUserAssetCountResponseBodyAsset

type DescribeFreeUserAssetCountResponseBodyAsset struct {
	// The number of active APIs.
	//
	// example:
	//
	// 34
	AssetActive *int64 `json:"AssetActive,omitempty" xml:"AssetActive,omitempty"`
	// The total number of APIs.
	//
	// example:
	//
	// 15
	AssetCount *int64 `json:"AssetCount,omitempty" xml:"AssetCount,omitempty"`
	// The number of deactivated APIs.
	//
	// example:
	//
	// 13
	AssetOffline *int64 `json:"AssetOffline,omitempty" xml:"AssetOffline,omitempty"`
}

func (DescribeFreeUserAssetCountResponseBodyAsset) GoString

func (*DescribeFreeUserAssetCountResponseBodyAsset) SetAssetActive

func (*DescribeFreeUserAssetCountResponseBodyAsset) SetAssetCount

func (*DescribeFreeUserAssetCountResponseBodyAsset) SetAssetOffline

func (DescribeFreeUserAssetCountResponseBodyAsset) String

type DescribeFreeUserEventCountRequest

type DescribeFreeUserEventCountRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepay_public_intl-sg-vf***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeFreeUserEventCountRequest) GoString

func (*DescribeFreeUserEventCountRequest) SetInstanceId

func (*DescribeFreeUserEventCountRequest) SetRegionId

func (*DescribeFreeUserEventCountRequest) SetResourceManagerResourceGroupId

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

func (DescribeFreeUserEventCountRequest) String

type DescribeFreeUserEventCountResponse

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

func (DescribeFreeUserEventCountResponse) GoString

func (*DescribeFreeUserEventCountResponse) SetHeaders

func (*DescribeFreeUserEventCountResponse) SetStatusCode

func (DescribeFreeUserEventCountResponse) String

type DescribeFreeUserEventCountResponseBody

type DescribeFreeUserEventCountResponseBody struct {
	// The information about the security events that are detected by using the basic detection feature.
	Event *DescribeFreeUserEventCountResponseBodyEvent `json:"Event,omitempty" xml:"Event,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 0D9FB3BC-0DE9-58A8-9663-ACE56F24F405
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeFreeUserEventCountResponseBody) GoString

func (*DescribeFreeUserEventCountResponseBody) SetRequestId

func (DescribeFreeUserEventCountResponseBody) String

type DescribeFreeUserEventCountResponseBodyEvent

type DescribeFreeUserEventCountResponseBodyEvent struct {
	// The number of high-risk events.
	//
	// example:
	//
	// 1
	EventHigh *int64 `json:"EventHigh,omitempty" xml:"EventHigh,omitempty"`
	// The number of low-risk events.
	//
	// example:
	//
	// 12
	EventLow *int64 `json:"EventLow,omitempty" xml:"EventLow,omitempty"`
	// The number of medium-risk events.
	//
	// example:
	//
	// 3
	EventMedium *int64 `json:"EventMedium,omitempty" xml:"EventMedium,omitempty"`
	// The total number of security events.
	//
	// example:
	//
	// 16
	EventTotal *int64 `json:"EventTotal,omitempty" xml:"EventTotal,omitempty"`
}

func (DescribeFreeUserEventCountResponseBodyEvent) GoString

func (*DescribeFreeUserEventCountResponseBodyEvent) SetEventHigh

func (*DescribeFreeUserEventCountResponseBodyEvent) SetEventLow

func (*DescribeFreeUserEventCountResponseBodyEvent) SetEventMedium

func (*DescribeFreeUserEventCountResponseBodyEvent) SetEventTotal

func (DescribeFreeUserEventCountResponseBodyEvent) String

type DescribeFreeUserEventTypesRequest

type DescribeFreeUserEventTypesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-bl0****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeFreeUserEventTypesRequest) GoString

func (*DescribeFreeUserEventTypesRequest) SetInstanceId

func (*DescribeFreeUserEventTypesRequest) SetRegionId

func (*DescribeFreeUserEventTypesRequest) SetResourceManagerResourceGroupId

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

func (DescribeFreeUserEventTypesRequest) String

type DescribeFreeUserEventTypesResponse

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

func (DescribeFreeUserEventTypesResponse) GoString

func (*DescribeFreeUserEventTypesResponse) SetHeaders

func (*DescribeFreeUserEventTypesResponse) SetStatusCode

func (DescribeFreeUserEventTypesResponse) String

type DescribeFreeUserEventTypesResponseBody

type DescribeFreeUserEventTypesResponseBody struct {
	// The types of security events on which basic detection is performed.
	Data []*DescribeFreeUserEventTypesResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// B9D6AD11-DD3D-5A27-B1D9-8A37F7777196
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeFreeUserEventTypesResponseBody) GoString

func (*DescribeFreeUserEventTypesResponseBody) SetRequestId

func (DescribeFreeUserEventTypesResponseBody) String

type DescribeFreeUserEventTypesResponseBodyData

type DescribeFreeUserEventTypesResponseBodyData struct {
	// The number of security events.
	//
	// example:
	//
	// 4
	EventNum *string `json:"EventNum,omitempty" xml:"EventNum,omitempty"`
	// The type of the security event.
	//
	// example:
	//
	// SMSInterfaceAbuse
	EventType *string `json:"EventType,omitempty" xml:"EventType,omitempty"`
}

func (DescribeFreeUserEventTypesResponseBodyData) GoString

func (*DescribeFreeUserEventTypesResponseBodyData) SetEventNum

func (*DescribeFreeUserEventTypesResponseBodyData) SetEventType

func (DescribeFreeUserEventTypesResponseBodyData) String

type DescribeFreeUserEventsRequest

type DescribeFreeUserEventsRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-27a3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeFreeUserEventsRequest) GoString

func (*DescribeFreeUserEventsRequest) SetInstanceId

func (*DescribeFreeUserEventsRequest) SetRegionId

func (*DescribeFreeUserEventsRequest) SetResourceManagerResourceGroupId

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

func (DescribeFreeUserEventsRequest) String

type DescribeFreeUserEventsResponse

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

func (DescribeFreeUserEventsResponse) GoString

func (*DescribeFreeUserEventsResponse) SetHeaders

func (*DescribeFreeUserEventsResponse) SetStatusCode

func (DescribeFreeUserEventsResponse) String

type DescribeFreeUserEventsResponseBody

type DescribeFreeUserEventsResponseBody struct {
	// The security events on which basic detection is performed.
	Event []*DescribeFreeUserEventsResponseBodyEvent `json:"Event,omitempty" xml:"Event,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 8A2DF88D-90C2-56E9-B8D5-36BB9646791C
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeFreeUserEventsResponseBody) GoString

func (*DescribeFreeUserEventsResponseBody) SetRequestId

func (DescribeFreeUserEventsResponseBody) String

type DescribeFreeUserEventsResponseBodyEvent

type DescribeFreeUserEventsResponseBodyEvent struct {
	// The API.
	//
	// example:
	//
	// /api/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The attacker IP address.
	//
	// example:
	//
	// 104.234.140.**
	AttackIP *string `json:"AttackIP,omitempty" xml:"AttackIP,omitempty"`
	// The time at which the attack was launched. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1683703260
	AttackTime *int64 `json:"AttackTime,omitempty" xml:"AttackTime,omitempty"`
	// The domain name of the API.
	//
	// example:
	//
	// www.***.cn
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The severity level of the security event. Valid values:
	//
	// 	- **high**
	//
	// 	- **medium**
	//
	// 	- **low**
	//
	// example:
	//
	// high
	EventLevel *string `json:"EventLevel,omitempty" xml:"EventLevel,omitempty"`
	// The type of the security event.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of security events.
	//
	// example:
	//
	// Event_DataTraverse
	EventTag *string `json:"EventTag,omitempty" xml:"EventTag,omitempty"`
}

func (DescribeFreeUserEventsResponseBodyEvent) GoString

func (*DescribeFreeUserEventsResponseBodyEvent) SetApiFormat

func (*DescribeFreeUserEventsResponseBodyEvent) SetAttackIP

func (*DescribeFreeUserEventsResponseBodyEvent) SetAttackTime

func (*DescribeFreeUserEventsResponseBodyEvent) SetDomain

func (*DescribeFreeUserEventsResponseBodyEvent) SetEventLevel

func (*DescribeFreeUserEventsResponseBodyEvent) SetEventTag

func (DescribeFreeUserEventsResponseBodyEvent) String

type DescribeHybridCloudClusterRuleRequest

type DescribeHybridCloudClusterRuleRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ClusterId *int64 `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-uqm33n***02
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid value:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the rule. Valid values:
	//
	// 	- **pullin**: The traffic redirection rule of the hybrid cloud cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// pullin
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
}

func (DescribeHybridCloudClusterRuleRequest) GoString

func (*DescribeHybridCloudClusterRuleRequest) SetClusterId

func (*DescribeHybridCloudClusterRuleRequest) SetInstanceId

func (*DescribeHybridCloudClusterRuleRequest) SetRegionId

func (*DescribeHybridCloudClusterRuleRequest) SetResourceManagerResourceGroupId

func (*DescribeHybridCloudClusterRuleRequest) SetRuleType

func (DescribeHybridCloudClusterRuleRequest) String

type DescribeHybridCloudClusterRuleResponse

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

func (DescribeHybridCloudClusterRuleResponse) GoString

func (*DescribeHybridCloudClusterRuleResponse) SetHeaders

func (*DescribeHybridCloudClusterRuleResponse) SetStatusCode

func (DescribeHybridCloudClusterRuleResponse) String

type DescribeHybridCloudClusterRuleResponseBody

type DescribeHybridCloudClusterRuleResponseBody struct {
	// The details of the rule.
	ClusterRule *DescribeHybridCloudClusterRuleResponseBodyClusterRule `json:"ClusterRule,omitempty" xml:"ClusterRule,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 1F29A6D2-9EB6-526D-A997-36888**99CB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHybridCloudClusterRuleResponseBody) GoString

func (*DescribeHybridCloudClusterRuleResponseBody) SetRequestId

func (DescribeHybridCloudClusterRuleResponseBody) String

type DescribeHybridCloudClusterRuleResponseBodyClusterRule

type DescribeHybridCloudClusterRuleResponseBodyClusterRule struct {
	// The configuration of the rule.
	//
	// example:
	//
	// {\\"check_mode\\":\\"all\\",\\"exclude\\":{\\"exact\\":[],\\"regex\\":[]}}
	RuleConfig *string `json:"RuleConfig,omitempty" xml:"RuleConfig,omitempty"`
	// The status of the rule. Valid values:
	//
	// 	- **on**: enabled.
	//
	// 	- **off**: disabled.
	//
	// example:
	//
	// on
	RuleStatus *string `json:"RuleStatus,omitempty" xml:"RuleStatus,omitempty"`
	// The type of the rule. Valid values:
	//
	// 	- **pullin**: The traffic redirection rule of the hybrid cloud cluster.
	//
	// example:
	//
	// pullin
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
}

func (DescribeHybridCloudClusterRuleResponseBodyClusterRule) GoString

func (*DescribeHybridCloudClusterRuleResponseBodyClusterRule) SetRuleConfig

func (*DescribeHybridCloudClusterRuleResponseBodyClusterRule) SetRuleStatus

func (*DescribeHybridCloudClusterRuleResponseBodyClusterRule) SetRuleType

func (DescribeHybridCloudClusterRuleResponseBodyClusterRule) String

type DescribeHybridCloudClustersRequest

type DescribeHybridCloudClustersRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstanceInfo](https://help.aliyun.com/document_detail/140857.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-uqm35****02
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeHybridCloudClustersRequest) GoString

func (*DescribeHybridCloudClustersRequest) SetInstanceId

func (*DescribeHybridCloudClustersRequest) SetRegionId

func (*DescribeHybridCloudClustersRequest) SetResourceManagerResourceGroupId

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

func (DescribeHybridCloudClustersRequest) String

type DescribeHybridCloudClustersResponse

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

func (DescribeHybridCloudClustersResponse) GoString

func (*DescribeHybridCloudClustersResponse) SetHeaders

func (*DescribeHybridCloudClustersResponse) SetStatusCode

func (DescribeHybridCloudClustersResponse) String

type DescribeHybridCloudClustersResponseBody

type DescribeHybridCloudClustersResponseBody struct {
	// The information about the clusters.
	ClusterInfos []*DescribeHybridCloudClustersResponseBodyClusterInfos `json:"ClusterInfos,omitempty" xml:"ClusterInfos,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// 66A98669-ER12-WE34-23PO-301469*****E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHybridCloudClustersResponseBody) GoString

func (*DescribeHybridCloudClustersResponseBody) SetRequestId

func (DescribeHybridCloudClustersResponseBody) String

type DescribeHybridCloudClustersResponseBodyClusterInfos

type DescribeHybridCloudClustersResponseBodyClusterInfos struct {
	// The network access mode. Valid values:
	//
	// 	- **internet**: Internet access.
	//
	// 	- **vpc**: internal network access by using Express Connect circuits.
	//
	// example:
	//
	// internet
	AccessMode *string `json:"AccessMode,omitempty" xml:"AccessMode,omitempty"`
	// The region where the virtual private cloud (VPC) resides. Valid values:
	//
	// 	- **cn-hangzhou**: China (Hangzhou).
	//
	// 	- **cn-beiijng**: China (Beijing).
	//
	// 	- **cn-shanghai**: China (Shanghai).
	//
	// example:
	//
	// cn-hangzhou
	AccessRegion *string `json:"AccessRegion,omitempty" xml:"AccessRegion,omitempty"`
	// The name of the cluster.
	//
	// example:
	//
	// test
	ClusterName *string `json:"ClusterName,omitempty" xml:"ClusterName,omitempty"`
	// The ID of the hybrid cloud cluster resource.
	//
	// example:
	//
	// hdbc-cluster-t1****a
	ClusterResourceId *string `json:"ClusterResourceId,omitempty" xml:"ClusterResourceId,omitempty"`
	// The HTTP ports. The value is a string. If multiple ports are returned, the value is in the **port1,port2,port3*	- format.
	//
	// example:
	//
	// 80,8080
	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.
	//
	// example:
	//
	// 443,8443
	HttpsPorts *string `json:"HttpsPorts,omitempty" xml:"HttpsPorts,omitempty"`
	// The ID of the cluster.
	//
	// example:
	//
	// 524**8
	Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
	// The number of protection nodes that can be added to the cluster.
	//
	// example:
	//
	// 1
	ProtectionServerCount *int32 `json:"ProtectionServerCount,omitempty" xml:"ProtectionServerCount,omitempty"`
	// The status of the proxy gateway. Valid values:
	//
	// 	- **on**: enabled.
	//
	// 	- **off**: disabled.
	//
	// example:
	//
	// off
	ProxyStatus *string `json:"ProxyStatus,omitempty" xml:"ProxyStatus,omitempty"`
	// The type of the cluster. Valid values:
	//
	// 	- **cname**: reverse proxy cluster.
	//
	// 	- **service**: SDK-based traffic mirroring cluster.
	//
	// example:
	//
	// cname
	ProxyType *string `json:"ProxyType,omitempty" xml:"ProxyType,omitempty"`
	// The remarks about the cluster.
	//
	// example:
	//
	// demo
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The configurations of the rule.
	//
	// example:
	//
	// {"enable":true,"param":{"breaker":{"duration":1,"failed":1,"recent_failed":1},"disable_protect":false,"max_request_body_len":1,"timeout":1}}
	RuleConfig *string `json:"RuleConfig,omitempty" xml:"RuleConfig,omitempty"`
	// The status of manual bypass. Valid values:
	//
	// 	- **on**: enabled.
	//
	// 	- **off**: disabled.
	//
	// example:
	//
	// off
	RuleStatus *string `json:"RuleStatus,omitempty" xml:"RuleStatus,omitempty"`
	// The type of the rule. Valid value:
	//
	// 	- **bypass**: Requests are allowed without security checks.
	//
	// example:
	//
	// bypass
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
}

func (DescribeHybridCloudClustersResponseBodyClusterInfos) GoString

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetAccessMode

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetAccessRegion

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetClusterName

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetClusterResourceId

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetHttpPorts

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetHttpsPorts

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetId

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetProtectionServerCount

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetProxyStatus

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetProxyType

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetRemark

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetRuleConfig

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetRuleStatus

func (*DescribeHybridCloudClustersResponseBodyClusterInfos) SetRuleType

func (DescribeHybridCloudClustersResponseBodyClusterInfos) String

type DescribeHybridCloudGroupsRequest

type DescribeHybridCloudGroupsRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// example:
	//
	// 428
	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.
	//
	// example:
	//
	// cname
	ClusterProxyType *string `json:"ClusterProxyType,omitempty" xml:"ClusterProxyType,omitempty"`
	// The name of the node group that you want to query.
	//
	// example:
	//
	// groupName1
	GroupName *int32 `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The type of the node group. Valid values:
	//
	// 	- **protect**
	//
	// 	- **control**
	//
	// 	- **storage**
	//
	// 	- **controlStorage**
	//
	// example:
	//
	// protect
	GroupType *string `json:"GroupType,omitempty" xml:"GroupType,omitempty"`
	// The ID of the WAF instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-********w0b
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeHybridCloudGroupsRequest) GoString

func (*DescribeHybridCloudGroupsRequest) SetClusterId

func (*DescribeHybridCloudGroupsRequest) SetClusterProxyType

func (*DescribeHybridCloudGroupsRequest) SetGroupName

func (*DescribeHybridCloudGroupsRequest) SetGroupType

func (*DescribeHybridCloudGroupsRequest) SetInstanceId

func (*DescribeHybridCloudGroupsRequest) SetPageNumber

func (*DescribeHybridCloudGroupsRequest) SetPageSize

func (*DescribeHybridCloudGroupsRequest) SetRegionId

func (*DescribeHybridCloudGroupsRequest) SetResourceManagerResourceGroupId

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

func (DescribeHybridCloudGroupsRequest) String

type DescribeHybridCloudGroupsResponse

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

func (*DescribeHybridCloudGroupsResponse) SetHeaders

func (*DescribeHybridCloudGroupsResponse) SetStatusCode

func (DescribeHybridCloudGroupsResponse) String

type DescribeHybridCloudGroupsResponseBody

type DescribeHybridCloudGroupsResponseBody struct {
	// The node groups.
	Groups []*DescribeHybridCloudGroupsResponseBodyGroups `json:"Groups,omitempty" xml:"Groups,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// 045660E7-C4C6-5CD7-8182-7B337D95****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 146
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHybridCloudGroupsResponseBody) GoString

func (*DescribeHybridCloudGroupsResponseBody) SetRequestId

func (*DescribeHybridCloudGroupsResponseBody) SetTotalCount

func (DescribeHybridCloudGroupsResponseBody) String

type DescribeHybridCloudGroupsResponseBodyGroups

type DescribeHybridCloudGroupsResponseBodyGroups struct {
	// The back-to-origin mark of the protected cluster. The value is in the {ISP name}-{Continent name}-{City name}-{Back-to-origin identifier} format. The back-to-origin identifier is optional.
	//
	// >  For more information about ISP names, continent names, city names, and back-to-origin identifiers, see the following sections.
	//
	// example:
	//
	// aliyun-asiapacific-beijing-12345678
	BackSourceMark *string `json:"BackSourceMark,omitempty" xml:"BackSourceMark,omitempty"`
	// The continent code of the protected cluster.
	//
	// >  For more information about continent codes, see Continent codes in this topic.
	//
	// example:
	//
	// 410
	ContinentsValue *int32 `json:"ContinentsValue,omitempty" xml:"ContinentsValue,omitempty"`
	// The ID of the node group.
	//
	// example:
	//
	// 123
	GroupId *int32 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The name of the node group.
	//
	// example:
	//
	// StorageGroup
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The type of the node group. Valid values:
	//
	// 	- **protect**
	//
	// 	- **control**
	//
	// 	- **storage**
	//
	// 	- **controlStorage**
	//
	// example:
	//
	// protect
	GroupType *string `json:"GroupType,omitempty" xml:"GroupType,omitempty"`
	// The IP address of the server used for load balancing.
	//
	// example:
	//
	// 1.1.XX.XX
	LoadBalanceIp *string `json:"LoadBalanceIp,omitempty" xml:"LoadBalanceIp,omitempty"`
	// The ID of the protection node.
	//
	// example:
	//
	// 1312
	LocationId *int64 `json:"LocationId,omitempty" xml:"LocationId,omitempty"`
	// The ISP code of the protected cluster.
	//
	// >  For more information about ISP codes, see ISP codes in this topic.
	//
	// example:
	//
	// 0
	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.
	//
	// example:
	//
	// 80,9200,20018
	Ports *string `json:"Ports,omitempty" xml:"Ports,omitempty"`
	// The city code of the protected cluster.
	//
	// >  For more information about city codes, see City codes in this topic.
	//
	// example:
	//
	// 0
	RegionCodeValue *int32 `json:"RegionCodeValue,omitempty" xml:"RegionCodeValue,omitempty"`
	// The description of the node group.
	//
	// example:
	//
	// test
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
}

func (DescribeHybridCloudGroupsResponseBodyGroups) GoString

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetBackSourceMark

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetContinentsValue

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetGroupId

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetGroupName

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetGroupType

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetLoadBalanceIp

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetLocationId

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetOperatorValue

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetPorts

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetRegionCodeValue

func (*DescribeHybridCloudGroupsResponseBodyGroups) SetRemark

func (DescribeHybridCloudGroupsResponseBodyGroups) String

type DescribeHybridCloudResourcesRequest

type DescribeHybridCloudResourcesRequest struct {
	// The back-to-origin IP address or domain name.
	//
	// example:
	//
	// 1.1.XX.XX
	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**
	//
	// example:
	//
	// true
	CnameEnabled *bool `json:"CnameEnabled,omitempty" xml:"CnameEnabled,omitempty"`
	// The domain name that you want to query.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-***********
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfmvtc5z52****
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeHybridCloudResourcesRequest) GoString

func (*DescribeHybridCloudResourcesRequest) SetBackend

func (*DescribeHybridCloudResourcesRequest) SetCnameEnabled

func (*DescribeHybridCloudResourcesRequest) SetDomain

func (*DescribeHybridCloudResourcesRequest) SetInstanceId

func (*DescribeHybridCloudResourcesRequest) SetPageNumber

func (*DescribeHybridCloudResourcesRequest) SetPageSize

func (*DescribeHybridCloudResourcesRequest) SetRegionId

func (*DescribeHybridCloudResourcesRequest) SetResourceManagerResourceGroupId

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

func (DescribeHybridCloudResourcesRequest) String

type DescribeHybridCloudResourcesResponse

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

func (*DescribeHybridCloudResourcesResponse) SetHeaders

func (*DescribeHybridCloudResourcesResponse) SetStatusCode

func (DescribeHybridCloudResourcesResponse) String

type DescribeHybridCloudResourcesResponseBody

type DescribeHybridCloudResourcesResponseBody struct {
	// The domain names.
	Domains []*DescribeHybridCloudResourcesResponseBodyDomains `json:"Domains,omitempty" xml:"Domains,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// 98D2AA9A-5959-5CCD-83E3-B6606232A2BE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries that are returned.
	//
	// example:
	//
	// 24
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeHybridCloudResourcesResponseBody) GoString

func (*DescribeHybridCloudResourcesResponseBody) SetRequestId

func (*DescribeHybridCloudResourcesResponseBody) SetTotalCount

func (DescribeHybridCloudResourcesResponseBody) String

type DescribeHybridCloudResourcesResponseBodyDomains

type DescribeHybridCloudResourcesResponseBodyDomains struct {
	// The CNAME assigned by WAF.
	//
	// >  This parameter is returned only if the value of **CnameEnabled*	- is true.
	//
	// example:
	//
	// 50fqmu1ci7g0xtiyxnrhgx6qdhmn****.yundunwaf5.com
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The access ID.
	//
	// example:
	//
	// 1
	Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
	// 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 Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfmvtc5z52****
	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 the traffic of the domain name.
	//
	// example:
	//
	// 1
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// The user ID.
	//
	// example:
	//
	// 130715431409****
	Uid *string `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (DescribeHybridCloudResourcesResponseBodyDomains) GoString

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetCname

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetDomain

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetId

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetResourceManagerResourceGroupId

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetStatus

func (*DescribeHybridCloudResourcesResponseBodyDomains) SetUid

func (DescribeHybridCloudResourcesResponseBodyDomains) String

type DescribeHybridCloudResourcesResponseBodyDomainsListen

type DescribeHybridCloudResourcesResponseBodyDomainsListen struct {
	// The ID of the certificate.
	//
	// example:
	//
	// 72***76-cn-hangzhou
	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.
	//
	// example:
	//
	// 1
	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**
	//
	// example:
	//
	// true
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// Indicates whether exclusive IP addresses are supported. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	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**
	//
	// example:
	//
	// false
	FocusHttps *bool `json:"FocusHttps,omitempty" xml:"FocusHttps,omitempty"`
	// Indicates whether HTTP/2 is enabled. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// 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"`
	// Specifies whether to enable IPv6. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// share
	ProtectionResource *string `json:"ProtectionResource,omitempty" xml:"ProtectionResource,omitempty"`
	// The version of the Transport Layer Security (TLS) protocol. Valid values:
	//
	// 	- **tlsv1**
	//
	// 	- **tlsv1.1**
	//
	// 	- **tlsv1.2**
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// 0
	XffHeaderMode *int32 `json:"XffHeaderMode,omitempty" xml:"XffHeaderMode,omitempty"`
	// The custom header fields that are used to obtain the actual IP addresses of clients. 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

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetCertId

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetCipherSuite

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetCustomCiphers

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetEnableTLSv3

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetExclusiveIp

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetFocusHttps

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetHttp2Enabled

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetHttpPorts

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetHttpsPorts

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetIPv6Enabled

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetProtectionResource

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetTLSVersion

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetXffHeaderMode

func (*DescribeHybridCloudResourcesResponseBodyDomainsListen) SetXffHeaders

func (DescribeHybridCloudResourcesResponseBodyDomainsListen) String

type DescribeHybridCloudResourcesResponseBodyDomainsRedirect

type DescribeHybridCloudResourcesResponseBodyDomainsRedirect struct {
	// The IP addresses or domain names of the origin server.
	Backends []*string `json:"Backends,omitempty" xml:"Backends,omitempty" type:"Repeated"`
	// Indicates whether the public cloud disaster recovery feature is enabled. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	CnameEnabled *bool `json:"CnameEnabled,omitempty" xml:"CnameEnabled,omitempty"`
	// The timeout period for connections. Unit: seconds. Valid values: 5 to 120.
	//
	// example:
	//
	// 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**
	//
	// example:
	//
	// true
	FocusHttpBackend *bool `json:"FocusHttpBackend,omitempty" xml:"FocusHttpBackend,omitempty"`
	// Indicates whether the persistent connection feature is enabled. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	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 the persistent connection feature is enabled.
	//
	// example:
	//
	// 1000
	KeepaliveRequests *int64 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period for 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 can remain in the Idle state before the persistent connection is released.
	//
	// example:
	//
	// 15
	KeepaliveTimeout *int64 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The load balancing algorithm that is used to forward requests to the origin server. Valid values:
	//
	// 	- **iphash**
	//
	// 	- **roundRobin**
	//
	// 	- **leastTime**
	//
	// example:
	//
	// iphash
	Loadbalance *string `json:"Loadbalance,omitempty" xml:"Loadbalance,omitempty"`
	// The timeout period for read connections. Unit: seconds. Valid values: 5 to 1800.
	//
	// example:
	//
	// 200
	ReadTimeout *int64 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The key-value pair that is used to label requests that pass through WAF.
	RequestHeaders []*DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// Indicates whether WAF retries forwarding requests if requests fail to be forwarded to the origin server. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Retry *bool `json:"Retry,omitempty" xml:"Retry,omitempty"`
	// The forwarding rules that are configured for the domain name. This parameter 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.
	//
	// example:
	//
	// [
	//
	//       {
	//
	//             "rs": [
	//
	//                   "1.1.XX.XX"
	//
	//             ],
	//
	//             "locationId": 535,
	//
	//             "location": "test1111"
	//
	//       }
	//
	// ]
	RoutingRules *string `json:"RoutingRules,omitempty" xml:"RoutingRules,omitempty"`
	// Indicates whether the origin Server Name Indication (SNI) feature is enabled. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	SniEnabled *bool `json:"SniEnabled,omitempty" xml:"SniEnabled,omitempty"`
	// The value of the custom 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**.
	//
	// example:
	//
	// www.aliyundoc.com
	SniHost *string `json:"SniHost,omitempty" xml:"SniHost,omitempty"`
	// The timeout period for write connections. Unit: seconds. Valid values: 5 to 1800.
	//
	// example:
	//
	// 200
	WriteTimeout *int64 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
}

func (DescribeHybridCloudResourcesResponseBodyDomainsRedirect) GoString

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetBackends

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetCnameEnabled

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetConnectTimeout

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetFocusHttpBackend

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetKeepalive

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetKeepaliveRequests

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetKeepaliveTimeout

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetLoadbalance

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetReadTimeout

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetRetry

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetRoutingRules

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetSniEnabled

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetSniHost

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirect) SetWriteTimeout

func (DescribeHybridCloudResourcesResponseBodyDomainsRedirect) String

type DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders

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

func (DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders) GoString

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders) SetKey

func (*DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders) SetValue

func (DescribeHybridCloudResourcesResponseBodyDomainsRedirectRequestHeaders) String

type DescribeHybridCloudServerRegionsRequest

type DescribeHybridCloudServerRegionsRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-5yd****7009
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The code of the region.
	//
	// >  This parameter is required if you set RegionType to region. The value is the code of the city.
	//
	// example:
	//
	// 410
	RegionCode *string `json:"RegionCode,omitempty" xml:"RegionCode,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The type of the region. Valid values:
	//
	// 	- **operator**: the ISP.
	//
	// 	- **continents**: the continent.
	//
	// 	- **region**: the city.
	//
	// This parameter is required.
	//
	// example:
	//
	// region
	RegionType *string `json:"RegionType,omitempty" xml:"RegionType,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeHybridCloudServerRegionsRequest) GoString

func (*DescribeHybridCloudServerRegionsRequest) SetInstanceId

func (*DescribeHybridCloudServerRegionsRequest) SetRegionCode

func (*DescribeHybridCloudServerRegionsRequest) SetRegionId

func (*DescribeHybridCloudServerRegionsRequest) SetRegionType

func (*DescribeHybridCloudServerRegionsRequest) SetResourceManagerResourceGroupId

func (DescribeHybridCloudServerRegionsRequest) String

type DescribeHybridCloudServerRegionsResponse

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

func (DescribeHybridCloudServerRegionsResponse) GoString

func (*DescribeHybridCloudServerRegionsResponse) SetHeaders

func (*DescribeHybridCloudServerRegionsResponse) SetStatusCode

func (DescribeHybridCloudServerRegionsResponse) String

type DescribeHybridCloudServerRegionsResponseBody

type DescribeHybridCloudServerRegionsResponseBody struct {
	// The information about the regions.
	Regions []*DescribeHybridCloudServerRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// 0FBBDE11-C35F-531B-96BA-64CA****C875
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeHybridCloudServerRegionsResponseBody) GoString

func (*DescribeHybridCloudServerRegionsResponseBody) SetRequestId

func (DescribeHybridCloudServerRegionsResponseBody) String

type DescribeHybridCloudServerRegionsResponseBodyRegions

type DescribeHybridCloudServerRegionsResponseBodyRegions struct {
	// The code of the region.
	//
	// example:
	//
	// 1
	Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The name of the region.
	//
	// example:
	//
	// aliyun
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (DescribeHybridCloudServerRegionsResponseBodyRegions) GoString

func (*DescribeHybridCloudServerRegionsResponseBodyRegions) SetCode

func (*DescribeHybridCloudServerRegionsResponseBodyRegions) SetName

func (DescribeHybridCloudServerRegionsResponseBodyRegions) String

type DescribeHybridCloudUnassignedMachinesRequest

type DescribeHybridCloudUnassignedMachinesRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// 123
	ClusterId *int32 `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The host name.
	//
	// example:
	//
	// online-xagent1
	HostName *string `json:"HostName,omitempty" xml:"HostName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-5yd****7009
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The IP address of the server.
	//
	// example:
	//
	// 1.X.X.1
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeHybridCloudUnassignedMachinesRequest) GoString

func (*DescribeHybridCloudUnassignedMachinesRequest) SetClusterId

func (*DescribeHybridCloudUnassignedMachinesRequest) SetHostName

func (*DescribeHybridCloudUnassignedMachinesRequest) SetInstanceId

func (*DescribeHybridCloudUnassignedMachinesRequest) SetIp

func (*DescribeHybridCloudUnassignedMachinesRequest) SetPageNumber

func (*DescribeHybridCloudUnassignedMachinesRequest) SetPageSize

func (*DescribeHybridCloudUnassignedMachinesRequest) SetRegionId

func (*DescribeHybridCloudUnassignedMachinesRequest) SetResourceManagerResourceGroupId

func (DescribeHybridCloudUnassignedMachinesRequest) String

type DescribeHybridCloudUnassignedMachinesResponse

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

func (DescribeHybridCloudUnassignedMachinesResponse) GoString

func (*DescribeHybridCloudUnassignedMachinesResponse) SetHeaders

func (*DescribeHybridCloudUnassignedMachinesResponse) SetStatusCode

func (DescribeHybridCloudUnassignedMachinesResponse) String

type DescribeHybridCloudUnassignedMachinesResponseBody

type DescribeHybridCloudUnassignedMachinesResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 3EBCFCE9-4A3C-5E01-915D-691B****510A
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 28
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
	// The servers that are not assigned to the hybrid cloud cluster.
	UnassignedMachines []*DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines `json:"UnassignedMachines,omitempty" xml:"UnassignedMachines,omitempty" type:"Repeated"`
}

func (DescribeHybridCloudUnassignedMachinesResponseBody) GoString

func (*DescribeHybridCloudUnassignedMachinesResponseBody) SetRequestId

func (*DescribeHybridCloudUnassignedMachinesResponseBody) SetTotalCount

func (DescribeHybridCloudUnassignedMachinesResponseBody) String

type DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines

type DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines struct {
	// The number of CPU cores.
	//
	// example:
	//
	// 16
	Cpu *int64 `json:"Cpu,omitempty" xml:"Cpu,omitempty"`
	// The name of the node.
	//
	// example:
	//
	// exampleName
	CustomName *string `json:"CustomName,omitempty" xml:"CustomName,omitempty"`
	// The host name.
	//
	// example:
	//
	// online-xagent1
	HostName *string `json:"HostName,omitempty" xml:"HostName,omitempty"`
	// The IP address of the server.
	//
	// example:
	//
	// 1.X.X.1
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The media access control (MAC) address of the device.
	//
	// example:
	//
	// 00163e2686ac
	Mac *string `json:"Mac,omitempty" xml:"Mac,omitempty"`
	// The memory size. Unit: KB. A conversion factor of 1,000 is used.
	//
	// example:
	//
	// 31580872
	Memory *int64 `json:"Memory,omitempty" xml:"Memory,omitempty"`
	// The ID of the node.
	//
	// example:
	//
	// 78db009ab6cf055a9085f9f4****ae3a
	Mid *string `json:"Mid,omitempty" xml:"Mid,omitempty"`
}

func (DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) GoString

func (*DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) SetCpu

func (*DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) SetCustomName

func (*DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) SetHostName

func (*DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) SetIp

func (*DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) SetMac

func (*DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) SetMemory

func (*DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) SetMid

func (DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines) String

type DescribeHybridCloudUserRequest

type DescribeHybridCloudUserRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-***********
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeHybridCloudUserRequest) GoString

func (*DescribeHybridCloudUserRequest) SetInstanceId

func (*DescribeHybridCloudUserRequest) SetRegionId

func (*DescribeHybridCloudUserRequest) SetResourceManagerResourceGroupId

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

func (DescribeHybridCloudUserRequest) String

type DescribeHybridCloudUserResponse

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

func (*DescribeHybridCloudUserResponse) SetHeaders

func (*DescribeHybridCloudUserResponse) SetStatusCode

func (DescribeHybridCloudUserResponse) String

type DescribeHybridCloudUserResponseBody

type DescribeHybridCloudUserResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 9178CB86-285F-5679-A30A-3B3F007E4206
	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

func (*DescribeHybridCloudUserResponseBody) SetRequestId

func (DescribeHybridCloudUserResponseBody) String

type DescribeHybridCloudUserResponseBodyUserInfo

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.
	//
	// example:
	//
	// 80,8080
	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.
	//
	// example:
	//
	// 8443,443
	HttpsPorts *string `json:"HttpsPorts,omitempty" xml:"HttpsPorts,omitempty"`
}

func (DescribeHybridCloudUserResponseBodyUserInfo) GoString

func (*DescribeHybridCloudUserResponseBodyUserInfo) SetHttpPorts

func (*DescribeHybridCloudUserResponseBodyUserInfo) SetHttpsPorts

func (DescribeHybridCloudUserResponseBodyUserInfo) String

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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeInstanceRequest) GoString

func (s DescribeInstanceRequest) GoString() string

func (*DescribeInstanceRequest) SetRegionId

func (*DescribeInstanceRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// default_version
	Edition *string `json:"Edition,omitempty" xml:"Edition,omitempty"`
	// The expiration time of the WAF instance.
	//
	// example:
	//
	// 4809859200000
	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.
	//
	// example:
	//
	// 1
	InDebt *string `json:"InDebt,omitempty" xml:"InDebt,omitempty"`
	// The ID of the WAF instance.
	//
	// example:
	//
	// waf-cn-xxx
	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.
	//
	// example:
	//
	// POSTPAY
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// 66A98669-CC6E-4F3E-80A6-3014697B11AE
	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.
	//
	// example:
	//
	// 1668496310000
	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.
	//
	// example:
	//
	// 1
	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](https://help.aliyun.com/document_detail/374354.html).
	//
	// example:
	//
	// 100
	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.
	//
	// example:
	//
	// true
	AntiScan *bool `json:"AntiScan,omitempty" xml:"AntiScan,omitempty"`
	// The maximum number of scan protection rule templates that can be configured.
	//
	// example:
	//
	// 20
	AntiScanTemplateMaxCount *int64 `json:"AntiScanTemplateMaxCount,omitempty" xml:"AntiScanTemplateMaxCount,omitempty"`
	// The maximum number of back-to-origin IP addresses that can be configured.
	//
	// example:
	//
	// 20
	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.
	//
	// example:
	//
	// true
	BaseWafGroup *bool `json:"BaseWafGroup,omitempty" xml:"BaseWafGroup,omitempty"`
	// The maximum number of protection rules that can be included in a basic protection rule template.
	//
	// example:
	//
	// 100
	BaseWafGroupRuleInTemplateMaxCount *int64 `json:"BaseWafGroupRuleInTemplateMaxCount,omitempty" xml:"BaseWafGroupRuleInTemplateMaxCount,omitempty"`
	// The maximum number of basic protection rule templates that can be configured.
	//
	// example:
	//
	// 20
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	BotApp *string `json:"BotApp,omitempty" xml:"BotApp,omitempty"`
	// The maximum number of bot management rule templates that can be configured.
	//
	// example:
	//
	// 50
	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.
	//
	// example:
	//
	// true
	BotWeb *string `json:"BotWeb,omitempty" xml:"BotWeb,omitempty"`
	// The maximum number of CNAMEs that can be added.
	//
	// example:
	//
	// 1000
	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.
	//
	// example:
	//
	// true
	CustomResponse *bool `json:"CustomResponse,omitempty" xml:"CustomResponse,omitempty"`
	// The maximum number of rules that can be included in a custom response rule template.
	//
	// example:
	//
	// 100
	CustomResponseRuleInTemplateMaxCount *int64 `json:"CustomResponseRuleInTemplateMaxCount,omitempty" xml:"CustomResponseRuleInTemplateMaxCount,omitempty"`
	// The maximum number of custom response rule templates that can be configured.
	//
	// example:
	//
	// 20
	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.
	//
	// example:
	//
	// true
	CustomRule *bool `json:"CustomRule,omitempty" xml:"CustomRule,omitempty"`
	// The action that can be included in a custom rule.
	//
	// example:
	//
	// block
	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.
	//
	// example:
	//
	// URL
	CustomRuleCondition *string `json:"CustomRuleCondition,omitempty" xml:"CustomRuleCondition,omitempty"`
	// The maximum number of rules that can be included in a custom rule template.
	//
	// example:
	//
	// 100
	CustomRuleInTemplateMaxCount *int64 `json:"CustomRuleInTemplateMaxCount,omitempty" xml:"CustomRuleInTemplateMaxCount,omitempty"`
	// The statistical object for rate limiting in a custom rule.
	//
	// example:
	//
	// header
	CustomRuleRatelimitor *string `json:"CustomRuleRatelimitor,omitempty" xml:"CustomRuleRatelimitor,omitempty"`
	// The maximum number of custom rule templates that can be configured.
	//
	// example:
	//
	// 20
	CustomRuleTemplateMaxCount *int64 `json:"CustomRuleTemplateMaxCount,omitempty" xml:"CustomRuleTemplateMaxCount,omitempty"`
	// The maximum number of protected object groups that can be configured.
	//
	// example:
	//
	// 100
	DefenseGroupMaxCount *int64 `json:"DefenseGroupMaxCount,omitempty" xml:"DefenseGroupMaxCount,omitempty"`
	// The maximum number of protected objects that can be included in a protected object group.
	//
	// example:
	//
	// 100
	DefenseObjectInGroupMaxCount *int64 `json:"DefenseObjectInGroupMaxCount,omitempty" xml:"DefenseObjectInGroupMaxCount,omitempty"`
	// The maximum number of protected objects to which a protection rule template can be applied.
	//
	// example:
	//
	// 100
	DefenseObjectInTemplateMaxCount *int64 `json:"DefenseObjectInTemplateMaxCount,omitempty" xml:"DefenseObjectInTemplateMaxCount,omitempty"`
	// The maximum number of protected objects that can be configured.
	//
	// example:
	//
	// 20,000
	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.
	//
	// example:
	//
	// true
	Dlp *bool `json:"Dlp,omitempty" xml:"Dlp,omitempty"`
	// The maximum number of rules that can be included in a data leakage prevention rule template.
	//
	// example:
	//
	// 50
	DlpRuleInTemplateMaxCount *int64 `json:"DlpRuleInTemplateMaxCount,omitempty" xml:"DlpRuleInTemplateMaxCount,omitempty"`
	// The maximum number of data leakage prevention rule templates that can be configured.
	//
	// example:
	//
	// 50
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	Gslb *bool `json:"Gslb,omitempty" xml:"Gslb,omitempty"`
	// The HTTP port range that is supported. For more information, see [View supported ports](https://help.aliyun.com/document_detail/385578.html).
	//
	// example:
	//
	// 80
	HttpPorts *string `json:"HttpPorts,omitempty" xml:"HttpPorts,omitempty"`
	// The HTTPS port range that is supported. For more information, see [View supported ports](https://help.aliyun.com/document_detail/385578.html).
	//
	// example:
	//
	// 443
	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.
	//
	// example:
	//
	// true
	IpBlacklist *bool `json:"IpBlacklist,omitempty" xml:"IpBlacklist,omitempty"`
	// The maximum number of IP addresses that can be added to an IP address blacklist rule.
	//
	// example:
	//
	// 200
	IpBlacklistIpInRuleMaxCount *int64 `json:"IpBlacklistIpInRuleMaxCount,omitempty" xml:"IpBlacklistIpInRuleMaxCount,omitempty"`
	// The maximum number of rules that can be included in an IP address blacklist rule template.
	//
	// example:
	//
	// 100
	IpBlacklistRuleInTemplateMaxCount *int64 `json:"IpBlacklistRuleInTemplateMaxCount,omitempty" xml:"IpBlacklistRuleInTemplateMaxCount,omitempty"`
	// The maximum number of IP address blacklist rule templates that can be configured.
	//
	// example:
	//
	// 20
	IpBlacklistTemplateMaxCount *int64 `json:"IpBlacklistTemplateMaxCount,omitempty" xml:"IpBlacklistTemplateMaxCount,omitempty"`
	// Indicates whether IPv6 is supported. Valid values:
	//
	// 	- **true:*	- IPv6 is supported.
	//
	// 	- **false:*	- IPv6 is not supported.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	MajorProtection *bool `json:"MajorProtection,omitempty" xml:"MajorProtection,omitempty"`
	// The maximum number of major event protection rule templates that can be configured.
	//
	// example:
	//
	// 20
	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.
	//
	// example:
	//
	// true
	Tamperproof *bool `json:"Tamperproof,omitempty" xml:"Tamperproof,omitempty"`
	// The maximum number of rules that can be included in a website tamper-proofing rule template.
	//
	// example:
	//
	// 50
	TamperproofRuleInTemplateMaxCount *int64 `json:"TamperproofRuleInTemplateMaxCount,omitempty" xml:"TamperproofRuleInTemplateMaxCount,omitempty"`
	// The maximum number of website tamper-proofing rule templates that can be configured.
	//
	// example:
	//
	// 50
	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.
	//
	// example:
	//
	// 2,000
	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.
	//
	// example:
	//
	// 500
	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.
	//
	// example:
	//
	// 50,000
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// contain
	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.
	//
	// example:
	//
	// URL
	WhitelistRuleCondition *string `json:"WhitelistRuleCondition,omitempty" xml:"WhitelistRuleCondition,omitempty"`
	// The maximum number of rules that can be included in a whitelist rule template.
	//
	// example:
	//
	// 100
	WhitelistRuleInTemplateMaxCount *int64 `json:"WhitelistRuleInTemplateMaxCount,omitempty" xml:"WhitelistRuleInTemplateMaxCount,omitempty"`
	// The maximum number of whitelist rule templates that can be configured.
	//
	// example:
	//
	// 20
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// 192.0.XX.XX
	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.
	//
	// example:
	//
	// gmtModified
	OrderBy *string `json:"OrderBy,omitempty" xml:"OrderBy,omitempty"`
	// The number of the page to return. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	//
	// example:
	//
	// 20013199
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the rule template for major event protection.
	//
	// example:
	//
	// 5673
	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

func (*DescribeMajorProtectionBlackIpsRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 41631674-EEB0-5B02-BEB4-40A758E9B841
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of IP addresses in the blacklist.
	//
	// example:
	//
	// 63
	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.
	//
	// example:
	//
	// test0003asdffas
	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.
	//
	// example:
	//
	// 1662603328
	ExpiredTime *int64 `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The most recent time when the IP address blacklist was modified.
	//
	// example:
	//
	// 1665456202000
	GmtModified *int64 `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"`
	// The IP address in the IP address blacklist.
	//
	// example:
	//
	// 192.0.XX.XX
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	//
	// example:
	//
	// 8508970
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the rule template for major event protection.
	//
	// example:
	//
	// 9684
	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 DescribeMemberAccountsRequest

type DescribeMemberAccountsRequest struct {
	// The status of the member that you want to query.
	//
	// 	- **enabled**: managed.
	//
	// 	- **disabled**: not managed.
	//
	// 	- **disabling**: being deleted.
	//
	// example:
	//
	// enabled
	AccountStatus *string `json:"AccountStatus,omitempty" xml:"AccountStatus,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address of the request. The system specifies this parameter.
	//
	// example:
	//
	// 0.0.XX.XX
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (DescribeMemberAccountsRequest) GoString

func (*DescribeMemberAccountsRequest) SetAccountStatus

func (*DescribeMemberAccountsRequest) SetInstanceId

func (*DescribeMemberAccountsRequest) SetRegionId

func (*DescribeMemberAccountsRequest) SetResourceManagerResourceGroupId

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

func (*DescribeMemberAccountsRequest) SetSourceIp

func (DescribeMemberAccountsRequest) String

type DescribeMemberAccountsResponse

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

func (DescribeMemberAccountsResponse) GoString

func (*DescribeMemberAccountsResponse) SetHeaders

func (*DescribeMemberAccountsResponse) SetStatusCode

func (DescribeMemberAccountsResponse) String

type DescribeMemberAccountsResponseBody

type DescribeMemberAccountsResponseBody struct {
	// The information about the member.
	AccountInfos []*DescribeMemberAccountsResponseBodyAccountInfos `json:"AccountInfos,omitempty" xml:"AccountInfos,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// 50C4A80D-D46C-57E0-9A7D-03C0****4852
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeMemberAccountsResponseBody) GoString

func (*DescribeMemberAccountsResponseBody) SetRequestId

func (DescribeMemberAccountsResponseBody) String

type DescribeMemberAccountsResponseBodyAccountInfos

type DescribeMemberAccountsResponseBodyAccountInfos struct {
	// The ID of the member.
	//
	// example:
	//
	// 169************21
	AccountId *string `json:"AccountId,omitempty" xml:"AccountId,omitempty"`
	// The name of the member.
	//
	// example:
	//
	// ipflgmqqnbjg
	AccountName *string `json:"AccountName,omitempty" xml:"AccountName,omitempty"`
	// The status of the member.
	//
	// 	- **enabled**: managed.
	//
	// 	- **disabled**: not managed.
	//
	// 	- **disabling**: being deleted.
	//
	// example:
	//
	// enabled
	AccountStatus *string `json:"AccountStatus,omitempty" xml:"AccountStatus,omitempty"`
	// The description of the member.
	//
	// example:
	//
	// test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the member was added.
	//
	// example:
	//
	// 1683367751000
	GmtCreate *int64 `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
}

func (DescribeMemberAccountsResponseBodyAccountInfos) GoString

func (*DescribeMemberAccountsResponseBodyAccountInfos) SetAccountId

func (*DescribeMemberAccountsResponseBodyAccountInfos) SetAccountName

func (*DescribeMemberAccountsResponseBodyAccountInfos) SetAccountStatus

func (*DescribeMemberAccountsResponseBodyAccountInfos) SetDescription

func (*DescribeMemberAccountsResponseBodyAccountInfos) SetGmtCreate

func (DescribeMemberAccountsResponseBodyAccountInfos) String

type DescribePauseProtectionStatusRequest

type DescribePauseProtectionStatusRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-tl32ast****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribePauseProtectionStatusRequest) GoString

func (*DescribePauseProtectionStatusRequest) SetInstanceId

func (*DescribePauseProtectionStatusRequest) SetRegionId

func (*DescribePauseProtectionStatusRequest) SetResourceManagerResourceGroupId

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

func (DescribePauseProtectionStatusRequest) String

type DescribePauseProtectionStatusResponse

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

func (DescribePauseProtectionStatusResponse) GoString

func (*DescribePauseProtectionStatusResponse) SetHeaders

func (*DescribePauseProtectionStatusResponse) SetStatusCode

func (DescribePauseProtectionStatusResponse) String

type DescribePauseProtectionStatusResponseBody

type DescribePauseProtectionStatusResponseBody struct {
	// Indicates whether WAF protection is paused.
	//
	// 	- **0**: indicates that WAF protection is not paused. This is the default value.
	//
	// 	- **1**: indicates that WAF protection is paused.
	//
	// example:
	//
	// 0
	PauseStatus *int32 `json:"PauseStatus,omitempty" xml:"PauseStatus,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-****-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribePauseProtectionStatusResponseBody) GoString

func (*DescribePauseProtectionStatusResponseBody) SetPauseStatus

func (*DescribePauseProtectionStatusResponseBody) SetRequestId

func (DescribePauseProtectionStatusResponseBody) 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.
	//
	// example:
	//
	// 1665386340
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The time interval. Unit: seconds. The value must be an integral multiple of 60.
	//
	// This parameter is required.
	//
	// example:
	//
	// 300
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	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

func (*DescribePeakTrendRequest) SetResource

func (*DescribePeakTrendRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 9D11AC3A-A10C-56E7-A342-E87EC892BAE2
	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.
	//
	// example:
	//
	// 0
	AclSum *int64 `json:"AclSum,omitempty" xml:"AclSum,omitempty"`
	// The number of requests that are monitored or blocked by the scan protection module.
	//
	// example:
	//
	// 0
	AntiScanSum *int64 `json:"AntiScanSum,omitempty" xml:"AntiScanSum,omitempty"`
	// The number of requests that are monitored or blocked by the HTTP flood protection module.
	//
	// example:
	//
	// 0
	CcSum *int64 `json:"CcSum,omitempty" xml:"CcSum,omitempty"`
	// The total number of requests.
	//
	// example:
	//
	// 2622
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The serial number of the time interval. The serial numbers are arranged in chronological order.
	//
	// example:
	//
	// 10
	Index *int64 `json:"Index,omitempty" xml:"Index,omitempty"`
	// The number of requests that are monitored or blocked by the regular expression protection engine.
	//
	// example:
	//
	// 0
	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 DescribeProductInstancesRequest

type DescribeProductInstancesRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-zxu****9d02
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the Alibaba Cloud account to which the resource belongs.
	//
	// example:
	//
	// 1704********9107
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the instance.
	//
	// example:
	//
	// lb-2zeugkfj81jvo****4tqm
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The IP address of the instance that is added to WAF.
	//
	// example:
	//
	// 1.X.X.1
	ResourceInstanceIp *string `json:"ResourceInstanceIp,omitempty" xml:"ResourceInstanceIp,omitempty"`
	// The name of the instance that is added to WAF.
	//
	// example:
	//
	// demoInstanceName
	ResourceInstanceName *string `json:"ResourceInstanceName,omitempty" xml:"ResourceInstanceName,omitempty"`
	// Deprecated
	//
	// The public IP address of the instance.
	//
	// example:
	//
	// 1.X.X.1
	ResourceIp *string `json:"ResourceIp,omitempty" xml:"ResourceIp,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekz6ql****5uzi
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// Deprecated
	//
	// The name of the instance.
	//
	// example:
	//
	// exampleResourceName
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The cloud service to which the instance belongs. Valid values:
	//
	// 	- **clb4**: Layer 4 Classic Load Balancer (CLB).
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// 	- **ecs**: Elastic Compute Service (ECS).
	//
	// example:
	//
	// clb7
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
	// The region ID of the instance. Valid values:
	//
	// 	- **cn-chengdu**: China (Chengdu).
	//
	// 	- **cn-beijing**: China (Beijing).
	//
	// 	- **cn-zhangjiakou**: China (Zhangjiakou).
	//
	// 	- **cn-hangzhou**: China (Hangzhou).
	//
	// 	- **cn-shanghai**: China (Shanghai).
	//
	// 	- **cn-shenzhen**: China (Shenzhen).
	//
	// 	- **cn-qingdao**: China (Qingdao).
	//
	// 	- **cn-hongkong**: China (Hong Kong).
	//
	// 	- **ap-southeast-3**: Malaysia (Kuala Lumpur).
	//
	// 	- **ap-southeast-5**: Indonesia (Jakarta).
	//
	// example:
	//
	// cn-hangzhou
	ResourceRegionId *string `json:"ResourceRegionId,omitempty" xml:"ResourceRegionId,omitempty"`
}

func (DescribeProductInstancesRequest) GoString

func (*DescribeProductInstancesRequest) SetInstanceId

func (*DescribeProductInstancesRequest) SetOwnerUserId

func (*DescribeProductInstancesRequest) SetPageNumber

func (*DescribeProductInstancesRequest) SetPageSize

func (*DescribeProductInstancesRequest) SetRegionId

func (*DescribeProductInstancesRequest) SetResourceInstanceId

func (*DescribeProductInstancesRequest) SetResourceInstanceIp

func (*DescribeProductInstancesRequest) SetResourceInstanceName

func (*DescribeProductInstancesRequest) SetResourceIp

func (*DescribeProductInstancesRequest) SetResourceManagerResourceGroupId

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

func (*DescribeProductInstancesRequest) SetResourceName

func (*DescribeProductInstancesRequest) SetResourceProduct

func (*DescribeProductInstancesRequest) SetResourceRegionId

func (DescribeProductInstancesRequest) String

type DescribeProductInstancesResponse

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

func (DescribeProductInstancesResponse) GoString

func (*DescribeProductInstancesResponse) SetHeaders

func (*DescribeProductInstancesResponse) SetStatusCode

func (DescribeProductInstancesResponse) String

type DescribeProductInstancesResponseBody

type DescribeProductInstancesResponseBody struct {
	// The information about the instances.
	ProductInstances []*DescribeProductInstancesResponseBodyProductInstances `json:"ProductInstances,omitempty" xml:"ProductInstances,omitempty" type:"Repeated"`
	// The ID of the request.
	//
	// example:
	//
	// FDCBAE1E-2B3F-5C13-AD20-844B9473****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 100
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeProductInstancesResponseBody) GoString

func (*DescribeProductInstancesResponseBody) SetRequestId

func (*DescribeProductInstancesResponseBody) SetTotalCount

func (DescribeProductInstancesResponseBody) String

type DescribeProductInstancesResponseBodyProductInstances

type DescribeProductInstancesResponseBodyProductInstances struct {
	// The ID of the Alibaba Cloud account to which the resource belongs.
	//
	// example:
	//
	// 1704********9107
	OwnerUserId *string `json:"OwnerUserId,omitempty" xml:"OwnerUserId,omitempty"`
	// The ID of the instance.
	//
	// example:
	//
	// i-2ze1tm4pvghp****cluv
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The IP address of the instance that is added to WAF.
	//
	// example:
	//
	// 1.X.X.1
	ResourceInstanceIp *string `json:"ResourceInstanceIp,omitempty" xml:"ResourceInstanceIp,omitempty"`
	// The name of the instance that is added to WAF.
	//
	// example:
	//
	// demoInstanceName
	ResourceInstanceName *string `json:"ResourceInstanceName,omitempty" xml:"ResourceInstanceName,omitempty"`
	// Deprecated
	//
	// The public IP address of the instance.
	//
	// example:
	//
	// 1.X.X.1
	ResourceIp *string `json:"ResourceIp,omitempty" xml:"ResourceIp,omitempty"`
	// Deprecated
	//
	// The name of the instance.
	//
	// example:
	//
	// ecs-test
	ResourceName *string `json:"ResourceName,omitempty" xml:"ResourceName,omitempty"`
	// The information about the ports.
	ResourcePorts []*DescribeProductInstancesResponseBodyProductInstancesResourcePorts `json:"ResourcePorts,omitempty" xml:"ResourcePorts,omitempty" type:"Repeated"`
	// The cloud service to which the instance belongs. Valid values:
	//
	// 	- **clb4**: Layer 4 CLB.
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// 	- **ecs**: ECS.
	//
	// example:
	//
	// clb4
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
	// The region ID of the instance. Valid values:
	//
	// 	- **cn-chengdu**: China (Chengdu).
	//
	// 	- **cn-beijing**: China (Beijing).
	//
	// 	- **cn-zhangjiakou**: China (Zhangjiakou).
	//
	// 	- **cn-hangzhou**: China (Hangzhou).
	//
	// 	- **cn-shanghai**: China (Shanghai).
	//
	// 	- **cn-shenzhen**: China (Shenzhen).
	//
	// 	- **cn-qingdao**: China (Qingdao).
	//
	// 	- **cn-hongkong**: China (Hong Kong).
	//
	// 	- **ap-southeast-3**: Malaysia (Kuala Lumpur).
	//
	// 	- **ap-southeast-5**: Indonesia (Jakarta).
	//
	// example:
	//
	// cn-beijing
	ResourceRegionId *string `json:"ResourceRegionId,omitempty" xml:"ResourceRegionId,omitempty"`
}

func (DescribeProductInstancesResponseBodyProductInstances) GoString

func (*DescribeProductInstancesResponseBodyProductInstances) SetOwnerUserId

func (*DescribeProductInstancesResponseBodyProductInstances) SetResourceInstanceId

func (*DescribeProductInstancesResponseBodyProductInstances) SetResourceInstanceIp

func (*DescribeProductInstancesResponseBodyProductInstances) SetResourceInstanceName

func (*DescribeProductInstancesResponseBodyProductInstances) SetResourceIp

func (*DescribeProductInstancesResponseBodyProductInstances) SetResourceName

func (*DescribeProductInstancesResponseBodyProductInstances) SetResourceProduct

func (*DescribeProductInstancesResponseBodyProductInstances) SetResourceRegionId

func (DescribeProductInstancesResponseBodyProductInstances) String

type DescribeProductInstancesResponseBodyProductInstancesResourcePorts

type DescribeProductInstancesResponseBodyProductInstancesResourcePorts struct {
	// The information about the certificates.
	Certificates []*DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The port number.
	//
	// example:
	//
	// 443
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The protocol type. Valid values:
	//
	// 	- **http**
	//
	// 	- **https**
	//
	// example:
	//
	// https
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
}

func (DescribeProductInstancesResponseBodyProductInstancesResourcePorts) GoString

func (*DescribeProductInstancesResponseBodyProductInstancesResourcePorts) SetPort

func (*DescribeProductInstancesResponseBodyProductInstancesResourcePorts) SetProtocol

func (DescribeProductInstancesResponseBodyProductInstancesResourcePorts) String

type DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates

type DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates struct {
	// The ID of the certificate.
	//
	// example:
	//
	// 10106183
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
	// The name of the certificate.
	//
	// example:
	//
	// trafficxxxx.cn
	CertificateName *string `json:"CertificateName,omitempty" xml:"CertificateName,omitempty"`
}

func (DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates) GoString

func (*DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates) SetCertificateId

func (*DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates) SetCertificateName

func (DescribeProductInstancesResponseBodyProductInstancesResourcePortsCertificates) String

type DescribePunishedDomainsRequest

type DescribePunishedDomainsRequest struct {
	// The domain names.
	Domains []*string `json:"Domains,omitempty" xml:"Domains,omitempty" type:"Repeated"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-uqm****qa07
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	PunishType *string `json:"PunishType,omitempty" xml:"PunishType,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekz7nc****aata
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribePunishedDomainsRequest) GoString

func (*DescribePunishedDomainsRequest) SetDomains

func (*DescribePunishedDomainsRequest) SetInstanceId

func (*DescribePunishedDomainsRequest) SetPunishType added in v5.0.4

func (*DescribePunishedDomainsRequest) SetRegionId

func (*DescribePunishedDomainsRequest) SetResourceManagerResourceGroupId

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

func (DescribePunishedDomainsRequest) String

type DescribePunishedDomainsResponse

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

func (DescribePunishedDomainsResponse) GoString

func (*DescribePunishedDomainsResponse) SetHeaders

func (*DescribePunishedDomainsResponse) SetStatusCode

func (DescribePunishedDomainsResponse) String

type DescribePunishedDomainsResponseBody

type DescribePunishedDomainsResponseBody struct {
	// The domain names that are penalized for failing to obtain an ICP filing.
	PunishedDomains []*string `json:"PunishedDomains,omitempty" xml:"PunishedDomains,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// B1F4D802-55A1-5D53-A247-7E79****85E7
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribePunishedDomainsResponseBody) GoString

func (*DescribePunishedDomainsResponseBody) SetPunishedDomains

func (*DescribePunishedDomainsResponseBody) SetRequestId

func (DescribePunishedDomainsResponseBody) String

type DescribeResourceInstanceCertsRequest

type DescribeResourceInstanceCertsRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-*
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the instance.
	//
	// example:
	//
	// lb-bp1*****jqnnqk5uj2p
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeResourceInstanceCertsRequest) GoString

func (*DescribeResourceInstanceCertsRequest) SetInstanceId

func (*DescribeResourceInstanceCertsRequest) SetPageNumber

func (*DescribeResourceInstanceCertsRequest) SetPageSize

func (*DescribeResourceInstanceCertsRequest) SetRegionId

func (*DescribeResourceInstanceCertsRequest) SetResourceInstanceId

func (*DescribeResourceInstanceCertsRequest) SetResourceManagerResourceGroupId

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

func (DescribeResourceInstanceCertsRequest) String

type DescribeResourceInstanceCertsResponse

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

func (DescribeResourceInstanceCertsResponse) GoString

func (*DescribeResourceInstanceCertsResponse) SetHeaders

func (*DescribeResourceInstanceCertsResponse) SetStatusCode

func (DescribeResourceInstanceCertsResponse) String

type DescribeResourceInstanceCertsResponseBody

type DescribeResourceInstanceCertsResponseBody struct {
	// The certificates.
	Certs []*DescribeResourceInstanceCertsResponseBodyCerts `json:"Certs,omitempty" xml:"Certs,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-***-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 1
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeResourceInstanceCertsResponseBody) GoString

func (*DescribeResourceInstanceCertsResponseBody) SetRequestId

func (*DescribeResourceInstanceCertsResponseBody) SetTotalCount

func (DescribeResourceInstanceCertsResponseBody) String

type DescribeResourceInstanceCertsResponseBodyCerts

type DescribeResourceInstanceCertsResponseBodyCerts struct {
	// The time when the certificate expires.
	//
	// example:
	//
	// 1708415521211
	AfterDate *int64 `json:"AfterDate,omitempty" xml:"AfterDate,omitempty"`
	// The time when the certificate was issued.
	//
	// example:
	//
	// 1708415521211
	BeforeDate *int64 `json:"BeforeDate,omitempty" xml:"BeforeDate,omitempty"`
	// The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of CertIdentifier is 123-cn-hangzhou.
	//
	// example:
	//
	// 123-cn-hangzhou
	CertIdentifier *string `json:"CertIdentifier,omitempty" xml:"CertIdentifier,omitempty"`
	// The name of the certificate.
	//
	// example:
	//
	// demoCertName
	CertName *string `json:"CertName,omitempty" xml:"CertName,omitempty"`
	// The common name.
	//
	// example:
	//
	// *.aliyundemo.com
	CommonName *string `json:"CommonName,omitempty" xml:"CommonName,omitempty"`
	// The domain name for which the certificate is issued.
	//
	// example:
	//
	// waf.aliyundemo.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// Indicates whether the certificate chain is complete.
	//
	// example:
	//
	// true
	IsChainCompleted *bool `json:"IsChainCompleted,omitempty" xml:"IsChainCompleted,omitempty"`
}

func (DescribeResourceInstanceCertsResponseBodyCerts) GoString

func (*DescribeResourceInstanceCertsResponseBodyCerts) SetAfterDate

func (*DescribeResourceInstanceCertsResponseBodyCerts) SetBeforeDate

func (*DescribeResourceInstanceCertsResponseBodyCerts) SetCertIdentifier

func (*DescribeResourceInstanceCertsResponseBodyCerts) SetCertName

func (*DescribeResourceInstanceCertsResponseBodyCerts) SetCommonName

func (*DescribeResourceInstanceCertsResponseBodyCerts) SetDomain

func (*DescribeResourceInstanceCertsResponseBodyCerts) SetIsChainCompleted

func (DescribeResourceInstanceCertsResponseBodyCerts) String

type DescribeResourceLogStatusRequest

type DescribeResourceLogStatusRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-zz11zcl****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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 (,).
	//
	// This parameter is required.
	//
	// example:
	//
	// alb-wewbb23dfsetetcic1242-0****,alb-wewbb23dfsetetcic1242-1****
	Resources *string `json:"Resources,omitempty" xml:"Resources,omitempty"`
}

func (DescribeResourceLogStatusRequest) GoString

func (*DescribeResourceLogStatusRequest) SetInstanceId

func (*DescribeResourceLogStatusRequest) SetRegionId

func (*DescribeResourceLogStatusRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 0DABF8AB-2321-5F8D-A8D7-922D757FBFFE
	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.
	//
	// example:
	//
	// alb-wewbb23dfsetetcic****
	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.
	//
	// example:
	//
	// true
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the cloud service instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// 8vb40vj87znu3ai7l5lv4-80****
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeResourcePortRequest) GoString

func (s DescribeResourcePortRequest) GoString() string

func (*DescribeResourcePortRequest) SetInstanceId

func (*DescribeResourcePortRequest) SetRegionId

func (*DescribeResourcePortRequest) SetResourceInstanceId

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

func (*DescribeResourcePortRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 66A98669-CC6E-4F3E-80A6-3014697B11AE
	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 DescribeResourceRegionIdRequest

type DescribeResourceRegionIdRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aek2lrm****6pnq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeResourceRegionIdRequest) GoString

func (*DescribeResourceRegionIdRequest) SetInstanceId

func (*DescribeResourceRegionIdRequest) SetRegionId

func (*DescribeResourceRegionIdRequest) SetResourceManagerResourceGroupId

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

func (DescribeResourceRegionIdRequest) String

type DescribeResourceRegionIdResponse

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

func (DescribeResourceRegionIdResponse) GoString

func (*DescribeResourceRegionIdResponse) SetHeaders

func (*DescribeResourceRegionIdResponse) SetStatusCode

func (DescribeResourceRegionIdResponse) String

type DescribeResourceRegionIdResponseBody

type DescribeResourceRegionIdResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// F5905D3F-F674-5177-9E48-466DD3B8****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The region IDs.
	ResourceRegionIds []*string `json:"ResourceRegionIds,omitempty" xml:"ResourceRegionIds,omitempty" type:"Repeated"`
}

func (DescribeResourceRegionIdResponseBody) GoString

func (*DescribeResourceRegionIdResponseBody) SetRequestId

func (*DescribeResourceRegionIdResponseBody) SetResourceRegionIds

func (DescribeResourceRegionIdResponseBody) String

type DescribeResourceSupportRegionsRequest

type DescribeResourceSupportRegionsRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzpks****kdjq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The cloud service. Valid values:
	//
	// 	- **clb4**: Layer 4 CLB.
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// 	- **ecs**: ECS.
	//
	// example:
	//
	// clb7
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
}

func (DescribeResourceSupportRegionsRequest) GoString

func (*DescribeResourceSupportRegionsRequest) SetInstanceId

func (*DescribeResourceSupportRegionsRequest) SetRegionId

func (*DescribeResourceSupportRegionsRequest) SetResourceManagerResourceGroupId

func (*DescribeResourceSupportRegionsRequest) SetResourceProduct

func (DescribeResourceSupportRegionsRequest) String

type DescribeResourceSupportRegionsResponse

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

func (DescribeResourceSupportRegionsResponse) GoString

func (*DescribeResourceSupportRegionsResponse) SetHeaders

func (*DescribeResourceSupportRegionsResponse) SetStatusCode

func (DescribeResourceSupportRegionsResponse) String

type DescribeResourceSupportRegionsResponseBody

type DescribeResourceSupportRegionsResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 58FD****-3D56-5DE8-91E0-96A26BABFFDD
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// An array of region IDs of the CLB and ECS instances that are added to WAF in cloud native mode.
	SupportRegions []*string `json:"SupportRegions,omitempty" xml:"SupportRegions,omitempty" type:"Repeated"`
}

func (DescribeResourceSupportRegionsResponseBody) GoString

func (*DescribeResourceSupportRegionsResponseBody) SetRequestId

func (*DescribeResourceSupportRegionsResponseBody) SetSupportRegions

func (DescribeResourceSupportRegionsResponseBody) 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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The time interval. Unit: seconds. The value must be an integral multiple of 60.
	//
	// This parameter is required.
	//
	// example:
	//
	// 300
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeResponseCodeTrendGraphRequest) GoString

func (*DescribeResponseCodeTrendGraphRequest) SetEndTimestamp

func (*DescribeResponseCodeTrendGraphRequest) SetInstanceId

func (*DescribeResponseCodeTrendGraphRequest) SetInterval

func (*DescribeResponseCodeTrendGraphRequest) SetRegionId

func (*DescribeResponseCodeTrendGraphRequest) SetResource

func (*DescribeResponseCodeTrendGraphRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 7D46493E-84DD-58CE-80A7-8643****9ECC
	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.
	//
	// example:
	//
	// 0
	Code302Pv *int64 `json:"302Pv,omitempty" xml:"302Pv,omitempty"`
	// The number of 405 error codes that are returned.
	//
	// example:
	//
	// 121645464
	Code405Pv *int64 `json:"405Pv,omitempty" xml:"405Pv,omitempty"`
	// The number of 444 error codes that are returned.
	//
	// example:
	//
	// 0
	Code444Pv *int64 `json:"444Pv,omitempty" xml:"444Pv,omitempty"`
	// The number of 499 error codes that are returned.
	//
	// example:
	//
	// 0
	Code499Pv *int64 `json:"499Pv,omitempty" xml:"499Pv,omitempty"`
	// The number of 5xx error codes that are returned.
	//
	// example:
	//
	// 2932
	Code5xxPv *int64 `json:"5xxPv,omitempty" xml:"5xxPv,omitempty"`
	// The serial number of the time interval. The serial numbers are arranged in chronological order.
	//
	// example:
	//
	// 10
	Index *int64 `json:"Index,omitempty" xml:"Index,omitempty"`
}

func (DescribeResponseCodeTrendGraphResponseBodyResponseCodes) GoString

func (*DescribeResponseCodeTrendGraphResponseBodyResponseCodes) SetCode302Pv

func (*DescribeResponseCodeTrendGraphResponseBodyResponseCodes) SetCode405Pv

func (*DescribeResponseCodeTrendGraphResponseBodyResponseCodes) SetCode444Pv

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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of the page to return. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page. Default value: **10**.
	//
	// example:
	//
	// 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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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.
	//
	// example:
	//
	// name
	SearchType *string `json:"SearchType,omitempty" xml:"SearchType,omitempty"`
	// The query condition.
	//
	// example:
	//
	// test
	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

func (*DescribeRuleGroupsRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 02E9A4B8-90FB-5F41-A049-C82277EB82FB
	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.
	//
	// example:
	//
	// 24
	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.
	//
	// example:
	//
	// 1664336364000
	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.
	//
	// example:
	//
	// 1
	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.
	//
	// example:
	//
	// 1012
	ParentRuleGroupId *int64 `json:"ParentRuleGroupId,omitempty" xml:"ParentRuleGroupId,omitempty"`
	// The ID of the regular expression rule group.
	//
	// example:
	//
	// 115361
	RuleGroupId *int64 `json:"RuleGroupId,omitempty" xml:"RuleGroupId,omitempty"`
	// The name of the rule group.
	//
	// example:
	//
	// ssssss
	RuleGroupName *string `json:"RuleGroupName,omitempty" xml:"RuleGroupName,omitempty"`
	// The number of built-in rules in the rule group.
	//
	// example:
	//
	// 4444
	RuleTotalCount *int32 `json:"RuleTotalCount,omitempty" xml:"RuleTotalCount,omitempty"`
}

func (DescribeRuleGroupsResponseBodyRuleGroups) GoString

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetGmtModified

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetIsSubscribe

func (*DescribeRuleGroupsResponseBodyRuleGroups) SetParentRuleGroupId

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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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.
	//
	// example:
	//
	// blacklist
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopClientIpRequest) GoString

func (*DescribeRuleHitsTopClientIpRequest) SetEndTimestamp

func (*DescribeRuleHitsTopClientIpRequest) SetInstanceId

func (*DescribeRuleHitsTopClientIpRequest) SetRegionId

func (*DescribeRuleHitsTopClientIpRequest) SetResource

func (*DescribeRuleHitsTopClientIpRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 9F0F9AD6-62E2-50BB-A3E5-30FFB9410262
	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.
	//
	// example:
	//
	// 3.3.XX.XX
	ClientIp *string `json:"ClientIp,omitempty" xml:"ClientIp,omitempty"`
	// The number of attacks that are initiated from the IP address.
	//
	// example:
	//
	// 531
	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.
	//
	// example:
	//
	// 1665386340
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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.
	//
	// example:
	//
	// blacklist
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopResourceRequest) GoString

func (*DescribeRuleHitsTopResourceRequest) SetEndTimestamp

func (*DescribeRuleHitsTopResourceRequest) SetInstanceId

func (*DescribeRuleHitsTopResourceRequest) SetRegionId

func (*DescribeRuleHitsTopResourceRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// ADA11BC7-AA95-5C31-9095-5802C02ED1DC
	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.
	//
	// example:
	//
	// 14219
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Specifies whether protected objects that trigger protection rules are returned in the response. Valid values
	//
	// - **true**: returns only the number of times each protection rule is triggered. If you set IsGroupResource to true, Resource is left empty.
	//
	// - **false**: returns the number of times each protection rule is triggered by each protected object.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	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.
	//
	// example:
	//
	// blacklist
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopRuleIdRequest) GoString

func (*DescribeRuleHitsTopRuleIdRequest) SetEndTimestamp

func (*DescribeRuleHitsTopRuleIdRequest) SetInstanceId

func (*DescribeRuleHitsTopRuleIdRequest) SetIsGroupResource

func (*DescribeRuleHitsTopRuleIdRequest) SetRegionId

func (*DescribeRuleHitsTopRuleIdRequest) SetResource

func (*DescribeRuleHitsTopRuleIdRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// F6334274-8870-5D2F-A1AD-D6EF885AC1ED
	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.
	//
	// example:
	//
	// 181174784
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the rule.
	//
	// example:
	//
	// 5465465
	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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzwwkpn****5i
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The start point of the time period for which to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopTuleTypeRequest) GoString

func (*DescribeRuleHitsTopTuleTypeRequest) SetEndTimestamp

func (*DescribeRuleHitsTopTuleTypeRequest) SetInstanceId

func (*DescribeRuleHitsTopTuleTypeRequest) SetRegionId

func (*DescribeRuleHitsTopTuleTypeRequest) SetResource

func (*DescribeRuleHitsTopTuleTypeRequest) SetResourceManagerResourceGroupId

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

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.
	//
	// example:
	//
	// 45E377CE-0B04-578E-B653-EEA63CFE****
	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.
	//
	// example:
	//
	// 698455
	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.
	//
	// example:
	//
	// cc_system
	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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	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

func (*DescribeRuleHitsTopUaRequest) SetResource

func (*DescribeRuleHitsTopUaRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 8E5C7ED7-503A-5986-A005-36F2511EB89F
	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.
	//
	// example:
	//
	// 531
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The user agent.
	//
	// example:
	//
	// android
	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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// This parameter is required.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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.
	//
	// example:
	//
	// blacklist
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	StartTimestamp *string `json:"StartTimestamp,omitempty" xml:"StartTimestamp,omitempty"`
}

func (DescribeRuleHitsTopUrlRequest) GoString

func (*DescribeRuleHitsTopUrlRequest) SetEndTimestamp

func (*DescribeRuleHitsTopUrlRequest) SetInstanceId

func (*DescribeRuleHitsTopUrlRequest) SetRegionId

func (*DescribeRuleHitsTopUrlRequest) SetResource

func (*DescribeRuleHitsTopUrlRequest) SetResourceManagerResourceGroupId

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 request ID.
	//
	// example:
	//
	// 3D8AF43B-08EB-51CE-B33A-93AA****9B0C
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The top 10 URLs that match 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 that match protection rules.
	//
	// example:
	//
	// 21862
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The request URL.
	//
	// >  The value is Base64-encoded.
	//
	// example:
	//
	// d3d3LmFsaXl1bmRvYy5jb20vcGF0aDM=
	Url *string `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl) GoString

func (*DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl) SetCount

func (*DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl) SetUrl

func (DescribeRuleHitsTopUrlResponseBodyRuleHitsTopUrl) String

type DescribeSensitiveApiStatisticRequest

type DescribeSensitiveApiStatisticRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 269
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// >  You can query only data of the previous month, previous 3 months, previous 6 months, previous 12 months, and data generated since January 1 of last year for compliance check. You must specify a valid time range.
	//
	// example:
	//
	// 1725966000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The domain name or IP address of the API.
	//
	// example:
	//
	// a.***.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// >  You can query only data of the previous month, previous 3 months, previous 6 months, previous 12 months, and data generated since January 1 of last year for compliance check. You must specify a valid time range.
	//
	// example:
	//
	// 1672502400
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSensitiveApiStatisticRequest) GoString

func (*DescribeSensitiveApiStatisticRequest) SetClusterId

func (*DescribeSensitiveApiStatisticRequest) SetEndTime

func (*DescribeSensitiveApiStatisticRequest) SetInstanceId

func (*DescribeSensitiveApiStatisticRequest) SetMatchedHost

func (*DescribeSensitiveApiStatisticRequest) SetPageNumber

func (*DescribeSensitiveApiStatisticRequest) SetPageSize

func (*DescribeSensitiveApiStatisticRequest) SetRegionId

func (*DescribeSensitiveApiStatisticRequest) SetResourceManagerResourceGroupId

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

func (*DescribeSensitiveApiStatisticRequest) SetStartTime

func (DescribeSensitiveApiStatisticRequest) String

type DescribeSensitiveApiStatisticResponse

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

func (DescribeSensitiveApiStatisticResponse) GoString

func (*DescribeSensitiveApiStatisticResponse) SetHeaders

func (*DescribeSensitiveApiStatisticResponse) SetStatusCode

func (DescribeSensitiveApiStatisticResponse) String

type DescribeSensitiveApiStatisticResponseBody

type DescribeSensitiveApiStatisticResponseBody struct {
	// The statistics.
	Data []*DescribeSensitiveApiStatisticResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 10
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeSensitiveApiStatisticResponseBody) GoString

func (*DescribeSensitiveApiStatisticResponseBody) SetRequestId

func (*DescribeSensitiveApiStatisticResponseBody) SetTotalCount

func (DescribeSensitiveApiStatisticResponseBody) String

type DescribeSensitiveApiStatisticResponseBodyData

type DescribeSensitiveApiStatisticResponseBodyData struct {
	// The number of personal information records involved in cross-border data transfer by domain name.
	//
	// example:
	//
	// 213
	InfoOutboundCount *int64 `json:"InfoOutboundCount,omitempty" xml:"InfoOutboundCount,omitempty"`
	// The domain name-related APIs.
	List []*DescribeSensitiveApiStatisticResponseBodyDataList `json:"List,omitempty" xml:"List,omitempty" type:"Repeated"`
	// The domain name or IP address.
	//
	// example:
	//
	// www.***.top
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The number of sensitive personal information records involved in cross-border data transfer by domain name.
	//
	// example:
	//
	// 127
	SensitiveOutboundCount *int64 `json:"SensitiveOutboundCount,omitempty" xml:"SensitiveOutboundCount,omitempty"`
}

func (DescribeSensitiveApiStatisticResponseBodyData) GoString

func (*DescribeSensitiveApiStatisticResponseBodyData) SetInfoOutboundCount

func (*DescribeSensitiveApiStatisticResponseBodyData) SetMatchedHost

func (*DescribeSensitiveApiStatisticResponseBodyData) SetSensitiveOutboundCount

func (DescribeSensitiveApiStatisticResponseBodyData) String

type DescribeSensitiveApiStatisticResponseBodyDataList

type DescribeSensitiveApiStatisticResponseBodyDataList struct {
	// The API.
	//
	// example:
	//
	// /api/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the API.
	//
	// example:
	//
	// d288137009c119a873d4c395****
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The number of personal information records involved in cross-border data transfer by API.
	//
	// example:
	//
	// 78
	InfoCount *int64 `json:"InfoCount,omitempty" xml:"InfoCount,omitempty"`
	// The types of sensitive data.
	SensitiveCode []*string `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty" type:"Repeated"`
	// The number of sensitive personal information records involved in cross-border data transfer by API.
	//
	// example:
	//
	// 55
	SensitiveCount *int64 `json:"SensitiveCount,omitempty" xml:"SensitiveCount,omitempty"`
}

func (DescribeSensitiveApiStatisticResponseBodyDataList) GoString

func (*DescribeSensitiveApiStatisticResponseBodyDataList) SetApiFormat

func (*DescribeSensitiveApiStatisticResponseBodyDataList) SetApiId

func (*DescribeSensitiveApiStatisticResponseBodyDataList) SetInfoCount

func (*DescribeSensitiveApiStatisticResponseBodyDataList) SetSensitiveCode

func (*DescribeSensitiveApiStatisticResponseBodyDataList) SetSensitiveCount

func (DescribeSensitiveApiStatisticResponseBodyDataList) String

type DescribeSensitiveDetectionResultRequest

type DescribeSensitiveDetectionResultRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1725966000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-7pp26f1****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
	//
	// example:
	//
	// 1672502400
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSensitiveDetectionResultRequest) GoString

func (*DescribeSensitiveDetectionResultRequest) SetClusterId

func (*DescribeSensitiveDetectionResultRequest) SetEndTime

func (*DescribeSensitiveDetectionResultRequest) SetInstanceId

func (*DescribeSensitiveDetectionResultRequest) SetRegionId

func (*DescribeSensitiveDetectionResultRequest) SetResourceManagerResourceGroupId

func (*DescribeSensitiveDetectionResultRequest) SetStartTime

func (DescribeSensitiveDetectionResultRequest) String

type DescribeSensitiveDetectionResultResponse

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

func (DescribeSensitiveDetectionResultResponse) GoString

func (*DescribeSensitiveDetectionResultResponse) SetHeaders

func (*DescribeSensitiveDetectionResultResponse) SetStatusCode

func (DescribeSensitiveDetectionResultResponse) String

type DescribeSensitiveDetectionResultResponseBody

type DescribeSensitiveDetectionResultResponseBody struct {
	// The compliance check results.
	Data *DescribeSensitiveDetectionResultResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeSensitiveDetectionResultResponseBody) GoString

func (*DescribeSensitiveDetectionResultResponseBody) SetRequestId

func (DescribeSensitiveDetectionResultResponseBody) String

type DescribeSensitiveDetectionResultResponseBodyData

type DescribeSensitiveDetectionResultResponseBodyData struct {
	// The compliance checks.
	Result []*DescribeSensitiveDetectionResultResponseBodyDataResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Repeated"`
}

func (DescribeSensitiveDetectionResultResponseBodyData) GoString

func (DescribeSensitiveDetectionResultResponseBodyData) String

type DescribeSensitiveDetectionResultResponseBodyDataResult

type DescribeSensitiveDetectionResultResponseBodyDataResult struct {
	// The compliance check results. Valid values:
	//
	// 	- **report**: Risks exist in cross-border data transfer.
	//
	// 	- **none**: No risks exist in cross-border data transfer.
	//
	// example:
	//
	// report
	DetectionResult *string `json:"DetectionResult,omitempty" xml:"DetectionResult,omitempty"`
	// The sensitive information check results by sensitive data type.
	List []*DescribeSensitiveDetectionResultResponseBodyDataResultList `json:"List,omitempty" xml:"List,omitempty" type:"Repeated"`
	// The maximum values in the statistics of sensitive data types.
	Max *DescribeSensitiveDetectionResultResponseBodyDataResultMax `json:"Max,omitempty" xml:"Max,omitempty" type:"Struct"`
}

func (DescribeSensitiveDetectionResultResponseBodyDataResult) GoString

func (*DescribeSensitiveDetectionResultResponseBodyDataResult) SetDetectionResult

func (DescribeSensitiveDetectionResultResponseBodyDataResult) String

type DescribeSensitiveDetectionResultResponseBodyDataResultList

type DescribeSensitiveDetectionResultResponseBodyDataResultList struct {
	// The number of personal information records.
	//
	// example:
	//
	// 11
	InfoCount *int64 `json:"InfoCount,omitempty" xml:"InfoCount,omitempty"`
	// The number of sensitive personal information records that are involved in cross-border data transfer.
	//
	// example:
	//
	// 6
	OutboundCount *int64 `json:"OutboundCount,omitempty" xml:"OutboundCount,omitempty"`
	// The sensitive data type.
	//
	// example:
	//
	// 1002
	SensitiveCode *int64 `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty"`
}

func (DescribeSensitiveDetectionResultResponseBodyDataResultList) GoString

func (*DescribeSensitiveDetectionResultResponseBodyDataResultList) SetInfoCount

func (*DescribeSensitiveDetectionResultResponseBodyDataResultList) SetOutboundCount

func (*DescribeSensitiveDetectionResultResponseBodyDataResultList) SetSensitiveCode

func (DescribeSensitiveDetectionResultResponseBodyDataResultList) String

type DescribeSensitiveDetectionResultResponseBodyDataResultMax

type DescribeSensitiveDetectionResultResponseBodyDataResultMax struct {
	// The number of sensitive personal information records that are of the most frequent sensitive data type.
	//
	// example:
	//
	// 187
	InfoCount *int64 `json:"InfoCount,omitempty" xml:"InfoCount,omitempty"`
	// The number of sensitive personal information records that are of the most frequent sensitive data type and are involved in cross-border data transfer.
	//
	// example:
	//
	// 54
	OutboundCount *int64 `json:"OutboundCount,omitempty" xml:"OutboundCount,omitempty"`
	// The most frequent sensitive data type.
	//
	// example:
	//
	// 1003
	SensitiveCode *int64 `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty"`
}

func (DescribeSensitiveDetectionResultResponseBodyDataResultMax) GoString

func (*DescribeSensitiveDetectionResultResponseBodyDataResultMax) SetInfoCount

func (*DescribeSensitiveDetectionResultResponseBodyDataResultMax) SetOutboundCount

func (*DescribeSensitiveDetectionResultResponseBodyDataResultMax) SetSensitiveCode

func (DescribeSensitiveDetectionResultResponseBodyDataResultMax) String

type DescribeSensitiveOutboundDistributionRequest

type DescribeSensitiveOutboundDistributionRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 443
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// >  You can query only data of the previous month, previous 3 months, previous 6 months, previous 12 months, and data generated since January 1 of last year for compliance check. You must specify a valid time range.
	//
	// example:
	//
	// 1725966000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-tl32ast****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// >  You can query only data of the previous month, previous 3 months, previous 6 months, previous 12 months, and data generated since January 1 of last year for compliance check. You must specify a valid time range.
	//
	// example:
	//
	// 1672502400
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSensitiveOutboundDistributionRequest) GoString

func (*DescribeSensitiveOutboundDistributionRequest) SetClusterId

func (*DescribeSensitiveOutboundDistributionRequest) SetEndTime

func (*DescribeSensitiveOutboundDistributionRequest) SetInstanceId

func (*DescribeSensitiveOutboundDistributionRequest) SetRegionId

func (*DescribeSensitiveOutboundDistributionRequest) SetResourceManagerResourceGroupId

func (*DescribeSensitiveOutboundDistributionRequest) SetStartTime

func (DescribeSensitiveOutboundDistributionRequest) String

type DescribeSensitiveOutboundDistributionResponse

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

func (DescribeSensitiveOutboundDistributionResponse) GoString

func (*DescribeSensitiveOutboundDistributionResponse) SetHeaders

func (*DescribeSensitiveOutboundDistributionResponse) SetStatusCode

func (DescribeSensitiveOutboundDistributionResponse) String

type DescribeSensitiveOutboundDistributionResponseBody

type DescribeSensitiveOutboundDistributionResponseBody struct {
	// The traffic distribution of personal information records involved in cross-border data transfer.
	Data []*DescribeSensitiveOutboundDistributionResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeSensitiveOutboundDistributionResponseBody) GoString

func (*DescribeSensitiveOutboundDistributionResponseBody) SetRequestId

func (DescribeSensitiveOutboundDistributionResponseBody) String

type DescribeSensitiveOutboundDistributionResponseBodyData

type DescribeSensitiveOutboundDistributionResponseBodyData struct {
	// The country to which the data is transferred.
	//
	// example:
	//
	// US
	Country *string `json:"Country,omitempty" xml:"Country,omitempty"`
	// The number of personal information records involved in cross-border data transfer.
	//
	// example:
	//
	// 213
	InfoOutboundCount *int64 `json:"InfoOutboundCount,omitempty" xml:"InfoOutboundCount,omitempty"`
	// The number of sensitive information records involved in cross-border data transfer.
	//
	// example:
	//
	// 144
	SensitiveOutboundCount *int64 `json:"SensitiveOutboundCount,omitempty" xml:"SensitiveOutboundCount,omitempty"`
}

func (DescribeSensitiveOutboundDistributionResponseBodyData) GoString

func (*DescribeSensitiveOutboundDistributionResponseBodyData) SetCountry

func (*DescribeSensitiveOutboundDistributionResponseBodyData) SetInfoOutboundCount

func (*DescribeSensitiveOutboundDistributionResponseBodyData) SetSensitiveOutboundCount

func (DescribeSensitiveOutboundDistributionResponseBodyData) String

type DescribeSensitiveOutboundStatisticRequest

type DescribeSensitiveOutboundStatisticRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The evaluation result. Valid values:
	//
	// 	- **report**: Risks exist in cross-border data transfer.
	//
	// 	- **none**: No risks exist in cross-border data transfer.
	//
	// example:
	//
	// report
	DetectionResult *string `json:"DetectionResult,omitempty" xml:"DetectionResult,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// >  You can query only data of the previous month, previous 3 months, previous 6 months, previous 12 months, and data generated since January 1 of last year for compliance check. You must specify a valid time range.
	//
	// example:
	//
	// 1725966000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-0xldbqt****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the sorting field. Valid values:
	//
	// 	- **total_count*	- (default): total number of data entries
	//
	// 	- **outbound_count**: total number of data entries that are transferred across borders
	//
	// example:
	//
	// total_count
	OrderKey *string `json:"OrderKey,omitempty" xml:"OrderKey,omitempty"`
	// The sorting method. Valid values:
	//
	// 	- **desc*	- (default): in descending order
	//
	// 	- **asc**: in ascending order
	//
	// example:
	//
	// desc
	OrderWay *string `json:"OrderWay,omitempty" xml:"OrderWay,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the sensitive data. Separate multiple types with commas (,).
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of sensitive data. Only built-in types of sensitive data are supported for this operation.
	//
	// example:
	//
	// 1000,1001
	SensitiveCode *string `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty"`
	// The sensitivity level. Valid values:
	//
	// 	- **high**
	//
	// 	- **medium**
	//
	// 	- **low**
	//
	// example:
	//
	// high
	SensitiveLevel *string `json:"SensitiveLevel,omitempty" xml:"SensitiveLevel,omitempty"`
	// The type of the information. Valid values:
	//
	// 	- **info*	- (default): full personal information
	//
	// 	- **sensitive**: sensitive personal information
	//
	// example:
	//
	// info
	SensitiveType *string `json:"SensitiveType,omitempty" xml:"SensitiveType,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// >  You can query only data of the previous month, previous 3 months, previous 6 months, previous 12 months, and data generated since January 1 of last year for compliance check. You must specify a valid time range.
	//
	// example:
	//
	// 1672502400
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSensitiveOutboundStatisticRequest) GoString

func (*DescribeSensitiveOutboundStatisticRequest) SetClusterId

func (*DescribeSensitiveOutboundStatisticRequest) SetDetectionResult

func (*DescribeSensitiveOutboundStatisticRequest) SetEndTime

func (*DescribeSensitiveOutboundStatisticRequest) SetInstanceId

func (*DescribeSensitiveOutboundStatisticRequest) SetOrderKey

func (*DescribeSensitiveOutboundStatisticRequest) SetOrderWay

func (*DescribeSensitiveOutboundStatisticRequest) SetPageNumber

func (*DescribeSensitiveOutboundStatisticRequest) SetPageSize

func (*DescribeSensitiveOutboundStatisticRequest) SetRegionId

func (*DescribeSensitiveOutboundStatisticRequest) SetResourceManagerResourceGroupId

func (*DescribeSensitiveOutboundStatisticRequest) SetSensitiveCode

func (*DescribeSensitiveOutboundStatisticRequest) SetSensitiveLevel

func (*DescribeSensitiveOutboundStatisticRequest) SetSensitiveType

func (*DescribeSensitiveOutboundStatisticRequest) SetStartTime

func (DescribeSensitiveOutboundStatisticRequest) String

type DescribeSensitiveOutboundStatisticResponse

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

func (DescribeSensitiveOutboundStatisticResponse) GoString

func (*DescribeSensitiveOutboundStatisticResponse) SetHeaders

func (*DescribeSensitiveOutboundStatisticResponse) SetStatusCode

func (DescribeSensitiveOutboundStatisticResponse) String

type DescribeSensitiveOutboundStatisticResponseBody

type DescribeSensitiveOutboundStatisticResponseBody struct {
	// The data types of personal information involved in cross-border data transfer.
	Data []*DescribeSensitiveOutboundStatisticResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 2EFCFE18-78F8-5079-B312-07***48B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 5
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeSensitiveOutboundStatisticResponseBody) GoString

func (*DescribeSensitiveOutboundStatisticResponseBody) SetRequestId

func (*DescribeSensitiveOutboundStatisticResponseBody) SetTotalCount

func (DescribeSensitiveOutboundStatisticResponseBody) String

type DescribeSensitiveOutboundStatisticResponseBodyData

type DescribeSensitiveOutboundStatisticResponseBodyData struct {
	// The evaluation result. Valid values:
	//
	// 	- **report**: Risks exist in cross-border data transfer.
	//
	// 	- **none**: No risks exist in cross-border data transfer.
	//
	// example:
	//
	// report
	DetectionResult *string `json:"DetectionResult,omitempty" xml:"DetectionResult,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 546
	InfoCount *int64 `json:"InfoCount,omitempty" xml:"InfoCount,omitempty"`
	// The number of data entries that are transferred across borders.
	//
	// example:
	//
	// 300
	OutboundCount *int64 `json:"OutboundCount,omitempty" xml:"OutboundCount,omitempty"`
	// The type of the sensitive data.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of sensitive data.
	//
	// example:
	//
	// 1001
	SensitiveCode *int64 `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty"`
	// The sensitivity level. Valid values:
	//
	// 	- **high**
	//
	// 	- **medium**
	//
	// 	- **low**
	//
	// example:
	//
	// high
	SensitiveLevel *string `json:"SensitiveLevel,omitempty" xml:"SensitiveLevel,omitempty"`
	// The type of the information. Valid values:
	//
	// 	- **info**: full personal information
	//
	// 	- **sensitive**: sensitive personal information
	//
	// example:
	//
	// info
	SensitiveType *string `json:"SensitiveType,omitempty" xml:"SensitiveType,omitempty"`
}

func (DescribeSensitiveOutboundStatisticResponseBodyData) GoString

func (*DescribeSensitiveOutboundStatisticResponseBodyData) SetDetectionResult

func (*DescribeSensitiveOutboundStatisticResponseBodyData) SetInfoCount

func (*DescribeSensitiveOutboundStatisticResponseBodyData) SetOutboundCount

func (*DescribeSensitiveOutboundStatisticResponseBodyData) SetSensitiveCode

func (*DescribeSensitiveOutboundStatisticResponseBodyData) SetSensitiveLevel

func (*DescribeSensitiveOutboundStatisticResponseBodyData) SetSensitiveType

func (DescribeSensitiveOutboundStatisticResponseBodyData) String

type DescribeSensitiveOutboundTrendRequest

type DescribeSensitiveOutboundTrendRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 433
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// >  You can query only data of the previous month, previous 3 months, previous 6 months, previous 12 months, and data generated since January 1 of last year for compliance check. You must specify a valid time range.
	//
	// example:
	//
	// 1725966000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0xldbqt****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// >  You can query only data of the previous month, previous 3 months, previous 6 months, previous 12 months, and data generated since January 1 of last year for compliance check. You must specify a valid time range.
	//
	// example:
	//
	// 1672502400
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSensitiveOutboundTrendRequest) GoString

func (*DescribeSensitiveOutboundTrendRequest) SetClusterId

func (*DescribeSensitiveOutboundTrendRequest) SetEndTime

func (*DescribeSensitiveOutboundTrendRequest) SetInstanceId

func (*DescribeSensitiveOutboundTrendRequest) SetRegionId

func (*DescribeSensitiveOutboundTrendRequest) SetResourceManagerResourceGroupId

func (*DescribeSensitiveOutboundTrendRequest) SetStartTime

func (DescribeSensitiveOutboundTrendRequest) String

type DescribeSensitiveOutboundTrendResponse

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

func (DescribeSensitiveOutboundTrendResponse) GoString

func (*DescribeSensitiveOutboundTrendResponse) SetHeaders

func (*DescribeSensitiveOutboundTrendResponse) SetStatusCode

func (DescribeSensitiveOutboundTrendResponse) String

type DescribeSensitiveOutboundTrendResponseBody

type DescribeSensitiveOutboundTrendResponseBody struct {
	// The information records involved in cross-border data transfer.
	Data []*DescribeSensitiveOutboundTrendResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// C1823E96-EF4B-5BD2-9E02-1D18****3ED8
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 7
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeSensitiveOutboundTrendResponseBody) GoString

func (*DescribeSensitiveOutboundTrendResponseBody) SetRequestId

func (*DescribeSensitiveOutboundTrendResponseBody) SetTotalCount

func (DescribeSensitiveOutboundTrendResponseBody) String

type DescribeSensitiveOutboundTrendResponseBodyData

type DescribeSensitiveOutboundTrendResponseBodyData struct {
	// The total number of personal information records.
	//
	// example:
	//
	// 672
	InfoCount *int64 `json:"InfoCount,omitempty" xml:"InfoCount,omitempty"`
	// The total number of personal information records involved in cross-border data transfer.
	//
	// example:
	//
	// 541
	InfoOutboundCount *int64 `json:"InfoOutboundCount,omitempty" xml:"InfoOutboundCount,omitempty"`
	// The total number of sensitive information records involved in cross-border data transfer.
	//
	// example:
	//
	// 378
	SensitiveOutboundCount *int64 `json:"SensitiveOutboundCount,omitempty" xml:"SensitiveOutboundCount,omitempty"`
	// The time of cross-border data transfer. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1672502400
	Timestamp *int64 `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
}

func (DescribeSensitiveOutboundTrendResponseBodyData) GoString

func (*DescribeSensitiveOutboundTrendResponseBodyData) SetInfoCount

func (*DescribeSensitiveOutboundTrendResponseBodyData) SetInfoOutboundCount

func (*DescribeSensitiveOutboundTrendResponseBodyData) SetSensitiveOutboundCount

func (*DescribeSensitiveOutboundTrendResponseBodyData) SetTimestamp

func (DescribeSensitiveOutboundTrendResponseBodyData) String

type DescribeSensitiveRequestLogRequest

type DescribeSensitiveRequestLogRequest struct {
	// The API.
	//
	// example:
	//
	// /api/users/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The IP address.
	//
	// example:
	//
	// 103.118.55.**
	ClientIP *string `json:"ClientIP,omitempty" xml:"ClientIP,omitempty"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 433
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1726057800
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The domain name of the API.
	//
	// example:
	//
	// a.***.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the sensitive data.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of sensitive data.
	//
	// example:
	//
	// 1000,1001
	SensitiveCode *string `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty"`
	// The response sensitive data.
	//
	// example:
	//
	// user
	SensitiveData *string `json:"SensitiveData,omitempty" xml:"SensitiveData,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1723392000
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSensitiveRequestLogRequest) GoString

func (*DescribeSensitiveRequestLogRequest) SetApiFormat

func (*DescribeSensitiveRequestLogRequest) SetClientIP

func (*DescribeSensitiveRequestLogRequest) SetClusterId

func (*DescribeSensitiveRequestLogRequest) SetEndTime

func (*DescribeSensitiveRequestLogRequest) SetInstanceId

func (*DescribeSensitiveRequestLogRequest) SetMatchedHost

func (*DescribeSensitiveRequestLogRequest) SetPageNumber

func (*DescribeSensitiveRequestLogRequest) SetPageSize

func (*DescribeSensitiveRequestLogRequest) SetRegionId

func (*DescribeSensitiveRequestLogRequest) SetResourceManagerResourceGroupId

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

func (*DescribeSensitiveRequestLogRequest) SetSensitiveCode

func (*DescribeSensitiveRequestLogRequest) SetSensitiveData

func (*DescribeSensitiveRequestLogRequest) SetStartTime

func (DescribeSensitiveRequestLogRequest) String

type DescribeSensitiveRequestLogResponse

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

func (DescribeSensitiveRequestLogResponse) GoString

func (*DescribeSensitiveRequestLogResponse) SetHeaders

func (*DescribeSensitiveRequestLogResponse) SetStatusCode

func (DescribeSensitiveRequestLogResponse) String

type DescribeSensitiveRequestLogResponseBody

type DescribeSensitiveRequestLogResponseBody struct {
	// The access logs.
	Data []*DescribeSensitiveRequestLogResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 26E46541-7AAB-5565-801D-F14DBDC5****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 7
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeSensitiveRequestLogResponseBody) GoString

func (*DescribeSensitiveRequestLogResponseBody) SetRequestId

func (*DescribeSensitiveRequestLogResponseBody) SetTotalCount

func (DescribeSensitiveRequestLogResponseBody) String

type DescribeSensitiveRequestLogResponseBodyData

type DescribeSensitiveRequestLogResponseBodyData struct {
	// The API.
	//
	// example:
	//
	// /api/users/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the API.
	//
	// example:
	//
	// 197b52abcd81d6a8bd4***e477
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The IP address.
	//
	// example:
	//
	// 103.118.55.**
	ClientIP *string `json:"ClientIP,omitempty" xml:"ClientIP,omitempty"`
	// The number of sensitive data records involved in cross-border data transfer.
	//
	// example:
	//
	// 12
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The domain name of the API.
	//
	// example:
	//
	// a.****.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// IP region, formatted as a region code.
	//
	// example:
	//
	// CN
	RemoteCountryId *string `json:"RemoteCountryId,omitempty" xml:"RemoteCountryId,omitempty"`
	// The time when the request was initiated. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1723392000
	RequestTime *int64 `json:"RequestTime,omitempty" xml:"RequestTime,omitempty"`
	// The sensitive data.
	//
	// example:
	//
	// A0Y5MPH3P
	SensitiveList *string `json:"SensitiveList,omitempty" xml:"SensitiveList,omitempty"`
	// The trace ID.
	//
	// example:
	//
	// 0a3d455b17027784870843933dce3d
	TraceId *string `json:"TraceId,omitempty" xml:"TraceId,omitempty"`
}

func (DescribeSensitiveRequestLogResponseBodyData) GoString

func (*DescribeSensitiveRequestLogResponseBodyData) SetApiFormat

func (*DescribeSensitiveRequestLogResponseBodyData) SetApiId

func (*DescribeSensitiveRequestLogResponseBodyData) SetClientIP

func (*DescribeSensitiveRequestLogResponseBodyData) SetCount

func (*DescribeSensitiveRequestLogResponseBodyData) SetMatchedHost

func (*DescribeSensitiveRequestLogResponseBodyData) SetRemoteCountryId added in v5.0.1

func (*DescribeSensitiveRequestLogResponseBodyData) SetRequestTime

func (*DescribeSensitiveRequestLogResponseBodyData) SetSensitiveList

func (*DescribeSensitiveRequestLogResponseBodyData) SetTraceId

func (DescribeSensitiveRequestLogResponseBodyData) String

type DescribeSensitiveRequestsRequest

type DescribeSensitiveRequestsRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 269
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1725966000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-0xldbqt****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: 10.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzwwkpn****5i
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the sensitive data.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of sensitive data.
	//
	// example:
	//
	// 1001
	SensitiveCode *int64 `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty"`
	// The sensitive data.
	//
	// example:
	//
	// card
	SensitiveData *string `json:"SensitiveData,omitempty" xml:"SensitiveData,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1723392000
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeSensitiveRequestsRequest) GoString

func (*DescribeSensitiveRequestsRequest) SetClusterId

func (*DescribeSensitiveRequestsRequest) SetEndTime

func (*DescribeSensitiveRequestsRequest) SetInstanceId

func (*DescribeSensitiveRequestsRequest) SetPageNumber

func (*DescribeSensitiveRequestsRequest) SetPageSize

func (*DescribeSensitiveRequestsRequest) SetRegionId

func (*DescribeSensitiveRequestsRequest) SetResourceManagerResourceGroupId

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

func (*DescribeSensitiveRequestsRequest) SetSensitiveCode

func (*DescribeSensitiveRequestsRequest) SetSensitiveData

func (*DescribeSensitiveRequestsRequest) SetStartTime

func (DescribeSensitiveRequestsRequest) String

type DescribeSensitiveRequestsResponse

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

func (DescribeSensitiveRequestsResponse) GoString

func (*DescribeSensitiveRequestsResponse) SetHeaders

func (*DescribeSensitiveRequestsResponse) SetStatusCode

func (DescribeSensitiveRequestsResponse) String

type DescribeSensitiveRequestsResponseBody

type DescribeSensitiveRequestsResponseBody struct {
	// The tracing results of the data.
	Data []*DescribeSensitiveRequestsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 26E46541-7AAB-5565-801D-F14DBDC5****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 10
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeSensitiveRequestsResponseBody) GoString

func (*DescribeSensitiveRequestsResponseBody) SetRequestId

func (*DescribeSensitiveRequestsResponseBody) SetTotalCount

func (DescribeSensitiveRequestsResponseBody) String

type DescribeSensitiveRequestsResponseBodyData

type DescribeSensitiveRequestsResponseBodyData struct {
	// The number of risks in the previous 30 days.
	//
	// example:
	//
	// 23
	AbnormalCount *int64 `json:"AbnormalCount,omitempty" xml:"AbnormalCount,omitempty"`
	// The API.
	//
	// example:
	//
	// /api/users/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the API.
	//
	// example:
	//
	// 09559c0d71ca2ffc996b81***836d8
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The IP address.
	//
	// example:
	//
	// 103.118.55.**
	ClientIP *string `json:"ClientIP,omitempty" xml:"ClientIP,omitempty"`
	// The evaluation result. Valid values:
	//
	// 	- **leak**: Data leaks may occur.
	//
	// 	- **none**: No data leak can occur.
	//
	// example:
	//
	// leak
	DetectionResult *string `json:"DetectionResult,omitempty" xml:"DetectionResult,omitempty"`
	// The number of events in the previous 30 days.
	//
	// example:
	//
	// 679
	EventCount *int64 `json:"EventCount,omitempty" xml:"EventCount,omitempty"`
	// The statistics of the sensitive data.
	InfoCount []*DescribeSensitiveRequestsResponseBodyDataInfoCount `json:"InfoCount,omitempty" xml:"InfoCount,omitempty" type:"Repeated"`
	// The domain name of the API.
	//
	// example:
	//
	// a.****.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The sensitive data.
	SensitiveList []*string `json:"SensitiveList,omitempty" xml:"SensitiveList,omitempty" type:"Repeated"`
}

func (DescribeSensitiveRequestsResponseBodyData) GoString

func (*DescribeSensitiveRequestsResponseBodyData) SetAbnormalCount

func (*DescribeSensitiveRequestsResponseBodyData) SetApiFormat

func (*DescribeSensitiveRequestsResponseBodyData) SetApiId

func (*DescribeSensitiveRequestsResponseBodyData) SetClientIP

func (*DescribeSensitiveRequestsResponseBodyData) SetDetectionResult

func (*DescribeSensitiveRequestsResponseBodyData) SetEventCount

func (*DescribeSensitiveRequestsResponseBodyData) SetMatchedHost

func (*DescribeSensitiveRequestsResponseBodyData) SetSensitiveList

func (DescribeSensitiveRequestsResponseBodyData) String

type DescribeSensitiveRequestsResponseBodyDataInfoCount

type DescribeSensitiveRequestsResponseBodyDataInfoCount struct {
	// The type of the sensitive data.
	//
	// example:
	//
	// 1001
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The number of sensitive data entries.
	//
	// example:
	//
	// 23
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
}

func (DescribeSensitiveRequestsResponseBodyDataInfoCount) GoString

func (*DescribeSensitiveRequestsResponseBodyDataInfoCount) SetCode

func (*DescribeSensitiveRequestsResponseBodyDataInfoCount) SetCount

func (DescribeSensitiveRequestsResponseBodyDataInfoCount) String

type DescribeSensitiveStatisticRequest

type DescribeSensitiveStatisticRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1725966000
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0xldbq****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Default value: **10**.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1672502400
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The type of the statistics. Valid values:
	//
	// 	- **ip**: IP address
	//
	// 	- **host**: domain name
	//
	// 	- **sensitive_code**: sensitive data type
	//
	// 	- **api**: sensitive data-related API
	//
	// example:
	//
	// ip
	StatisticType *string `json:"StatisticType,omitempty" xml:"StatisticType,omitempty"`
}

func (DescribeSensitiveStatisticRequest) GoString

func (*DescribeSensitiveStatisticRequest) SetClusterId

func (*DescribeSensitiveStatisticRequest) SetEndTime

func (*DescribeSensitiveStatisticRequest) SetInstanceId

func (*DescribeSensitiveStatisticRequest) SetPageNumber

func (*DescribeSensitiveStatisticRequest) SetPageSize

func (*DescribeSensitiveStatisticRequest) SetRegionId

func (*DescribeSensitiveStatisticRequest) SetResourceManagerResourceGroupId

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

func (*DescribeSensitiveStatisticRequest) SetStartTime

func (*DescribeSensitiveStatisticRequest) SetStatisticType

func (DescribeSensitiveStatisticRequest) String

type DescribeSensitiveStatisticResponse

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

func (DescribeSensitiveStatisticResponse) GoString

func (*DescribeSensitiveStatisticResponse) SetHeaders

func (*DescribeSensitiveStatisticResponse) SetStatusCode

func (DescribeSensitiveStatisticResponse) String

type DescribeSensitiveStatisticResponseBody

type DescribeSensitiveStatisticResponseBody struct {
	// The statistics of the sensitive data.
	Data []*DescribeSensitiveStatisticResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	//
	// example:
	//
	// 10
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeSensitiveStatisticResponseBody) GoString

func (*DescribeSensitiveStatisticResponseBody) SetRequestId

func (*DescribeSensitiveStatisticResponseBody) SetTotalCount

func (DescribeSensitiveStatisticResponseBody) String

type DescribeSensitiveStatisticResponseBodyData

type DescribeSensitiveStatisticResponseBodyData struct {
	// The API.
	//
	// example:
	//
	// /api/login
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The IP address.
	//
	// example:
	//
	// 10.50.11.**
	ClientIP *string `json:"ClientIP,omitempty" xml:"ClientIP,omitempty"`
	// The number of entries returned.
	//
	// example:
	//
	// 169
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The domain name.
	//
	// example:
	//
	// a.****.com
	MatchedHost *string `json:"MatchedHost,omitempty" xml:"MatchedHost,omitempty"`
	// The type of the sensitive data.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of sensitive data.
	//
	// example:
	//
	// 1003
	SensitiveCode *string `json:"SensitiveCode,omitempty" xml:"SensitiveCode,omitempty"`
}

func (DescribeSensitiveStatisticResponseBodyData) GoString

func (*DescribeSensitiveStatisticResponseBodyData) SetApiFormat

func (*DescribeSensitiveStatisticResponseBodyData) SetClientIP

func (*DescribeSensitiveStatisticResponseBodyData) SetCount

func (*DescribeSensitiveStatisticResponseBodyData) SetMatchedHost

func (*DescribeSensitiveStatisticResponseBodyData) SetSensitiveCode

func (DescribeSensitiveStatisticResponseBodyData) String

type DescribeSlsAuthStatusRequest

type DescribeSlsAuthStatusRequest struct {
	// The ID of the WAF instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-g4t3g****04
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou:*	- the Chinese mainland.
	//
	// 	- **ap-southeast-1:*	- outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aek2okfav****iq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeSlsAuthStatusRequest) GoString

func (s DescribeSlsAuthStatusRequest) GoString() string

func (*DescribeSlsAuthStatusRequest) SetInstanceId

func (*DescribeSlsAuthStatusRequest) SetRegionId

func (*DescribeSlsAuthStatusRequest) SetResourceManagerResourceGroupId

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

func (DescribeSlsAuthStatusRequest) String

type DescribeSlsAuthStatusResponse

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

func (DescribeSlsAuthStatusResponse) GoString

func (*DescribeSlsAuthStatusResponse) SetBody

func (*DescribeSlsAuthStatusResponse) SetHeaders

func (*DescribeSlsAuthStatusResponse) SetStatusCode

func (DescribeSlsAuthStatusResponse) String

type DescribeSlsAuthStatusResponseBody

type DescribeSlsAuthStatusResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 3589D3A3-4A04-51CB-AA89-353ED20A****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether WAF is authorized to access Logstores. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// false
	Status *bool `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeSlsAuthStatusResponseBody) GoString

func (*DescribeSlsAuthStatusResponseBody) SetRequestId

func (*DescribeSlsAuthStatusResponseBody) SetStatus

func (DescribeSlsAuthStatusResponseBody) String

type DescribeSlsLogStoreRequest

type DescribeSlsLogStoreRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-zpr3d****0o
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aek2wf3mn****vq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeSlsLogStoreRequest) GoString

func (s DescribeSlsLogStoreRequest) GoString() string

func (*DescribeSlsLogStoreRequest) SetInstanceId

func (*DescribeSlsLogStoreRequest) SetRegionId

func (*DescribeSlsLogStoreRequest) SetResourceManagerResourceGroupId

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

func (DescribeSlsLogStoreRequest) String

type DescribeSlsLogStoreResponse

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

func (DescribeSlsLogStoreResponse) GoString

func (s DescribeSlsLogStoreResponse) GoString() string

func (*DescribeSlsLogStoreResponse) SetBody

func (*DescribeSlsLogStoreResponse) SetHeaders

func (*DescribeSlsLogStoreResponse) SetStatusCode

func (DescribeSlsLogStoreResponse) String

type DescribeSlsLogStoreResponseBody

type DescribeSlsLogStoreResponseBody struct {
	// The name of the Logstore.
	//
	// example:
	//
	// wafng-logstore
	LogStoreName *string `json:"LogStoreName,omitempty" xml:"LogStoreName,omitempty"`
	// The name of the Simple Log Service project.
	//
	// example:
	//
	// wafng-project-14316572********-cn-hangzhou
	ProjectName *string `json:"ProjectName,omitempty" xml:"ProjectName,omitempty"`
	// The capacity of the Logstore. Unit: bytes.
	//
	// example:
	//
	// 3298534883328
	Quota *int64 `json:"Quota,omitempty" xml:"Quota,omitempty"`
	// The request ID.
	//
	// example:
	//
	// CAC0A24B-486A-5E12-9894-BE860E5F****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The storage duration of the Logstore. Unit: days.
	//
	// example:
	//
	// 180
	Ttl *int32 `json:"Ttl,omitempty" xml:"Ttl,omitempty"`
	// The used capacity of the Logstore. Unit: bytes.
	//
	// example:
	//
	// 35471136
	Used *int64 `json:"Used,omitempty" xml:"Used,omitempty"`
}

func (DescribeSlsLogStoreResponseBody) GoString

func (*DescribeSlsLogStoreResponseBody) SetLogStoreName

func (*DescribeSlsLogStoreResponseBody) SetProjectName

func (*DescribeSlsLogStoreResponseBody) SetQuota

func (*DescribeSlsLogStoreResponseBody) SetRequestId

func (*DescribeSlsLogStoreResponseBody) SetTtl

func (*DescribeSlsLogStoreResponseBody) SetUsed

func (DescribeSlsLogStoreResponseBody) String

type DescribeSlsLogStoreStatusRequest

type DescribeSlsLogStoreStatusRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-uqm35****02
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou:*	- the Chinese mainland.
	//
	// 	- **ap-southeast-1:*	- outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfmzedqv****ma
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeSlsLogStoreStatusRequest) GoString

func (*DescribeSlsLogStoreStatusRequest) SetInstanceId

func (*DescribeSlsLogStoreStatusRequest) SetRegionId

func (*DescribeSlsLogStoreStatusRequest) SetResourceManagerResourceGroupId

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

func (DescribeSlsLogStoreStatusRequest) String

type DescribeSlsLogStoreStatusResponse

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

func (DescribeSlsLogStoreStatusResponse) GoString

func (*DescribeSlsLogStoreStatusResponse) SetHeaders

func (*DescribeSlsLogStoreStatusResponse) SetStatusCode

func (DescribeSlsLogStoreStatusResponse) String

type DescribeSlsLogStoreStatusResponseBody

type DescribeSlsLogStoreStatusResponseBody struct {
	// Indicates whether a Logstore is created for WAF. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	ExistStatus *bool `json:"ExistStatus,omitempty" xml:"ExistStatus,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 184F538F-C115-5C89-A4EF-C79CD2E29AC7
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeSlsLogStoreStatusResponseBody) GoString

func (*DescribeSlsLogStoreStatusResponseBody) SetExistStatus

func (*DescribeSlsLogStoreStatusResponseBody) SetRequestId

func (DescribeSlsLogStoreStatusResponseBody) String

type DescribeTemplateResourceCountRequest

type DescribeTemplateResourceCountRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-lbj****gx08
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzwwkpn****5i
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The IDs of the protection templates that you want to query. Separate multiple template IDs with commas (,).
	//
	// This parameter is required.
	//
	// example:
	//
	// 12345,12346
	TemplateIds *string `json:"TemplateIds,omitempty" xml:"TemplateIds,omitempty"`
}

func (DescribeTemplateResourceCountRequest) GoString

func (*DescribeTemplateResourceCountRequest) SetInstanceId

func (*DescribeTemplateResourceCountRequest) SetRegionId

func (*DescribeTemplateResourceCountRequest) SetResourceManagerResourceGroupId

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

func (*DescribeTemplateResourceCountRequest) SetTemplateIds

func (DescribeTemplateResourceCountRequest) String

type DescribeTemplateResourceCountResponse

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

func (DescribeTemplateResourceCountResponse) GoString

func (*DescribeTemplateResourceCountResponse) SetHeaders

func (*DescribeTemplateResourceCountResponse) SetStatusCode

func (DescribeTemplateResourceCountResponse) String

type DescribeTemplateResourceCountResponseBody

type DescribeTemplateResourceCountResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// B8064433-9781-5E86-806E-C1DD****1D95
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The number of protected objects or protected object groups for which the protection template takes effect.
	ResourceCount []*DescribeTemplateResourceCountResponseBodyResourceCount `json:"ResourceCount,omitempty" xml:"ResourceCount,omitempty" type:"Repeated"`
}

func (DescribeTemplateResourceCountResponseBody) GoString

func (*DescribeTemplateResourceCountResponseBody) SetRequestId

func (DescribeTemplateResourceCountResponseBody) String

type DescribeTemplateResourceCountResponseBodyResourceCount

type DescribeTemplateResourceCountResponseBodyResourceCount struct {
	// The number of protected object groups.
	//
	// example:
	//
	// 30
	GroupCount *int32 `json:"GroupCount,omitempty" xml:"GroupCount,omitempty"`
	// The number of protected objects.
	//
	// example:
	//
	// 30
	SingleCount *int32 `json:"SingleCount,omitempty" xml:"SingleCount,omitempty"`
	// The ID of the protection template.
	//
	// example:
	//
	// 12345
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeTemplateResourceCountResponseBodyResourceCount) GoString

func (*DescribeTemplateResourceCountResponseBodyResourceCount) SetGroupCount

func (*DescribeTemplateResourceCountResponseBodyResourceCount) SetSingleCount

func (*DescribeTemplateResourceCountResponseBodyResourceCount) SetTemplateId

func (DescribeTemplateResourceCountResponseBodyResourceCount) String

type DescribeTemplateResourcesRequest

type DescribeTemplateResourcesRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the protected resource. Valid values:
	//
	// 	- **single:*	- protected object.
	//
	// 	- **group:*	- protected object group.
	//
	// This parameter is required.
	//
	// example:
	//
	// single
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The ID of the protection rule template.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1020
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (DescribeTemplateResourcesRequest) GoString

func (*DescribeTemplateResourcesRequest) SetInstanceId

func (*DescribeTemplateResourcesRequest) SetRegionId

func (*DescribeTemplateResourcesRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// C7BC9373-3960-53B0-8968-2B13454AE18F
	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 DescribeUserAbnormalTrendRequest

type DescribeUserAbnormalTrendRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-uqm342yj***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeUserAbnormalTrendRequest) GoString

func (*DescribeUserAbnormalTrendRequest) SetClusterId

func (*DescribeUserAbnormalTrendRequest) SetInstanceId

func (*DescribeUserAbnormalTrendRequest) SetRegionId

func (*DescribeUserAbnormalTrendRequest) SetResourceManagerResourceGroupId

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

func (DescribeUserAbnormalTrendRequest) String

type DescribeUserAbnormalTrendResponse

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

func (DescribeUserAbnormalTrendResponse) GoString

func (*DescribeUserAbnormalTrendResponse) SetHeaders

func (*DescribeUserAbnormalTrendResponse) SetStatusCode

func (DescribeUserAbnormalTrendResponse) String

type DescribeUserAbnormalTrendResponseBody

type DescribeUserAbnormalTrendResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The trends of risks.
	Trend []*DescribeUserAbnormalTrendResponseBodyTrend `json:"Trend,omitempty" xml:"Trend,omitempty" type:"Repeated"`
}

func (DescribeUserAbnormalTrendResponseBody) GoString

func (*DescribeUserAbnormalTrendResponseBody) SetRequestId

func (DescribeUserAbnormalTrendResponseBody) String

type DescribeUserAbnormalTrendResponseBodyTrend

type DescribeUserAbnormalTrendResponseBodyTrend struct {
	// The number of high risks.
	//
	// example:
	//
	// 12
	AbnormalHigh *int64 `json:"AbnormalHigh,omitempty" xml:"AbnormalHigh,omitempty"`
	// The number of low risks.
	//
	// example:
	//
	// 23
	AbnormalLow *int64 `json:"AbnormalLow,omitempty" xml:"AbnormalLow,omitempty"`
	// The number of medium risks.
	//
	// example:
	//
	// 14
	AbnormalMedium *int64 `json:"AbnormalMedium,omitempty" xml:"AbnormalMedium,omitempty"`
	// The time at which the API was called. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// 	Notice: The parameter has been deprecated, it is recommended to use the Timestamp parameter.
	//
	// example:
	//
	// 1722268800
	TimeStamp *int64 `json:"TimeStamp,omitempty" xml:"TimeStamp,omitempty"`
	// The time at which the API was called. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1722268800
	Timestamp *int64 `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
}

func (DescribeUserAbnormalTrendResponseBodyTrend) GoString

func (*DescribeUserAbnormalTrendResponseBodyTrend) SetAbnormalHigh

func (*DescribeUserAbnormalTrendResponseBodyTrend) SetAbnormalLow

func (*DescribeUserAbnormalTrendResponseBodyTrend) SetAbnormalMedium

func (*DescribeUserAbnormalTrendResponseBodyTrend) SetTimeStamp

func (*DescribeUserAbnormalTrendResponseBodyTrend) SetTimestamp

func (DescribeUserAbnormalTrendResponseBodyTrend) String

type DescribeUserAbnormalTypeRequest

type DescribeUserAbnormalTypeRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 993
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1726113600
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-g4***201
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-ac***lani
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1723435200
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeUserAbnormalTypeRequest) GoString

func (*DescribeUserAbnormalTypeRequest) SetClusterId

func (*DescribeUserAbnormalTypeRequest) SetEndTime

func (*DescribeUserAbnormalTypeRequest) SetInstanceId

func (*DescribeUserAbnormalTypeRequest) SetRegionId

func (*DescribeUserAbnormalTypeRequest) SetResourceManagerResourceGroupId

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

func (*DescribeUserAbnormalTypeRequest) SetStartTime

func (DescribeUserAbnormalTypeRequest) String

type DescribeUserAbnormalTypeResponse

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

func (DescribeUserAbnormalTypeResponse) GoString

func (*DescribeUserAbnormalTypeResponse) SetHeaders

func (*DescribeUserAbnormalTypeResponse) SetStatusCode

func (DescribeUserAbnormalTypeResponse) String

type DescribeUserAbnormalTypeResponseBody

type DescribeUserAbnormalTypeResponseBody struct {
	// The types and statistics of risks.
	Abnormal []*DescribeUserAbnormalTypeResponseBodyAbnormal `json:"Abnormal,omitempty" xml:"Abnormal,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 3E1CB966-1407-5988-9432-7***D784
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeUserAbnormalTypeResponseBody) GoString

func (*DescribeUserAbnormalTypeResponseBody) SetRequestId

func (DescribeUserAbnormalTypeResponseBody) String

type DescribeUserAbnormalTypeResponseBodyAbnormal

type DescribeUserAbnormalTypeResponseBodyAbnormal struct {
	// The code of the risk.
	//
	// example:
	//
	// Risk_InternalWeakPasswd
	AbnormalCode *string `json:"AbnormalCode,omitempty" xml:"AbnormalCode,omitempty"`
	// The number of risks.
	//
	// example:
	//
	// 10
	AbnormalCount *int64 `json:"AbnormalCount,omitempty" xml:"AbnormalCount,omitempty"`
	// The parent type of the risk.
	//
	// example:
	//
	// RiskType_Account
	AbnormalParentType *string `json:"AbnormalParentType,omitempty" xml:"AbnormalParentType,omitempty"`
	// The type of the risk.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of risks.
	//
	// example:
	//
	// LackOfSpeedLimit
	AbnormalType *string `json:"AbnormalType,omitempty" xml:"AbnormalType,omitempty"`
}

func (DescribeUserAbnormalTypeResponseBodyAbnormal) GoString

func (*DescribeUserAbnormalTypeResponseBodyAbnormal) SetAbnormalCode

func (*DescribeUserAbnormalTypeResponseBodyAbnormal) SetAbnormalCount

func (*DescribeUserAbnormalTypeResponseBodyAbnormal) SetAbnormalParentType

func (*DescribeUserAbnormalTypeResponseBodyAbnormal) SetAbnormalType

func (DescribeUserAbnormalTypeResponseBodyAbnormal) String

type DescribeUserApiRequestRequest

type DescribeUserApiRequestRequest struct {
	// The API.
	//
	// 	Notice: This parameter is deprecated, please use ApiId to query.
	//
	// example:
	//
	// /api/v1/know
	ApiFormat *string `json:"ApiFormat,omitempty" xml:"ApiFormat,omitempty"`
	// The ID of the API.
	//
	// This parameter is required.
	//
	// example:
	//
	// 3799f0695c0d687f3295d132fe49bc14
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The domain name or IP address of the API.
	//
	// 	Notice: This parameter is deprecated, please use ApiId to query.
	//
	// example:
	//
	// c.***.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-zxu38***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the statistics. Valid values:
	//
	// 	- **api_ip**: total traffic
	//
	// 	- **api_cross_border_ip**: cross-border traffic
	//
	// 	- **api_bot_ip**: bot traffic
	//
	// 	- **remote_region**: geographical location
	//
	// 	- **client_id**: client type
	//
	// 	- **http_referer**: Referer
	//
	// 	- **api_cnt**: total number of calls
	//
	// 	- **bot_cnt**: number of bot calls
	//
	// 	- **cross_border_cnt**: number of cross-border requests
	//
	// 	- **api_freq**: call frequency
	//
	// example:
	//
	// api_ip
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeUserApiRequestRequest) GoString

func (*DescribeUserApiRequestRequest) SetApiFormat

func (*DescribeUserApiRequestRequest) SetApiId

func (*DescribeUserApiRequestRequest) SetClusterId

func (*DescribeUserApiRequestRequest) SetDomain

func (*DescribeUserApiRequestRequest) SetInstanceId

func (*DescribeUserApiRequestRequest) SetRegionId

func (*DescribeUserApiRequestRequest) SetResourceManagerResourceGroupId

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

func (*DescribeUserApiRequestRequest) SetType

func (DescribeUserApiRequestRequest) String

type DescribeUserApiRequestResponse

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

func (DescribeUserApiRequestResponse) GoString

func (*DescribeUserApiRequestResponse) SetHeaders

func (*DescribeUserApiRequestResponse) SetStatusCode

func (DescribeUserApiRequestResponse) String

type DescribeUserApiRequestResponseBody

type DescribeUserApiRequestResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D13E4540-4432-5AD7-B216-6369512514F4
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The statistics.
	Requests []*DescribeUserApiRequestResponseBodyRequests `json:"Requests,omitempty" xml:"Requests,omitempty" type:"Repeated"`
}

func (DescribeUserApiRequestResponseBody) GoString

func (*DescribeUserApiRequestResponseBody) SetRequestId

func (DescribeUserApiRequestResponseBody) String

type DescribeUserApiRequestResponseBodyRequests

type DescribeUserApiRequestResponseBodyRequests struct {
	// The number of entries returned.
	//
	// example:
	//
	// 76
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The type of the statistics. Valid values:
	//
	// 	- **client_list**: client
	//
	// 	- **ip**: IP address
	//
	// 	- **region_id*	- region
	//
	// 	- **country_id**: country
	//
	// example:
	//
	// {
	//
	//     "client_list": [
	//
	//         "Unknown"
	//
	//     ],
	//
	//     "ip": "47.92.113.***",
	//
	//     "region_id": "110000",
	//
	//     "country_id": "CN"
	//
	// }
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeUserApiRequestResponseBodyRequests) GoString

func (*DescribeUserApiRequestResponseBodyRequests) SetCount

func (*DescribeUserApiRequestResponseBodyRequests) SetValue

func (DescribeUserApiRequestResponseBodyRequests) String

type DescribeUserAssetRequest

type DescribeUserAssetRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The type of the statistics. Valid values:
	//
	// 	- **asset_num**: total number of APIs
	//
	// 	- **asset_active**: number of active APIs
	//
	// 	- **asset_newborn**: number of new APIs
	//
	// 	- **asset_offline**: number of deactivated APIs
	//
	// 	- **asset_bot**: number of APIs that are called by bots
	//
	// 	- **asset_cross_border**: number of APIs that are called for cross-border data transfer
	//
	// 	- **sensitive_api**: number of response-sensitive APIs
	//
	// 	- **sensitive_domain**: number of response-sensitive domain names
	//
	// This parameter is required.
	//
	// example:
	//
	// asset_num
	DataType *string `json:"DataType,omitempty" xml:"DataType,omitempty"`
	// The time at which the API was called. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// 	Notice: The parameter has been deprecated.
	//
	// example:
	//
	// 1723435200
	Days *string `json:"Days,omitempty" xml:"Days,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-uax37ijm***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeUserAssetRequest) GoString

func (s DescribeUserAssetRequest) GoString() string

func (*DescribeUserAssetRequest) SetClusterId

func (*DescribeUserAssetRequest) SetDataType

func (*DescribeUserAssetRequest) SetDays

func (*DescribeUserAssetRequest) SetInstanceId

func (*DescribeUserAssetRequest) SetRegionId

func (*DescribeUserAssetRequest) SetResourceManagerResourceGroupId

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

func (DescribeUserAssetRequest) String

func (s DescribeUserAssetRequest) String() string

type DescribeUserAssetResponse

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

func (DescribeUserAssetResponse) GoString

func (s DescribeUserAssetResponse) GoString() string

func (*DescribeUserAssetResponse) SetBody

func (*DescribeUserAssetResponse) SetHeaders

func (*DescribeUserAssetResponse) SetStatusCode

func (DescribeUserAssetResponse) String

func (s DescribeUserAssetResponse) String() string

type DescribeUserAssetResponseBody

type DescribeUserAssetResponseBody struct {
	// The API statistics.
	Assets []*DescribeUserAssetResponseBodyAssets `json:"Assets,omitempty" xml:"Assets,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// C1823E96-EF4B-5BD2-9E02-1D18****3ED8
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeUserAssetResponseBody) GoString

func (*DescribeUserAssetResponseBody) SetAssets

func (*DescribeUserAssetResponseBody) SetRequestId

func (DescribeUserAssetResponseBody) String

type DescribeUserAssetResponseBodyAssets

type DescribeUserAssetResponseBodyAssets struct {
	// The number of APIs returned.
	//
	// example:
	//
	// 134
	AssetNum *int64 `json:"AssetNum,omitempty" xml:"AssetNum,omitempty"`
	// The time at which the API was called. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1723435200
	TimeStamp *int64 `json:"TimeStamp,omitempty" xml:"TimeStamp,omitempty"`
}

func (DescribeUserAssetResponseBodyAssets) GoString

func (*DescribeUserAssetResponseBodyAssets) SetAssetNum

func (*DescribeUserAssetResponseBodyAssets) SetTimeStamp

func (DescribeUserAssetResponseBodyAssets) String

type DescribeUserEventTrendRequest

type DescribeUserEventTrendRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-7mz2797x***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzwwk****cv5i
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeUserEventTrendRequest) GoString

func (*DescribeUserEventTrendRequest) SetClusterId

func (*DescribeUserEventTrendRequest) SetInstanceId

func (*DescribeUserEventTrendRequest) SetRegionId

func (*DescribeUserEventTrendRequest) SetResourceManagerResourceGroupId

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

func (DescribeUserEventTrendRequest) String

type DescribeUserEventTrendResponse

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

func (DescribeUserEventTrendResponse) GoString

func (*DescribeUserEventTrendResponse) SetHeaders

func (*DescribeUserEventTrendResponse) SetStatusCode

func (DescribeUserEventTrendResponse) String

type DescribeUserEventTrendResponseBody

type DescribeUserEventTrendResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// F51E6DD6-B2D2-57C9-90F1-FAFD0A19DE00
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The trends of attacks.
	Trend []*DescribeUserEventTrendResponseBodyTrend `json:"Trend,omitempty" xml:"Trend,omitempty" type:"Repeated"`
}

func (DescribeUserEventTrendResponseBody) GoString

func (*DescribeUserEventTrendResponseBody) SetRequestId

func (DescribeUserEventTrendResponseBody) String

type DescribeUserEventTrendResponseBodyTrend

type DescribeUserEventTrendResponseBodyTrend struct {
	// The number of high-risk events.
	//
	// example:
	//
	// 9
	EventHigh *int64 `json:"EventHigh,omitempty" xml:"EventHigh,omitempty"`
	// The number of low-risk events.
	//
	// example:
	//
	// 23
	EventLow *int64 `json:"EventLow,omitempty" xml:"EventLow,omitempty"`
	// The number of medium-risk events.
	//
	// example:
	//
	// 17
	EventMedium *int64 `json:"EventMedium,omitempty" xml:"EventMedium,omitempty"`
	// The time at which the API was called. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// 	Notice: The parameter has been deprecated, it is recommended to use the Timestamp parameter.
	//
	// example:
	//
	// 1723435200
	TimeStamp *int64 `json:"TimeStamp,omitempty" xml:"TimeStamp,omitempty"`
	// The time at which the API was called. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1723435200
	Timestamp *int64 `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
}

func (DescribeUserEventTrendResponseBodyTrend) GoString

func (*DescribeUserEventTrendResponseBodyTrend) SetEventHigh

func (*DescribeUserEventTrendResponseBodyTrend) SetEventLow

func (*DescribeUserEventTrendResponseBodyTrend) SetEventMedium

func (*DescribeUserEventTrendResponseBodyTrend) SetTimeStamp

func (*DescribeUserEventTrendResponseBodyTrend) SetTimestamp

func (DescribeUserEventTrendResponseBodyTrend) String

type DescribeUserEventTypeRequest

type DescribeUserEventTypeRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 976
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1726113600
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-5y***h0t
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aek***ktt3y
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
	//
	// example:
	//
	// 1723435200
	StartTime *int64 `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeUserEventTypeRequest) GoString

func (s DescribeUserEventTypeRequest) GoString() string

func (*DescribeUserEventTypeRequest) SetClusterId

func (*DescribeUserEventTypeRequest) SetEndTime

func (*DescribeUserEventTypeRequest) SetInstanceId

func (*DescribeUserEventTypeRequest) SetRegionId

func (*DescribeUserEventTypeRequest) SetResourceManagerResourceGroupId

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

func (*DescribeUserEventTypeRequest) SetStartTime

func (DescribeUserEventTypeRequest) String

type DescribeUserEventTypeResponse

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

func (DescribeUserEventTypeResponse) GoString

func (*DescribeUserEventTypeResponse) SetBody

func (*DescribeUserEventTypeResponse) SetHeaders

func (*DescribeUserEventTypeResponse) SetStatusCode

func (DescribeUserEventTypeResponse) String

type DescribeUserEventTypeResponseBody

type DescribeUserEventTypeResponseBody struct {
	// The types and statistics of security events.
	Event []*DescribeUserEventTypeResponseBodyEvent `json:"Event,omitempty" xml:"Event,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 177BA739-6512-5470-98C6-E***0BAA3D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeUserEventTypeResponseBody) GoString

func (*DescribeUserEventTypeResponseBody) SetRequestId

func (DescribeUserEventTypeResponseBody) String

type DescribeUserEventTypeResponseBodyEvent

type DescribeUserEventTypeResponseBodyEvent struct {
	// The code of the security event.
	//
	// example:
	//
	// Event_LoginCollision
	EventCode *string `json:"EventCode,omitempty" xml:"EventCode,omitempty"`
	// The number of events.
	//
	// example:
	//
	// 0
	EventCount *int64 `json:"EventCount,omitempty" xml:"EventCount,omitempty"`
	// The parent type of the security event.
	//
	// example:
	//
	// EventType_Account
	EventParentType *string `json:"EventParentType,omitempty" xml:"EventParentType,omitempty"`
	// The type of the security event.
	//
	// >  You can call the [DescribeApisecRules](https://help.aliyun.com/document_detail/2859155.html) operation to query the supported types of security events.
	//
	// example:
	//
	// Event_AbnormalFrequency
	EventType *string `json:"EventType,omitempty" xml:"EventType,omitempty"`
}

func (DescribeUserEventTypeResponseBodyEvent) GoString

func (*DescribeUserEventTypeResponseBodyEvent) SetEventCode

func (*DescribeUserEventTypeResponseBodyEvent) SetEventCount

func (*DescribeUserEventTypeResponseBodyEvent) SetEventParentType

func (*DescribeUserEventTypeResponseBodyEvent) SetEventType

func (DescribeUserEventTypeResponseBodyEvent) String

type DescribeUserSlsLogRegionsRequest

type DescribeUserSlsLogRegionsRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-uqm2z****0a
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou:*	- Chinese mainland.
	//
	// 	- **ap-southeast-1:*	- outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeUserSlsLogRegionsRequest) GoString

func (*DescribeUserSlsLogRegionsRequest) SetInstanceId

func (*DescribeUserSlsLogRegionsRequest) SetRegionId

func (*DescribeUserSlsLogRegionsRequest) SetResourceManagerResourceGroupId

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

func (DescribeUserSlsLogRegionsRequest) String

type DescribeUserSlsLogRegionsResponse

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

func (DescribeUserSlsLogRegionsResponse) GoString

func (*DescribeUserSlsLogRegionsResponse) SetHeaders

func (*DescribeUserSlsLogRegionsResponse) SetStatusCode

func (DescribeUserSlsLogRegionsResponse) String

type DescribeUserSlsLogRegionsResponseBody

type DescribeUserSlsLogRegionsResponseBody struct {
	// The region IDs.
	LogRegions []*string `json:"LogRegions,omitempty" xml:"LogRegions,omitempty" type:"Repeated"`
	// The request ID.
	//
	// example:
	//
	// 9D11AC3A-A10C-56E7-A342-E87EC892****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeUserSlsLogRegionsResponseBody) GoString

func (*DescribeUserSlsLogRegionsResponseBody) SetLogRegions

func (*DescribeUserSlsLogRegionsResponseBody) SetRequestId

func (DescribeUserSlsLogRegionsResponseBody) String

type DescribeUserWafLogStatusRequest

type DescribeUserWafLogStatusRequest struct {
	// The ID of the WAF instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-nwy34****0j
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 阿里云资源组ID。
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeUserWafLogStatusRequest) GoString

func (*DescribeUserWafLogStatusRequest) SetInstanceId

func (*DescribeUserWafLogStatusRequest) SetRegionId

func (*DescribeUserWafLogStatusRequest) SetResourceManagerResourceGroupId

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

func (DescribeUserWafLogStatusRequest) String

type DescribeUserWafLogStatusResponse

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

func (DescribeUserWafLogStatusResponse) GoString

func (*DescribeUserWafLogStatusResponse) SetHeaders

func (*DescribeUserWafLogStatusResponse) SetStatusCode

func (DescribeUserWafLogStatusResponse) String

type DescribeUserWafLogStatusResponseBody

type DescribeUserWafLogStatusResponseBody struct {
	// The ID of the region where WAF logs are stored. Valid values:
	//
	// 	- **cn-hangzhou**: China (Hangzhou).
	//
	// 	- **cn-beijing**: China (Beijing).
	//
	// 	- **cn-hongkong**: China (Hong Kong).
	//
	// 	- **ap-southeast-1**: Singapore.
	//
	// 	- **ap-southeast-3**: Malaysia (Kuala Lumpur).
	//
	// 	- **ap-southeast-5**: Indonesia (Jakarta).
	//
	// 	- **ap-southeast-6**: Philippines (Manila).
	//
	// 	- **ap-southeast-7**: Thailand (Bangkok).
	//
	// 	- **me-east-1**: UAE (Dubai).
	//
	// 	- **eu-central-1**: Germany (Frankfurt).
	//
	// 	- **us-east-1**: US (Virginia).
	//
	// 	- **us-west-1**: US (Silicon Valley).
	//
	// 	- **ap-northeast-1**: Japan (Tokyo).
	//
	// 	- **ap-northeast-2**: South Korea (Seoul).
	//
	// 	- **eu-west-1**: UK (London).
	//
	// 	- **cn-hangzhou-finance**: China East 1 Finance.
	//
	// 	- **cn-shanghai-finance-1**: China East 2 Finance.
	//
	// 	- **cn-shenzhen-finance**: China South 1 Finance.
	//
	// >  The China East 1 Finance, China East 2 Finance, and China South 1 Finance regions are available only for Alibaba Finance Cloud users. Alibaba Finance Cloud users are also limited to storing logs within these specific regions.
	//
	// example:
	//
	// cn-hangzhou
	LogRegionId *string `json:"LogRegionId,omitempty" xml:"LogRegionId,omitempty"`
	// The status of WAF logs.
	//
	// 	- **initializing**
	//
	// 	- **initialize_failed**
	//
	// 	- **normal**
	//
	// 	- **releasing**
	//
	// 	- **release_failed**
	//
	// example:
	//
	// normal
	LogStatus *string `json:"LogStatus,omitempty" xml:"LogStatus,omitempty"`
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The time when the log status was modified. Unit: milliseconds.
	//
	// example:
	//
	// 1706771796859
	StatusUpdateTime *int64 `json:"StatusUpdateTime,omitempty" xml:"StatusUpdateTime,omitempty"`
}

func (DescribeUserWafLogStatusResponseBody) GoString

func (*DescribeUserWafLogStatusResponseBody) SetLogRegionId

func (*DescribeUserWafLogStatusResponseBody) SetLogStatus

func (*DescribeUserWafLogStatusResponseBody) SetRequestId

func (*DescribeUserWafLogStatusResponseBody) SetStatusUpdateTime

func (DescribeUserWafLogStatusResponseBody) 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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	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

func (*DescribeVisitTopIpRequest) SetResource

func (*DescribeVisitTopIpRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 5D2B8DAE-A761-58CB-A68D-74989E4831DA
	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.
	//
	// example:
	//
	// 310000
	Area *string `json:"Area,omitempty" xml:"Area,omitempty"`
	// The total number of requests that are sent from the IP address.
	//
	// example:
	//
	// 2622
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The IP address.
	//
	// example:
	//
	// 1.1.XX.XX
	Ip *string `json:"Ip,omitempty" xml:"Ip,omitempty"`
	// The ISP.
	//
	// example:
	//
	// AAA
	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.
	//
	// example:
	//
	// 1665386280
	EndTimestamp *string `json:"EndTimestamp,omitempty" xml:"EndTimestamp,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region ID of the WAF instance. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object.
	//
	// example:
	//
	// www.aliyundoc.com
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The beginning of the time range to query. Unit: seconds.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1665331200
	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

func (*DescribeVisitUasRequest) SetResource

func (*DescribeVisitUasRequest) SetResourceManagerResourceGroupId

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

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.
	//
	// example:
	//
	// 2847CE98-AFAE-5A64-B80E-60461717F9DE
	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.
	//
	// example:
	//
	// 698455
	Count *int64 `json:"Count,omitempty" xml:"Count,omitempty"`
	// The user agent.
	//
	// example:
	//
	// chrome
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-*****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (DescribeWafSourceIpSegmentRequest) GoString

func (*DescribeWafSourceIpSegmentRequest) SetInstanceId

func (*DescribeWafSourceIpSegmentRequest) SetRegionId

func (*DescribeWafSourceIpSegmentRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 9087ADDC-9047-4D02-82A7-33021B58083C
	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 ListTagKeysRequest

type ListTagKeysRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-wwo****iw02
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results.
	//
	// example:
	//
	// caeba0bbb2be03f84eb48b699f0*****
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The type of the resource. Set the value to ALIYUN::WAF::DEFENSERESOURCE.
	//
	// This parameter is required.
	//
	// example:
	//
	// ALIYUN::WAF::DEFENSERESOURCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListTagKeysRequest) GoString

func (s ListTagKeysRequest) GoString() string

func (*ListTagKeysRequest) SetInstanceId

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

func (*ListTagKeysRequest) SetNextToken

func (s *ListTagKeysRequest) SetNextToken(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetRegionId

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

func (*ListTagKeysRequest) SetResourceType

func (s *ListTagKeysRequest) SetResourceType(v string) *ListTagKeysRequest

func (ListTagKeysRequest) String

func (s ListTagKeysRequest) String() string

type ListTagKeysResponse

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

func (ListTagKeysResponse) GoString

func (s ListTagKeysResponse) GoString() string

func (*ListTagKeysResponse) SetBody

func (*ListTagKeysResponse) SetHeaders

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

func (*ListTagKeysResponse) SetStatusCode

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

func (ListTagKeysResponse) String

func (s ListTagKeysResponse) String() string

type ListTagKeysResponseBody

type ListTagKeysResponseBody struct {
	// The keys and types of the tags.
	Keys []*ListTagKeysResponseBodyKeys `json:"Keys,omitempty" xml:"Keys,omitempty" type:"Repeated"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
	//
	// example:
	//
	// caeba0bbb2be03f84eb48b699f0*****
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 8CB8BB88-24C7-5608-BF5E-4DCA****CF1C
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListTagKeysResponseBody) GoString

func (s ListTagKeysResponseBody) GoString() string

func (*ListTagKeysResponseBody) SetKeys

func (*ListTagKeysResponseBody) SetNextToken

func (*ListTagKeysResponseBody) SetRequestId

func (ListTagKeysResponseBody) String

func (s ListTagKeysResponseBody) String() string

type ListTagKeysResponseBodyKeys

type ListTagKeysResponseBodyKeys struct {
	// The type of the tag. Valid values:
	//
	// 	- custom
	//
	// 	- system
	//
	// example:
	//
	// custom
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The key of the tag.
	//
	// example:
	//
	// demoTagKey
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (ListTagKeysResponseBodyKeys) GoString

func (s ListTagKeysResponseBodyKeys) GoString() string

func (*ListTagKeysResponseBodyKeys) SetCategory

func (*ListTagKeysResponseBodyKeys) SetKey

func (ListTagKeysResponseBodyKeys) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The pagination token that is used in the next request to retrieve a new page of results.
	//
	// example:
	//
	// caeba0bbb2be03f84eb48b699f0*****
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource IDs. You can specify up to 50 resource IDs.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Set the value to ALIYUN::WAF::DEFENSERESOURCE.
	//
	// This parameter is required.
	//
	// example:
	//
	// ALIYUN::WAF::DEFENSERESOURCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags that are added to the resource.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetRegionId

func (*ListTagResourcesRequest) SetResourceId

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTag

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTag

type ListTagResourcesRequestTag struct {
	// The key of tag N that is added to the resource. Valid values of N: 1 to 20.
	//
	// example:
	//
	// Tagkey1
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N that is added to the resource. Valid values of N: 1 to 20.
	//
	// example:
	//
	// TagValue1
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesRequestTag) GoString

func (s ListTagResourcesRequestTag) GoString() string

func (*ListTagResourcesRequestTag) SetKey

func (*ListTagResourcesRequestTag) SetValue

func (ListTagResourcesRequestTag) String

type ListTagResourcesResponse

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

func (ListTagResourcesResponse) GoString

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody

func (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

func (ListTagResourcesResponse) String

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody

type ListTagResourcesResponseBody struct {
	// A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
	//
	// example:
	//
	// caeba0bbb2be03f84eb48b699f0*****
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 716E64DA-044F-51C7-B528-2FBF****AE4F
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The list of resources.
	TagResources []*ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (*ListTagResourcesResponseBody) SetTagResources

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	// The resource ID.
	//
	// example:
	//
	// c754d2a4-28f1-46df-b557-9586173a****
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource. ALIYUN::WAF::DEFENSERESOURCE is returned.
	//
	// example:
	//
	// ALIYUN::WAF::DEFENSERESOURCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The key of tag N that is added to the resource.
	//
	// example:
	//
	// TagKey1
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The value of tag N that is added to the resource.
	//
	// example:
	//
	// TayValue1
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (*ListTagResourcesResponseBodyTagResources) SetResourceId

func (*ListTagResourcesResponseBodyTagResources) SetResourceType

func (*ListTagResourcesResponseBodyTagResources) SetTagKey

func (*ListTagResourcesResponseBodyTagResources) SetTagValue

func (ListTagResourcesResponseBodyTagResources) String

type ListTagValuesRequest

type ListTagValuesRequest struct {
	// The ID of the WAF instance.
	//
	// >  Obtain the ID of the WAF instance by calling the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-lbj****x10g
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The tag key.
	//
	// This parameter is required.
	//
	// example:
	//
	// demoKey
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results.
	//
	// example:
	//
	// caeba0bbb2be03f84eb48b699f0*****
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The region of the WAF instance. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: Outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-aekzwwk****cv5i
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The type of the resource. Set the value to ALIYUN::WAF::DEFENSERESOURCE.
	//
	// This parameter is required.
	//
	// example:
	//
	// ALIYUN::WAF::DEFENSERESOURCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListTagValuesRequest) GoString

func (s ListTagValuesRequest) GoString() string

func (*ListTagValuesRequest) SetInstanceId

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

func (*ListTagValuesRequest) SetKey

func (*ListTagValuesRequest) SetNextToken

func (s *ListTagValuesRequest) SetNextToken(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetRegionId

func (*ListTagValuesRequest) SetResourceManagerResourceGroupId

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

func (*ListTagValuesRequest) SetResourceType

func (s *ListTagValuesRequest) SetResourceType(v string) *ListTagValuesRequest

func (ListTagValuesRequest) String

func (s ListTagValuesRequest) String() string

type ListTagValuesResponse

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

func (ListTagValuesResponse) GoString

func (s ListTagValuesResponse) GoString() string

func (*ListTagValuesResponse) SetBody

func (*ListTagValuesResponse) SetHeaders

func (*ListTagValuesResponse) SetStatusCode

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

func (ListTagValuesResponse) String

func (s ListTagValuesResponse) String() string

type ListTagValuesResponseBody

type ListTagValuesResponseBody struct {
	// A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
	//
	// example:
	//
	// caeba0bbb2be03f84eb48b699f0*****
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 705114BB-EAEF-5CC4-8837-F1D4****BB5B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The tag values.
	Values []*string `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ListTagValuesResponseBody) GoString

func (s ListTagValuesResponseBody) GoString() string

func (*ListTagValuesResponseBody) SetNextToken

func (*ListTagValuesResponseBody) SetRequestId

func (*ListTagValuesResponseBody) SetValues

func (ListTagValuesResponseBody) String

func (s ListTagValuesResponseBody) String() string

type ModifyApisecAbnormalsRequest

type ModifyApisecAbnormalsRequest struct {
	// The risk IDs.
	//
	// This parameter is required.
	AbnormalIds []*string `json:"AbnormalIds,omitempty" xml:"AbnormalIds,omitempty" type:"Repeated"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The description.
	//
	// example:
	//
	// already fixed.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 阿里云资源组ID。
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The risk status. Valid values:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **toBeFixed**
	//
	// 	- **fixed**
	//
	// 	- **ignored**
	//
	// This parameter is required.
	//
	// example:
	//
	// fixed
	UserStatus *string `json:"UserStatus,omitempty" xml:"UserStatus,omitempty"`
}

func (ModifyApisecAbnormalsRequest) GoString

func (s ModifyApisecAbnormalsRequest) GoString() string

func (*ModifyApisecAbnormalsRequest) SetAbnormalIds

func (*ModifyApisecAbnormalsRequest) SetClusterId

func (*ModifyApisecAbnormalsRequest) SetInstanceId

func (*ModifyApisecAbnormalsRequest) SetNote

func (*ModifyApisecAbnormalsRequest) SetRegionId

func (*ModifyApisecAbnormalsRequest) SetResourceManagerResourceGroupId

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

func (*ModifyApisecAbnormalsRequest) SetUserStatus

func (ModifyApisecAbnormalsRequest) String

type ModifyApisecAbnormalsResponse

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

func (ModifyApisecAbnormalsResponse) GoString

func (*ModifyApisecAbnormalsResponse) SetBody

func (*ModifyApisecAbnormalsResponse) SetHeaders

func (*ModifyApisecAbnormalsResponse) SetStatusCode

func (ModifyApisecAbnormalsResponse) String

type ModifyApisecAbnormalsResponseBody

type ModifyApisecAbnormalsResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// C1823E96-EF4B-5BD2-9E02-1D18****3ED8
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyApisecAbnormalsResponseBody) GoString

func (*ModifyApisecAbnormalsResponseBody) SetRequestId

func (ModifyApisecAbnormalsResponseBody) String

type ModifyApisecApiResourceRequest

type ModifyApisecApiResourceRequest struct {
	// The ID of the API.
	//
	// This parameter is required.
	//
	// example:
	//
	// c68995b89069595c5c0399676f3ca64f
	ApiId *string `json:"ApiId,omitempty" xml:"ApiId,omitempty"`
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// Specifies whether to follow the API. Valid values:
	//
	// 	- **1**: yes
	//
	// 	- **0*	- (default): no
	//
	// example:
	//
	// 0
	Follow *int64 `json:"Follow,omitempty" xml:"Follow,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0xldbqt****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The remarks.
	//
	// example:
	//
	// know
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyApisecApiResourceRequest) GoString

func (*ModifyApisecApiResourceRequest) SetApiId

func (*ModifyApisecApiResourceRequest) SetClusterId

func (*ModifyApisecApiResourceRequest) SetFollow

func (*ModifyApisecApiResourceRequest) SetInstanceId

func (*ModifyApisecApiResourceRequest) SetNote

func (*ModifyApisecApiResourceRequest) SetRegionId

func (*ModifyApisecApiResourceRequest) SetResourceManagerResourceGroupId

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

func (ModifyApisecApiResourceRequest) String

type ModifyApisecApiResourceResponse

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

func (ModifyApisecApiResourceResponse) GoString

func (*ModifyApisecApiResourceResponse) SetHeaders

func (*ModifyApisecApiResourceResponse) SetStatusCode

func (ModifyApisecApiResourceResponse) String

type ModifyApisecApiResourceResponseBody

type ModifyApisecApiResourceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyApisecApiResourceResponseBody) GoString

func (*ModifyApisecApiResourceResponseBody) SetRequestId

func (ModifyApisecApiResourceResponseBody) String

type ModifyApisecEventsRequest

type ModifyApisecEventsRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// >For hybrid cloud scenarios only, you can call the [DescribeHybridCloudClusters](https://help.aliyun.com/document_detail/2849376.html) operation to query the hybrid cloud clusters.
	//
	// example:
	//
	// 428
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The IDs of the security events.
	//
	// This parameter is required.
	EventIds []*string `json:"EventIds,omitempty" xml:"EventIds,omitempty" type:"Repeated"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The description.
	//
	// example:
	//
	// already confirmed.
	Note *string `json:"Note,omitempty" xml:"Note,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 阿里云资源组ID。
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The status of the event. Valid values:
	//
	// 	- **toBeConfirmed**
	//
	// 	- **confirmed**
	//
	// 	- **ignored**
	//
	// This parameter is required.
	//
	// example:
	//
	// confirmed
	UserStatus *string `json:"UserStatus,omitempty" xml:"UserStatus,omitempty"`
}

func (ModifyApisecEventsRequest) GoString

func (s ModifyApisecEventsRequest) GoString() string

func (*ModifyApisecEventsRequest) SetClusterId

func (*ModifyApisecEventsRequest) SetEventIds

func (*ModifyApisecEventsRequest) SetInstanceId

func (*ModifyApisecEventsRequest) SetNote

func (*ModifyApisecEventsRequest) SetRegionId

func (*ModifyApisecEventsRequest) SetResourceManagerResourceGroupId

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

func (*ModifyApisecEventsRequest) SetUserStatus

func (ModifyApisecEventsRequest) String

func (s ModifyApisecEventsRequest) String() string

type ModifyApisecEventsResponse

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

func (ModifyApisecEventsResponse) GoString

func (s ModifyApisecEventsResponse) GoString() string

func (*ModifyApisecEventsResponse) SetBody

func (*ModifyApisecEventsResponse) SetHeaders

func (*ModifyApisecEventsResponse) SetStatusCode

func (ModifyApisecEventsResponse) String

type ModifyApisecEventsResponseBody

type ModifyApisecEventsResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-****-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyApisecEventsResponseBody) GoString

func (*ModifyApisecEventsResponseBody) SetRequestId

func (ModifyApisecEventsResponseBody) String

type ModifyApisecLogDeliveryRequest

type ModifyApisecLogDeliveryRequest struct {
	// The type of the log subscription. Valid values:
	//
	// 	- **risk**: risk information.
	//
	// 	- **event**: attack event information.
	//
	// 	- **asset**: asset information.
	//
	// This parameter is required.
	//
	// example:
	//
	// risk
	AssertKey *string `json:"AssertKey,omitempty" xml:"AssertKey,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3_public_cn-uqm2z****0a
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the region where logs are stored.
	//
	// >  You can call the [DescribeUserSlsLogRegions](https://help.aliyun.com/document_detail/2712598.html) operation to query available log storage regions.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	LogRegionId *string `json:"LogRegionId,omitempty" xml:"LogRegionId,omitempty"`
	// The name of the Logstore in Simple Log Service.
	//
	// >  API security logs can be delivered only to Logstores whose names start with apisec-.
	//
	// This parameter is required.
	//
	// example:
	//
	// apisec-logstore***
	LogStoreName *string `json:"LogStoreName,omitempty" xml:"LogStoreName,omitempty"`
	// The name of the project in Simple Log Service.
	//
	// >  API security logs can be delivered only to projects whose names start with apisec-.
	//
	// This parameter is required.
	//
	// example:
	//
	// apisec-project-14316572********
	ProjectName *string `json:"ProjectName,omitempty" xml:"ProjectName,omitempty"`
	// The region where the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyApisecLogDeliveryRequest) GoString

func (*ModifyApisecLogDeliveryRequest) SetAssertKey

func (*ModifyApisecLogDeliveryRequest) SetInstanceId

func (*ModifyApisecLogDeliveryRequest) SetLogRegionId

func (*ModifyApisecLogDeliveryRequest) SetLogStoreName

func (*ModifyApisecLogDeliveryRequest) SetProjectName

func (*ModifyApisecLogDeliveryRequest) SetRegionId

func (*ModifyApisecLogDeliveryRequest) SetResourceManagerResourceGroupId

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

func (ModifyApisecLogDeliveryRequest) String

type ModifyApisecLogDeliveryResponse

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

func (ModifyApisecLogDeliveryResponse) GoString

func (*ModifyApisecLogDeliveryResponse) SetHeaders

func (*ModifyApisecLogDeliveryResponse) SetStatusCode

func (ModifyApisecLogDeliveryResponse) String

type ModifyApisecLogDeliveryResponseBody

type ModifyApisecLogDeliveryResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// F35F45B0-5D6B-4238-BE02-A62D****E840
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyApisecLogDeliveryResponseBody) GoString

func (*ModifyApisecLogDeliveryResponseBody) SetRequestId

func (ModifyApisecLogDeliveryResponseBody) String

type ModifyApisecLogDeliveryStatusRequest

type ModifyApisecLogDeliveryStatusRequest struct {
	// The type of the log subscription. Valid values:
	//
	// 	- **risk**: risk information.
	//
	// 	- **event**: attack event information.
	//
	// 	- **asset**: asset information.
	//
	// This parameter is required.
	//
	// example:
	//
	// risk
	AssertKey *string `json:"AssertKey,omitempty" xml:"AssertKey,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3_public_cn-uqm2z****0a
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region where the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The status of API security log subscription. Valid values:
	//
	// 	- **true**: enabled.
	//
	// 	- **false**: disabled.
	//
	// This parameter is required.
	//
	// example:
	//
	// true
	Status *bool `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ModifyApisecLogDeliveryStatusRequest) GoString

func (*ModifyApisecLogDeliveryStatusRequest) SetAssertKey

func (*ModifyApisecLogDeliveryStatusRequest) SetInstanceId

func (*ModifyApisecLogDeliveryStatusRequest) SetRegionId

func (*ModifyApisecLogDeliveryStatusRequest) SetResourceManagerResourceGroupId

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

func (*ModifyApisecLogDeliveryStatusRequest) SetStatus

func (ModifyApisecLogDeliveryStatusRequest) String

type ModifyApisecLogDeliveryStatusResponse

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

func (ModifyApisecLogDeliveryStatusResponse) GoString

func (*ModifyApisecLogDeliveryStatusResponse) SetHeaders

func (*ModifyApisecLogDeliveryStatusResponse) SetStatusCode

func (ModifyApisecLogDeliveryStatusResponse) String

type ModifyApisecLogDeliveryStatusResponseBody

type ModifyApisecLogDeliveryStatusResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// F35F45B0-5D6B-4238-BE02-A62D****E840
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyApisecLogDeliveryStatusResponseBody) GoString

func (*ModifyApisecLogDeliveryStatusResponseBody) SetRequestId

func (ModifyApisecLogDeliveryStatusResponseBody) String

type ModifyApisecModuleStatusRequest

type ModifyApisecModuleStatusRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0xldbqtm**
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The status of the compliance check feature. Valid values:
	//
	// 	- **1**: enabled
	//
	// 	- **0**: disabled
	//
	// example:
	//
	// 1
	ReportStatus *int64 `json:"ReportStatus,omitempty" xml:"ReportStatus,omitempty"`
	// The name of the protected object group to which the protected object belongs.
	//
	// example:
	//
	// group1
	ResourceGroups *string `json:"ResourceGroups,omitempty" xml:"ResourceGroups,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The name of the protected object.
	//
	// example:
	//
	// cwaf-***-waf
	Resources *string `json:"Resources,omitempty" xml:"Resources,omitempty"`
	// The status of the tracing and auditing feature. Valid values:
	//
	// 	- **1**: enabled
	//
	// 	- **0**: disabled
	//
	// example:
	//
	// 1
	TraceStatus *int32 `json:"TraceStatus,omitempty" xml:"TraceStatus,omitempty"`
}

func (ModifyApisecModuleStatusRequest) GoString

func (*ModifyApisecModuleStatusRequest) SetInstanceId

func (*ModifyApisecModuleStatusRequest) SetRegionId

func (*ModifyApisecModuleStatusRequest) SetReportStatus

func (*ModifyApisecModuleStatusRequest) SetResourceGroups

func (*ModifyApisecModuleStatusRequest) SetResourceManagerResourceGroupId

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

func (*ModifyApisecModuleStatusRequest) SetResources

func (*ModifyApisecModuleStatusRequest) SetTraceStatus

func (ModifyApisecModuleStatusRequest) String

type ModifyApisecModuleStatusResponse

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

func (ModifyApisecModuleStatusResponse) GoString

func (*ModifyApisecModuleStatusResponse) SetHeaders

func (*ModifyApisecModuleStatusResponse) SetStatusCode

func (ModifyApisecModuleStatusResponse) String

type ModifyApisecModuleStatusResponseBody

type ModifyApisecModuleStatusResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyApisecModuleStatusResponseBody) GoString

func (*ModifyApisecModuleStatusResponseBody) SetRequestId

func (ModifyApisecModuleStatusResponseBody) String

type ModifyApisecStatusRequest

type ModifyApisecStatusRequest struct {
	// The status of the API security module. Valid values:
	//
	// 	- **1**: enabled
	//
	// 	- **0**: disabled
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ApisecStatus *int32 `json:"ApisecStatus,omitempty" xml:"ApisecStatus,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-tl32ast****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the protected object group to which the protected object belongs.
	//
	// example:
	//
	// group
	ResourceGroups *string `json:"ResourceGroups,omitempty" xml:"ResourceGroups,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The name of the protected object.
	//
	// example:
	//
	// alb-wewbb23dfset***
	Resources *string `json:"Resources,omitempty" xml:"Resources,omitempty"`
}

func (ModifyApisecStatusRequest) GoString

func (s ModifyApisecStatusRequest) GoString() string

func (*ModifyApisecStatusRequest) SetApisecStatus

func (*ModifyApisecStatusRequest) SetInstanceId

func (*ModifyApisecStatusRequest) SetRegionId

func (*ModifyApisecStatusRequest) SetResourceGroups

func (*ModifyApisecStatusRequest) SetResourceManagerResourceGroupId

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

func (*ModifyApisecStatusRequest) SetResources

func (ModifyApisecStatusRequest) String

func (s ModifyApisecStatusRequest) String() string

type ModifyApisecStatusResponse

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

func (ModifyApisecStatusResponse) GoString

func (s ModifyApisecStatusResponse) GoString() string

func (*ModifyApisecStatusResponse) SetBody

func (*ModifyApisecStatusResponse) SetHeaders

func (*ModifyApisecStatusResponse) SetStatusCode

func (ModifyApisecStatusResponse) String

type ModifyApisecStatusResponseBody

type ModifyApisecStatusResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyApisecStatusResponseBody) GoString

func (*ModifyApisecStatusResponseBody) SetRequestId

func (ModifyApisecStatusResponseBody) String

type ModifyCloudResourceRequest

type ModifyCloudResourceRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	//
	// This parameter is required.
	Listen *ModifyCloudResourceRequestListen `json:"Listen,omitempty" xml:"Listen,omitempty" type:"Struct"`
	// The configurations of the forwarding rule.
	Redirect *ModifyCloudResourceRequestRedirect `json:"Redirect,omitempty" xml:"Redirect,omitempty" type:"Struct"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyCloudResourceRequest) GoString

func (s ModifyCloudResourceRequest) GoString() string

func (*ModifyCloudResourceRequest) SetInstanceId

func (*ModifyCloudResourceRequest) SetListen

func (*ModifyCloudResourceRequest) SetRedirect

func (*ModifyCloudResourceRequest) SetRegionId

func (*ModifyCloudResourceRequest) SetResourceManagerResourceGroupId

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

func (ModifyCloudResourceRequest) String

type ModifyCloudResourceRequestListen

type ModifyCloudResourceRequestListen struct {
	// An array of certificates.
	Certificates []*ModifyCloudResourceRequestListenCertificates `json:"Certificates,omitempty" xml:"Certificates,omitempty" type:"Repeated"`
	// The type of the cipher suites 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 set the parameter to this value only if you set **TLSVersion*	- to **tlsv1.2**.
	//
	// 	- **99**: custom cipher suites.
	//
	// example:
	//
	// 1
	CipherSuite *int32 `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// An array of custom cipher suites.
	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**
	//
	// if can be null:
	// true
	//
	// example:
	//
	// true
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// Specifies whether to enable HTTP/2. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// 	- **true**
	//
	// 	- **false*	- (default)
	//
	// example:
	//
	// true
	Http2Enabled *bool `json:"Http2Enabled,omitempty" xml:"Http2Enabled,omitempty"`
	// The port of the resource that you want to add to WAF.
	//
	// This parameter is required.
	//
	// example:
	//
	// 80
	Port *int32 `json:"Port,omitempty" xml:"Port,omitempty"`
	// The type of the protocol. Valid values:
	//
	// 	- **http**
	//
	// 	- **https**
	//
	// This parameter is required.
	//
	// example:
	//
	// http
	Protocol *string `json:"Protocol,omitempty" xml:"Protocol,omitempty"`
	// The ID of the resource.
	//
	// This parameter is required.
	//
	// example:
	//
	// lb-***
	ResourceInstanceId *string `json:"ResourceInstanceId,omitempty" xml:"ResourceInstanceId,omitempty"`
	// The cloud service. Valid values:
	//
	// 	- **clb4**: Layer 4 Classic Load Balancer (CLB).
	//
	// 	- **clb7**: Layer 7 CLB.
	//
	// 	- **ecs**: Elastic Compute Service (ECS).
	//
	// This parameter is required.
	//
	// example:
	//
	// clb7
	ResourceProduct *string `json:"ResourceProduct,omitempty" xml:"ResourceProduct,omitempty"`
	// The Transport Layer Security (TLS) version. This parameter is available only if you specify **HttpsPorts**. Valid values:
	//
	// 	- **tlsv1**
	//
	// 	- **tlsv1.1**
	//
	// 	- **tlsv1.2**
	//
	// example:
	//
	// tlsv1.2
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
}

func (ModifyCloudResourceRequestListen) GoString

func (*ModifyCloudResourceRequestListen) SetCipherSuite

func (*ModifyCloudResourceRequestListen) SetCustomCiphers

func (*ModifyCloudResourceRequestListen) SetEnableTLSv3

func (*ModifyCloudResourceRequestListen) SetHttp2Enabled

func (*ModifyCloudResourceRequestListen) SetPort

func (*ModifyCloudResourceRequestListen) SetProtocol

func (*ModifyCloudResourceRequestListen) SetResourceInstanceId

func (*ModifyCloudResourceRequestListen) SetResourceProduct

func (*ModifyCloudResourceRequestListen) SetTLSVersion

func (ModifyCloudResourceRequestListen) String

type ModifyCloudResourceRequestListenCertificates

type ModifyCloudResourceRequestListenCertificates struct {
	// The type of the HTTPS certificate. Valid values:
	//
	// 	- **default**: default certificate.
	//
	// 	- **extension**: additional certificate.
	//
	// example:
	//
	// default
	AppliedType *string `json:"AppliedType,omitempty" xml:"AppliedType,omitempty"`
	// The ID of the certificate.
	//
	// example:
	//
	// 123-cn-hangzhou
	CertificateId *string `json:"CertificateId,omitempty" xml:"CertificateId,omitempty"`
}

func (ModifyCloudResourceRequestListenCertificates) GoString

func (*ModifyCloudResourceRequestListenCertificates) SetAppliedType

func (*ModifyCloudResourceRequestListenCertificates) SetCertificateId

func (ModifyCloudResourceRequestListenCertificates) String

type ModifyCloudResourceRequestRedirect

type ModifyCloudResourceRequestRedirect struct {
	// Specifies whether to enable the persistent connection feature. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false:**
	//
	// example:
	//
	// true
	Keepalive *bool `json:"Keepalive,omitempty" xml:"Keepalive,omitempty"`
	// The number of requests that reuse persistent connections. Valid values: 60 to 1000.
	//
	// >  This parameter specifies the number of requests that can reuse persistent connections after you enable the persistent connection feature.
	//
	// example:
	//
	// 1000
	KeepaliveRequests *int32 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period for idle persistent connections. Valid values: 10 to 3600. Default value: 3600. Unit: seconds.
	//
	// >  If no new requests are initiated over the idle persistent connection within the specified timeout period, the connection is closed.
	//
	// example:
	//
	// 15
	KeepaliveTimeout *int32 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The timeout period for read connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 1
	ReadTimeout *int32 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The custom header field that you want to use to label requests that are processed by WAF.
	RequestHeaders []*ModifyCloudResourceRequestRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// The timeout period for write connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 1
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	// The method that WAF uses to obtain the originating 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 originating IP address of the client.
	//
	// 	- **2**: WAF reads the value of a custom header field as the originating IP address of the client.
	//
	// example:
	//
	// 0
	XffHeaderMode *int32 `json:"XffHeaderMode,omitempty" xml:"XffHeaderMode,omitempty"`
	// The custom header field that is used to obtain the originating IP address of a client. Specify the value in the ["header1","header2",...] format.
	//
	// >  This parameter is required only if you set **XffHeaderMode*	- to 2.
	XffHeaders []*string `json:"XffHeaders,omitempty" xml:"XffHeaders,omitempty" type:"Repeated"`
	// Specifies whether to use the X-Forward-For-Proto header to identify the protocol used by WAF to forward requests to the origin server. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	XffProto *bool `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (ModifyCloudResourceRequestRedirect) GoString

func (*ModifyCloudResourceRequestRedirect) SetKeepalive

func (*ModifyCloudResourceRequestRedirect) SetKeepaliveRequests

func (*ModifyCloudResourceRequestRedirect) SetKeepaliveTimeout

func (*ModifyCloudResourceRequestRedirect) SetReadTimeout

func (*ModifyCloudResourceRequestRedirect) SetWriteTimeout

func (*ModifyCloudResourceRequestRedirect) SetXffHeaderMode

func (*ModifyCloudResourceRequestRedirect) SetXffHeaders

func (*ModifyCloudResourceRequestRedirect) SetXffProto

func (ModifyCloudResourceRequestRedirect) String

type ModifyCloudResourceRequestRedirectRequestHeaders

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

func (ModifyCloudResourceRequestRedirectRequestHeaders) GoString

func (*ModifyCloudResourceRequestRedirectRequestHeaders) SetKey

func (*ModifyCloudResourceRequestRedirectRequestHeaders) SetValue

func (ModifyCloudResourceRequestRedirectRequestHeaders) String

type ModifyCloudResourceResponse

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

func (ModifyCloudResourceResponse) GoString

func (s ModifyCloudResourceResponse) GoString() string

func (*ModifyCloudResourceResponse) SetBody

func (*ModifyCloudResourceResponse) SetHeaders

func (*ModifyCloudResourceResponse) SetStatusCode

func (ModifyCloudResourceResponse) String

type ModifyCloudResourceResponseBody

type ModifyCloudResourceResponseBody struct {
	// The ID of the resource that is added to WAF.
	//
	// example:
	//
	// lb-xxx-80-clb7
	CloudResource *string `json:"CloudResource,omitempty" xml:"CloudResource,omitempty"`
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyCloudResourceResponseBody) GoString

func (*ModifyCloudResourceResponseBody) SetCloudResource

func (*ModifyCloudResourceResponseBody) SetRequestId

func (ModifyCloudResourceResponseBody) String

type ModifyCloudResourceShrinkRequest

type ModifyCloudResourceShrinkRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	//
	// This parameter is required.
	ListenShrink *string `json:"Listen,omitempty" xml:"Listen,omitempty"`
	// The configurations of the forwarding rule.
	RedirectShrink *string `json:"Redirect,omitempty" xml:"Redirect,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyCloudResourceShrinkRequest) GoString

func (*ModifyCloudResourceShrinkRequest) SetInstanceId

func (*ModifyCloudResourceShrinkRequest) SetListenShrink

func (*ModifyCloudResourceShrinkRequest) SetRedirectShrink

func (*ModifyCloudResourceShrinkRequest) SetRegionId

func (*ModifyCloudResourceShrinkRequest) SetResourceManagerResourceGroupId

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

func (ModifyCloudResourceShrinkRequest) String

type ModifyDefaultHttpsRequest

type ModifyDefaultHttpsRequest struct {
	// The ID of the certificate.
	//
	// This parameter is required.
	//
	// example:
	//
	// 123-cn-hangzhou
	CertId *string `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.
	//
	// example:
	//
	// 0
	CipherSuite *int32 `json:"CipherSuite,omitempty" xml:"CipherSuite,omitempty"`
	// The custom cipher suites that you want to add. This parameter is available only if you set **CipherSuite*	- to **99**.
	CustomCiphers []*string `json:"CustomCiphers,omitempty" xml:"CustomCiphers,omitempty" type:"Repeated"`
	// Specifies whether to support TLS 1.3. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	EnableTLSv3 *bool `json:"EnableTLSv3,omitempty" xml:"EnableTLSv3,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 阿里云资源组ID。
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The version of the TLS protocol. Valid values:
	//
	// 	- **tlsv1**
	//
	// 	- **tlsv1.1**
	//
	// 	- **tlsv1.2**
	//
	// This parameter is required.
	//
	// example:
	//
	// tlsv1
	TLSVersion *string `json:"TLSVersion,omitempty" xml:"TLSVersion,omitempty"`
}

func (ModifyDefaultHttpsRequest) GoString

func (s ModifyDefaultHttpsRequest) GoString() string

func (*ModifyDefaultHttpsRequest) SetCertId

func (*ModifyDefaultHttpsRequest) SetCipherSuite

func (*ModifyDefaultHttpsRequest) SetCustomCiphers

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

func (*ModifyDefaultHttpsRequest) SetEnableTLSv3

func (*ModifyDefaultHttpsRequest) SetInstanceId

func (*ModifyDefaultHttpsRequest) SetRegionId

func (*ModifyDefaultHttpsRequest) SetResourceManagerResourceGroupId

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

func (*ModifyDefaultHttpsRequest) SetTLSVersion

func (ModifyDefaultHttpsRequest) String

func (s ModifyDefaultHttpsRequest) String() string

type ModifyDefaultHttpsResponse

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

func (ModifyDefaultHttpsResponse) GoString

func (s ModifyDefaultHttpsResponse) GoString() string

func (*ModifyDefaultHttpsResponse) SetBody

func (*ModifyDefaultHttpsResponse) SetHeaders

func (*ModifyDefaultHttpsResponse) SetStatusCode

func (ModifyDefaultHttpsResponse) String

type ModifyDefaultHttpsResponseBody

type ModifyDefaultHttpsResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 276D7566-31C9-4192-9DD1-***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefaultHttpsResponseBody) GoString

func (*ModifyDefaultHttpsResponseBody) SetRequestId

func (ModifyDefaultHttpsResponseBody) 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.
	//
	// example:
	//
	// test1.aliyundoc.com,test2.aliyundoc.com
	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.
	//
	// example:
	//
	// test14.waf.com,test24.waf.com
	DeleteList *string `json:"DeleteList,omitempty" xml:"DeleteList,omitempty"`
	// The description of the protected object group.
	//
	// example:
	//
	// test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the protected object group whose configurations you want to modify.
	//
	// This parameter is required.
	//
	// example:
	//
	// test01
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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

func (*ModifyDefenseResourceGroupRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 2CC1AFDE-BB31-5A2F-906E-92FCBDDE6B75
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseResourceGroupResponseBody) GoString

func (*ModifyDefenseResourceGroupResponseBody) SetRequestId

func (ModifyDefenseResourceGroupResponseBody) String

type ModifyDefenseResourceXffRequest

type ModifyDefenseResourceXffRequest struct {
	// The status of the tracking cookie.
	//
	// 	- **0**: disabled
	//
	// 	- **1**: enabled. This is the default value.
	//
	// example:
	//
	// 0
	AcwCookieStatus *int32 `json:"AcwCookieStatus,omitempty" xml:"AcwCookieStatus,omitempty"`
	// The status of the secure attribute of the tracking cookie.
	//
	// 	- **0**: disabled. This is the default value.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 0
	AcwSecureStatus *int32 `json:"AcwSecureStatus,omitempty" xml:"AcwSecureStatus,omitempty"`
	// The status of the secure attribute of the slider CAPTCHA cookie.
	//
	// 	- **0**: disabled. This is the default value.
	//
	// 	- **1**: enabled.
	//
	// example:
	//
	// 0
	AcwV3SecureStatus *int32 `json:"AcwV3SecureStatus,omitempty" xml:"AcwV3SecureStatus,omitempty"`
	// The custom header fields.
	//
	// >  The first IP address in the specified custom header field is used as the originating IP address of the client to prevent X-Forwarded-For forgery. If you specify multiple header fields, WAF reads the values of the header fields in sequence until the originating IP address is obtained. If the originating IP address cannot be obtained, the first IP address in the X-Forwarded-For header is used as the originating IP address of the client.
	CustomHeaders []*string `json:"CustomHeaders,omitempty" xml:"CustomHeaders,omitempty" type:"Repeated"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-wwo3c****07
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The name of the protected object.
	//
	// This parameter is required.
	//
	// example:
	//
	// alb-4pxu81fgagx3****mz-alb
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm2kie2****wq
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// Specifies whether a Layer 7 proxy is deployed in front of WAF. Layer 7 proxies include Anti-DDoS Proxy and Alibaba Cloud CDN. Valid values:
	//
	// 	- **0**: No Layer 7 proxies are deployed. This is the default value.
	//
	// 	- **1**: A Layer 7 proxy is deployed.
	//
	// This parameter is required.
	//
	// example:
	//
	// 0
	XffStatus *int32 `json:"XffStatus,omitempty" xml:"XffStatus,omitempty"`
}

func (ModifyDefenseResourceXffRequest) GoString

func (*ModifyDefenseResourceXffRequest) SetAcwCookieStatus

func (*ModifyDefenseResourceXffRequest) SetAcwSecureStatus

func (*ModifyDefenseResourceXffRequest) SetAcwV3SecureStatus

func (*ModifyDefenseResourceXffRequest) SetCustomHeaders

func (*ModifyDefenseResourceXffRequest) SetInstanceId

func (*ModifyDefenseResourceXffRequest) SetRegionId

func (*ModifyDefenseResourceXffRequest) SetResource

func (*ModifyDefenseResourceXffRequest) SetResourceManagerResourceGroupId

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

func (*ModifyDefenseResourceXffRequest) SetXffStatus

func (ModifyDefenseResourceXffRequest) String

type ModifyDefenseResourceXffResponse

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

func (ModifyDefenseResourceXffResponse) GoString

func (*ModifyDefenseResourceXffResponse) SetHeaders

func (*ModifyDefenseResourceXffResponse) SetStatusCode

func (ModifyDefenseResourceXffResponse) String

type ModifyDefenseResourceXffResponseBody

type ModifyDefenseResourceXffResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 6C094583-9B3F-5BD8-8748-DC638E****BF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseResourceXffResponseBody) GoString

func (*ModifyDefenseResourceXffResponseBody) SetRequestId

func (ModifyDefenseResourceXffResponseBody) String

type ModifyDefenseRuleCacheRequest

type ModifyDefenseRuleCacheRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-zvp****xm2r
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule.
	//
	// This parameter is required.
	//
	// example:
	//
	// 12345678
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the protection template.
	//
	// This parameter is required.
	//
	// example:
	//
	// 12345
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (ModifyDefenseRuleCacheRequest) GoString

func (*ModifyDefenseRuleCacheRequest) SetInstanceId

func (*ModifyDefenseRuleCacheRequest) SetRegionId

func (*ModifyDefenseRuleCacheRequest) SetResourceManagerResourceGroupId

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

func (*ModifyDefenseRuleCacheRequest) SetRuleId

func (*ModifyDefenseRuleCacheRequest) SetTemplateId

func (ModifyDefenseRuleCacheRequest) String

type ModifyDefenseRuleCacheResponse

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

func (ModifyDefenseRuleCacheResponse) GoString

func (*ModifyDefenseRuleCacheResponse) SetHeaders

func (*ModifyDefenseRuleCacheResponse) SetStatusCode

func (ModifyDefenseRuleCacheResponse) String

type ModifyDefenseRuleCacheResponseBody

type ModifyDefenseRuleCacheResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// A0F2B994-8645-5270-A05D-9DAD8C****B6
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseRuleCacheResponseBody) GoString

func (*ModifyDefenseRuleCacheResponseBody) SetRequestId

func (ModifyDefenseRuleCacheResponseBody) String

type ModifyDefenseRuleRequest

type ModifyDefenseRuleRequest struct {
	// The scenario in which you want to use the protection rule. For more information, see the description of the **DefenseScene*	- parameter in the [CreateDefenseRule](~~CreateDefenseRule~~) topic.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_group
	DefenseScene *string `json:"DefenseScene,omitempty" xml:"DefenseScene,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// This parameter is required.
	Rules *string `json:"Rules,omitempty" xml:"Rules,omitempty"`
	// The ID of the protection rule template to which the protection rule whose configurations you want to modify belongs.
	//
	// This parameter is required.
	//
	// example:
	//
	// 5325
	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

func (*ModifyDefenseRuleRequest) SetResourceManagerResourceGroupId

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 {
	// The ID of the request.
	//
	// example:
	//
	// 1EEA9C98-F166-54FE-ADE3-08D8****BDFA
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule whose status you want to change.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20002615
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The new status of the protection rule. Valid values:
	//
	// 	- **0:*	- disabled.
	//
	// 	- **1:*	- enabled.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 7239
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
}

func (ModifyDefenseRuleStatusRequest) GoString

func (*ModifyDefenseRuleStatusRequest) SetInstanceId

func (*ModifyDefenseRuleStatusRequest) SetRegionId

func (*ModifyDefenseRuleStatusRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// BB305BF3-3C71-57A9-9704-E22F567689B0
	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.
	//
	// example:
	//
	// test
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template whose configurations you want to modify.
	//
	// This parameter is required.
	//
	// example:
	//
	// 7392
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The name of the protection rule template whose configurations you want to modify.
	//
	// This parameter is required.
	//
	// example:
	//
	// test
	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

func (*ModifyDefenseTemplateRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 1A68C85D-7467-5BB1-9A7E-2E8A5D96D88A
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template whose status you want to change.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2249
	TemplateId *int64 `json:"TemplateId,omitempty" xml:"TemplateId,omitempty"`
	// The new status of the protection rule template. Valid values:
	//
	// 	- **0:*	- disabled.
	//
	// 	- **1:*	- enabled.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	TemplateStatus *int32 `json:"TemplateStatus,omitempty" xml:"TemplateStatus,omitempty"`
}

func (ModifyDefenseTemplateStatusRequest) GoString

func (*ModifyDefenseTemplateStatusRequest) SetInstanceId

func (*ModifyDefenseTemplateStatusRequest) SetRegionId

func (*ModifyDefenseTemplateStatusRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 58007AE3-65D9-57BA-ABB4-1A544015FB50
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDefenseTemplateStatusResponseBody) GoString

func (*ModifyDefenseTemplateStatusResponseBody) SetRequestId

func (ModifyDefenseTemplateStatusResponseBody) String

type ModifyDomainPunishStatusRequest

type ModifyDomainPunishStatusRequest struct {
	// The domain name that is penalized for failing to obtain an ICP filing.
	//
	// This parameter is required.
	//
	// example:
	//
	// demo.xxxxaliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-zxu****0g02
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyDomainPunishStatusRequest) GoString

func (*ModifyDomainPunishStatusRequest) SetDomain

func (*ModifyDomainPunishStatusRequest) SetInstanceId

func (*ModifyDomainPunishStatusRequest) SetRegionId

func (*ModifyDomainPunishStatusRequest) SetResourceManagerResourceGroupId

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

func (ModifyDomainPunishStatusRequest) String

type ModifyDomainPunishStatusResponse

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

func (ModifyDomainPunishStatusResponse) GoString

func (*ModifyDomainPunishStatusResponse) SetHeaders

func (*ModifyDomainPunishStatusResponse) SetStatusCode

func (ModifyDomainPunishStatusResponse) String

type ModifyDomainPunishStatusResponseBody

type ModifyDomainPunishStatusResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 70E65A35-22B8-567C-B0A0-A2E9****20AE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDomainPunishStatusResponseBody) GoString

func (*ModifyDomainPunishStatusResponseBody) SetRequestId

func (ModifyDomainPunishStatusResponseBody) String

type ModifyDomainRequest

type ModifyDomainRequest struct {
	// The mode in which you want to add the domain name to WAF. Set the value to share.
	//
	// 	- **share:*	- adds the domain name to WAF in CNAME record mode. This is the default value.
	//
	// example:
	//
	// share
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name whose access configurations you want to modify.
	//
	// This parameter is required.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	//
	// This parameter is required.
	Listen *ModifyDomainRequestListen `json:"Listen,omitempty" xml:"Listen,omitempty" type:"Struct"`
	// The configurations of the forwarding rule.
	//
	// This parameter is required.
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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) String

func (s ModifyDomainRequest) String() string

type ModifyDomainRequestListen

type ModifyDomainRequestListen struct {
	// The ID of the certificate that you want to add.
	//
	// example:
	//
	// 123
	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.
	//
	// example:
	//
	// 2
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// share
	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
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// 123-cn-hangzhou
	SM2CertId *string `json:"SM2CertId,omitempty" xml:"SM2CertId,omitempty"`
	// Indicates whether SM certificate-based verification is enabled. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	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**
	//
	// example:
	//
	// tlsv1
	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.
	//
	// example:
	//
	// 2
	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

func (*ModifyDomainRequestListen) SetSM2CertId

func (*ModifyDomainRequestListen) SetSM2Enabled

func (*ModifyDomainRequestListen) SetTLSVersion

func (*ModifyDomainRequestListen) SetXffHeaderMode

func (*ModifyDomainRequestListen) SetXffHeaders

func (ModifyDomainRequestListen) String

func (s ModifyDomainRequestListen) String() string

type ModifyDomainRequestRedirect

type ModifyDomainRequestRedirect struct {
	// The IP addresses or domain names of the origin server. You can use only one of the address types. If you use the domain name type, the domain name can be resolved only to an IPv4 address.
	//
	// 	- If you use the IP address type, specify the value in the ["ip1","ip2",...] format. You can enter up to 20 IP addresses.
	//
	// 	- If you use the domain name type, specify the value in the ["domain"] format. You can enter up to 20 domain names.
	Backends       []*string `json:"Backends,omitempty" xml:"Backends,omitempty" type:"Repeated"`
	BackupBackends []*string `json:"BackupBackends,omitempty" xml:"BackupBackends,omitempty" type:"Repeated"`
	// Specifies whether to enable the public cloud disaster recovery feature. Valid values:
	//
	// 	- **true**
	//
	// 	- **false*	- (default)
	//
	// example:
	//
	// true
	CnameEnabled *bool `json:"CnameEnabled,omitempty" xml:"CnameEnabled,omitempty"`
	// The timeout period for connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 120
	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**
	//
	// example:
	//
	// true
	FocusHttpBackend *bool `json:"FocusHttpBackend,omitempty" xml:"FocusHttpBackend,omitempty"`
	// Specifies whether to enable the persistent connection feature. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	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.
	//
	// example:
	//
	// 1000
	KeepaliveRequests *int32 `json:"KeepaliveRequests,omitempty" xml:"KeepaliveRequests,omitempty"`
	// The timeout period for idle persistent connections. Valid values: 1 to 60. Default value: 15. Unit: seconds.
	//
	// >  This parameter specifies the time for which a reused persistent connection can remain in the Idle state before the persistent connection is released.
	//
	// example:
	//
	// 15
	KeepaliveTimeout *int32 `json:"KeepaliveTimeout,omitempty" xml:"KeepaliveTimeout,omitempty"`
	// The load balancing algorithm that you want to use to forward requests to the origin server. Valid values:
	//
	// 	- **ip_hash**
	//
	// 	- **roundRobin**
	//
	// 	- **leastTime*	- You can set the parameter to this value only if you set **ProtectionResource*	- to **gslb**.
	//
	// This parameter is required.
	//
	// example:
	//
	// iphash
	Loadbalance *string `json:"Loadbalance,omitempty" xml:"Loadbalance,omitempty"`
	// The timeout period for read connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 200
	ReadTimeout *int32 `json:"ReadTimeout,omitempty" xml:"ReadTimeout,omitempty"`
	// The custom header field that you want to use to label requests that are processed by WAF.
	//
	// When a request passes through WAF, the custom header field is automatically used to label the request. This way, the backend service can identify requests that are processed by WAF.
	RequestHeaders []*ModifyDomainRequestRedirectRequestHeaders `json:"RequestHeaders,omitempty" xml:"RequestHeaders,omitempty" type:"Repeated"`
	// Specifies whether WAF retries forwarding requests to the origin server when the requests fail to be forwarded to the origin server. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	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. This parameter 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 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.
	//
	// example:
	//
	// [
	//
	//       {
	//
	//             "rs": [
	//
	//                   "1.1.XX.XX"
	//
	//             ],
	//
	//             "locationId": 535,
	//
	//             "location": "test1111"
	//
	//       }
	//
	// ]
	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)
	//
	// example:
	//
	// true
	SniEnabled *bool `json:"SniEnabled,omitempty" xml:"SniEnabled,omitempty"`
	// The value of the SNI field. If you do not specify this parameter, the value of the **Host*	- field is automatically used. This parameter is optional. 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.
	//
	// >  This parameter is required only if you set **SniEnalbed*	- to xxx.
	//
	// example:
	//
	// www.aliyundoc.com
	SniHost *string `json:"SniHost,omitempty" xml:"SniHost,omitempty"`
	// The timeout period for write connections. Unit: seconds. Valid values: 1 to 3600.
	//
	// example:
	//
	// 200
	WriteTimeout *int32 `json:"WriteTimeout,omitempty" xml:"WriteTimeout,omitempty"`
	// Specifies whether to use the X-Forward-For-Proto header to identify the protocol used by WAF to forward requests to the origin server. Valid values:
	//
	// 	- **true*	- (default)
	//
	// 	- **false**
	//
	// example:
	//
	// true
	XffProto *bool `json:"XffProto,omitempty" xml:"XffProto,omitempty"`
}

func (ModifyDomainRequestRedirect) GoString

func (s ModifyDomainRequestRedirect) GoString() string

func (*ModifyDomainRequestRedirect) SetBackends

func (*ModifyDomainRequestRedirect) SetBackupBackends added in v5.0.2

func (*ModifyDomainRequestRedirect) SetCnameEnabled

func (*ModifyDomainRequestRedirect) SetConnectTimeout

func (*ModifyDomainRequestRedirect) SetFocusHttpBackend

func (*ModifyDomainRequestRedirect) SetKeepalive

func (*ModifyDomainRequestRedirect) SetKeepaliveRequests

func (*ModifyDomainRequestRedirect) SetKeepaliveTimeout

func (*ModifyDomainRequestRedirect) SetLoadbalance

func (*ModifyDomainRequestRedirect) SetReadTimeout

func (*ModifyDomainRequestRedirect) SetRequestHeaders

func (*ModifyDomainRequestRedirect) SetRetry

func (*ModifyDomainRequestRedirect) SetRoutingRules

func (*ModifyDomainRequestRedirect) SetSniEnabled

func (*ModifyDomainRequestRedirect) SetSniHost

func (*ModifyDomainRequestRedirect) SetWriteTimeout

func (*ModifyDomainRequestRedirect) SetXffProto

func (ModifyDomainRequestRedirect) String

type ModifyDomainRequestRedirectRequestHeaders

type ModifyDomainRequestRedirectRequestHeaders struct {
	// The key of the custom header field.
	//
	// example:
	//
	// aaa
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the custom header field.
	//
	// example:
	//
	// bbb
	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.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	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.
	//
	// example:
	//
	// xxxxxcvdaf.****.com
	Cname *string `json:"Cname,omitempty" xml:"Cname,omitempty"`
	// The domain name whose access configurations you modified.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the domain name.
	//
	// example:
	//
	// www.aliyundoc.com-waf
	DomainId *string `json:"DomainId,omitempty" xml:"DomainId,omitempty"`
}

func (ModifyDomainResponseBodyDomainInfo) GoString

func (*ModifyDomainResponseBodyDomainInfo) SetCname

func (*ModifyDomainResponseBodyDomainInfo) SetDomain

func (*ModifyDomainResponseBodyDomainInfo) SetDomainId

func (ModifyDomainResponseBodyDomainInfo) String

type ModifyDomainShrinkRequest

type ModifyDomainShrinkRequest struct {
	// The mode in which you want to add the domain name to WAF. Set the value to share.
	//
	// 	- **share:*	- adds the domain name to WAF in CNAME record mode. This is the default value.
	//
	// example:
	//
	// share
	AccessType *string `json:"AccessType,omitempty" xml:"AccessType,omitempty"`
	// The domain name whose access configurations you want to modify.
	//
	// This parameter is required.
	//
	// example:
	//
	// www.aliyundoc.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The configurations of the listeners.
	//
	// This parameter is required.
	ListenShrink *string `json:"Listen,omitempty" xml:"Listen,omitempty"`
	// The configurations of the forwarding rule.
	//
	// This parameter is required.
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,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) String

func (s ModifyDomainShrinkRequest) String() string

type ModifyHybridCloudClusterBypassStatusRequest

type ModifyHybridCloudClusterBypassStatusRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// hdbc_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.](https://help.aliyun.com/document_detail/140857.html)
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0xldbqt****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region ID of the WAF instance. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The status of manual bypass. Valid values:
	//
	// 	- **on**: enabled.
	//
	// 	- **off**: disabled. This is the default value.
	//
	// This parameter is required.
	//
	// example:
	//
	// on
	RuleStatus *string `json:"RuleStatus,omitempty" xml:"RuleStatus,omitempty"`
}

func (ModifyHybridCloudClusterBypassStatusRequest) GoString

func (*ModifyHybridCloudClusterBypassStatusRequest) SetClusterResourceId

func (*ModifyHybridCloudClusterBypassStatusRequest) SetInstanceId

func (*ModifyHybridCloudClusterBypassStatusRequest) SetRegionId added in v5.0.3

func (*ModifyHybridCloudClusterBypassStatusRequest) SetResourceManagerResourceGroupId added in v5.0.3

func (*ModifyHybridCloudClusterBypassStatusRequest) SetRuleStatus

func (ModifyHybridCloudClusterBypassStatusRequest) String

type ModifyHybridCloudClusterBypassStatusResponse

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

func (*ModifyHybridCloudClusterBypassStatusResponse) SetHeaders

func (*ModifyHybridCloudClusterBypassStatusResponse) SetStatusCode

func (ModifyHybridCloudClusterBypassStatusResponse) String

type ModifyHybridCloudClusterBypassStatusResponseBody

type ModifyHybridCloudClusterBypassStatusResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyHybridCloudClusterBypassStatusResponseBody) GoString

func (*ModifyHybridCloudClusterBypassStatusResponseBody) SetRequestId

func (ModifyHybridCloudClusterBypassStatusResponseBody) String

type ModifyHybridCloudClusterRuleRequest

type ModifyHybridCloudClusterRuleRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1018
	ClusterId *int64 `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the DescribeInstanceInfo operation to query the ID of the WAF instance.[](~~140857~~)
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-n6w***x52m
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The configuration of the rule.
	//
	// example:
	//
	// {\\"check_mode\\":\\"part\\",\\"include\\":{\\"exact\\":[],\\"regex\\":[]}}
	RuleConfig *string `json:"RuleConfig,omitempty" xml:"RuleConfig,omitempty"`
	// The status of the rule. Valid values:
	//
	// 	- **on**: enables the rule.
	//
	// 	- **off**: disables the rule.
	//
	// This parameter is required.
	//
	// example:
	//
	// on
	RuleStatus *string `json:"RuleStatus,omitempty" xml:"RuleStatus,omitempty"`
	// The type of the rule. Valid values:
	//
	// 	- **pullin**: The traffic redirection rule.
	//
	// This parameter is required.
	//
	// example:
	//
	// pullin
	RuleType *string `json:"RuleType,omitempty" xml:"RuleType,omitempty"`
}

func (ModifyHybridCloudClusterRuleRequest) GoString

func (*ModifyHybridCloudClusterRuleRequest) SetClusterId

func (*ModifyHybridCloudClusterRuleRequest) SetInstanceId

func (*ModifyHybridCloudClusterRuleRequest) SetRegionId

func (*ModifyHybridCloudClusterRuleRequest) SetResourceManagerResourceGroupId

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

func (*ModifyHybridCloudClusterRuleRequest) SetRuleConfig

func (*ModifyHybridCloudClusterRuleRequest) SetRuleStatus

func (*ModifyHybridCloudClusterRuleRequest) SetRuleType

func (ModifyHybridCloudClusterRuleRequest) String

type ModifyHybridCloudClusterRuleResponse

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

func (ModifyHybridCloudClusterRuleResponse) GoString

func (*ModifyHybridCloudClusterRuleResponse) SetHeaders

func (*ModifyHybridCloudClusterRuleResponse) SetStatusCode

func (ModifyHybridCloudClusterRuleResponse) String

type ModifyHybridCloudClusterRuleResponseBody

type ModifyHybridCloudClusterRuleResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 03D73D88-57D8-5BA2-96A4-6357CE***19
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyHybridCloudClusterRuleResponseBody) GoString

func (*ModifyHybridCloudClusterRuleResponseBody) SetRequestId

func (ModifyHybridCloudClusterRuleResponseBody) String

type ModifyHybridCloudGroupExpansionServerRequest

type ModifyHybridCloudGroupExpansionServerRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ClusterId *int64 `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the node group.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	GroupId *int64 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-tl32ast****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node.
	//
	// This parameter is required.
	//
	// example:
	//
	// 612929b133e7ff**0d0
	Mids *string `json:"Mids,omitempty" xml:"Mids,omitempty"`
	// The region in which the WAF instance is deployed. Valid value:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyHybridCloudGroupExpansionServerRequest) GoString

func (*ModifyHybridCloudGroupExpansionServerRequest) SetClusterId

func (*ModifyHybridCloudGroupExpansionServerRequest) SetGroupId

func (*ModifyHybridCloudGroupExpansionServerRequest) SetInstanceId

func (*ModifyHybridCloudGroupExpansionServerRequest) SetMids

func (*ModifyHybridCloudGroupExpansionServerRequest) SetRegionId

func (*ModifyHybridCloudGroupExpansionServerRequest) SetResourceManagerResourceGroupId

func (ModifyHybridCloudGroupExpansionServerRequest) String

type ModifyHybridCloudGroupExpansionServerResponse

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

func (ModifyHybridCloudGroupExpansionServerResponse) GoString

func (*ModifyHybridCloudGroupExpansionServerResponse) SetHeaders

func (*ModifyHybridCloudGroupExpansionServerResponse) SetStatusCode

func (ModifyHybridCloudGroupExpansionServerResponse) String

type ModifyHybridCloudGroupExpansionServerResponseBody

type ModifyHybridCloudGroupExpansionServerResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 7BD7F9A1-0E72-5BC1-8248-C629B4***B6
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyHybridCloudGroupExpansionServerResponseBody) GoString

func (*ModifyHybridCloudGroupExpansionServerResponseBody) SetRequestId

func (ModifyHybridCloudGroupExpansionServerResponseBody) String

type ModifyHybridCloudGroupRequest

type ModifyHybridCloudGroupRequest struct {
	// The ID of the cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ClusterId *int64 `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the node group.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	GroupId *int64 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The name of the node group.
	//
	// This parameter is required.
	//
	// example:
	//
	// demo
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-tl32ast****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid value:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The remarks.
	//
	// example:
	//
	// test
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyHybridCloudGroupRequest) GoString

func (*ModifyHybridCloudGroupRequest) SetClusterId

func (*ModifyHybridCloudGroupRequest) SetGroupId

func (*ModifyHybridCloudGroupRequest) SetGroupName

func (*ModifyHybridCloudGroupRequest) SetInstanceId

func (*ModifyHybridCloudGroupRequest) SetRegionId

func (*ModifyHybridCloudGroupRequest) SetRemark

func (*ModifyHybridCloudGroupRequest) SetResourceManagerResourceGroupId

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

func (ModifyHybridCloudGroupRequest) String

type ModifyHybridCloudGroupResponse

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

func (ModifyHybridCloudGroupResponse) GoString

func (*ModifyHybridCloudGroupResponse) SetHeaders

func (*ModifyHybridCloudGroupResponse) SetStatusCode

func (ModifyHybridCloudGroupResponse) String

type ModifyHybridCloudGroupResponseBody

type ModifyHybridCloudGroupResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19160D***0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyHybridCloudGroupResponseBody) GoString

func (*ModifyHybridCloudGroupResponseBody) SetRequestId

func (ModifyHybridCloudGroupResponseBody) String

type ModifyHybridCloudGroupShrinkServerRequest

type ModifyHybridCloudGroupShrinkServerRequest struct {
	// The ID of the hybrid cloud cluster.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ClusterId *int64 `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// The ID of the node group.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	GroupId *int64 `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity-cn-0xldb****05
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node.
	//
	// This parameter is required.
	//
	// example:
	//
	// b1bf3f544f30c1de0b72d91290***bbbb
	Mids *string `json:"Mids,omitempty" xml:"Mids,omitempty"`
	// The region in which the WAF instance is deployed. Valid value:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm2th****v6ay
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyHybridCloudGroupShrinkServerRequest) GoString

func (*ModifyHybridCloudGroupShrinkServerRequest) SetClusterId

func (*ModifyHybridCloudGroupShrinkServerRequest) SetGroupId

func (*ModifyHybridCloudGroupShrinkServerRequest) SetInstanceId

func (*ModifyHybridCloudGroupShrinkServerRequest) SetMids

func (*ModifyHybridCloudGroupShrinkServerRequest) SetRegionId

func (*ModifyHybridCloudGroupShrinkServerRequest) SetResourceManagerResourceGroupId

func (ModifyHybridCloudGroupShrinkServerRequest) String

type ModifyHybridCloudGroupShrinkServerResponse

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

func (ModifyHybridCloudGroupShrinkServerResponse) GoString

func (*ModifyHybridCloudGroupShrinkServerResponse) SetHeaders

func (*ModifyHybridCloudGroupShrinkServerResponse) SetStatusCode

func (ModifyHybridCloudGroupShrinkServerResponse) String

type ModifyHybridCloudGroupShrinkServerResponseBody

type ModifyHybridCloudGroupShrinkServerResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyHybridCloudGroupShrinkServerResponseBody) GoString

func (*ModifyHybridCloudGroupShrinkServerResponseBody) SetRequestId

func (ModifyHybridCloudGroupShrinkServerResponseBody) String

type ModifyHybridCloudSdkPullinStatusRequest

type ModifyHybridCloudSdkPullinStatusRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstanceInfo](https://help.aliyun.com/document_detail/140857.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-7pp2le***01
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the SDK.
	//
	// This parameter is required.
	//
	// example:
	//
	// b3dbc5153317c79d8ca9f9***ea
	Mid *string `json:"Mid,omitempty" xml:"Mid,omitempty"`
	// The status of traffic redirection. Valid values:
	//
	// 	- **on**
	//
	// 	- **off**
	//
	// This parameter is required.
	//
	// example:
	//
	// on
	PullinStatus *string `json:"PullinStatus,omitempty" xml:"PullinStatus,omitempty"`
}

func (ModifyHybridCloudSdkPullinStatusRequest) GoString

func (*ModifyHybridCloudSdkPullinStatusRequest) SetInstanceId

func (*ModifyHybridCloudSdkPullinStatusRequest) SetMid

func (*ModifyHybridCloudSdkPullinStatusRequest) SetPullinStatus

func (ModifyHybridCloudSdkPullinStatusRequest) String

type ModifyHybridCloudSdkPullinStatusResponse

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

func (ModifyHybridCloudSdkPullinStatusResponse) GoString

func (*ModifyHybridCloudSdkPullinStatusResponse) SetHeaders

func (*ModifyHybridCloudSdkPullinStatusResponse) SetStatusCode

func (ModifyHybridCloudSdkPullinStatusResponse) String

type ModifyHybridCloudSdkPullinStatusResponseBody

type ModifyHybridCloudSdkPullinStatusResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B191**EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyHybridCloudSdkPullinStatusResponseBody) GoString

func (*ModifyHybridCloudSdkPullinStatusResponseBody) SetRequestId

func (ModifyHybridCloudSdkPullinStatusResponseBody) String

type ModifyHybridCloudServerRequest

type ModifyHybridCloudServerRequest struct {
	// The continent.
	//
	// This parameter is required.
	//
	// example:
	//
	// asiapacific
	Continents *string `json:"Continents,omitempty" xml:"Continents,omitempty"`
	// The name of the node.
	//
	// This parameter is required.
	//
	// example:
	//
	// demo
	CustomName *string `json:"CustomName,omitempty" xml:"CustomName,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstanceInfo](https://help.aliyun.com/document_detail/140857.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the node.
	//
	// This parameter is required.
	//
	// example:
	//
	// b1bf3f544f30c1de0b72d91290**ccb
	Mid *string `json:"Mid,omitempty" xml:"Mid,omitempty"`
	// The cloud service provider.
	//
	// This parameter is required.
	//
	// example:
	//
	// aliyun
	Operator *string `json:"Operator,omitempty" xml:"Operator,omitempty"`
	// The city.
	//
	// This parameter is required.
	//
	// example:
	//
	// beijing
	RegionCode *string `json:"RegionCode,omitempty" xml:"RegionCode,omitempty"`
	// The region in which the WAF instance is deployed. Valid value:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyHybridCloudServerRequest) GoString

func (*ModifyHybridCloudServerRequest) SetContinents

func (*ModifyHybridCloudServerRequest) SetCustomName

func (*ModifyHybridCloudServerRequest) SetInstanceId

func (*ModifyHybridCloudServerRequest) SetMid

func (*ModifyHybridCloudServerRequest) SetOperator

func (*ModifyHybridCloudServerRequest) SetRegionCode

func (*ModifyHybridCloudServerRequest) SetRegionId

func (*ModifyHybridCloudServerRequest) SetResourceManagerResourceGroupId

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

func (ModifyHybridCloudServerRequest) String

type ModifyHybridCloudServerResponse

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

func (ModifyHybridCloudServerResponse) GoString

func (*ModifyHybridCloudServerResponse) SetHeaders

func (*ModifyHybridCloudServerResponse) SetStatusCode

func (ModifyHybridCloudServerResponse) String

type ModifyHybridCloudServerResponseBody

type ModifyHybridCloudServerResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 26DCD663-5EB8-5103-B270-E24A32***5F0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyHybridCloudServerResponseBody) GoString

func (*ModifyHybridCloudServerResponseBody) SetRequestId

func (ModifyHybridCloudServerResponseBody) String

type ModifyMajorProtectionBlackIpRequest

type ModifyMajorProtectionBlackIpRequest struct {
	// The description of the IP address blacklist.
	//
	// example:
	//
	// test
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1662603328
	ExpiredTime *int64 `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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](https://help.aliyun.com/document_detail/425591.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// 12.XX.XX.2,3.XX.XX.3/24
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the IP address blacklist rule for major event protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20012033
	RuleId *int64 `json:"RuleId,omitempty" xml:"RuleId,omitempty"`
	// The ID of the IP address blacklist rule template for major event protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 5132
	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

func (*ModifyMajorProtectionBlackIpRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 66A98669-CC6E-4F3E-80A6-3014697B11AE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyMajorProtectionBlackIpResponseBody) GoString

func (*ModifyMajorProtectionBlackIpResponseBody) SetRequestId

func (ModifyMajorProtectionBlackIpResponseBody) String

type ModifyMemberAccountRequest

type ModifyMemberAccountRequest struct {
	// The description of the member. The description must be 1 to 256 characters in length, and can contain letters, digits, periods (.), underscores (_), hyphens (-), and asterisks (\\*).
	//
	// This parameter is required.
	//
	// example:
	//
	// account1
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_elasticity**-*******021
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The Alibaba Cloud account ID of the managed member.
	//
	// This parameter is required.
	//
	// example:
	//
	// 131**********39
	MemberAccountId *string `json:"MemberAccountId,omitempty" xml:"MemberAccountId,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The source IP address of the request. The system automatically obtains the value of this parameter.
	//
	// example:
	//
	// 0.0.XX.XX
	SourceIp *string `json:"SourceIp,omitempty" xml:"SourceIp,omitempty"`
}

func (ModifyMemberAccountRequest) GoString

func (s ModifyMemberAccountRequest) GoString() string

func (*ModifyMemberAccountRequest) SetDescription

func (*ModifyMemberAccountRequest) SetInstanceId

func (*ModifyMemberAccountRequest) SetMemberAccountId

func (*ModifyMemberAccountRequest) SetRegionId

func (*ModifyMemberAccountRequest) SetResourceManagerResourceGroupId

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

func (*ModifyMemberAccountRequest) SetSourceIp

func (ModifyMemberAccountRequest) String

type ModifyMemberAccountResponse

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

func (ModifyMemberAccountResponse) GoString

func (s ModifyMemberAccountResponse) GoString() string

func (*ModifyMemberAccountResponse) SetBody

func (*ModifyMemberAccountResponse) SetHeaders

func (*ModifyMemberAccountResponse) SetStatusCode

func (ModifyMemberAccountResponse) String

type ModifyMemberAccountResponseBody

type ModifyMemberAccountResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-5B61-46CE-A47C-6B19****5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyMemberAccountResponseBody) GoString

func (*ModifyMemberAccountResponseBody) SetRequestId

func (ModifyMemberAccountResponseBody) String

type ModifyPauseProtectionStatusRequest

type ModifyPauseProtectionStatusRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-tl32ast****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Specifies whether to pause WAF protection.
	//
	// 	- **0**: does not pause WAF protection. This is the default value.
	//
	// 	- **1**: pauses WAF protection.
	//
	// This parameter is required.
	//
	// example:
	//
	// 0
	PauseStatus *int32 `json:"PauseStatus,omitempty" xml:"PauseStatus,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ModifyPauseProtectionStatusRequest) GoString

func (*ModifyPauseProtectionStatusRequest) SetInstanceId

func (*ModifyPauseProtectionStatusRequest) SetPauseStatus

func (*ModifyPauseProtectionStatusRequest) SetRegionId

func (*ModifyPauseProtectionStatusRequest) SetResourceManagerResourceGroupId

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

func (ModifyPauseProtectionStatusRequest) String

type ModifyPauseProtectionStatusResponse

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

func (ModifyPauseProtectionStatusResponse) GoString

func (*ModifyPauseProtectionStatusResponse) SetHeaders

func (*ModifyPauseProtectionStatusResponse) SetStatusCode

func (ModifyPauseProtectionStatusResponse) String

type ModifyPauseProtectionStatusResponseBody

type ModifyPauseProtectionStatusResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// D7861F61-*****-******-D5EB0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyPauseProtectionStatusResponseBody) GoString

func (*ModifyPauseProtectionStatusResponseBody) SetRequestId

func (ModifyPauseProtectionStatusResponseBody) String

type ModifyResourceLogStatusRequest

type ModifyResourceLogStatusRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf-cn-zz11zcl****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The protected object on which you want to manage the log collection feature.
	//
	// This parameter is required.
	//
	// example:
	//
	// alb-wewbb23dfsetetcic1242-0****
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// The ID of the resource group.
	//
	// example:
	//
	// rg-acfm***q
	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.
	//
	// This parameter is required.
	//
	// example:
	//
	// true
	Status *bool `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ModifyResourceLogStatusRequest) GoString

func (*ModifyResourceLogStatusRequest) SetInstanceId

func (*ModifyResourceLogStatusRequest) SetRegionId

func (*ModifyResourceLogStatusRequest) SetResource

func (*ModifyResourceLogStatusRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// 7C55A3E5-638A-5D6E-9A2F-C3CE5A677EC5
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the log collection feature is enabled for the protected object. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	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](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_cdnsdf3****
	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.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
	// The ID of the protection rule template.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2291
	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

func (*ModifyTemplateResourcesRequest) SetResourceManagerResourceGroupId

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.
	//
	// example:
	//
	// CF708F2F-FFB0-54D4-B1E0-B84A7CEBFB60
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyTemplateResourcesResponseBody) GoString

func (*ModifyTemplateResourcesResponseBody) SetRequestId

func (ModifyTemplateResourcesResponseBody) String

type ReleaseInstanceRequest

type ReleaseInstanceRequest struct {
	// The ID of the Web Application Firewall (WAF) instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to obtain the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v2_public_cn-***
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: the Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the Alibaba Cloud resource group.
	//
	// example:
	//
	// rg-acfm***q
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (ReleaseInstanceRequest) GoString

func (s ReleaseInstanceRequest) GoString() string

func (*ReleaseInstanceRequest) SetInstanceId

func (*ReleaseInstanceRequest) SetRegionId

func (*ReleaseInstanceRequest) SetResourceManagerResourceGroupId

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

func (ReleaseInstanceRequest) String

func (s ReleaseInstanceRequest) String() string

type ReleaseInstanceResponse

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

func (ReleaseInstanceResponse) GoString

func (s ReleaseInstanceResponse) GoString() string

func (*ReleaseInstanceResponse) SetBody

func (*ReleaseInstanceResponse) SetHeaders

func (*ReleaseInstanceResponse) SetStatusCode

func (ReleaseInstanceResponse) String

func (s ReleaseInstanceResponse) String() string

type ReleaseInstanceResponseBody

type ReleaseInstanceResponseBody struct {
	// The ID of the request.
	//
	// example:
	//
	// 65626467-8002-5022-9F5F-***
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReleaseInstanceResponseBody) GoString

func (s ReleaseInstanceResponseBody) GoString() string

func (*ReleaseInstanceResponseBody) SetRequestId

func (ReleaseInstanceResponseBody) String

type SyncProductInstanceRequest

type SyncProductInstanceRequest struct {
	// The ID of the WAF instance.
	//
	// >  You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
	//
	// This parameter is required.
	//
	// example:
	//
	// waf_v3prepaid_public_cn-zsk****fb09
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The region in which the WAF instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 阿里云资源组ID。
	//
	// example:
	//
	// rg-acfm4co****f5qa
	ResourceManagerResourceGroupId *string `json:"ResourceManagerResourceGroupId,omitempty" xml:"ResourceManagerResourceGroupId,omitempty"`
}

func (SyncProductInstanceRequest) GoString

func (s SyncProductInstanceRequest) GoString() string

func (*SyncProductInstanceRequest) SetInstanceId

func (*SyncProductInstanceRequest) SetRegionId

func (*SyncProductInstanceRequest) SetResourceManagerResourceGroupId

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

func (SyncProductInstanceRequest) String

type SyncProductInstanceResponse

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

func (SyncProductInstanceResponse) GoString

func (s SyncProductInstanceResponse) GoString() string

func (*SyncProductInstanceResponse) SetBody

func (*SyncProductInstanceResponse) SetHeaders

func (*SyncProductInstanceResponse) SetStatusCode

func (SyncProductInstanceResponse) String

type SyncProductInstanceResponseBody

type SyncProductInstanceResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 45BA2382-7C3F-5B29-9A83-C3BCE586****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SyncProductInstanceResponseBody) GoString

func (*SyncProductInstanceResponseBody) SetRequestId

func (SyncProductInstanceResponseBody) String

type TagResourcesRequest

type TagResourcesRequest struct {
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: Outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The IDs of the resources. You can specify up to 50 resource IDs.
	//
	// This parameter is required.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Set the value to ALIYUN::WAF::DEFENSERESOURCE.
	//
	// This parameter is required.
	//
	// example:
	//
	// ALIYUN::WAF::DEFENSERESOURCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags to add to the resource.
	//
	// This parameter is required.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetRegionId

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

func (*TagResourcesRequest) SetResourceId

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag

type TagResourcesRequestTag struct {
	// The key of tag N to add to the resource. Valid values of N: 1 to 20.
	//
	// example:
	//
	// demoTagKey
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N to add to the resource. Valid values of N: 1 to 20.
	//
	// example:
	//
	// demoTagValue
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (TagResourcesRequestTag) GoString

func (s TagResourcesRequestTag) GoString() string

func (*TagResourcesRequestTag) SetKey

func (*TagResourcesRequestTag) SetValue

func (TagResourcesRequestTag) String

func (s TagResourcesRequestTag) String() string

type TagResourcesResponse

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

func (TagResourcesResponse) GoString

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody

func (*TagResourcesResponse) SetHeaders

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

func (*TagResourcesResponse) SetStatusCode

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

func (TagResourcesResponse) String

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody

type TagResourcesResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 57F8460F-8A62-5D79-8ED5-653C****0C6B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetRequestId

func (TagResourcesResponseBody) String

func (s TagResourcesResponseBody) String() string

type UntagResourcesRequest

type UntagResourcesRequest struct {
	// Specifies whether to remove all tags from the specified resource groups or members. Valid values:
	//
	// 	- false (default)
	//
	// 	- true
	//
	// example:
	//
	// false
	All *bool `json:"All,omitempty" xml:"All,omitempty"`
	// The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
	//
	// 	- **cn-hangzhou**: Chinese mainland.
	//
	// 	- **ap-southeast-1**: outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The resource IDs. You can specify up to 50 resource IDs.
	//
	// This parameter is required.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Set the value to ALIYUN::WAF::DEFENSERESOURCE.
	//
	// This parameter is required.
	//
	// example:
	//
	// ALIYUN::WAF::DEFENSERESOURCE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag keys. You can specify up to 20 tag keys.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetRegionId

func (*UntagResourcesRequest) SetResourceId

func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKey

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

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

func (UntagResourcesResponse) GoString

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody

func (*UntagResourcesResponse) SetHeaders

func (*UntagResourcesResponse) SetStatusCode

func (UntagResourcesResponse) String

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody

type UntagResourcesResponseBody struct {
	// The request ID.
	//
	// example:
	//
	// 7A4B8DB1-A8B0-5362-A65D-6A55****07C5
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

Jump to

Keyboard shortcuts

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