forked from huaweicloud/huaweicloud-sdk-go-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_show_cluster_detail_response.go
101 lines (69 loc) · 2.98 KB
/
model_show_cluster_detail_response.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
package model
import (
"github.com/dysodeng/huaweicloud-sdk-go-v3/core/utils"
"strings"
)
// ShowClusterDetailResponse Response Object
type ShowClusterDetailResponse struct {
// 集群当前状态列表: - 创建中 - 扩容中 - 重启中 - 开启opentsdb - 扩容失败 - 重启失败 - 开启opentsdb失败
Actions *[]string `json:"actions,omitempty"`
Datastore *Datastore `json:"datastore,omitempty"`
// 是否打开openTSDB特性。 - false:不开启 - true:开启
EnableOpenTSDB *bool `json:"enable_openTSDB,omitempty"`
// 是否打开SQL查询特性。 - false:不开启 - true:开启
EnableLemon *bool `json:"enable_lemon,omitempty"`
// 集群名称。
ClusterName *string `json:"cluster_name,omitempty"`
// RegionServer个数。
CuNum *string `json:"cu_num,omitempty"`
// TSD节点个数。
TsdNum *string `json:"tsd_num,omitempty"`
// Lemon节点个数。
LemonNum *string `json:"lemon_num,omitempty"`
// 集群底层存储类型: - OBS - HDFS
StorageType *string `json:"storage_type,omitempty"`
// 集群存储配额。
StorageQuota *string `json:"storage_quota,omitempty"`
// 当前使用存储空间。
UsedStorageSize *string `json:"used_storage_size,omitempty"`
// 是否打开IAM认证。 - false:不开启 - true:开启
AuthMode *bool `json:"auth_mode,omitempty"`
// 是否打开dfv
EnableDfv *bool `json:"enable_dfv,omitempty"`
// 集群更新时间。
Updated *string `json:"updated,omitempty"`
// 集群创建时间。
Created *string `json:"created,omitempty"`
// 集群唯一标识,集群ID。
ClusterId *string `json:"cluster_id,omitempty"`
// 集群当前状态: - 200:集群正常 - 300:集群异常 - 400:集群已删除 - 303:集群创建失败
Status *string `json:"status,omitempty"`
// 内网OpenTSDB连接访问地址。
OpenTSDBLink *string `json:"openTSDB_link,omitempty"`
// OpenTSDB公网endpoint地址
TsdPublicEndpoint *string `json:"tsd_public_endpoint,omitempty"`
// 内网Lemon连接访问地址。
LemonLink *string `json:"lemon_link,omitempty"`
// 内网ZooKeeper连接访问地址。
ZookeeperLink *string `json:"zookeeper_link,omitempty"`
// 公网HBase连接访问地址。
HbasePublicEndpoint *string `json:"hbase_public_endpoint,omitempty"`
// 集群是否被冻结。 - false:不冻结 - true:冻结
IsFrozen *string `json:"is_frozen,omitempty"`
// VPC ID,创建集群节点所在的虚拟私有ID。
VpcId *string `json:"vpc_id,omitempty"`
// 子网ID,创建集群所在子网段。
SubNetId *string `json:"sub_net_id,omitempty"`
// 安全组对应的ID。
SecurityGroupId *string `json:"security_group_id,omitempty"`
// 集群所属的可用区。
AvailabilityZone *string `json:"availability_zone,omitempty"`
HttpStatusCode int `json:"-"`
}
func (o ShowClusterDetailResponse) String() string {
data, err := utils.Marshal(o)
if err != nil {
return "ShowClusterDetailResponse struct{}"
}
return strings.Join([]string{"ShowClusterDetailResponse", string(data)}, " ")
}