NSX-T Data Center REST API
ServiceVMStateParameters (type)
{
"id": "ServiceVMStateParameters",
"module_id": "ServiceInsertionVMDeployment",
"properties": {
"action": {
"description": "You could use this parameter to set a servcie VM in maintenance mode or exit from maintenance mode, or set a service VM health state to indicate whether the service VM is running properly or not. 'enable_maintenance_mode' will set service VM in maintenance mode. 'disable_maintenance_mode' will exit from maintenance mode. 'is_healthy' will set runtime health state by partner of a service VM to be healthy. 'is_stopped' will set runtime health state by partner of a service VM to be stopped. 'is_not_responding' will set runtime health state by partner of a service VM to be not responding.",
"enum": [
"enable_maintenance_mode",
"disable_maintenance_mode",
"is_healthy",
"is_stopped",
"is_not_responding"
],
"type": "string"
},
"unhealthy_reason": {
"description": "Reason for the unhealthy state.",
"maxLength": 500,
"required": false,
"title": "Reason for the unhealthy state",
"type": "string"
}
},
"title": "Service VM maintenance mode setting parameters",
"type": "object"
}