5 title: "virtual_machines"
8 Copyright (C) The Arvados Authors. All rights reserved.
10 SPDX-License-Identifier: CC-BY-SA-3.0
13 API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/virtual_machines@
17 Example UUID: @zzzzz-2x53u-0123456789abcde@
21 The virtual_machines resource lists compute resources in the Arvados cluster to which a user may log in to get an interactive shell (via ssh or webshell).
23 Each VirtualMachine has, in addition to the "Common resource fields":{{site.baseurl}}/api/resources.html:
25 table(table table-bordered table-condensed).
26 |_. Attribute|_. Type|_. Description|_. Example|
31 See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@.
33 Required arguments are displayed in %{background:#ccffcc}green%.
37 Create a new VirtualMachine.
41 table(table table-bordered table-condensed).
42 |_. Argument |_. Type |_. Description |_. Location |_. Example |
43 |virtual_machine|object||query||
47 Delete an existing VirtualMachine.
51 table(table table-bordered table-condensed).
52 |_. Argument |_. Type |_. Description |_. Location |_. Example |
53 {background:#ccffcc}.|uuid|string|The UUID of the VirtualMachine in question.|path||
57 Gets a VirtualMachine's metadata by UUID.
61 table(table table-bordered table-condensed).
62 |_. Argument |_. Type |_. Description |_. Location |_. Example |
63 {background:#ccffcc}.|uuid|string|The UUID of the VirtualMachine in question.|path||
67 Get a list of SSH keys and account names that should be able to log in to a given virtual machine.
71 table(table table-bordered table-condensed).
72 |_. Argument |_. Type |_. Description |_. Location |_. Example |
73 {background:#ccffcc}.|uuid|string||path||
75 The response is an object with the field @items@ containing an array of objects in the following format:
77 table(table table-bordered table-condensed).
78 |_. Key|_. Value type|_. Description|_. Example|
79 |username|string|Name of the Unix login account to which the user should be able to log in|@"jsmith"@|
80 |hostname|string|Hostname of the virtual machine|@"shell.xyzzy.arvadosapi.com"@|
81 |public_key|string|SSH public key|@"ssh-rsa AAAAB3NzaC1yc2E..."@|
82 |user_uuid|string|UUID of the user who should be able to log in|@"xyzzy-tpzed-mv4d7dy7n91te11"@|
83 |virtual_machine_uuid|string|UUID of the "virtual machine resource":{{site.baseurl}}/api/methods/virtual_machines.html|@"zzzzz-2x53u-kvszmclnbjuv8xc"@|
84 |authorized_key_uuid|string|UUID of the "authorized key resource":{{site.baseurl}}/api/methods/authorized_keys.html|@"zzzzz-fngyi-v9p0cyfmjxbio64"@|
88 Get a list of SSH keys and account names that should be able to log in for every virtual machine in the system.
92 The response has the same format as the response to the "logins method":#logins above.
96 List virtual_machines.
98 See "common resource list method.":{{site.baseurl}}/api/methods.html#index
102 Update attributes of an existing VirtualMachine.
106 table(table table-bordered table-condensed).
107 |_. Argument |_. Type |_. Description |_. Location |_. Example |
108 {background:#ccffcc}.|uuid|string|The UUID of the VirtualMachine in question.|path||
109 |virtual_machine|object||query||