Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudCfwEdgeFwSwitches() *schema.Resource
- func DataSourceTencentCloudCfwNatFwSwitches() *schema.Resource
- func DataSourceTencentCloudCfwVpcFwSwitches() *schema.Resource
- func ResourceTencentCloudCfwAddressTemplate() *schema.Resource
- func ResourceTencentCloudCfwBlockIgnore() *schema.Resource
- func ResourceTencentCloudCfwEdgeFirewallSwitch() *schema.Resource
- func ResourceTencentCloudCfwEdgePolicy() *schema.Resource
- func ResourceTencentCloudCfwNatFirewallSwitch() *schema.Resource
- func ResourceTencentCloudCfwNatInstance() *schema.Resource
- func ResourceTencentCloudCfwNatPolicy() *schema.Resource
- func ResourceTencentCloudCfwSyncAsset() *schema.Resource
- func ResourceTencentCloudCfwSyncRoute() *schema.Resource
- func ResourceTencentCloudCfwVpcFirewallSwitch() *schema.Resource
- func ResourceTencentCloudCfwVpcInstance() *schema.Resource
- func ResourceTencentCloudCfwVpcPolicy() *schema.Resource
- type CfwService
- func (me *CfwService) DeleteCfwAddressTemplateById(ctx context.Context, uuid string) (errRet error)
- func (me *CfwService) DeleteCfwBlockIgnoreListById(ctx context.Context, iP, domain, direction, ruleType string) (errRet error)
- func (me *CfwService) DeleteCfwEdgePolicyById(ctx context.Context, uuid string) (errRet error)
- func (me *CfwService) DeleteCfwNatInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *CfwService) DeleteCfwNatPolicyById(ctx context.Context, uuid string) (errRet error)
- func (me *CfwService) DeleteCfwVpcInstanceById(ctx context.Context, fwGroupId string) (errRet error)
- func (me *CfwService) DeleteCfwVpcPolicyById(ctx context.Context, uuid string) (errRet error)
- func (me *CfwService) DescribeCfwAddressTemplateById(ctx context.Context, uuid string) (addressTemplate *cfw.TemplateListInfo, errRet error)
- func (me *CfwService) DescribeCfwBlockIgnoreListById(ctx context.Context, iP, domain, direction, ruleType string) (blockIgnoreRule *cfw.BlockIgnoreRule, errRet error)
- func (me *CfwService) DescribeCfwEdgeFirewallSwitchById(ctx context.Context, publicIp string) (edgeFirewallSwitch *cfw.EdgeIpInfo, errRet error)
- func (me *CfwService) DescribeCfwEdgeFwSwitchesByFilter(ctx context.Context) (edgeFwSwitches []*cfw.EdgeIpInfo, errRet error)
- func (me *CfwService) DescribeCfwEdgePolicyById(ctx context.Context, uuid string) (edgePolicy *cfw.DescAcItem, errRet error)
- func (me *CfwService) DescribeCfwEipsById(ctx context.Context, instanceId string) (gwList []string, errRet error)
- func (me *CfwService) DescribeCfwNatFirewallSwitchById(ctx context.Context, natInsId, subnetId string) (natFirewallSwitch *cfw.NatSwitchListData, errRet error)
- func (me *CfwService) DescribeCfwNatFwSwitchesByFilter(ctx context.Context, param map[string]interface{}) (natFwSwitches []*cfw.NatSwitchListData, errRet error)
- func (me *CfwService) DescribeCfwNatInstanceById(ctx context.Context, natinsId string) (natInstance *cfw.NatInstanceInfo, errRet error)
- func (me *CfwService) DescribeCfwNatPolicyById(ctx context.Context, uuid string) (natPolicy *cfw.DescAcItem, errRet error)
- func (me *CfwService) DescribeCfwVpcFirewallSwitchById(ctx context.Context, vpcInsId, switchId string) (vpcFirewallSwitch *cfw.FwGroupSwitchShow, errRet error)
- func (me *CfwService) DescribeCfwVpcFwSwitchesByFilter(ctx context.Context, vpcInsId string) (vpcFirewallSwitch []*cfw.FwGroupSwitchShow, errRet error)
- func (me *CfwService) DescribeCfwVpcInstanceById(ctx context.Context, fwGroupId string) (vpcInstance *cfw.VpcFwGroupInfo, errRet error)
- func (me *CfwService) DescribeCfwVpcPolicyById(ctx context.Context, uuid string) (vpcPolicy *cfw.VpcRuleItem, errRet error)
- func (me *CfwService) DescribeFwGroupInstanceInfoById(ctx context.Context, fwGroupId string) (vpcFwGroupInfo *cfw.VpcFwGroupInfo, errRet error)
- func (me *CfwService) DescribeNatFwVpcDnsLstById(ctx context.Context, instanceId string) (vpcList []string, errRet error)
- type SourceContentJson
- type TargetContentJson
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 DIRECTION = []string{ DIRECTION_0, DIRECTION_1, DIRECTION_3, }
View Source
var FW_TYPE = []string{ FW_TYPE_NAT, FW_TYPE_EW, }
View Source
var MODE = []int{ MODE_0, MODE_1, }
View Source
var POLICY_ENABLE = []string{ POLICY_ENABLE_TRUE, POLICY_ENABLE_FALSE, }
View Source
var POLICY_RULE_ACTION = []string{ POLICY_RULE_ACTION_ACCEPT, POLICY_RULE_ACTION_DROP, POLICY_RULE_ACTION_LOG, }
View Source
var POLICY_SCOPE = []string{ POLICY_SCOPE_SERIAL, POLICY_SCOPE_SIDE, POLICY_SCOPE_ALL, }
View Source
var RULE_TYPE = []int{ RULE_TYPE_1, RULE_TYPE_2, }
View Source
var SWITCH_MODE = []int{ SWITCH_MODE_1, SWITCH_MODE_2, SWITCH_MODE_4, }
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 ¶
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 (*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 ¶
type SourceContentJson ¶
type TargetContentJson ¶
Source Files ¶
- data_source_tc_cfw_edge_fw_switches.go
- data_source_tc_cfw_nat_fw_switches.go
- data_source_tc_cfw_vpc_fw_switches.go
- extension_cfw.go
- resource_tc_cfw_address_template.go
- resource_tc_cfw_block_ignore.go
- resource_tc_cfw_edge_firewall_switch.go
- resource_tc_cfw_edge_policy.go
- resource_tc_cfw_nat_firewall_switch.go
- resource_tc_cfw_nat_instance.go
- resource_tc_cfw_nat_policy.go
- resource_tc_cfw_sync_asset.go
- resource_tc_cfw_sync_route.go
- resource_tc_cfw_vpc_firewall_switch.go
- resource_tc_cfw_vpc_instance.go
- resource_tc_cfw_vpc_policy.go
- service_tencentcloud_cfw.go
Click to show internal directories.
Click to hide internal directories.