cfw

package
v1.81.109 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADDRESS_TEMPLATE_TYPE_1 = 1
	ADDRESS_TEMPLATE_TYPE_5 = 5
)
View Source
const (
	RULE_TYPE_1 = 1
	RULE_TYPE_2 = 2
)
View Source
const (
	DIRECTION_0 = "0"
	DIRECTION_1 = "1"
	DIRECTION_3 = "3"
)
View Source
const (
	MODE_0 = 0
	MODE_1 = 1
)
View Source
const (
	CROSS_A_ZONE_0 = 0
	CROSS_A_ZONE_1 = 1
)
View Source
const (
	SWITCH_MODE_1 = 1
	SWITCH_MODE_2 = 2
	SWITCH_MODE_4 = 4
)
View Source
const (
	FW_TYPE_NAT = "nat"
	FW_TYPE_EW  = "ew"
)
View Source
const (
	POLICY_ENABLE_TRUE  = "true"
	POLICY_ENABLE_FALSE = "false"
)
View Source
const (
	POLICY_SCOPE_SERIAL = "serial"
	POLICY_SCOPE_SIDE   = "side"
	POLICY_SCOPE_ALL    = "all"
)
View Source
const (
	POLICY_RULE_ACTION_ACCEPT = "accept"
	POLICY_RULE_ACTION_DROP   = "drop"
	POLICY_RULE_ACTION_LOG    = "log"
)
View Source
const (
	BAND_WIDTH = 20
)

Variables

View Source
var ADDRESS_TEMPLATE_TYPE = []int{
	ADDRESS_TEMPLATE_TYPE_1,
	ADDRESS_TEMPLATE_TYPE_5,
}
View Source
var CROSS_A_ZONE = []int{
	CROSS_A_ZONE_0,
	CROSS_A_ZONE_1,
}
View Source
var FW_TYPE = []string{
	FW_TYPE_NAT,
	FW_TYPE_EW,
}
View Source
var MODE = []int{
	MODE_0,
	MODE_1,
}
View Source
var RULE_TYPE = []int{
	RULE_TYPE_1,
	RULE_TYPE_2,
}
View Source
var ZONE_MAP_CN2EN = map[string]string{}/* 194 elements not displayed */
View Source
var ZONE_MAP_EN2CN = map[string]string{}/* 194 elements not displayed */

Functions

func DataSourceTencentCloudCfwEdgeFwSwitches

func DataSourceTencentCloudCfwEdgeFwSwitches() *schema.Resource

func DataSourceTencentCloudCfwNatFwSwitches

func DataSourceTencentCloudCfwNatFwSwitches() *schema.Resource

func DataSourceTencentCloudCfwVpcFwSwitches

func DataSourceTencentCloudCfwVpcFwSwitches() *schema.Resource

func ResourceTencentCloudCfwAddressTemplate

func ResourceTencentCloudCfwAddressTemplate() *schema.Resource

func ResourceTencentCloudCfwBlockIgnore

func ResourceTencentCloudCfwBlockIgnore() *schema.Resource

func ResourceTencentCloudCfwEdgeFirewallSwitch

func ResourceTencentCloudCfwEdgeFirewallSwitch() *schema.Resource

func ResourceTencentCloudCfwEdgePolicy

func ResourceTencentCloudCfwEdgePolicy() *schema.Resource

func ResourceTencentCloudCfwNatFirewallSwitch

func ResourceTencentCloudCfwNatFirewallSwitch() *schema.Resource

func ResourceTencentCloudCfwNatInstance

func ResourceTencentCloudCfwNatInstance() *schema.Resource

func ResourceTencentCloudCfwNatPolicy

func ResourceTencentCloudCfwNatPolicy() *schema.Resource

func ResourceTencentCloudCfwSyncAsset

func ResourceTencentCloudCfwSyncAsset() *schema.Resource

func ResourceTencentCloudCfwSyncRoute

func ResourceTencentCloudCfwSyncRoute() *schema.Resource

func ResourceTencentCloudCfwVpcFirewallSwitch

func ResourceTencentCloudCfwVpcFirewallSwitch() *schema.Resource

func ResourceTencentCloudCfwVpcInstance

func ResourceTencentCloudCfwVpcInstance() *schema.Resource

func ResourceTencentCloudCfwVpcPolicy

func ResourceTencentCloudCfwVpcPolicy() *schema.Resource

Types

type CfwService

type CfwService struct {
	// contains filtered or unexported fields
}

func (*CfwService) DeleteCfwAddressTemplateById

func (me *CfwService) DeleteCfwAddressTemplateById(ctx context.Context, uuid string) (errRet error)

func (*CfwService) DeleteCfwBlockIgnoreListById

func (me *CfwService) DeleteCfwBlockIgnoreListById(ctx context.Context, iP, domain, direction, ruleType string) (errRet error)

func (*CfwService) DeleteCfwEdgePolicyById

func (me *CfwService) DeleteCfwEdgePolicyById(ctx context.Context, uuid string) (errRet error)

func (*CfwService) DeleteCfwNatInstanceById

func (me *CfwService) DeleteCfwNatInstanceById(ctx context.Context, instanceId string) (errRet error)

func (*CfwService) DeleteCfwNatPolicyById

func (me *CfwService) DeleteCfwNatPolicyById(ctx context.Context, uuid string) (errRet error)

func (*CfwService) DeleteCfwVpcInstanceById

func (me *CfwService) DeleteCfwVpcInstanceById(ctx context.Context, fwGroupId string) (errRet error)

func (*CfwService) DeleteCfwVpcPolicyById

func (me *CfwService) DeleteCfwVpcPolicyById(ctx context.Context, uuid string) (errRet error)

func (*CfwService) DescribeCfwAddressTemplateById

func (me *CfwService) DescribeCfwAddressTemplateById(ctx context.Context, uuid string) (addressTemplate *cfw.TemplateListInfo, errRet error)

func (*CfwService) DescribeCfwBlockIgnoreListById

func (me *CfwService) DescribeCfwBlockIgnoreListById(ctx context.Context, iP, domain, direction, ruleType string) (blockIgnoreRule *cfw.BlockIgnoreRule, errRet error)

func (*CfwService) DescribeCfwEdgeFirewallSwitchById

func (me *CfwService) DescribeCfwEdgeFirewallSwitchById(ctx context.Context, publicIp string) (edgeFirewallSwitch *cfw.EdgeIpInfo, errRet error)

func (*CfwService) DescribeCfwEdgeFwSwitchesByFilter

func (me *CfwService) DescribeCfwEdgeFwSwitchesByFilter(ctx context.Context) (edgeFwSwitches []*cfw.EdgeIpInfo, errRet error)

func (*CfwService) DescribeCfwEdgePolicyById

func (me *CfwService) DescribeCfwEdgePolicyById(ctx context.Context, uuid string) (edgePolicy *cfw.DescAcItem, errRet error)

func (*CfwService) DescribeCfwEipsById

func (me *CfwService) DescribeCfwEipsById(ctx context.Context, instanceId string) (gwList []string, errRet error)

func (*CfwService) DescribeCfwNatFirewallSwitchById

func (me *CfwService) DescribeCfwNatFirewallSwitchById(ctx context.Context, natInsId, subnetId string) (natFirewallSwitch *cfw.NatSwitchListData, errRet error)

func (*CfwService) DescribeCfwNatFwSwitchesByFilter

func (me *CfwService) DescribeCfwNatFwSwitchesByFilter(ctx context.Context, param map[string]interface{}) (natFwSwitches []*cfw.NatSwitchListData, errRet error)

func (*CfwService) DescribeCfwNatInstanceById

func (me *CfwService) DescribeCfwNatInstanceById(ctx context.Context, natinsId string) (natInstance *cfw.NatInstanceInfo, errRet error)

func (*CfwService) DescribeCfwNatPolicyById

func (me *CfwService) DescribeCfwNatPolicyById(ctx context.Context, uuid string) (natPolicy *cfw.DescAcItem, errRet error)

func (*CfwService) DescribeCfwVpcFirewallSwitchById

func (me *CfwService) DescribeCfwVpcFirewallSwitchById(ctx context.Context, vpcInsId, switchId string) (vpcFirewallSwitch *cfw.FwGroupSwitchShow, errRet error)

func (*CfwService) DescribeCfwVpcFwSwitchesByFilter

func (me *CfwService) DescribeCfwVpcFwSwitchesByFilter(ctx context.Context, vpcInsId string) (vpcFirewallSwitch []*cfw.FwGroupSwitchShow, errRet error)

func (*CfwService) DescribeCfwVpcInstanceById

func (me *CfwService) DescribeCfwVpcInstanceById(ctx context.Context, fwGroupId string) (vpcInstance *cfw.VpcFwGroupInfo, errRet error)

func (*CfwService) DescribeCfwVpcPolicyById

func (me *CfwService) DescribeCfwVpcPolicyById(ctx context.Context, uuid string) (vpcPolicy *cfw.VpcRuleItem, errRet error)

func (*CfwService) DescribeFwGroupInstanceInfoById

func (me *CfwService) DescribeFwGroupInstanceInfoById(ctx context.Context, fwGroupId string) (vpcFwGroupInfo *cfw.VpcFwGroupInfo, errRet error)

func (*CfwService) DescribeNatFwVpcDnsLstById

func (me *CfwService) DescribeNatFwVpcDnsLstById(ctx context.Context, instanceId string) (vpcList []string, errRet error)

type SourceContentJson

type SourceContentJson struct {
	Key   string `json:"Key"`
	Value string `json:"Value"`
}

type TargetContentJson

type TargetContentJson struct {
	Key   string `json:"Key"`
	Value string `json:"Value"`
}

Jump to

Keyboard shortcuts

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