Get Seeds For Disks

Get Seeds For Disks

Retrieve information about possible seeds for a given set of disks.

Request
URI
POST
https://{api_host}/pairings/{pairing_id}/vcenters/{vcenter_id}/datastores/{datastore_id}/actions/find-seeds
COPY
Path Parameters
string
pairing_id
Required

The ID of the pairing between this vSphere Replication server and the remote one.

string
vcenter_id
Required

The ID of the vCenter server

string
datastore_id
Required

The ID of a datastore


Request Body

List of specs to search for VM disks' seeds.

[
    {
        "vm_disk": {
            "vm_id": "VirtualMachine:vm-80:e594ad24-5f75-41e3-a276-88a2116dbed0",
            "device_key": 0
        },
        "destination_path": "string",
        "use_wildcard": false
    }
]
Optional
Authentication
This operation uses the following authentication methods.
Responses
200

Information about the possible seeds.

Returns VmDiskSeedInformationDrResponseList of type(s) application/json
"VmDiskSeedInformationDrResponseList Object"
array of object
list
Optional

A information about seeds found for a disk.

object
_meta
Optional

List metadata


400

Bad request - the server cannot understand the request due to invalid syntax or invalid request body content

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


401

Unauthorized - the client must authenticate itself to get the requested response

Operation doesn't return any data structure

403

Forbidden - not sufficient access rights to fulfill the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


404

Not Found - server cannot find the requested in URL resource

Operation doesn't return any data structure

500

Internal server error - unexpected condition prevents fulfilling the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/pairings/{pairing_id}/vcenters/{vcenter_id}/datastores/{datastore_id}/actions/find-seeds