System Administration >
Configuration
>
Fabric
>
Nodes
>
NSX Manager
>
Manager Configuration
NodeMode
Returns current Node Mode.
Request:
Method:
GET
URI Path(s):
/api/v1/cluster/{cluster-node-id}/node/mode
/api/v1/node/mode
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/node/mode
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeMode
+
NodeMode
(
schema
)
Name
Description
Type
Notes
mode_id
Nsx node mode
Possible enum values in a "/config/nsx_appliance_mode" file
string
Required
Enum: ON_PREM, SERVICE, VMC, VMC_LOCAL
Example Response:
{ "mode_id": "VMC" }
Required Permissions:
read
Feature:
system_administration
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable