© 1999-2017 Citrix Systems, Inc. All rights reserved.
p.249
https://docs.citrix.com
"ns":
{
"name":"vpx1",
"ip_address":"192.168.100.2",
"netmask":"255.255.255.0",
"gateway":"192.168.100.1",
"image_name":"nsvpx-9.3-45_nc.xva",
"vm_memory_total":2048,
"throughput":1000,
"pps":1000000,
"license":"Standard",
"profile_name":"ns_nsroot_profile",
"username":"admin",
"password":"admin",
"network_interfaces":
[
{
"port_name":"10/1"
},
{
"port_name":"10/2"
}
]
}
}
Ret rieving Resource Det ails and St at ist ics
Ret rieving Resource Det ails and St at ist ics
NetScaler SDX resource details can be retrieved as follows:
To retrieve details of a specific resource on the NetScaler SDX appliance, specify the id of the resource in the URL.
To retrieve the properties of resources on the basis of some filter, specify the filter conditions in the URL.
The URL has the form:
http://<IP>/nitro/v1/config/<resource_type>?filter=<property1>:<value>,
<property2>:<value>
.
If your request is likely to result in a large number of resources returned from the appliance, you can retrieve these results
in chunks by dividing them into "pages" and retrieving them page by page.
For example, assume that you want to retrieve all NetScaler instances on a NetScaler SDX that has 53 of them. Instead
of retrieving all 53 in one big response, you can configure the results to be divided into pages of 10 NetScaler instances
each (6 pages total), and retrieve them from the server page by page.
You specify the page count with the
pagesize
query string parameter and use the
pageno
query string parameter to
specify the page number that you want to retrieve.
The URL has the form:
http://<IP>/nitro/v1/config/<resource_type>?pageno=<value>&pagesize=<value>
.
You do not have to retrieve all the pages, or retrieve the pages in order. Each request is independent, and you can even
change the pagesize setting between requests.