All URIs are relative to /dataservice
Method | HTTP request | Description |
---|---|---|
decommission_enterprise_csr_for_vedge | POST /certificate/revoke/enterprise/certificate | |
delete_configuration | DELETE /certificate/{uuid} | |
force_sync_root_cert | POST /certificate/forcesync/rootCert | |
generate_csr | POST /certificate/generate/csr | |
generate_edge_device_csr | POST /certificate/generate/wanedge/csr | |
generate_enterprise_csr | POST /certificate/generate/enterprise/csr/vedge | |
get_cert_details | POST /certificate/certdetails | |
get_certificate_data | GET /certificate/record | |
get_certificate_detail | GET /certificate/stats/detail | |
get_certificate_stats | GET /certificate/stats/summary | |
get_csr_view_right_menus | GET /certificate/csr/details | |
get_device_view_right_menus | GET /certificate/device/details | |
get_devices_list | GET /certificate/device/list | |
get_installed_cert | GET /certificate/vedge | |
get_list_status | GET /certificate/list/status | |
get_root_cert_chains | GET /certificate/rootcertchains | |
get_root_certificate | GET /certificate/rootcertificate | |
get_view | GET /certificate/view | |
getc_edge_list | GET /certificate/tokengeneratedlist | |
getv_edge_csr | GET /certificate/vedge/csr | |
getv_edge_list | GET /certificate/vedge/list | |
getv_smart_list | GET /certificate/vsmart/list | |
install_certificate | POST /certificate/install/signedCert | |
reset_rsa | POST /certificate/reset/rsa | |
save_root_cert_chain | PUT /certificate/rootcertchains | |
save_v_edge_list | POST /certificate/save/vedge/list | |
setv_edge_list | POST /certificate/vedge/list | |
setv_smart_list | POST /certificate/vsmart/list | |
setv_smart_list1 | GET /certificate/mthub/list | |
syncv_bond | GET /certificate/syncvbond | |
update_jks | PUT /certificate/jks |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} decommission_enterprise_csr_for_vedge()
Revoking enterprise CSR for hardware vEdge
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Revoking CSR for hardware vEdge (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.decommission_enterprise_csr_for_vedge(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->decommission_enterprise_csr_for_vedge: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Revoking CSR for hardware vEdge | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} delete_configuration(uuid)
Invalidate device
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
uuid = "uuid_example" # str | Device uuid
replace_controller = False # bool | Replace a vSmart in Multi-tenant setup with a new vSmart (optional) if omitted the server will use the default value of False
device_id = "deviceId_example" # str | uuid of new vSmart (optional)
# example passing only required values which don't have defaults set
try:
api_response = api_instance.delete_configuration(uuid)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->delete_configuration: %s\n" % e)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.delete_configuration(uuid, replace_controller=replace_controller, device_id=device_id)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->delete_configuration: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | Device uuid | |
replace_controller | bool | Replace a vSmart in Multi-tenant setup with a new vSmart | [optional] if omitted the server will use the default value of False |
device_id | str | uuid of new vSmart | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} force_sync_root_cert()
Force sync root certificate
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Singed certificate (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.force_sync_root_cert(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->force_sync_root_cert: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Singed certificate | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
str generate_csr()
Generate CSR
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | CSR request for device (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.generate_csr(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->generate_csr: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | CSR request for device | [optional] |
str
No authorization required
- Content-Type: application/json
- Accept: text/plain
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]
str generate_edge_device_csr()
Generate CSR
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | CSR request for device (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.generate_edge_device_csr(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->generate_edge_device_csr: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | CSR request for device | [optional] |
str
No authorization required
- Content-Type: application/json
- Accept: text/plain
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} generate_enterprise_csr()
Generate CSR
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | CSR request for hardware device (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.generate_enterprise_csr(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->generate_enterprise_csr: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | CSR request for hardware device | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_cert_details()
Get cert details
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | parse cert (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.get_cert_details(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_cert_details: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | parse cert | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_certificate_data()
Get certificate chain
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_certificate_data()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_certificate_data: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_certificate_detail()
Get certificate detail
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_certificate_detail()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_certificate_detail: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_certificate_stats()
Get certificate expiration status
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_certificate_stats()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_certificate_stats: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_csr_view_right_menus()
Get CSR detail view
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_csr_view_right_menus()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_csr_view_right_menus: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_device_view_right_menus()
Get device detail view
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_device_view_right_menus()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_device_view_right_menus: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_devices_list()
Get vEdge list
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_devices_list()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_devices_list: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
str get_installed_cert(uuid)
Get Installed Certificate
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
uuid = "uuid_example" # str | Device uuid
# example passing only required values which don't have defaults set
try:
api_response = api_instance.get_installed_cert(uuid)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_installed_cert: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | Device uuid |
str
No authorization required
- Content-Type: Not defined
- Accept: application/json
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_list_status()
get certificate
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_instance.get_list_status()
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_list_status: %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 | Success | - |
400 | Bad Request | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}] get_root_cert_chains(action)
Get root cert chain
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
action = "get" # str | Action
# example passing only required values which don't have defaults set
try:
api_response = api_instance.get_root_cert_chains(action)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_root_cert_chains: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
action | str | Action |
[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_root_certificate()
Get device root certificate detail view
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_root_certificate()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_root_certificate: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} get_view()
Get certificate UI view
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_view()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->get_view: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} getc_edge_list()
Get cEdge list with tokengenerated list
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.getc_edge_list()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->getc_edge_list: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
str getv_edge_csr(uuid)
Get vEdge CSR Certificate
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
uuid = "uuid_example" # str | Device uuid
# example passing only required values which don't have defaults set
try:
api_response = api_instance.getv_edge_csr(uuid)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->getv_edge_csr: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | Device uuid |
str
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} getv_edge_list()
Get vEdge list
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
model = "vedge-cloud" # str | Device model (optional)
state = [
"state_example",
] # [str] | Device state (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.getv_edge_list(model=model, state=state)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->getv_edge_list: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
model | str | Device model | [optional] |
state | [str] | Device state | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} getv_smart_list()
Get vSmart list
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.getv_smart_list()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->getv_smart_list: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} install_certificate()
Install singed certificate
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Singed certificate (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.install_certificate(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->install_certificate: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Singed certificate | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} reset_rsa()
Register CSR
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | CSR request for vEdge (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.reset_rsa(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->reset_rsa: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | CSR request for vEdge | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} save_root_cert_chain()
Save root cert chain
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Save root cert chain (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.save_root_cert_chain(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->save_root_cert_chain: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Save root cert chain | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} save_v_edge_list()
Save vEdge device list
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | vEdge device list (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.save_v_edge_list(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->save_v_edge_list: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | vEdge device list | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} setv_edge_list()
Save vEdge list
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | vEdge device list (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.setv_edge_list(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->setv_edge_list: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | vEdge device list | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} setv_smart_list()
Save vSmart list
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.setv_smart_list()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->setv_smart_list: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} setv_smart_list1()
Save vSmart list
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.setv_smart_list1()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->setv_smart_list1: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} syncv_bond()
sync vManage UUID to all vBond
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.syncv_bond()
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->syncv_bond: %s\n" % e)
This endpoint does not need any parameter.
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: Not defined
- Accept: application/json
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]
{str: (bool, date, datetime, dict, float, int, list, str, none_type)} update_jks()
update JKS
Note: In a multitenant vManage system, this API is only available in the Provider and Provider-As-Tenant view.
import time
import openapi_client
from openapi_client.api import certificate_management_device_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 = certificate_management_device_api.CertificateManagementDeviceApi(api_client)
body = {} # {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Update JKS (optional)
# example passing only required values which don't have defaults set
# and optional values
try:
api_response = api_instance.update_jks(body=body)
pprint(api_response)
except openapi_client.ApiException as e:
print("Exception when calling CertificateManagementDeviceApi->update_jks: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | {str: (bool, date, datetime, dict, float, int, list, str, none_type)} | Update JKS | [optional] |
{str: (bool, date, datetime, dict, float, int, list, str, none_type)}
No authorization required
- Content-Type: application/json
- Accept: application/json
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]