SetClusterStructure

You can use the SetClusterStructure method to restore the storage cluster configuration information from a backup. When you call the method, you pass the clusterStructure object containing the configuration information you want to restore as the params parameter.

Parameter

This method has the following input parameter:

Name Description Type
params A JSON object containing the current storage cluster configuration information. clusterStructure

Return values

This method has the following return values:

Name Description Type
result Asynchronous result handle. asyncHandle

Request example

Requests for this method are similar to the following example:

{
  "method": "SetClusterStructure",
  "params": <insert clusterStructure object here>,
  "id" : 1
}

Response example

This method returns a response similar to the following example:

{
	"id": 1,
	"result" : {
	"asyncHandle": 1
	}
}