Changed1
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-appliance-config-api

Copy Configuration

Description

Configuration from the given storage replication adapter is copied over to a specified storage replication adapter.

Any currently running operations affecting storage arrays controlled by the storage replication adapter will be interrupted. This includes but is not limited to, Recover, Test, Cleanup, and Reprotect.

This operation overwrites the configuration of the target storage replication adapter and all its customizations will be lost.

Request

Request

URL

URL


post
https://{api_host}//storage-replication-adapters/{repository_tag_id}/actions/copy-configuration
Copy

Path Parameters

Path Parameters

string
repository_tag_id Required

Repository tag ID of the source storage replication adapter.


Request Body

Request Body

StringDrData of mimetype application/json Required

Repository tag ID of the target storage replication adapter.

{
	"value": "string"
}
string
value Optional

The string representation of a data.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

Configuration of storage replication adapter successfully copied.

Errors

Errors

ResponseError
400

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


401

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


ResponseError
403

Forbidden - not sufficient access rights to fulfill the request


ResponseError
500

Internal server error - unexpected condition prevents fulfilling the request

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"value":"string"}' https://{api_host}/storage-replication-adapters/{repository_tag_id}/actions/copy-configuration


[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-appliance-config-api
What's changed in 2.0.0?
INTRODUCED
Storage Replication Adapters Operations
Feedback

Was this page helpful?