CLI Command Reference
Lifecycle Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the DeH List | hcloud DeH ListDedicatedHosts | This API is used to query the DeH list. | |
| Assigning DeHs | hcloud DeH CreateDedicatedHost | This API is used to allocate one or more DeHs and set required parameters, such as the flavor, AZ, and quantity. | |
| Querying DeH Details | hcloud DeH ShowDedicatedHost | Querying Details About a DeH. | |
| Updating DeH Attributes | hcloud DeH UpdateDedicatedHost | This API is used to modify the auto_placement and name attributes of a DeH. | |
| Releasing DeH | hcloud DeH DeleteDedicatedHost | Releasing DeH. | |
| Querying ECSs on a DeH | hcloud DeH ListServersDedicatedHost | This API is used to query information about deployed ECSs on a DeH. | |
| Querying Available DeH Types | hcloud DeH ListDedicatedHostTypes | This API is used to query available DeH types in an AZ. |
API Version Query
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the API Version Information List | hcloud DeH ListDehVersions | This API is used to query all API versions available to the DeH service. | |
| Querying a Specified API Version | hcloud DeH ShowDehVersion | This API is used to query a specified API version. |
Tag Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Adding DeH Tags in Batches | hcloud DeH BatchCreateDedicatedHostTags | This API is used to add tags to a specified DeH in batches. Tag Management Service (TMS) uses this API to batch add tags to a DeH. | |
| Deleting DeH Tags in Batches | hcloud DeH BatchDeleteDedicatedHostTags | This API is used to add tags to a specified DeH in batches. Tag Management Service (TMS) uses this API to batch add tags to a DeH. | |
| Querying Tags of a Specified DeH | hcloud DeH ShowDedicatedHostTags | This API is used to query tags of a DeH. Tag Management Service (TMS) uses this API to query all tags of a DeH. | |
| Querying Tags of All DeHs | hcloud DeH ListDedicatedHostTags | This API is used to query all DeH tags of a tenant. | |
| Querying DeH Lists by Tag | hcloud DeH ListDedicatedHostsByTags | This API is used to filter DeHs by tag and return the list of all tags of a DeH. Tag Management Service (TMS) uses this API to filter the DeHs. |
Quota Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the DeH Quota of a Tenant | hcloud DeH ShowQuotaSets | This API is used to query the DeH quota of a tenant. |
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