advdefence20230308

package
v1.0.180 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package advdefence20230308iface provides an interface to enable mocking the ADVDEFENCE20230308 service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	ServiceName = "advdefence" // Name of service.
	EndpointsID = ServiceName  // ID to lookup a service endpoint with.
	ServiceID   = "advdefence" // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type ADVDEFENCE20230308

type ADVDEFENCE20230308 struct {
	*client.Client
}

ADVDEFENCE20230308 provides the API operation methods for making requests to ADVDEFENCE20230308. See this package's package overview docs for details on the service.

ADVDEFENCE20230308 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New create int can support ssl or region locate set

func (*ADVDEFENCE20230308) AddWebDefCcRule

func (c *ADVDEFENCE20230308) AddWebDefCcRule(input *AddWebDefCcRuleInput) (*AddWebDefCcRuleOutput, error)

AddWebDefCcRule API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation AddWebDefCcRule for usage and error information.

func (*ADVDEFENCE20230308) AddWebDefCcRuleCommon

func (c *ADVDEFENCE20230308) AddWebDefCcRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)

AddWebDefCcRuleCommon API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation AddWebDefCcRuleCommon for usage and error information.

func (*ADVDEFENCE20230308) AddWebDefCcRuleCommonRequest

func (c *ADVDEFENCE20230308) AddWebDefCcRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

AddWebDefCcRuleCommonRequest generates a "volcengine/request.Request" representing the client's request for the AddWebDefCcRuleCommon operation. The "output" return value will be populated with the AddWebDefCcRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned AddWebDefCcRuleCommon Request to send the API call to the service. the "output" return value is not valid until after AddWebDefCcRuleCommon Send returns without error.

See AddWebDefCcRuleCommon for more information on using the AddWebDefCcRuleCommon API call, and error handling.

// Example sending a request using the AddWebDefCcRuleCommonRequest method.
req, resp := client.AddWebDefCcRuleCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) AddWebDefCcRuleCommonWithContext

func (c *ADVDEFENCE20230308) AddWebDefCcRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

AddWebDefCcRuleCommonWithContext is the same as AddWebDefCcRuleCommon with the addition of the ability to pass a context and additional request options.

See AddWebDefCcRuleCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) AddWebDefCcRuleRequest

func (c *ADVDEFENCE20230308) AddWebDefCcRuleRequest(input *AddWebDefCcRuleInput) (req *request.Request, output *AddWebDefCcRuleOutput)

AddWebDefCcRuleRequest generates a "volcengine/request.Request" representing the client's request for the AddWebDefCcRule operation. The "output" return value will be populated with the AddWebDefCcRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned AddWebDefCcRuleCommon Request to send the API call to the service. the "output" return value is not valid until after AddWebDefCcRuleCommon Send returns without error.

See AddWebDefCcRule for more information on using the AddWebDefCcRule API call, and error handling.

// Example sending a request using the AddWebDefCcRuleRequest method.
req, resp := client.AddWebDefCcRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) AddWebDefCcRuleWithContext

func (c *ADVDEFENCE20230308) AddWebDefCcRuleWithContext(ctx volcengine.Context, input *AddWebDefCcRuleInput, opts ...request.Option) (*AddWebDefCcRuleOutput, error)

AddWebDefCcRuleWithContext is the same as AddWebDefCcRule with the addition of the ability to pass a context and additional request options.

See AddWebDefCcRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) BatchAddFwdRule

func (c *ADVDEFENCE20230308) BatchAddFwdRule(input *BatchAddFwdRuleInput) (*BatchAddFwdRuleOutput, error)

BatchAddFwdRule API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation BatchAddFwdRule for usage and error information.

func (*ADVDEFENCE20230308) BatchAddFwdRuleCommon

func (c *ADVDEFENCE20230308) BatchAddFwdRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)

BatchAddFwdRuleCommon API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation BatchAddFwdRuleCommon for usage and error information.

func (*ADVDEFENCE20230308) BatchAddFwdRuleCommonRequest

func (c *ADVDEFENCE20230308) BatchAddFwdRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

BatchAddFwdRuleCommonRequest generates a "volcengine/request.Request" representing the client's request for the BatchAddFwdRuleCommon operation. The "output" return value will be populated with the BatchAddFwdRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned BatchAddFwdRuleCommon Request to send the API call to the service. the "output" return value is not valid until after BatchAddFwdRuleCommon Send returns without error.

See BatchAddFwdRuleCommon for more information on using the BatchAddFwdRuleCommon API call, and error handling.

// Example sending a request using the BatchAddFwdRuleCommonRequest method.
req, resp := client.BatchAddFwdRuleCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) BatchAddFwdRuleCommonWithContext

func (c *ADVDEFENCE20230308) BatchAddFwdRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

BatchAddFwdRuleCommonWithContext is the same as BatchAddFwdRuleCommon with the addition of the ability to pass a context and additional request options.

See BatchAddFwdRuleCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) BatchAddFwdRuleRequest

func (c *ADVDEFENCE20230308) BatchAddFwdRuleRequest(input *BatchAddFwdRuleInput) (req *request.Request, output *BatchAddFwdRuleOutput)

BatchAddFwdRuleRequest generates a "volcengine/request.Request" representing the client's request for the BatchAddFwdRule operation. The "output" return value will be populated with the BatchAddFwdRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned BatchAddFwdRuleCommon Request to send the API call to the service. the "output" return value is not valid until after BatchAddFwdRuleCommon Send returns without error.

See BatchAddFwdRule for more information on using the BatchAddFwdRule API call, and error handling.

// Example sending a request using the BatchAddFwdRuleRequest method.
req, resp := client.BatchAddFwdRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) BatchAddFwdRuleWithContext

func (c *ADVDEFENCE20230308) BatchAddFwdRuleWithContext(ctx volcengine.Context, input *BatchAddFwdRuleInput, opts ...request.Option) (*BatchAddFwdRuleOutput, error)

BatchAddFwdRuleWithContext is the same as BatchAddFwdRule with the addition of the ability to pass a context and additional request options.

See BatchAddFwdRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) DelWebDefCcRule

func (c *ADVDEFENCE20230308) DelWebDefCcRule(input *DelWebDefCcRuleInput) (*DelWebDefCcRuleOutput, error)

DelWebDefCcRule API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation DelWebDefCcRule for usage and error information.

func (*ADVDEFENCE20230308) DelWebDefCcRuleCommon

func (c *ADVDEFENCE20230308) DelWebDefCcRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DelWebDefCcRuleCommon API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation DelWebDefCcRuleCommon for usage and error information.

func (*ADVDEFENCE20230308) DelWebDefCcRuleCommonRequest

func (c *ADVDEFENCE20230308) DelWebDefCcRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DelWebDefCcRuleCommonRequest generates a "volcengine/request.Request" representing the client's request for the DelWebDefCcRuleCommon operation. The "output" return value will be populated with the DelWebDefCcRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned DelWebDefCcRuleCommon Request to send the API call to the service. the "output" return value is not valid until after DelWebDefCcRuleCommon Send returns without error.

See DelWebDefCcRuleCommon for more information on using the DelWebDefCcRuleCommon API call, and error handling.

// Example sending a request using the DelWebDefCcRuleCommonRequest method.
req, resp := client.DelWebDefCcRuleCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) DelWebDefCcRuleCommonWithContext

func (c *ADVDEFENCE20230308) DelWebDefCcRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DelWebDefCcRuleCommonWithContext is the same as DelWebDefCcRuleCommon with the addition of the ability to pass a context and additional request options.

See DelWebDefCcRuleCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) DelWebDefCcRuleRequest

func (c *ADVDEFENCE20230308) DelWebDefCcRuleRequest(input *DelWebDefCcRuleInput) (req *request.Request, output *DelWebDefCcRuleOutput)

DelWebDefCcRuleRequest generates a "volcengine/request.Request" representing the client's request for the DelWebDefCcRule operation. The "output" return value will be populated with the DelWebDefCcRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned DelWebDefCcRuleCommon Request to send the API call to the service. the "output" return value is not valid until after DelWebDefCcRuleCommon Send returns without error.

See DelWebDefCcRule for more information on using the DelWebDefCcRule API call, and error handling.

// Example sending a request using the DelWebDefCcRuleRequest method.
req, resp := client.DelWebDefCcRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) DelWebDefCcRuleWithContext

func (c *ADVDEFENCE20230308) DelWebDefCcRuleWithContext(ctx volcengine.Context, input *DelWebDefCcRuleInput, opts ...request.Option) (*DelWebDefCcRuleOutput, error)

DelWebDefCcRuleWithContext is the same as DelWebDefCcRule with the addition of the ability to pass a context and additional request options.

See DelWebDefCcRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) DescribeAttackFlow

DescribeAttackFlow API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation DescribeAttackFlow for usage and error information.

func (*ADVDEFENCE20230308) DescribeAttackFlowCommon

func (c *ADVDEFENCE20230308) DescribeAttackFlowCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeAttackFlowCommon API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation DescribeAttackFlowCommon for usage and error information.

func (*ADVDEFENCE20230308) DescribeAttackFlowCommonRequest

func (c *ADVDEFENCE20230308) DescribeAttackFlowCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeAttackFlowCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeAttackFlowCommon operation. The "output" return value will be populated with the DescribeAttackFlowCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeAttackFlowCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeAttackFlowCommon Send returns without error.

See DescribeAttackFlowCommon for more information on using the DescribeAttackFlowCommon API call, and error handling.

// Example sending a request using the DescribeAttackFlowCommonRequest method.
req, resp := client.DescribeAttackFlowCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) DescribeAttackFlowCommonWithContext

func (c *ADVDEFENCE20230308) DescribeAttackFlowCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeAttackFlowCommonWithContext is the same as DescribeAttackFlowCommon with the addition of the ability to pass a context and additional request options.

See DescribeAttackFlowCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) DescribeAttackFlowRequest

func (c *ADVDEFENCE20230308) DescribeAttackFlowRequest(input *DescribeAttackFlowInput) (req *request.Request, output *DescribeAttackFlowOutput)

DescribeAttackFlowRequest generates a "volcengine/request.Request" representing the client's request for the DescribeAttackFlow operation. The "output" return value will be populated with the DescribeAttackFlowCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeAttackFlowCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeAttackFlowCommon Send returns without error.

See DescribeAttackFlow for more information on using the DescribeAttackFlow API call, and error handling.

// Example sending a request using the DescribeAttackFlowRequest method.
req, resp := client.DescribeAttackFlowRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) DescribeAttackFlowWithContext

func (c *ADVDEFENCE20230308) DescribeAttackFlowWithContext(ctx volcengine.Context, input *DescribeAttackFlowInput, opts ...request.Option) (*DescribeAttackFlowOutput, error)

DescribeAttackFlowWithContext is the same as DescribeAttackFlow with the addition of the ability to pass a context and additional request options.

See DescribeAttackFlow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) DescribeBizFlowAndConnCount

DescribeBizFlowAndConnCount API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation DescribeBizFlowAndConnCount for usage and error information.

func (*ADVDEFENCE20230308) DescribeBizFlowAndConnCountCommon

func (c *ADVDEFENCE20230308) DescribeBizFlowAndConnCountCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeBizFlowAndConnCountCommon API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation DescribeBizFlowAndConnCountCommon for usage and error information.

func (*ADVDEFENCE20230308) DescribeBizFlowAndConnCountCommonRequest

func (c *ADVDEFENCE20230308) DescribeBizFlowAndConnCountCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeBizFlowAndConnCountCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeBizFlowAndConnCountCommon operation. The "output" return value will be populated with the DescribeBizFlowAndConnCountCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeBizFlowAndConnCountCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeBizFlowAndConnCountCommon Send returns without error.

See DescribeBizFlowAndConnCountCommon for more information on using the DescribeBizFlowAndConnCountCommon API call, and error handling.

// Example sending a request using the DescribeBizFlowAndConnCountCommonRequest method.
req, resp := client.DescribeBizFlowAndConnCountCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) DescribeBizFlowAndConnCountCommonWithContext

func (c *ADVDEFENCE20230308) DescribeBizFlowAndConnCountCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeBizFlowAndConnCountCommonWithContext is the same as DescribeBizFlowAndConnCountCommon with the addition of the ability to pass a context and additional request options.

See DescribeBizFlowAndConnCountCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) DescribeBizFlowAndConnCountRequest

func (c *ADVDEFENCE20230308) DescribeBizFlowAndConnCountRequest(input *DescribeBizFlowAndConnCountInput) (req *request.Request, output *DescribeBizFlowAndConnCountOutput)

DescribeBizFlowAndConnCountRequest generates a "volcengine/request.Request" representing the client's request for the DescribeBizFlowAndConnCount operation. The "output" return value will be populated with the DescribeBizFlowAndConnCountCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeBizFlowAndConnCountCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeBizFlowAndConnCountCommon Send returns without error.

See DescribeBizFlowAndConnCount for more information on using the DescribeBizFlowAndConnCount API call, and error handling.

// Example sending a request using the DescribeBizFlowAndConnCountRequest method.
req, resp := client.DescribeBizFlowAndConnCountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) DescribeBizFlowAndConnCountWithContext

func (c *ADVDEFENCE20230308) DescribeBizFlowAndConnCountWithContext(ctx volcengine.Context, input *DescribeBizFlowAndConnCountInput, opts ...request.Option) (*DescribeBizFlowAndConnCountOutput, error)

DescribeBizFlowAndConnCountWithContext is the same as DescribeBizFlowAndConnCount with the addition of the ability to pass a context and additional request options.

See DescribeBizFlowAndConnCount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) UpdWebDefCcRule

func (c *ADVDEFENCE20230308) UpdWebDefCcRule(input *UpdWebDefCcRuleInput) (*UpdWebDefCcRuleOutput, error)

UpdWebDefCcRule API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation UpdWebDefCcRule for usage and error information.

func (*ADVDEFENCE20230308) UpdWebDefCcRuleCommon

func (c *ADVDEFENCE20230308) UpdWebDefCcRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)

UpdWebDefCcRuleCommon API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation UpdWebDefCcRuleCommon for usage and error information.

func (*ADVDEFENCE20230308) UpdWebDefCcRuleCommonRequest

func (c *ADVDEFENCE20230308) UpdWebDefCcRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

UpdWebDefCcRuleCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdWebDefCcRuleCommon operation. The "output" return value will be populated with the UpdWebDefCcRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned UpdWebDefCcRuleCommon Request to send the API call to the service. the "output" return value is not valid until after UpdWebDefCcRuleCommon Send returns without error.

See UpdWebDefCcRuleCommon for more information on using the UpdWebDefCcRuleCommon API call, and error handling.

// Example sending a request using the UpdWebDefCcRuleCommonRequest method.
req, resp := client.UpdWebDefCcRuleCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) UpdWebDefCcRuleCommonWithContext

func (c *ADVDEFENCE20230308) UpdWebDefCcRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

UpdWebDefCcRuleCommonWithContext is the same as UpdWebDefCcRuleCommon with the addition of the ability to pass a context and additional request options.

See UpdWebDefCcRuleCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) UpdWebDefCcRuleRequest

func (c *ADVDEFENCE20230308) UpdWebDefCcRuleRequest(input *UpdWebDefCcRuleInput) (req *request.Request, output *UpdWebDefCcRuleOutput)

UpdWebDefCcRuleRequest generates a "volcengine/request.Request" representing the client's request for the UpdWebDefCcRule operation. The "output" return value will be populated with the UpdWebDefCcRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned UpdWebDefCcRuleCommon Request to send the API call to the service. the "output" return value is not valid until after UpdWebDefCcRuleCommon Send returns without error.

See UpdWebDefCcRule for more information on using the UpdWebDefCcRule API call, and error handling.

// Example sending a request using the UpdWebDefCcRuleRequest method.
req, resp := client.UpdWebDefCcRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) UpdWebDefCcRuleWithContext

func (c *ADVDEFENCE20230308) UpdWebDefCcRuleWithContext(ctx volcengine.Context, input *UpdWebDefCcRuleInput, opts ...request.Option) (*UpdWebDefCcRuleOutput, error)

UpdWebDefCcRuleWithContext is the same as UpdWebDefCcRule with the addition of the ability to pass a context and additional request options.

See UpdWebDefCcRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) UpdateFwdRule

func (c *ADVDEFENCE20230308) UpdateFwdRule(input *UpdateFwdRuleInput) (*UpdateFwdRuleOutput, error)

UpdateFwdRule API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation UpdateFwdRule for usage and error information.

func (*ADVDEFENCE20230308) UpdateFwdRuleCommon

func (c *ADVDEFENCE20230308) UpdateFwdRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)

UpdateFwdRuleCommon API operation for ADVDEFENCE20230308.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for ADVDEFENCE20230308's API operation UpdateFwdRuleCommon for usage and error information.

func (*ADVDEFENCE20230308) UpdateFwdRuleCommonRequest

func (c *ADVDEFENCE20230308) UpdateFwdRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

UpdateFwdRuleCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateFwdRuleCommon operation. The "output" return value will be populated with the UpdateFwdRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned UpdateFwdRuleCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateFwdRuleCommon Send returns without error.

See UpdateFwdRuleCommon for more information on using the UpdateFwdRuleCommon API call, and error handling.

// Example sending a request using the UpdateFwdRuleCommonRequest method.
req, resp := client.UpdateFwdRuleCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) UpdateFwdRuleCommonWithContext

func (c *ADVDEFENCE20230308) UpdateFwdRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

UpdateFwdRuleCommonWithContext is the same as UpdateFwdRuleCommon with the addition of the ability to pass a context and additional request options.

See UpdateFwdRuleCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ADVDEFENCE20230308) UpdateFwdRuleRequest

func (c *ADVDEFENCE20230308) UpdateFwdRuleRequest(input *UpdateFwdRuleInput) (req *request.Request, output *UpdateFwdRuleOutput)

UpdateFwdRuleRequest generates a "volcengine/request.Request" representing the client's request for the UpdateFwdRule operation. The "output" return value will be populated with the UpdateFwdRuleCommon request's response once the request completes successfully.

Use "Send" method on the returned UpdateFwdRuleCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateFwdRuleCommon Send returns without error.

See UpdateFwdRule for more information on using the UpdateFwdRule API call, and error handling.

// Example sending a request using the UpdateFwdRuleRequest method.
req, resp := client.UpdateFwdRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ADVDEFENCE20230308) UpdateFwdRuleWithContext

func (c *ADVDEFENCE20230308) UpdateFwdRuleWithContext(ctx volcengine.Context, input *UpdateFwdRuleInput, opts ...request.Option) (*UpdateFwdRuleOutput, error)

UpdateFwdRuleWithContext is the same as UpdateFwdRule with the addition of the ability to pass a context and additional request options.

See UpdateFwdRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ADVDEFENCE20230308API

type ADVDEFENCE20230308API interface {
	AddWebDefCcRuleCommon(*map[string]interface{}) (*map[string]interface{}, error)
	AddWebDefCcRuleCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	AddWebDefCcRuleCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	AddWebDefCcRule(*AddWebDefCcRuleInput) (*AddWebDefCcRuleOutput, error)
	AddWebDefCcRuleWithContext(volcengine.Context, *AddWebDefCcRuleInput, ...request.Option) (*AddWebDefCcRuleOutput, error)
	AddWebDefCcRuleRequest(*AddWebDefCcRuleInput) (*request.Request, *AddWebDefCcRuleOutput)

	BatchAddFwdRuleCommon(*map[string]interface{}) (*map[string]interface{}, error)
	BatchAddFwdRuleCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	BatchAddFwdRuleCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	BatchAddFwdRule(*BatchAddFwdRuleInput) (*BatchAddFwdRuleOutput, error)
	BatchAddFwdRuleWithContext(volcengine.Context, *BatchAddFwdRuleInput, ...request.Option) (*BatchAddFwdRuleOutput, error)
	BatchAddFwdRuleRequest(*BatchAddFwdRuleInput) (*request.Request, *BatchAddFwdRuleOutput)

	DelWebDefCcRuleCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DelWebDefCcRuleCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DelWebDefCcRuleCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DelWebDefCcRule(*DelWebDefCcRuleInput) (*DelWebDefCcRuleOutput, error)
	DelWebDefCcRuleWithContext(volcengine.Context, *DelWebDefCcRuleInput, ...request.Option) (*DelWebDefCcRuleOutput, error)
	DelWebDefCcRuleRequest(*DelWebDefCcRuleInput) (*request.Request, *DelWebDefCcRuleOutput)

	DescribeAttackFlowCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeAttackFlowCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeAttackFlowCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeAttackFlow(*DescribeAttackFlowInput) (*DescribeAttackFlowOutput, error)
	DescribeAttackFlowWithContext(volcengine.Context, *DescribeAttackFlowInput, ...request.Option) (*DescribeAttackFlowOutput, error)
	DescribeAttackFlowRequest(*DescribeAttackFlowInput) (*request.Request, *DescribeAttackFlowOutput)

	DescribeBizFlowAndConnCountCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeBizFlowAndConnCountCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeBizFlowAndConnCountCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeBizFlowAndConnCount(*DescribeBizFlowAndConnCountInput) (*DescribeBizFlowAndConnCountOutput, error)
	DescribeBizFlowAndConnCountWithContext(volcengine.Context, *DescribeBizFlowAndConnCountInput, ...request.Option) (*DescribeBizFlowAndConnCountOutput, error)
	DescribeBizFlowAndConnCountRequest(*DescribeBizFlowAndConnCountInput) (*request.Request, *DescribeBizFlowAndConnCountOutput)

	UpdWebDefCcRuleCommon(*map[string]interface{}) (*map[string]interface{}, error)
	UpdWebDefCcRuleCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	UpdWebDefCcRuleCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	UpdWebDefCcRule(*UpdWebDefCcRuleInput) (*UpdWebDefCcRuleOutput, error)
	UpdWebDefCcRuleWithContext(volcengine.Context, *UpdWebDefCcRuleInput, ...request.Option) (*UpdWebDefCcRuleOutput, error)
	UpdWebDefCcRuleRequest(*UpdWebDefCcRuleInput) (*request.Request, *UpdWebDefCcRuleOutput)

	UpdateFwdRuleCommon(*map[string]interface{}) (*map[string]interface{}, error)
	UpdateFwdRuleCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	UpdateFwdRuleCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	UpdateFwdRule(*UpdateFwdRuleInput) (*UpdateFwdRuleOutput, error)
	UpdateFwdRuleWithContext(volcengine.Context, *UpdateFwdRuleInput, ...request.Option) (*UpdateFwdRuleOutput, error)
	UpdateFwdRuleRequest(*UpdateFwdRuleInput) (*request.Request, *UpdateFwdRuleOutput)
}

ADVDEFENCE20230308API provides an interface to enable mocking the advdefence20230308.ADVDEFENCE20230308 service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// ADVDEFENCE20230308.
func myFunc(svc ADVDEFENCE20230308API) bool {
    // Make svc.AddWebDefCcRule request
}

func main() {
    sess := session.New()
    svc := advdefence20230308.New(sess)

    myFunc(svc)
}

type AccurateGroupForAddWebDefCcRuleInput

type AccurateGroupForAddWebDefCcRuleInput struct {
	AccurateRules []*AccurateRuleForAddWebDefCcRuleInput `type:"list" json:",omitempty"`

	Logic *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AccurateGroupForAddWebDefCcRuleInput) GoString

GoString returns the string representation

func (*AccurateGroupForAddWebDefCcRuleInput) SetAccurateRules

SetAccurateRules sets the AccurateRules field's value.

func (*AccurateGroupForAddWebDefCcRuleInput) SetLogic

SetLogic sets the Logic field's value.

func (AccurateGroupForAddWebDefCcRuleInput) String

String returns the string representation

type AccurateGroupForUpdWebDefCcRuleInput

type AccurateGroupForUpdWebDefCcRuleInput struct {
	AccurateGroupPriority *int32 `type:"int32" json:",omitempty"`

	AccurateRules []*AccurateRuleForUpdWebDefCcRuleInput `type:"list" json:",omitempty"`

	Id *int32 `type:"int32" json:",omitempty"`

	Logic *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AccurateGroupForUpdWebDefCcRuleInput) GoString

GoString returns the string representation

func (*AccurateGroupForUpdWebDefCcRuleInput) SetAccurateGroupPriority

SetAccurateGroupPriority sets the AccurateGroupPriority field's value.

func (*AccurateGroupForUpdWebDefCcRuleInput) SetAccurateRules

SetAccurateRules sets the AccurateRules field's value.

func (*AccurateGroupForUpdWebDefCcRuleInput) SetId

SetId sets the Id field's value.

func (*AccurateGroupForUpdWebDefCcRuleInput) SetLogic

SetLogic sets the Logic field's value.

func (AccurateGroupForUpdWebDefCcRuleInput) String

String returns the string representation

type AccurateRuleForAddWebDefCcRuleInput

type AccurateRuleForAddWebDefCcRuleInput struct {
	HttpObj *string `type:"string" json:",omitempty"`

	ObjType *int32 `type:"int32" json:",omitempty"`

	Opretar *int32 `type:"int32" json:",omitempty"`

	Property *int32 `type:"int32" json:",omitempty"`

	ValueString *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AccurateRuleForAddWebDefCcRuleInput) GoString

GoString returns the string representation

func (*AccurateRuleForAddWebDefCcRuleInput) SetHttpObj

SetHttpObj sets the HttpObj field's value.

func (*AccurateRuleForAddWebDefCcRuleInput) SetObjType

SetObjType sets the ObjType field's value.

func (*AccurateRuleForAddWebDefCcRuleInput) SetOpretar

SetOpretar sets the Opretar field's value.

func (*AccurateRuleForAddWebDefCcRuleInput) SetProperty

SetProperty sets the Property field's value.

func (*AccurateRuleForAddWebDefCcRuleInput) SetValueString

SetValueString sets the ValueString field's value.

func (AccurateRuleForAddWebDefCcRuleInput) String

String returns the string representation

type AccurateRuleForUpdWebDefCcRuleInput

type AccurateRuleForUpdWebDefCcRuleInput struct {
	HttpObj *string `type:"string" json:",omitempty"`

	ObjType *int32 `type:"int32" json:",omitempty"`

	Opretar *int32 `type:"int32" json:",omitempty"`

	Property *int32 `type:"int32" json:",omitempty"`

	ValueString *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AccurateRuleForUpdWebDefCcRuleInput) GoString

GoString returns the string representation

func (*AccurateRuleForUpdWebDefCcRuleInput) SetHttpObj

SetHttpObj sets the HttpObj field's value.

func (*AccurateRuleForUpdWebDefCcRuleInput) SetObjType

SetObjType sets the ObjType field's value.

func (*AccurateRuleForUpdWebDefCcRuleInput) SetOpretar

SetOpretar sets the Opretar field's value.

func (*AccurateRuleForUpdWebDefCcRuleInput) SetProperty

SetProperty sets the Property field's value.

func (*AccurateRuleForUpdWebDefCcRuleInput) SetValueString

SetValueString sets the ValueString field's value.

func (AccurateRuleForUpdWebDefCcRuleInput) String

String returns the string representation

type AddRuleForBatchAddFwdRuleInput

type AddRuleForBatchAddFwdRuleInput struct {
	FwdPort *int32 `type:"int32" json:",omitempty"`

	InstanceIp *string `type:"string" json:",omitempty"`

	Proto *string `type:"string" json:",omitempty"`

	SrcIpList []*string `type:"list" json:",omitempty"`

	SrcPort *int32 `type:"int32" json:",omitempty"`

	Timeout *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AddRuleForBatchAddFwdRuleInput) GoString

GoString returns the string representation

func (*AddRuleForBatchAddFwdRuleInput) SetFwdPort

SetFwdPort sets the FwdPort field's value.

func (*AddRuleForBatchAddFwdRuleInput) SetInstanceIp

SetInstanceIp sets the InstanceIp field's value.

func (*AddRuleForBatchAddFwdRuleInput) SetProto

SetProto sets the Proto field's value.

func (*AddRuleForBatchAddFwdRuleInput) SetSrcIpList

SetSrcIpList sets the SrcIpList field's value.

func (*AddRuleForBatchAddFwdRuleInput) SetSrcPort

SetSrcPort sets the SrcPort field's value.

func (*AddRuleForBatchAddFwdRuleInput) SetTimeout

SetTimeout sets the Timeout field's value.

func (AddRuleForBatchAddFwdRuleInput) String

String returns the string representation

type AddWebDefCcRuleInput

type AddWebDefCcRuleInput struct {
	AccurateGroup *AccurateGroupForAddWebDefCcRuleInput `type:"structure" json:",omitempty"`

	// CCType is a required field
	CCType *int32 `type:"int32" json:",omitempty" required:"true"`

	// CountTime is a required field
	CountTime *int32 `type:"int32" json:",omitempty" required:"true"`

	EffectTime *int32 `type:"int32" json:",omitempty"`

	// Enable is a required field
	Enable *int32 `type:"int32" json:",omitempty" required:"true"`

	// Field is a required field
	Field *string `type:"string" json:",omitempty" required:"true"`

	// Host is a required field
	Host *string `type:"string" json:",omitempty" required:"true"`

	// Name is a required field
	Name *string `type:"string" json:",omitempty" required:"true"`

	PathThreshold *int32 `type:"int32" json:",omitempty"`

	// PrefixSwitch is a required field
	PrefixSwitch *int32 `type:"int32" json:",omitempty" required:"true"`

	// RulePriority is a required field
	RulePriority *int32 `type:"int32" json:",omitempty" required:"true"`

	// SingleThreshold is a required field
	SingleThreshold *int32 `type:"int32" json:",omitempty" required:"true"`

	Url *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AddWebDefCcRuleInput) GoString

func (s AddWebDefCcRuleInput) GoString() string

GoString returns the string representation

func (*AddWebDefCcRuleInput) SetAccurateGroup

SetAccurateGroup sets the AccurateGroup field's value.

func (*AddWebDefCcRuleInput) SetCCType

SetCCType sets the CCType field's value.

func (*AddWebDefCcRuleInput) SetCountTime

func (s *AddWebDefCcRuleInput) SetCountTime(v int32) *AddWebDefCcRuleInput

SetCountTime sets the CountTime field's value.

func (*AddWebDefCcRuleInput) SetEffectTime

func (s *AddWebDefCcRuleInput) SetEffectTime(v int32) *AddWebDefCcRuleInput

SetEffectTime sets the EffectTime field's value.

func (*AddWebDefCcRuleInput) SetEnable

SetEnable sets the Enable field's value.

func (*AddWebDefCcRuleInput) SetField

SetField sets the Field field's value.

func (*AddWebDefCcRuleInput) SetHost

SetHost sets the Host field's value.

func (*AddWebDefCcRuleInput) SetName

SetName sets the Name field's value.

func (*AddWebDefCcRuleInput) SetPathThreshold

func (s *AddWebDefCcRuleInput) SetPathThreshold(v int32) *AddWebDefCcRuleInput

SetPathThreshold sets the PathThreshold field's value.

func (*AddWebDefCcRuleInput) SetPrefixSwitch

func (s *AddWebDefCcRuleInput) SetPrefixSwitch(v int32) *AddWebDefCcRuleInput

SetPrefixSwitch sets the PrefixSwitch field's value.

func (*AddWebDefCcRuleInput) SetRulePriority

func (s *AddWebDefCcRuleInput) SetRulePriority(v int32) *AddWebDefCcRuleInput

SetRulePriority sets the RulePriority field's value.

func (*AddWebDefCcRuleInput) SetSingleThreshold

func (s *AddWebDefCcRuleInput) SetSingleThreshold(v int32) *AddWebDefCcRuleInput

SetSingleThreshold sets the SingleThreshold field's value.

func (*AddWebDefCcRuleInput) SetUrl

SetUrl sets the Url field's value.

func (AddWebDefCcRuleInput) String

func (s AddWebDefCcRuleInput) String() string

String returns the string representation

func (*AddWebDefCcRuleInput) Validate

func (s *AddWebDefCcRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddWebDefCcRuleOutput

type AddWebDefCcRuleOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (AddWebDefCcRuleOutput) GoString

func (s AddWebDefCcRuleOutput) GoString() string

GoString returns the string representation

func (AddWebDefCcRuleOutput) String

func (s AddWebDefCcRuleOutput) String() string

String returns the string representation

type AvgFlowForDescribeBizFlowAndConnCountOutput

type AvgFlowForDescribeBizFlowAndConnCountOutput struct {
	Timestamp *int32 `type:"int32" json:",omitempty"`

	Value *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AvgFlowForDescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*AvgFlowForDescribeBizFlowAndConnCountOutput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (*AvgFlowForDescribeBizFlowAndConnCountOutput) SetValue

SetValue sets the Value field's value.

func (AvgFlowForDescribeBizFlowAndConnCountOutput) String

String returns the string representation

type BatchAddFwdRuleInput

type BatchAddFwdRuleInput struct {
	AddRules []*AddRuleForBatchAddFwdRuleInput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (BatchAddFwdRuleInput) GoString

func (s BatchAddFwdRuleInput) GoString() string

GoString returns the string representation

func (*BatchAddFwdRuleInput) SetAddRules

SetAddRules sets the AddRules field's value.

func (BatchAddFwdRuleInput) String

func (s BatchAddFwdRuleInput) String() string

String returns the string representation

type BatchAddFwdRuleOutput

type BatchAddFwdRuleOutput struct {
	Metadata *response.ResponseMetadata

	Messages []*MessageForBatchAddFwdRuleOutput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (BatchAddFwdRuleOutput) GoString

func (s BatchAddFwdRuleOutput) GoString() string

GoString returns the string representation

func (*BatchAddFwdRuleOutput) SetMessages

SetMessages sets the Messages field's value.

func (BatchAddFwdRuleOutput) String

func (s BatchAddFwdRuleOutput) String() string

String returns the string representation

type BizInKbpsFlowForDescribeBizFlowAndConnCountOutput

type BizInKbpsFlowForDescribeBizFlowAndConnCountOutput struct {
	AvgFlows []*AvgFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	MaxAvgValue *int32 `type:"int32" json:",omitempty"`

	PeakFlows []*PeakFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	PeakValue *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (BizInKbpsFlowForDescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*BizInKbpsFlowForDescribeBizFlowAndConnCountOutput) SetAvgFlows

SetAvgFlows sets the AvgFlows field's value.

func (*BizInKbpsFlowForDescribeBizFlowAndConnCountOutput) SetMaxAvgValue

SetMaxAvgValue sets the MaxAvgValue field's value.

func (*BizInKbpsFlowForDescribeBizFlowAndConnCountOutput) SetPeakFlows

SetPeakFlows sets the PeakFlows field's value.

func (*BizInKbpsFlowForDescribeBizFlowAndConnCountOutput) SetPeakValue

SetPeakValue sets the PeakValue field's value.

func (BizInKbpsFlowForDescribeBizFlowAndConnCountOutput) String

String returns the string representation

type BizInPpsFlowForDescribeBizFlowAndConnCountOutput

type BizInPpsFlowForDescribeBizFlowAndConnCountOutput struct {
	AvgFlows []*AvgFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	MaxAvgValue *int32 `type:"int32" json:",omitempty"`

	PeakFlows []*PeakFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	PeakValue *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (BizInPpsFlowForDescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*BizInPpsFlowForDescribeBizFlowAndConnCountOutput) SetAvgFlows

SetAvgFlows sets the AvgFlows field's value.

func (*BizInPpsFlowForDescribeBizFlowAndConnCountOutput) SetMaxAvgValue

SetMaxAvgValue sets the MaxAvgValue field's value.

func (*BizInPpsFlowForDescribeBizFlowAndConnCountOutput) SetPeakFlows

SetPeakFlows sets the PeakFlows field's value.

func (*BizInPpsFlowForDescribeBizFlowAndConnCountOutput) SetPeakValue

SetPeakValue sets the PeakValue field's value.

func (BizInPpsFlowForDescribeBizFlowAndConnCountOutput) String

String returns the string representation

type BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput

type BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput struct {
	AvgFlows []*AvgFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	MaxAvgValue *int32 `type:"int32" json:",omitempty"`

	PeakFlows []*PeakFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	PeakValue *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput) SetAvgFlows

SetAvgFlows sets the AvgFlows field's value.

func (*BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput) SetMaxAvgValue

SetMaxAvgValue sets the MaxAvgValue field's value.

func (*BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput) SetPeakFlows

SetPeakFlows sets the PeakFlows field's value.

func (*BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput) SetPeakValue

SetPeakValue sets the PeakValue field's value.

func (BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput) String

String returns the string representation

type BizOutPpsFlowForDescribeBizFlowAndConnCountOutput

type BizOutPpsFlowForDescribeBizFlowAndConnCountOutput struct {
	AvgFlows []*AvgFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	MaxAvgValue *int32 `type:"int32" json:",omitempty"`

	PeakFlows []*PeakFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	PeakValue *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (BizOutPpsFlowForDescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*BizOutPpsFlowForDescribeBizFlowAndConnCountOutput) SetAvgFlows

SetAvgFlows sets the AvgFlows field's value.

func (*BizOutPpsFlowForDescribeBizFlowAndConnCountOutput) SetMaxAvgValue

SetMaxAvgValue sets the MaxAvgValue field's value.

func (*BizOutPpsFlowForDescribeBizFlowAndConnCountOutput) SetPeakFlows

SetPeakFlows sets the PeakFlows field's value.

func (*BizOutPpsFlowForDescribeBizFlowAndConnCountOutput) SetPeakValue

SetPeakValue sets the PeakValue field's value.

func (BizOutPpsFlowForDescribeBizFlowAndConnCountOutput) String

String returns the string representation

type ConcurrConnFlowForDescribeBizFlowAndConnCountOutput

type ConcurrConnFlowForDescribeBizFlowAndConnCountOutput struct {
	AvgFlows []*AvgFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	MaxAvgValue *int32 `type:"int32" json:",omitempty"`

	PeakFlows []*PeakFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	PeakValue *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ConcurrConnFlowForDescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*ConcurrConnFlowForDescribeBizFlowAndConnCountOutput) SetAvgFlows

SetAvgFlows sets the AvgFlows field's value.

func (*ConcurrConnFlowForDescribeBizFlowAndConnCountOutput) SetMaxAvgValue

SetMaxAvgValue sets the MaxAvgValue field's value.

func (*ConcurrConnFlowForDescribeBizFlowAndConnCountOutput) SetPeakFlows

SetPeakFlows sets the PeakFlows field's value.

func (*ConcurrConnFlowForDescribeBizFlowAndConnCountOutput) SetPeakValue

SetPeakValue sets the PeakValue field's value.

func (ConcurrConnFlowForDescribeBizFlowAndConnCountOutput) String

String returns the string representation

type DelWebDefCcRuleInput

type DelWebDefCcRuleInput struct {

	// DdosId is a required field
	DdosId *int32 `type:"int32" json:",omitempty" required:"true"`

	// Host is a required field
	Host *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (DelWebDefCcRuleInput) GoString

func (s DelWebDefCcRuleInput) GoString() string

GoString returns the string representation

func (*DelWebDefCcRuleInput) SetDdosId

SetDdosId sets the DdosId field's value.

func (*DelWebDefCcRuleInput) SetHost

SetHost sets the Host field's value.

func (DelWebDefCcRuleInput) String

func (s DelWebDefCcRuleInput) String() string

String returns the string representation

func (*DelWebDefCcRuleInput) Validate

func (s *DelWebDefCcRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DelWebDefCcRuleOutput

type DelWebDefCcRuleOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (DelWebDefCcRuleOutput) GoString

func (s DelWebDefCcRuleOutput) GoString() string

GoString returns the string representation

func (DelWebDefCcRuleOutput) String

func (s DelWebDefCcRuleOutput) String() string

String returns the string representation

type DescribeAttackFlowInput

type DescribeAttackFlowInput struct {

	// BeginTime is a required field
	BeginTime *int32 `type:"int32" json:",omitempty" required:"true"`

	// EndTime is a required field
	EndTime *int32 `type:"int32" json:",omitempty" required:"true"`

	InstanceIps []*string `type:"list" json:",omitempty"`

	Tab *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeAttackFlowInput) GoString

func (s DescribeAttackFlowInput) GoString() string

GoString returns the string representation

func (*DescribeAttackFlowInput) SetBeginTime

SetBeginTime sets the BeginTime field's value.

func (*DescribeAttackFlowInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*DescribeAttackFlowInput) SetInstanceIps

func (s *DescribeAttackFlowInput) SetInstanceIps(v []*string) *DescribeAttackFlowInput

SetInstanceIps sets the InstanceIps field's value.

func (*DescribeAttackFlowInput) SetTab

SetTab sets the Tab field's value.

func (DescribeAttackFlowInput) String

func (s DescribeAttackFlowInput) String() string

String returns the string representation

func (*DescribeAttackFlowInput) Validate

func (s *DescribeAttackFlowInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAttackFlowOutput

type DescribeAttackFlowOutput struct {
	Metadata *response.ResponseMetadata

	InstanceResult []*InstanceResultForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	OverallResult *OverallResultForDescribeAttackFlowOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeAttackFlowOutput) GoString

func (s DescribeAttackFlowOutput) GoString() string

GoString returns the string representation

func (*DescribeAttackFlowOutput) SetInstanceResult

SetInstanceResult sets the InstanceResult field's value.

func (*DescribeAttackFlowOutput) SetOverallResult

SetOverallResult sets the OverallResult field's value.

func (DescribeAttackFlowOutput) String

func (s DescribeAttackFlowOutput) String() string

String returns the string representation

type DescribeBizFlowAndConnCountInput

type DescribeBizFlowAndConnCountInput struct {

	// BeginTime is a required field
	BeginTime *int32 `type:"int32" json:",omitempty" required:"true"`

	// EndTime is a required field
	EndTime *int32 `type:"int32" json:",omitempty" required:"true"`

	InstanceIps []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeBizFlowAndConnCountInput) GoString

GoString returns the string representation

func (*DescribeBizFlowAndConnCountInput) SetBeginTime

SetBeginTime sets the BeginTime field's value.

func (*DescribeBizFlowAndConnCountInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*DescribeBizFlowAndConnCountInput) SetInstanceIps

SetInstanceIps sets the InstanceIps field's value.

func (DescribeBizFlowAndConnCountInput) String

String returns the string representation

func (*DescribeBizFlowAndConnCountInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeBizFlowAndConnCountOutput

type DescribeBizFlowAndConnCountOutput struct {
	Metadata *response.ResponseMetadata

	BizInKbpsFlow *BizInKbpsFlowForDescribeBizFlowAndConnCountOutput `type:"structure" json:",omitempty"`

	BizInPpsFlow *BizInPpsFlowForDescribeBizFlowAndConnCountOutput `type:"structure" json:",omitempty"`

	BizOutKbpsFlow *BizOutKbpsFlowForDescribeBizFlowAndConnCountOutput `type:"structure" json:",omitempty"`

	BizOutPpsFlow *BizOutPpsFlowForDescribeBizFlowAndConnCountOutput `type:"structure" json:",omitempty"`

	ConcurrConnFlow *ConcurrConnFlowForDescribeBizFlowAndConnCountOutput `type:"structure" json:",omitempty"`

	NewConnFlow *NewConnFlowForDescribeBizFlowAndConnCountOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*DescribeBizFlowAndConnCountOutput) SetBizInKbpsFlow

SetBizInKbpsFlow sets the BizInKbpsFlow field's value.

func (*DescribeBizFlowAndConnCountOutput) SetBizInPpsFlow

SetBizInPpsFlow sets the BizInPpsFlow field's value.

func (*DescribeBizFlowAndConnCountOutput) SetBizOutKbpsFlow

SetBizOutKbpsFlow sets the BizOutKbpsFlow field's value.

func (*DescribeBizFlowAndConnCountOutput) SetBizOutPpsFlow

SetBizOutPpsFlow sets the BizOutPpsFlow field's value.

func (*DescribeBizFlowAndConnCountOutput) SetConcurrConnFlow

SetConcurrConnFlow sets the ConcurrConnFlow field's value.

func (*DescribeBizFlowAndConnCountOutput) SetNewConnFlow

SetNewConnFlow sets the NewConnFlow field's value.

func (DescribeBizFlowAndConnCountOutput) String

String returns the string representation

type DropKBpsFlowForDescribeAttackFlowOutput

type DropKBpsFlowForDescribeAttackFlowOutput struct {
	Ip *string `type:"string" json:",omitempty"`

	Timestamp *int32 `type:"int32" json:",omitempty"`

	Value *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DropKBpsFlowForDescribeAttackFlowOutput) GoString

GoString returns the string representation

func (*DropKBpsFlowForDescribeAttackFlowOutput) SetIp

SetIp sets the Ip field's value.

func (*DropKBpsFlowForDescribeAttackFlowOutput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (*DropKBpsFlowForDescribeAttackFlowOutput) SetValue

SetValue sets the Value field's value.

func (DropKBpsFlowForDescribeAttackFlowOutput) String

String returns the string representation

type DropPktsFlowForDescribeAttackFlowOutput

type DropPktsFlowForDescribeAttackFlowOutput struct {
	Ip *string `type:"string" json:",omitempty"`

	Timestamp *int32 `type:"int32" json:",omitempty"`

	Value *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DropPktsFlowForDescribeAttackFlowOutput) GoString

GoString returns the string representation

func (*DropPktsFlowForDescribeAttackFlowOutput) SetIp

SetIp sets the Ip field's value.

func (*DropPktsFlowForDescribeAttackFlowOutput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (*DropPktsFlowForDescribeAttackFlowOutput) SetValue

SetValue sets the Value field's value.

func (DropPktsFlowForDescribeAttackFlowOutput) String

String returns the string representation

type InKBpsFlowForDescribeAttackFlowOutput

type InKBpsFlowForDescribeAttackFlowOutput struct {
	Ip *string `type:"string" json:",omitempty"`

	Timestamp *int32 `type:"int32" json:",omitempty"`

	Value *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (InKBpsFlowForDescribeAttackFlowOutput) GoString

GoString returns the string representation

func (*InKBpsFlowForDescribeAttackFlowOutput) SetIp

SetIp sets the Ip field's value.

func (*InKBpsFlowForDescribeAttackFlowOutput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (*InKBpsFlowForDescribeAttackFlowOutput) SetValue

SetValue sets the Value field's value.

func (InKBpsFlowForDescribeAttackFlowOutput) String

String returns the string representation

type InPktsFlowForDescribeAttackFlowOutput

type InPktsFlowForDescribeAttackFlowOutput struct {
	Ip *string `type:"string" json:",omitempty"`

	Timestamp *int32 `type:"int32" json:",omitempty"`

	Value *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (InPktsFlowForDescribeAttackFlowOutput) GoString

GoString returns the string representation

func (*InPktsFlowForDescribeAttackFlowOutput) SetIp

SetIp sets the Ip field's value.

func (*InPktsFlowForDescribeAttackFlowOutput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (*InPktsFlowForDescribeAttackFlowOutput) SetValue

SetValue sets the Value field's value.

func (InPktsFlowForDescribeAttackFlowOutput) String

String returns the string representation

type InstanceResultForDescribeAttackFlowOutput

type InstanceResultForDescribeAttackFlowOutput struct {
	Key *string `type:"string" json:",omitempty"`

	Val *ValForDescribeAttackFlowOutput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (InstanceResultForDescribeAttackFlowOutput) GoString

GoString returns the string representation

func (*InstanceResultForDescribeAttackFlowOutput) SetKey

SetKey sets the Key field's value.

func (*InstanceResultForDescribeAttackFlowOutput) SetVal

SetVal sets the Val field's value.

func (InstanceResultForDescribeAttackFlowOutput) String

String returns the string representation

type MessageForBatchAddFwdRuleOutput

type MessageForBatchAddFwdRuleOutput struct {
	ErrMsgs []*string `type:"list" json:",omitempty"`

	FwdPort *int32 `type:"int32" json:",omitempty"`

	IsSucceed *int32 `type:"int32" json:",omitempty"`

	Proto *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (MessageForBatchAddFwdRuleOutput) GoString

GoString returns the string representation

func (*MessageForBatchAddFwdRuleOutput) SetErrMsgs

SetErrMsgs sets the ErrMsgs field's value.

func (*MessageForBatchAddFwdRuleOutput) SetFwdPort

SetFwdPort sets the FwdPort field's value.

func (*MessageForBatchAddFwdRuleOutput) SetIsSucceed

SetIsSucceed sets the IsSucceed field's value.

func (*MessageForBatchAddFwdRuleOutput) SetProto

SetProto sets the Proto field's value.

func (MessageForBatchAddFwdRuleOutput) String

String returns the string representation

type NewConnFlowForDescribeBizFlowAndConnCountOutput

type NewConnFlowForDescribeBizFlowAndConnCountOutput struct {
	AvgFlows []*AvgFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	MaxAvgValue *int32 `type:"int32" json:",omitempty"`

	PeakFlows []*PeakFlowForDescribeBizFlowAndConnCountOutput `type:"list" json:",omitempty"`

	PeakValue *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (NewConnFlowForDescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*NewConnFlowForDescribeBizFlowAndConnCountOutput) SetAvgFlows

SetAvgFlows sets the AvgFlows field's value.

func (*NewConnFlowForDescribeBizFlowAndConnCountOutput) SetMaxAvgValue

SetMaxAvgValue sets the MaxAvgValue field's value.

func (*NewConnFlowForDescribeBizFlowAndConnCountOutput) SetPeakFlows

SetPeakFlows sets the PeakFlows field's value.

func (*NewConnFlowForDescribeBizFlowAndConnCountOutput) SetPeakValue

SetPeakValue sets the PeakValue field's value.

func (NewConnFlowForDescribeBizFlowAndConnCountOutput) String

String returns the string representation

type OverallResultForDescribeAttackFlowOutput

type OverallResultForDescribeAttackFlowOutput struct {
	DropKBpsFlow []*DropKBpsFlowForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	DropPktsFlow []*DropPktsFlowForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	InKBpsFlow []*InKBpsFlowForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	InPktsFlow []*InPktsFlowForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	PeakDropKBps *int32 `type:"int32" json:",omitempty"`

	PeakDropPps *int32 `type:"int32" json:",omitempty"`

	PeakInKBps *int32 `type:"int32" json:",omitempty"`

	PeakInPps *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (OverallResultForDescribeAttackFlowOutput) GoString

GoString returns the string representation

func (*OverallResultForDescribeAttackFlowOutput) SetDropKBpsFlow

SetDropKBpsFlow sets the DropKBpsFlow field's value.

func (*OverallResultForDescribeAttackFlowOutput) SetDropPktsFlow

SetDropPktsFlow sets the DropPktsFlow field's value.

func (*OverallResultForDescribeAttackFlowOutput) SetInKBpsFlow

SetInKBpsFlow sets the InKBpsFlow field's value.

func (*OverallResultForDescribeAttackFlowOutput) SetInPktsFlow

SetInPktsFlow sets the InPktsFlow field's value.

func (*OverallResultForDescribeAttackFlowOutput) SetPeakDropKBps

SetPeakDropKBps sets the PeakDropKBps field's value.

func (*OverallResultForDescribeAttackFlowOutput) SetPeakDropPps

SetPeakDropPps sets the PeakDropPps field's value.

func (*OverallResultForDescribeAttackFlowOutput) SetPeakInKBps

SetPeakInKBps sets the PeakInKBps field's value.

func (*OverallResultForDescribeAttackFlowOutput) SetPeakInPps

SetPeakInPps sets the PeakInPps field's value.

func (OverallResultForDescribeAttackFlowOutput) String

String returns the string representation

type PeakFlowForDescribeBizFlowAndConnCountOutput

type PeakFlowForDescribeBizFlowAndConnCountOutput struct {
	Timestamp *int32 `type:"int32" json:",omitempty"`

	Value *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (PeakFlowForDescribeBizFlowAndConnCountOutput) GoString

GoString returns the string representation

func (*PeakFlowForDescribeBizFlowAndConnCountOutput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (*PeakFlowForDescribeBizFlowAndConnCountOutput) SetValue

SetValue sets the Value field's value.

func (PeakFlowForDescribeBizFlowAndConnCountOutput) String

String returns the string representation

type UpdWebDefCcRuleInput

type UpdWebDefCcRuleInput struct {
	AccurateGroup *AccurateGroupForUpdWebDefCcRuleInput `type:"structure" json:",omitempty"`

	// CCType is a required field
	CCType *int32 `type:"int32" json:",omitempty" required:"true"`

	// CountTime is a required field
	CountTime *int32 `type:"int32" json:",omitempty" required:"true"`

	// DdosId is a required field
	DdosId *int32 `type:"int32" json:",omitempty" required:"true"`

	// EffectTime is a required field
	EffectTime *int32 `type:"int32" json:",omitempty" required:"true"`

	// Enable is a required field
	Enable *int32 `type:"int32" json:",omitempty" required:"true"`

	// Field is a required field
	Field *string `type:"string" json:",omitempty" required:"true"`

	// Host is a required field
	Host *string `type:"string" json:",omitempty" required:"true"`

	// Name is a required field
	Name *string `type:"string" json:",omitempty" required:"true"`

	// PathThreshold is a required field
	PathThreshold *int32 `type:"int32" json:",omitempty" required:"true"`

	// PrefixSwitch is a required field
	PrefixSwitch *int32 `type:"int32" json:",omitempty" required:"true"`

	// RulePriority is a required field
	RulePriority *int32 `type:"int32" json:",omitempty" required:"true"`

	// SingleThreshold is a required field
	SingleThreshold *int32 `type:"int32" json:",omitempty" required:"true"`

	// Url is a required field
	Url *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (UpdWebDefCcRuleInput) GoString

func (s UpdWebDefCcRuleInput) GoString() string

GoString returns the string representation

func (*UpdWebDefCcRuleInput) SetAccurateGroup

SetAccurateGroup sets the AccurateGroup field's value.

func (*UpdWebDefCcRuleInput) SetCCType

SetCCType sets the CCType field's value.

func (*UpdWebDefCcRuleInput) SetCountTime

func (s *UpdWebDefCcRuleInput) SetCountTime(v int32) *UpdWebDefCcRuleInput

SetCountTime sets the CountTime field's value.

func (*UpdWebDefCcRuleInput) SetDdosId

SetDdosId sets the DdosId field's value.

func (*UpdWebDefCcRuleInput) SetEffectTime

func (s *UpdWebDefCcRuleInput) SetEffectTime(v int32) *UpdWebDefCcRuleInput

SetEffectTime sets the EffectTime field's value.

func (*UpdWebDefCcRuleInput) SetEnable

SetEnable sets the Enable field's value.

func (*UpdWebDefCcRuleInput) SetField

SetField sets the Field field's value.

func (*UpdWebDefCcRuleInput) SetHost

SetHost sets the Host field's value.

func (*UpdWebDefCcRuleInput) SetName

SetName sets the Name field's value.

func (*UpdWebDefCcRuleInput) SetPathThreshold

func (s *UpdWebDefCcRuleInput) SetPathThreshold(v int32) *UpdWebDefCcRuleInput

SetPathThreshold sets the PathThreshold field's value.

func (*UpdWebDefCcRuleInput) SetPrefixSwitch

func (s *UpdWebDefCcRuleInput) SetPrefixSwitch(v int32) *UpdWebDefCcRuleInput

SetPrefixSwitch sets the PrefixSwitch field's value.

func (*UpdWebDefCcRuleInput) SetRulePriority

func (s *UpdWebDefCcRuleInput) SetRulePriority(v int32) *UpdWebDefCcRuleInput

SetRulePriority sets the RulePriority field's value.

func (*UpdWebDefCcRuleInput) SetSingleThreshold

func (s *UpdWebDefCcRuleInput) SetSingleThreshold(v int32) *UpdWebDefCcRuleInput

SetSingleThreshold sets the SingleThreshold field's value.

func (*UpdWebDefCcRuleInput) SetUrl

SetUrl sets the Url field's value.

func (UpdWebDefCcRuleInput) String

func (s UpdWebDefCcRuleInput) String() string

String returns the string representation

func (*UpdWebDefCcRuleInput) Validate

func (s *UpdWebDefCcRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdWebDefCcRuleOutput

type UpdWebDefCcRuleOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (UpdWebDefCcRuleOutput) GoString

func (s UpdWebDefCcRuleOutput) GoString() string

GoString returns the string representation

func (UpdWebDefCcRuleOutput) String

func (s UpdWebDefCcRuleOutput) String() string

String returns the string representation

type UpdateFwdRuleInput

type UpdateFwdRuleInput struct {

	// FwdPort is a required field
	FwdPort *int32 `type:"int32" json:",omitempty" required:"true"`

	// InstanceIp is a required field
	InstanceIp *string `type:"string" json:",omitempty" required:"true"`

	// Proto is a required field
	Proto *string `type:"string" json:",omitempty" required:"true"`

	SrcIpList []*string `type:"list" json:",omitempty"`

	// SrcPort is a required field
	SrcPort *int32 `type:"int32" json:",omitempty" required:"true"`

	// TimeOut is a required field
	TimeOut *int32 `type:"int32" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateFwdRuleInput) GoString

func (s UpdateFwdRuleInput) GoString() string

GoString returns the string representation

func (*UpdateFwdRuleInput) SetFwdPort

func (s *UpdateFwdRuleInput) SetFwdPort(v int32) *UpdateFwdRuleInput

SetFwdPort sets the FwdPort field's value.

func (*UpdateFwdRuleInput) SetInstanceIp

func (s *UpdateFwdRuleInput) SetInstanceIp(v string) *UpdateFwdRuleInput

SetInstanceIp sets the InstanceIp field's value.

func (*UpdateFwdRuleInput) SetProto

SetProto sets the Proto field's value.

func (*UpdateFwdRuleInput) SetSrcIpList

func (s *UpdateFwdRuleInput) SetSrcIpList(v []*string) *UpdateFwdRuleInput

SetSrcIpList sets the SrcIpList field's value.

func (*UpdateFwdRuleInput) SetSrcPort

func (s *UpdateFwdRuleInput) SetSrcPort(v int32) *UpdateFwdRuleInput

SetSrcPort sets the SrcPort field's value.

func (*UpdateFwdRuleInput) SetTimeOut

func (s *UpdateFwdRuleInput) SetTimeOut(v int32) *UpdateFwdRuleInput

SetTimeOut sets the TimeOut field's value.

func (UpdateFwdRuleInput) String

func (s UpdateFwdRuleInput) String() string

String returns the string representation

func (*UpdateFwdRuleInput) Validate

func (s *UpdateFwdRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateFwdRuleOutput

type UpdateFwdRuleOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (UpdateFwdRuleOutput) GoString

func (s UpdateFwdRuleOutput) GoString() string

GoString returns the string representation

func (UpdateFwdRuleOutput) String

func (s UpdateFwdRuleOutput) String() string

String returns the string representation

type ValForDescribeAttackFlowOutput

type ValForDescribeAttackFlowOutput struct {
	DropKBpsFlow []*DropKBpsFlowForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	DropPktsFlow []*DropPktsFlowForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	InKBpsFlow []*InKBpsFlowForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	InPktsFlow []*InPktsFlowForDescribeAttackFlowOutput `type:"list" json:",omitempty"`

	PeakDropKBps *int32 `type:"int32" json:",omitempty"`

	PeakDropPps *int32 `type:"int32" json:",omitempty"`

	PeakInKBps *int32 `type:"int32" json:",omitempty"`

	PeakInPps *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ValForDescribeAttackFlowOutput) GoString

GoString returns the string representation

func (*ValForDescribeAttackFlowOutput) SetDropKBpsFlow

SetDropKBpsFlow sets the DropKBpsFlow field's value.

func (*ValForDescribeAttackFlowOutput) SetDropPktsFlow

SetDropPktsFlow sets the DropPktsFlow field's value.

func (*ValForDescribeAttackFlowOutput) SetInKBpsFlow

SetInKBpsFlow sets the InKBpsFlow field's value.

func (*ValForDescribeAttackFlowOutput) SetInPktsFlow

SetInPktsFlow sets the InPktsFlow field's value.

func (*ValForDescribeAttackFlowOutput) SetPeakDropKBps

SetPeakDropKBps sets the PeakDropKBps field's value.

func (*ValForDescribeAttackFlowOutput) SetPeakDropPps

SetPeakDropPps sets the PeakDropPps field's value.

func (*ValForDescribeAttackFlowOutput) SetPeakInKBps

SetPeakInKBps sets the PeakInKBps field's value.

func (*ValForDescribeAttackFlowOutput) SetPeakInPps

SetPeakInPps sets the PeakInPps field's value.

func (ValForDescribeAttackFlowOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

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