CLI Command Reference
Lifecycle Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the Instance List | hcloud RocketMQ ListInstances | This API is used to query the instances of an account by the specified conditions. | |
| Creating an Instance | hcloud RocketMQ CreateInstanceByEngine | This API is used to create an instance, and pay-per-use and yearly/monthly billing modes are supported. | |
| Querying an Instance | hcloud RocketMQ ShowInstance | This API is used to query the details about a specified instance. | |
| Deleting an Instance | hcloud RocketMQ DeleteInstance | This API is used to delete an instance to release all the resources occupied by it. | |
| Modifying Instance Information | hcloud RocketMQ UpdateInstance | This API is used to modify instance information. | |
| Batch Deleting Instances | hcloud RocketMQ BatchDeleteInstances | This API is used to delete instances in batches. Data in the instances will be deleted without any backup. Exercise caution when performing this operation. | |
| Querying the Broker List | hcloud RocketMQ ListBrokers | This API is used to query the list of brokers. |
Consumer Group Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the Consumer Group List | hcloud RocketMQ ListInstanceConsumerGroups | This API is used to query the consumer group list. | |
| Creating a Consumer Group or Batch Deleting Consumer Groups | hcloud RocketMQ CreateConsumerGroupOrBatchDeleteConsumerGroup | This API is used to create a consumer group or batch deleting consumer groups. | |
| Batch Modifying Consumer Groups | hcloud RocketMQ BatchUpdateConsumerGroup | This API is used to modify consumer groups in batches. | |
| Deleting a Consumer Group | hcloud RocketMQ DeleteConsumerGroup | This API is used to delete a specified consumer group. | |
| Querying a Consumer Group | hcloud RocketMQ ShowGroup | This API is used to query details about a specified consumer group. | |
| Modifying a Consumer Group | hcloud RocketMQ UpdateConsumerGroup | This API is used to modify parameters of a specified consumer group. | |
| Querying the Consumer Group List or Details | hcloud RocketMQ ShowConsumerListOrDetails | This API is used to query the consumer group list or details. | |
| Resetting the Consumer Offset | hcloud RocketMQ ResetConsumeOffset | This API is used to reset the consumer offset. | |
| Querying the Consumer List | hcloud RocketMQ ShowConsumerConnections | This API is used to query the consumer list of a consumer group. |
Topic Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Topic or Deleting Topics in Batches | hcloud RocketMQ CreateTopicOrBatchDeleteTopic | This API is used to create a topic or delete topics in batches. | |
| Querying the Topic List | hcloud RocketMQ ListRocketInstanceTopics | This API is used to query the topic list of a RocketMQ instance. | |
| Deleting a Topic | hcloud RocketMQ DeleteTopic | This API is used to delete a specified topic. | |
| Querying a Topic | hcloud RocketMQ ShowOneTopic | This API is used to query a topic. | |
| Modifying a Topic | hcloud RocketMQ UpdateTopic | This API is used to modify a topic. | |
| Querying the Topic Consumer Group List | hcloud RocketMQ ListConsumerGroupOfTopic | This API is used to query the topic consumer group list. | |
| Querying the Number of Messages in a Topic | hcloud RocketMQ ShowTopicStatus | This API is used to query the number of messages in a topic. |
Message Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Messages | hcloud RocketMQ ListMessages | This API is used to query messages. | |
| Sending a Message | hcloud RocketMQ SendMessage | This API is used to send a message. | |
| Querying the Message Trace | hcloud RocketMQ ListMessageTrace | This API is used to query the message trace. | |
| Resending Dead Letter Messages | hcloud RocketMQ SendDlqMessage | Resending dead letter messages | |
| Verifying Consumption | hcloud RocketMQ ValidateConsumedMessage | This API is used to verify consumption. |
User Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a User | hcloud RocketMQ CreateUser | This API is used to create a user. | |
| Querying the User List | hcloud RocketMQ ListUser | This API is used to query the user list. | |
| Modifying User Parameters | hcloud RocketMQ UpdateUser | This API is used to modify user parameters. | |
| Querying User Details | hcloud RocketMQ ShowUser | This API is used to query user details. | |
| Deleting a User | hcloud RocketMQ DeleteUser | This API is used to delete a user. | |
| Querying Users Granted Permissions for a Topic | hcloud RocketMQ ListTopicAccessPolicy | This API is used to query the list of users that have been granted permissions for a topic. | |
| Querying Users Granted Permissions for a Consumer Group | hcloud RocketMQ ListConsumeGroupAccessPolicy | This API is used to query the list of users granted permissions for a consumer group. |
Metadata Migration
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a Metadata Migration Task | hcloud RocketMQ CreateRocketMqMigrationTask | This API is used to create a metadata migration task. | |
| Querying All Migration Tasks or a Specified Migration Task of an Instance | hcloud RocketMQ ListRocketMqMigrationTask | This API is used to query all migration tasks or a specified migration task of an instance. | |
| Deleting Metadata Migration Tasks in Batches | hcloud RocketMQ BatchDeleteRocketMqMigrationTask | This API is used to delete metadata migration tasks in batches. |
Parameter Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying RocketMQ Configurations | hcloud RocketMQ ShowRocketMqConfigs | This API is used to query RocketMQ configurations. Configuration details will be returned. | |
| Modifying RocketMQ Configurations | hcloud RocketMQ UpdateRocketMqConfigs | This API is used to modify RocketMQ configurations. |
Tag Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Adding or Deleting Instance Tags in Batches | hcloud RocketMQ BatchCreateOrDeleteRocketmqTag | This API is used to add or delete instance tags in batches. | |
| Querying Instance Tags | hcloud RocketMQ ShowRocketmqTags | This API is used to query instance tags. | |
| Querying Project Tags | hcloud RocketMQ ShowRocketmqProjectTags | This API is used to query tags of a project. |
Instance Diagnosis
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating an Instance Diagnosis Task | hcloud RocketMQ CreateDiagnosisTask | This API is used to create an instance diagnosis task. | |
| Querying an Instance Diagnosis Report List | hcloud RocketMQ ListDiagnosisReports | This API is used to query an instance diagnosis report list. | |
| Deleting Instance Diagnosis Reports in Batches | hcloud RocketMQ BatchDeleteDiagnosisRecords | This API is used to delete diagnosis reports of an instance in batches. | |
| Querying an Instance Diagnosis Report | hcloud RocketMQ ShowDiagnosisReport | This API is used to query an instance diagnosis report. | |
| Querying Stack Information | hcloud RocketMQ ShowDiagnosisStack | This API is used to query stack information. |
Specification Change Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Product Information for Instance Specification Modification | hcloud RocketMQ ShowEngineInstanceExtendProductInfo | This API is used to query the product information for instance specification modification. | |
| Modifying Instance Specifications | hcloud RocketMQ ResizeInstance | This API is used to change instance specifications. | |
| Querying the Automatic Disk Storage Expansion Configuration | hcloud RocketMQ ShowVolumeExpandConfig | This API is used to query the automatic disk storage expansion configuration covering whether this feature is enabled, the threshold, increase, and upper limit. | |
| Modifying the Automatic Disk Storage Expansion Configuration | hcloud RocketMQ UpdateVolumeExpansionConfig | This API is used to modify the automatic disk storage expansion configuration covering whether this feature is enabled, the threshold, increase, and upper limit. | |
| Querying Pre-check Information Before Expanding a RocketMQ Instance | hcloud RocketMQ ShowRocketMqScalePreCheckInfo | This API is used to obtain pre-check information before expanding a RocketMQ instance. |
Instance Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying an Instance Broker | hcloud RocketMQ ShowInstanceNodes | This APi is used to query instance broker information. | |
| Modifying SSL of an Instance | hcloud RocketMQ ModifyInstanceSslConfig | This API is used to modify the SSL configuration of an instance. | |
| Restoring Instances from the Recycle Bin | hcloud RocketMQ RestoreRecycleInstance | This API is used to restore instances from the recycle bin. | |
| Querying the Recycle Bin Instance List | hcloud RocketMQ ShowRecycleInstances | This API is used to query the recycle bin instance list. | |
| Updating the Recycle Bin Policy | hcloud RocketMQ ModifyRecyclePolicy | This API is used to update the recycle bin policy. |
Background Task Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying a Background Task List of an Instance | hcloud RocketMQ ListBackgroundTasks | This API is used to query a background task list of an instance. | |
| Querying a Specific Record from Background Tasks | hcloud RocketMQ ShowBackgroundTask | This API is used to query a specific record from background tasks. | |
| Deleting a Specific Record from Background Tasks | hcloud RocketMQ DeleteBackgroundTask | This API is used to delete a specific record from background tasks. | |
| Deleting Specified Records in Scheduled Task Management | hcloud RocketMQ DeleteScheduledTask | This API is used to delete specified records in scheduled task management. | |
| Modifying Specified Records in Scheduled Task Management | hcloud RocketMQ UpdateScheduledTask | This API is used to modify specified records in scheduled task management. | |
| Querying the Scheduled Task List of an Instance | hcloud RocketMQ ListScheduledTasks | This API is used to query the scheduled task list of an instance. | |
| Querying Progress of an Instance Change Record | hcloud RocketMQ ShowBackgroundTaskProgress | Querying Progress of a Specified Instance Change Record in Background Task Management |
Other APIs
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying AZ Information | hcloud RocketMQ ListAvailableZones | This API is used to query the AZ ID for creating an instance. | |
| Querying Flavor List | hcloud RocketMQ ListEngineProducts | This API is used to query the flavor list of an engine. | |
| Querying Instance Monitoring Dimensions | hcloud RocketMQ ShowCesHierarchy | This API is used to query instance monitoring dimensions. | |
| Obtaining the Feature Switch List | hcloud RocketMQ ListConfigFeatures | This API is used to obtain the feature switch list. | |
| Querying vCPUs of a RocketMQ Flavor | hcloud RocketMQ ShowRocketMqProductCores | This API is used to query the number of cores of a RocketMQ flavor. |
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