• Auto Scaling

as
  1. Help Center
  2. Auto Scaling
  3. Developer Guide
  4. Appendix
  5. Response Parameters for Querying ECSs

Response Parameters for Querying ECSs

Response parameters are as follows.

Parameter description

Parameter

Type

Description

servers

List data structure

Specifies the ECSs to be queried. For details, see Table 1.

Table 1 servers field data structure description

Parameter

Type

Description

name

String

Specifies the ECS name.

id

String

Specifies the unique identifier of the ECS.

links

List data structure

Specifies ECS shortcut links. For details, see Table 2.

links field data structure description

Table 2 links field description

Parameter

Type

Description

rel

String

Specifies the shortcut link marker name.

href

String

Specifies the shortcut link.

Example response

{
    "servers": [
        {
            "id": "616fb98f-46ca-475e-917e-2563e5a8cd19", 
            "links": [
                {
                    "href": "http://openstack.example.com/v2/openstack/servers/616fb98f-46ca-475e-917e-2563e5a8cd19", 
                    "rel": "self"
                }, 
                {
                    "href": "http://openstack.example.com/openstack/servers/616fb98f-46ca-475e-917e-2563e5a8cd19", 
                    "rel": "bookmark"
                }
            ], 
            "name": "new-server-test"
        }
    ]
}