All URIs are relative to http://localhost/service/rest
| Method | HTTP request | Description |
|---|---|---|
| disable_iq | POST /beta/iq/disable | Disable IQ Server |
| enable_iq | POST /beta/iq/enable | Enable IQ Server |
| get_configuration | GET /beta/iq | Get IQ Server configuration |
| update_configuration | PUT /beta/iq | Update IQ Server configuration |
| verify_connection | POST /beta/iq/verify-connection | Verify IQ Server connection |
disable_iq()
Disable IQ Server
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.ManageIQServerConfigurationApi(api_client)
try:
# Disable IQ Server
api_instance.disable_iq()
except ApiException as e:
print("Exception when calling ManageIQServerConfigurationApi->disable_iq: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | IQ Server has been disabled | - |
| 400 | IQ Server connection not configured | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
enable_iq()
Enable IQ Server
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.ManageIQServerConfigurationApi(api_client)
try:
# Enable IQ Server
api_instance.enable_iq()
except ApiException as e:
print("Exception when calling ManageIQServerConfigurationApi->enable_iq: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | IQ Server has been enabled | - |
| 400 | IQ Server connection not configured | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_configuration()
Get IQ Server configuration
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.ManageIQServerConfigurationApi(api_client)
try:
# Get IQ Server configuration
api_instance.get_configuration()
except ApiException as e:
print("Exception when calling ManageIQServerConfigurationApi->get_configuration: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | IQ Server configuration returned | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_configuration(body=body)
Update IQ Server configuration
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.ManageIQServerConfigurationApi(api_client)
body = nexus_api_python_client.IqConnectionXo() # IqConnectionXo | (optional)
try:
# Update IQ Server configuration
api_instance.update_configuration(body=body)
except ApiException as e:
print("Exception when calling ManageIQServerConfigurationApi->update_configuration: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | IqConnectionXo | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 204 | IQ Server configuration has been updated | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
verify_connection()
Verify IQ Server connection
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.ManageIQServerConfigurationApi(api_client)
try:
# Verify IQ Server connection
api_instance.verify_connection()
except ApiException as e:
print("Exception when calling ManageIQServerConfigurationApi->verify_connection: %s\n" % e)This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | Connection verification complete, check response body for result | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]