Documentation ¶
Index ¶
- func CmsClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForCreateAutoLaunchGroup() *def.HttpRequestDef
- func GenReqDefForDeleteAutoLaunchGroup() *def.HttpRequestDef
- func GenReqDefForListAutoLaunchGroups() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListSupplyRecommendation() *def.HttpRequestDef
- func GenReqDefForShowAutoLaunchGroup() *def.HttpRequestDef
- func GenReqDefForUpdateAutoLaunchGroup() *def.HttpRequestDef
- type CmsClient
- func (c *CmsClient) CreateAutoLaunchGroup(request *model.CreateAutoLaunchGroupRequest) (*model.CreateAutoLaunchGroupResponse, error)
- func (c *CmsClient) CreateAutoLaunchGroupInvoker(request *model.CreateAutoLaunchGroupRequest) *CreateAutoLaunchGroupInvoker
- func (c *CmsClient) DeleteAutoLaunchGroup(request *model.DeleteAutoLaunchGroupRequest) (*model.DeleteAutoLaunchGroupResponse, error)
- func (c *CmsClient) DeleteAutoLaunchGroupInvoker(request *model.DeleteAutoLaunchGroupRequest) *DeleteAutoLaunchGroupInvoker
- func (c *CmsClient) ListAutoLaunchGroups(request *model.ListAutoLaunchGroupsRequest) (*model.ListAutoLaunchGroupsResponse, error)
- func (c *CmsClient) ListAutoLaunchGroupsInvoker(request *model.ListAutoLaunchGroupsRequest) *ListAutoLaunchGroupsInvoker
- func (c *CmsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *CmsClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker
- func (c *CmsClient) ListSupplyRecommendation(request *model.ListSupplyRecommendationRequest) (*model.ListSupplyRecommendationResponse, error)
- func (c *CmsClient) ListSupplyRecommendationInvoker(request *model.ListSupplyRecommendationRequest) *ListSupplyRecommendationInvoker
- func (c *CmsClient) ShowAutoLaunchGroup(request *model.ShowAutoLaunchGroupRequest) (*model.ShowAutoLaunchGroupResponse, error)
- func (c *CmsClient) ShowAutoLaunchGroupInvoker(request *model.ShowAutoLaunchGroupRequest) *ShowAutoLaunchGroupInvoker
- func (c *CmsClient) UpdateAutoLaunchGroup(request *model.UpdateAutoLaunchGroupRequest) (*model.UpdateAutoLaunchGroupResponse, error)
- func (c *CmsClient) UpdateAutoLaunchGroupInvoker(request *model.UpdateAutoLaunchGroupRequest) *UpdateAutoLaunchGroupInvoker
- type CreateAutoLaunchGroupInvoker
- type DeleteAutoLaunchGroupInvoker
- type ListAutoLaunchGroupsInvoker
- type ListInstancesInvoker
- type ListSupplyRecommendationInvoker
- type ShowAutoLaunchGroupInvoker
- type UpdateAutoLaunchGroupInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmsClientBuilder ¶
func CmsClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForCreateAutoLaunchGroup ¶
func GenReqDefForCreateAutoLaunchGroup() *def.HttpRequestDef
func GenReqDefForDeleteAutoLaunchGroup ¶
func GenReqDefForDeleteAutoLaunchGroup() *def.HttpRequestDef
func GenReqDefForListAutoLaunchGroups ¶
func GenReqDefForListAutoLaunchGroups() *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances() *def.HttpRequestDef
func GenReqDefForListSupplyRecommendation ¶
func GenReqDefForListSupplyRecommendation() *def.HttpRequestDef
func GenReqDefForShowAutoLaunchGroup ¶
func GenReqDefForShowAutoLaunchGroup() *def.HttpRequestDef
func GenReqDefForUpdateAutoLaunchGroup ¶
func GenReqDefForUpdateAutoLaunchGroup() *def.HttpRequestDef
Types ¶
type CmsClient ¶
type CmsClient struct {
HcClient *httpclient.HcHttpClient
}
func NewCmsClient ¶
func NewCmsClient(hcClient *httpclient.HcHttpClient) *CmsClient
func (*CmsClient) CreateAutoLaunchGroup ¶
func (c *CmsClient) CreateAutoLaunchGroup(request *model.CreateAutoLaunchGroupRequest) (*model.CreateAutoLaunchGroupResponse, error)
CreateAutoLaunchGroup 创建智能购买组
创建智能购买组
Please refer to HUAWEI cloud API Explorer for details.
func (*CmsClient) CreateAutoLaunchGroupInvoker ¶
func (c *CmsClient) CreateAutoLaunchGroupInvoker(request *model.CreateAutoLaunchGroupRequest) *CreateAutoLaunchGroupInvoker
CreateAutoLaunchGroupInvoker 创建智能购买组
func (*CmsClient) DeleteAutoLaunchGroup ¶
func (c *CmsClient) DeleteAutoLaunchGroup(request *model.DeleteAutoLaunchGroupRequest) (*model.DeleteAutoLaunchGroupResponse, error)
DeleteAutoLaunchGroup 删除智能购买组
删除指定的智能购买组
Please refer to HUAWEI cloud API Explorer for details.
func (*CmsClient) DeleteAutoLaunchGroupInvoker ¶
func (c *CmsClient) DeleteAutoLaunchGroupInvoker(request *model.DeleteAutoLaunchGroupRequest) *DeleteAutoLaunchGroupInvoker
DeleteAutoLaunchGroupInvoker 删除智能购买组
func (*CmsClient) ListAutoLaunchGroups ¶
func (c *CmsClient) ListAutoLaunchGroups(request *model.ListAutoLaunchGroupsRequest) (*model.ListAutoLaunchGroupsResponse, error)
ListAutoLaunchGroups 查询智能购买组列表
获取租户创建的所有的智能购买组
Please refer to HUAWEI cloud API Explorer for details.
func (*CmsClient) ListAutoLaunchGroupsInvoker ¶
func (c *CmsClient) ListAutoLaunchGroupsInvoker(request *model.ListAutoLaunchGroupsRequest) *ListAutoLaunchGroupsInvoker
ListAutoLaunchGroupsInvoker 查询智能购买组列表
func (*CmsClient) ListInstances ¶
func (c *CmsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
ListInstances 查询智能购买组实例列表
获取智能购买组创建的实例信息
Please refer to HUAWEI cloud API Explorer for details.
func (*CmsClient) ListInstancesInvoker ¶
func (c *CmsClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker
ListInstancesInvoker 查询智能购买组实例列表
func (*CmsClient) ListSupplyRecommendation ¶
func (c *CmsClient) ListSupplyRecommendation(request *model.ListSupplyRecommendationRequest) (*model.ListSupplyRecommendationResponse, error)
ListSupplyRecommendation 地域推荐
对ECS的资源供给的地域和规格进行推荐,推荐结果以打分的形式呈现,分数越高推荐程度越高
Please refer to HUAWEI cloud API Explorer for details.
func (*CmsClient) ListSupplyRecommendationInvoker ¶
func (c *CmsClient) ListSupplyRecommendationInvoker(request *model.ListSupplyRecommendationRequest) *ListSupplyRecommendationInvoker
ListSupplyRecommendationInvoker 地域推荐
func (*CmsClient) ShowAutoLaunchGroup ¶
func (c *CmsClient) ShowAutoLaunchGroup(request *model.ShowAutoLaunchGroupRequest) (*model.ShowAutoLaunchGroupResponse, error)
ShowAutoLaunchGroup 查询智能购买组详情
查询指定智能购买组的详细信息
Please refer to HUAWEI cloud API Explorer for details.
func (*CmsClient) ShowAutoLaunchGroupInvoker ¶
func (c *CmsClient) ShowAutoLaunchGroupInvoker(request *model.ShowAutoLaunchGroupRequest) *ShowAutoLaunchGroupInvoker
ShowAutoLaunchGroupInvoker 查询智能购买组详情
func (*CmsClient) UpdateAutoLaunchGroup ¶
func (c *CmsClient) UpdateAutoLaunchGroup(request *model.UpdateAutoLaunchGroupRequest) (*model.UpdateAutoLaunchGroupResponse, error)
UpdateAutoLaunchGroup 修改智能购买组
更新指定智能购买组信息
Please refer to HUAWEI cloud API Explorer for details.
func (*CmsClient) UpdateAutoLaunchGroupInvoker ¶
func (c *CmsClient) UpdateAutoLaunchGroupInvoker(request *model.UpdateAutoLaunchGroupRequest) *UpdateAutoLaunchGroupInvoker
UpdateAutoLaunchGroupInvoker 修改智能购买组
type CreateAutoLaunchGroupInvoker ¶
type CreateAutoLaunchGroupInvoker struct {
*invoker.BaseInvoker
}
func (*CreateAutoLaunchGroupInvoker) Invoke ¶
func (i *CreateAutoLaunchGroupInvoker) Invoke() (*model.CreateAutoLaunchGroupResponse, error)
type DeleteAutoLaunchGroupInvoker ¶
type DeleteAutoLaunchGroupInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAutoLaunchGroupInvoker) Invoke ¶
func (i *DeleteAutoLaunchGroupInvoker) Invoke() (*model.DeleteAutoLaunchGroupResponse, error)
type ListAutoLaunchGroupsInvoker ¶
type ListAutoLaunchGroupsInvoker struct {
*invoker.BaseInvoker
}
func (*ListAutoLaunchGroupsInvoker) Invoke ¶
func (i *ListAutoLaunchGroupsInvoker) Invoke() (*model.ListAutoLaunchGroupsResponse, error)
type ListInstancesInvoker ¶
type ListInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstancesInvoker) Invoke ¶
func (i *ListInstancesInvoker) Invoke() (*model.ListInstancesResponse, error)
type ListSupplyRecommendationInvoker ¶
type ListSupplyRecommendationInvoker struct {
*invoker.BaseInvoker
}
func (*ListSupplyRecommendationInvoker) Invoke ¶
func (i *ListSupplyRecommendationInvoker) Invoke() (*model.ListSupplyRecommendationResponse, error)
type ShowAutoLaunchGroupInvoker ¶
type ShowAutoLaunchGroupInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAutoLaunchGroupInvoker) Invoke ¶
func (i *ShowAutoLaunchGroupInvoker) Invoke() (*model.ShowAutoLaunchGroupResponse, error)
type UpdateAutoLaunchGroupInvoker ¶
type UpdateAutoLaunchGroupInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAutoLaunchGroupInvoker) Invoke ¶
func (i *UpdateAutoLaunchGroupInvoker) Invoke() (*model.UpdateAutoLaunchGroupResponse, error)