v2

package
v0.1.124 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AadClientBuilder

func AadClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForCreateDomain

func GenReqDefForCreateDomain() *def.HttpRequestDef

func GenReqDefForDeleteDomain

func GenReqDefForDeleteDomain() *def.HttpRequestDef

func GenReqDefForListDDoSAttackEvent

func GenReqDefForListDDoSAttackEvent() *def.HttpRequestDef

func GenReqDefForListDDoSConnectionNumber

func GenReqDefForListDDoSConnectionNumber() *def.HttpRequestDef

func GenReqDefForListDDoSFlow

func GenReqDefForListDDoSFlow() *def.HttpRequestDef

func GenReqDefForListFrequencyControlRule

func GenReqDefForListFrequencyControlRule() *def.HttpRequestDef

func GenReqDefForListInstanceDomains

func GenReqDefForListInstanceDomains() *def.HttpRequestDef

func GenReqDefForListWafAttackEvent

func GenReqDefForListWafAttackEvent() *def.HttpRequestDef

func GenReqDefForListWafBandwidth

func GenReqDefForListWafBandwidth() *def.HttpRequestDef

func GenReqDefForListWafCustomRule

func GenReqDefForListWafCustomRule() *def.HttpRequestDef

func GenReqDefForListWafGeoIpRule

func GenReqDefForListWafGeoIpRule() *def.HttpRequestDef

func GenReqDefForListWafQps

func GenReqDefForListWafQps() *def.HttpRequestDef

func GenReqDefForListWafWhiteIpRule

func GenReqDefForListWafWhiteIpRule() *def.HttpRequestDef

func GenReqDefForListWhiteBlackIpRule

func GenReqDefForListWhiteBlackIpRule() *def.HttpRequestDef

func GenReqDefForShowDomainCertificate

func GenReqDefForShowDomainCertificate() *def.HttpRequestDef

func GenReqDefForShowFlowBlock

func GenReqDefForShowFlowBlock() *def.HttpRequestDef

func GenReqDefForShowWafPolicy

func GenReqDefForShowWafPolicy() *def.HttpRequestDef

func GenReqDefForShowWafQps

func GenReqDefForShowWafQps() *def.HttpRequestDef

func GenReqDefForUpgradeInstanceSpec

func GenReqDefForUpgradeInstanceSpec() *def.HttpRequestDef

Types

type AadClient

type AadClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewAadClient

func NewAadClient(hcClient *httpclient.HcHttpClient) *AadClient

func (*AadClient) CreateDomain

func (c *AadClient) CreateDomain(request *model.CreateDomainRequest) (*model.CreateDomainResponse, error)

CreateDomain 创建防护域名

创建防护域名

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) CreateDomainInvoker

func (c *AadClient) CreateDomainInvoker(request *model.CreateDomainRequest) *CreateDomainInvoker

CreateDomainInvoker 创建防护域名

func (*AadClient) DeleteDomain

func (c *AadClient) DeleteDomain(request *model.DeleteDomainRequest) (*model.DeleteDomainResponse, error)

DeleteDomain 删除防护域名

删除防护域名

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) DeleteDomainInvoker

func (c *AadClient) DeleteDomainInvoker(request *model.DeleteDomainRequest) *DeleteDomainInvoker

DeleteDomainInvoker 删除防护域名

func (*AadClient) ListDDoSAttackEvent

ListDDoSAttackEvent 查询DDoS攻击事件列表

查询DDoS攻击事件列表

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListDDoSAttackEventInvoker

func (c *AadClient) ListDDoSAttackEventInvoker(request *model.ListDDoSAttackEventRequest) *ListDDoSAttackEventInvoker

ListDDoSAttackEventInvoker 查询DDoS攻击事件列表

func (*AadClient) ListDDoSConnectionNumber

ListDDoSConnectionNumber 查询新建连接数和并发连接数

查询新建连接数和并发连接数

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListDDoSConnectionNumberInvoker

func (c *AadClient) ListDDoSConnectionNumberInvoker(request *model.ListDDoSConnectionNumberRequest) *ListDDoSConnectionNumberInvoker

ListDDoSConnectionNumberInvoker 查询新建连接数和并发连接数

func (*AadClient) ListDDoSFlow

func (c *AadClient) ListDDoSFlow(request *model.ListDDoSFlowRequest) (*model.ListDDoSFlowResponse, error)

ListDDoSFlow 查询DDoS攻击防护BPS/PPS流量

查询DDoS攻击防护BPS/PPS流量

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListDDoSFlowInvoker

func (c *AadClient) ListDDoSFlowInvoker(request *model.ListDDoSFlowRequest) *ListDDoSFlowInvoker

ListDDoSFlowInvoker 查询DDoS攻击防护BPS/PPS流量

func (*AadClient) ListFrequencyControlRule

ListFrequencyControlRule 查询频率控制规则列表

查询频率控制规则列表

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListFrequencyControlRuleInvoker

func (c *AadClient) ListFrequencyControlRuleInvoker(request *model.ListFrequencyControlRuleRequest) *ListFrequencyControlRuleInvoker

ListFrequencyControlRuleInvoker 查询频率控制规则列表

func (*AadClient) ListInstanceDomains

ListInstanceDomains 查询实例关联的域名信息

查询实例关联的域名信息

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListInstanceDomainsInvoker

func (c *AadClient) ListInstanceDomainsInvoker(request *model.ListInstanceDomainsRequest) *ListInstanceDomainsInvoker

ListInstanceDomainsInvoker 查询实例关联的域名信息

func (*AadClient) ListWafAttackEvent

func (c *AadClient) ListWafAttackEvent(request *model.ListWafAttackEventRequest) (*model.ListWafAttackEventResponse, error)

ListWafAttackEvent 查询攻击事件列表

查询攻击事件列表

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListWafAttackEventInvoker

func (c *AadClient) ListWafAttackEventInvoker(request *model.ListWafAttackEventRequest) *ListWafAttackEventInvoker

ListWafAttackEventInvoker 查询攻击事件列表

func (*AadClient) ListWafBandwidth

func (c *AadClient) ListWafBandwidth(request *model.ListWafBandwidthRequest) (*model.ListWafBandwidthResponse, error)

ListWafBandwidth 带宽曲线

带宽曲线

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListWafBandwidthInvoker

func (c *AadClient) ListWafBandwidthInvoker(request *model.ListWafBandwidthRequest) *ListWafBandwidthInvoker

ListWafBandwidthInvoker 带宽曲线

func (*AadClient) ListWafCustomRule

func (c *AadClient) ListWafCustomRule(request *model.ListWafCustomRuleRequest) (*model.ListWafCustomRuleResponse, error)

ListWafCustomRule 查询精准防护规则

查询精准防护规则

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListWafCustomRuleInvoker

func (c *AadClient) ListWafCustomRuleInvoker(request *model.ListWafCustomRuleRequest) *ListWafCustomRuleInvoker

ListWafCustomRuleInvoker 查询精准防护规则

func (*AadClient) ListWafGeoIpRule

func (c *AadClient) ListWafGeoIpRule(request *model.ListWafGeoIpRuleRequest) (*model.ListWafGeoIpRuleResponse, error)

ListWafGeoIpRule 查询区域封禁规则

查询区域封禁规则

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListWafGeoIpRuleInvoker

func (c *AadClient) ListWafGeoIpRuleInvoker(request *model.ListWafGeoIpRuleRequest) *ListWafGeoIpRuleInvoker

ListWafGeoIpRuleInvoker 查询区域封禁规则

func (*AadClient) ListWafQps

func (c *AadClient) ListWafQps(request *model.ListWafQpsRequest) (*model.ListWafQpsResponse, error)

ListWafQps 查询请求QPS

查询请求QPS

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListWafQpsInvoker

func (c *AadClient) ListWafQpsInvoker(request *model.ListWafQpsRequest) *ListWafQpsInvoker

ListWafQpsInvoker 查询请求QPS

func (*AadClient) ListWafWhiteIpRule

func (c *AadClient) ListWafWhiteIpRule(request *model.ListWafWhiteIpRuleRequest) (*model.ListWafWhiteIpRuleResponse, error)

ListWafWhiteIpRule 防护策略web-cc黑白名单-查询黑白名单规则

防护策略web-cc黑白名单-查询黑白名单规则

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListWafWhiteIpRuleInvoker

func (c *AadClient) ListWafWhiteIpRuleInvoker(request *model.ListWafWhiteIpRuleRequest) *ListWafWhiteIpRuleInvoker

ListWafWhiteIpRuleInvoker 防护策略web-cc黑白名单-查询黑白名单规则

func (*AadClient) ListWhiteBlackIpRule

ListWhiteBlackIpRule 查询DDoS攻击防护的黑白名单列表

查询DDoS攻击防护的黑白名单列表

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ListWhiteBlackIpRuleInvoker

func (c *AadClient) ListWhiteBlackIpRuleInvoker(request *model.ListWhiteBlackIpRuleRequest) *ListWhiteBlackIpRuleInvoker

ListWhiteBlackIpRuleInvoker 查询DDoS攻击防护的黑白名单列表

func (*AadClient) ShowDomainCertificate

ShowDomainCertificate 查询域名关联的证书信息

查询域名关联的证书信息

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ShowDomainCertificateInvoker

func (c *AadClient) ShowDomainCertificateInvoker(request *model.ShowDomainCertificateRequest) *ShowDomainCertificateInvoker

ShowDomainCertificateInvoker 查询域名关联的证书信息

func (*AadClient) ShowFlowBlock

func (c *AadClient) ShowFlowBlock(request *model.ShowFlowBlockRequest) (*model.ShowFlowBlockResponse, error)

ShowFlowBlock 查询流量封禁信息

查询流量封禁信息

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ShowFlowBlockInvoker

func (c *AadClient) ShowFlowBlockInvoker(request *model.ShowFlowBlockRequest) *ShowFlowBlockInvoker

ShowFlowBlockInvoker 查询流量封禁信息

func (*AadClient) ShowWafPolicy

func (c *AadClient) ShowWafPolicy(request *model.ShowWafPolicyRequest) (*model.ShowWafPolicyResponse, error)

ShowWafPolicy 查询WEB防护策略配置

查询WEB防护策略配置

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ShowWafPolicyInvoker

func (c *AadClient) ShowWafPolicyInvoker(request *model.ShowWafPolicyRequest) *ShowWafPolicyInvoker

ShowWafPolicyInvoker 查询WEB防护策略配置

func (*AadClient) ShowWafQps

func (c *AadClient) ShowWafQps(request *model.ShowWafQpsRequest) (*model.ShowWafQpsResponse, error)

ShowWafQps 查询CC攻击防护请求QPS

查询CC攻击防护请求QPS

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) ShowWafQpsInvoker

func (c *AadClient) ShowWafQpsInvoker(request *model.ShowWafQpsRequest) *ShowWafQpsInvoker

ShowWafQpsInvoker 查询CC攻击防护请求QPS

func (*AadClient) UpgradeInstanceSpec

UpgradeInstanceSpec 修改实例规格

修改实例规格

Please refer to HUAWEI cloud API Explorer for details.

func (*AadClient) UpgradeInstanceSpecInvoker

func (c *AadClient) UpgradeInstanceSpecInvoker(request *model.UpgradeInstanceSpecRequest) *UpgradeInstanceSpecInvoker

UpgradeInstanceSpecInvoker 修改实例规格

type CreateDomainInvoker

type CreateDomainInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDomainInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateDomainInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateDomainInvoker) Invoke

type DeleteDomainInvoker

type DeleteDomainInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDomainInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteDomainInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteDomainInvoker) Invoke

type ListDDoSAttackEventInvoker

type ListDDoSAttackEventInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDDoSAttackEventInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDDoSAttackEventInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDDoSAttackEventInvoker) Invoke

type ListDDoSConnectionNumberInvoker

type ListDDoSConnectionNumberInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDDoSConnectionNumberInvoker) GetBaseInvoker added in v0.1.118

func (*ListDDoSConnectionNumberInvoker) Invoke

type ListDDoSFlowInvoker

type ListDDoSFlowInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDDoSFlowInvoker) GetBaseInvoker added in v0.1.118

func (i *ListDDoSFlowInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListDDoSFlowInvoker) Invoke

type ListFrequencyControlRuleInvoker

type ListFrequencyControlRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFrequencyControlRuleInvoker) GetBaseInvoker added in v0.1.118

func (*ListFrequencyControlRuleInvoker) Invoke

type ListInstanceDomainsInvoker

type ListInstanceDomainsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstanceDomainsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListInstanceDomainsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListInstanceDomainsInvoker) Invoke

type ListWafAttackEventInvoker

type ListWafAttackEventInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWafAttackEventInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWafAttackEventInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWafAttackEventInvoker) Invoke

type ListWafBandwidthInvoker

type ListWafBandwidthInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWafBandwidthInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWafBandwidthInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWafBandwidthInvoker) Invoke

type ListWafCustomRuleInvoker

type ListWafCustomRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWafCustomRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWafCustomRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWafCustomRuleInvoker) Invoke

type ListWafGeoIpRuleInvoker

type ListWafGeoIpRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWafGeoIpRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWafGeoIpRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWafGeoIpRuleInvoker) Invoke

type ListWafQpsInvoker

type ListWafQpsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWafQpsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWafQpsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWafQpsInvoker) Invoke

type ListWafWhiteIpRuleInvoker

type ListWafWhiteIpRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWafWhiteIpRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWafWhiteIpRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWafWhiteIpRuleInvoker) Invoke

type ListWhiteBlackIpRuleInvoker

type ListWhiteBlackIpRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWhiteBlackIpRuleInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWhiteBlackIpRuleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWhiteBlackIpRuleInvoker) Invoke

type ShowDomainCertificateInvoker

type ShowDomainCertificateInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDomainCertificateInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowDomainCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowDomainCertificateInvoker) Invoke

type ShowFlowBlockInvoker

type ShowFlowBlockInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowFlowBlockInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowFlowBlockInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowFlowBlockInvoker) Invoke

type ShowWafPolicyInvoker

type ShowWafPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowWafPolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowWafPolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowWafPolicyInvoker) Invoke

type ShowWafQpsInvoker

type ShowWafQpsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowWafQpsInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowWafQpsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowWafQpsInvoker) Invoke

type UpgradeInstanceSpecInvoker

type UpgradeInstanceSpecInvoker struct {
	*invoker.BaseInvoker
}

func (*UpgradeInstanceSpecInvoker) GetBaseInvoker added in v0.1.118

func (i *UpgradeInstanceSpecInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpgradeInstanceSpecInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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