Replication Get Placement

Replication Get Placement

This request returns the placement settings for the replication.

Request
URI
GET
https://{api_host}/replications/{replicationId}/placement
COPY
Path Parameters
string
replicationId
Required

VM replication identifier

replicationId example
H4-ec991bd5-af9d-446a-8599-5b693842c4a3
Query Parameters
string
site
Optional

Optional site to run the operation on. When omitted, defaults to the local site.

site example
site1
Header Parameters
string
operationID
Optional

Operation ID for correlating logs across multiple services


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ReplicationPlacement of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
    "datastoreId": "datastore-1",
    "datastoreFolder": "folder",
    "vcId": "72707e54-b9cd-4ced-8359-499d7f89381a",
    "disks": [
        {
            "diskKey": 2000,
            "datastoreId": "datastore-1",
            "diskPath": "disk/path",
            "isSeed": false,
            "storageProfileId": "841fe316-a2cb-4203-8f30-4ce5ab186de7",
            "contentId": "040dcc1e-6532-455a-9f27-02840eed4c0a"
        }
    ],
    "validateSeedUuids": true,
    "storageProfileId": "841fe316-a2cb-4203-8f30-4ce5ab186de7"
}
string
datastoreFolder
Optional

The folder on the datastore where placing the replica files.

string
datastoreId
Optional

The managed object ID of the datastore where placing the replica files.

disks
Optional

The placement information for the disks.

string
storageProfileId
Optional

The managed object ID of the storage profile.

boolean
validateSeedUuids
Optional

Whether to validate the UUIDs of the seed disks.

string
vcId
Optional

The UUID of the vCenter Server instance where placing the replication.


401

The returned error codes include (but are not limited to): NotAuthenticated

Returns ApiError of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
    "args": [],
    "code": "Forbidden",
    "msg": "Permission denied.",
    "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional

Positional arguments.

string
code
Optional

Specific error code.

string
msg
Optional

Detailed error message.

string
stacktrace
Optional

Exception stacktrace.


500

The returned error codes include (but are not limited to): GeneralServerFailure

Returns ApiError of type(s) application/vnd.vmware.h4-v4.7+json;charset=UTF-8
{
    "args": [],
    "code": "Forbidden",
    "msg": "Permission denied.",
    "stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
array of string
args
Optional

Positional arguments.

string
code
Optional

Specific error code.

string
msg
Optional

Detailed error message.

string
stacktrace
Optional

Exception stacktrace.