Documentation ¶
Index ¶
- func DeHClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForBatchCreateDedicatedHostTags() *def.HttpRequestDef
- func GenReqDefForBatchDeleteDedicatedHostTags() *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 BatchCreateDedicatedHostTagsInvoker
- type BatchDeleteDedicatedHostTagsInvoker
- type DeHClient
- func (c *DeHClient) BatchCreateDedicatedHostTags(request *model.BatchCreateDedicatedHostTagsRequest) (*model.BatchCreateDedicatedHostTagsResponse, error)
- func (c *DeHClient) BatchCreateDedicatedHostTagsInvoker(request *model.BatchCreateDedicatedHostTagsRequest) *BatchCreateDedicatedHostTagsInvoker
- func (c *DeHClient) BatchDeleteDedicatedHostTags(request *model.BatchDeleteDedicatedHostTagsRequest) (*model.BatchDeleteDedicatedHostTagsResponse, error)
- func (c *DeHClient) BatchDeleteDedicatedHostTagsInvoker(request *model.BatchDeleteDedicatedHostTagsRequest) *BatchDeleteDedicatedHostTagsInvoker
- func (c *DeHClient) ListDedicatedHostTypes(request *model.ListDedicatedHostTypesRequest) (*model.ListDedicatedHostTypesResponse, error)
- func (c *DeHClient) ListDedicatedHostTypesInvoker(request *model.ListDedicatedHostTypesRequest) *ListDedicatedHostTypesInvoker
- func (c *DeHClient) ListDedicatedHosts(request *model.ListDedicatedHostsRequest) (*model.ListDedicatedHostsResponse, error)
- func (c *DeHClient) ListDedicatedHostsByTags(request *model.ListDedicatedHostsByTagsRequest) (*model.ListDedicatedHostsByTagsResponse, error)
- func (c *DeHClient) ListDedicatedHostsByTagsInvoker(request *model.ListDedicatedHostsByTagsRequest) *ListDedicatedHostsByTagsInvoker
- func (c *DeHClient) ListDedicatedHostsInvoker(request *model.ListDedicatedHostsRequest) *ListDedicatedHostsInvoker
- func (c *DeHClient) ListServersDedicatedHost(request *model.ListServersDedicatedHostRequest) (*model.ListServersDedicatedHostResponse, error)
- func (c *DeHClient) ListServersDedicatedHostInvoker(request *model.ListServersDedicatedHostRequest) *ListServersDedicatedHostInvoker
- func (c *DeHClient) ShowDedicatedHost(request *model.ShowDedicatedHostRequest) (*model.ShowDedicatedHostResponse, error)
- func (c *DeHClient) ShowDedicatedHostInvoker(request *model.ShowDedicatedHostRequest) *ShowDedicatedHostInvoker
- func (c *DeHClient) ShowDedicatedHostTags(request *model.ShowDedicatedHostTagsRequest) (*model.ShowDedicatedHostTagsResponse, error)
- func (c *DeHClient) ShowDedicatedHostTagsInvoker(request *model.ShowDedicatedHostTagsRequest) *ShowDedicatedHostTagsInvoker
- func (c *DeHClient) ShowQuotaSets(request *model.ShowQuotaSetsRequest) (*model.ShowQuotaSetsResponse, error)
- func (c *DeHClient) ShowQuotaSetsInvoker(request *model.ShowQuotaSetsRequest) *ShowQuotaSetsInvoker
- func (c *DeHClient) UpdateDedicatedHost(request *model.UpdateDedicatedHostRequest) (*model.UpdateDedicatedHostResponse, error)
- func (c *DeHClient) UpdateDedicatedHostInvoker(request *model.UpdateDedicatedHostRequest) *UpdateDedicatedHostInvoker
- type ListDedicatedHostTypesInvoker
- type ListDedicatedHostsByTagsInvoker
- type ListDedicatedHostsInvoker
- type ListServersDedicatedHostInvoker
- type ShowDedicatedHostInvoker
- type ShowDedicatedHostTagsInvoker
- type ShowQuotaSetsInvoker
- type UpdateDedicatedHostInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeHClientBuilder ¶
func DeHClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForBatchCreateDedicatedHostTags ¶
func GenReqDefForBatchCreateDedicatedHostTags() *def.HttpRequestDef
func GenReqDefForBatchDeleteDedicatedHostTags ¶
func GenReqDefForBatchDeleteDedicatedHostTags() *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 BatchCreateDedicatedHostTagsInvoker ¶ added in v0.0.90
type BatchCreateDedicatedHostTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateDedicatedHostTagsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *BatchCreateDedicatedHostTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*BatchCreateDedicatedHostTagsInvoker) Invoke ¶ added in v0.0.90
func (i *BatchCreateDedicatedHostTagsInvoker) Invoke() (*model.BatchCreateDedicatedHostTagsResponse, error)
type BatchDeleteDedicatedHostTagsInvoker ¶ added in v0.0.90
type BatchDeleteDedicatedHostTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchDeleteDedicatedHostTagsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *BatchDeleteDedicatedHostTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*BatchDeleteDedicatedHostTagsInvoker) Invoke ¶ added in v0.0.90
func (i *BatchDeleteDedicatedHostTagsInvoker) Invoke() (*model.BatchDeleteDedicatedHostTagsResponse, error)
type DeHClient ¶
type DeHClient struct {
HcClient *httpclient.HcHttpClient
}
func NewDeHClient ¶
func NewDeHClient(hcClient *httpclient.HcHttpClient) *DeHClient
func (*DeHClient) BatchCreateDedicatedHostTags ¶
func (c *DeHClient) BatchCreateDedicatedHostTags(request *model.BatchCreateDedicatedHostTagsRequest) (*model.BatchCreateDedicatedHostTagsResponse, error)
BatchCreateDedicatedHostTags 批量添加专属主机标签
为指定专属主机批量添加标签。
标签管理服务(TMS)使用该接口批量添加专属主机的标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) BatchCreateDedicatedHostTagsInvoker ¶ added in v0.0.90
func (c *DeHClient) BatchCreateDedicatedHostTagsInvoker(request *model.BatchCreateDedicatedHostTagsRequest) *BatchCreateDedicatedHostTagsInvoker
BatchCreateDedicatedHostTagsInvoker 批量添加专属主机标签
func (*DeHClient) BatchDeleteDedicatedHostTags ¶
func (c *DeHClient) BatchDeleteDedicatedHostTags(request *model.BatchDeleteDedicatedHostTagsRequest) (*model.BatchDeleteDedicatedHostTagsResponse, error)
BatchDeleteDedicatedHostTags 批量删除专属主机标签
批量删除指定专属主机标签。
标签管理服务(TMS)使用该接口批量删除专属主机的标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) BatchDeleteDedicatedHostTagsInvoker ¶ added in v0.0.90
func (c *DeHClient) BatchDeleteDedicatedHostTagsInvoker(request *model.BatchDeleteDedicatedHostTagsRequest) *BatchDeleteDedicatedHostTagsInvoker
BatchDeleteDedicatedHostTagsInvoker 批量删除专属主机标签
func (*DeHClient) ListDedicatedHostTypes ¶
func (c *DeHClient) ListDedicatedHostTypes(request *model.ListDedicatedHostTypesRequest) (*model.ListDedicatedHostTypesResponse, error)
ListDedicatedHostTypes 查询可用的专属主机类型
查询某一AZ内可用的专属主机类型。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) ListDedicatedHostTypesInvoker ¶ added in v0.0.90
func (c *DeHClient) ListDedicatedHostTypesInvoker(request *model.ListDedicatedHostTypesRequest) *ListDedicatedHostTypesInvoker
ListDedicatedHostTypesInvoker 查询可用的专属主机类型
func (*DeHClient) ListDedicatedHosts ¶
func (c *DeHClient) ListDedicatedHosts(request *model.ListDedicatedHostsRequest) (*model.ListDedicatedHostsResponse, error)
ListDedicatedHosts 查询专属主机列表
通过该接口查询专属主机列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) ListDedicatedHostsByTags ¶
func (c *DeHClient) ListDedicatedHostsByTags(request *model.ListDedicatedHostsByTagsRequest) (*model.ListDedicatedHostsByTagsResponse, error)
ListDedicatedHostsByTags 按标签查询专属主机列表
使用标签过滤专属主机列表,并返回专属主机使用的所有标签。
标签管理服务(TMS)使用该接口过滤专属主机列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) ListDedicatedHostsByTagsInvoker ¶ added in v0.0.90
func (c *DeHClient) ListDedicatedHostsByTagsInvoker(request *model.ListDedicatedHostsByTagsRequest) *ListDedicatedHostsByTagsInvoker
ListDedicatedHostsByTagsInvoker 按标签查询专属主机列表
func (*DeHClient) ListDedicatedHostsInvoker ¶ added in v0.0.90
func (c *DeHClient) ListDedicatedHostsInvoker(request *model.ListDedicatedHostsRequest) *ListDedicatedHostsInvoker
ListDedicatedHostsInvoker 查询专属主机列表
func (*DeHClient) ListServersDedicatedHost ¶
func (c *DeHClient) ListServersDedicatedHost(request *model.ListServersDedicatedHostRequest) (*model.ListServersDedicatedHostResponse, error)
ListServersDedicatedHost 查询专属主机上的云服务器
查询专属主机上已部署的云服务器信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) ListServersDedicatedHostInvoker ¶ added in v0.0.90
func (c *DeHClient) ListServersDedicatedHostInvoker(request *model.ListServersDedicatedHostRequest) *ListServersDedicatedHostInvoker
ListServersDedicatedHostInvoker 查询专属主机上的云服务器
func (*DeHClient) ShowDedicatedHost ¶
func (c *DeHClient) ShowDedicatedHost(request *model.ShowDedicatedHostRequest) (*model.ShowDedicatedHostResponse, error)
ShowDedicatedHost 查询专属主机详情
查询某一台专属主机的详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) ShowDedicatedHostInvoker ¶ added in v0.0.90
func (c *DeHClient) ShowDedicatedHostInvoker(request *model.ShowDedicatedHostRequest) *ShowDedicatedHostInvoker
ShowDedicatedHostInvoker 查询专属主机详情
func (*DeHClient) ShowDedicatedHostTags ¶
func (c *DeHClient) ShowDedicatedHostTags(request *model.ShowDedicatedHostTagsRequest) (*model.ShowDedicatedHostTagsResponse, error)
ShowDedicatedHostTags 查询指定专属主机标签
查询指定专属主机的标签信息。
标签管理服务(TMS)使用该接口查询指定专属主机的全部标签数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) ShowDedicatedHostTagsInvoker ¶ added in v0.0.90
func (c *DeHClient) ShowDedicatedHostTagsInvoker(request *model.ShowDedicatedHostTagsRequest) *ShowDedicatedHostTagsInvoker
ShowDedicatedHostTagsInvoker 查询指定专属主机标签
func (*DeHClient) ShowQuotaSets ¶
func (c *DeHClient) ShowQuotaSets(request *model.ShowQuotaSetsRequest) (*model.ShowQuotaSetsResponse, error)
ShowQuotaSets 查询租户的专属主机配额
该接口用于查询租户的专属主机配额。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) ShowQuotaSetsInvoker ¶ added in v0.0.90
func (c *DeHClient) ShowQuotaSetsInvoker(request *model.ShowQuotaSetsRequest) *ShowQuotaSetsInvoker
ShowQuotaSetsInvoker 查询租户的专属主机配额
func (*DeHClient) UpdateDedicatedHost ¶
func (c *DeHClient) UpdateDedicatedHost(request *model.UpdateDedicatedHostRequest) (*model.UpdateDedicatedHostResponse, error)
UpdateDedicatedHost 更新专属主机属性
该接口用于变更专属主机的“auto_placement”和“name”属性。
Please refer to HUAWEI cloud API Explorer for details.
func (*DeHClient) UpdateDedicatedHostInvoker ¶ added in v0.0.90
func (c *DeHClient) UpdateDedicatedHostInvoker(request *model.UpdateDedicatedHostRequest) *UpdateDedicatedHostInvoker
UpdateDedicatedHostInvoker 更新专属主机属性
type ListDedicatedHostTypesInvoker ¶ added in v0.0.90
type ListDedicatedHostTypesInvoker struct {
*invoker.BaseInvoker
}
func (*ListDedicatedHostTypesInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListDedicatedHostTypesInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListDedicatedHostTypesInvoker) Invoke ¶ added in v0.0.90
func (i *ListDedicatedHostTypesInvoker) Invoke() (*model.ListDedicatedHostTypesResponse, error)
type ListDedicatedHostsByTagsInvoker ¶ added in v0.0.90
type ListDedicatedHostsByTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListDedicatedHostsByTagsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListDedicatedHostsByTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListDedicatedHostsByTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListDedicatedHostsByTagsInvoker) Invoke() (*model.ListDedicatedHostsByTagsResponse, error)
type ListDedicatedHostsInvoker ¶ added in v0.0.90
type ListDedicatedHostsInvoker struct {
*invoker.BaseInvoker
}
func (*ListDedicatedHostsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListDedicatedHostsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListDedicatedHostsInvoker) Invoke ¶ added in v0.0.90
func (i *ListDedicatedHostsInvoker) Invoke() (*model.ListDedicatedHostsResponse, error)
type ListServersDedicatedHostInvoker ¶ added in v0.0.90
type ListServersDedicatedHostInvoker struct {
*invoker.BaseInvoker
}
func (*ListServersDedicatedHostInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListServersDedicatedHostInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListServersDedicatedHostInvoker) Invoke ¶ added in v0.0.90
func (i *ListServersDedicatedHostInvoker) Invoke() (*model.ListServersDedicatedHostResponse, error)
type ShowDedicatedHostInvoker ¶ added in v0.0.90
type ShowDedicatedHostInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDedicatedHostInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowDedicatedHostInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowDedicatedHostInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDedicatedHostInvoker) Invoke() (*model.ShowDedicatedHostResponse, error)
type ShowDedicatedHostTagsInvoker ¶ added in v0.0.90
type ShowDedicatedHostTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDedicatedHostTagsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowDedicatedHostTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowDedicatedHostTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDedicatedHostTagsInvoker) Invoke() (*model.ShowDedicatedHostTagsResponse, error)
type ShowQuotaSetsInvoker ¶ added in v0.0.90
type ShowQuotaSetsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowQuotaSetsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowQuotaSetsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowQuotaSetsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowQuotaSetsInvoker) Invoke() (*model.ShowQuotaSetsResponse, error)
type UpdateDedicatedHostInvoker ¶ added in v0.0.90
type UpdateDedicatedHostInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDedicatedHostInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *UpdateDedicatedHostInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*UpdateDedicatedHostInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateDedicatedHostInvoker) Invoke() (*model.UpdateDedicatedHostResponse, error)