VirtualDatacenterVirtualApplianceSpecsResource


List virtual appliance specs for a virtual datacenter


Retrieve virtual appliance specs by the location of the virtual datacenter.
If a spec has versions, return the version selected as the default, or if there is no default, the latest version.

GET https://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/vappspecs

Roles : [ROLE_CONSUME_VAPP_SPEC, ROLE_MANAGE_VAPP_SPEC]

Parameter Type Default Value Description
startwith Integer 0 The first element to be retrieved of the filtered search
limit Integer 25 The number of entities to retrieve
by String name Order by
has String If present filter to apply in the search.
asc Boolean true If the value of the 'by' parameter must be sorted in ascending order (true) or descending order (false)

Example

Get a virtual appliance spec for a virtual datacenter


GET https://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/vappspecs/{spec}

Roles : [ROLE_CONSUME_VAPP_SPEC, ROLE_MANAGE_VAPP_SPEC]

Example

Validate a virtual appliance spec for a virtual datacenter


Validate if a virtual appliance can be created in the specified virtual datacenter using the specified virtual appliance spec and return the available options. If the virtual appliance cannot be created, return a list of errors.

GET https://example.com/api/cloud/virtualdatacenters/{virtualdatacenter}/vappspecs/{spec}/action/validate

Roles : [ROLE_CONSUME_VAPP_SPEC, ROLE_MANAGE_VAPP_SPEC]

Error Codes

  • SPEC-19 - Access to spec is not allowed for this location

Example