List Customization Specs
Released in v6.7.1 DescriptionReturns information about at most 1000 visible (subject to permission checks) guest customization specifications in vCenter matching the CustomizationSpecs.FilterSpec.
Request
URLURL
https://{api_host}/rest/vcenter/guest/customization-specs
Query Parameters
Query Parameters
filter
Optional
Specification of matching guest customization specifications for which information should be returned.
If unset, the behavior is equivalent to a CustomizationSpecs.FilterSpec with all fields unset which means all guest customization specifications match the filter.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
GuestCustomizationSpecsListResponseBody
of type application/json
Commonly used information about the guest customization specifications matching the CustomizationSpecs.FilterSpec.
{
"value": [
{
"OS_type": "enum",
"description": "string",
"last_modified": "string",
"name": "string"
}
]
}
array of
GuestCustomizationSpecsSummary
value
Optional
Commonly used information about the guest customization specifications matching the CustomizationSpecs.FilterSpec.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/vcenter/guest/customization-specs
Errors
400
com.vmware.vapi.std.errors.invalid_argument : if the CustomizationSpecs.FilterSpec.os-type field contains a value that is not supported by the server.
401
com.vmware.vapi.std.errors.unauthenticated : if the user can not be authenticated. | com.vmware.vapi.std.errors.unauthorized : if the user doesn't have the required privileges.
503
com.vmware.vapi.std.errors.service_unavailable : if the system is unable to communicate with a service to complete the request.
507
com.vmware.vapi.std.errors.unable_to_allocate_resource : if more than 1000 guest customization specifications match the CustomizationSpecs.FilterSpec.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.