Get Vdc Lock Status
GET /vdc/lockdown
Gets the locked/unlocked status of a VDC
Required Roles
Response Body
Response indicating status of lockdown request locked if all nodes are locked unlocked otherwise
Field |
Description |
Type |
Notes |
vdcstatus |
|
|
|
status |
|
String |
|
Examples
Request
GET https://10.245.133.106:4443/vdc/lockdown HTTP/1.1
Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vdcstatus>
<status>unlocked</status>
</vdcstatus>
Request
GET https://10.245.133.107:4443/vdc/lockdown HTTP/1.1
Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"status":"unlocked"
}
Request
curl -H $token -H "Content-Type: application/xml" -X GET https://$nodeIp:4443/vdc/lockdown
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vdcstatus>
<status>unlocked</status>
</vdcstatus>