Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
27 KiB
Object Models
Objects
DeH management includes querying the DeH list, viewing DeH details, modifying DeH attributes, allocating a DeH, and releasing a DeH.
Object Models
Parameter |
Type |
CRUD |
Default Value |
Constraint |
Description |
---|---|---|---|---|---|
dedicated_host_id |
String |
R |
N/A |
N/A |
Specifies the DeH ID. |
name |
String |
CUR |
N/A |
N/A |
Specifies the DeH name. The name can contain a maximum of 255 characters and cannot start or end with spaces. |
auto_placement |
String |
CUR |
on |
The value can be on or off. |
Specifies whether to allow an ECS to be placed on any available DeH if its DeH ID is not specified during its creation. |
availability_zone |
String |
CR |
N/A |
N/A |
Specifies the AZ to which the DeH belongs. |
project_id |
String |
CR |
N/A |
N/A |
Specifies the tenant who owns the DeH. |
host_properties |
Dict For details, see Table 2. |
R |
N/A |
N/A |
Specifies the DeH properties. |
state |
String |
R |
N/A |
The value can be available, fault, or released. |
Specifies the DeH status. |
available_vcpus |
Int |
R |
N/A |
N/A |
Specifies the number of available vCPUs for the DeH. |
available_memory |
Int |
R |
N/A |
N/A |
Specifies the available memory size of the DeH. |
allocated_at |
String |
R |
N/A |
N/A |
Specifies the time when the DeH is allocated. |
released_at |
String |
R |
N/A |
N/A |
Specifies the time when the DeH is released. |
instance_total |
Int |
R |
N/A |
N/A |
Specifies the total number of ECSs on the DeH. |
instance_uuids |
List <String> |
R |
N/A |
N/A |
Specifies the UUIDs of the ECSs running on the DeH. This parameter is not displayed on the interface for querying DeHs. |
tags |
Dict(str:str) |
R |
N/A |
N/A |
Specifies the DeH tags. |
sys_tags |
Dict(str:str) |
R |
N/A |
N/A |
Specifies the DeH system tags. |
Parameter |
Type |
CRUD |
Default Value |
Constraint |
Description |
---|---|---|---|---|---|
host_type |
String |
R |
N/A |
N/A |
Specifies the DeH type. |
host_type_name |
String |
R |
N/A |
N/A |
Specifies the name of the DeH type. |
vcpus |
Int |
R |
N/A |
N/A |
Specifies the number of vCPUs on the DeH. |
cores |
Int |
R |
N/A |
N/A |
Specifies the number of physical cores on the DeH. |
sockets |
Int |
R |
N/A |
N/A |
Specifies the number of physical sockets on the DeH. |
memory |
Int |
R |
N/A |
N/A |
Specifies the size of physical memory on the DeH. |
available_instance_capacities |
List For details, see Table 3. |
R |
N/A |
N/A |
Specifies the flavors of ECSs placed on the DeH. |