package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev

# Functions

Create will create a new policy based on the values in CreateOpts.
Delete will permanently delete a particular policy based on its unique ID.
Get retrieves a particular policy based on its unique ID.
ListPolicy retrieve waf policy by ListPolicyOpts.
Update accepts a UpdateOpts struct and uses the values to update a policy.The response code from api is 200.
UpdateHosts accepts a UpdateHostsOpts struct and uses the values to update a policy hosts.The response code from api is 200.

# Variables

No description provided by the author

# Structs

Action contains actions after the attack is detected.
BindHost the hosts bound to this policy.
CreateOpts contains all the values needed to create a new policy.
CreateResult represents the result of a create operation.
DeleteResult represents the result of a delete operation.
GetResult represents the result of a get operation.
ListPolicyOpts.
ListPolicyRst.
Policy contains the infomateion of the policy.
PolicyOption contains the protection rule of a policy.
UpdateHostsOpts contains all the values needed to update a policy hosts.
UpdateOpts contains all the values needed to update a policy.
UpdateResult represents the result of a update operation.

# Interfaces

CreateOptsBuilder allows extensions to add additional parameters to the Create request.
UpdateHostsOptsBuilder allows extensions to add additional parameters to the Update request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.