Documentation ¶
Index ¶
- type ActionProgress
- type Cluster
- type ClusterDetail
- type CreateClusterRequest
- type CreateClusterRequestBody
- type CreateClusterResponse
- type Datastore
- type DeleteClusterRequest
- type DeleteClusterResponse
- type Instance
- type ListClustersRequest
- type ListClustersResponse
- type Nics
- type ShowClusterDetailRequest
- type ShowClusterDetailResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionProgress ¶
type ActionProgress struct { Creating *string `json:"CREATING,omitempty"` Growing *string `json:"GROWING,omitempty"` Restoring *string `json:"RESTORING,omitempty"` Snapshotting *string `json:"SNAPSHOTTING,omitempty"` Repairing *string `json:"REPAIRING,omitempty"` }
集群操作进度,任务信息,由key、value组成。key值为正在进行的任务,value值为正在进行任务的进度。示例如 \"action_progress\":{\"SNAPSHOTTING\":\"16%\"}
func (ActionProgress) String ¶
func (o ActionProgress) String() string
type Cluster ¶
type Cluster struct { AuthMode *string `json:"auth_mode,omitempty"` EnableLemon *bool `json:"enable_lemon,omitempty"` EnableOpenTSDB *bool `json:"enable_openTSDB,omitempty"` Instance *Instance `json:"instance"` Name string `json:"name"` StorageSize *int32 `json:"storage_size,omitempty"` StorageType string `json:"storage_type"` VpcId string `json:"vpc_id"` Datastore *Datastore `json:"datastore"` }
创建集群参数对象实体。
type ClusterDetail ¶
type ClusterDetail struct { ActionProgress *ActionProgress `json:"action_progress,omitempty"` Actions *[]string `json:"actions,omitempty"` AuthMode *string `json:"auth_mode,omitempty"` AzCode *string `json:"az_code,omitempty"` ClusterId *string `json:"cluster_id,omitempty"` ClusterName *string `json:"cluster_name,omitempty"` Created *string `json:"created,omitempty"` EnableDfv *string `json:"enable_dfv,omitempty"` EnableFree *string `json:"enable_free,omitempty"` EnableLemon *string `json:"enable_lemon,omitempty"` EnableOpenTSDB *string `json:"enable_openTSDB,omitempty"` Status *string `json:"status,omitempty"` Tags *string `json:"tags,omitempty"` Version *string `json:"version,omitempty"` ZookeeperLink *string `json:"zookeeper_link,omitempty"` }
集群详情信息对象。
func (ClusterDetail) String ¶
func (o ClusterDetail) String() string
type CreateClusterRequest ¶
type CreateClusterRequest struct { XLanguage string `json:"X-Language"` Body *CreateClusterRequestBody `json:"body,omitempty"` }
Request Object
func (CreateClusterRequest) String ¶
func (o CreateClusterRequest) String() string
type CreateClusterRequestBody ¶
type CreateClusterRequestBody struct {
Cluster *Cluster `json:"cluster"`
}
创建集群发起的请求的请求体对象。
func (CreateClusterRequestBody) String ¶
func (o CreateClusterRequestBody) String() string
type CreateClusterResponse ¶
type CreateClusterResponse struct { ClusterId *string `json:"cluster_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateClusterResponse) String ¶
func (o CreateClusterResponse) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { XLanguage string `json:"X-Language"` ClusterId string `json:"cluster_id"` }
Request Object
func (DeleteClusterRequest) String ¶
func (o DeleteClusterRequest) String() string
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteClusterResponse) String ¶
func (o DeleteClusterResponse) String() string
type Instance ¶
type Instance struct { AvailabilityZone string `json:"availability_zone"` CuNum int32 `json:"cu_num"` LemonNum *int32 `json:"lemon_num,omitempty"` Nics []Nics `json:"nics"` TsdNum int32 `json:"tsd_num"` }
集群的实例对象。
type ListClustersRequest ¶
type ListClustersRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListClustersRequest) String ¶
func (o ListClustersRequest) String() string
type ListClustersResponse ¶
type ListClustersResponse struct { Clusters *[]ClusterDetail `json:"clusters,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListClustersResponse) String ¶
func (o ListClustersResponse) String() string
type ShowClusterDetailRequest ¶
type ShowClusterDetailRequest struct { XLanguage string `json:"X-Language"` ClusterId string `json:"cluster_id"` }
Request Object
func (ShowClusterDetailRequest) String ¶
func (o ShowClusterDetailRequest) String() string
type ShowClusterDetailResponse ¶
type ShowClusterDetailResponse struct { Actions *[]string `json:"actions,omitempty"` Datastore *Datastore `json:"datastore,omitempty"` EnableOpenTSDB *bool `json:"enable_openTSDB,omitempty"` EnableLemon *bool `json:"enable_lemon,omitempty"` ClusterName *string `json:"cluster_name,omitempty"` CuNum *string `json:"cu_num,omitempty"` TsdNum *string `json:"tsd_num,omitempty"` LemonNum *string `json:"lemon_num,omitempty"` StorageType *string `json:"storage_type,omitempty"` StorageQuota *string `json:"storage_quota,omitempty"` UsedStorageSize *string `json:"used_storage_size,omitempty"` AuthMode *bool `json:"auth_mode,omitempty"` EnableDfv *bool `json:"enable_dfv,omitempty"` Updated *string `json:"updated,omitempty"` Created *string `json:"created,omitempty"` ClusterId *string `json:"cluster_id,omitempty"` Status *string `json:"status,omitempty"` OpenTSDBLink *string `json:"openTSDB_link,omitempty"` TsdPublicEndpoint *string `json:"tsd_public_endpoint,omitempty"` LemonLink *string `json:"lemon_link,omitempty"` ZookeeperLink *string `json:"zookeeper_link,omitempty"` HbasePublicEndpoint *string `json:"hbase_public_endpoint,omitempty"` IsFrozen *string `json:"is_frozen,omitempty"` VpcId *string `json:"vpc_id,omitempty"` SubNetId *string `json:"sub_net_id,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowClusterDetailResponse) String ¶
func (o ShowClusterDetailResponse) String() string
Source Files ¶
- model_action_progress.go
- model_cluster.go
- model_cluster_detail.go
- model_create_cluster_request.go
- model_create_cluster_request_body.go
- model_create_cluster_response.go
- model_datastore.go
- model_delete_cluster_request.go
- model_delete_cluster_response.go
- model_instance.go
- model_list_clusters_request.go
- model_list_clusters_response.go
- model_nics.go
- model_show_cluster_detail_request.go
- model_show_cluster_detail_response.go
Click to show internal directories.
Click to hide internal directories.