Documentation ¶
Index ¶
- func DeHClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchCreateDedicatedHostTags() *def.HttpRequestDef
- func GenReqDefForBatchDeleteDedicatedHostTags() *def.HttpRequestDef
- func GenReqDefForCreateDedicatedHost() *def.HttpRequestDef
- func GenReqDefForDeleteDedicatedHost() *def.HttpRequestDef
- func GenReqDefForListDedicatedHostTypes() *def.HttpRequestDef
- func GenReqDefForListDedicatedHosts() *def.HttpRequestDef
- func GenReqDefForListDedicatedHostsByTags() *def.HttpRequestDef
- func GenReqDefForListServersDedicatedHost() *def.HttpRequestDef
- func GenReqDefForShowDedicatedHost() *def.HttpRequestDef
- func GenReqDefForShowDedicatedHostTags() *def.HttpRequestDef
- func GenReqDefForShowQuotaSets() *def.HttpRequestDef
- func GenReqDefForUpdateDedicatedHost() *def.HttpRequestDef
- type DeHClient
- func (c *DeHClient) BatchCreateDedicatedHostTags(request *model.BatchCreateDedicatedHostTagsRequest) (*model.BatchCreateDedicatedHostTagsResponse, error)
- func (c *DeHClient) BatchDeleteDedicatedHostTags(request *model.BatchDeleteDedicatedHostTagsRequest) (*model.BatchDeleteDedicatedHostTagsResponse, error)
- func (c *DeHClient) CreateDedicatedHost(request *model.CreateDedicatedHostRequest) (*model.CreateDedicatedHostResponse, error)
- func (c *DeHClient) DeleteDedicatedHost(request *model.DeleteDedicatedHostRequest) (*model.DeleteDedicatedHostResponse, error)
- func (c *DeHClient) ListDedicatedHostTypes(request *model.ListDedicatedHostTypesRequest) (*model.ListDedicatedHostTypesResponse, error)
- func (c *DeHClient) ListDedicatedHosts(request *model.ListDedicatedHostsRequest) (*model.ListDedicatedHostsResponse, error)
- func (c *DeHClient) ListDedicatedHostsByTags(request *model.ListDedicatedHostsByTagsRequest) (*model.ListDedicatedHostsByTagsResponse, error)
- func (c *DeHClient) ListServersDedicatedHost(request *model.ListServersDedicatedHostRequest) (*model.ListServersDedicatedHostResponse, error)
- func (c *DeHClient) ShowDedicatedHost(request *model.ShowDedicatedHostRequest) (*model.ShowDedicatedHostResponse, error)
- func (c *DeHClient) ShowDedicatedHostTags(request *model.ShowDedicatedHostTagsRequest) (*model.ShowDedicatedHostTagsResponse, error)
- func (c *DeHClient) ShowQuotaSets(request *model.ShowQuotaSetsRequest) (*model.ShowQuotaSetsResponse, error)
- func (c *DeHClient) UpdateDedicatedHost(request *model.UpdateDedicatedHostRequest) (*model.UpdateDedicatedHostResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeHClientBuilder ¶
func DeHClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchCreateDedicatedHostTags ¶
func GenReqDefForBatchCreateDedicatedHostTags() *def.HttpRequestDef
func GenReqDefForBatchDeleteDedicatedHostTags ¶
func GenReqDefForBatchDeleteDedicatedHostTags() *def.HttpRequestDef
func GenReqDefForCreateDedicatedHost ¶
func GenReqDefForCreateDedicatedHost() *def.HttpRequestDef
func GenReqDefForDeleteDedicatedHost ¶
func GenReqDefForDeleteDedicatedHost() *def.HttpRequestDef
func GenReqDefForListDedicatedHostTypes ¶
func GenReqDefForListDedicatedHostTypes() *def.HttpRequestDef
func GenReqDefForListDedicatedHosts ¶
func GenReqDefForListDedicatedHosts() *def.HttpRequestDef
func GenReqDefForListDedicatedHostsByTags ¶
func GenReqDefForListDedicatedHostsByTags() *def.HttpRequestDef
func GenReqDefForListServersDedicatedHost ¶
func GenReqDefForListServersDedicatedHost() *def.HttpRequestDef
func GenReqDefForShowDedicatedHost ¶
func GenReqDefForShowDedicatedHost() *def.HttpRequestDef
func GenReqDefForShowDedicatedHostTags ¶
func GenReqDefForShowDedicatedHostTags() *def.HttpRequestDef
func GenReqDefForShowQuotaSets ¶
func GenReqDefForShowQuotaSets() *def.HttpRequestDef
func GenReqDefForUpdateDedicatedHost ¶
func GenReqDefForUpdateDedicatedHost() *def.HttpRequestDef
Types ¶
type DeHClient ¶
type DeHClient struct {
HcClient *http_client.HcHttpClient
}
func NewDeHClient ¶
func NewDeHClient(hcClient *http_client.HcHttpClient) *DeHClient
func (*DeHClient) BatchCreateDedicatedHostTags ¶
func (c *DeHClient) BatchCreateDedicatedHostTags(request *model.BatchCreateDedicatedHostTagsRequest) (*model.BatchCreateDedicatedHostTagsResponse, error)
为指定专属主机批量添加标签。 标签管理服务(TMS)使用该接口批量添加专属主机的标签。
func (*DeHClient) BatchDeleteDedicatedHostTags ¶
func (c *DeHClient) BatchDeleteDedicatedHostTags(request *model.BatchDeleteDedicatedHostTagsRequest) (*model.BatchDeleteDedicatedHostTagsResponse, error)
批量删除指定专属主机标签。 标签管理服务(TMS)使用该接口批量删除专属主机的标签。
func (*DeHClient) CreateDedicatedHost ¶
func (c *DeHClient) CreateDedicatedHost(request *model.CreateDedicatedHostRequest) (*model.CreateDedicatedHostResponse, error)
分配一台或多台专属主机,需要设置实例规格、所属AZ、数量等参数。
func (*DeHClient) DeleteDedicatedHost ¶
func (c *DeHClient) DeleteDedicatedHost(request *model.DeleteDedicatedHostRequest) (*model.DeleteDedicatedHostResponse, error)
释放专属主机。
func (*DeHClient) ListDedicatedHostTypes ¶
func (c *DeHClient) ListDedicatedHostTypes(request *model.ListDedicatedHostTypesRequest) (*model.ListDedicatedHostTypesResponse, error)
查询某一AZ内可用的专属主机类型。
func (*DeHClient) ListDedicatedHosts ¶
func (c *DeHClient) ListDedicatedHosts(request *model.ListDedicatedHostsRequest) (*model.ListDedicatedHostsResponse, error)
通过该接口查询专属主机列表。
func (*DeHClient) ListDedicatedHostsByTags ¶
func (c *DeHClient) ListDedicatedHostsByTags(request *model.ListDedicatedHostsByTagsRequest) (*model.ListDedicatedHostsByTagsResponse, error)
使用标签过滤专属主机列表,并返回专属主机使用的所有标签。 标签管理服务(TMS)使用该接口过滤专属主机列表。
func (*DeHClient) ListServersDedicatedHost ¶
func (c *DeHClient) ListServersDedicatedHost(request *model.ListServersDedicatedHostRequest) (*model.ListServersDedicatedHostResponse, error)
查询专属主机上已部署的云服务器信息。
func (*DeHClient) ShowDedicatedHost ¶
func (c *DeHClient) ShowDedicatedHost(request *model.ShowDedicatedHostRequest) (*model.ShowDedicatedHostResponse, error)
查询某一台专属主机的详情。
func (*DeHClient) ShowDedicatedHostTags ¶
func (c *DeHClient) ShowDedicatedHostTags(request *model.ShowDedicatedHostTagsRequest) (*model.ShowDedicatedHostTagsResponse, error)
查询指定专属主机的标签信息。 标签管理服务(TMS)使用该接口查询指定专属主机的全部标签数据。
func (*DeHClient) ShowQuotaSets ¶
func (c *DeHClient) ShowQuotaSets(request *model.ShowQuotaSetsRequest) (*model.ShowQuotaSetsResponse, error)
该接口用于查询租户的专属主机配额。
func (*DeHClient) UpdateDedicatedHost ¶
func (c *DeHClient) UpdateDedicatedHost(request *model.UpdateDedicatedHostRequest) (*model.UpdateDedicatedHostResponse, error)
该接口用于变更专属主机的“auto_placement”和“name”属性。
Click to show internal directories.
Click to hide internal directories.