Host System Enter Lockdown Mode
Deprecated as of vSphere API 6.0, use ChangeLockdownMode.
Modifies the permissions on the host, so that it will only be accessible through local console or an authorized centralized management application.
Any user defined permissions found on the host are lost.
Access via a VI client connected to the host is blocked. Access though other services running on the host is also blocked.
If the operation is successful, adminDisabled will be set to true. This API is not supported on the host, If invoked directly on a host, a NotSupported fault will be thrown.
See also AuthorizationManagerfor more information on permissions..
Required privileges: Host.Config.Settings
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
No Content
AdminDisabled: If the host's Administrator permission has been disabled.
DisableAdminNotSupported: If invoked directly on the host or the host doesn't support this operation.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}