mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-21 00:24:07 +08:00
25 lines
700 B
Go
25 lines
700 B
Go
package qcloud
|
|
|
|
import "yunion.io/x/onecloud/pkg/multicloud"
|
|
|
|
type SElasticcacheSecgroup struct {
|
|
multicloud.SElasticcacheBackupBase
|
|
|
|
cacheDB *SElasticcache
|
|
|
|
CreateTime string `json:"CreateTime"`
|
|
InboundRule []BoundRule `json:"InboundRule"`
|
|
OutboundRule []BoundRule `json:"OutboundRule"`
|
|
ProjectID int64 `json:"ProjectId"`
|
|
SecurityGroupID string `json:"SecurityGroupId"`
|
|
SecurityGroupName string `json:"SecurityGroupName"`
|
|
SecurityGroupRemark string `json:"SecurityGroupRemark"`
|
|
}
|
|
|
|
type BoundRule struct {
|
|
Action string `json:"Action"`
|
|
IP string `json:"Ip"`
|
|
Port string `json:"Port"`
|
|
Proto string `json:"Proto"`
|
|
}
|