Skip to content

Latest commit

 

History

History
629 lines (418 loc) · 18.9 KB

RealTimeMonitoringTrustsecApi.md

File metadata and controls

629 lines (418 loc) · 18.9 KB

openapi_client.RealTimeMonitoringTrustsecApi

All URIs are relative to /dataservice

Method HTTP request Description
get_cts_pac GET /device/ctsPac
get_environment_data GET /device/environmentData
get_radius_server GET /device/environmentData/radiusServer
get_role_based_counters GET /device/roleBasedCounters
get_role_based_ipv6_counters GET /device/roleBasedIpv6Counters
get_role_based_ipv6_permissions GET /device/roleBasedIpv6Permissions
get_role_based_permissions GET /device/roleBasedPermissions
get_role_based_sgt_map GET /device/roleBasedSgtMap
get_sxp_connections GET /device/sxpConnections

get_cts_pac

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_cts_pac(device_id)

get Cisco TrustSec PAC information from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_cts_pac(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_cts_pac: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_environment_data

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_environment_data(device_id)

get Cisco TrustSec Environment Data information from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_environment_data(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_environment_data: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_radius_server

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_radius_server(device_id)

get Cisco TrustSec Environment Data Radius Server list from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_radius_server(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_radius_server: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_role_based_counters

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_role_based_counters(device_id)

get Cisco TrustSec Role Based Counters information from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_role_based_counters(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_role_based_counters: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_role_based_ipv6_counters

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_role_based_ipv6_counters(device_id)

get Cisco TrustSec Role Based Ipv6 Counters information from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_role_based_ipv6_counters(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_role_based_ipv6_counters: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_role_based_ipv6_permissions

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_role_based_ipv6_permissions(device_id)

get Cisco TrustSec Role Based ipv6 Permissions information from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_role_based_ipv6_permissions(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_role_based_ipv6_permissions: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_role_based_permissions

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_role_based_permissions(device_id)

get Cisco TrustSec Role Based Permissions information from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_role_based_permissions(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_role_based_permissions: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_role_based_sgt_map

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_role_based_sgt_map(device_id)

get Cisco TrustSec Role Based SGT Map information from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_role_based_sgt_map(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_role_based_sgt_map: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_sxp_connections

{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_sxp_connections(device_id)

get Cisco TrustSec SXP Connections information from device

Example

import time
import openapi_client
from openapi_client.api import real_time_monitoring_trustsec_api
from pprint import pprint
# Defining the host is optional and defaults to /dataservice
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "/dataservice"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = real_time_monitoring_trustsec_api.RealTimeMonitoringTrustsecApi(api_client)
    device_id = "deviceId_example" # str | Device Id

    # example passing only required values which don't have defaults set
    try:
        api_response = api_instance.get_sxp_connections(device_id)
        pprint(api_response)
    except openapi_client.ApiException as e:
        print("Exception when calling RealTimeMonitoringTrustsecApi->get_sxp_connections: %s\n" % e)

Parameters

Name Type Description Notes
device_id str Device Id

Return type

{str: (bool, date, datetime, dict, float, int, list, str, none_type)}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
400 Bad Request -
403 Forbidden -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]