v5

package
v0.1.115 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForBindInstanceTags

func GenReqDefForBindInstanceTags() *def.HttpRequestDef

func GenReqDefForChangeInstanceChargeMode

func GenReqDefForChangeInstanceChargeMode() *def.HttpRequestDef

func GenReqDefForCreateInstance

func GenReqDefForCreateInstance() *def.HttpRequestDef

func GenReqDefForDeleteInstance

func GenReqDefForDeleteInstance() *def.HttpRequestDef

func GenReqDefForListInstances

func GenReqDefForListInstances() *def.HttpRequestDef

func GenReqDefForResizeInstance

func GenReqDefForResizeInstance() *def.HttpRequestDef

func GenReqDefForShowInstance

func GenReqDefForShowInstance() *def.HttpRequestDef

func GenReqDefForUnbindInstanceTags

func GenReqDefForUnbindInstanceTags() *def.HttpRequestDef

func GenReqDefForUpdateInstance

func GenReqDefForUpdateInstance() *def.HttpRequestDef

func IoTDMClientBuilder

func IoTDMClientBuilder() *httpclient.HcHttpClientBuilder

Types

type BindInstanceTagsInvoker

type BindInstanceTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BindInstanceTagsInvoker) Invoke

type ChangeInstanceChargeModeInvoker

type ChangeInstanceChargeModeInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeInstanceChargeModeInvoker) Invoke

type CreateInstanceInvoker

type CreateInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateInstanceInvoker) Invoke

type DeleteInstanceInvoker

type DeleteInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteInstanceInvoker) Invoke

type IoTDMClient

type IoTDMClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewIoTDMClient

func NewIoTDMClient(hcClient *httpclient.HcHttpClient) *IoTDMClient

func (*IoTDMClient) BindInstanceTags

BindInstanceTags 添加实例标签

添加实例标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) BindInstanceTagsInvoker

func (c *IoTDMClient) BindInstanceTagsInvoker(request *model.BindInstanceTagsRequest) *BindInstanceTagsInvoker

BindInstanceTagsInvoker 添加实例标签

func (*IoTDMClient) ChangeInstanceChargeMode

ChangeInstanceChargeMode 修改实例计费模式

修改设备接入实例的计费模式,支持将按需计费模式修改为包年/包月计费模式。 接口约束:当前实例的规格支持包年/包月计费模式时,才可以修改实例的计费模式为包年/包月。支持的实例规格请参见[[产品规格说明](https://support.huaweicloud.com/productdesc-iothub/iot_04_0014.html)](tag:hws)[[产品规格说明](https://support.huaweicloud.com/intl/zh-cn/productdesc-iothub/iot_04_0014.html)](tag:hws_hk)。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) ChangeInstanceChargeModeInvoker

func (c *IoTDMClient) ChangeInstanceChargeModeInvoker(request *model.ChangeInstanceChargeModeRequest) *ChangeInstanceChargeModeInvoker

ChangeInstanceChargeModeInvoker 修改实例计费模式

func (*IoTDMClient) CreateInstance

func (c *IoTDMClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)

CreateInstance 创建设备接入实例

用户可以调用此接口创建一个设备接入实例。支持的实例规格请参见[[产品规格说明](https://support.huaweicloud.com/productdesc-iothub/iot_04_0014.html)](tag:hws)[[产品规格说明](https://support.huaweicloud.com/intl/zh-cn/productdesc-iothub/iot_04_0014.html)](tag:hws_hk)。 [接口约束: - 请保证账户余额充足,此接口无法使用优惠券支付,在创建包年/包月实例时,若余额不足会创建一个待支付订单。 - 若想使用优惠券,请将请求中的is_auto_pay字段设置为false,参考[\"支付包年/包月产品订单\"](https://support.huaweicloud.com/api-bpconsole/api_order_00016.html#section0)进行支付,或者在华为云官网页面使用优惠券进行支付。 - 如果您需要退订包年/包月资源,请参考[\"退订包年/包月资源\"](https://support.huaweicloud.com/api-bpconsole/api_order_00019.html)。](tag:hws)

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) CreateInstanceInvoker

func (c *IoTDMClient) CreateInstanceInvoker(request *model.CreateInstanceRequest) *CreateInstanceInvoker

CreateInstanceInvoker 创建设备接入实例

func (*IoTDMClient) DeleteInstance

func (c *IoTDMClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)

DeleteInstance 删除实例

删除设备接入实例。约束:此接口仅支持删除按需计费的实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) DeleteInstanceInvoker

func (c *IoTDMClient) DeleteInstanceInvoker(request *model.DeleteInstanceRequest) *DeleteInstanceInvoker

DeleteInstanceInvoker 删除实例

func (*IoTDMClient) ListInstances

func (c *IoTDMClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)

ListInstances 查询实例列表

用户可以调用此接口查询设备接入实例列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) ListInstancesInvoker

func (c *IoTDMClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker

ListInstancesInvoker 查询实例列表

func (*IoTDMClient) ResizeInstance

func (c *IoTDMClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)

ResizeInstance 修改实例规格信息

修改设备接入实例的规格。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) ResizeInstanceInvoker

func (c *IoTDMClient) ResizeInstanceInvoker(request *model.ResizeInstanceRequest) *ResizeInstanceInvoker

ResizeInstanceInvoker 修改实例规格信息

func (*IoTDMClient) ShowInstance

func (c *IoTDMClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)

ShowInstance 查询实例详情

查询设备接入实例详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) ShowInstanceInvoker

func (c *IoTDMClient) ShowInstanceInvoker(request *model.ShowInstanceRequest) *ShowInstanceInvoker

ShowInstanceInvoker 查询实例详情

func (*IoTDMClient) UnbindInstanceTags

UnbindInstanceTags 删除实例标签

删除实例标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) UnbindInstanceTagsInvoker

func (c *IoTDMClient) UnbindInstanceTagsInvoker(request *model.UnbindInstanceTagsRequest) *UnbindInstanceTagsInvoker

UnbindInstanceTagsInvoker 删除实例标签

func (*IoTDMClient) UpdateInstance

func (c *IoTDMClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)

UpdateInstance 修改实例信息

修改设备接入实例信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*IoTDMClient) UpdateInstanceInvoker

func (c *IoTDMClient) UpdateInstanceInvoker(request *model.UpdateInstanceRequest) *UpdateInstanceInvoker

UpdateInstanceInvoker 修改实例信息

type ListInstancesInvoker

type ListInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstancesInvoker) Invoke

type ResizeInstanceInvoker

type ResizeInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ResizeInstanceInvoker) Invoke

type ShowInstanceInvoker

type ShowInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowInstanceInvoker) Invoke

type UnbindInstanceTagsInvoker

type UnbindInstanceTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*UnbindInstanceTagsInvoker) Invoke

type UpdateInstanceInvoker

type UpdateInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateInstanceInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL