Resync vCenter VS
To resync a vCenter virtual server into Virtuozzo OnApp, use the following request:
| |
XML Request Example
| |
JSON Request Example
| |
XML Output Example
| |
Where:
id - id of the virtual server
hypervisor_id - id of the compute resource
template_id - id of the template
identifier - the VS identifier in the DB
hostname - the VS’s host name
memory - the amount of RAM allocated to this VS
cpus - the number of CPU cores assigned to the VS
cpu_shares - the CPU priority value
created_at - the date when the VS was created in the [YYYY][MM][DD]T[hh][mm][ss]Z format
updated_at - the date when the VS was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format
built - true if the virtual server is built; otherwise, false
locked - true if the virtual server is locked; otherwise, false
booted - true if the virtual server is booted; otherwise, false
xen_id - this parameter is not applicable to vCenter VS
remote_access_password - the password for remote access
local_remote_access_port - the port ID used for used for console access
label - label of the VS
recovery_mode - true if recovery mode is allowed; otherwise, false
user_id - the ID of a new owner in OnApp
operating_system - the OS on which the virtual server is based
operating_system_distro - the distribution of the OS
allowed_swap - true if swap is allowed; otherwise, false
template_label - label of the template
allowed_hot_migrate - true if hot migration for the VS is allowed; otherwise, false
note - optional text, added as a note
admin_note - optional text note
suspended - true if the VS is suspended; otherwise, false
enable_autoscale - true if autoscale is enabled for the VS; otherwise, false
add_to_marketplace - this parameter is not applicable to vCenter VS
initial_root_password_encrypted - true if root password for the VS is encrypted on the vCenter side; otherwise, false
edge_server_type - this parameter is not applicable to vCenter VS
storage_server_type - this parameter is not applicable to vCenter VS
firewall_notrack - true if the NOTRACK rule is set in iptables
service_password - service account password
preferred_hvs - the array of preferable compute resources based on compute zone that meet some virtual server configuration settings
local_remote_access_ip_address - IP address used for remote access
cpu_units - the number of CPU units per core if the CPU priority is replaced with CPU units in the user bucket
cpu_sockets - the number of CPU sockets per core. This parameter does not apply to vCenter VSs.
cores_per_socket - the number of CPU cores per socket
instance_package_id - id of the instance package
hot_add_cpu - true if the CPU parameter can be changed without rebooting the VS; otherwise, false
hot_add_memory - true if the memory parameter can be changed without rebooting the VS; otherwise, false
time_zone - the time zone of the user
autoscale_service - this parameter is not applicable to vCenter VS
vapp_id - this parameter is not applicable to vCenter VS
vcenter_moref - moref of the virtual server on vCenter
template_version - the version of the template
deleted_at - time when the VS was deleted in the [YYYY][MM][DD]T[hh][mm][ss]Z format
acceleration_allowed - true if acceleration is allowed for the VS; otherwise, false
vcenter_cluster_id - ID of the vCenter cluster
virsh_console - true if Virsh console is enabled for the VS, otherwise, false
ip_addresses - an array of IP addresses assigned to this virtual server
monthly_bandwidth_used - VS’s monthly bandwidth
total_disk_size - the total disk size in GB of all disks assigned to the VS
support_incremental_backups - true if incremental backups are supported; otherwise, false
cpu_priority - it has the same value as cpu_shares parameter
built_from_iso - true if the VS was built from an ISO template; otherwise, false
built_from_ova - true if the VS was built from an OVA template; otherwise, false
acceleration - true if acceleration is allowed for the VS; otherwise, false
hypervisor_type - the type of the compute resource (vCenter)