2017-01-19 15:08:56 +01:00
|
|
|
package alicloud
|
|
|
|
|
|
|
|
type GroupRuleDirection string
|
|
|
|
|
|
|
|
const (
|
|
|
|
GroupRuleIngress = GroupRuleDirection("ingress")
|
|
|
|
GroupRuleEgress = GroupRuleDirection("egress")
|
|
|
|
)
|
|
|
|
|
|
|
|
type GroupRuleIpProtocol string
|
|
|
|
|
|
|
|
const (
|
|
|
|
GroupRuleTcp = GroupRuleIpProtocol("tcp")
|
|
|
|
GroupRuleUdp = GroupRuleIpProtocol("udp")
|
|
|
|
GroupRuleIcmp = GroupRuleIpProtocol("icmp")
|
|
|
|
GroupRuleGre = GroupRuleIpProtocol("gre")
|
|
|
|
GroupRuleAll = GroupRuleIpProtocol("all")
|
|
|
|
)
|
|
|
|
|
|
|
|
type GroupRuleNicType string
|
|
|
|
|
|
|
|
const (
|
|
|
|
GroupRuleInternet = GroupRuleNicType("internet")
|
|
|
|
GroupRuleIntranet = GroupRuleNicType("intranet")
|
|
|
|
)
|
|
|
|
|
|
|
|
type GroupRulePolicy string
|
|
|
|
|
|
|
|
const (
|
|
|
|
GroupRulePolicyAccept = GroupRulePolicy("accept")
|
|
|
|
GroupRulePolicyDrop = GroupRulePolicy("drop")
|
|
|
|
)
|
2017-03-24 12:04:56 +01:00
|
|
|
|
|
|
|
const (
|
|
|
|
EcsApiVersion20160314 = "2016-03-14"
|
|
|
|
EcsApiVersion20140526 = "2014-05-26"
|
|
|
|
)
|