github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/builtin/providers/alicloud/extension_ecs.go (about) 1 package alicloud 2 3 type GroupRuleDirection string 4 5 const ( 6 GroupRuleIngress = GroupRuleDirection("ingress") 7 GroupRuleEgress = GroupRuleDirection("egress") 8 ) 9 10 type GroupRuleIpProtocol string 11 12 const ( 13 GroupRuleTcp = GroupRuleIpProtocol("tcp") 14 GroupRuleUdp = GroupRuleIpProtocol("udp") 15 GroupRuleIcmp = GroupRuleIpProtocol("icmp") 16 GroupRuleGre = GroupRuleIpProtocol("gre") 17 GroupRuleAll = GroupRuleIpProtocol("all") 18 ) 19 20 type GroupRuleNicType string 21 22 const ( 23 GroupRuleInternet = GroupRuleNicType("internet") 24 GroupRuleIntranet = GroupRuleNicType("intranet") 25 ) 26 27 type GroupRulePolicy string 28 29 const ( 30 GroupRulePolicyAccept = GroupRulePolicy("accept") 31 GroupRulePolicyDrop = GroupRulePolicy("drop") 32 )