List Base V Ms V2
At least one of the listed privileges is required -
Privileges | Description |
---|---|
GLOBAL_CONFIG_VIEW | Caller should have permission to this privilege, to perform this operation. |
VC_CONFIG_VIEW | Caller should have permission to this privilege, to perform this operation. |
Request
URI
GET
https://{api_host}/rest/external/v2/base-vms
COPY
Query Parameters
string
vcenter_id
Required
Virtual Center ID
string
datacenter_id
Optional
Datacenter ID
boolean
filter_incompatible_vms
Optional
Whether to filter out incompatible VMs
integer
page
Optional
page, if passed should be > 0.
page example
1
integer
size
Optional
size, if passed should be > 0.
size example
10
string
filter
Optional
filter expression built using fields with 'supported filters' as described in output model schema of this API.
filter example
[object Object]
string
sort_by
Optional
Field that would be used to sort the results.
sort_by example
<property-name>
string
order_by
Optional
Determines the ordering of results.
order_by example
ASC
Possible values are : ASC, DESC,
Responses
200
OK
[
{
"datacenter_id": "datacenter-1",
"id": "vm-416",
"incompatible_reasons": [
"string"
],
"name": "Win10",
"network_type": "STANDARD_NETWORK",
"num_nics": 2,
"operating_system": "WINDOWS_10",
"operating_system_display_name": "Microsoft Windows 10 (64-bit)",
"path": "/Datacenter/vm/VMs/Win10",
"vcenter_id": "d0325b13-2bf1-4fa4-b027-e780004f2d1e"
}
]
401
User is not authenticated
Operation doesn't return any data structure
403
Access to the resource is forbidden
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure
External Operations
POST
Add Auxiliary Accounts
GET
Audit Events Extended Attributes
POST
Bind
POST
Bulk Hold User Or Group
POST
Bulk Hold User Or Group V2
POST
Bulk Release Hold User Or Group
POST
Bulk Release Hold User Or Group V2
POST
Change User Password
POST
Compute Space Requirements
POST
Compute Space Requirements V2
POST
Compute Vsan Cost
POST
Delete Auxiliary Accounts
GET
Get AD Container
GET
Get AD User Or Group Info
GET
Get AD User Or Group Info V2
GET
Get Agent Upgrade History
GET
Get Base V Ms V2
GET
Get Default AD Container
GET
List AD Containers
GET
List AD Domains
GET
List AD Domains V2
GET
List AD Domains V3
GET
List AD User Or Group Summary
GET
List Audit Events
GET
List Audit Events V2
GET
List Base Snapshots
GET
List Base Snapshots V2
GET
List Base V Ms
GET
List Base V Ms V2
GET
List Base V Ms V3
GET
List Customization Specs
GET
List Datacenters
GET
List Datastore Clusters
GET
List Datastore Paths
GET
Listdatastores
GET
List Domains
GET
List Held Users Or Groups
GET
List Hosts Or Clusters
GET
List Network Interface Cards
GET
List Network Interface Cards V2
GET
List Network Labels
GET
List Resource Pools
GET
List Virtual Disks
GET
List Virtual Machines
GET
List VM Folders
GET
List VM Templates
GET
List VM Templates V2
POST
Unbind
POST
Update
POST
Update Auxiliary Accounts
POST
Validate AD User Encrypted Credentials