Edit storage pool replication scanning settings

Edit replication scanning settings for a storage pool.

Request

Security

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

HTTP method

POST /manager/api/{apiResponseType}/1.0/editStoragePoolReplicationScanning.adm
HTTP/1.1 Host:{manager.dsnet} id={storage-pool-
id}&replicationSyncEnabled={true|false}&replicationObjectSyncRate={objects-per-
second}&replicationByteSyncRate={MB-per-second}

Curl method

curl -u {admin}:{password}
-k
"https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editStoragePoolReplicat
ionScanning.adm"
-d "id={storage-pool-
id}&replicationSyncEnabled={true|false}&replicationObjectSyncRate={objects-per-
second}&replicationByteSyncRate={MB-per-second}"

Parameters

Table 2. Request Parameters for Edit Storage Pool Replication Scanning (editStoragePoolReplicationScanning) API method
Parameter Type Usage Default Description
id Long Required  

Manager-generated ID of a storage pool.

replicationSyncEnabled Boolean Optional  

Flag that should be set to true if replication should be enabled for the Storage Pool.

replicationObjectSyncRate Integer Optional  

Integral number of objects to sync per second.

replicationByteSyncRate Integer Optional  

Integral number of megabytes to sync per second (MB/s).