Documentation ¶
Index ¶
- func CssClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateCluster() *def.HttpRequestDef
- func GenReqDefForRestartCluster() *def.HttpRequestDef
- func GenReqDefForRollingRestart() *def.HttpRequestDef
- func GenReqDefForStartAutoCreateSnapshots() *def.HttpRequestDef
- func GenReqDefForStopAutoCreateSnapshots() *def.HttpRequestDef
- type CssClient
- func (c *CssClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
- func (c *CssClient) RestartCluster(request *model.RestartClusterRequest) (*model.RestartClusterResponse, error)
- func (c *CssClient) RollingRestart(request *model.RollingRestartRequest) (*model.RollingRestartResponse, error)
- func (c *CssClient) StartAutoCreateSnapshots(request *model.StartAutoCreateSnapshotsRequest) (*model.StartAutoCreateSnapshotsResponse, error)
- func (c *CssClient) StopAutoCreateSnapshots(request *model.StopAutoCreateSnapshotsRequest) (*model.StopAutoCreateSnapshotsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CssClientBuilder ¶
func CssClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateCluster ¶
func GenReqDefForCreateCluster() *def.HttpRequestDef
func GenReqDefForRestartCluster ¶
func GenReqDefForRestartCluster() *def.HttpRequestDef
func GenReqDefForRollingRestart ¶
func GenReqDefForRollingRestart() *def.HttpRequestDef
func GenReqDefForStartAutoCreateSnapshots ¶
func GenReqDefForStartAutoCreateSnapshots() *def.HttpRequestDef
func GenReqDefForStopAutoCreateSnapshots ¶
func GenReqDefForStopAutoCreateSnapshots() *def.HttpRequestDef
Types ¶
type CssClient ¶
type CssClient struct {
HcClient *http_client.HcHttpClient
}
func NewCssClient ¶
func NewCssClient(hcClient *http_client.HcHttpClient) *CssClient
func (*CssClient) CreateCluster ¶
func (c *CssClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
创建集群V2
该接口用于创建集群V2。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CssClient) RestartCluster ¶
func (c *CssClient) RestartCluster(request *model.RestartClusterRequest) (*model.RestartClusterResponse, error)
重启集群V2
该接口用于重启集群。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CssClient) RollingRestart ¶
func (c *CssClient) RollingRestart(request *model.RollingRestartRequest) (*model.RollingRestartResponse, error)
滚动重启
该接口用于滚动重启。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CssClient) StartAutoCreateSnapshots ¶
func (c *CssClient) StartAutoCreateSnapshots(request *model.StartAutoCreateSnapshotsRequest) (*model.StartAutoCreateSnapshotsResponse, error)
开启自动创建快照功能
该接口用于打开自动创建快照功能。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CssClient) StopAutoCreateSnapshots ¶
func (c *CssClient) StopAutoCreateSnapshots(request *model.StopAutoCreateSnapshotsRequest) (*model.StopAutoCreateSnapshotsResponse, error)
关闭自动创建快照功能
该接口用于关闭自动创建快照功能。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
Click to show internal directories.
Click to hide internal directories.