POST Appliance Vm Support Bundles

POST Appliance Vm Support Bundles

Creates a new support bundle and returns it in a compressed format. Calling this API without specifying a manifests value retrieves the entire support bundle. Or, you can provide an array of manifest IDs you are interested in. manifests is a list of string manifest IDs. You can get the list of supported manifests with the GET /api/v2/vm-support-bundles/manifests API.

Request
URI
POST
https://{api_host}/api/v2/appliance/vm-support-bundles
COPY
Request Body
{
    "target": "SINGLE",
    "manifests": [
        "Core:Logs",
        "Linux:Coredumps"
    ]
}
string
target
Optional
Constraints: default: SINGLE

target

Possible values are : ALL, SINGLE,
array of manifests
manifests
Optional

manifests

Authentication
This operation uses the following authentication methods.
Responses
200

Successfully created a support bundle and sent the support bundle as an attachment. The response body contains the support bundle as binary data, which can be saved as a compressed file in .tgz format.

Operation doesn't return any data structure

401

The request was refused because it lacks valid authentication credentials. This can happen if the Authorization header was missing, or if it contained an invalid session ID.

Obtain a new session ID and retry the request, or make an unauthenticated request without the Authorization header.

"Invalid session ID"

440
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/v2/appliance/vm-support-bundles