List virtual servers
Description
Lists virtual servers.
Request
Header
Accept: application/xml
X-Auth-Token: Keystone token (*1)
X-VA-Project-Id: ID of the project that owns the resource (*2)
X-VA-Domain-Id: ID of the domain that owns the resource (*2)
*1: The scope specified for the token is ignored when this API is executed by the system administrator.
*2: Mandatory when this API is executed by the system administrator. ignored when executed by other users.
Method
GET
Path
/l_servers
Query
Argument name | Description |
---|---|
state | Specify "registered" to retrieve information about virtual servers that have already been created. If omitted, information about servers still being created will also be retrieved. |
Body
n/a
Response
Body
<LServers>
<LServer name="virtualServerName1" id="virtualServerId1">
<AvailabilityZone>availabilityZone</AvailabilityZone>
<Dedicated>dedicatedVirtualServer</Dedicated>
</LServer>
<LServer name="virtualServerName2" id="virtualServerId2">
<AvailabilityZone>availabilityZone</AvailabilityZone>
<Dedicated>deployedToDedicatedVirtualServer</Dedicated>
</LServer>
</LServers>
Item | Description | Details |
---|---|---|
virtualServerId | ID allocated to the virtual server | ID |
availabilityZone | Name of the availability zone where the virtual server exists | Availability zone name |
deployedToDedicatedVirtualServer | Indicates whether a virtual server is a dedicated virtual server |
|