Documentation ¶
Index ¶
- func CloudTableClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateCluster() *def.HttpRequestDef
- func GenReqDefForDeleteCluster() *def.HttpRequestDef
- func GenReqDefForListClusters() *def.HttpRequestDef
- func GenReqDefForShowClusterDetail() *def.HttpRequestDef
- type CloudTableClient
- func (c *CloudTableClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
- func (c *CloudTableClient) DeleteCluster(request *model.DeleteClusterRequest) (*model.DeleteClusterResponse, error)
- func (c *CloudTableClient) ListClusters(request *model.ListClustersRequest) (*model.ListClustersResponse, error)
- func (c *CloudTableClient) ShowClusterDetail(request *model.ShowClusterDetailRequest) (*model.ShowClusterDetailResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudTableClientBuilder ¶
func CloudTableClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateCluster ¶
func GenReqDefForCreateCluster() *def.HttpRequestDef
func GenReqDefForDeleteCluster ¶
func GenReqDefForDeleteCluster() *def.HttpRequestDef
func GenReqDefForListClusters ¶
func GenReqDefForListClusters() *def.HttpRequestDef
func GenReqDefForShowClusterDetail ¶
func GenReqDefForShowClusterDetail() *def.HttpRequestDef
Types ¶
type CloudTableClient ¶
type CloudTableClient struct {
HcClient *http_client.HcHttpClient
}
func NewCloudTableClient ¶
func NewCloudTableClient(hcClient *http_client.HcHttpClient) *CloudTableClient
func (*CloudTableClient) CreateCluster ¶
func (c *CloudTableClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
创建CloudTable集群
创建一个CloudTable集群。 使用接口前,您需要先获取如下资源信息。 - 通过VPC创建或查询VPC、子网 - 通过安全组创建或查询可用的security_group_id
本接口是一个同步接口,当创建CloudTable集群成功后会返回集群id。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudTableClient) DeleteCluster ¶
func (c *CloudTableClient) DeleteCluster(request *model.DeleteClusterRequest) (*model.DeleteClusterResponse, error)
删除CloudTable指定集群
集群ID为集群唯一标识,根据集群ID删除指定集群。 如下状态的集群不允许删除: - 创建中 - 扩容中
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudTableClient) ListClusters ¶
func (c *CloudTableClient) ListClusters(request *model.ListClustersRequest) (*model.ListClustersResponse, error)
查询CloudTable集群列表
查看用户创建的集群列表信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudTableClient) ShowClusterDetail ¶
func (c *CloudTableClient) ShowClusterDetail(request *model.ShowClusterDetailRequest) (*model.ShowClusterDetailResponse, error)
查询CloudTable集群详情
通过集群ID唯一标识一个集群,根据集群ID查询特定CloudTable集群的详情信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
Click to show internal directories.
Click to hide internal directories.