© 1999-2017 Citrix Systems, Inc. All rights reserved.
p.250
https://docs.citrix.com
Note: If you want to have an idea of the number of resources that are likely to be returned by a request, you can use
the count query string parameter to ask for a count of the resources to be returned, rather than the resources
themselves. To get the number of NetScaler instances available, the URL would be
http://<IP>/nitro/v1/config/<resource_type>?count=yes.
To retrieve the configuration information for the NetScaler instance with ID 123456a:
URL.
URL. http://10.102.31.16/nitro/v1/config/ns/123456a
HT T P Met hod.
HT T P Met hod. GET
Cookie.
Cookie. SESSID=##78C060...
Response Payload.
Response Payload.
{
"errorcode":0,
"message":"Done",
"ns":
[
{
"name":"vpx1",
"id":"123456a",
"ip_address":"192.168.100.2",
"gateway":"192.168.100.1",
"netmask":"255.255.255.255",
"vm_state":"DOWN",
"vm_memory_total":2048,
...
}
]
}
Updat ing a Resource
Updat ing a Resource
To update an existing NetScaler SDX resource, use the PUT HTTP method. In the HTTP request payload, specify the name
and the other arguments that have to be changed. For example, to change the name of NetScaler instance with ID
123456a to vpx2:
URL.
URL. https://10.102.31.16/nitro/v1/config/ns
HT T P
HT T P Met hod.
Met hod. PUT
Cookie.
Cookie. SESSID=##78C060...
Request Payload.
Request Payload.
{
"ns":
{
"name":"vpx2",
"id":"123456a"
}
}
Delet ing a Resource
Delet ing a Resource
Содержание NetScaler SDX 11500
Страница 90: ...1999 2017 Citrix Systems Inc All rights reserved p 90 https docs citrix com 5 Click OK...
Страница 218: ...1999 2017 Citrix Systems Inc All rights reserved p 218 https docs citrix com...
Страница 235: ...1999 2017 Citrix Systems Inc All rights reserved p 235 https docs citrix com...
Страница 253: ...1999 2017 Citrix Systems Inc All rights reserved p 253 https docs citrix com errorcode 1 message IP address is missing...