Edit storage pool replication
Edit replication settings for a storage pool.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/editStoragePoolReplication.adm HTTP/1.1
Host:{manager.dsnet} id={storage-pool-
id}&replicationEnabled={true|false}&caCertificatePem={pem-string}'
Curl method
curl -u {admin}:{password} -k
'https://{manager.dsnet}/manager/api/json/1.0/editStoragePoolReplication.adm' -d
'id={storage-pool-id}&replicationEnabled={true|false}&caCertificatePem=-----
BEGIN%20CERTIFICATE-----
%0AMIICGTCCAZ%2BgAwIBAgIQCeCTZaz32ci5PhwLBCou8zAKBggqhkjOPQQDAzBOMQsw%0ACQYDVQQGE
wJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJjAkBgNVBAMTHURp%0AZ2lDZXJ0IFRMUyBFQ0MgUDM4
NCBSb290IEc1MB4XDTIxMDExNTAwMDAwMFoXDTQ2%0AMDExNDIzNTk1OVowTjELMAkGA1UEBhMCVVMxFzA
VBgNVBAoTDkRpZ2lDZXJ0LCBJ%0AbmMuMSYwJAYDVQQDEx1EaWdpQ2VydCBUTFMgRUNDIFAzODQgUm9vdC
BHNTB2MBAG%0AByqGSM49AgEGBSuBBAAiA2IABMFEoc8Rl1Ca3iOCNQfN0MsYndLxf3c1TzvdlHJS%0A7c
I7%2BOz6e2tYIOyZrsn8aLN1udsJ7MgT9U7GCh1mMEy7H0cKPGEQQil8pQgO4CLp%0A0zVozptjn4S1mU1
YoI71VOeVyaNCMEAwHQYDVR0OBBYEFMFRRVBZqz7nLFr6ICIS%0AB4CIfBFqMA4GA1UdDwEB%2FwQEAwIB
hjAPBgNVHRMBAf8EBTADAQH%2FMAoGCCqGSM49%0ABAMDA2gAMGUCMQCJao1H5%2Bz8blUD2WdsJk6Dxv3
J%2BysTvLd6jLRl0mlpYxNjOyZQ%0ALgGheQaRnUi%2Fwr4CMEfDFXuxoJGZSZOoPHzoRgaLLPIxAJSdYs
iJvRmEFOml%2BwG4%0ADXZDjC5Ty3zfDBeWUA%3D%3D%0A-----END%20CERTIFICATE-----
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
Manager-generated ID of a storage pool. |
|
| replicationEnabled | String | Required |
Enables or disables replication. |
|
| caCertificatePem | String | Optional |
Root CA certificates (in PEM format) that must be trusted to make connections to Access Pool(s) where this vault is deployed. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.