Get List of Smart Servers
To get a list of smart servers, use the following request:
| |
XML Request Example
| |
JSON Request Example
| |
XML Output Example
| |
Where:
- add_to_marketplace — empty for smart servers; used for edge servers only.
- admin_note — an optional note of the administrator.
- allow_resize_without_reboot — true if resize without reboot is possible; otherwise, false.
- allowed_hot_migrate — true if the template, on which the smart server is based, supports hot migration; otherwise, false.
- allowed_swap — true if swap disk is allowed (depends on the template the smart server is based on); otherwise, false.
- booted — true if the smart server is running; otherwise, false.
- built — true if the smart server is built; otherwise, false.
- cpu_shares — CPU priority in percents.
- cpus — the number of allocated CPU cores.
- created_at — the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format.
- customer_network_id — ID of a customer network.
- deleted_at — time when the smart server was deleted.
- edge_server_type — true if this is the edge server.
- enable_autoscale — true if autoscaling is allowed for this smart server.
- enable_monitis — deprecated attribute to be removed in upcoming release.
- firewall_notrack — true if the NOTRACK rule is set in iptables.
- hostname — the name of your host.
- hypervisor_id — the ID of the compute resource used by this smart server.
- id — the smart server ID.
- identifier — the smart server identifier.
- initial_root_password — the smart server root password.
- initial_root_password_encrypted — true if the root password is encrypted; otherwise, false.
- label — the smart server label.
- local_remote_access_ip_address — IP address used for remote access.
- local_remote_access_port — the port ID used for console access.
- locked — true if the smart server is locked; otherwise, false.
- memory — the RAM size allocated to this smart server.
- min_disk_size — the minimum disk size required to build a smart server from a specified template.
- note — an optional reminder for this smart server made by a user account.
- operating_system — operating system used by the smart server.
- operating_system_distro — the distribution of the OS from which this smart server is built.
- preferred_hvs — the array of preferable compute resources based on compute zone that meet some smart server configuration settings.
- recovery_mode — true if recovery mode allowed. Otherwise, false.
- remote_access_password — the password for the remote access.
- service_password — service account password.
- state — parameter reserved for future use.
- storage_server_type — true if this is a storage server.
- strict_virtual_machine_id — the ID of a virtual server that will never reside on the same compute resource with this smart server.
- suspended — true if the smart server is suspended; otherwise, false.
- template_id — the ID of the template the smart server is based on.
- template_label — the name of the template from which this smart server is built.
- time_zone — the time zone set for the smart server. This parameter is applicable only to Windows smart servers.Currently, the time zone is set at the Compute resource side only. Therefore, users need to set the target time zone inside a Windows smart server manually. Setting correct time zone at the Compute resource side helps to keep correct time inside a smart server after starting it if time synchronization is not completed for some reason.
- updated_at — the date when the smart server was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format.
- user_id — the ID of a user assigned to this smart server.
- vip — true if the smart server has VIP status (gives migration priority).
- xen_id — the smart server ID set by the virtualization engine.
- ip_addresses — an array of ip addresses with their details assigned to this smart server.
- address — IP address.
- broadcast — broadcast address.
- created_at — the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format.
- customer_network_id — the ID of the customer VLAN the IP address belongs to.
- disallowed_primary — true if not allowed to be used as primary; otherwise, false.
- gateway — gateway address.
- hypervisor_id — the ID of a compute resource the IP address is associated with.
- id — the ID of the IP address.
- ip_address_pool_id — ID of the IP address pool the IP address is associated with.
- network_address — the address of the network.
- network_id — the ID of the network.
- pxe — true if this address can be used for cloudbooting a compute resource.
- updated_at — the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format.
- user_id — the ID of the user this IP address is assigned to.
- free — true if free; otherwise, false.
- netmask — netmask for the IP address.
- monthly_bandwidth_used — smart server monthly bandwidth in KB.
- total_disk_size — the total disk size in GB of all disks assigned to smart server.
- price_per_hour — server’s price per hour.
- price_per_hour_powered_off — price per hour when server is powered off.
- support_incremental_backups — 1 if smart server supports incremental backups, and 0 if it does not.
- cpu_priority — this is a new parameter reserved for future use; currently it has the same value as cpu_shares parameter.