Storage Management/Data Storage APIs/Distributed Storage Related Interfaces
PUTDistributed Storage Related InterfacesSince 0.6SynchronousAuth Required
Update Distributed Storage Monitoring Node
Update Distributed Storage Monitoring Node
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
monUuidStringRequiredMonitoring node UUID
Body Fields
hostnameStringNew host IP address of the monitoring node
sshUsernameStringSSH username of the monitoring node host
sshPasswordStringSSH password of the monitoring node host
sshPortIntegerSSH port of the monitoring node host
monPortIntegerNew port of the mon
Responses
Endpoint
PUT/zstack/v1/primary-storage/ceph/mons/{monUuid}/actions
/zstack/v1/primary-storage/ceph/mons/{monUuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/primary-storage/ceph/mons/{monUuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"hostname":"<hostname>","sshUsername":"<sshUsername>","sshPassword":"<sshPassword>","sshPort":1,"monPort":1,"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "mons": [ { "monAddr": "10.0.1.4", "monUuid": "d557e48870b04ef699509d2998084bdb" } ], "name": "My Ceph Primary Storage", "description": "Public Ceph Primary Storage", "totalCapacity": 1.073741824E9, "availableCapacity": 9.68884224E8, "type": "Ceph", "state": "Enabled", "status": "Connected", "createDate": "Jun 7, 2017 9:21:22 PM", "lastOpDate": "Jun 7, 2017 9:21:22 PM", "attachedClusterUuids": [ "3fa1f7c2bbb544e1a04ba9f9da935abe" ] } }Change History
This API has no change history records yet.
