CLI Command Reference
Device Group Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Device Group | hcloud ROMA CreateDeviceGroup | This API is used to create a device group. | |
| Querying All Device Groups | hcloud ROMA ShowDeviceGroupTree | This API is used to query all device groups. | |
| Deleting a Device Group | hcloud ROMA DeleteDeviceGroup | This API is used to delete a device group. | |
| Querying Device Group Details | hcloud ROMA ShowDeviceGroup | This API is used to query the information about a device group. | |
| Modifying a Device Group | hcloud ROMA UpdateDeviceGroup | This API is used to modify information of a device group. | |
| Adding Devices to a Device Group in Batches | hcloud ROMA BatchAddDeviceToGroup | This API is used to add devices to a device group in batches. | |
| Deleting Devices from a Device Group | hcloud ROMA DeleteDeviceFromGroup | This API is used delete devices from a device group. |
Device Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Device | hcloud ROMA CreateDevice | This API is used to create a device. | |
| Querying Devices | hcloud ROMA ListDevices | This API is used to query devices. | |
| Bringing Devices Offline in Batches | hcloud ROMA BatchFreezeDevices | Bringing Devices Offline in Batches | |
| Deleting a Device | hcloud ROMA DeleteDevice | This API is used to delete a device by device ID. | |
| Querying Device Details | hcloud ROMA ShowDevice | This API is used to query the details of a specified device. | |
| Modifying a Device | hcloud ROMA UpdateDevice | This API is used to modify information of a device. | |
| Querying Device Topics | hcloud ROMA ListTopics | This API is used to query device topics. | |
| Adding a Subdevice to the Gateway | hcloud ROMA AddSubsetsToGateway | This API is used to add a subdevice to the gateway. | |
| Querying Subdevices | hcloud ROMA ListSubsets | This API is used to query subdevices. | |
| Querying a Device Shadow | hcloud ROMA ListShadows | This API is used to query a device shadow. | |
| Resetting Device Authentication Information | hcloud ROMA ResetAuthentication | This API is used to reset device authentication information. | |
| Querying Device Authentication Information | hcloud ROMA ShowAuthentication | This API is used to query device authentication information. | |
| Sending Commands | hcloud ROMA SendCommand | This API is used to send commands. |
Product Template Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Product Template | hcloud ROMA CreateProductTemplate | This API is used to create a product template. | |
| Querying Product Templates | hcloud ROMA ListProductTemplates | This API is used to query product templates. | |
| Deleting a Product Template | hcloud ROMA DeleteProductTemplate | This API is used to delete a product template. | |
| Modifying a Product Template | hcloud ROMA UpdateProductTemplate | This API is used to modify information of a product template. |
Product Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Product | hcloud ROMA CreateProduct | This API is used to create a product. | |
| Querying Products | hcloud ROMA ListProducts | This API is used to query products. | |
| Querying the Number of Devices in a Product | hcloud ROMA ListDevicesInProduct | This API is used to query the number of devices in a product. | |
| Deleting a Product | hcloud ROMA DeleteProduct | This API is used to delete a product. | |
| Querying Product Details | hcloud ROMA ShowProduct | This API is used to query product details. | |
| Modifying Product Information | hcloud ROMA UpdateProduct | This API is used to modify product information. | |
| Adding a Product Topic | hcloud ROMA CreateProductTopic | This API is used to add a product topic. | |
| Querying Product Topics | hcloud ROMA ListProductTopics | This API is used to query product topics. | |
| Deleting a Product Topic | hcloud ROMA DeleteProductTopic | This API is used to delete a product topic. | |
| Modifying a Product Topic | hcloud ROMA UpdateProductTopic | This API is used to modify a product topic. | |
| Resetting Product Authentication Information | hcloud ROMA ResetProductAuthentication | This API is used to reset product authentication information. | |
| Querying Product Authentication Information | hcloud ROMA ShowProductAuthentication | This API is used to query product authentication information. | |
| Importing Products | hcloud ROMA UploadProduct | This API is used to import products. | |
| Exporting Products | hcloud ROMA DownloadProducts | This API is used to export products. |
Rule Engine
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Rule | hcloud ROMA CreateRule | This API is used to create a rule. | |
| Querying Rules | hcloud ROMA ListRules | This API is used to query rules. | |
| Deleting Rules in Batches | hcloud ROMA BatchDeleteRules | This API is used to delete rules in batches. | |
| Debugging Rules | hcloud ROMA DebugRule | This API is used to debug rules. | |
| Deleting a Rule | hcloud ROMA DeleteRule | This API is used to delete a rule. | |
| Querying Rule Details | hcloud ROMA ShowRule | This API is used to query rule details. | |
| Modifying a Rule | hcloud ROMA UpdateRule | This API is used to modify a rule. | |
| Creating a Destination | hcloud ROMA CreateDestination | This API is used to create a destination of a rule. | |
| Querying Destinations | hcloud ROMA ListDestinations | This API is used to querying destinations. | |
| Deleting a Destination | hcloud ROMA DeleteDestination | This API is used to delete a destination of a rule. | |
| Creating a Source | hcloud ROMA CreateSource | This API is used to create a source of a rule. | |
| Querying Sources | hcloud ROMA ListSources | This API is used to query sources. | |
| Deleting a Source | hcloud ROMA DeleteSource | This API is used to delete a source of a rule. |
Service Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Service | hcloud ROMA CreateService | This API is used to create a service. | |
| Querying Services | hcloud ROMA ListServices | This API is used to querying services. | |
| Deleting a Service | hcloud ROMA DeleteService | This API is used to delete a service. | |
| Querying Service Details | hcloud ROMA ShowService | This API is used to query service details. | |
| Modifying a Service | hcloud ROMA UpdateService | This API is used to modify a service. | |
| Creating an Attribute | hcloud ROMA CreateProperty | This API is used to create an attribute. | |
| Querying Attributes | hcloud ROMA ListProperties | This API is used to query attributes. | |
| Creating a Command | hcloud ROMA CreateCommand | This API is used to create a command. | |
| Querying Commands | hcloud ROMA ListCommands | This API is used to query commands. | |
| Deleting a Command | hcloud ROMA DeleteCommand | This API is used to delete a command. | |
| Querying Command Details | hcloud ROMA ShowCommand | This API is used to query command details. | |
| Modifying a Command | hcloud ROMA UpdateCommand | This API is used to modify a command. | |
| Creating a Request Attribute | hcloud ROMA CreateRequestProperty | This API is used to create a request attribute. | |
| Querying Request Attributes | hcloud ROMA ListRequestProperties | This API is used to query request attributes. | |
| Deleting a Request Attribute | hcloud ROMA DeleteRequestProperty | This API is used to delete a request attribute. | |
| Modifying a Request Attribute | hcloud ROMA UpdateRequestProperty | This API is used to modify a request attribute. | |
| Creating a Response Attribute | hcloud ROMA CreateResponseProperty | This API is used to create a response attribute. | |
| Querying Response Attributes | hcloud ROMA ListResponseProperties | This API is used to query reponse attributes. | |
| Deleting a Response Attribute | hcloud ROMA DeleteResponseProperty | This API is used to delete a response attribute. | |
| Querying Response Attributes | hcloud ROMA ShowResponseProperty | This API is used to query response attributes. | |
| Modifying a Response Attribute | hcloud ROMA UpdateResponseProperty | This API is used to modify a response attribute. |
Subscription Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Subscription Management Task | hcloud ROMA CreateNotification | This API is used to create device operations under an application in a specified instance and subscribe to the specified topic. | |
| Querying Information About a Subscription Management Task | hcloud ROMA ListNotification | This API is used to query subscription management information of the specified application. | |
| Modifying a Subscription Management Task | hcloud ROMA UpdateNotification | This API is used to modify the specified subscription management. | |
| Deleting a Subscription Management Task | hcloud ROMA DeleteNotification | This API is used to delete the specified subscription management. |
Request Throttling Policy Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Deleting Request Throttling Policy in Batches | hcloud ROMA BatchDeleteThrottlingPolicyV2 | This API is used to delete request throttling policy in Batches. |
Dictionary Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Verifying the Existence of a Dictionary | hcloud ROMA ValidateDictionary | This API is used to check whether the dictionary that meets a given condition exists. Only the dictionary name and code can be used as conditions. | |
| Querying Dictionaries | hcloud ROMA ListDictionary | This API is used to query dictionaries. | |
| Creating a Dictionary | hcloud ROMA CreateDictionary | This API is used to create a dictionary. | |
| Querying Dictionary Details | hcloud ROMA CheckDictionary | This API is used to query the details of a dictionary. | |
| Updating a Dictionary | hcloud ROMA UpdateDictionary | This API is used to update a dictionary. | |
| Deleting a Dictionary | hcloud ROMA DeleteDictionary | This API is used to delete a dictionary. When a dictionary is deleted, all its child dictionaries are deleted. |
Instance Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Instance list. | hcloud ROMA CheckRomaInstanceListV2 | Obtain the list of service instances that meet the search criteria. |
Task Monitoring and Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the Task Monitoring Information List | hcloud ROMA ListMonitorInfos | This API is used to query the monitoring information about all tasks. | |
| Querying the Log Details of a Single Task | hcloud ROMA ListMonitorLog | This API is used to query all logs of a task. |
Data Source Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating Data Sources | hcloud ROMA CreateDatasourceInfo | This API is used to create a data source. | |
| Querying Data Sources | hcloud ROMA ListDatasources | This API is used to query a data source. | |
| Querying a Specified Data Source | hcloud ROMA ShowDataourceDetail | This API is used to query data sources based on data source IDs. | |
| Modifying Data Sources | hcloud ROMA UpdateDatasourceInfo | This API is used to modify a data source. | |
| Deleting a Specified Data Source | hcloud ROMA DeleteDatasourceInfoById | This API is used to delete information about a specified data source based on the data source ID. | |
| Obtaining All Tables in the Data Source | hcloud ROMA ListDatasourceTables | This API is used to obtain all tables in the data source. | |
| Obtaining All Fields in a Table in the Data Source | hcloud ROMA ListDatasourceColumns | This API is used to obtain all fields in a table in the data source. | |
| Testing Data Source Connectivity | hcloud ROMA StartTestDatasource | This API is used to test the data source connectivity. |
Task Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Counting the number of tasks of different types and states | hcloud ROMA CountTasks | This API is used to count the number of tasks of different types and states. | |
| Creating a Common Task | hcloud ROMA CreateCommonTask | This API is used to create a common task (different from a composite task). | |
| Querying a Task List | hcloud ROMA ListTasks | This API is used to query a task list. | |
| Updating a Common Job | hcloud ROMA UpdateTask | This API is used to update a common job. | |
| Querying Information About a Specified Task | hcloud ROMA ShowTask | This API is used to query the information about a specified task based on the task ID. | |
| Deleting a Task | hcloud ROMA DeleteTask | This API is used to delete a specified task based on the task ID. | |
| Manually Triggering a Single Task | hcloud ROMA RunTask | This API is used to manually trigger a task scheduling. | |
| Manually Stopping the Current Task | hcloud ROMA StopTask | This API is used to manually stop the current task. | |
| Creating a Schedule | hcloud ROMA CreateDispatches | This API is used to create a schedule. | |
| Querying a Schedule | hcloud ROMA ShowDispatches | This API is used to query a schedule. | |
| Modifying a Schedule | hcloud ROMA UpdateDispatches | This API is used to modifying a Schedule. | |
| Starting or Stopping Tasks in Batches | hcloud ROMA BatchStartOrStopTasks | This API is used to start or stop tasks in batches. | |
| Creating a Composite Task | hcloud ROMA CreateMultiTasks | Create a composite task. | |
| Initializing the Combined Task | hcloud ROMA InstallMultiTasks | Initialize the combined task, assign task IDs, and initialize mappings. | |
| Modifying a Combined Task | hcloud ROMA UpdateMultiTasks | Modify a combined task. | |
| Resetting the Progress of the Combined Task | hcloud ROMA ResetMultiTaskOffset | Reset the progress of the combined task. | |
| Creating Combined Task Mappings | hcloud ROMA CreateMultiTaskMappings | Create combined task mappings. | |
| Deleting the Specified Task Mapping | hcloud ROMA DeleteMultiTaskMapping | Delete the specified task mapping by ID. |
Application Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Verifying the Existence of an Application | hcloud ROMA ValidateRomaApp | This API is used to check whether an application that meets a given condition exists. | |
| Querying Applications | hcloud ROMA ListRomaApp | This API is used to query applications that meet all the given conditions. | |
| Creating an Application | hcloud ROMA CreateRomaApp | This API is used to create an application. | |
| Querying Application Details | hcloud ROMA CheckRomaAppDetails | This API is used to query the details of an application. | |
| Updating an Application | hcloud ROMA UpdateRomaApp | This API is used to update an application. | |
| Deleting an Application | hcloud ROMA DeleteRomaApp | This API is used to delete an application. | |
| Querying an Application Secret | hcloud ROMA CheckRomaAppSecret | This API is used to query an application secret. | |
| Resetting an Application Secret | hcloud ROMA ResetRomaAppSecret | This API is used to reset an application secret. | |
| Querying Application Members | hcloud ROMA CheckAuthUsersOfApp | This API is used to query members of an application. | |
| Setting Application Members | hcloud ROMA AddUserToApp | - This API is used to set members of an application. If an empty array is carried, the existing members are cleared. | |
| Querying Candidate Members | hcloud ROMA CheckCanAuthUsersOfApp | This API is used to query candidate members of an application. Members in the abnormal state are filtered out. |
Asset Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Downloading an Asset Package | hcloud ROMA DownloadAssetArchive | - This API can be used to obtain the asset package generated by an executed export job. The asset package can be downloaded only once. | |
| Exporting Assets in Batches | hcloud ROMA ExportAsset | Exporting Assets in Batches | |
| Importing Assets | hcloud ROMA ImportAsset | - This API is used to create an asset import task. The asset version and specific assets are read from the asset content. | |
| Obtaining Job Progress | hcloud ROMA CheckAssetJobStatus | This API is used to query the job progress. | |
| Deleting Assets in Batches | hcloud ROMA DeleteAsset | This API is used to delete assets in batches. |
Public Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Obtaining Service API Versions | hcloud ROMA ListVersion | This API is used to obtain service API versions. No authentication is required. | |
| Obtaining the API Version of a Given Version ID | hcloud ROMA CheckVersion | This API is used to obtain the API version of a given version ID. |
MQS Instance Management
Topic Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Topics | hcloud ROMA ListMqsInstanceTopics | This API is used to query a list of topics. | |
| Creating a Topic | hcloud ROMA CreateMqsInstanceTopic | This API is used to create a topic. | |
| Modifying a Topic | hcloud ROMA UpdateMqsInstanceTopic | This API is used to modify a topic. | |
| Deleting Topics in Batches | hcloud ROMA DeleteMqsInstanceTopic | This API is used to delete topics in batches. | |
| Deleting Topics in Batches | hcloud ROMA BatchDeleteMqsInstanceTopic | This API is used to delete topics in batches. | |
| Importing Topics | hcloud ROMA ImportMqsInstanceTopic | This API is used to import topics. | |
| Exporting Topics | hcloud ROMA ExportMqsInstanceTopic | This API is used to export topics. |
Application Permission Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Updating a Topic Permission | hcloud ROMA UpdateTopicAccessPolicy | This API is used to update the permission of a topic. | |
| Querying a Topic Permission | hcloud ROMA ShowMqsInstanceTopicAccessPolicy | This API is used to query the permission of a topic. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot