github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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 ) 33 34 const ( 35 EcsApiVersion20160314 = "2016-03-14" 36 EcsApiVersion20140526 = "2014-05-26" 37 )