Edit storage pool vault replication

Edit vault replication for a storage pool.

Request

Security

Table 1. Roles capable of executing the Edit Storage Pool Vault Replication API method
Any Super User System Admin Security Admin Operator
  superUser systemAdmin    

HTTP method

POST /manager/api/{apiResponseType}/1.0/editStoragePoolVaultReplication.adm
HTTP/1.1 Host:{manager.dsnet}
id={storage-pool-id}&replicationEnabled={true|false}&vaultIds=[vault-id-
1]&vaultIds=[vault-id-2]

Where each vaultIds parameter corresponds to a vault where the user wishes to enable/disable replication (may specify more than one).

Curl method

curl -u {admin}:{password}
-k
"https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editStoragePoolVaultRep
lication.adm"
-d "id={storage-pool-id}&replicationEnabled={true|false}&vaultIds=[vault-id-1]"

Parameters

Table 2. Request Parameters for Edit Storage Pool Vault Object Expiration (editStoragePoolVaultReplication) API method
Parameter Type Usage Default Description
id Long Required  

Manager-generated ID of a storage pool.

replicationEnabled Boolean Required  

Whether replication will be enabled or disabled for the specified vaults.

vaultIds Boolean Required  

IDs of vaults where the replication will be enabled/disabled.