forked from huaweicloud/huaweicloud-sdk-go-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_cluster_detail.go
63 lines (44 loc) · 1.92 KB
/
model_cluster_detail.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package model
import (
"github.com/dysodeng/huaweicloud-sdk-go-v3/core/utils"
"strings"
)
// ClusterDetail 集群详情信息对象。
type ClusterDetail struct {
ActionProgress *ActionProgress `json:"action_progress,omitempty"`
// 集群操作记录
Actions *[]string `json:"actions,omitempty"`
// 是否开启IAM权限认证。 - false:不开启 - true:开启
AuthMode *string `json:"auth_mode,omitempty"`
// 集群所在的可用区(AZ)。
AzCode *string `json:"az_code,omitempty"`
// 集群ID,集群唯一标识。
ClusterId *string `json:"cluster_id,omitempty"`
// CloudTable集群名称。
ClusterName *string `json:"cluster_name,omitempty"`
// 集群创建时间。
Created *string `json:"created,omitempty"`
// 是否开启DFV。 - false:不开启 - true:开启
EnableDfv *string `json:"enable_dfv,omitempty"`
// 集群是否免费。 - false:不免费 - true:免费
EnableFree *string `json:"enable_free,omitempty"`
// 是否开启Lemon。 - false:不开启 - true:开启
EnableLemon *string `json:"enable_lemon,omitempty"`
// 是否开启OpenTSDB。 - false:不开启 - true:开启
EnableOpenTSDB *string `json:"enable_openTSDB,omitempty"`
// 集群状态: - 200:集群正常 - 300:集群异常 - 303:集群创建失败 - 400:集群已删除
Status *string `json:"status,omitempty"`
// 集群标识符。
Tags *string `json:"tags,omitempty"`
// 集群版本号。
Version *string `json:"version,omitempty"`
// CloudTable集群ZooKeeper的链接地址。例如:cloudtable-3058-zk3-Dqcwuh6R.mycloudtable.com:2181,cloudtable-3058-zk2-TCwkZEie.mycloudtable.com:2181,cloudtable-3058-zk1-TBELUFOK.mycloudtable.com:2181
ZookeeperLink *string `json:"zookeeper_link,omitempty"`
}
func (o ClusterDetail) String() string {
data, err := utils.Marshal(o)
if err != nil {
return "ClusterDetail struct{}"
}
return strings.Join([]string{"ClusterDetail", string(data)}, " ")
}