mps
Configuration for System Status resource.
(click to see Operations)
Properties
(click to see Operations)
Name | Data Type | Permissions | Description |
---|---|---|---|
maps_apikey | <String> | Read-write | Maps API Key. |
is_cloud | <Boolean> | Read-write | True if its a cloud deployment. |
is_member_of_default_group | <Boolean> | Read-write | Is Member Of Default Group. |
deployment_type | <String> | Read-write | Indicates the type of deployment of MAS: standalone or ha or scaleout.. |
is_passive | <Boolean> | Read-write | Indicates the node's state: ACTIVE or PASSIVE in a HA deployment.. |
privilege_feature | <String> | Read-write | privilege_feature. |
upgrade_agent_version | <String> | Read-write | Indicates the next version the agent needs to upgrade to.. |
build_number_short | <String> | Read-only | Build Number without Date. |
current_time | <Integer> | Read-only | Current Time. |
sysid | <String> | Read-only | System Id. |
hostname | <String> | Read-only | Host name on which system is running. |
bios_version | <String> | Read-only | BIOS Version. |
hostid | <String> | Read-only | Host Id. |
product_version | <String> | Read-only | Product Version. |
uptime | <String> | Read-only | Uptime. |
current_user_permission | <String> | Read-only | This property will show the permission type for current user. |
platform | <String> | Read-only | Platform. |
hypervisor_uptime | <String> | Read-only | Hypervisor Uptime. |
product_build_number | <String> | Read-only | Product Build Number. |
serial | <String> | Read-only | Serial Number. |
host | <String> | Read-only | Host IP Address on which system is running, this will set for each client session only. |
username | <String> | Read-only | User Name who is currently connected to the system. |
current_tenant | <String> | Read-only | Current Tenant Name for logged-in user. |
time_zone_offset | <Integer> | Read-only | Time zone offset in minutes (Example:-330). |
build_number | <String> | Read-only | Build Number. |
current_time_formatted | <String> | Read-only | Current Time (Formatted). |
time_zone | <String> | Read-only | Server Time Zone. |
product | <String> | Read-only | Product Name. |
current_tenant_id | <String> | Read-only | Current Tenant Id for logged-in user. |
Operations
(click to see Properties)
Some options that you can use for each operations:
Getting warnings in response:NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:
http://<netscaler-ip-address>/nitro/v1/config/login?warning=yes
If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".
Authenticated access for individual NITRO operations:NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,
To do this, you must specify the username and password in the request header of the NITRO request as follows:
X-NITRO-USER:<username>
X-NITRO-PASS:<password>
Note: In such cases, make sure that the request header DOES not include the following:
Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Note:
Mandatory parameters are marked in red and placeholder content is marked in <green>.
reboot
URL: https://<MGMT-IP>/nitro/v1/config/mps?action=reboot;onerror=<String_value>
HTTP Method: null
Request Payload:
{"mps": { }}
Response Payload:
{ "errorcode": 0, "message": "Done", "severity": ;ltString_value>}
get
URL: https://<MGMT-IP>/nitro/v1/config/mps
HTTP Method: null
Response Payload:
{ "errorcode": 0, "message": "Done", "severity": ;ltString_value>, "mps":[{ "maps_apikey":<String_value>, "build_number_short":<String_value>, "is_cloud":<Boolean_value>, "current_time":<Integer_value>, "sysid":<String_value>, "hostname":<String_value>, "bios_version":<String_value>, "hostid":<String_value>, "is_member_of_default_group":<Boolean_value>, "product_version":<String_value>, "deployment_type":<String_value>, "uptime":<String_value>, "current_user_permission":<String_value>, "platform":<String_value>, "is_passive":<Boolean_value>, "hypervisor_uptime":<String_value>, "product_build_number":<String_value>, "serial":<String_value>, "privilege_feature":<String_value>, "host":<String_value>, "username":<String_value>, "current_tenant":<String_value>, "time_zone_offset":<Integer_value>, "build_number":<String_value>, "current_time_formatted":<String_value>, "time_zone":<String_value>, "upgrade_agent_version":<String_value>, "product":<String_value>, "current_tenant_id":<String_value>}]}