Help Center> Elastic Cloud Server> API Reference (Kuala Lumpur Region)> Data Structure> Data Structure for Querying Details About ECSs
Updated on 2024-04-18 GMT+08:00

Data Structure for Querying Details About ECSs

Table 1 address parameters

Parameter

Type

Description

version

String

Specifies the IP address version.

  • 4: indicates IPv4.
  • 6: indicates IPv6.

addr

String

Specifies the IP address.

OS-EXT-IPS:type

String

Specifies the IP address type.

  • fixed: indicates the private IP address.
  • floating: indicates the floating IP address.

OS-EXT-IPS-MAC:mac_addr

String

Specifies the MAC address.

OS-EXT-IPS:port_id

String

Specifies the port ID corresponding to the IP address.

Table 2 flavor parameters

Parameter

Type

Description

id

String

Specifies the ECS flavor ID.

name

String

Specifies the ECS flavor name.

disk

String

Specifies the system disk size in the ECS flavor. Value 0 indicates that the disk size is not limited.

The field is invalid in this system.

vcpus

String

Specifies the number of vCPUs in the ECS flavor.

ram

String

Specifies the memory size (MB) in the ECS flavor.

Table 3 security_groups parameters

Parameter

Type

Description

name

String

Specifies the security group name or UUID.

id

String

Specifies the security group ID.

The following table lists parameters involved in the fault information attribute.

Table 4 fault parameters

Parameter

Type

Description

message

String

Specifies the fault information.

code

Integer

Specifies the error code.

details

String

Specifies the fault details.

created

String

Specifies the time when the fault occurred. The time is in ISO 8601 time format.

Table 5 os-extended-volumes:volumes_attached parameters

Parameter

Type

Description

id

String

Specifies the disk ID in UUID format.

delete_on_termination

String

Specifies whether the disk is deleted with the ECS.

  • true: indicates that the disk is deleted with the ECS.
  • false: indicates that the disk is not deleted with the ECS.

This parameter is supported in microversion 2.3 and later.

bootIndex

String

Specifies the EVS disk boot sequence.

  • 0 indicates the system disk.
  • Non-0 indicates a data disk.

device

String

Specifies the drive letter of the EVS disk, which is the device name of the EVS disk.

Table 6 metadata parameters

Parameter

Type

Description

charging_mode

String

Specifies the ECS billing mode.

vpc_id

String

Specifies the ID of the VPC where the ECS is located.

EcmResStatus

String

Specifies the ECS frozen status.

  • normal: The ECS is not frozen.
  • freeze: The ECS has been frozen.
NOTE:

The system automatically adds this field, which is mandatory, after an ECS is frozen or unfrozen.

metering.image_id

String

Specifies the image ID of the ECS.

metering.imagetype

String

Specifies the image type. The following types are supported:

  • Public image: The value is gold.
  • Private image: The value is private.
  • Shared image: The value is shared.

metering.resourcespeccode

String

Specifies the resource specifications of the ECS.

metering.resourcetype

String

Specifies the resource type of the ECS.

Value 1 indicates ECSs.

cascaded.instance_extrainfo

String

Specifies the extended information about the internal ECSs.

image_name

String

Specifies the image name of the ECS.

agency_name

String

Specifies the IAM agency name.

An agency is created by a tenant administrator on IAM to provide temporary credentials for ECSs to access cloud services.

os_bit

String

Specifies the number of bits in the operating system: 32 or 64.

os_type

String

Specifies the OS type. The value can be Linux or Windows.

lockCheckEndpoint

String

Specifies the callback URL for checking whether ECS locking is enabled.

  • If ECS locking is enabled, the ECS is locked.
  • If ECS locking is disabled, the ECS is unlocked, and invalid locks are deleted.

lockSource

String

Specifies the lock source.

  • Order lock (ORDER)

lockSourceId

String

Specifies the ECS lock source ID.

If lockSource is set to ORDER, lockSourceId is the order ID.

lockScene

String

Specifies the ECS lock type.

virtual_env_type

String

  • If an ECS is created using an iOS image, the value of this parameter is IsoImage.
  • If an ECS is created using a non-iOS image, the value of this parameter is FusionCompute in versions earlier than 19.5.0, and this parameter will be unavailable in versions later than 19.5.0.
NOTE:
  • The virtual_env_type cannot be added, deleted, or modified.
Table 7 sys_tags parameters

Parameter

Type

Description

key

String

Specifies the system tag key.

value

String

Specifies the system tag value.

Table 8 image parameters

Parameter

Type

Description

id

String

Specifies the image ID.