User API Doc¶
IdentityServicesEngineAPI¶
The IdentityServicesEngineAPI
class creates “connection objects” for working with the Identity Services Engine APIs and hierarchically organizes the Identity Services Engine APIs and their endpoints underneath these connection objects.
IdentityServicesEngineAPI summary structure¶
v3.0.0 summary¶
IdentityServicesEngineAPI Class¶
- class IdentityServicesEngineAPI[source]¶
Identity Services Engine API wrapper.
Creates a ‘session’ for all API calls through a created IdentityServicesEngineAPI object. The ‘session’ handles authentication, provides the needed headers, and checks all responses for error conditions.
IdentityServicesEngineAPI wraps all of the individual Identity Services Engine APIs and represents them in a simple hierarchical structure.
- __init__(username=None, password=None, encoded_auth=None, uses_api_gateway=True, base_url='https://dcloud-dna-ise-rtp.cisco.com', ui_base_url=None, ers_base_url=None, mnt_base_url=None, px_grid_base_url=None, single_request_timeout=60, wait_on_rate_limit=True, verify=True, version='3.0.0', debug='False', object_factory=<function mydict_data_factory>, validator=<class 'ciscoisesdk.models.schema_validator.SchemaValidator'>)[source]¶
Create a new IdentityServicesEngineAPI object. An access token is required to interact with the Identity Services Engine APIs. This package supports two methods for you to pass the authorization token:
1. Provide a encoded_auth value (username:password encoded in base 64). This has priority over the following method
Provide username and password values.
This package supports two methods for you to set those values:
1. Provide the parameter. That is the encoded_auth or username and password parameters.
2. If an argument is not supplied, the package checks for its environment variable counterpart. That is the IDENTITY_SERVICES_ENGINE_ENCODED_AUTH, IDENTITY_SERVICES_ENGINE_USERNAME, IDENTITY_SERVICES_ENGINE_PASSWORD.
When not given enough parameters an AccessTokenError is raised.
- Parameters
uses_api_gateway (bool,basestring) – Controls whether we use the ISE’s API Gateway to make the request. Defaults to the IDENTITY_SERVICES_ENGINE_USES_API_GATEWAY (or IDENTITY_SERVICES_ENGINE_USES_API_GATEWAY_STRING) environment variable or ciscoisesdk.config.DEFAULT_USES_API_GATEWAY if the environment variables are not set.
base_url (basestring) – The base URL to be prefixed to the individual API endpoint suffixes, used when uses_api_gateway is True. Defaults to the IDENTITY_SERVICES_ENGINE_BASE_URL environment variable or ciscoisesdk.config.DEFAULT_BASE_URL if the environment variable is not set.
ui_base_url (basestring) – The UI base URL to be prefixed to the individual ISE UI API endpoint suffixes, used when uses_api_gateway is False. Defaults to the IDENTITY_SERVICES_ENGINE_BASE_URL environment variable if set.
ers_base_url (basestring) – The ERS base URL to be prefixed to the individual ISE ERS API endpoint suffixes, used when uses_api_gateway is False. Defaults to the IDENTITY_SERVICES_ENGINE_BASE_URL environment variable if set.
mnt_base_url (basestring) – The MNT base URL to be prefixed to the individual ISE MNT API endpoint suffixes, used when uses_api_gateway is False. Defaults to the IDENTITY_SERVICES_ENGINE_BASE_URL environment variable if set.
px_grid_base_url (basestring) – The PxGrid base URL to be prefixed to the individual ISE PxGrid API endpoint suffixes, used when uses_api_gateway is False. Defaults to the IDENTITY_SERVICES_ENGINE_BASE_URL environment variable if set.
username (basestring) – HTTP Basic Auth username.
password (basestring) – HTTP Basic Auth password.
encoded_auth (basestring) – HTTP Basic Auth base64 encoded string.
single_request_timeout (int) – Timeout (in seconds) for RESTful HTTP requests. Defaults to the IDENTITY_SERVICES_ENGINE_SINGLE_REQUEST_TIMEOUT environment variable or ciscoisesdk.config.DEFAULT_SINGLE_REQUEST_TIMEOUT if the environment variable is not set.
wait_on_rate_limit (bool) – Enables or disables automatic rate-limit handling. Defaults to the IDENTITY_SERVICES_ENGINE_WAIT_ON_RATE_LIMIT environment variable or ciscoisesdk.config.DEFAULT_WAIT_ON_RATE_LIMIT if the environment variable is not set.
verify (bool,basestring) – Controls whether we verify the server’s TLS certificate, or a string, in which case it must be a path to a CA bundle to use. Defaults to the IDENTITY_SERVICES_ENGINE_VERIFY (or IDENTITY_SERVICES_ENGINE_VERIFY_STRING) environment variable or ciscoisesdk.config.DEFAULT_VERIFY if the environment variables are not set.
version (basestring) – Controls which version of IDENTITY_SERVICES_ENGINE to use. Defaults to the IDENTITY_SERVICES_ENGINE_VERSION environment variable or ciscoisesdk.config.DEFAULT_VERSION if the environment variable is not set.
debug (bool,basestring) – Controls whether to log information about Identity Services Engine APIs’ request and response process. Defaults to the IDENTITY_SERVICES_ENGINE_DEBUG environment variable or False if the environment variable is not set.
object_factory (callable) – The factory function to use to create Python objects from the returned Identity Services Engine JSON data objects.
validator (callable) – The factory class with function json_schema_validate(model:string) that returns an object with function validate(obj:dict) is used to validate Python objects sent in the request body.
- Returns
A new IdentityServicesEngineAPI object.
- Return type
- Raises
TypeError – If the parameter types are incorrect.
AccessTokenError – If an access token is not provided via the access_token argument or an environment variable.
VersionError – If the version is not provided via the version argument or an environment variable, or it is not a Identity Services Engine API supported version [‘3.0.0’].
- property uses_api_gateway¶
If the Identity Services Engine API uses an API Gateway.
- property session¶
The Identity Services Engine API session.
- property session_ui¶
The Identity Services Engine UI API session.
- property session_ers¶
The Identity Services Engine ERS API session.
- property session_mnt¶
The Identity Services Engine MNT API session.
- property session_px_grid¶
The Identity Services Engine PxGrid API session.
- property access_token¶
The access token used for API calls to the Identity Services Engine service.
- property version¶
The API version of Identity Services Engine.
- property verify¶
The verify (TLS Certificate) for the API endpoints.
- property base_url¶
The base URL prefixed to the individual API endpoint suffixes for ERS and Custom Caller operations.
- property single_request_timeout¶
Timeout (in seconds) for an single HTTP request.
- property wait_on_rate_limit¶
Automatic rate-limit handling enabled / disabled.
- property ui_base_url¶
The ui base URL prefixed to the individual API endpoint suffixes for UI operations.
- property ers_base_url¶
The ers base URL prefixed to the individual API endpoint suffixes for ERS operations.
- property mnt_base_url¶
The mnt base URL prefixed to the individual API endpoint suffixes for MNT operations.
- property px_grid_base_url¶
The px_grid base URL prefixed to the individual API endpoint suffixes for PxGrid operations
authentication¶
- class Authentication[source]¶
Identity Services Engine Authentication API.
Wraps the Identity Services Engine Authentication API and exposes the API as native Python methods that return native Python objects.
- property verify¶
The verify (TLS Certificate) for the API endpoints.
- property base_url¶
The base URL for the API endpoints.
- property single_request_timeout¶
Timeout in seconds for the API requests.
- authentication_api(username, password, encoded_auth=None)[source]¶
Exchange basic auth data for a Authorization Basic encoded value that can be used to invoke the APIs.
- Parameters
username (basestring) – HTTP Basic Auth username.
password (basestring) – HTTP Basic Auth password.
encoded_auth (basestring) – HTTP Basic Auth base64 encoded string.
- Returns
An AccessToken object with the access token provided by the Identity Services Engine cloud.
- Return type
AccessToken
- Raises
TypeError – If the parameter types are incorrect.
custom_caller¶
- class CustomCaller[source]¶
Identity Services Engine CustomCaller.
Identity Services Engine CustomCaller allows API creation.
- call_api(method, resource_path, raise_exception=True, original_response=False, **kwargs)[source]¶
Handles the requests and response.
- Parameters
method (basestring) – type of request.
resource_path (basestring) – URL in the request object.
raise_exception (bool) – If True, http exceptions will be raised.
original_response (bool) – If True, MyDict (JSON response) is returned, else response object.
path_params (dict) (optional) – Find each path_params’ key in the resource_path and replace it with path_params’ value.
params (optional) – Dictionary or bytes to be sent in the query string for the Request.
data (optional) – Dictionary, bytes, or file-like object to send in the body of the Request.
json (optional) – json data to send in the body of the Request.
headers (optional) – Dictionary of HTTP Headers to send with the Request.
cookies (optional) – Dict or CookieJar object to send with the Request.
files (optional) – Dictionary of ‘name’: file-like-objects (or {‘name’: (‘filename’, fileobj)}) for multipart encoding upload.
auth (optional) – Auth tuple to enable Basic/Digest/Custom HTTP Auth.
timeout (float, tuple) (optional) – How long to wait for the server to send data before giving up, as a float, or a (connect timeout, read timeout) tuple.
allow_redirects (bool) (optional) – bool. Set to True if POST/PUT/DELETE redirect following is allowed.
proxies (optional) – Dictionary mapping protocol to the URL of the proxy.
verify (bool,string) (optional) – if True, the SSL cert will be verified. A CA_BUNDLE path can also be provided as a string.
stream (optional) – if False, the response content will be immediately downloaded.
cert (basestring, tuple) (optional) – if String, path to ssl client cert file (.pem). If Tuple, (‘cert’, ‘key’) pair
- Returns
If original_response is True returns the original object response, else returns a JSON response with access to the object’s properties by using the dot notation or the bracket notation. Defaults to False.
- Return type
- Raises
TypeError – If the parameter types are incorrect.
HTTPError – If the Identity Services Engine cloud returns an error.
IdentityServicesEngineAPI v3.0.0¶
aci_bindings¶
- class AciBindings[source]¶
Identity Services Engine ACIBindings API (version: 3.0.0).
Wraps the Identity Services Engine ACIBindings API and exposes the API as native Python methods that return native Python objects.
- get_aci_bindings(filter_by=None, filter_value=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
This API allows clients to retrieve all the bindings that were sent to Cisco ISE by ACI or received on ACI from Cisco ISE.The binding information will be identical to the information on ACI bindings page in the Cisco ISE UI. Filtering will be based on one attribute only, such as ip/sgt/vn/psn/learnedFrom/learnedBy with CONTAINS mode of search.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sort (basestring) – sort query parameter. sort type asc or desc.
sort_by (basestring) – sortBy query parameter. sort column by which objects needs to be sorted.
filter_by (basestring, list, set, tuple) – filterBy query parameter.
filter_value (basestring, list, set, tuple) – filterValue query parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter_by=None, filter_value=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
Alias for get_aci_bindings
- get_aci_bindings_generator(filter_by=None, filter_value=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
This API allows clients to retrieve all the bindings that were sent to Cisco ISE by ACI or received on ACI from Cisco ISE.The binding information will be identical to the information on ACI bindings page in the Cisco ISE UI. Filtering will be based on one attribute only, such as ip/sgt/vn/psn/learnedFrom/learnedBy with CONTAINS mode of search.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sort (basestring) – sort query parameter. sort type asc or desc.
sort_by (basestring) – sortBy query parameter. sort column by which objects needs to be sorted.
filter_by (basestring, list, set, tuple) – filterBy query parameter.
filter_value (basestring, list, set, tuple) – filterValue query parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter_by=None, filter_value=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
Alias for get_aci_bindings_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the Cisco ACI bindings.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
aci_settings¶
- class AciSettings[source]¶
Identity Services Engine ACISettings API (version: 3.0.0).
Wraps the Identity Services Engine ACISettings API and exposes the API as native Python methods that return native Python objects.
- get_aci_settings(headers=None, **query_parameters)[source]¶
This API allows the client to get ACI Settings.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_aci_settings
- test_aci_connectivity(headers=None, **query_parameters)[source]¶
This API allows the client to test ACI Domain Manager connection.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_aci_settings_by_id(id, aci50=None, aci51=None, aciipaddress=None, acipassword=None, aciuser_name=None, admin_name=None, admin_password=None, all_sxp_domain=None, default_sgt_name=None, enable_aci=None, enable_data_plane=None, enable_elements_limit=None, ip_address_host_name=None, l3_route_network=None, max_num_iepg_from_aci=None, max_num_sgt_to_aci=None, specific_sxp_domain=None, specifix_sxp_domain_list=None, suffix_to_epg=None, suffix_to_sgt=None, tenant_name=None, untagged_packet_iepg_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update ACI settings.
- Parameters
aci50 (boolean) – Enable 5.0 ACI Version, property of the request body.
aci51 (boolean) – Enable 5.1 ACI Version, property of the request body.
aciipaddress (string) – ACI Domain manager Ip Address., property of the request body.
acipassword (string) – ACI Domain manager Password., property of the request body.
aciuser_name (string) – ACI Domain manager Username., property of the request body.
admin_name (string) – ACI Cluster Admin name, property of the request body.
admin_password (string) – ACI Cluster Admin password, property of the request body.
all_sxp_domain (boolean) – allSxpDomain, property of the request body.
default_sgt_name (string) – defaultSgtName, property of the request body.
enable_aci (boolean) – Enable ACI Integration, property of the request body.
enable_data_plane (boolean) – enableDataPlane, property of the request body.
enable_elements_limit (boolean) – enableElementsLimit, property of the request body.
id (basestring) – Resource UUID value, property of the request body.
ip_address_host_name (string) – ACI Cluster IP Address / Host name, property of the request body.
l3_route_network (string) – l3RouteNetwork, property of the request body.
max_num_iepg_from_aci (integer) – maxNumIepgFromAci, property of the request body.
max_num_sgt_to_aci (integer) – maxNumSgtToAci, property of the request body.
specific_sxp_domain (boolean) – specificSxpDomain, property of the request body.
specifix_sxp_domain_list (list) – specifixSxpDomainList, property of the request body (list of strings).
suffix_to_epg (string) – suffixToEpg, property of the request body.
suffix_to_sgt (string) – suffixToSgt, property of the request body.
tenant_name (string) – tenantName, property of the request body.
untagged_packet_iepg_name (string) – untaggedPacketIepgName, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, aci50=None, aci51=None, aciipaddress=None, acipassword=None, aciuser_name=None, admin_name=None, admin_password=None, all_sxp_domain=None, default_sgt_name=None, enable_aci=None, enable_data_plane=None, enable_elements_limit=None, ip_address_host_name=None, l3_route_network=None, max_num_iepg_from_aci=None, max_num_sgt_to_aci=None, specific_sxp_domain=None, specifix_sxp_domain_list=None, suffix_to_epg=None, suffix_to_sgt=None, tenant_name=None, untagged_packet_iepg_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_aci_settings_by_id
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the Cisco ACI settings.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
anc_endpoint¶
- class AncEndpoint[source]¶
Identity Services Engine ANCEndpoint API (version: 3.0.0).
Wraps the Identity Services Engine ANCEndpoint API and exposes the API as native Python methods that return native Python objects.
- get_anc_endpoint_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an ANC endpoint by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_anc_endpoint_by_id
- clear_anc_endpoint(additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to clear the required configuration.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- clear(additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for clear_anc_endpoint
- get_anc_endpoint(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the ANC endpoints. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_anc_endpoint
- get_anc_endpoint_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the ANC endpoints. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_anc_endpoint_generator
- apply_anc_endpoint(additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to apply the required configuration.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- apply(additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for apply_anc_endpoint
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the ANC Endpoint.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_anc_endpoint(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_anc_endpoint
- monitor_bulk_status_anc_endpoint(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_anc_endpoint
active_directory¶
- class ActiveDirectory[source]¶
Identity Services Engine ActiveDirectory API (version: 3.0.0).
Wraps the Identity Services Engine ActiveDirectory API and exposes the API as native Python methods that return native Python objects.
- get_active_directory_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get Active Directory by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_active_directory_by_name
- get_user_groups(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to get groups of which a given user is a member.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- load_groups_from_domain(id, ad_attributes=None, ad_scopes_names=None, adgroups=None, advanced_settings=None, description=None, domain=None, enable_domain_white_list=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API loads domain groups configuration from Active Directory into Cisco ISE.
- Parameters
ad_attributes (object) – Holds list of AD Attributes, property of the request body.
ad_scopes_names (string) – String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. Alphanumeric, underscore (_) characters are allowed, property of the request body.
adgroups (object) – Holds list of AD Groups, property of the request body.
advanced_settings (object) – advancedSettings, property of the request body.
description (string) – No character restriction, property of the request body.
domain (string) – The AD domain. Alphanumeric, hyphen (-) and dot (.) characters are allowed, property of the request body.
enable_domain_white_list (boolean) – enableDomainWhiteList, property of the request body.
id (basestring) – Resource UUID value, property of the request body.
name (string) – Resource Name. Maximum 32 characters allowed. Allowed characters are alphanumeric and .-_/characters, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- leave_domain(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API makes a Cisco ISE node to leave an Active Directory domain.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- is_user_member_of_groups(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API verifies if the user is a member of the given groups.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_trusted_domains(id, headers=None, **query_parameters)[source]¶
This API gets the list of domains that are accessible through the given join point via trust relationships.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- join_domain_with_all_nodes(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API joins all Cisco ISE Nodes to an Active Directory domain.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- leave_domain_with_all_nodes(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API joins makes all Cisco ISE nodes leave an Active Directory domain.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_groups_by_domain(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API lists the groups of the given domain.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_active_directory_by_id(id, headers=None, **query_parameters)[source]¶
This API fetchs the join point details by ID. The ID can be retrieved with the Get All operation.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_active_directory_by_id
- delete_active_directory_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an AD join point from Cisco ISE.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_active_directory_by_id
- join_domain(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API joins a Cisco ISE node to an Active Directory domain.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_active_directory(page=None, size=None, headers=None, **query_parameters)[source]¶
This API lists all the join points for Active Directory domains in Cisco ISE.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_active_directory
- get_active_directory_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API lists all the join points for Active Directory domains in Cisco ISE.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_active_directory_generator
- create_active_directory(ad_attributes=None, ad_scopes_names=None, adgroups=None, advanced_settings=None, description=None, domain=None, enable_domain_white_list=None, id=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an AD join point in Cisco ISE.
- Parameters
ad_attributes (object) – Holds list of AD Attributes, property of the request body.
ad_scopes_names (string) – String that contains the names of the scopes that the active directory belongs to. Names are separated by comma. Alphanumeric, underscore (_) characters are allowed, property of the request body.
adgroups (object) – Holds list of AD Groups, property of the request body.
advanced_settings (object) – advancedSettings, property of the request body.
description (string) – No character restriction, property of the request body.
domain (string) – The AD domain. Alphanumeric, hyphen (-) and dot (.) characters are allowed, property of the request body.
enable_domain_white_list (boolean) – enableDomainWhiteList, property of the request body.
id (string) – Resource UUID value, property of the request body.
name (string) – Resource Name. Maximum 32 characters allowed. Allowed characters are alphanumeric and .-_/characters, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(ad_attributes=None, ad_scopes_names=None, adgroups=None, advanced_settings=None, description=None, domain=None, enable_domain_white_list=None, id=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_active_directory
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the active directory.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
admin_user¶
- class AdminUser[source]¶
Identity Services Engine AdminUser API (version: 3.0.0).
Wraps the Identity Services Engine AdminUser API and exposes the API as native Python methods that return native Python objects.
- get_admin_user_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an admin user by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_admin_user_by_id
- get_admin_users(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the admin users. Filter: [firstName, lastName, adminGroups, name, description, inactiveAccountNeverDisabled, includeSystemAlarmsInEmail, email, enabled] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_admin_users
- get_admin_users_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the admin users. Filter: [firstName, lastName, adminGroups, name, description, inactiveAccountNeverDisabled, includeSystemAlarmsInEmail, email, enabled] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_admin_users_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the admin user.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
allowed_protocols¶
- class AllowedProtocols[source]¶
Identity Services Engine AllowedProtocols API (version: 3.0.0).
Wraps the Identity Services Engine AllowedProtocols API and exposes the API as native Python methods that return native Python objects.
- get_allowed_protocol_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an allowed protocol by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_allowed_protocol_by_name
- get_allowed_protocol_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an allowed protocol by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_allowed_protocol_by_id
- update_allowed_protocol_by_id(id, allow_chap=None, allow_eap_fast=None, allow_eap_md5=None, allow_eap_tls=None, allow_eap_ttls=None, allow_leap=None, allow_ms_chap_v1=None, allow_ms_chap_v2=None, allow_pap_ascii=None, allow_peap=None, allow_preferred_eap_protocol=None, allow_teap=None, allow_weak_ciphers_for_eap=None, description=None, eap_fast=None, eap_tls=None, eap_tls_l_bit=None, eap_ttls=None, name=None, peap=None, preferred_eap_protocol=None, process_host_lookup=None, require_message_auth=None, teap=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an allowed protocol.
- Parameters
allow_chap (boolean) – allowChap, property of the request body.
allow_eap_fast (boolean) – allowEapFast, property of the request body.
allow_eap_md5 (boolean) – allowEapMd5, property of the request body.
allow_eap_tls (boolean) – allowEapTls, property of the request body.
allow_eap_ttls (boolean) – allowEapTtls, property of the request body.
allow_leap (boolean) – allowLeap, property of the request body.
allow_ms_chap_v1 (boolean) – allowMsChapV1, property of the request body.
allow_ms_chap_v2 (boolean) – allowMsChapV2, property of the request body.
allow_pap_ascii (boolean) – allowPapAscii, property of the request body.
allow_peap (boolean) – allowPeap, property of the request body.
allow_preferred_eap_protocol (boolean) – allowPreferredEapProtocol, property of the request body.
allow_teap (boolean) – allowTeap, property of the request body.
allow_weak_ciphers_for_eap (boolean) – allowWeakCiphersForEap, property of the request body.
description (string) – description, property of the request body.
eap_fast (object) – The eapFast is required only if allowEapFast is true, otherwise it must be ignored. The object eapFast contains the settings for EAP FAST protocol, property of the request body.
eap_tls (object) – The eapTls is required only if allowEapTls is true, otherwise it must be ignored. The object eapTls contains the settings for EAP TLS protocol, property of the request body.
eap_tls_l_bit (boolean) – eapTlsLBit, property of the request body.
eap_ttls (object) – The eapTtls is required only if allowEapTtls is true, otherwise it must be ignored. The object eapTtls contains the settings for EAP TTLS protocol, property of the request body.
id (basestring) – Resource UUID, Mandatory for update, property of the request body.
name (string) – Resource Name, property of the request body.
peap (object) – peap, property of the request body.
preferred_eap_protocol (string) – The preferredEapProtocol is required only if allowPreferredEapProtocol is true, otherwise it must be ignored. Allowed Values: EAP_FAST, PEAP, LEAP, EAP_MD5, EAP_TLS, EAP_TTLS, TEAP, property of the request body.
process_host_lookup (boolean) – processHostLookup, property of the request body.
require_message_auth (boolean) – requireMessageAuth, property of the request body.
teap (object) – The teap is required only if allowTeap is true, otherwise it must be ignored. The object teap contains the settings for TEAP protocol, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, allow_chap=None, allow_eap_fast=None, allow_eap_md5=None, allow_eap_tls=None, allow_eap_ttls=None, allow_leap=None, allow_ms_chap_v1=None, allow_ms_chap_v2=None, allow_pap_ascii=None, allow_peap=None, allow_preferred_eap_protocol=None, allow_teap=None, allow_weak_ciphers_for_eap=None, description=None, eap_fast=None, eap_tls=None, eap_tls_l_bit=None, eap_ttls=None, name=None, peap=None, preferred_eap_protocol=None, process_host_lookup=None, require_message_auth=None, teap=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_allowed_protocol_by_id
- delete_allowed_protocol_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an allowed protocol.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_allowed_protocol_by_id
- get_allowed_protocols(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the allowed protocols.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_allowed_protocols
- get_allowed_protocols_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the allowed protocols.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_allowed_protocols_generator
- create_allowed_protocol(allow_chap=None, allow_eap_fast=None, allow_eap_md5=None, allow_eap_tls=None, allow_eap_ttls=None, allow_leap=None, allow_ms_chap_v1=None, allow_ms_chap_v2=None, allow_pap_ascii=None, allow_peap=None, allow_preferred_eap_protocol=None, allow_teap=None, allow_weak_ciphers_for_eap=None, description=None, eap_fast=None, eap_tls=None, eap_tls_l_bit=None, eap_ttls=None, name=None, peap=None, preferred_eap_protocol=None, process_host_lookup=None, require_message_auth=None, teap=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an allowed protocol.
- Parameters
allow_chap (boolean) – allowChap, property of the request body.
allow_eap_fast (boolean) – allowEapFast, property of the request body.
allow_eap_md5 (boolean) – allowEapMd5, property of the request body.
allow_eap_tls (boolean) – allowEapTls, property of the request body.
allow_eap_ttls (boolean) – allowEapTtls, property of the request body.
allow_leap (boolean) – allowLeap, property of the request body.
allow_ms_chap_v1 (boolean) – allowMsChapV1, property of the request body.
allow_ms_chap_v2 (boolean) – allowMsChapV2, property of the request body.
allow_pap_ascii (boolean) – allowPapAscii, property of the request body.
allow_peap (boolean) – allowPeap, property of the request body.
allow_preferred_eap_protocol (boolean) – allowPreferredEapProtocol, property of the request body.
allow_teap (boolean) – allowTeap, property of the request body.
allow_weak_ciphers_for_eap (boolean) – allowWeakCiphersForEap, property of the request body.
description (string) – description, property of the request body.
eap_fast (object) – The eapFast is required only if allowEapFast is true, otherwise it must be ignored. The object eapFast contains the settings for EAP FAST protocol, property of the request body.
eap_tls (object) – The eapTls is required only if allowEapTls is true, otherwise it must be ignored. The object eapTls contains the settings for EAP TLS protocol, property of the request body.
eap_tls_l_bit (boolean) – eapTlsLBit, property of the request body.
eap_ttls (object) – The eapTtls is required only if allowEapTtls is true, otherwise it must be ignored. The object eapTtls contains the settings for EAP TTLS protocol, property of the request body.
name (string) – Resource Name, property of the request body.
peap (object) – peap, property of the request body.
preferred_eap_protocol (string) – The preferredEapProtocol is required only if allowPreferredEapProtocol is true, otherwise it must be ignored. Allowed Values: EAP_FAST, PEAP, LEAP, EAP_MD5, EAP_TLS, EAP_TTLS, TEAP, property of the request body.
process_host_lookup (boolean) – processHostLookup, property of the request body.
require_message_auth (boolean) – requireMessageAuth, property of the request body.
teap (object) – The teap is required only if allowTeap is true, otherwise it must be ignored. The object teap contains the settings for TEAP protocol, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(allow_chap=None, allow_eap_fast=None, allow_eap_md5=None, allow_eap_tls=None, allow_eap_ttls=None, allow_leap=None, allow_ms_chap_v1=None, allow_ms_chap_v2=None, allow_pap_ascii=None, allow_peap=None, allow_preferred_eap_protocol=None, allow_teap=None, allow_weak_ciphers_for_eap=None, description=None, eap_fast=None, eap_tls=None, eap_tls_l_bit=None, eap_ttls=None, name=None, peap=None, preferred_eap_protocol=None, process_host_lookup=None, require_message_auth=None, teap=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_allowed_protocol
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the allowed protocols.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
anc_policy¶
- class AncPolicy[source]¶
Identity Services Engine AncPolicy API (version: 3.0.0).
Wraps the Identity Services Engine AncPolicy API and exposes the API as native Python methods that return native Python objects.
- get_anc_policy_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an ANC policy by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_anc_policy_by_name
- get_anc_policy_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an ANC policy by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_anc_policy_by_id
- update_anc_policy_by_id(id, actions=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an ANC policy.
- Parameters
actions (list) – QUARANTINE: Allows you to use Exception policies (authorization policies) to limit or deny an endpoint access to the network. PORTBOUNCE: Resets the port on the network device to which the endpoint is connected. SHUTDOWN : Shuts down the port on the network device to which the endpoint is connected. RE_AUTHENTICATE: Re-authenticates the session from the endpoint., property of the request body (list of strings. Available values are ‘QUARANTINE’, ‘PORTBOUNCE’, ‘SHUTDOWN’ and ‘RE_AUTHENTICATE’).
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, actions=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_anc_policy_by_id
- delete_anc_policy_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to delete an ANC policy.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_anc_policy_by_id
- get_anc_policy(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the ANC policies. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_anc_policy
- get_anc_policy_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the ANC policies. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_anc_policy_generator
- create_anc_policy(actions=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to create an ANC policy.
- Parameters
actions (list) – QUARANTINE: Allows you to use Exception policies (authorization policies) to limit or deny an endpoint access to the network. PORTBOUNCE: Resets the port on the network device to which the endpoint is connected. SHUTDOWN : Shuts down the port on the network device to which the endpoint is connected. RE_AUTHENTICATE: Re-authenticates the session from the endpoint., property of the request body (list of strings. Available values are ‘QUARANTINE’, ‘PORTBOUNCE’, ‘SHUTDOWN’ and ‘RE_AUTHENTICATE’).
name (string) – name, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(actions=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_anc_policy
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the ANC policy.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_anc_policy(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_anc_policy
- monitor_bulk_status_anc_policy(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_anc_policy
authorization_profile¶
- class AuthorizationProfile[source]¶
Identity Services Engine AuthorizationProfile API (version: 3.0.0).
Wraps the Identity Services Engine AuthorizationProfile API and exposes the API as native Python methods that return native Python objects.
- get_authorization_profile_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an authorization profile by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_authorization_profile_by_name
- get_authorization_profile_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an authorization profile by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_authorization_profile_by_id
- update_authorization_profile_by_id(id, access_type=None, acl=None, advanced_attributes=None, agentless_posture=None, airespace_acl=None, airespace_ipv6_acl=None, asa_vpn=None, authz_profile_type=None, auto_smart_port=None, avc_profile=None, dacl_name=None, description=None, easywired_session_candidate=None, interface_template=None, ipv6_acl_filter=None, ipv6_dacl_name=None, mac_sec_policy=None, name=None, neat=None, profile_name=None, reauth=None, service_template=None, track_movement=None, vlan=None, voice_domain_permission=None, web_auth=None, web_redirection=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an authorization profile.
- Parameters
access_type (string) – Allowed Values: ACCESS_ACCEPT, ACCESS_REJECT, property of the request body.
acl (string) – acl, property of the request body.
advanced_attributes (list) – advancedAttributes, property of the request body (list of objects).
agentless_posture (boolean) – agentlessPosture, property of the request body.
airespace_acl (string) – airespaceACL, property of the request body.
airespace_ipv6_acl (string) – airespaceIPv6ACL, property of the request body.
asa_vpn (string) – asaVpn, property of the request body.
authz_profile_type (string) – Allowed Values: SWITCH, TRUSTSEC, TACACS SWITCH is used for Standard Authorization Profiles, property of the request body.
auto_smart_port (string) – autoSmartPort, property of the request body.
avc_profile (string) – avcProfile, property of the request body.
dacl_name (string) – daclName, property of the request body.
description (string) – description, property of the request body.
easywired_session_candidate (boolean) – easywiredSessionCandidate, property of the request body.
id (basestring) – Resource UUID value, property of the request body.
interface_template (string) – interfaceTemplate, property of the request body.
ipv6_acl_filter (string) – ipv6ACLFilter, property of the request body.
ipv6_dacl_name (string) – ipv6DaclName, property of the request body.
mac_sec_policy (string) – Allowed Values: MUST_SECURE, MUST_NOT_SECURE, SHOULD_SECURE, property of the request body.
name (string) – Resource Name, property of the request body.
neat (boolean) – neat, property of the request body.
profile_name (string) – profileName, property of the request body.
reauth (object) – reauth, property of the request body.
service_template (boolean) – serviceTemplate, property of the request body.
track_movement (boolean) – trackMovement, property of the request body.
vlan (object) – vlan, property of the request body.
voice_domain_permission (boolean) – voiceDomainPermission, property of the request body.
web_auth (boolean) – webAuth, property of the request body.
web_redirection (object) – webRedirection, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, access_type=None, acl=None, advanced_attributes=None, agentless_posture=None, airespace_acl=None, airespace_ipv6_acl=None, asa_vpn=None, authz_profile_type=None, auto_smart_port=None, avc_profile=None, dacl_name=None, description=None, easywired_session_candidate=None, interface_template=None, ipv6_acl_filter=None, ipv6_dacl_name=None, mac_sec_policy=None, name=None, neat=None, profile_name=None, reauth=None, service_template=None, track_movement=None, vlan=None, voice_domain_permission=None, web_auth=None, web_redirection=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_authorization_profile_by_id
- delete_authorization_profile_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an authorization profile.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_authorization_profile_by_id
- get_authorization_profiles(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all authorization profiles.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_authorization_profiles
- get_authorization_profiles_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all authorization profiles.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_authorization_profiles_generator
- create_authorization_profile(access_type=None, acl=None, advanced_attributes=None, agentless_posture=None, airespace_acl=None, airespace_ipv6_acl=None, asa_vpn=None, authz_profile_type=None, auto_smart_port=None, avc_profile=None, dacl_name=None, description=None, easywired_session_candidate=None, id=None, interface_template=None, ipv6_acl_filter=None, ipv6_dacl_name=None, mac_sec_policy=None, name=None, neat=None, profile_name=None, reauth=None, service_template=None, track_movement=None, vlan=None, voice_domain_permission=None, web_auth=None, web_redirection=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an authorization profile.
- Parameters
access_type (string) – Allowed Values: ACCESS_ACCEPT, ACCESS_REJECT, property of the request body.
acl (string) – acl, property of the request body.
advanced_attributes (list) – advancedAttributes, property of the request body (list of objects).
agentless_posture (boolean) – agentlessPosture, property of the request body.
airespace_acl (string) – airespaceACL, property of the request body.
airespace_ipv6_acl (string) – airespaceIPv6ACL, property of the request body.
asa_vpn (string) – asaVpn, property of the request body.
authz_profile_type (string) – Allowed Values: SWITCH, TRUSTSEC, TACACS SWITCH is used for Standard Authorization Profiles, property of the request body.
auto_smart_port (string) – autoSmartPort, property of the request body.
avc_profile (string) – avcProfile, property of the request body.
dacl_name (string) – daclName, property of the request body.
description (string) – description, property of the request body.
easywired_session_candidate (boolean) – easywiredSessionCandidate, property of the request body.
id (string) – Resource UUID value, property of the request body.
interface_template (string) – interfaceTemplate, property of the request body.
ipv6_acl_filter (string) – ipv6ACLFilter, property of the request body.
ipv6_dacl_name (string) – ipv6DaclName, property of the request body.
mac_sec_policy (string) – Allowed Values: MUST_SECURE, MUST_NOT_SECURE, SHOULD_SECURE, property of the request body.
name (string) – Resource Name, property of the request body.
neat (boolean) – neat, property of the request body.
profile_name (string) – profileName, property of the request body.
reauth (object) – reauth, property of the request body.
service_template (boolean) – serviceTemplate, property of the request body.
track_movement (boolean) – trackMovement, property of the request body.
vlan (object) – vlan, property of the request body.
voice_domain_permission (boolean) – voiceDomainPermission, property of the request body.
web_auth (boolean) – webAuth, property of the request body.
web_redirection (object) – webRedirection, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(access_type=None, acl=None, advanced_attributes=None, agentless_posture=None, airespace_acl=None, airespace_ipv6_acl=None, asa_vpn=None, authz_profile_type=None, auto_smart_port=None, avc_profile=None, dacl_name=None, description=None, easywired_session_candidate=None, id=None, interface_template=None, ipv6_acl_filter=None, ipv6_dacl_name=None, mac_sec_policy=None, name=None, neat=None, profile_name=None, reauth=None, service_template=None, track_movement=None, vlan=None, voice_domain_permission=None, web_auth=None, web_redirection=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_authorization_profile
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the authorization profile.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
byod_portal¶
- class ByodPortal[source]¶
Identity Services Engine BYODPortal API (version: 3.0.0).
Wraps the Identity Services Engine BYODPortal API and exposes the API as native Python methods that return native Python objects.
- get_byod_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a BYOD portal by ID.
- Parameters
id (basestring) – id path parameter. Portal id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_byod_portal_by_id
- update_byod_portal_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a BYOD portal by ID.
- Parameters
customizations (object) – Defines all of the Portal Customizations available for a BYOD, property of the request body.
description (string) – description, property of the request body.
id (basestring) – Resource UUID, mandatory for update, property of the request body.
name (string) – Resource Name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a BYOD, property of the request body.
id – id path parameter. Portal id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_byod_portal_by_id
- delete_byod_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a BYOD portal by ID.
- Parameters
id (basestring) – id path parameter. Portal id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_byod_portal_by_id
- get_byod_portal(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the BYOD portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_byod_portal
- get_byod_portal_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the BYOD portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_byod_portal_generator
- create_byod_portal(customizations=None, description=None, id=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a BYOD portal.
- Parameters
customizations (object) – Defines all of the Portal Customizations available for a BYOD, property of the request body.
description (string) – description, property of the request body.
id (string) – Resource UUID, mandatory for update, property of the request body.
name (string) – Resource Name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a BYOD, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(customizations=None, description=None, id=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_byod_portal
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the BYOD portal.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
backup_and_restore¶
- class BackupAndRestore[source]¶
Identity Services Engine Backup And Restore API (version: 3.0.0).
Wraps the Identity Services Engine Backup And Restore API and exposes the API as native Python methods that return native Python objects.
- config_backup(backup_encryption_key=None, backup_name=None, repository_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Triggers on demand configuration backup on the ISE node. The API returns the task ID. Use the Task Service status API to get the status of the backup job.
- Parameters
backup_encryption_key (string) – The encyption key for the backed up file. Encryption key must satisfy the following criteria Contains at least one uppercase letter [A-Z], Contains at least one lowercase letter [a-z], Contains at least one digit [0-9], Contain only [A-Z][a-z][0-9]_#, Has at least 8 characters, Has not more than 15 characters, Must not contain ‘CcIiSsCco’, Must not begin with, property of the request body.
backup_name (string) – The backup file will get saved with this name., property of the request body.
repository_name (string) – Name of the configured repository where the generated backup file will get copied., property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- config(backup_encryption_key=None, backup_name=None, repository_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for config_backup
- cancel_backup(headers=None, **query_parameters)[source]¶
Cancels the backup job running on the node.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- cancel(headers=None, **query_parameters)[source]¶
Alias for cancel_backup
- get_last_config_backup_status(headers=None, **query_parameters)[source]¶
Gives the last backup status.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_last_status(headers=None, **query_parameters)[source]¶
Alias for get_last_config_backup_status
- restore_config_backup(backup_encryption_key=None, repository_name=None, restore_file=None, restore_include_adeos=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Triggers a configuration DB restore job on the ISE node. The API returns the task ID. Use the Task Service status API to get the status of the backup job.
- Parameters
backup_encryption_key (string) – The encryption key which was provided at the time of taking backup., property of the request body.
repository_name (string) – Name of the configred repository where the backup file exists., property of the request body.
restore_file (string) – Name of the backup file to be restored on ISE node., property of the request body.
restore_include_adeos (string) – Determines whether the ADE-OS configure is restored. Possible values true, false, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- restore(backup_encryption_key=None, repository_name=None, restore_file=None, restore_include_adeos=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for restore_config_backup
- update_scheduled_config_backup(backup_description=None, backup_encryption_key=None, backup_name=None, end_date=None, frequency=None, month_day=None, repository_name=None, start_date=None, status=None, time=None, week_day=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Update the Schedule of the configuration backup on the ISE node as per the input parameters. This API only helps in editing the schedule.
- Parameters
backup_description (string) – Description of the backup., property of the request body.
backup_encryption_key (string) – The encyption key for the backed up file. Encryption key must satisfy the following criteria Contains at least one uppercase letter [A-Z], Contains at least one lowercase letter [a-z], Contains at least one digit [0-9], Contain only [A-Z][a-z][0-9]_#, Has at least 8 characters, Has not more than 15 characters, Must not contain ‘CcIiSsCco’, Must not begin with, property of the request body.
backup_name (string) – The backup file will get saved with this name., property of the request body.
end_date (string) – End date of the scheduled backup job. Allowed format MM/DD/YYYY. End date is not required in case of ONE_TIME frequency., property of the request body.
frequency (string) – Frequency with which the backup will get scheduled in the ISE node. Allowed values ONCE, DAILY, WEEKLY, MONTHLY, property of the request body. Available values are ‘ONCE’, ‘DAILY’, ‘WEEKLY’ and ‘MONTHLY’.
month_day (string) – Day of month you want backup to be performed on when scheduled frequency is MONTHLY. Allowed values from 1 to 28., property of the request body.
repository_name (string) – Name of the configured repository where the generated backup file will get copied., property of the request body.
start_date (string) – Start date for scheduling the backup job. Allowed format MM/DD/YYYY., property of the request body.
status (string) – Enable or disable scheduled backup., property of the request body. Available values are ‘ENABLE’ and ‘DISABLE’.
time (string) – Time at which backup job get scheduled. example12:00 AM, property of the request body.
week_day (string) – Day of week you want backup to be performed on when scheduled frequency is WEEKLY. Allowed values MON, TUE, WED, THU, FRI, SAT, SUN., property of the request body. Available values are ‘MON’, ‘TUE’, ‘WED’, ‘THU’, ‘FRI’, ‘SAT’ and ‘SUN’.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update(backup_description=None, backup_encryption_key=None, backup_name=None, end_date=None, frequency=None, month_day=None, repository_name=None, start_date=None, status=None, time=None, week_day=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_scheduled_config_backup
- create_scheduled_config_backup(backup_description=None, backup_encryption_key=None, backup_name=None, end_date=None, frequency=None, month_day=None, repository_name=None, start_date=None, status=None, time=None, week_day=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Schedules the configuration backup on the ISE node as per the input parameters. This API helps in creating the schedule for the first time.
- Parameters
backup_description (string) – Description of the backup., property of the request body.
backup_encryption_key (string) – The encyption key for the backed up file. Encryption key must satisfy the following criteria Contains at least one uppercase letter [A-Z], Contains at least one lowercase letter [a-z], Contains at least one digit [0-9], Contain only [A-Z][a-z][0-9]_#, Has at least 8 characters, Has not more than 15 characters, Must not contain ‘CcIiSsCco’, Must not begin with, property of the request body.
backup_name (string) – The backup file will get saved with this name., property of the request body.
end_date (string) – End date of the scheduled backup job. Allowed format MM/DD/YYYY. End date is not required in case of ONE_TIME frequency., property of the request body.
frequency (string) – Frequency with which the backup will get scheduled in the ISE node. Allowed values ONCE, DAILY, WEEKLY, MONTHLY, property of the request body. Available values are ‘ONCE’, ‘DAILY’, ‘WEEKLY’ and ‘MONTHLY’.
month_day (string) – Day of month you want backup to be performed on when scheduled frequency is MONTHLY. Allowed values from 1 to 28., property of the request body.
repository_name (string) – Name of the configured repository where the generated backup file will get copied., property of the request body.
start_date (string) – Start date for scheduling the backup job. Allowed format MM/DD/YYYY., property of the request body.
status (string) – Enable or disable scheduled backup., property of the request body. Available values are ‘ENABLE’ and ‘DISABLE’.
time (string) – Time at which backup job get scheduled. example12:00 AM, property of the request body.
week_day (string) – Day of week you want backup to be performed on when scheduled frequency is WEEKLY. Allowed values MON, TUE, WED, THU, FRI, SAT, SUN., property of the request body. Available values are ‘MON’, ‘TUE’, ‘WED’, ‘THU’, ‘FRI’, ‘SAT’ and ‘SUN’.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(backup_description=None, backup_encryption_key=None, backup_name=None, end_date=None, frequency=None, month_day=None, repository_name=None, start_date=None, status=None, time=None, week_day=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_scheduled_config_backup
certificate_profile¶
- class CertificateProfile[source]¶
Identity Services Engine CertificateProfile API (version: 3.0.0).
Wraps the Identity Services Engine CertificateProfile API and exposes the API as native Python methods that return native Python objects.
- get_certificate_profile_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a certificate profile by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_certificate_profile_by_name
- get_certificate_profile_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a certificate profile by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_certificate_profile_by_id
- update_certificate_profile_by_id(id, allowed_as_user_name=None, certificate_attribute_name=None, description=None, external_identity_store_name=None, match_mode=None, name=None, username_from=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a certificate profile.
- Parameters
allowed_as_user_name (boolean) – allowedAsUserName, property of the request body.
certificate_attribute_name (string) – Attribute name of the Certificate Profile used only when CERTIFICATE is chosen in usernameFrom. Allowed values: SUBJECT_COMMON_NAME SUBJECT_ALTERNATIVE_NAME SUBJECT_SERIAL_NUMBER SUBJECT SUBJECT_ALTERNATIVE_NAME_OTHER_NAME SUBJECT_ALTERNATIVE_NAME_EMAIL SUBJECT_ALTERNATIVE_NAME_DNS. Additional internal value ALL_SUBJECT_AND_ALTERNATIVE_NAMES is used automatically when usernameFrom=UPN, property of the request body.
description (string) – description, property of the request body.
external_identity_store_name (string) – Referred IDStore name for the Certificate Profile or [not applicable] in case no identity store is chosen, property of the request body.
id (basestring) – id, property of the request body.
match_mode (string) – Match mode of the Certificate Profile. Allowed values: NEVER RESOLVE_IDENTITY_AMBIGUITY BINARY_COMPARISON, property of the request body.
name (string) – name, property of the request body.
username_from (string) – The attribute in the certificate where the user name should be taken from. Allowed values: CERTIFICATE (for a specific attribute as defined in certificateAttributeName) UPN (for using any Subject or Alternative Name Attributes in the Certificate an option only in AD), property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, allowed_as_user_name=None, certificate_attribute_name=None, description=None, external_identity_store_name=None, match_mode=None, name=None, username_from=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_certificate_profile_by_id
- get_certificate_profile(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the certificate profiles.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_certificate_profile
- get_certificate_profile_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the certificate profiles.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_certificate_profile_generator
- create_certificate_profile(allowed_as_user_name=None, certificate_attribute_name=None, description=None, external_identity_store_name=None, id=None, match_mode=None, name=None, username_from=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to create a certificate profile.
- Parameters
allowed_as_user_name (boolean) – allowedAsUserName, property of the request body.
certificate_attribute_name (string) – Attribute name of the Certificate Profile used only when CERTIFICATE is chosen in usernameFrom. Allowed values: SUBJECT_COMMON_NAME SUBJECT_ALTERNATIVE_NAME SUBJECT_SERIAL_NUMBER SUBJECT SUBJECT_ALTERNATIVE_NAME_OTHER_NAME SUBJECT_ALTERNATIVE_NAME_EMAIL SUBJECT_ALTERNATIVE_NAME_DNS. Additional internal value ALL_SUBJECT_AND_ALTERNATIVE_NAMES is used automatically when usernameFrom=UPN, property of the request body.
description (string) – description, property of the request body.
external_identity_store_name (string) – Referred IDStore name for the Certificate Profile or [not applicable] in case no identity store is chosen, property of the request body.
id (string) – id, property of the request body.
match_mode (string) – Match mode of the Certificate Profile. Allowed values: NEVER RESOLVE_IDENTITY_AMBIGUITY BINARY_COMPARISON, property of the request body.
name (string) – name, property of the request body.
username_from (string) – The attribute in the certificate where the user name should be taken from. Allowed values: CERTIFICATE (for a specific attribute as defined in certificateAttributeName) UPN (for using any Subject or Alternative Name Attributes in the Certificate an option only in AD), property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(allowed_as_user_name=None, certificate_attribute_name=None, description=None, external_identity_store_name=None, id=None, match_mode=None, name=None, username_from=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_certificate_profile
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the certificate profile.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
certificate_template¶
- class CertificateTemplate[source]¶
Identity Services Engine CertificateTemplate API (version: 3.0.0).
Wraps the Identity Services Engine CertificateTemplate API and exposes the API as native Python methods that return native Python objects.
- get_certificate_template_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a certificate template by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_certificate_template_by_name
- get_certificate_template_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a certificate template by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_certificate_template_by_id
- get_certificate_template(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get aall the certificate templates.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_certificate_template
- get_certificate_template_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get aall the certificate templates.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_certificate_template_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the certificate template.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
certificates¶
- class Certificates[source]¶
Identity Services Engine Certificates API (version: 3.0.0).
Wraps the Identity Services Engine Certificates API and exposes the API as native Python methods that return native Python objects.
- get_csrs(filter=None, filter_type=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
This API supports Filtering, Sorting and Pagination. Filtering and Sorting supported on below mentioned attributes: friendlyName subject timeStamp Supported Date Format: yyyy-MM-dd HH:mm:ss.SSS Supported Operators: EQ, NEQ, GT and LT .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sort (basestring) – sort query parameter. sort type asc or desc.
sort_by (basestring) – sortBy query parameter. sort column by which objects needs to be sorted.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. OPERATOR DESCRIPTION EQ Equals NEQ Not Equals GT Greater Than LT Less Then STARTSW Starts With NSTARTSW Not Starts With ENDSW Ends With NENDSW Not Ends With CONTAINS Contains NCONTAINS Not Contains .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_csrs_generator(filter=None, filter_type=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
This API supports Filtering, Sorting and Pagination. Filtering and Sorting supported on below mentioned attributes: friendlyName subject timeStamp Supported Date Format: yyyy-MM-dd HH:mm:ss.SSS Supported Operators: EQ, NEQ, GT and LT .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sort (basestring) – sort query parameter. sort type asc or desc.
sort_by (basestring) – sortBy query parameter. sort column by which objects needs to be sorted.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. OPERATOR DESCRIPTION EQ Equals NEQ Not Equals GT Greater Than LT Less Then STARTSW Starts With NSTARTSW Not Starts With ENDSW Ends With NENDSW Not Ends With CONTAINS Contains NCONTAINS Not Contains .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- generate_csr(allow_wild_card_cert=None, certificate_policies=None, digest_type=None, hostnames=None, key_length=None, key_type=None, portal_group_tag=None, san_dir=None, san_dns=None, san_ip=None, san_uri=None, subject_city=None, subject_common_name=None, subject_country=None, subject_org=None, subject_org_unit=None, subject_state=None, used_for=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Generate a certificate signing request for Multi-Use, Admin, EAP Authentication, RADIUS DTLS, PxGrid, SAML, Portal and IMS Services. Following Parameters are present in POST request body PARAMETER DESCRIPTION EXAMPLE hostnames List of ise node hostnames for which CSRs should be generated [ise-host1, ise- host2] allowWildCardCert Allow use of WildCards in certificates false keyLength Length of the Key used for CSR generation (required) 512 keyType Type of key used for CSR generation either RSA or ECDSA(required) RSA digestType Hash algorithm used for signing CSR(required) SHA-256 usedFor Certificate Usage(required) MULTI-USE subjectCommonName Certificate common name(CN)(required) $FQDN$ subjectOrgUnit Certificate organizational unit(OU) Engineering subjectOrg Certificate organization (O) Cisco subjectCity Certificate city or locality (L) San Jose subjectState Certificate state (ST) California subjectCountry Certificate country ( C) US sanDNS Array of SAN(Subject Alternative Name) DNS entries(optional) [ise.example.com] sanIP Array of SAN IP entries(optional) [1.1.1.1] sanURI Array of SAN URI entries(optional) [https://1.1.1.1] sanDir Array of SAN DIR entries(optional) [CN=AAA,DC=COM,C=IL] portalGroupTag Portal Group Tag when using certificate for PORTAL service Default Portal Certificate Group NOTE: For allowWildCardCert to be false, the below mentioned parameter is mandatory: hostnames When Certificate is selected to be used for Portal Service, the below mentioned parameter is mandatory: portalGroupTag .
- Parameters
allow_wild_card_cert (boolean) – allowWildCardCert, property of the request body.
certificate_policies (string) – certificatePolicies, property of the request body.
digest_type (string) – digestType, property of the request body. Available values are ‘SHA-256’, ‘SHA-384’ and ‘SHA-512’.
hostnames (list) – hostnames, property of the request body (list of strings).
key_length (string) – keyLength, property of the request body. Available values are ‘512’, ‘1024’, ‘2048’ and ‘4096’.
key_type (string) – keyType, property of the request body. Available values are ‘RSA’ and ‘ECDSA’.
portal_group_tag (string) – portalGroupTag, property of the request body.
san_dns (list) – sanDNS, property of the request body (list of strings).
san_dir (list) – sanDir, property of the request body (list of strings).
san_ip (list) – sanIP, property of the request body (list of strings).
san_uri (list) – sanURI, property of the request body (list of strings).
subject_city (string) – subjectCity, property of the request body.
subject_common_name (string) – subjectCommonName, property of the request body.
subject_country (string) – subjectCountry, property of the request body.
subject_org (string) – subjectOrg, property of the request body.
subject_org_unit (string) – subjectOrgUnit, property of the request body.
subject_state (string) – subjectState, property of the request body.
used_for (string) – usedFor, property of the request body. Available values are ‘MULTI-USE’, ‘ADMIN’, ‘EAP-AUTH’, ‘DTLS-AUTH’, ‘PORTAL’, ‘PXGRID’, ‘SAML’ and ‘IMS’.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- export_csr(hostname, id, dirpath=None, save_file=None, headers=None, **query_parameters)[source]¶
The response of this API carries a CSR corresponding to the requested ID.
- Parameters
hostname (basestring) – hostname path parameter. The hostname to which the CSR belongs.
id (basestring) – id path parameter. The ID of the CSR to be exported.
dirpath (basestring) – Directory absolute path. Defaults to os.getcwd().
save_file (bool) – Enable or disable automatic file creation of raw response.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
HTTP Response container. For more information check the urlib3 documentation
- Return type
urllib3.response.HTTPResponse
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
DownloadFailure – If was not able to download the raw
response to a file. –
- generate_intermediate_ca_csr(headers=None, **query_parameters)[source]¶
CSR Generation for Intermediate Certificates.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_csr_by_id(host_name, id, headers=None, **query_parameters)[source]¶
This API displays details of a Certificate Signing Request of a particular node based on a given HostName and ID.
- Parameters
host_name (basestring) – hostName path parameter. Name of the host of which CSR’s should be returned.
id (basestring) – id path parameter. The ID of the Certificate Signing Request returned.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_csr_by_id(host_name, id, headers=None, **query_parameters)[source]¶
This API deletes a Certificate Signing Request of a particular node based on a given HostName and ID.
- Parameters
host_name (basestring) – hostName path parameter. Name of the host of which CSR’s should be deleted.
id (basestring) – id path parameter. The ID of the Certificate Signing Request to be deleted.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- regenerate_ise_root_ca(remove_existing_ise_intermediate_csr=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API will initiate regeneration of ISE root CA certificate chain. Response contains id which can be used to track the status. Setting “removeExistingISEIntermediateCSR” to true will remove existing ISE Intermediate CSR.
- Parameters
remove_existing_ise_intermediate_csr (boolean) – Setting this attribute to true will remove existing ISE Intermediate CSR, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- renew_certificates(cert_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API will initiate regeneration of certificates. Response contains id which can be used to track the status.
- Parameters
cert_type (string) – certType, property of the request body. Available values are ‘OCSP’ and ‘IMS’.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bind_csr(admin=None, allow_extended_validity=None, allow_out_of_date_cert=None, allow_replacement_of_certificates=None, allow_replacement_of_portal_group_tag=None, data=None, eap=None, host_name=None, id=None, ims=None, name=None, portal=None, portal_group_tag=None, pxgrid=None, radius=None, saml=None, validate_certificate_extensions=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Bind CA Signed Certificate. NOTE: This API requires an existing Certificate Signing Request, and the root certificate must already be trusted. NOTE: The certificate may have a validity period longer than 398 days. It may be untrusted by many browsers. NOTE: Request Parameters accepting True and False as input can be replaced by 1 and 0 respectively. Following Parameters are used in POST body PARAMETER DESCRIPTION EXAMPLE name Friendly name of the certificate. Signed Certificate data Plain-text contents of the certificate file (required) Signed Certificate in escaped format allowExtendedValidity Allow the certificates greater than validity of 398 days (required) false allowOutOfDateCert Allow out of date certificates (required) false allowReplacementOfCertificates Allow Replacement of certificates (required) false allowReplacementOfPortalGroupTag Allow Replacement of Portal Group Tag (required) false admin Use certificate to authenticate the ISE Admin Portal false eap Use certificate for EAP protocols that use SSL/TLS tunneling false radius Use certificate for RADSec server false pxgrid Use certificate for the pxGrid Controller false ims Use certificate for the ISE Messaging Service false saml Use certificate for SAML Signing false portal Use certificate for portal false portalGroupTag Portal Group Tag for using certificate with portal role Default Portal Certificate Group validateCertificateExtensions Validate Certificate Extensions false Following Roles can be used in any combinations ROLE DEFAULT WARNING Admin False Enabling Admin role for this certificate will cause an application server restart on the selected node. Note: Make sure required Certificate Chain is imported under Trusted Certificates EAP Authentication False Only one system certificate can be used for EAP. Assigning EAP to this certificate will remove the assignment from another certificate. Note: Make sure required Certificate Chain is imported under Trusted Certificates RADIUS DTLS False Only one system certificate can be used for DTLS. Assigning DTLS to this certificate will remove the assignment from another certificate. Note: Make sure required Certificate Chain is imported under Trusted Certificates SAML False SAML cannot be used with other Usage. Enabling SAML will uncheck all other Usage. Note: Make sure required Certificate Chain is imported under Trusted Certificates .
- Parameters
admin (boolean) – Use certificate to authenticate the ISE Admin Portal, property of the request body.
allow_extended_validity (boolean) – Allow import of certificates with validity greater than 398 days, property of the request body.
allow_out_of_date_cert (boolean) – Allow out of date certificates (required), property of the request body.
allow_replacement_of_certificates (boolean) – Allow Replacement of certificates (required), property of the request body.
allow_replacement_of_portal_group_tag (boolean) – Allow Replacement of Portal Group Tag (required), property of the request body.
data (string) – Signed Certificate in escaped format, property of the request body.
eap (boolean) – Use certificate for EAP protocols that use SSL/TLS tunneling, property of the request body.
host_name (string) – Name of Host whose CSR ID has been provided, property of the request body.
id (string) – ID of the generated CSR, property of the request body.
ims (boolean) – Use certificate for the ISE Messaging Service, property of the request body.
name (string) – Friendly Name of the certificate, property of the request body.
portal (boolean) – Use for portal, property of the request body.
portal_group_tag (string) – Set Group tag, property of the request body.
pxgrid (boolean) – Use certificate for the pxGrid Controller, property of the request body.
radius (boolean) – Use certificate for the RADSec server, property of the request body.
saml (boolean) – Use certificate for SAML Signing, property of the request body.
validate_certificate_extensions (boolean) – Validate Certificate Extensions, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- export_system_certificate(export=None, id=None, password=None, dirpath=None, save_file=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Export System Certificate. Following Parameters are used in POST body PARAMETER DESCRIPTION EXAMPLE id ID of a System Certificate(required) < SYSTEM_CERT_ID > export One of the below option is required “CERTIFICATE” : Export only Certificate without Private Key “CERTIFICATE_WITH_PRIVATE_KEY” : Export both Certificate and Private Key( “certificatePassword” is required) CERTIFICATE_WITH_PRIVATE_KEY password Certificate Password (required if “export” : CERTIFICATE_WITH_PRIVATE_KEY ) Password Constraints: Alphanumeric Minimum of 8 Characters Maximum of 100 Characters Passw*** NOTE: The response of this API carries a ZIP file containing the certificate and private key if “export” : “CERTIFICATE_WITH_PRIVATE_KEY” in the request. If “export” : “CERTIFICATE” in request body, the response carries a ZIP file containing only the certificate. WARNING: Exporting a private key is not a secure operation. It could lead to possible exposure of the private key. .
- Parameters
export (string) – export, property of the request body. Available values are ‘CERTIFICATE’ and ‘CERTIFICATE_WITH_PRIVATE_KEY’.
id (string) – id, property of the request body.
password (string) – password, property of the request body.
dirpath (basestring) – Directory absolute path. Defaults to os.getcwd().
save_file (bool) – Enable or disable automatic file creation of raw response.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
HTTP Response container. For more information check the urlib3 documentation
- Return type
urllib3.response.HTTPResponse
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
DownloadFailure – If was not able to download the raw
response to a file. –
- import_system_certificate(admin=None, allow_extended_validity=None, allow_out_of_date_cert=None, allow_replacement_of_certificates=None, allow_replacement_of_portal_group_tag=None, allow_sha1_certificates=None, allow_wild_card_certificates=None, data=None, eap=None, ims=None, name=None, password=None, portal=None, portal_group_tag=None, private_key_data=None, pxgrid=None, radius=None, saml=None, validate_certificate_extensions=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Import an X509 certificate as a system certificate. NOTE: The certificate may have a validity period longer than 398 days. It may be untrusted by many browsers. NOTE: Request Parameters accepting True and False as input can be replaced by 1 and 0 respectively. Following Parameters are used in POST body PARAMETER DESCRIPTION EXAMPLE name Friendly name of the certificate. System Certificate password Password of the certificate to be imported (required). Passw*** data Plain-text contents of the certificate file (required) System Certificate in escaped format privateKeyData Plain-text contents of the private key file (required) System Certificate Private Key in escaped format allowOutOfDateCert Allow out of date certificates (required) false allowSHA1Certificates Allow SHA1 based certificates (required) false allowExtendedValidity Allow the certificates greater than validity of 398 days (required) false admin Use certificate to authenticate the ISE Admin Portal false eap Use certificate for EAP protocols that use SSL/TLS tunneling false radius Use certificate for RADSec server false pxgrid Use certificate for the pxGrid Controller false ims Use certificate for the ISE Messaging Service false saml Use certificate for SAML Signing false portal Use certificate for portal false portalGroupTag Portal Group Tag for using certificate with portal role Default Portal Certificate Group allowReplacementOfPortalGroupTag Allow Replacement of Portal Group Tag (required) false allowWildCardCertificates Allow use of WildCards in certificates false validateCertificateExtensions Validate Certificate Extensions false Following Roles can be used in any combinations ROLE DEFAULT WARNING Admin False Enabling Admin role for this certificate will cause an application server restart on the selected node. Note: Make sure required Certificate Chain is imported under Trusted Certificates EAP Authentication False Only one system certificate can be used for EAP. Assigning EAP to this certificate will remove the assignment from another certificate. Note: Make sure required Certificate Chain is imported under Trusted Certificates RADIUS DTLS False Only one system certificate can be used for DTLS. Assigning DTLS to this certificate will remove the assignment from another certificate. Note: Make sure required Certificate Chain is imported under Trusted Certificates SAML False SAML cannot be used with other Usage. Enabling SAML will uncheck all other Usage. Note: Make sure required Certificate Chain is imported under Trusted Certificates .
- Parameters
admin (boolean) – Use certificate to authenticate the ISE Admin Portal, property of the request body.
allow_extended_validity (boolean) – Allow import of certificates with validity greater than 398 days, property of the request body.
allow_out_of_date_cert (boolean) – Allow out of date certificates (required), property of the request body.
allow_replacement_of_certificates (boolean) – Allow Replacement of certificates (required), property of the request body.
allow_replacement_of_portal_group_tag (boolean) – Allow Replacement of Portal Group Tag (required), property of the request body.
allow_sha1_certificates (boolean) – Allow SHA1 based certificates (required), property of the request body.
allow_wild_card_certificates (boolean) – Allow Wildcard Certificates, property of the request body.
data (string) – Certificate Content (required), property of the request body.
eap (boolean) – Use certificate for EAP protocols that use SSL/TLS tunneling, property of the request body.
ims (boolean) – Use certificate for the ISE Messaging Service, property of the request body.
name (string) – Name of the certificate, property of the request body.
password (string) – Certificate Password (required)., property of the request body.
portal (boolean) – Use for portal, property of the request body.
portal_group_tag (string) – Set Group tag, property of the request body.
private_key_data (string) – Private Key data (required), property of the request body.
pxgrid (boolean) – Use certificate for the pxGrid Controller, property of the request body.
radius (boolean) – Use certificate for the RADSec server, property of the request body.
saml (boolean) – Use certificate for SAML Signing, property of the request body.
validate_certificate_extensions (boolean) – Validate Certificate Extensions, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_system_certificates(host_name, filter=None, filter_type=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
This API supports Filtering, Sorting and Pagination. Filtering and Sorting supported on below mentioned attributes: friendlyName issuedTo issuedBy validFrom Supported Date Format: yyyy-MM-dd HH:mm:ss Supported Operators: EQ, NEQ, GT and LT expirationDate Supported Date Format: yyyy-MM-dd HH:mm:ss Supported Operators: EQ, NEQ, GT and LT .
- Parameters
host_name (basestring) – hostName path parameter. Name of the host of which system certificates should be returned.
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sort (basestring) – sort query parameter. sort type asc or desc.
sort_by (basestring) – sortBy query parameter. sort column by which objects needs to be sorted.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. OPERATOR DESCRIPTION EQ Equals NEQ Not Equals GT Greater Than LT Less Then STARTSW Starts With NSTARTSW Not Starts With ENDSW Ends With NENDSW Not Ends With CONTAINS Contains NCONTAINS Not Contains .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_system_certificates_generator(host_name, filter=None, filter_type=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
This API supports Filtering, Sorting and Pagination. Filtering and Sorting supported on below mentioned attributes: friendlyName issuedTo issuedBy validFrom Supported Date Format: yyyy-MM-dd HH:mm:ss Supported Operators: EQ, NEQ, GT and LT expirationDate Supported Date Format: yyyy-MM-dd HH:mm:ss Supported Operators: EQ, NEQ, GT and LT .
- Parameters
host_name (basestring) – hostName path parameter. Name of the host of which system certificates should be returned.
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sort (basestring) – sort query parameter. sort type asc or desc.
sort_by (basestring) – sortBy query parameter. sort column by which objects needs to be sorted.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. OPERATOR DESCRIPTION EQ Equals NEQ Not Equals GT Greater Than LT Less Then STARTSW Starts With NSTARTSW Not Starts With ENDSW Ends With NENDSW Not Ends With CONTAINS Contains NCONTAINS Not Contains .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_system_certificate_by_id(host_name, id, headers=None, **query_parameters)[source]¶
This API displays details of a System Certificate of a particular node based on a given HostName and ID.
- Parameters
host_name (basestring) – hostName path parameter. Name of the host of which system certificates should be returned.
id (basestring) – id path parameter. The id of the system certificate.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_system_certificate(host_name, id, admin=None, allow_replacement_of_portal_group_tag=None, description=None, eap=None, expiration_ttl_period=None, expiration_ttl_units=None, ims=None, name=None, portal=None, portal_group_tag=None, pxgrid=None, radius=None, renew_self_signed_certificate=None, saml=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Update a System Certificate. NOTE: Renewing a certificate will cause an application server restart on the selected node. NOTE: Request Parameters accepting True and False as input can be replaced by 1 and 0 respectively. Following Parameters are used in POST body PARAMETER DESCRIPTION EXAMPLE name Friendly name of the certificate. System Certificate description Description of the Certificate Default Description admin Use certificate to authenticate the ISE Admin Portal false eap Use certificate for EAP protocols that use SSL/TLS tunneling false radius Use certificate for RADSec server false pxgrid Use certificate for the pxGrid Controller false ims Use certificate for the ISE Messaging Service false saml Use certificate for SAML Signing false portal Use certificate for portal false portalGroupTag Portal Group Tag for using certificate with portal role Default Portal Certificate Group allowReplacementOfPortalGroupTag Allow Replacement of Portal Group Tag (required) false renewSelfSignedCertificate Renew Self Signed Certificate false expirationTTLPeriod Expiration Period 365 expirationTTLUnits Expiration Units in one of the below formats days / weeks / months / years days Following Roles can be used in any combinations ROLE DEFAULT WARNING Admin False Enabling Admin role for this certificate will cause an application server restart on the selected node. Note: Make sure required Certificate Chain is imported under Trusted Certificates EAP Authentication False Only one system certificate can be used for EAP. Assigning EAP to this certificate will remove the assignment from another certificate. Note: Make sure required Certificate Chain is imported under Trusted Certificates RADIUS DTLS False Only one system certificate can be used for DTLS. Assigning DTLS to this certificate will remove the assignment from another certificate. Note: Make sure required Certificate Chain is imported under Trusted Certificates SAML False SAML cannot be used with other Usage. Enabling SAML will uncheck all other Usage. Note: Make sure required Certificate Chain is imported under Trusted Certificates .
- Parameters
admin (boolean) – Use certificate to authenticate the ISE Admin Portal, property of the request body.
allow_replacement_of_portal_group_tag (boolean) – Allow Replacement of Portal Group Tag (required), property of the request body.
description (string) – Description of System Certificate, property of the request body.
eap (boolean) – Use certificate for EAP protocols that use SSL/TLS tunneling, property of the request body.
expiration_ttl_period (integer) – expirationTTLPeriod, property of the request body.
expiration_ttl_units (string) – expirationTTLUnits, property of the request body. Available values are ‘days’, ‘weeks’, ‘months’ and ‘years’.
ims (boolean) – Use certificate for the ISE Messaging Service, property of the request body.
name (string) – Name of the certificate, property of the request body.
portal (boolean) – Use for portal, property of the request body.
portal_group_tag (string) – Set Group tag, property of the request body.
pxgrid (boolean) – Use certificate for the pxGrid Controller, property of the request body.
radius (boolean) – Use certificate for the RADSec server, property of the request body.
renew_self_signed_certificate (boolean) – Renew Self Signed Certificate, property of the request body.
saml (boolean) – Use certificate for SAML Signing, property of the request body.
id (basestring) – id path parameter. The ID of the System Certificate to be updated.
host_name (basestring) – hostName path parameter. Name of Host whose certificate needs to be updated.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_system_certificate_by_id(host_name, id, headers=None, **query_parameters)[source]¶
This API deletes a System Certificate of a particular node based on a given HostName and ID.
- Parameters
host_name (basestring) – hostName path parameter. Name of the host from which the System Certificate needs to be deleted.
id (basestring) – id path parameter. The ID of the System Certificate to be deleted.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_trusted_certificates(filter=None, filter_type=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
This API supports Filtering, Sorting and Pagination. Filtering and Sorting supported on below mentioned attributes: friendlyName subject issuedTo issuedBy validFrom Supported Date Format: yyyy-MM- dd HH:mm:ss Supported Operators: EQ, NEQ, GT and LT expirationDate Supported Date Format: yyyy-MM-dd HH:mm:ss Supported Operators: EQ, NEQ, GT and LT status Allowed values: enabled, disabled Supported Operators: EQ, NEQ .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sort (basestring) – sort query parameter. sort type asc or desc.
sort_by (basestring) – sortBy query parameter. sort column by which objects needs to be sorted.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. OPERATOR DESCRIPTION EQ Equals NEQ Not Equals GT Greater Than LT Less Then STARTSW Starts With NSTARTSW Not Starts With ENDSW Ends With NENDSW Not Ends With CONTAINS Contains NCONTAINS Not Contains .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_trusted_certificates_generator(filter=None, filter_type=None, page=None, size=None, sort=None, sort_by=None, headers=None, **query_parameters)[source]¶
This API supports Filtering, Sorting and Pagination. Filtering and Sorting supported on below mentioned attributes: friendlyName subject issuedTo issuedBy validFrom Supported Date Format: yyyy-MM- dd HH:mm:ss Supported Operators: EQ, NEQ, GT and LT expirationDate Supported Date Format: yyyy-MM-dd HH:mm:ss Supported Operators: EQ, NEQ, GT and LT status Allowed values: enabled, disabled Supported Operators: EQ, NEQ .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sort (basestring) – sort query parameter. sort type asc or desc.
sort_by (basestring) – sortBy query parameter. sort column by which objects needs to be sorted.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. OPERATOR DESCRIPTION EQ Equals NEQ Not Equals GT Greater Than LT Less Then STARTSW Starts With NSTARTSW Not Starts With ENDSW Ends With NENDSW Not Ends With CONTAINS Contains NCONTAINS Not Contains .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- export_trusted_certificate(id, dirpath=None, save_file=None, headers=None, **query_parameters)[source]¶
The response of this API carries a trusted certificate file mapped to the requested id.
- Parameters
id (basestring) – id path parameter. The ID of the Trusted Certificate to be exported.
dirpath (basestring) – Directory absolute path. Defaults to os.getcwd().
save_file (bool) – Enable or disable automatic file creation of raw response.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
HTTP Response container. For more information check the urlib3 documentation
- Return type
urllib3.response.HTTPResponse
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
DownloadFailure – If was not able to download the raw
response to a file. –
- import_trust_certificate(allow_basic_constraint_cafalse=None, allow_out_of_date_cert=None, allow_sha1_certificates=None, data=None, description=None, name=None, trust_for_certificate_based_admin_auth=None, trust_for_cisco_services_auth=None, trust_for_client_auth=None, trust_for_ise_auth=None, validate_certificate_extensions=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Import an X509 certificate as a trust certificate. NOTE: Request Parameters accepting True and False as input can be replaced by 1 and 0 respectively. Following Parameters are used in POST body PARAMETER DESCRIPTION EXAMPLE name Friendly name of the certificate Trust Certificate description Description of the certificate Passw*** data Plain-text contents of the certificate file (required) Trust Certificate in escaped format allowOutOfDateCert Allow out of date certificates (required) false allowSHA1Certificates Allow SHA1 based certificates (required) false trustForIseAuth Trust for authentication within ISE false trustForClientAuth Trust for client authentication and Syslog false trustForCertificateBasedAdminAuth Trust for Certificate based Admin authentication false trustForCiscoServicesAuth Trust for authentication of Cisco Services false validateCertificateExtensions Validate extensions for trust certificate false NOTE: If name is not set, a default name of the following format will be generated: common-name#issuer#nnnnn where “nnnnn” is a unique number. You can always change the friendly name later by editing the certificate. You must choose how this certificate will be trusted in ISE. The objective here is to distinguish between certificates that are used for trust within an ISE deployment and public certificates that are used to trust Cisco services. Typically, you will not want to use a given certificate for both purposes. Trusted For Usage Authentication within ISE Use “trustForIseAuth”:true if the certificate is used for trust within ISE, such as for secure communication between ISE nodes Client authentication and Syslog Use “trustForClientAuth”:true if the certificate is to be used for authentication of endpoints that contact ISE over the EAP protocol. Also check this box if certificate is used to trust a Syslog server. Make sure to have keyCertSign bit asserted under KeyUsage extension for this certificate. Note: “” can be set true only if the “trustForIseAuth” has been set true. Certificate based admin authentication Use “trustForCertificateBasedAdminAuth”:true if the certificate is used for trust within ISE, such as for secure communication between ISE nodes Note: “trustForCertificateBasedAdminAuth” can be set true only if “trustForIseAuth” and “trustForClientAuth” are true. Authentication of Cisco Services Use “trustForCiscoServicesAuth”:true if the certificate is to be used for trusting external Cisco services, such as Feed Service. .
- Parameters
allow_basic_constraint_cafalse (boolean) – Allow Certificates with Basic Constraints CA Field as False (required), property of the request body.
allow_out_of_date_cert (boolean) – Allow out of date certificates (required), property of the request body.
allow_sha1_certificates (boolean) – Allow SHA1 based certificates (required), property of the request body.
data (string) – Certificate content (required), property of the request body.
description (string) – Description of the certificate, property of the request body.
name (string) – Name of the certificate, property of the request body.
trust_for_certificate_based_admin_auth (boolean) – Trust for Certificate based Admin authentication, property of the request body.
trust_for_cisco_services_auth (boolean) – Trust for authentication of Cisco Services, property of the request body.
trust_for_client_auth (boolean) – Trust for client authentication and Syslog, property of the request body.
trust_for_ise_auth (boolean) – Trust for authentication within ISE, property of the request body.
validate_certificate_extensions (boolean) – Validate trust certificate extension, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_trusted_certificate_by_id(id, headers=None, **query_parameters)[source]¶
This API can displays details of a Trust Certificate based on a given ID.
- Parameters
id (basestring) – id path parameter. The id of the trust certificate.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_trusted_certificate(id, authenticate_before_crl_received=None, automatic_crl_update=None, automatic_crl_update_period=None, automatic_crl_update_units=None, crl_distribution_url=None, crl_download_failure_retries=None, crl_download_failure_retries_units=None, description=None, download_crl=None, enable_ocsp_validation=None, enable_server_identity_check=None, ignore_crl_expiration=None, name=None, non_automatic_crl_update_period=None, non_automatic_crl_update_units=None, reject_if_no_status_from_ocs_p=None, reject_if_unreachable_from_ocs_p=None, selected_ocsp_service=None, status=None, trust_for_certificate_based_admin_auth=None, trust_for_cisco_services_auth=None, trust_for_client_auth=None, trust_for_ise_auth=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Update a trusted certificate present in ISE trust store. Following Parameters are used in PUT request body PARAMETER DESCRIPTION EXAMPLE name Friendly name of the certificate(required) Trust Certificate status Status of the certificate Enabled description Description of the certificate Certificate for secure connection to cisco.com trustForIseAuth Trust for authentication within ISE false trustForClientAuth Trust for client authentication and Syslog false trustForCertificateBasedAdminAuth Trust for Certificate based Admin authentication false trustForCiscoServicesAuth Trust for authentication of Cisco Services false enableOCSPValidation Switch to enable/disable OCSP Validation false selectedOCSPService Name of selected OCSP Service INTERNAL_OCSP_SERVICE rejectIfNoStatusFromOCSP Switch to reject certificate if there is no status from OCSP false rejectIfUnreachableFromOCSP Switch to reject certificate if unreachable from OCSP false downloadCRL Switch to enable/disable download of CRL false crlDistributionUrl Certificate Revocation List Distribution URL automaticCRLUpdate Switch to enable/disable automatic CRL update false automaticCRLUpdatePeriod Automatic CRL update period 5 automaticCRLUpdateUnits Unit of time for automatic CRL update Minutes nonAutomaticCRLUpdatePeriod Non automatic CRL update period 1 nonAutomaticCRLUpdateUnits Unit of time of non automatic CRL update Hours crlDownloadFailureRetries If CRL download fails, wait time before retry 10 crlDownloadFailureRetriesUnits Unit of time before retry if CRL download fails Minutes enableServerIdentityCheck Switch to enable/disable verification if HTTPS or LDAP server certificate name fits the configured server URL false authenticateBeforeCRLReceived Switch to enable/disable CRL Verification if CRL is not Received false ignoreCRLExpiration Switch to enable/disable ignore CRL Expiration false Trusted For Usage Authentication within ISE Use “trustForIseAuth”:true if the certificate is used for trust within ISE, such as for secure communication between ISE nodes Client authentication and Syslog Use “trustForClientAuth”:true if the certificate is to be used for authentication of endpoints that contact ISE over the EAP protocol. Also check this box if certificate is used to trust a Syslog server. Make sure to have keyCertSign bit asserted under KeyUsage extension for this certificate. Note: “trustForClientAuth” can be set true only if the “trustForIseAuth” has been set true. Certificate based admin authentication Use “trustForCertificateBasedAdminAuth”:true if the certificate is used for trust within ISE, such as for secure communication between ISE nodes Note: “trustForCertificateBasedAdminAuth” can be set true only if “trustForIseAuth” and “trustForClientAuth” are true. Authentication of Cisco Services Use “trustForCiscoServicesAuth”:true if the certificate is to be used for trusting external Cisco services, such as Feed Service. OCSP Configuration Usage Validation against OCSP service Use “enableOCSPValidation”:true to validate the certificate against OCSP service mentioned in the field selectedOCSPService OCSP Service name Use “selectedOCSPService”:”Name of OCSP Service” Name of the OCSP service against which the certificate should be validated Note: “selectedOCSPService” value will on be used if “enableOCSPValidation” has been set true. Reject the request if OCSP returns UNKNOWN status Use “rejectIfNoStatusFromOCSP”:true to reject the certificate if the OCSP service returns UNKNOWN status Note: “rejectIfNoStatusFromOCSP:true” can be used only if “enableOCSPValidation” has been set true. Reject the request if OCSP Responder is unreachable Use “rejectIfUnreachableFromOCSP”:true to reject the certificate if the OCSP service is unreachable. Note: “rejectIfUnreachableFromOCSP:true” can be used only if “enableOCSPValidation” has been set true. Certificate Revocation List Configuration Usage Validation against CRL Use “downloadCRL”:true to validate the certificate against CRL downloaded from URL mentioned in the field crlDistributionUrl CRL distribution url Use “crlDistributionUrl” to specify the URL from where the CRL should be downloaded Note: “crlDistributionUrl” value will only be used if “downloadCRL” has been set true. Retrieve CRL time Use “automaticCRLUpdate”:true and automaticCRLUpdatePeriod, automaticCRLUpdatePeriod to set the time before which CRL is automatically retrieved prior to expiration Use “nonAutomaticCRLUpdatePeriod, nonAutomaticCRLUpdateUnits to set the time period for CRL retrieval in loop. Note: All the above fields can be used only if “downloadCRL” has been set true. If download fails Use “crlDownloadFailureRetries” and “crlDownloadFailureRetriesUnits” to set retry time period if CRL download fails Note: “crlDownloadFailureRetries” and “crlDownloadFailureRetriesUnits” can be used only if “downloadCRL” has been set true. Enable Server Identity Check Use “enableServerIdentityCheck”:true to verify that HTTPS or LDAPS server certificate name fits the configured server URL Note: “enableServerIdentityCheck:true” can be used only if “downloadCRL” has been set true. Bypass CRL Verification if CRL is not Received Use “authenticateBeforeCRLReceived”:true to bypass CRL Verification if CRL is not Received Note: “authenticateBeforeCRLReceived:true” can be used only if “downloadCRL” has been set true. Ignore that CRL is not yet valid or has expired Use “ignoreCRLExpiration”:true to ignore if CRL is not yet valid or expired Note: “ignoreCRLExpiration:true” can be used only if “downloadCRL” has been set true. Note: boolean properties accept integers values as well, with 0 considered as false and other values being considered as true .
- Parameters
authenticate_before_crl_received (boolean) – Switch to enable/disable CRL Verification if CRL is not Received, property of the request body.
automatic_crl_update (boolean) – Switch to enable/disable automatic CRL update, property of the request body.
automatic_crl_update_period (integer) – Automatic CRL update period, property of the request body.
automatic_crl_update_units (string) – Unit of time for automatic CRL update, property of the request body. Available values are ‘Minutes’, ‘Hours’, ‘Days’ and ‘Weeks’.
crl_distribution_url (string) – CRL Distribution URL, property of the request body.
crl_download_failure_retries (integer) – If CRL download fails, wait time before retry, property of the request body.
crl_download_failure_retries_units (string) – Unit of time before retry if CRL download fails, property of the request body. Available values are ‘Minutes’, ‘Hours’, ‘Days’ and ‘Weeks’.
description (string) – Description for trust certificate, property of the request body.
download_crl (boolean) – Switch to enable/disable download of CRL, property of the request body.
enable_ocsp_validation (boolean) – Switch to enable/disable OCSP Validation, property of the request body.
enable_server_identity_check (boolean) – Switch to enable/disable verification if HTTPS or LDAP server certificate name fits the configured server URL, property of the request body.
ignore_crl_expiration (boolean) – Switch to enable/disable ignore CRL Expiration, property of the request body.
name (string) – Friendly name of the certificate, property of the request body.
non_automatic_crl_update_period (integer) – Non automatic CRL update period, property of the request body.
non_automatic_crl_update_units (string) – Unit of time of non automatic CRL update, property of the request body. Available values are ‘Minutes’, ‘Hours’, ‘Days’ and ‘Weeks’.
reject_if_no_status_from_ocs_p (boolean) – Switch to reject certificate if there is no status from OCSP, property of the request body.
reject_if_unreachable_from_ocs_p (boolean) – Switch to reject certificate if unreachable from OCSP, property of the request body.
selected_ocsp_service (string) – Name of selected OCSP Service, property of the request body.
status (string) – status, property of the request body. Available values are ‘Enabled’ and ‘Disabled’.
trust_for_certificate_based_admin_auth (boolean) – Trust for Certificate based Admin authentication, property of the request body.
trust_for_cisco_services_auth (boolean) – Trust for authentication of Cisco Services, property of the request body.
trust_for_client_auth (boolean) – Trust for client authentication and Syslog, property of the request body.
trust_for_ise_auth (boolean) – Trust for authentication within ISE, property of the request body.
id (basestring) – id path parameter. The id of the trust certificate.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_trusted_certificate_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a Trust Certificate from Trusted Certificate Store based on a given ID.
- Parameters
id (basestring) – id path parameter. The ID of the Trusted Certificate to be deleted.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
clear_threats_and_vulnerabilities¶
- class ClearThreatsAndVulnerabilities[source]¶
Identity Services Engine ClearThreatsAndVulnerabilities API (version: 3.0.0).
Wraps the Identity Services Engine ClearThreatsAndVulnerabilities API and exposes the API as native Python methods that return native Python objects.
- clear_threats_and_vulnerabilities(mac_addresses=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to delete the ThreatContext and Threat events that are associated with the given MAC Address.
- Parameters
mac_addresses (string) – macAddresses, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- clear(mac_addresses=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for clear_threats_and_vulnerabilities
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the clear threats and vulneribilities.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
consumer¶
- class Consumer[source]¶
Identity Services Engine Consumer API (version: 3.0.0).
Wraps the Identity Services Engine Consumer API and exposes the API as native Python methods that return native Python objects.
- create_account(node_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
🚧 AccountCreate.
- Parameters
node_name (string) – nodeName, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(node_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_account
- activate_account(description=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
🚧 AccountActivate.
- Parameters
description (string) – description, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- lookup_service(name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
🚧 ServiceLookup.
- Parameters
name (string) – name, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- access_secret(peer_node_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
🚧 AccessSecret.
- Parameters
peer_node_name (string) – peerNodeName, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
device_administration_authentication_rules¶
- class DeviceAdministrationAuthenticationRules[source]¶
Identity Services Engine Device Administration - Authentication Rules API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Authentication Rules API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_authentication_rules(policy_id, headers=None, **query_parameters)[source]¶
Device Admin Get authentication rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(policy_id, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_authentication_rules
- create_device_admin_authentication_rule(policy_id, identity_source_id=None, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, link=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Create authentication rule.
- Parameters
identity_source_id (string) – Identity source id from the identity stores, property of the request body.
identity_source_name (string) – Identity source name from the identity stores, property of the request body.
if_auth_fail (string) – Action to perform when authentication fails such as Bad credentials, disabled user and so on, property of the request body.
if_process_fail (string) – Action to perform when ISE is uanble to access the identity database, property of the request body.
if_user_not_found (string) – Action to perform when user is not found in any of identity stores, property of the request body.
link (object) – link, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(policy_id, identity_source_id=None, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, link=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_device_admin_authentication_rule
- reset_hit_counts_device_admin_authentication_rules(policy_id, headers=None, **query_parameters)[source]¶
Device Admin Reset HitCount for Authentication Rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- reset_hit_counts_by_id(policy_id, headers=None, **query_parameters)[source]¶
Alias for reset_hit_counts_device_admin_authentication_rules
- get_device_admin_authentication_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Device Admin Get rule attributes.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_device_admin_authentication_rule_by_id(id, policy_id, identity_source_id=None, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, link=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update rule.
- Parameters
identity_source_id (string) – Identity source id from the identity stores, property of the request body.
identity_source_name (string) – Identity source name from the identity stores, property of the request body.
if_auth_fail (string) – Action to perform when authentication fails such as Bad credentials, disabled user and so on, property of the request body.
if_process_fail (string) – Action to perform when ISE is uanble to access the identity database, property of the request body.
if_user_not_found (string) – Action to perform when user is not found in any of identity stores, property of the request body.
link (object) – link, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, policy_id, identity_source_id=None, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, link=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_device_admin_authentication_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Device Admin Delete rule.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
device_administration_authorization_exception_rules¶
- class DeviceAdministrationAuthorizationExceptionRules[source]¶
Identity Services Engine Device Administration - Authorization Exception Rules API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Authorization Exception Rules API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_local_exception_rules(policy_id, headers=None, **query_parameters)[source]¶
Device Admin Get local exception rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(policy_id, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_local_exception_rules
- create_device_admin_local_exception_rule(policy_id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Create local authorization exception rule.
- Parameters
commands (list) – Command sets enforce the specified list of commands that can be executed by a device administrator, property of the request body (list of strings).
link (object) – link, property of the request body.
profile (string) – Device admin profiles control the initial login session of the device administrator, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(policy_id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_device_admin_local_exception_rule
- reset_hit_counts_device_admin_local_exceptions(policy_id, headers=None, **query_parameters)[source]¶
Device Admin Reset HitCount for local exceptions.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_device_admin_local_exception_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Device Admin Get local exception rule attributes.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_device_admin_local_exception_rule_by_id(id, policy_id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update local exception rule.
- Parameters
commands (list) – Command sets enforce the specified list of commands that can be executed by a device administrator, property of the request body (list of strings).
link (object) – link, property of the request body.
profile (string) – Device admin profiles control the initial login session of the device administrator, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, policy_id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_device_admin_local_exception_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Device Admin Delete local exception rule.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
device_administration_authorization_global_exception_rules¶
- class DeviceAdministrationAuthorizationGlobalExceptionRules[source]¶
Identity Services Engine Device Administration - Authorization Global Exception Rules API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Authorization Global Exception Rules API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_policy_set_global_exception_rules(headers=None, **query_parameters)[source]¶
Device Admin Get global execption rules.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_policy_set_global_exception_rules
- create_device_admin_policy_set_global_exception(commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Create global exception authorization rule.
- Parameters
commands (list) – Command sets enforce the specified list of commands that can be executed by a device administrator, property of the request body (list of strings).
link (object) – link, property of the request body.
profile (string) – Device admin profiles control the initial login session of the device administrator, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- reset_hit_counts_device_admin_global_exceptions(headers=None, **query_parameters)[source]¶
Device Admin Reset HitCount for Global Exceptions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_device_admin_policy_set_global_exception_by_rule_id(id, headers=None, **query_parameters)[source]¶
Device Admin Get global exception rule attribute.
- Parameters
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_policy_set_global_exception_by_rule_id
- update_device_admin_policy_set_global_exception_by_rule_id(id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update global exception authorization rule.
- Parameters
commands (list) – Command sets enforce the specified list of commands that can be executed by a device administrator, property of the request body (list of strings).
link (object) – link, property of the request body.
profile (string) – Device admin profiles control the initial login session of the device administrator, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_device_admin_policy_set_global_exception_by_rule_id
- delete_device_admin_policy_set_global_exception_by_rule_id(id, headers=None, **query_parameters)[source]¶
Device Admin Delete global exception authorization rule.
- Parameters
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_device_admin_policy_set_global_exception_by_rule_id
device_administration_authorization_rules¶
- class DeviceAdministrationAuthorizationRules[source]¶
Identity Services Engine Device Administration - Authorization Rules API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Authorization Rules API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_authorization_rules(policy_id, headers=None, **query_parameters)[source]¶
Device Admin Get authorization rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(policy_id, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_authorization_rules
- create_device_admin_authorization_rule(policy_id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Create authorization rule.
- Parameters
commands (list) – Command sets enforce the specified list of commands that can be executed by a device administrator, property of the request body (list of strings).
link (object) – link, property of the request body.
profile (string) – Device admin profiles control the initial login session of the device administrator, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(policy_id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_device_admin_authorization_rule
- reset_hit_counts_device_admin_authorization_rules(policy_id, headers=None, **query_parameters)[source]¶
Device Admin Reset HitCount for Authorization Rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_device_admin_authorization_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Device Admin Get authorization rule attributes.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_device_admin_authorization_rule_by_id(id, policy_id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update authorization rule.
- Parameters
commands (list) – Command sets enforce the specified list of commands that can be executed by a device administrator, property of the request body (list of strings).
link (object) – link, property of the request body.
profile (string) – Device admin profiles control the initial login session of the device administrator, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, policy_id, commands=None, link=None, profile=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_device_admin_authorization_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Device Admin Delete authorization rule.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
device_administration_command_set¶
- class DeviceAdministrationCommandSet[source]¶
Identity Services Engine Device Administration - Command Set API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Command Set API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_command_sets(headers=None, **query_parameters)[source]¶
Device Admin Return list of command sets. (Other CRUD APIs available throught ERS).
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_command_sets
device_administration_conditions¶
- class DeviceAdministrationConditions[source]¶
Identity Services Engine Device Administration - Conditions API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Conditions API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_conditions(headers=None, **query_parameters)[source]¶
Device Admin Returns list of library conditions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_conditions
- create_device_admin_condition(attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Creates a library condition.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (string) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (string) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_device_admin_condition
- get_device_admin_conditions_for_authentication_rules(headers=None, **query_parameters)[source]¶
Device Admin Returns list of library conditions for authentication rules.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_authentication_rules(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_conditions_for_authentication_rules
- get_device_admin_conditions_for_authorization_rules(headers=None, **query_parameters)[source]¶
Device Admin Returns list of library conditions for authorization rules.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_authorization_rules(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_conditions_for_authorization_rules
- get_device_admin_condition_by_name(name, headers=None, **query_parameters)[source]¶
Device Admin Returns a library condition.
- Parameters
name (basestring) – name path parameter. Condition name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_condition_by_name
- update_device_admin_condition_by_name(name, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update library condition using condition name.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (string) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (basestring) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
name – name path parameter. Condition name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(name, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_device_admin_condition_by_name
- delete_device_admin_condition_by_name(name, headers=None, **query_parameters)[source]¶
NDevice Admin Delete a library condition using condition Name.
- Parameters
name (basestring) – name path parameter. Condition name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_device_admin_condition_by_name
- get_device_admin_conditions_for_policy_sets(headers=None, **query_parameters)[source]¶
Device Admin Returns list of library conditions for policy sets.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_device_admin_condition_by_id(id, headers=None, **query_parameters)[source]¶
Device Admin Returns a library condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_condition_by_id
- update_device_admin_condition_by_id(id, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update library condition.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (basestring) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (string) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
id – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_device_admin_condition_by_id
- delete_device_admin_condition_by_id(id, headers=None, **query_parameters)[source]¶
Device Admin Delete a library condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_device_admin_condition_by_id
device_administration_dictionary_attributes_list¶
- class DeviceAdministrationDictionaryAttributesList[source]¶
Identity Services Engine Device Administration - Dictionary Attributes List API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Dictionary Attributes List API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_dictionaries_authentication(headers=None, **query_parameters)[source]¶
Network Access Returns list of dictionary attributes for authentication.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_device_admin_dictionaries_authorization(headers=None, **query_parameters)[source]¶
Network Access Returns list of dictionary attributes for authorization.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_device_admin_dictionaries_policy_set(headers=None, **query_parameters)[source]¶
Network Access Returns list of dictionary attributes for policyset.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_policy_set(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_dictionaries_policy_set
device_administration_identity_stores¶
- class DeviceAdministrationIdentityStores[source]¶
Identity Services Engine Device Administration - Identity Stores API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Identity Stores API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_identity_stores(headers=None, **query_parameters)[source]¶
Device Admin Return list of identity stores for authentication. (Other CRUD APIs available throught ERS).
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_identity_stores
device_administration_network_conditions¶
- class DeviceAdministrationNetworkConditions[source]¶
Identity Services Engine Device Administration - Network Conditions API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Network Conditions API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_network_conditions(headers=None, **query_parameters)[source]¶
Device Admin Returns a list of network conditions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_network_conditions
- create_device_admin_network_condition(condition_type=None, conditions=None, description=None, id=None, link=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device AdminCreates network condition.
- Parameters
condition_type (string) – This field determines the content of the conditions field, property of the request body. Available values are ‘EndstationCondition’, ‘DeviceCondition’ and ‘DevicePortCondition’.
conditions (list) – conditions, property of the request body (list of objects).
description (string) – description, property of the request body.
id (string) – id, property of the request body.
link (object) – link, property of the request body.
name (string) – Network Condition name, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(condition_type=None, conditions=None, description=None, id=None, link=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_device_admin_network_condition
- get_device_admin_network_condition_by_id(id, headers=None, **query_parameters)[source]¶
Device Admin Returns a network condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_network_condition_by_id
- update_device_admin_network_condition_by_id(id, condition_type=None, conditions=None, description=None, link=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update network condition.
- Parameters
condition_type (string) – This field determines the content of the conditions field, property of the request body. Available values are ‘EndstationCondition’, ‘DeviceCondition’ and ‘DevicePortCondition’.
conditions (list) – conditions, property of the request body (list of objects).
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
link (object) – link, property of the request body.
name (string) – Network Condition name, property of the request body.
id – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, condition_type=None, conditions=None, description=None, link=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_device_admin_network_condition_by_id(id, headers=None, **query_parameters)[source]¶
Device Admin Delete network condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
device_administration_policy_set¶
- class DeviceAdministrationPolicySet[source]¶
Identity Services Engine Device Administration - Policy Set API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Policy Set API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_policy_sets(headers=None, **query_parameters)[source]¶
Device Admin List of policy sets.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_policy_sets
- create_device_admin_policy_set(condition=None, default=None, description=None, hit_counts=None, id=None, is_proxy=None, link=None, name=None, rank=None, service_name=None, state=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Create a new policy set.
- Parameters
condition (object) – condition, property of the request body.
default (boolean) – Flag which indicates if this policy set is the default one, property of the request body.
description (string) – The description for the policy set, property of the request body.
hit_counts (integer) – The amount of times the policy was matched, property of the request body.
id (string) – Identifier for the policy set, property of the request body.
is_proxy (boolean) – Flag which indicates if the policy set service is of type ‘Proxy Sequence’ or ‘Allowed Protocols’, property of the request body.
link (object) – link, property of the request body.
name (string) – Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses], property of the request body.
rank (integer) – The rank(priority) in relation to other policy set. Lower rank is higher priority., property of the request body.
service_name (string) – Policy set service identifier Allowed Protocols,Server Sequence.., property of the request body.
state (string) – The state that the policy set is in. A disabled policy set cannot be matched., property of the request body. Available values are ‘enabled’, ‘disabled’ and ‘monitor’.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(condition=None, default=None, description=None, hit_counts=None, id=None, is_proxy=None, link=None, name=None, rank=None, service_name=None, state=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_device_admin_policy_set
- reset_hit_counts_device_admin_policy_sets(headers=None, **query_parameters)[source]¶
Device Admin Reset HitCount for PolicySets.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_device_admin_policy_set_by_id(id, headers=None, **query_parameters)[source]¶
Device Admin Get policy set attributes.
- Parameters
id (basestring) – id path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_policy_set_by_id
- update_device_admin_policy_set_by_id(id, condition=None, default=None, description=None, hit_counts=None, is_proxy=None, link=None, name=None, rank=None, service_name=None, state=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update a policy set.
- Parameters
condition (object) – condition, property of the request body.
default (boolean) – Flag which indicates if this policy set is the default one, property of the request body.
description (string) – The description for the policy set, property of the request body.
hit_counts (integer) – The amount of times the policy was matched, property of the request body.
id (basestring) – Identifier for the policy set, property of the request body.
is_proxy (boolean) – Flag which indicates if the policy set service is of type ‘Proxy Sequence’ or ‘Allowed Protocols’, property of the request body.
link (object) – link, property of the request body.
name (string) – Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses], property of the request body.
rank (integer) – The rank(priority) in relation to other policy set. Lower rank is higher priority., property of the request body.
service_name (string) – Policy set service identifier Allowed Protocols,Server Sequence.., property of the request body.
state (string) – The state that the policy set is in. A disabled policy set cannot be matched., property of the request body. Available values are ‘enabled’, ‘disabled’ and ‘monitor’.
id – id path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, condition=None, default=None, description=None, hit_counts=None, is_proxy=None, link=None, name=None, rank=None, service_name=None, state=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_device_admin_policy_set_by_id
- delete_device_admin_policy_set_by_id(id, headers=None, **query_parameters)[source]¶
Device Admin Delete a policy set.
- Parameters
id (basestring) – id path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_device_admin_policy_set_by_id
device_administration_profiles¶
- class DeviceAdministrationProfiles[source]¶
Identity Services Engine Device Administration - Profiles API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Profiles API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_profiles(headers=None, **query_parameters)[source]¶
Device Admin Returns list of profiles. (Other CRUD APIs available throught ERS).
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_profiles
device_administration_service_names¶
- class DeviceAdministrationServiceNames[source]¶
Identity Services Engine Device Administration - Service Names API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Service Names API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_service_names(headers=None, **query_parameters)[source]¶
Returns list of Allowed Protocols and Server Sequences for Device Admin Policy Set results. ‘isLocalAuthorization’ property is available only for Network Access Policy Set results of type Server Sequence. (Other CRUD APIs available throught ERS).
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_service_names
device_administration_time_date_conditions¶
- class DeviceAdministrationTimeDateConditions[source]¶
Identity Services Engine Device Administration - Time/Date Conditions API (version: 3.0.0).
Wraps the Identity Services Engine Device Administration - Time/Date Conditions API and exposes the API as native Python methods that return native Python objects.
- get_device_admin_time_conditions(headers=None, **query_parameters)[source]¶
Device Admin Returns a list of time and date conditions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_device_admin_time_conditions
- create_device_admin_time_condition(attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Creates time/date condition.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (string) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (string) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_device_admin_time_condition
- get_device_admin_time_condition_by_id(id, headers=None, **query_parameters)[source]¶
Device Admin Returns a network condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_device_admin_time_condition_by_id
- update_device_admin_time_condition_by_id(id, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Device Admin Update network condition.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (basestring) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (string) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
id – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_device_admin_time_condition_by_id
- delete_device_admin_time_condition_by_id(id, headers=None, **query_parameters)[source]¶
Device Admin Delete Time/Date condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_device_admin_time_condition_by_id
downloadable_acl¶
- class DownloadableAcl[source]¶
Identity Services Engine DownloadableACL API (version: 3.0.0).
Wraps the Identity Services Engine DownloadableACL API and exposes the API as native Python methods that return native Python objects.
- get_downloadable_acl_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a downloadable ACL by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_downloadable_acl_by_id
- update_downloadable_acl_by_id(id, dacl=None, dacl_type=None, description=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a downloadable ACL.
- Parameters
dacl (string) – The DACL Content. Use the string n for a newline, property of the request body.
dacl_type (string) – Allowed values: IPV4, IPV6, IP_AGNOSTIC, property of the request body.
description (string) – Use the string n for a newline, property of the request body.
id (basestring) – id, property of the request body.
name (string) – Resource Name. Name may contain alphanumeric or any of the following characters [_.-], property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, dacl=None, dacl_type=None, description=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_downloadable_acl_by_id
- delete_downloadable_acl_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a downloadable ACL.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_downloadable_acl_by_id
- get_downloadable_acl(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all downloadable ACLs.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_downloadable_acl
- get_downloadable_acl_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all downloadable ACLs.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_downloadable_acl_generator
- create_downloadable_acl(dacl=None, dacl_type=None, description=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a downloadable ACL.
- Parameters
dacl (string) – The DACL Content. Use the string n for a newline, property of the request body.
dacl_type (string) – Allowed values: IPV4, IPV6, IP_AGNOSTIC, property of the request body.
description (string) – Use the string n for a newline, property of the request body.
name (string) – Resource Name. Name may contain alphanumeric or any of the following characters [_.-], property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(dacl=None, dacl_type=None, description=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_downloadable_acl
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the downloadable ACL.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
egress_matrix_cell¶
- class EgressMatrixCell[source]¶
Identity Services Engine EgressMatrixCell API (version: 3.0.0).
Wraps the Identity Services Engine EgressMatrixCell API and exposes the API as native Python methods that return native Python objects.
- clear_all_matrix_cells(headers=None, **query_parameters)[source]¶
This API allows the client to clear all the egress matrix cells.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- clear(headers=None, **query_parameters)[source]¶
Alias for clear_all_matrix_cells
- set_all_cells_status(status, headers=None, **query_parameters)[source]¶
his API allows the client to set status of all the egress matrix cells.
- Parameters
status (basestring) – status path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- set_status(status, headers=None, **query_parameters)[source]¶
Alias for set_all_cells_status
- clone_matrix_cell(dst_sgt_id, id, src_sgt_id, headers=None, **query_parameters)[source]¶
This API allows the client to clone an egress matrix cell.
- Parameters
id (basestring) – id path parameter.
src_sgt_id (basestring) – srcSgtId path parameter.
dst_sgt_id (basestring) – dstSgtId path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- clone(dst_sgt_id, id, src_sgt_id, headers=None, **query_parameters)[source]¶
Alias for clone_matrix_cell
- get_egress_matrix_cell_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an egress matrix cell by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_egress_matrix_cell_by_id
- update_egress_matrix_cell_by_id(id, default_rule=None, description=None, destination_sgt_id=None, matrix_cell_status=None, name=None, sgacls=None, source_sgt_id=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an egress matrix cell.
- Parameters
default_rule (string) – Allowed values: NONE, DENY_IP, PERMIT_IP, property of the request body.
description (string) – description, property of the request body.
destination_sgt_id (string) – destinationSgtId, property of the request body.
id (basestring) – id, property of the request body.
matrix_cell_status (string) – Allowed values: DISABLED, ENABLED, MONITOR, property of the request body.
name (string) – name, property of the request body.
sgacls (list) – sgacls, property of the request body (list of strings).
source_sgt_id (string) – sourceSgtId, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, default_rule=None, description=None, destination_sgt_id=None, matrix_cell_status=None, name=None, sgacls=None, source_sgt_id=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_egress_matrix_cell_by_id
- delete_egress_matrix_cell_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an egress matrix cell.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_egress_matrix_cell_by_id
- get_egress_matrix_cell(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the egress matrix cell. Filter: [sgtSrcValue, matrixStatus, description, sgtSrcName, sgtDstName, sgtDstValue] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [description, sgtSrcName, sgtDstName, sgtDstValue].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_egress_matrix_cell
- get_egress_matrix_cell_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the egress matrix cell. Filter: [sgtSrcValue, matrixStatus, description, sgtSrcName, sgtDstName, sgtDstValue] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [description, sgtSrcName, sgtDstName, sgtDstValue].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_egress_matrix_cell_generator
- create_egress_matrix_cell(default_rule=None, description=None, destination_sgt_id=None, matrix_cell_status=None, name=None, sgacls=None, source_sgt_id=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an egress matrix cell.
- Parameters
default_rule (string) – Allowed values: NONE, DENY_IP, PERMIT_IP, property of the request body.
description (string) – description, property of the request body.
destination_sgt_id (string) – destinationSgtId, property of the request body.
matrix_cell_status (string) – Allowed values: DISABLED, ENABLED, MONITOR, property of the request body.
name (string) – name, property of the request body.
sgacls (list) – sgacls, property of the request body (list of strings).
source_sgt_id (string) – sourceSgtId, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(default_rule=None, description=None, destination_sgt_id=None, matrix_cell_status=None, name=None, sgacls=None, source_sgt_id=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_egress_matrix_cell
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the egress matrix cell.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_egress_matrix_cell(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_egress_matrix_cell
- monitor_bulk_status_egress_matrix_cell(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_egress_matrix_cell
endpoint_certificate¶
- class EndpointCertificate[source]¶
Identity Services Engine EndpointCertificate API (version: 3.0.0).
Wraps the Identity Services Engine EndpointCertificate API and exposes the API as native Python methods that return native Python objects.
- create_endpoint_certificate(cert_template_name=None, certificate_request=None, format=None, password=None, dirpath=None, save_file=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to create an endpoint certificate.
- Parameters
cert_template_name (string) – Name of an Internal CA template, property of the request body.
certificate_request (object) – Key value map. Must have CN and SAN entries, property of the request body.
format (string) – Allowed values: PKCS12, PKCS12_CHAIN, PKCS8, PKCS8_CHAIN, property of the request body.
password (string) – Protects the private key. Must have more than 8 characters, less than 15 characters, at least one upper case letter, at least one lower case letter, at least one digit, and can only contain [A-Z][a-z][0-9]_#, property of the request body.
dirpath (basestring) – Directory absolute path. Defaults to os.getcwd().
save_file (bool) – Enable or disable automatic file creation of raw response.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
HTTP Response container. For more information check the urlib3 documentation
- Return type
urllib3.response.HTTPResponse
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
DownloadFailure – If was not able to download the raw
response to a file. –
- create(cert_template_name=None, certificate_request=None, format=None, password=None, dirpath=None, save_file=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_endpoint_certificate
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the endpoint certificate.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
endpoint_identity_group¶
- class EndpointIdentityGroup[source]¶
Identity Services Engine EndpointIdentityGroup API (version: 3.0.0).
Wraps the Identity Services Engine EndpointIdentityGroup API and exposes the API as native Python methods that return native Python objects.
- get_endpoint_group_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an endpoint identity group by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_endpoint_group_by_name
- get_endpoint_group_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an endpoint identity group by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_endpoint_group_by_id
- update_endpoint_group_by_id(id, description=None, name=None, system_defined=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an endpoint identity group.
- Parameters
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
system_defined (boolean) – systemDefined, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, name=None, system_defined=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_endpoint_group_by_id
- delete_endpoint_group_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an endpoint identity group.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_endpoint_group_by_id
- get_endpoint_groups(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the endpoint identity groups. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_endpoint_groups
- get_endpoint_groups_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the endpoint identity groups. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_endpoint_groups_generator
- create_endpoint_group(description=None, name=None, system_defined=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an endpoint identity group.
- Parameters
description (string) – description, property of the request body.
name (string) – name, property of the request body.
system_defined (boolean) – systemDefined, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, name=None, system_defined=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_endpoint_group
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the endpoint identity group.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
external_radius_server¶
- class ExternalRadiusServer[source]¶
Identity Services Engine ExternalRADIUSServer API (version: 3.0.0).
Wraps the Identity Services Engine ExternalRADIUSServer API and exposes the API as native Python methods that return native Python objects.
- get_external_radius_server_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an external RADIUS server by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_external_radius_server_by_name
- get_external_radius_server_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an external RADIUS server by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_external_radius_server_by_id
- update_external_radius_server_by_id(id, accounting_port=None, authentication_port=None, authenticator_key=None, description=None, enable_key_wrap=None, encryption_key=None, host_ip=None, key_input_format=None, name=None, proxy_timeout=None, retries=None, shared_secret=None, timeout=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an external RADIUS server.
- Parameters
accounting_port (integer) – Valid Range 1 to 65535, property of the request body.
authentication_port (integer) – Valid Range 1 to 65535, property of the request body.
authenticator_key (string) – The authenticatorKey is required only if enableKeyWrap is true, otherwise it must be ignored or empty. The maximum length is 20 ASCII characters or 40 HEXADECIMAL characters (depend on selection in field ‘keyInputFormat’), property of the request body.
description (string) – description, property of the request body.
enable_key_wrap (boolean) – KeyWrap may only be enabled if it is supported on the device. When running in FIPS mode this option should be enabled for such devices, property of the request body.
encryption_key (string) – The encryptionKey is required only if enableKeyWrap is true, otherwise it must be ignored or empty. The maximum length is 16 ASCII characters or 32 HEXADECIMAL characters (depend on selection in field ‘keyInputFormat’), property of the request body.
host_ip (string) – The IP of the host must be a valid IPV4 address, property of the request body.
id (basestring) – id, property of the request body.
key_input_format (string) – Specifies the format of the input for fields ‘encryptionKey’ and ‘authenticatorKey’. Allowed Values: ASCII HEXADECIMAL, property of the request body.
name (string) – Resource Name. Allowed charactera are alphanumeric and _ (underscore)., property of the request body.
proxy_timeout (integer) – Valid Range 1 to 600, property of the request body.
retries (integer) – Valid Range 1 to 9, property of the request body.
shared_secret (string) – Shared secret maximum length is 128 characters, property of the request body.
timeout (integer) – Valid Range 1 to 120, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, accounting_port=None, authentication_port=None, authenticator_key=None, description=None, enable_key_wrap=None, encryption_key=None, host_ip=None, key_input_format=None, name=None, proxy_timeout=None, retries=None, shared_secret=None, timeout=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_external_radius_server_by_id
- delete_external_radius_server_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an external RADIUS server.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_external_radius_server_by_id
- get_external_radius_server(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the external RADIUS servers.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_external_radius_server
- get_external_radius_server_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the external RADIUS servers.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_external_radius_server_generator
- create_external_radius_server(accounting_port=None, authentication_port=None, authenticator_key=None, description=None, enable_key_wrap=None, encryption_key=None, host_ip=None, key_input_format=None, name=None, proxy_timeout=None, retries=None, shared_secret=None, timeout=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an external RADIUS server.
- Parameters
accounting_port (integer) – Valid Range 1 to 65535, property of the request body.
authentication_port (integer) – Valid Range 1 to 65535, property of the request body.
authenticator_key (string) – The authenticatorKey is required only if enableKeyWrap is true, otherwise it must be ignored or empty. The maximum length is 20 ASCII characters or 40 HEXADECIMAL characters (depend on selection in field ‘keyInputFormat’), property of the request body.
description (string) – description, property of the request body.
enable_key_wrap (boolean) – KeyWrap may only be enabled if it is supported on the device. When running in FIPS mode this option should be enabled for such devices, property of the request body.
encryption_key (string) – The encryptionKey is required only if enableKeyWrap is true, otherwise it must be ignored or empty. The maximum length is 16 ASCII characters or 32 HEXADECIMAL characters (depend on selection in field ‘keyInputFormat’), property of the request body.
host_ip (string) – The IP of the host must be a valid IPV4 address, property of the request body.
key_input_format (string) – Specifies the format of the input for fields ‘encryptionKey’ and ‘authenticatorKey’. Allowed Values: ASCII HEXADECIMAL, property of the request body.
name (string) – Resource Name. Allowed charactera are alphanumeric and _ (underscore)., property of the request body.
proxy_timeout (integer) – Valid Range 1 to 600, property of the request body.
retries (integer) – Valid Range 1 to 9, property of the request body.
shared_secret (string) – Shared secret maximum length is 128 characters, property of the request body.
timeout (integer) – Valid Range 1 to 120, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(accounting_port=None, authentication_port=None, authenticator_key=None, description=None, enable_key_wrap=None, encryption_key=None, host_ip=None, key_input_format=None, name=None, proxy_timeout=None, retries=None, shared_secret=None, timeout=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_external_radius_server
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the external RADIUS server.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
filter_policy¶
- class FilterPolicy[source]¶
Identity Services Engine FilterPolicy API (version: 3.0.0).
Wraps the Identity Services Engine FilterPolicy API and exposes the API as native Python methods that return native Python objects.
- get_filter_policy_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a filter policy by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_filter_policy_by_id
- update_filter_policy_by_id(id, domains=None, sgt=None, subnet=None, vn=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a filter policy.
- Parameters
domains (string) – List of SXP Domains, separated with comma, property of the request body.
sgt (string) – SGT name or ID. At least one of subnet or sgt or vn should be defined, property of the request body.
subnet (string) – Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined, property of the request body.
vn (string) – Virtual Network. At least one of subnet or sgt or vn should be defined, property of the request body.
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, domains=None, sgt=None, subnet=None, vn=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_filter_policy_by_id
- delete_filter_policy_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a filter policy.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_filter_policy_by_id
- get_filter_policy(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the filter policies.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_filter_policy
- get_filter_policy_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the filter policies.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_filter_policy_generator
- create_filter_policy(domains=None, sgt=None, subnet=None, vn=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a filter policy.
- Parameters
domains (string) – List of SXP Domains, separated with comma, property of the request body.
sgt (string) – SGT name or ID. At least one of subnet or sgt or vn should be defined, property of the request body.
subnet (string) – Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined, property of the request body.
vn (string) – Virtual Network. At least one of subnet or sgt or vn should be defined, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(domains=None, sgt=None, subnet=None, vn=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_filter_policy
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the filter policy.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
guest_location¶
- class GuestLocation[source]¶
Identity Services Engine GuestLocation API (version: 3.0.0).
Wraps the Identity Services Engine GuestLocation API and exposes the API as native Python methods that return native Python objects.
- get_guest_location_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a guest location by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_guest_location_by_id
- get_guest_location(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest locations. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_location
- get_guest_location_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest locations. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_location_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the guest location.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
guest_smtp_notification_configuration¶
- class GuestSmtpNotificationConfiguration[source]¶
Identity Services Engine GuestSMTPNotificationConfiguration API (version: 3.0.0).
Wraps the Identity Services Engine GuestSMTPNotificationConfiguration API and exposes the API as native Python methods that return native Python objects.
- get_guest_smtp_notification_settings_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a guest SMTP notification configuration by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_guest_smtp_notification_settings_by_id(id, connection_timeout=None, default_from_address=None, notification_enabled=None, password=None, smtp_port=None, smtp_server=None, use_default_from_address=None, use_password_authentication=None, use_tlsor_ssl_encryption=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a SMTP configuration setting.
- Parameters
connection_timeout (string) – Interval in seconds for all the SMTP client connections, property of the request body.
default_from_address (string) – The default from email address to be used to send emails from, property of the request body.
id (basestring) – id, property of the request body.
notification_enabled (boolean) – Indicates if the email notification service is to be enabled, property of the request body.
password (string) – Password of Secure SMTP server, property of the request body.
smtp_port (string) – Port at which SMTP Secure Server is listening, property of the request body.
smtp_server (string) – The SMTP server ip address or fqdn such as outbound.mycompany.com, property of the request body.
use_default_from_address (boolean) – If the default from address should be used rather than using a sponsor user email address, property of the request body.
use_password_authentication (boolean) – If configured to true, SMTP server authentication will happen using username/password, property of the request body.
use_tlsor_ssl_encryption (boolean) – If configured to true, SMTP server authentication will happen using TLS/SSL, property of the request body.
user_name (string) – Username of Secure SMTP server, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, connection_timeout=None, default_from_address=None, notification_enabled=None, password=None, smtp_port=None, smtp_server=None, use_default_from_address=None, use_password_authentication=None, use_tlsor_ssl_encryption=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- get_guest_smtp_notification_settings(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest SMTP notification configurations. Filter: [name] To search guest users by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_smtp_notification_settings
- get_guest_smtp_notification_settings_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest SMTP notification configurations. Filter: [name] To search guest users by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
- create_guest_smtp_notification_settings(connection_timeout=None, default_from_address=None, notification_enabled=None, password=None, smtp_port=None, smtp_server=None, use_default_from_address=None, use_password_authentication=None, use_tlsor_ssl_encryption=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a guest SMTP notification configuration.
- Parameters
connection_timeout (string) – Interval in seconds for all the SMTP client connections, property of the request body.
default_from_address (string) – The default from email address to be used to send emails from, property of the request body.
notification_enabled (boolean) – Indicates if the email notification service is to be enabled, property of the request body.
password (string) – Password of Secure SMTP server, property of the request body.
smtp_port (string) – Port at which SMTP Secure Server is listening, property of the request body.
smtp_server (string) – The SMTP server ip address or fqdn such as outbound.mycompany.com, property of the request body.
use_default_from_address (boolean) – If the default from address should be used rather than using a sponsor user email address, property of the request body.
use_password_authentication (boolean) – If configured to true, SMTP server authentication will happen using username/password, property of the request body.
use_tlsor_ssl_encryption (boolean) – If configured to true, SMTP server authentication will happen using TLS/SSL, property of the request body.
user_name (string) – Username of Secure SMTP server, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(connection_timeout=None, default_from_address=None, notification_enabled=None, password=None, smtp_port=None, smtp_server=None, use_default_from_address=None, use_password_authentication=None, use_tlsor_ssl_encryption=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_guest_smtp_notification_settings
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the guest smtp notification configuration.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
guest_ssid¶
- class GuestSsid[source]¶
Identity Services Engine GuestSSID API (version: 3.0.0).
Wraps the Identity Services Engine GuestSSID API and exposes the API as native Python methods that return native Python objects.
- get_guest_ssid_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a guest SSID by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_guest_ssid_by_id
- update_guest_ssid_by_id(id, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a guest SSID by ID.
- Parameters
id (basestring) – id, property of the request body.
name (string) – Resource Name. Name may contain alphanumeric or any of the following characters [_.-], property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_guest_ssid_by_id
- delete_guest_ssid_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a guest SSID by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_guest_ssid_by_id
- get_guest_ssid(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest SSIDs. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_ssid
- get_guest_ssid_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest SSIDs. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_ssid_generator
- create_guest_ssid(name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a guest SSID.
- Parameters
name (string) – Resource Name. Name may contain alphanumeric or any of the following characters [_.-], property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_guest_ssid
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the guest SSID.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
guest_type¶
- class GuestType[source]¶
Identity Services Engine GuestType API (version: 3.0.0).
Wraps the Identity Services Engine GuestType API and exposes the API as native Python methods that return native Python objects.
- update_guest_type_email(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a guest type email by ID.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_email(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_guest_type_email
- update_guest_type_sms(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a guest type sms by ID.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_sms(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_guest_type_sms
- get_guest_type_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a guest type by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_guest_type_by_id
- update_guest_type_by_id(id, access_time=None, description=None, expiration_notification=None, is_default_type=None, login_options=None, name=None, sponsor_groups=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a guest type.
- Parameters
access_time (object) – accessTime, property of the request body.
description (string) – description, property of the request body.
expiration_notification (object) – Expiration Notification Settings, property of the request body.
id (basestring) – id, property of the request body.
is_default_type (boolean) – isDefaultType, property of the request body.
login_options (object) – loginOptions, property of the request body.
name (string) – name, property of the request body.
sponsor_groups (list) – sponsorGroups, property of the request body (list of strings).
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, access_time=None, description=None, expiration_notification=None, is_default_type=None, login_options=None, name=None, sponsor_groups=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_guest_type_by_id
- delete_guest_type_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a guest type.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_guest_type_by_id
- get_guest_type(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest types. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_type
- get_guest_type_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest types. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_type_generator
- create_guest_type(access_time=None, description=None, expiration_notification=None, is_default_type=None, login_options=None, name=None, sponsor_groups=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a guest type.
- Parameters
access_time (object) – accessTime, property of the request body.
description (string) – description, property of the request body.
expiration_notification (object) – Expiration Notification Settings, property of the request body.
is_default_type (boolean) – isDefaultType, property of the request body.
login_options (object) – loginOptions, property of the request body.
name (string) – name, property of the request body.
sponsor_groups (list) – sponsorGroups, property of the request body (list of strings).
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(access_time=None, description=None, expiration_notification=None, is_default_type=None, login_options=None, name=None, sponsor_groups=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_guest_type
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the guest type.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
guest_user¶
- class GuestUser[source]¶
Identity Services Engine GuestUser API (version: 3.0.0).
Wraps the Identity Services Engine GuestUser API and exposes the API as native Python methods that return native Python objects.
- approve_guest_user_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to approve a guest user by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- approve_by_id(id, headers=None, **query_parameters)[source]¶
Alias for approve_guest_user_by_id
- change_sponsor_password(portal_id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to change the sponsor password.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
portal_id (basestring) – portalId path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- suspend_guest_user_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to suspend a guest user by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- suspend_by_name(name, headers=None, **query_parameters)[source]¶
Alias for suspend_guest_user_by_name
- reinstate_guest_user_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to reinstate a guest user by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- reinstate_by_name(name, headers=None, **query_parameters)[source]¶
Alias for reinstate_guest_user_by_name
- get_guest_user_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a guest user by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_guest_user_by_name
- update_guest_user_by_name(name, custom_fields=None, description=None, guest_access_info=None, guest_info=None, guest_type=None, id=None, portal_id=None, reason_for_visit=None, sponsor_user_id=None, sponsor_user_name=None, status=None, status_reason=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a guest user by name.
- Parameters
custom_fields (object) – Key value map, property of the request body.
description (string) – description, property of the request body.
guest_access_info (object) – guestAccessInfo, property of the request body.
guest_info (object) – guestInfo, property of the request body.
guest_type (string) – guestType, property of the request body.
id (string) – id, property of the request body.
name (basestring) – name, property of the request body.
portal_id (string) – portalId, property of the request body.
reason_for_visit (string) – reasonForVisit, property of the request body.
sponsor_user_id (string) – sponsorUserId, property of the request body.
sponsor_user_name (string) – sponsorUserName, property of the request body.
status (string) – status, property of the request body.
status_reason (string) – statusReason, property of the request body.
name – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(name, custom_fields=None, description=None, guest_access_info=None, guest_info=None, guest_type=None, id=None, portal_id=None, reason_for_visit=None, sponsor_user_id=None, sponsor_user_name=None, status=None, status_reason=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_guest_user_by_name
- delete_guest_user_by_name(name, headers=None, **query_parameters)[source]¶
This API deletes a guest user.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_guest_user_by_name
- reset_guest_user_password_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to reset the guest user password.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- reset_password_by_id(id, headers=None, **query_parameters)[source]¶
Alias for reset_guest_user_password_by_id
- reinstate_guest_user_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to reinstate a guest user by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- reinstate_by_id(id, headers=None, **query_parameters)[source]¶
Alias for reinstate_guest_user_by_id
- update_guest_user_email(id, portal_id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a guest user email by ID.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
portal_id (basestring) – portalId path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_email(id, portal_id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_guest_user_email
- update_guest_user_sms(id, portal_id, headers=None, **query_parameters)[source]¶
This API allows the client to update a guest user sms by ID.
- Parameters
id (basestring) – id path parameter.
portal_id (basestring) – portalId path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_sms(id, portal_id, headers=None, **query_parameters)[source]¶
Alias for update_guest_user_sms
- deny_guest_user_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to deny a guest user by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- deny_by_id(id, headers=None, **query_parameters)[source]¶
Alias for deny_guest_user_by_id
- get_guest_user_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a guest user by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_guest_user_by_id
- update_guest_user_by_id(id, custom_fields=None, description=None, guest_access_info=None, guest_info=None, guest_type=None, name=None, portal_id=None, reason_for_visit=None, sponsor_user_id=None, sponsor_user_name=None, status=None, status_reason=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a guest user by ID.
- Parameters
custom_fields (object) – Key value map, property of the request body.
description (string) – description, property of the request body.
guest_access_info (object) – guestAccessInfo, property of the request body.
guest_info (object) – guestInfo, property of the request body.
guest_type (string) – guestType, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
portal_id (string) – portalId, property of the request body.
reason_for_visit (string) – reasonForVisit, property of the request body.
sponsor_user_id (string) – sponsorUserId, property of the request body.
sponsor_user_name (string) – sponsorUserName, property of the request body.
status (string) – status, property of the request body.
status_reason (string) – statusReason, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, custom_fields=None, description=None, guest_access_info=None, guest_info=None, guest_type=None, name=None, portal_id=None, reason_for_visit=None, sponsor_user_id=None, sponsor_user_name=None, status=None, status_reason=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_guest_user_by_id
- delete_guest_user_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a guest user by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_guest_user_by_id
- get_guest_users(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest users. Filter: [lastName, sponsor, creationTime, personBeingVisited, toDate, userName, firstName, emailAddress, phoneNumber, groupTag, name, company, guestType, status] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [firstName, lastName, emailAddress, name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_users
- get_guest_users_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the guest users. Filter: [lastName, sponsor, creationTime, personBeingVisited, toDate, userName, firstName, emailAddress, phoneNumber, groupTag, name, company, guestType, status] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [firstName, lastName, emailAddress, name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_guest_users_generator
- create_guest_user(custom_fields=None, description=None, guest_access_info=None, guest_info=None, guest_type=None, name=None, portal_id=None, reason_for_visit=None, sponsor_user_id=None, sponsor_user_name=None, status=None, status_reason=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a guest user.
- Parameters
custom_fields (object) – Key value map, property of the request body.
description (string) – description, property of the request body.
guest_access_info (object) – guestAccessInfo, property of the request body.
guest_info (object) – guestInfo, property of the request body.
guest_type (string) – guestType, property of the request body.
name (string) – name, property of the request body.
portal_id (string) – portalId, property of the request body.
reason_for_visit (string) – reasonForVisit, property of the request body.
sponsor_user_id (string) – sponsorUserId, property of the request body.
sponsor_user_name (string) – sponsorUserName, property of the request body.
status (string) – status, property of the request body.
status_reason (string) – statusReason, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(custom_fields=None, description=None, guest_access_info=None, guest_info=None, guest_type=None, name=None, portal_id=None, reason_for_visit=None, sponsor_user_id=None, sponsor_user_name=None, status=None, status_reason=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_guest_user
- suspend_guest_user_by_id(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to suspend a guest user by ID.
- Parameters
additional_data (list) – additionalData, property of the request body (list of objects).
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- suspend_by_id(id, additional_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for suspend_guest_user_by_id
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the guest user.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_guest_user(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_guest_user
- monitor_bulk_status_guest_user(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_guest_user
hotspot_portal¶
- class HotspotPortal[source]¶
Identity Services Engine HotspotPortal API (version: 3.0.0).
Wraps the Identity Services Engine HotspotPortal API and exposes the API as native Python methods that return native Python objects.
- get_hotspot_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a hotspot portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_hotspot_portal_by_id
- update_hotspot_portal_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a hotspot portal by ID.
- Parameters
customizations (object) – Defines all of the Portal Customizations available, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a BYOD, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_hotspot_portal_by_id
- delete_hotspot_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a hotspot portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_hotspot_portal_by_id
- get_hotspot_portal(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the hotspot portals. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_hotspot_portal
- get_hotspot_portal_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the hotspot portals. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_hotspot_portal_generator
- create_hotspot_portal(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a hotspot portal.
- Parameters
customizations (object) – Defines all of the Portal Customizations available, property of the request body.
description (string) – description, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a BYOD, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_hotspot_portal
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the hotspot portal.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
ip_to_sgt_mapping¶
- class IpToSgtMapping[source]¶
Identity Services Engine IPToSGTMapping API (version: 3.0.0).
Wraps the Identity Services Engine IPToSGTMapping API and exposes the API as native Python methods that return native Python objects.
- deploy_ip_to_sgt_mapping_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to deploy an IP to SGT mapping by ID. Only one Deploy process can run at any given time.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- deploy_by_id(id, headers=None, **query_parameters)[source]¶
Alias for deploy_ip_to_sgt_mapping_by_id
- deploy_all_ip_to_sgt_mapping(headers=None, **query_parameters)[source]¶
This API allows the client to deploy all the IP to SGT mappings. Only one Deploy process can run at any given time.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- deploy_all(headers=None, **query_parameters)[source]¶
Alias for deploy_all_ip_to_sgt_mapping
- get_deploy_status_ip_to_sgt_mapping(headers=None, **query_parameters)[source]¶
This API allows the client to get the IP to SGT mapping deployment status. Deploy Status will show last Deploy command output. The information will be saved until the next Deploy command.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_deploy_status(headers=None, **query_parameters)[source]¶
Alias for get_deploy_status_ip_to_sgt_mapping
- get_ip_to_sgt_mapping_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an IP to SGT mapping by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_ip_to_sgt_mapping_by_id
- update_ip_to_sgt_mapping_by_id(id, deploy_to=None, deploy_type=None, host_ip=None, host_name=None, mapping_group=None, name=None, sgt=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an IP to SGT mapping by ID.
- Parameters
deploy_to (string) – Mandatory unless mappingGroup is set or unless deployType=ALL, property of the request body.
deploy_type (string) – Allowed values: ALL, ND, NDG, property of the request body.
host_ip (string) – Mandatory if hostName is empty -valid IP, property of the request body.
host_name (string) – Mandatory if hostIp is empty, property of the request body.
id (basestring) – id, property of the request body.
mapping_group (string) – Mapping Group Id. Mandatory unless sgt and deployTo and deployType are set, property of the request body.
name (string) – name, property of the request body.
sgt (string) – Mandatory unless mappingGroup is set, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, deploy_to=None, deploy_type=None, host_ip=None, host_name=None, mapping_group=None, name=None, sgt=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_ip_to_sgt_mapping_by_id
- delete_ip_to_sgt_mapping_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an IP to SGT mapping.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_ip_to_sgt_mapping_by_id
- get_ip_to_sgt_mapping(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the IP to SGT mappings. Filter: [hostName, groupName, ip, sgtName] To search guest users by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [hostName, groupName, ip, sgtName].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_ip_to_sgt_mapping
- get_ip_to_sgt_mapping_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the IP to SGT mappings. Filter: [hostName, groupName, ip, sgtName] To search guest users by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [hostName, groupName, ip, sgtName].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_ip_to_sgt_mapping_generator
- create_ip_to_sgt_mapping(deploy_to=None, deploy_type=None, host_ip=None, host_name=None, mapping_group=None, name=None, sgt=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an IP to SGT mapping.
- Parameters
deploy_to (string) – Mandatory unless mappingGroup is set or unless deployType=ALL, property of the request body.
deploy_type (string) – Allowed values: ALL, ND, NDG, property of the request body.
host_ip (string) – Mandatory if hostName is empty -valid IP, property of the request body.
host_name (string) – Mandatory if hostIp is empty, property of the request body.
mapping_group (string) – Mapping Group Id. Mandatory unless sgt and deployTo and deployType are set, property of the request body.
name (string) – name, property of the request body.
sgt (string) – Mandatory unless mappingGroup is set, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(deploy_to=None, deploy_type=None, host_ip=None, host_name=None, mapping_group=None, name=None, sgt=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_ip_to_sgt_mapping
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to IP to SGT mapping.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_ip_to_sgt_mapping(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_ip_to_sgt_mapping
- monitor_bulk_status_ip_to_sgt_mapping(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_ip_to_sgt_mapping
ip_to_sgt_mapping_group¶
- class IpToSgtMappingGroup[source]¶
Identity Services Engine IPToSGTMappingGroup API (version: 3.0.0).
Wraps the Identity Services Engine IPToSGTMappingGroup API and exposes the API as native Python methods that return native Python objects.
- deploy_ip_to_sgt_mapping_group_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to deploy an IP to SGT mapping group by ID. Only one Deploy process can run at any given time.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- deploy_all_ip_to_sgt_mapping_group(headers=None, **query_parameters)[source]¶
This API allows the client to deploy all the IP to SGT mapping groups. Only one Deploy process can run at any given time.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_deploy_status_ip_to_sgt_mapping_group(headers=None, **query_parameters)[source]¶
This API allows the client to get the IP to SGT mapping group deployment status. Deploy Status will show last Deploy command output. The information will be saved until the next Deploy command.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_ip_to_sgt_mapping_group_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an IP to SGT mapping group by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_ip_to_sgt_mapping_group_by_id
- update_ip_to_sgt_mapping_group_by_id(id, deploy_to=None, deploy_type=None, name=None, sgt=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an IP to SGT mapping group by ID.
- Parameters
deploy_to (string) – Mandatory unless mappingGroup is set or unless deployType=ALL, property of the request body.
deploy_type (string) – Allowed values: ALL, ND, NDG, property of the request body.
name (string) – name, property of the request body.
sgt (string) – Mandatory unless mappingGroup is set, property of the request body.
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, deploy_to=None, deploy_type=None, name=None, sgt=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_ip_to_sgt_mapping_group_by_id
- delete_ip_to_sgt_mapping_group_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an IP to SGT mapping group.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_ip_to_sgt_mapping_group_by_id
- get_ip_to_sgt_mapping_group(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the IP to SGT mapping groups. Filter: [name, sgtName] To search guest users by using toDate column,follow the format: DD- MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, sgtName].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_ip_to_sgt_mapping_group
- get_ip_to_sgt_mapping_group_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the IP to SGT mapping groups. Filter: [name, sgtName] To search guest users by using toDate column,follow the format: DD- MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, sgtName].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_ip_to_sgt_mapping_group_generator
- create_ip_to_sgt_mapping_group(deploy_to=None, deploy_type=None, name=None, sgt=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an IP to SGT mapping group.
- Parameters
deploy_to (string) – Mandatory unless mappingGroup is set or unless deployType=ALL, property of the request body.
deploy_type (string) – Allowed values: ALL, ND, NDG, property of the request body.
name (string) – name, property of the request body.
sgt (string) – Mandatory unless mappingGroup is set, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(deploy_to=None, deploy_type=None, name=None, sgt=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_ip_to_sgt_mapping_group
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the IP to SGT mapping group.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_ip_to_sgt_mapping_group(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_ip_to_sgt_mapping_group
- monitor_bulk_status_ip_to_sgt_mapping_group(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
identity_groups¶
- class IdentityGroups[source]¶
Identity Services Engine IdentityGroups API (version: 3.0.0).
Wraps the Identity Services Engine IdentityGroups API and exposes the API as native Python methods that return native Python objects.
- get_identity_group_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an identity group by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_identity_group_by_name
- get_identity_group_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an identity group by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_identity_group_by_id
- update_identity_group_by_id(id, description=None, name=None, parent=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an identity group.
- Parameters
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
parent (string) – parent, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, name=None, parent=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_identity_group_by_id
- get_identity_groups(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the identity groups. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_identity_groups
- get_identity_groups_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the identity groups. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_identity_groups_generator
- create_identity_group(description=None, name=None, parent=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an identity group.
- Parameters
description (string) – description, property of the request body.
name (string) – name, property of the request body.
parent (string) – parent, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, name=None, parent=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_identity_group
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to identity group.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
identity_sequence¶
- class IdentitySequence[source]¶
Identity Services Engine IdentitySequence API (version: 3.0.0).
Wraps the Identity Services Engine IdentitySequence API and exposes the API as native Python methods that return native Python objects.
- get_identity_sequence_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an identity sequence by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_identity_sequence_by_name
- get_identity_sequence_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an identity sequence by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_identity_sequence_by_id
- update_identity_sequence_by_id(id, break_on_store_fail=None, certificate_authentication_profile=None, description=None, id_seq_item=None, name=None, parent=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an identity sequence. Partial update is not supported.
- Parameters
break_on_store_fail (boolean) – breakOnStoreFail, property of the request body.
certificate_authentication_profile (string) – certificateAuthenticationProfile, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
id_seq_item (list) – idSeqItem, property of the request body (list of objects).
name (string) – name, property of the request body.
parent (string) – parent, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, break_on_store_fail=None, certificate_authentication_profile=None, description=None, id_seq_item=None, name=None, parent=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_identity_sequence_by_id
- delete_identity_sequence_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an identity sequence.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_identity_sequence_by_id
- get_identity_sequence(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the identity sequences.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_identity_sequence
- get_identity_sequence_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the identity sequences.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_identity_sequence_generator
- create_identity_sequence(break_on_store_fail=None, certificate_authentication_profile=None, description=None, id_seq_item=None, name=None, parent=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an identity sequence.
- Parameters
break_on_store_fail (boolean) – breakOnStoreFail, property of the request body.
certificate_authentication_profile (string) – certificateAuthenticationProfile, property of the request body.
description (string) – description, property of the request body.
id_seq_item (list) – idSeqItem, property of the request body (list of objects).
name (string) – name, property of the request body.
parent (string) – parent, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(break_on_store_fail=None, certificate_authentication_profile=None, description=None, id_seq_item=None, name=None, parent=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_identity_sequence
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the identity sequence.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
internal_user¶
- class InternalUser[source]¶
Identity Services Engine InternalUser API (version: 3.0.0).
Wraps the Identity Services Engine InternalUser API and exposes the API as native Python methods that return native Python objects.
- get_internal_user_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an internal user by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_internal_user_by_name
- update_internal_user_by_name(name, change_password=None, custom_attributes=None, description=None, email=None, enable_password=None, enabled=None, expiry_date=None, expiry_date_enabled=None, first_name=None, id=None, identity_groups=None, last_name=None, password=None, password_idstore=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an internal user by name.
- Parameters
change_password (boolean) – changePassword, property of the request body.
custom_attributes (object) – Key value map, property of the request body.
description (string) – description, property of the request body.
email (string) – email, property of the request body.
enable_password (string) – enablePassword, property of the request body.
enabled (boolean) – Whether the user is enabled/disabled. To use it as filter, the values should be ‘Enabled’ or ‘Disabled’. The values are case sensitive. For example, ‘[ERSOb jectURL]?filter=enabled.EQ.Enabled’, property of the request body.
expiry_date (string) – To store the internal user’s expiry date information. It’s format is = ‘YYYY-MM-DD’, property of the request body.
expiry_date_enabled (boolean) – expiryDateEnabled, property of the request body.
first_name (string) – firstName, property of the request body.
id (string) – id, property of the request body.
identity_groups (string) – CSV of identity group IDs, property of the request body.
last_name (string) – lastName, property of the request body.
name (basestring) – name, property of the request body.
password (string) – password, property of the request body.
password_idstore (string) – The id store where the internal user’s password is kept, property of the request body.
name – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(name, change_password=None, custom_attributes=None, description=None, email=None, enable_password=None, enabled=None, expiry_date=None, expiry_date_enabled=None, first_name=None, id=None, identity_groups=None, last_name=None, password=None, password_idstore=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_internal_user_by_name
- delete_internal_user_by_name(name, headers=None, **query_parameters)[source]¶
This API deletes an internal user by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_internal_user_by_name
- get_internal_user_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an internal user by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_internal_user_by_id
- update_internal_user_by_id(id, change_password=None, custom_attributes=None, description=None, email=None, enable_password=None, enabled=None, expiry_date=None, expiry_date_enabled=None, first_name=None, identity_groups=None, last_name=None, name=None, password=None, password_idstore=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an internal user by ID.
- Parameters
change_password (boolean) – changePassword, property of the request body.
custom_attributes (object) – Key value map, property of the request body.
description (string) – description, property of the request body.
email (string) – email, property of the request body.
enable_password (string) – enablePassword, property of the request body.
enabled (boolean) – Whether the user is enabled/disabled. To use it as filter, the values should be ‘Enabled’ or ‘Disabled’. The values are case sensitive. For example, ‘[ERSOb jectURL]?filter=enabled.EQ.Enabled’, property of the request body.
expiry_date (string) – To store the internal user’s expiry date information. It’s format is = ‘YYYY-MM-DD’, property of the request body.
expiry_date_enabled (boolean) – expiryDateEnabled, property of the request body.
first_name (string) – firstName, property of the request body.
id (basestring) – id, property of the request body.
identity_groups (string) – CSV of identity group IDs, property of the request body.
last_name (string) – lastName, property of the request body.
name (string) – name, property of the request body.
password (string) – password, property of the request body.
password_idstore (string) – The id store where the internal user’s password is kept, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, change_password=None, custom_attributes=None, description=None, email=None, enable_password=None, enabled=None, expiry_date=None, expiry_date_enabled=None, first_name=None, identity_groups=None, last_name=None, name=None, password=None, password_idstore=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_internal_user_by_id
- delete_internal_user_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an internal user by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_internal_user_by_id
- get_internal_user(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the internal users. Filter: [firstName, lastName, identityGroup, name, description, email, enabled] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_internal_user
- get_internal_user_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the internal users. Filter: [firstName, lastName, identityGroup, name, description, email, enabled] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_internal_user_generator
- create_internal_user(change_password=None, custom_attributes=None, description=None, email=None, enable_password=None, enabled=None, expiry_date=None, expiry_date_enabled=None, first_name=None, identity_groups=None, last_name=None, name=None, password=None, password_idstore=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an internal user.
- Parameters
change_password (boolean) – changePassword, property of the request body.
custom_attributes (object) – Key value map, property of the request body.
description (string) – description, property of the request body.
email (string) – email, property of the request body.
enable_password (string) – enablePassword, property of the request body.
enabled (boolean) – Whether the user is enabled/disabled. To use it as filter, the values should be ‘Enabled’ or ‘Disabled’. The values are case sensitive. For example, ‘[ERSOb jectURL]?filter=enabled.EQ.Enabled’, property of the request body.
expiry_date (string) – To store the internal user’s expiry date information. It’s format is = ‘YYYY-MM-DD’, property of the request body.
expiry_date_enabled (boolean) – expiryDateEnabled, property of the request body.
first_name (string) – firstName, property of the request body.
identity_groups (string) – CSV of identity group IDs, property of the request body.
last_name (string) – lastName, property of the request body.
name (string) – name, property of the request body.
password (string) – password, property of the request body.
password_idstore (string) – The id store where the internal user’s password is kept, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(change_password=None, custom_attributes=None, description=None, email=None, enable_password=None, enabled=None, expiry_date=None, expiry_date_enabled=None, first_name=None, identity_groups=None, last_name=None, name=None, password=None, password_idstore=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_internal_user
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the internal user.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
mdm¶
- class Mdm[source]¶
Identity Services Engine MDM API (version: 3.0.0).
Wraps the Identity Services Engine MDM API and exposes the API as native Python methods that return native Python objects.
- get_endpoints(headers=None, **query_parameters)[source]¶
🚧 getEndpoints.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_endpoints
- get_endpoint_by_mac_address(headers=None, **query_parameters)[source]¶
🚧 getEndpointByMacAddress.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_endpoints_by_type(headers=None, **query_parameters)[source]¶
🚧 getEndpointsByType.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_endpoints_by_os_type(headers=None, **query_parameters)[source]¶
🚧 getEndpointsByOsType.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
misc¶
- class Misc[source]¶
Identity Services Engine Misc API (version: 3.0.0).
Wraps the Identity Services Engine Misc API and exposes the API as native Python methods that return native Python objects.
- get_active_count(headers=None, **query_parameters)[source]¶
ActiveCount.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_active_list(headers=None, **query_parameters)[source]¶
ActiveList.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_session_auth_list(headers=None, **query_parameters)[source]¶
Session/AuthList.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_posture_count(headers=None, **query_parameters)[source]¶
PostureCount.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_profiler_count(headers=None, **query_parameters)[source]¶
ProfilerCount.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_sessions_by_mac(mac, headers=None, **query_parameters)[source]¶
Sessions by MAC.
- Parameters
mac (basestring) – mac path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_sessions_by_username(username, headers=None, **query_parameters)[source]¶
Sessions by Username.
- Parameters
username (basestring) – username path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_sessions_by_nas_ip(nas_ipv4, headers=None, **query_parameters)[source]¶
Sessions by NAS IP.
- Parameters
nas_ipv4 (basestring) – nas_ipv4 path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_sessions_by_endpoint_ip(endpoint_ipv4, headers=None, **query_parameters)[source]¶
Sessions by Endpoint IP.
- Parameters
endpoint_ipv4 (basestring) – endpoint_ipv4 path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_sessions_by_session_id(session_id, headers=None, **query_parameters)[source]¶
Sessions by SessionID.
- Parameters
session_id (basestring) – session_id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_all_sessions(headers=None, **query_parameters)[source]¶
Delete All Sessions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_mnt_version(headers=None, **query_parameters)[source]¶
MNT Version.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_failure_reasons(headers=None, **query_parameters)[source]¶
FailureReasons.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_authentication_status_by_mac(mac, rec_ord_s, sec_ond_s, headers=None, **query_parameters)[source]¶
AuthenticationStatus by MAC.
- Parameters
mac (basestring) – MAC path parameter.
sec_ond_s (basestring) – SECONDS path parameter.
rec_ord_s (basestring) – RECORDS path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- session_reauthentication_by_mac(end_poi_ntm_ac, psn_nam_e, rea_uth_typ_e, headers=None, **query_parameters)[source]¶
Session Reauthentication by MAC.
- Parameters
psn_nam_e (basestring) – PSN_NAME path parameter.
end_poi_ntm_ac (basestring) – ENDPOINT_MAC path parameter.
rea_uth_typ_e (basestring) – REAUTH_TYPE path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- session_disconnect(dis_con_nec_tty_pe, end_poi_nti_p, mac, nas_ipv4, psn_nam_e, headers=None, **query_parameters)[source]¶
Session Disconnect.
- Parameters
end_poi_nti_p (basestring) – ENDPOINT_IP path parameter.
psn_nam_e (basestring) – PSN_NAME path parameter.
mac (basestring) – MAC path parameter.
dis_con_nec_tty_pe (basestring) – DISCONNECT_TYPE path parameter.
nas_ipv4 (basestring) – NAS_IPV4 path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_account_status_by_mac(duration, mac, headers=None, **query_parameters)[source]¶
AccountStatus by MAC.
- Parameters
mac (basestring) – mac path parameter.
duration (basestring) – duration path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
my_device_portal¶
- class MyDevicePortal[source]¶
Identity Services Engine MyDevicePortal API (version: 3.0.0).
Wraps the Identity Services Engine MyDevicePortal API and exposes the API as native Python methods that return native Python objects.
- get_my_device_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a my device portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_my_device_portal_by_id
- update_my_device_portal_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a my device portal by ID.
- Parameters
customizations (object) – Defines all of the Portal Customizations available, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a Mydevice portal, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_my_device_portal_by_id
- delete_my_device_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a my device portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_my_device_portal_by_id
- get_my_device_portal(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the my device portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_my_device_portal
- get_my_device_portal_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the my device portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_my_device_portal_generator
- create_my_device_portal(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a my device portal.
- Parameters
customizations (object) – Defines all of the Portal Customizations available, property of the request body.
description (string) – description, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a Mydevice portal, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_my_device_portal
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the my device portal.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
native_supplicant_profile¶
- class NativeSupplicantProfile[source]¶
Identity Services Engine NativeSupplicantProfile API (version: 3.0.0).
Wraps the Identity Services Engine NativeSupplicantProfile API and exposes the API as native Python methods that return native Python objects.
- get_native_supplicant_profile_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a native supplicant profile by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_native_supplicant_profile_by_id
- update_native_supplicant_profile_by_id(id, description=None, name=None, wireless_profiles=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a native supplicant profile.
- Parameters
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
wireless_profiles (list) – wirelessProfiles, property of the request body (list of objects).
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, name=None, wireless_profiles=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_native_supplicant_profile_by_id
- delete_native_supplicant_profile_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a native supplicant profile.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_native_supplicant_profile_by_id
- get_native_supplicant_profile(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the native supplicant profiles.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_native_supplicant_profile
- get_native_supplicant_profile_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the native supplicant profiles.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_native_supplicant_profile_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the native supplicant profile.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
network_access_authentication_rules¶
- class NetworkAccessAuthenticationRules[source]¶
Identity Services Engine Network Access - Authentication Rules API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Authentication Rules API and exposes the API as native Python methods that return native Python objects.
- get_network_access_authentication_rules(policy_id, headers=None, **query_parameters)[source]¶
Network Access Get authentication rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(policy_id, headers=None, **query_parameters)[source]¶
Alias for get_network_access_authentication_rules
- create_network_access_authentication_rule(policy_id, identity_source_id=None, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, link=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Create authentication rule: Rule must include name and condition. Condition has hierarchical structure which define a set of conditions for which authentication policy rule could be match. Condition can be either reference to a stored Library condition, using model ConditionReference or dynamically built conditions which are not stored in the conditions Library, using models ConditionAttributes, ConditionAndBlock, ConditionOrBlock . .
- Parameters
identity_source_id (string) – Identity source id from the identity stores, property of the request body.
identity_source_name (string) – Identity source name from the identity stores, property of the request body.
if_auth_fail (string) – Action to perform when authentication fails such as Bad credentials, disabled user and so on, property of the request body.
if_process_fail (string) – Action to perform when ISE is uanble to access the identity database, property of the request body.
if_user_not_found (string) – Action to perform when user is not found in any of identity stores, property of the request body.
link (object) – link, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(policy_id, identity_source_id=None, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, link=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- reset_hit_counts_network_access_authentication_rules(policy_id, headers=None, **query_parameters)[source]¶
Network Access Reset HitCount for Authentication Rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- reset_hit_counts_by_id(policy_id, headers=None, **query_parameters)[source]¶
Alias for reset_hit_counts_network_access_authentication_rules
- get_network_access_authentication_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Network Access Get rule attributes.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_network_access_authentication_rule_by_id(id, policy_id, identity_source_id=None, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, link=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update rule.
- Parameters
identity_source_id (string) – Identity source id from the identity stores, property of the request body.
identity_source_name (string) – Identity source name from the identity stores, property of the request body.
if_auth_fail (string) – Action to perform when authentication fails such as Bad credentials, disabled user and so on, property of the request body.
if_process_fail (string) – Action to perform when ISE is uanble to access the identity database, property of the request body.
if_user_not_found (string) – Action to perform when user is not found in any of identity stores, property of the request body.
link (object) – link, property of the request body.
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, policy_id, identity_source_id=None, identity_source_name=None, if_auth_fail=None, if_process_fail=None, if_user_not_found=None, link=None, rule=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_network_access_authentication_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Network Access Delete rule.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
network_access_authorization_exception_rules¶
- class NetworkAccessAuthorizationExceptionRules[source]¶
Identity Services Engine Network Access - Authorization Exception Rules API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Authorization Exception Rules API and exposes the API as native Python methods that return native Python objects.
- get_network_access_local_exception_rules(policy_id, headers=None, **query_parameters)[source]¶
Network Access Get local exception rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(policy_id, headers=None, **query_parameters)[source]¶
Alias for get_network_access_local_exception_rules
- create_network_access_local_exception_rule(policy_id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Create local authorization exception rule: Rule must include name and condition. Condition has hierarchical structure which define a set of conditions for which authoriztion policy rule could be match. Condition can be either reference to a stored Library condition, using model ConditionReference or dynamically built conditions which are not stored in the conditions Library, using models ConditionAttributes, ConditionAndBlock, ConditionOrBlock . .
- Parameters
link (object) – link, property of the request body.
profile (list) – The authorization profile/s, property of the request body (list of strings).
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
security_group (string) – Security group used in authorization policies, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(policy_id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- reset_hit_counts_network_access_local_exceptions(policy_id, headers=None, **query_parameters)[source]¶
Network Access Reset HitCount for local exceptions.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_network_access_local_exception_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Network Access Get local exception rule attributes.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_network_access_local_exception_rule_by_id(id, policy_id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update local exception rule.
- Parameters
link (object) – link, property of the request body.
profile (list) – The authorization profile/s, property of the request body (list of strings).
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
security_group (string) – Security group used in authorization policies, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, policy_id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_network_access_local_exception_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Network Access Delete local exception rule.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
network_access_authorization_global_exception_rules¶
- class NetworkAccessAuthorizationGlobalExceptionRules[source]¶
Identity Services Engine Network Access - Authorization Global Exception Rules API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Authorization Global Exception Rules API and exposes the API as native Python methods that return native Python objects.
- get_network_access_policy_set_global_exception_rules(headers=None, **query_parameters)[source]¶
Network Access Get global execption rules.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_policy_set_global_exception_rules
- create_network_access_policy_set_global_exception_rule(link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Create global exception authorization rule: Rule must include name and condition. Condition has hierarchical structure which define a set of conditions for which authoriztion policy rule could be match. Condition can be either reference to a stored Library condition, using model ConditionReference or dynamically built conditions which are not stored in the conditions Library, using models ConditionAttributes, ConditionAndBlock, ConditionOrBlock . .
- Parameters
link (object) – link, property of the request body.
profile (list) – The authorization profile/s, property of the request body (list of strings).
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
security_group (string) – Security group used in authorization policies, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_access_policy_set_global_exception_rule
- reset_hit_counts_network_access_global_exceptions(headers=None, **query_parameters)[source]¶
Network Access Reset HitCount for Global Exceptions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_network_access_policy_set_global_exception_rule_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Get global exception rule attributes.
- Parameters
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_network_access_policy_set_global_exception_rule_by_id
- update_network_access_policy_set_global_exception_rule_by_id(id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update global exception authorization rule.
- Parameters
link (object) – link, property of the request body.
profile (list) – The authorization profile/s, property of the request body (list of strings).
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
security_group (string) – Security group used in authorization policies, property of the request body.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_access_policy_set_global_exception_rule_by_id
- delete_network_access_policy_set_global_exception_rule_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Delete global exception authorization rule.
- Parameters
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_network_access_policy_set_global_exception_rule_by_id
network_access_authorization_rules¶
- class NetworkAccessAuthorizationRules[source]¶
Identity Services Engine Network Access - Authorization Rules API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Authorization Rules API and exposes the API as native Python methods that return native Python objects.
- get_network_access_authorization_rules(policy_id, headers=None, **query_parameters)[source]¶
Network Access Get authorization rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(policy_id, headers=None, **query_parameters)[source]¶
Alias for get_network_access_authorization_rules
- create_network_access_authorization_rule(policy_id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Create authorization rule: Rule must include name and condition. Condition has hierarchical structure which define a set of conditions for which authoriztion policy rule could be match. Condition can be either reference to a stored Library condition, using model ConditionReference or dynamically built conditions which are not stored in the conditions Library, using models ConditionAttributes, ConditionAndBlock, ConditionOrBlock . .
- Parameters
link (object) – link, property of the request body.
profile (list) – The authorization profile/s, property of the request body (list of strings).
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
security_group (string) – Security group used in authorization policies, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(policy_id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_access_authorization_rule
- reset_hit_counts_network_access_authorization_rules(policy_id, headers=None, **query_parameters)[source]¶
Network Access Reset HitCount for Authorization Rules.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- reset_hit_counts_by_id(policy_id, headers=None, **query_parameters)[source]¶
Alias for reset_hit_counts_network_access_authorization_rules
- get_network_access_authorization_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Network Access Get authorization rule attributes.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_network_access_authorization_rule_by_id(id, policy_id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update authorization rule.
- Parameters
link (object) – link, property of the request body.
profile (list) – The authorization profile/s, property of the request body (list of strings).
rule (object) – Common attributes in rule authentication/authorization, property of the request body.
security_group (string) – Security group used in authorization policies, property of the request body.
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, policy_id, link=None, profile=None, rule=None, security_group=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_network_access_authorization_rule_by_id(id, policy_id, headers=None, **query_parameters)[source]¶
Network Access Delete authorization rule.
- Parameters
policy_id (basestring) – policyId path parameter. Policy id.
id (basestring) – id path parameter. Rule id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
network_access_conditions¶
- class NetworkAccessConditions[source]¶
Identity Services Engine Network Access - Conditions API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Conditions API and exposes the API as native Python methods that return native Python objects.
- get_network_access_conditions(headers=None, **query_parameters)[source]¶
Network Access Returns all library conditions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_conditions
- create_network_access_condition(attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Creates a library condition: Library Condition has hierarchical structure which define a set of condition for which authentication and authorization policy rules could be match. Condition can be compose from single dictionary attribute name and value using model LibraryConditionAttributes , or from combination of dictionary attributes with logical operation of AND/OR between them, using models: LibraryConditionAndBlock or LibraryConditionOrBlock . When using AND/OR blocks, the condition will include inner layers inside these blocks, these layers are built using the inner condition models: ConditionAttributes , ConditionAndBlock , ConditionOrBlock , that represent dynamically built Conditions which are not stored in the conditions Library, or using ConditionReference , which includes an ID to existing stored condition in the library. The LibraryCondition models can only be used in the outer-most layer (root of the condition) and must always include the condition name. When using one of the 3 inner condition models ( ConditionAttributes, ConditionAndBlock, ConditionOrBlock ), condition name cannot be included in the request, since these will not be stored in the conditions library, and used only as inner members of the root condition. When using ConditionReference model in inner layers, the condition name is not required. ConditionReference objects can also include a reference ID to a condition of type TimeAndDate . .
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (string) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (string) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_access_condition
- get_network_access_conditions_for_authentication_rules(headers=None, **query_parameters)[source]¶
Network Access Returns list of library conditions for Authentication rules scope.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_network_access_conditions_for_authorization_rules(headers=None, **query_parameters)[source]¶
Network Access Returns list of library conditions for Authorization rules scope.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_network_access_condition_by_name(name, headers=None, **query_parameters)[source]¶
Network Access Returns a library condition.
- Parameters
name (basestring) – name path parameter. Condition name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_network_access_condition_by_name
- update_network_access_condition_by_name(name, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update library condition using condition name.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (string) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (basestring) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
name – name path parameter. Condition name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(name, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_access_condition_by_name
- delete_network_access_condition_by_name(name, headers=None, **query_parameters)[source]¶
Network Access Delete a library condition using condition Name.
- Parameters
name (basestring) – name path parameter. Condition name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_network_access_condition_by_name
- get_network_access_conditions_for_policy_sets(headers=None, **query_parameters)[source]¶
Network Access Returns list of library conditions for PolicySet scope.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_network_access_condition_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Returns a library condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_network_access_condition_by_id
- update_network_access_condition_by_id(id, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update library condition.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (basestring) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (string) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
id – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_access_condition_by_id
- delete_network_access_condition_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Delete a library condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_network_access_condition_by_id
network_access_dictionary¶
- class NetworkAccessDictionary[source]¶
Identity Services Engine Network Access - Dictionary API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Dictionary API and exposes the API as native Python methods that return native Python objects.
- get_network_access_dictionaries(headers=None, **query_parameters)[source]¶
Get all Dictionaries.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_dictionaries
- create_network_access_dictionaries(description=None, dictionary_attr_type=None, id=None, link=None, name=None, version=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Create a new Dictionary.
- Parameters
description (string) – The description of the Dictionary, property of the request body.
dictionary_attr_type (string) – The dictionary attribute type, property of the request body. Available values are ‘ENTITY_ATTR’, ‘MSG_ATTR’ and ‘PIP_ATTR’.
id (string) – Identifier for the dictionary, property of the request body.
link (object) – link, property of the request body.
name (string) – The dictionary name, property of the request body.
version (string) – The dictionary version, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, dictionary_attr_type=None, id=None, link=None, name=None, version=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_access_dictionaries
- get_network_access_dictionary_by_name(name, headers=None, **query_parameters)[source]¶
GET a dictionary by name.
- Parameters
name (basestring) – name path parameter. the dictionary name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_network_access_dictionary_by_name
- update_network_access_dictionary_by_name(name, description=None, dictionary_attr_type=None, id=None, link=None, version=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update a Dictionary.
- Parameters
description (string) – The description of the Dictionary, property of the request body.
dictionary_attr_type (string) – The dictionary attribute type, property of the request body. Available values are ‘ENTITY_ATTR’, ‘MSG_ATTR’ and ‘PIP_ATTR’.
id (string) – Identifier for the dictionary, property of the request body.
link (object) – link, property of the request body.
name (basestring) – The dictionary name, property of the request body.
version (string) – The dictionary version, property of the request body.
name – name path parameter. the dictionary name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(name, description=None, dictionary_attr_type=None, id=None, link=None, version=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_access_dictionary_by_name
- delete_network_access_dictionary_by_name(name, headers=None, **query_parameters)[source]¶
Network Access Delete a Dictionary.
- Parameters
name (basestring) – name path parameter. the dictionary name.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_network_access_dictionary_by_name
network_access_dictionary_attribute¶
- class NetworkAccessDictionaryAttribute[source]¶
Identity Services Engine Network Access - Dictionary Attribute API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Dictionary Attribute API and exposes the API as native Python methods that return native Python objects.
- get_network_access_dictionary_attributes_by_dictionary_name(dictionary_name, headers=None, **query_parameters)[source]¶
Returns a list of Dictionary Attributes for an existing Dictionary.
- Parameters
dictionary_name (basestring) – dictionaryName path parameter. the name of the dictionary the dictionary attribute belongs to.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(dictionary_name, headers=None, **query_parameters)[source]¶
Alias for get_network_access_dictionary_attributes_by_dictionary_name
- create_network_access_dictionary_attribute(dictionary_name, allowed_values=None, data_type=None, description=None, direction_type=None, id=None, internal_name=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Create a new Dictionary Attribute for an existing Dictionary.
- Parameters
allowed_values (list) – all of the allowed values for the dictionary attribute, property of the request body (list of objects).
data_type (string) – the data type for the dictionary attribute, property of the request body. Available values are ‘BOOLEAN’, ‘DATE’, ‘FLOAT’, ‘INT’, ‘IP’, ‘IPV4’, ‘IPV6’, ‘IPV6INTERFACE’, ‘IPV6PREFIX’, ‘LONG’, ‘OCTET_STRING’, ‘STRING’, ‘UNIT32’ and ‘UINT64’.
description (string) – The description of the Dictionary attribute, property of the request body.
dictionary_name (basestring) – the name of the dictionary which the dictionary attribute belongs to, property of the request body.
direction_type (string) – the direction for the useage of the dictionary attribute, property of the request body. Available values are ‘IN’, ‘OUT’, ‘NONE’ and ‘BOTH’.
id (string) – Identifier for the dictionary attribute, property of the request body.
internal_name (string) – the internal name of the dictionary attribute, property of the request body.
name (string) – The dictionary attribute’s name, property of the request body.
dictionary_name – dictionaryName path parameter. the name of the dictionary the dictionary attribute belongs to.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(dictionary_name, allowed_values=None, data_type=None, description=None, direction_type=None, id=None, internal_name=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- get_network_access_dictionary_attribute_by_name(dictionary_name, name, headers=None, **query_parameters)[source]¶
Get a Dictionary Attribute.
- Parameters
name (basestring) – name path parameter. the dictionary attribute name.
dictionary_name (basestring) – dictionaryName path parameter. the name of the dictionary the dictionary attribute belongs to.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_network_access_dictionary_attribute_by_name(dictionary_name, name, allowed_values=None, data_type=None, description=None, direction_type=None, id=None, internal_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Update a Dictionary Attribute.
- Parameters
allowed_values (list) – all of the allowed values for the dictionary attribute, property of the request body (list of objects).
data_type (string) – the data type for the dictionary attribute, property of the request body. Available values are ‘BOOLEAN’, ‘DATE’, ‘FLOAT’, ‘INT’, ‘IP’, ‘IPV4’, ‘IPV6’, ‘IPV6INTERFACE’, ‘IPV6PREFIX’, ‘LONG’, ‘OCTET_STRING’, ‘STRING’, ‘UNIT32’ and ‘UINT64’.
description (string) – The description of the Dictionary attribute, property of the request body.
dictionary_name (basestring) – the name of the dictionary which the dictionary attribute belongs to, property of the request body.
direction_type (string) – the direction for the useage of the dictionary attribute, property of the request body. Available values are ‘IN’, ‘OUT’, ‘NONE’ and ‘BOTH’.
id (string) – Identifier for the dictionary attribute, property of the request body.
internal_name (string) – the internal name of the dictionary attribute, property of the request body.
name (basestring) – The dictionary attribute’s name, property of the request body.
name – name path parameter. the dictionary attribute name.
dictionary_name – dictionaryName path parameter. the name of the dictionary the dictionary attribute belongs to.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(dictionary_name, name, allowed_values=None, data_type=None, description=None, direction_type=None, id=None, internal_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_access_dictionary_attribute_by_name
- delete_network_access_dictionary_attribute_by_name(dictionary_name, name, headers=None, **query_parameters)[source]¶
Delete a Dictionary Attribute.
- Parameters
name (basestring) – name path parameter. the dictionary attribute name.
dictionary_name (basestring) – dictionaryName path parameter. the name of the dictionary the dictionary attribute belongs to.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(dictionary_name, name, headers=None, **query_parameters)[source]¶
Alias for delete_network_access_dictionary_attribute_by_name
network_access_dictionary_attributes_list¶
- class NetworkAccessDictionaryAttributesList[source]¶
Identity Services Engine Network Access - Dictionary Attributes List API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Dictionary Attributes List API and exposes the API as native Python methods that return native Python objects.
- get_network_access_dictionaries_authentication(headers=None, **query_parameters)[source]¶
Network Access Returns list of dictionary attributes for authentication.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_network_access_dictionaries_authorization(headers=None, **query_parameters)[source]¶
Network Access Returns list of dictionary attributes for authorization.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_network_access_dictionaries_policy_set(headers=None, **query_parameters)[source]¶
Network Access Returns list of dictionary attributes for policyset.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
network_access_identity_stores¶
- class NetworkAccessIdentityStores[source]¶
Identity Services Engine Network Access - Identity Stores API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Identity Stores API and exposes the API as native Python methods that return native Python objects.
- get_network_access_identity_stores(headers=None, **query_parameters)[source]¶
Network Access Return list of identity stores for authentication policy definition. (Other CRUD APIs available throught ERS).
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_identity_stores
network_access_network_conditions¶
- class NetworkAccessNetworkConditions[source]¶
Identity Services Engine Network Access - Network Conditions API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Network Conditions API and exposes the API as native Python methods that return native Python objects.
- get_network_access_network_conditions(headers=None, **query_parameters)[source]¶
Network Access Returns a list of network conditions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_network_conditions
- create_network_access_network_condition(condition_type=None, conditions=None, description=None, id=None, link=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Creates network condition.
- Parameters
condition_type (string) – This field determines the content of the conditions field, property of the request body. Available values are ‘EndstationCondition’, ‘DeviceCondition’ and ‘DevicePortCondition’.
conditions (list) – conditions, property of the request body (list of objects).
description (string) – description, property of the request body.
id (string) – id, property of the request body.
link (object) – link, property of the request body.
name (string) – Network Condition name, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(condition_type=None, conditions=None, description=None, id=None, link=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_access_network_condition
- get_network_access_network_condition_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Returns a network condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_network_access_network_condition_by_id(id, condition_type=None, conditions=None, description=None, link=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update network condition.
- Parameters
condition_type (string) – This field determines the content of the conditions field, property of the request body. Available values are ‘EndstationCondition’, ‘DeviceCondition’ and ‘DevicePortCondition’.
conditions (list) – conditions, property of the request body (list of objects).
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
link (object) – link, property of the request body.
name (string) – Network Condition name, property of the request body.
id – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, condition_type=None, conditions=None, description=None, link=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_network_access_network_condition_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Delete network condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
network_access_policy_set¶
- class NetworkAccessPolicySet[source]¶
Identity Services Engine Network Access - Policy Set API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Policy Set API and exposes the API as native Python methods that return native Python objects.
- get_network_access_policy_sets(headers=None, **query_parameters)[source]¶
Get all network access policy sets.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_policy_sets
- create_network_access_policy_set(condition=None, default=None, description=None, hit_counts=None, id=None, is_proxy=None, link=None, name=None, rank=None, service_name=None, state=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Create a new policy set: Policy must include name , service identifier (either server sequence or allowed protocol) and a condition. Condition has hierarchical structure which define a set of condition for which policy could be match. Condition can be either reference to a stored Library condition, using model ConditionReference , or, dynamically built conditions which are not stored in the conditions Library, using models ConditionAttributes, ConditionAndBlock, ConditionOrBlock . .
- Parameters
condition (object) – condition, property of the request body.
default (boolean) – Flag which indicates if this policy set is the default one, property of the request body.
description (string) – The description for the policy set, property of the request body.
hit_counts (integer) – The amount of times the policy was matched, property of the request body.
id (string) – Identifier for the policy set, property of the request body.
is_proxy (boolean) – Flag which indicates if the policy set service is of type ‘Proxy Sequence’ or ‘Allowed Protocols’, property of the request body.
link (object) – link, property of the request body.
name (string) – Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses], property of the request body.
rank (integer) – The rank(priority) in relation to other policy set. Lower rank is higher priority., property of the request body.
service_name (string) – Policy set service identifier Allowed Protocols,Server Sequence.., property of the request body.
state (string) – The state that the policy set is in. A disabled policy set cannot be matched., property of the request body. Available values are ‘enabled’, ‘disabled’ and ‘monitor’.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(condition=None, default=None, description=None, hit_counts=None, id=None, is_proxy=None, link=None, name=None, rank=None, service_name=None, state=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_access_policy_set
- reset_hit_counts_network_access_policy_sets(headers=None, **query_parameters)[source]¶
Network Access Reset HitCount for PolicySets.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_network_access_policy_set_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Get policy set attributes.
- Parameters
id (basestring) – id path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_network_access_policy_set_by_id
- update_network_access_policy_set_by_id(id, condition=None, default=None, description=None, hit_counts=None, is_proxy=None, link=None, name=None, rank=None, service_name=None, state=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update a policy set.
- Parameters
condition (object) – condition, property of the request body.
default (boolean) – Flag which indicates if this policy set is the default one, property of the request body.
description (string) – The description for the policy set, property of the request body.
hit_counts (integer) – The amount of times the policy was matched, property of the request body.
id (basestring) – Identifier for the policy set, property of the request body.
is_proxy (boolean) – Flag which indicates if the policy set service is of type ‘Proxy Sequence’ or ‘Allowed Protocols’, property of the request body.
link (object) – link, property of the request body.
name (string) – Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses], property of the request body.
rank (integer) – The rank(priority) in relation to other policy set. Lower rank is higher priority., property of the request body.
service_name (string) – Policy set service identifier Allowed Protocols,Server Sequence.., property of the request body.
state (string) – The state that the policy set is in. A disabled policy set cannot be matched., property of the request body. Available values are ‘enabled’, ‘disabled’ and ‘monitor’.
id – id path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, condition=None, default=None, description=None, hit_counts=None, is_proxy=None, link=None, name=None, rank=None, service_name=None, state=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_access_policy_set_by_id
- delete_network_access_policy_set_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Delete a policy set.
- Parameters
id (basestring) – id path parameter. Policy id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_network_access_policy_set_by_id
network_access_profiles¶
- class NetworkAccessProfiles[source]¶
Identity Services Engine Network Access - Profiles API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Profiles API and exposes the API as native Python methods that return native Python objects.
- get_network_access_profiles(headers=None, **query_parameters)[source]¶
Network Access Returns list of profiles. (Other CRUD APIs available throught ERS).
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_profiles
network_access_security_groups¶
- class NetworkAccessSecurityGroups[source]¶
Identity Services Engine Network Access - Security Groups API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Security Groups API and exposes the API as native Python methods that return native Python objects.
- get_network_access_security_groups(headers=None, **query_parameters)[source]¶
Network Access Return list of available security groups for authorization policy definition. (Other CRUD APIs available throught ERS).
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_security_groups
network_access_service_names¶
- class NetworkAccessServiceNames[source]¶
Identity Services Engine Network Access - Service Names API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Service Names API and exposes the API as native Python methods that return native Python objects.
- get_network_access_service_names(headers=None, **query_parameters)[source]¶
Returns list of Allowed Protocols and Server Sequences for Network Access Policy Set results. ‘isLocalAuthorization’ property is available only for Network Access Policy Set results of type Server Sequence. (Other CRUD APIs available throught ERS).
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_service_names
network_access_time_date_conditions¶
- class NetworkAccessTimeDateConditions[source]¶
Identity Services Engine Network Access - Time/Date Conditions API (version: 3.0.0).
Wraps the Identity Services Engine Network Access - Time/Date Conditions API and exposes the API as native Python methods that return native Python objects.
- get_network_access_time_conditions(headers=None, **query_parameters)[source]¶
Network Access Returns a list of time and date conditions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_network_access_time_conditions
- create_network_access_time_condition(attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Creates time/date condition.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (string) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (string) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, id=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_access_time_condition
- get_network_access_time_condition_by_id(id, headers=None, **query_parameters)[source]¶
Network Access returns a network condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_network_access_time_condition_by_id
- update_network_access_time_condition_by_id(id, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Network Access Update network condition.
- Parameters
attribute_id (string) – Dictionary attribute id (Optional), used for additional verification, property of the request body.
attribute_name (string) – Dictionary attribute name, property of the request body.
attribute_value (string) – Attribute value for condition Value type is specified in dictionary object if multiple values allowed is specified in dictionary object, property of the request body.
children (list) – In case type is andBlock or orBlock addtional conditions will be aggregated under this logical (OR/AND) condition, property of the request body (list of objects).
condition_type (string) – Inidicates whether the record is the condition itself(data) or a logical(or,and) aggregation Data type enum(reference,single) indicates than “conditonId” OR “ConditionAttrs” fields should contain condition data but not both Logical aggreation(and,or) enum indicates that additional conditions are present under the children field, property of the request body. Available values are ‘ConditionReference’, ‘ConditionAttributes’, ‘LibraryConditionAttributes’, ‘ConditionAndBlock’, ‘LibraryConditionAndBlock’, ‘ConditionOrBlock’, ‘LibraryConditionOrBlock’ and ‘TimeAndDateCondition’.
dates_range (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
dates_range_exception (object) – Defines for which date/s TimeAndDate condition will be matched or NOT matched if used in exceptionDates prooperty Options are Date range, for specific date, the same date should be used for start/end date Default no specific dates In order to reset the dates to have no specific dates Date format yyyy-mm-dd (MM = month, dd = day, yyyy = year), property of the request body.
description (string) – Condition description, property of the request body.
dictionary_name (string) – Dictionary name, property of the request body.
dictionary_value (string) – Dictionary value, property of the request body.
hours_range (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
hours_range_exception (object) – Defines for which hours a TimeAndDate condition will be matched or not matched if used in exceptionHours property Time foramt hh:mm ( h = hour , mm = minutes ) Default All Day , property of the request body.
id (basestring) – id, property of the request body.
is_negate (boolean) – Indicates whereas this condition is in negate mode, property of the request body.
link (object) – link, property of the request body.
name (string) – Condition name, property of the request body.
operator (string) – Equality operator, property of the request body. Available values are ‘equals’, ‘notEquals’, ‘contains’, ‘notContains’, ‘matches’, ‘in’, ‘notIn’, ‘startsWith’, ‘notStartsWith’, ‘endsWith’, ‘notEndsWith’, ‘greaterThan’, ‘lessThan’, ‘greaterOrEquals’, ‘lessOrEquals’, ‘ipGreaterThan’, ‘ipLessThan’, ‘ipEquals’ and ‘ipNotEquals’.
week_days (list) – Defines for which days this condition will be matched Days format Arrays of WeekDay enums Default List of All week days, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
week_days_exception (list) – Defines for which days this condition will NOT be matched Days format Arrays of WeekDay enums Default Not enabled, property of the request body (list of strings. Available values are ‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’ and ‘Saturday’).
id – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, attribute_id=None, attribute_name=None, attribute_value=None, children=None, condition_type=None, dates_range=None, dates_range_exception=None, description=None, dictionary_name=None, dictionary_value=None, hours_range=None, hours_range_exception=None, is_negate=None, link=None, name=None, operator=None, week_days=None, week_days_exception=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_network_access_time_condition_by_id(id, headers=None, **query_parameters)[source]¶
Network Access Delete Time/Date condition.
- Parameters
id (basestring) – id path parameter. Condition id.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
network_device¶
- class NetworkDevice[source]¶
Identity Services Engine NetworkDevice API (version: 3.0.0).
Wraps the Identity Services Engine NetworkDevice API and exposes the API as native Python methods that return native Python objects.
- get_network_device_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a network device by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_network_device_by_name
- update_network_device_by_name(name, authentication_settings=None, coa_port=None, description=None, dtls_dns_name=None, id=None, model_name=None, network_device_group_list=None, network_device_iplist=None, profile_name=None, snmpsettings=None, software_version=None, tacacs_settings=None, trustsecsettings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a network device by name.
- Parameters
network_device_group_list (list) – List of Network Device Group names for this node, property of the request body (list of strings).
network_device_iplist (list) – List of IP Subnets for this node, property of the request body (list of objects).
authentication_settings (object) – authenticationSettings, property of the request body.
coa_port (integer) – coaPort, property of the request body.
description (string) – description, property of the request body.
dtls_dns_name (string) – This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate, property of the request body.
id (string) – id, property of the request body.
model_name (string) – modelName, property of the request body.
name (basestring) – name, property of the request body.
profile_name (string) – profileName, property of the request body.
snmpsettings (object) – snmpsettings, property of the request body.
software_version (string) – softwareVersion, property of the request body.
tacacs_settings (object) – tacacsSettings, property of the request body.
trustsecsettings (object) – trustsecsettings, property of the request body.
name – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(name, authentication_settings=None, coa_port=None, description=None, dtls_dns_name=None, id=None, model_name=None, network_device_group_list=None, network_device_iplist=None, profile_name=None, snmpsettings=None, software_version=None, tacacs_settings=None, trustsecsettings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_device_by_name
- delete_network_device_by_name(name, headers=None, **query_parameters)[source]¶
This API deletes a network device by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_network_device_by_name
- get_network_device_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a network device by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_network_device_by_id
- update_network_device_by_id(id, authentication_settings=None, coa_port=None, description=None, dtls_dns_name=None, model_name=None, name=None, network_device_group_list=None, network_device_iplist=None, profile_name=None, snmpsettings=None, software_version=None, tacacs_settings=None, trustsecsettings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a network device by ID.
- Parameters
network_device_group_list (list) – List of Network Device Group names for this node, property of the request body (list of strings).
network_device_iplist (list) – List of IP Subnets for this node, property of the request body (list of objects).
authentication_settings (object) – authenticationSettings, property of the request body.
coa_port (integer) – coaPort, property of the request body.
description (string) – description, property of the request body.
dtls_dns_name (string) – This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate, property of the request body.
id (basestring) – id, property of the request body.
model_name (string) – modelName, property of the request body.
name (string) – name, property of the request body.
profile_name (string) – profileName, property of the request body.
snmpsettings (object) – snmpsettings, property of the request body.
software_version (string) – softwareVersion, property of the request body.
tacacs_settings (object) – tacacsSettings, property of the request body.
trustsecsettings (object) – trustsecsettings, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, authentication_settings=None, coa_port=None, description=None, dtls_dns_name=None, model_name=None, name=None, network_device_group_list=None, network_device_iplist=None, profile_name=None, snmpsettings=None, software_version=None, tacacs_settings=None, trustsecsettings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_device_by_id
- delete_network_device_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a network device by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_network_device_by_id
- get_network_device(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the network devices. Filter: [ipaddress, name, description, location, type] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_network_device
- get_network_device_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the network devices. Filter: [ipaddress, name, description, location, type] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_network_device_generator
- create_network_device(authentication_settings=None, coa_port=None, description=None, dtls_dns_name=None, model_name=None, name=None, network_device_group_list=None, network_device_iplist=None, profile_name=None, snmpsettings=None, software_version=None, tacacs_settings=None, trustsecsettings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a network device.
- Parameters
network_device_group_list (list) – List of Network Device Group names for this node, property of the request body (list of strings).
network_device_iplist (list) – List of IP Subnets for this node, property of the request body (list of objects).
authentication_settings (object) – authenticationSettings, property of the request body.
coa_port (integer) – coaPort, property of the request body.
description (string) – description, property of the request body.
dtls_dns_name (string) – This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate, property of the request body.
model_name (string) – modelName, property of the request body.
name (string) – name, property of the request body.
profile_name (string) – profileName, property of the request body.
snmpsettings (object) – snmpsettings, property of the request body.
software_version (string) – softwareVersion, property of the request body.
tacacs_settings (object) – tacacsSettings, property of the request body.
trustsecsettings (object) – trustsecsettings, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(authentication_settings=None, coa_port=None, description=None, dtls_dns_name=None, model_name=None, name=None, network_device_group_list=None, network_device_iplist=None, profile_name=None, snmpsettings=None, software_version=None, tacacs_settings=None, trustsecsettings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_device
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the network device.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_network_device(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_network_device
- monitor_bulk_status_network_device(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_network_device
network_device_group¶
- class NetworkDeviceGroup[source]¶
Identity Services Engine NetworkDeviceGroup API (version: 3.0.0).
Wraps the Identity Services Engine NetworkDeviceGroup API and exposes the API as native Python methods that return native Python objects.
- get_network_device_group_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a network device group by name.
- Parameters
name (basestring) – name path parameter. colon is used as a separator instead of (#) in the NDG name. For example, if the name is a#b#c it should appear in the request URL as a:b:c.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_network_device_group_by_name
- get_network_device_group_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a network device group by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_network_device_group_by_id
- update_network_device_group_by_id(id, description=None, name=None, othername=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a network device group.
- Parameters
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
othername (string) – othername, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, name=None, othername=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_network_device_group_by_id
- delete_network_device_group_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a network device group.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_network_device_group_by_id
- get_network_device_group(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the network device groups. Filter: [name, description, type] To search guest users by using toDate column,follow the format: DD- MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_network_device_group
- get_network_device_group_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the network device groups. Filter: [name, description, type] To search guest users by using toDate column,follow the format: DD- MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_network_device_group_generator
- create_network_device_group(description=None, name=None, othername=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a network device group.
- Parameters
description (string) – description, property of the request body.
name (string) – name, property of the request body.
othername (string) – othername, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, name=None, othername=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_network_device_group
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the network device group.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
node_deployment¶
- class NodeDeployment[source]¶
Identity Services Engine Node Deployment API (version: 3.0.0).
Wraps the Identity Services Engine Node Deployment API and exposes the API as native Python methods that return native Python objects.
- get_nodes(headers=None, **query_parameters)[source]¶
Discovers all deployment nodes in the cluster. It provides basic information about each of deployed nodes in the cluster like Hostname, personas, status, roles and services. .
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- register_node(administration=None, fdqn=None, general_settings=None, password=None, profile_configuration=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Register ISE node to form a multi-node deployment .
- Parameters
administration (object) – administration, property of the request body.
fdqn (string) – fdqn, property of the request body. Constraints: maxLength set to 256 and minLength set to 1.
general_settings (object) – generalSettings, property of the request body.
password (string) – password, property of the request body.
profile_configuration (object) – profileConfiguration, property of the request body.
user_name (string) – userName, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- promote_node(promotion_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Changes the cluster setting by promoting a node to primary when exceuted on standalone or secondary node. It could also be used to convert a deployment node to standalone node. .
- Parameters
promotion_type (string) – promotionType, property of the request body. Available values are ‘SECONDARY_TO_PRIMARY’, ‘STANDALONE_TO_PRIMARY’ and ‘TO_STANDALONE’.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_node_details(hostname, headers=None, **query_parameters)[source]¶
It provides detailed information of the deployed node in the cluster. .
- Parameters
hostname (basestring) – hostname path parameter. ID of the existing deployed node.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(hostname, headers=None, **query_parameters)[source]¶
Alias for get_node_details
- update_node(hostname, general_settings=None, profile_configuration=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Updates the deployed ISE node with the information provided .
- Parameters
general_settings (object) – generalSettings, property of the request body.
profile_configuration (object) – profileConfiguration, property of the request body.
hostname (basestring) – hostname path parameter. ID of the existing deployed node.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_node(hostname, headers=None, **query_parameters)[source]¶
The de-register ednode becomes a standalone Cisco ISE node. It retains the last configuration that it received rom the PrimaryPAN and assumes the default personas of a standalone node that are Administration, PolicyService, and Monitoring. .
- Parameters
hostname (basestring) – hostname path parameter. node name of the existing deployed node.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
node_group¶
- class NodeGroup[source]¶
Identity Services Engine Node Group API (version: 3.0.0).
Wraps the Identity Services Engine Node Group API and exposes the API as native Python methods that return native Python objects.
- get_node_groups(headers=None, **query_parameters)[source]¶
Get details of all the node groups in the cluster. To detect node failure and to reset all URL-redirected sessions on the failed node, two or more Policy Service nodes can be placed in the same node group. When a node that belongs to a node group fails, another node in the same node group issues a Change of Authorization (CoA) for all URL-redirected sessions on the failed node.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_node_group(node_group_name, headers=None, **query_parameters)[source]¶
Get details of a node group in the cluster.
- Parameters
node_group_name (basestring) – node-group-name path parameter. ID of the existing node group.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create_node_group(node_group_name, description=None, mar_cache=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Developers need to create node group in the system.Node Group is a group of PSNs, mainly used for terminating posture pending sessions when a PSN in local node group fails.Node group members can communicate over TCP/7800.
- Parameters
description (string) – description, property of the request body. Constraints: maxLength set to 256 and minLength set to 1.
mar_cache (object) – mar-cache, property of the request body.
node_group_name (basestring) – node-group-name path parameter. ID of the existing node group.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_node_group(node_group_name, description=None, mar_cache=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
API updates an existing node group in the system.
- Parameters
description (string) – description, property of the request body. Constraints: maxLength set to 256 and minLength set to 1.
mar_cache (object) – mar-cache, property of the request body.
node_group_name (basestring) – node-group-name path parameter. ID of the existing node group.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_node_group(node_group_name, headers=None, **query_parameters)[source]¶
Developers need to delete node group in the system.
- Parameters
node_group_name (basestring) – node-group-name path parameter. ID of the existing node group.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
node_details¶
- class NodeDetails[source]¶
Identity Services Engine NodeDetails API (version: 3.0.0).
Wraps the Identity Services Engine NodeDetails API and exposes the API as native Python methods that return native Python objects.
- get_node_detail_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get node details by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_node_detail_by_name
- get_node_detail_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get node details by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_node_detail_by_id
- get_node_details(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the node details. Filter: [nodeservicetypes] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_node_details
- get_node_details_generator(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the node details. Filter: [nodeservicetypes] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_node_details_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information realted to the node details.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
pan_ha¶
- class PanHa[source]¶
Identity Services Engine PAN HA API (version: 3.0.0).
Wraps the Identity Services Engine PAN HA API and exposes the API as native Python methods that return native Python objects.
- get_pan_ha_status(headers=None, **query_parameters)[source]¶
In a high availability configuration, the Primary Administration Node (PAN) is in the active state. The Secondary PAN (backup PAN) is in the standby state, which means it receives all configuration updates from the Primary PAN, but is not active in the ISE network. You can configure ISE to automatically the promote the secondary PAN when the primary PAN becomes unavailable.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- enable_pan_ha(failed_attempts=None, is_enabled=None, polling_interval=None, primary_health_check_node=None, secondary_health_check_node=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
To deploy the auto-failover feature, you must have at least three nodes, where two of the nodes assume the Administration persona, and one node acts as the health check node. A health check node is a non-administration node and can be a Policy Service, Monitoring, or pxGrid node, or a combination of these. If the PANs are in different data centers, you must have a health check node for each PAN.
- Parameters
failed_attempts (integer) – failedAttempts, property of the request body.
is_enabled (boolean) – isEnabled, property of the request body.
polling_interval (integer) – pollingInterval, property of the request body.
primary_health_check_node (string) – primaryHealthCheckNode, property of the request body. Constraints: maxLength set to 64 and minLength set to 1.
secondary_health_check_node (string) – secondaryHealthCheckNode, property of the request body. Constraints: maxLength set to 64 and minLength set to 1.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- disable_pan_ha(headers=None, **query_parameters)[source]¶
Disable the automatic PAN failover.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
portal_global_setting¶
- class PortalGlobalSetting[source]¶
Identity Services Engine PortalGlobalSetting API (version: 3.0.0).
Wraps the Identity Services Engine PortalGlobalSetting API and exposes the API as native Python methods that return native Python objects.
- get_portal_global_setting_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get the portal global settings by id.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_portal_global_setting_by_id
- update_portal_global_setting_by_id(id, customization=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update the portal global settings by id.
- Parameters
customization (string) – Allowed values: HTML, HTMLANDJAVASCRIPT, property of the request body.
id (basestring) – id, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, customization=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_portal_global_setting_by_id
- get_portal_global_settings(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the portal global settings. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_portal_global_settings
- get_portal_global_settings_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the portal global settings. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_portal_global_settings_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the portal global setting .
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
portal_theme¶
- class PortalTheme[source]¶
Identity Services Engine PortalTheme API (version: 3.0.0).
Wraps the Identity Services Engine PortalTheme API and exposes the API as native Python methods that return native Python objects.
- get_portal_theme_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a portal theme by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_portal_theme_by_id
- update_portal_theme_by_id(id, description=None, name=None, theme_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a portal theme by ID.
- Parameters
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
theme_data (string) – Portal Theme for all portals, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, name=None, theme_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_portal_theme_by_id
- delete_portal_theme_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a portal theme by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_portal_theme_by_id
- get_portal_themes(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the portal themes. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_portal_themes
- get_portal_themes_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the portal themes. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_portal_themes_generator
- create_portal_theme(description=None, name=None, theme_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a portal theme.
- Parameters
description (string) – description, property of the request body.
name (string) – name, property of the request body.
theme_data (string) – Portal Theme for all portals, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, name=None, theme_data=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_portal_theme
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the portal theme.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
profiler¶
- class Profiler[source]¶
Identity Services Engine Profiler API (version: 3.0.0).
Wraps the Identity Services Engine Profiler API and exposes the API as native Python methods that return native Python objects.
- get_profiles(headers=None, **query_parameters)[source]¶
🚧 getProfiles.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
profiler_profile¶
- class ProfilerProfile[source]¶
Identity Services Engine ProfilerProfile API (version: 3.0.0).
Wraps the Identity Services Engine ProfilerProfile API and exposes the API as native Python methods that return native Python objects.
- get_profiler_profile_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a profiler profile by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_profiler_profile_by_id
- get_profiler_profiles(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the profiler profiles. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_profiler_profiles
- get_profiler_profiles_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the profiler profiles. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_profiler_profiles_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the profiler profile.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
provider¶
- class Provider[source]¶
Identity Services Engine Provider API (version: 3.0.0).
Wraps the Identity Services Engine Provider API and exposes the API as native Python methods that return native Python objects.
- register_service(name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
🚧 ServiceRegister.
- Parameters
name (string) – name, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- unregister_service(headers=None, **query_parameters)[source]¶
🚧 ServiceUnregister.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- reregister_service(headers=None, **query_parameters)[source]¶
🚧 ServiceReregister.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- authorization(headers=None, **query_parameters)[source]¶
🚧 Authorization.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
psn_node_details_with_radius_service¶
- class PsnNodeDetailsWithRadiusService[source]¶
Identity Services Engine PsnNodeDetailsWithRadiusService API (version: 3.0.0).
Wraps the Identity Services Engine PsnNodeDetailsWithRadiusService API and exposes the API as native Python methods that return native Python objects.
- get_session_service_node_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a PSN node details by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_session_service_node_by_name
- get_session_service_node_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a PSN node details by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_session_service_node_by_id
- get_session_service_node(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the PSN node details.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_session_service_node
- get_session_service_node_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the PSN node details.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_session_service_node_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the PSN node.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
pull_deployment_info¶
- class PullDeploymentInfo[source]¶
Identity Services Engine PullDeploymentInfo API (version: 3.0.0).
Wraps the Identity Services Engine PullDeploymentInfo API and exposes the API as native Python methods that return native Python objects.
- get_deployment_info(timeout=None, headers=None, **query_parameters)[source]¶
This API allows the client to pull the deployment information.
- Parameters
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(timeout=None, headers=None, **query_parameters)[source]¶
Alias for get_deployment_info
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the pull deployment info.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
px_grid_settings¶
- class PxGridSettings[source]¶
Identity Services Engine PxGridSettings API (version: 3.0.0).
Wraps the Identity Services Engine PxGridSettings API and exposes the API as native Python methods that return native Python objects.
- autoapprove_px_grid_settings(allow_password_based_accounts=None, auto_approve_cert_based_accounts=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to auto approve the pxGrid settings.
- Parameters
allow_password_based_accounts (boolean) – Allow password based accounts when true, property of the request body.
auto_approve_cert_based_accounts (boolean) – Auto approve certificate based accounts when true, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- autoapprove(allow_password_based_accounts=None, auto_approve_cert_based_accounts=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for autoapprove_px_grid_settings
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the pxGrid settings.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
radius_failure¶
- class RadiusFailure[source]¶
Identity Services Engine RADIUS Failure API (version: 3.0.0).
Wraps the Identity Services Engine RADIUS Failure API and exposes the API as native Python methods that return native Python objects.
- get_failures(headers=None, **query_parameters)[source]¶
🚧 getFailures.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
radius_server_sequence¶
- class RadiusServerSequence[source]¶
Identity Services Engine RADIUSServerSequence API (version: 3.0.0).
Wraps the Identity Services Engine RADIUSServerSequence API and exposes the API as native Python methods that return native Python objects.
- get_radius_server_sequence_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a RADIUS server sequence by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_radius_server_sequence_by_id
- update_radius_server_sequence_by_id(id, before_accept_attr_manipulators_list=None, continue_authorz_policy=None, description=None, local_accounting=None, name=None, on_request_attr_manipulator_list=None, prefix_separator=None, radius_server_list=None, remote_accounting=None, strip_prefix=None, strip_suffix=None, suffix_separator=None, use_attr_set_before_acc=None, use_attr_set_on_request=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a RADIUS server sequence.
- Parameters
before_accept_attr_manipulators_list (list) – The beforeAcceptAttrManipulators is required only if useAttrSetBeforeAcc is true, property of the request body (list of objects).
on_request_attr_manipulator_list (list) – The onRequestAttrManipulators is required only if useAttrSetOnRequest is true, property of the request body (list of objects).
radius_server_list (list) – RadiusServerList, property of the request body (list of strings).
continue_authorz_policy (boolean) – continueAuthorzPolicy, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
local_accounting (boolean) – localAccounting, property of the request body.
name (string) – name, property of the request body.
prefix_separator (string) – The prefixSeparator is required only if stripPrefix is true. The maximum length is 1 character, property of the request body.
remote_accounting (boolean) – remoteAccounting, property of the request body.
strip_prefix (boolean) – stripPrefix, property of the request body.
strip_suffix (boolean) – stripSuffix, property of the request body.
suffix_separator (string) – The suffixSeparator is required only if stripSuffix is true. The maximum length is 1 character, property of the request body.
use_attr_set_before_acc (boolean) – useAttrSetBeforeAcc, property of the request body.
use_attr_set_on_request (boolean) – useAttrSetOnRequest, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, before_accept_attr_manipulators_list=None, continue_authorz_policy=None, description=None, local_accounting=None, name=None, on_request_attr_manipulator_list=None, prefix_separator=None, radius_server_list=None, remote_accounting=None, strip_prefix=None, strip_suffix=None, suffix_separator=None, use_attr_set_before_acc=None, use_attr_set_on_request=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_radius_server_sequence_by_id
- delete_radius_server_sequence_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a RADIUS server sequence.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_radius_server_sequence_by_id
- get_radius_server_sequence(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the RADIUS server sequences.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_radius_server_sequence
- get_radius_server_sequence_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the RADIUS server sequences.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_radius_server_sequence_generator
- create_radius_server_sequence(before_accept_attr_manipulators_list=None, continue_authorz_policy=None, description=None, local_accounting=None, name=None, on_request_attr_manipulator_list=None, prefix_separator=None, radius_server_list=None, remote_accounting=None, strip_prefix=None, strip_suffix=None, suffix_separator=None, use_attr_set_before_acc=None, use_attr_set_on_request=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a RADIUS server sequence.
- Parameters
before_accept_attr_manipulators_list (list) – The beforeAcceptAttrManipulators is required only if useAttrSetBeforeAcc is true, property of the request body (list of objects).
on_request_attr_manipulator_list (list) – The onRequestAttrManipulators is required only if useAttrSetOnRequest is true, property of the request body (list of objects).
radius_server_list (list) – RadiusServerList, property of the request body (list of strings).
continue_authorz_policy (boolean) – continueAuthorzPolicy, property of the request body.
description (string) – description, property of the request body.
local_accounting (boolean) – localAccounting, property of the request body.
name (string) – name, property of the request body.
prefix_separator (string) – The prefixSeparator is required only if stripPrefix is true. The maximum length is 1 character, property of the request body.
remote_accounting (boolean) – remoteAccounting, property of the request body.
strip_prefix (boolean) – stripPrefix, property of the request body.
strip_suffix (boolean) – stripSuffix, property of the request body.
suffix_separator (string) – The suffixSeparator is required only if stripSuffix is true. The maximum length is 1 character, property of the request body.
use_attr_set_before_acc (boolean) – useAttrSetBeforeAcc, property of the request body.
use_attr_set_on_request (boolean) – useAttrSetOnRequest, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(before_accept_attr_manipulators_list=None, continue_authorz_policy=None, description=None, local_accounting=None, name=None, on_request_attr_manipulator_list=None, prefix_separator=None, radius_server_list=None, remote_accounting=None, strip_prefix=None, strip_suffix=None, suffix_separator=None, use_attr_set_before_acc=None, use_attr_set_on_request=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_radius_server_sequence
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the RADIUS server sequence.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
restid_store¶
- class RestidStore[source]¶
Identity Services Engine RESTIDStore API (version: 3.0.0).
Wraps the Identity Services Engine RESTIDStore API and exposes the API as native Python methods that return native Python objects.
- get_rest_id_store_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a REST ID store by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_rest_id_store_by_name
- update_rest_id_store_by_name(name, description=None, ers_rest_idstore_attributes=None, id=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a REST ID store by name.
- Parameters
description (string) – description, property of the request body.
ers_rest_idstore_attributes (object) – ersRestIDStoreAttributes, property of the request body.
id (string) – id, property of the request body.
name (basestring) – name, property of the request body.
name – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(name, description=None, ers_rest_idstore_attributes=None, id=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_rest_id_store_by_name
- delete_rest_id_store_by_name(name, headers=None, **query_parameters)[source]¶
This API deletes a REST ID store by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_rest_id_store_by_name
- get_rest_id_store_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a REST ID store by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_rest_id_store_by_id
- update_rest_id_store_by_id(id, description=None, ers_rest_idstore_attributes=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a REST ID store.
- Parameters
description (string) – description, property of the request body.
ers_rest_idstore_attributes (object) – ersRestIDStoreAttributes, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, ers_rest_idstore_attributes=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_rest_id_store_by_id
- delete_rest_id_store_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a REST ID store.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_rest_id_store_by_id
- get_rest_id_store(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the REST ID stores. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_rest_id_store
- get_rest_id_store_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the REST ID stores. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_rest_id_store_generator
- create_rest_id_store(description=None, ers_rest_idstore_attributes=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a REST ID store.
- Parameters
description (string) – description, property of the request body.
ers_rest_idstore_attributes (object) – ersRestIDStoreAttributes, property of the request body.
name (string) – name, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, ers_rest_idstore_attributes=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_rest_id_store
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the REST ID store.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
replication_status¶
- class ReplicationStatus[source]¶
Identity Services Engine Replication Status API (version: 3.0.0).
Wraps the Identity Services Engine Replication Status API and exposes the API as native Python methods that return native Python objects.
- get_node_replication_status(node, headers=None, **query_parameters)[source]¶
Retrives replication status of a node.
- Parameters
node (basestring) – node path parameter. ID of the existing node.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
repository¶
- class Repository[source]¶
Identity Services Engine Repository API (version: 3.0.0).
Wraps the Identity Services Engine Repository API and exposes the API as native Python methods that return native Python objects.
- get_repositories(headers=None, **query_parameters)[source]¶
This will get the full list of repository definitions on the system. .
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_repositories
- create_repository(enable_pki=None, name=None, password=None, path=None, protocol=None, server_name=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Create a new repository in the system. The name provided for the repository must be unique. .
- Parameters
enable_pki (boolean) – enablePki, property of the request body.
name (string) – Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters., property of the request body. Constraints: maxLength set to 80 and minLength set to 1.
password (string) – Password can contain alphanumeric and/or special characters., property of the request body.
path (string) – Path should always start with “/” and can contain alphanumeric, underscore, hyphen and dot characters., property of the request body.
protocol (string) – protocol, property of the request body. Available values are ‘DISK’, ‘FTP’, ‘SFTP’, ‘TFTP’, ‘NFS’, ‘CDROM’, ‘HTTP’ and ‘HTTPS’.
server_name (string) – serverName, property of the request body.
user_name (string) – Username can contain alphanumeric characters., property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(enable_pki=None, name=None, password=None, path=None, protocol=None, server_name=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_repository
- get_repository(name, headers=None, **query_parameters)[source]¶
Get a specific repository identified by the name passed in the URL. .
- Parameters
name (basestring) – name path parameter. Unique name for a repository.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_repository
- update_repository(name, enable_pki=None, password=None, path=None, protocol=None, server_name=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Update the definition of a specific repository, providing ALL parameters for the repository. .
- Parameters
enable_pki (boolean) – enablePki, property of the request body.
name (basestring) – Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters., property of the request body. Constraints: maxLength set to 80 and minLength set to 1.
password (string) – Password can contain alphanumeric and/or special characters., property of the request body.
path (string) – Path should always start with “/” and can contain alphanumeric, underscore, hyphen and dot characters., property of the request body.
protocol (string) – protocol, property of the request body. Available values are ‘DISK’, ‘FTP’, ‘SFTP’, ‘TFTP’, ‘NFS’, ‘CDROM’, ‘HTTP’ and ‘HTTPS’.
server_name (string) – serverName, property of the request body.
user_name (string) – Username can contain alphanumeric characters., property of the request body.
name – name path parameter. Unique name for a repository.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_name(name, enable_pki=None, password=None, path=None, protocol=None, server_name=None, user_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_repository
- delete_repository(name, headers=None, **query_parameters)[source]¶
Long description TBD .
- Parameters
name (basestring) – name path parameter. Unique name for a repository.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_repository
- get_repository_files(name, headers=None, **query_parameters)[source]¶
This will get the full list of files present in the named repository. .
- Parameters
name (basestring) – name path parameter. Unique name for a repository.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_files(name, headers=None, **query_parameters)[source]¶
Alias for get_repository_files
sms_provider¶
- class SmsProvider[source]¶
Identity Services Engine SMSProvider API (version: 3.0.0).
Wraps the Identity Services Engine SMSProvider API and exposes the API as native Python methods that return native Python objects.
- get_sms_provider(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the SMS providers. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sms_provider
- get_sms_provider_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the SMS providers. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sms_provider_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the SMS provider.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
sxp_connections¶
- class SxpConnections[source]¶
Identity Services Engine SXPConnections API (version: 3.0.0).
Wraps the Identity Services Engine SXPConnections API and exposes the API as native Python methods that return native Python objects.
- get_sxp_connections_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a SXP connection by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_sxp_connections_by_id
- update_sxp_connections_by_id(id, description=None, enabled=None, ip_address=None, sxp_mode=None, sxp_node=None, sxp_peer=None, sxp_version=None, sxp_vpn=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a SXP connection.
- Parameters
description (string) – description, property of the request body.
enabled (boolean) – enabled, property of the request body.
id (basestring) – id, property of the request body.
ip_address (string) – ipAddress, property of the request body.
sxp_mode (string) – sxpMode, property of the request body.
sxp_node (string) – sxpNode, property of the request body.
sxp_peer (string) – sxpPeer, property of the request body.
sxp_version (string) – sxpVersion, property of the request body.
sxp_vpn (string) – sxpVpn, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, enabled=None, ip_address=None, sxp_mode=None, sxp_node=None, sxp_peer=None, sxp_version=None, sxp_vpn=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_sxp_connections_by_id
- delete_sxp_connections_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a SXP connection.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_sxp_connections_by_id
- get_sxp_connections(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the SXP connections. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sxp_connections
- get_sxp_connections_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the SXP connections. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sxp_connections_generator
- create_sxp_connections(description=None, enabled=None, ip_address=None, sxp_mode=None, sxp_node=None, sxp_peer=None, sxp_version=None, sxp_vpn=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a SXP connection.
- Parameters
description (string) – description, property of the request body.
enabled (boolean) – enabled, property of the request body.
ip_address (string) – ipAddress, property of the request body.
sxp_mode (string) – sxpMode, property of the request body.
sxp_node (string) – sxpNode, property of the request body.
sxp_peer (string) – sxpPeer, property of the request body.
sxp_version (string) – sxpVersion, property of the request body.
sxp_vpn (string) – sxpVpn, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, enabled=None, ip_address=None, sxp_mode=None, sxp_node=None, sxp_peer=None, sxp_version=None, sxp_vpn=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_sxp_connections
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the SXP connections.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_sxp_connections(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_sxp_connections
- monitor_bulk_status_sxp_connections(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_sxp_connections
sxp_local_bindings¶
- class SxpLocalBindings[source]¶
Identity Services Engine SXPLocalBindings API (version: 3.0.0).
Wraps the Identity Services Engine SXPLocalBindings API and exposes the API as native Python methods that return native Python objects.
- get_sxp_local_bindings_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a SXP local binding by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_sxp_local_bindings_by_id
- update_sxp_local_bindings_by_id(id, binding_name=None, description=None, ip_address_or_host=None, sgt=None, sxp_vpn=None, vns=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a SXP local binding.
- Parameters
binding_name (string) – This field is depricated from Cisco ISE 3.0, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
ip_address_or_host (string) – IP address for static mapping (hostname is not supported), property of the request body.
sgt (string) – SGT name or ID, property of the request body.
sxp_vpn (string) – List of SXP Domains, separated with comma. At least one of: sxpVpn or vns should be defined, property of the request body.
vns (string) – List of Virtual Networks, separated with comma. At least one of: sxpVpn or vns should be defined, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, binding_name=None, description=None, ip_address_or_host=None, sgt=None, sxp_vpn=None, vns=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_sxp_local_bindings_by_id
- delete_sxp_local_bindings_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a SXP local binding.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_sxp_local_bindings_by_id
- get_sxp_local_bindings(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the SXP local bindings. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sxp_local_bindings
- get_sxp_local_bindings_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the SXP local bindings. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sxp_local_bindings_generator
- create_sxp_local_bindings(binding_name=None, description=None, id=None, ip_address_or_host=None, sgt=None, sxp_vpn=None, vns=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a SXP local binding.
- Parameters
binding_name (string) – This field is depricated from Cisco ISE 3.0, property of the request body.
description (string) – description, property of the request body.
id (string) – id, property of the request body.
ip_address_or_host (string) – IP address for static mapping (hostname is not supported), property of the request body.
sgt (string) – SGT name or ID, property of the request body.
sxp_vpn (string) – List of SXP Domains, separated with comma. At least one of: sxpVpn or vns should be defined, property of the request body.
vns (string) – List of Virtual Networks, separated with comma. At least one of: sxpVpn or vns should be defined, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(binding_name=None, description=None, id=None, ip_address_or_host=None, sgt=None, sxp_vpn=None, vns=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_sxp_local_bindings
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the SXP local bindings.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_sxp_local_bindings(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_sxp_local_bindings
- monitor_bulk_status_sxp_local_bindings(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_sxp_local_bindings
sxp_vpns¶
- class SxpVpns[source]¶
Identity Services Engine SXPVPNs API (version: 3.0.0).
Wraps the Identity Services Engine SXPVPNs API and exposes the API as native Python methods that return native Python objects.
- get_sxp_vpn_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a SXP VPN by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_sxp_vpn_by_id
- delete_sxp_vpn_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a SXP VPN.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_sxp_vpn_by_id
- get_sxp_vpns(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the SXP VPNs. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sxp_vpns
- get_sxp_vpns_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the SXP VPNs. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sxp_vpns_generator
- create_sxp_vpn(sxp_vpn_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a SXP VPN.
- Parameters
sxp_vpn_name (string) – sxpVpnName, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(sxp_vpn_name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_sxp_vpn
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the SXP VPNs.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_sxp_vpns(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_sxp_vpns
- monitor_bulk_status_sxp_vpns(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_sxp_vpns
security_group_to_virtual_network¶
- class SecurityGroupToVirtualNetwork[source]¶
Identity Services Engine SecurityGroupToVirtualNetwork API (version: 3.0.0).
Wraps the Identity Services Engine SecurityGroupToVirtualNetwork API and exposes the API as native Python methods that return native Python objects.
- get_security_groups_to_vn_to_vlan_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a security group to virtual network by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_security_groups_to_vn_to_vlan_by_id
- update_security_groups_to_vn_to_vlan_by_id(id, description=None, name=None, sgt_id=None, virtualnetworklist=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a security group to virtual network.
- Parameters
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
sgt_id (string) – sgtId, property of the request body.
virtualnetworklist (list) – virtualnetworklist, property of the request body (list of objects).
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, name=None, sgt_id=None, virtualnetworklist=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- delete_security_groups_to_vn_to_vlan_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a security group ACL to virtual network.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_security_groups_to_vn_to_vlan(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the security group ACL to virtual networks. Filter: [sgtId] To search guest users by using toDate column,follow the format: DD- MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_security_groups_to_vn_to_vlan
- get_security_groups_to_vn_to_vlan_generator(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the security group ACL to virtual networks. Filter: [sgtId] To search guest users by using toDate column,follow the format: DD- MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
- create_security_groups_to_vn_to_vlan(description=None, id=None, name=None, sgt_id=None, virtualnetworklist=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a security group to virtual network.
- Parameters
description (string) – description, property of the request body.
id (string) – id, property of the request body.
name (string) – name, property of the request body.
sgt_id (string) – sgtId, property of the request body.
virtualnetworklist (list) – virtualnetworklist, property of the request body (list of objects).
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, id=None, name=None, sgt_id=None, virtualnetworklist=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_security_groups_to_vn_to_vlan
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the security group to virtual network.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_security_groups_to_vn_to_vlan(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
- monitor_bulk_status_security_groups_to_vn_to_vlan(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
security_groups¶
- class SecurityGroups[source]¶
Identity Services Engine SecurityGroups API (version: 3.0.0).
Wraps the Identity Services Engine SecurityGroups API and exposes the API as native Python methods that return native Python objects.
- get_security_group_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a security group by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_security_group_by_id
- update_security_group_by_id(id, default_sgacls=None, description=None, generation_id=None, is_read_only=None, name=None, propogate_to_apic=None, value=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a security group.
- Parameters
default_sgacls (list) – defaultSGACLs, property of the request body (list of objects).
description (string) – description, property of the request body.
generation_id (integer) – generationId, property of the request body.
id (basestring) – id, property of the request body.
is_read_only (boolean) – isReadOnly, property of the request body.
name (string) – name, property of the request body.
propogate_to_apic (boolean) – propogateToApic, property of the request body.
value (integer) – Value range: 2 ot 65519 or -1 to auto- generate, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, default_sgacls=None, description=None, generation_id=None, is_read_only=None, name=None, propogate_to_apic=None, value=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_security_group_by_id
- delete_security_group_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a security group.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_security_group_by_id
- get_security_groups(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the security groups. Filter: [propogateToApic, name, description, value] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description, value].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_security_groups
- get_security_groups_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the security groups. Filter: [propogateToApic, name, description, value] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description, value].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_security_groups_generator
- create_security_group(default_sgacls=None, description=None, generation_id=None, is_read_only=None, name=None, propogate_to_apic=None, value=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a security group.
- Parameters
default_sgacls (list) – defaultSGACLs, property of the request body (list of objects).
description (string) – description, property of the request body.
generation_id (integer) – generationId, property of the request body.
is_read_only (boolean) – isReadOnly, property of the request body.
name (string) – name, property of the request body.
propogate_to_apic (boolean) – propogateToApic, property of the request body.
value (integer) – Value range: 2 ot 65519 or -1 to auto- generate, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(default_sgacls=None, description=None, generation_id=None, is_read_only=None, name=None, propogate_to_apic=None, value=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_security_group
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the security groups.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_security_group(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_security_group
- monitor_bulk_status_security_group(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_security_group
security_groups_acls¶
- class SecurityGroupsAcls[source]¶
Identity Services Engine SecurityGroupsACLs API (version: 3.0.0).
Wraps the Identity Services Engine SecurityGroupsACLs API and exposes the API as native Python methods that return native Python objects.
- get_security_groups_acl_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a security group ACL by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_security_groups_acl_by_id
- update_security_groups_acl_by_id(id, aclcontent=None, description=None, generation_id=None, ip_version=None, is_read_only=None, modelled_content=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a security group ACL.
- Parameters
aclcontent (string) – aclcontent, property of the request body.
description (string) – description, property of the request body.
generation_id (string) – generationId, property of the request body.
id (basestring) – id, property of the request body.
ip_version (string) – Allowed values: IPV4, IPV6, IP_AGNOSTIC, property of the request body.
is_read_only (boolean) – isReadOnly, property of the request body.
modelled_content (object) – Modelled content of contract, property of the request body.
name (string) – name, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, aclcontent=None, description=None, generation_id=None, ip_version=None, is_read_only=None, modelled_content=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_security_groups_acl_by_id
- delete_security_groups_acl_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a security group ACL.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_security_groups_acl_by_id
- get_security_groups_acl(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the security group ACLs. Filter: [ipVersion, name, description] To search guest users by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [ipVersion, name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_security_groups_acl
- get_security_groups_acl_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the security group ACLs. Filter: [ipVersion, name, description] To search guest users by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [ipVersion, name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_security_groups_acl_generator
- create_security_groups_acl(aclcontent=None, description=None, generation_id=None, ip_version=None, is_read_only=None, modelled_content=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a security group ACL.
- Parameters
aclcontent (string) – aclcontent, property of the request body.
description (string) – description, property of the request body.
generation_id (string) – generationId, property of the request body.
ip_version (string) – Allowed values: IPV4, IPV6, IP_AGNOSTIC, property of the request body.
is_read_only (boolean) – isReadOnly, property of the request body.
modelled_content (object) – Modelled content of contract, property of the request body.
name (string) – name, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(aclcontent=None, description=None, generation_id=None, ip_version=None, is_read_only=None, modelled_content=None, name=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_security_groups_acl
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the security group ACLs.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_security_groups_acl(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_security_groups_acl
- monitor_bulk_status_security_groups_acl(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_security_groups_acl
self_registered_portal¶
- class SelfRegisteredPortal[source]¶
Identity Services Engine SelfRegisteredPortal API (version: 3.0.0).
Wraps the Identity Services Engine SelfRegisteredPortal API and exposes the API as native Python methods that return native Python objects.
- get_self_registered_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a self registered portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_self_registered_portal_by_id
- update_self_registered_portal_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a self registered portal by ID.
- Parameters
customizations (object) – Defines all of the Portal Customizations available, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a portal, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_self_registered_portal_by_id
- delete_self_registered_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a self registered portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_self_registered_portal_by_id
- get_self_registered_portals(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the self registered portals. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_self_registered_portals
- get_self_registered_portals_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the self registered portals. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_self_registered_portals_generator
- create_self_registered_portal(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a self registered portal.
- Parameters
customizations (object) – Defines all of the Portal Customizations available, property of the request body.
description (string) – description, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a portal, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_self_registered_portal
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the self registered portal.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
session_directory¶
- class SessionDirectory[source]¶
Identity Services Engine Session Directory API (version: 3.0.0).
Wraps the Identity Services Engine Session Directory API and exposes the API as native Python methods that return native Python objects.
- get_sessions(headers=None, **query_parameters)[source]¶
🚧 getSessions.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_sessions_for_recovery(headers=None, **query_parameters)[source]¶
🚧 getSessionsForRecovery.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_session_by_ip_address(headers=None, **query_parameters)[source]¶
🚧 getSessionByIpAddress.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_session_by_mac_address(headers=None, **query_parameters)[source]¶
🚧 getSessionByMacAddress.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_user_groups(headers=None, **query_parameters)[source]¶
🚧 getUserGroups.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_user_group_by_user_name(headers=None, **query_parameters)[source]¶
🚧 getUserGroupByUserName.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(headers=None, **query_parameters)[source]¶
Alias for get_user_group_by_user_name
sponsor_group¶
- class SponsorGroup[source]¶
Identity Services Engine SponsorGroup API (version: 3.0.0).
Wraps the Identity Services Engine SponsorGroup API and exposes the API as native Python methods that return native Python objects.
- get_sponsor_group_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a sponsor group by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_sponsor_group_by_id
- update_sponsor_group_by_id(id, auto_notification=None, create_permissions=None, description=None, guest_types=None, is_default_group=None, is_enabled=None, locations=None, manage_permission=None, member_groups=None, name=None, other_permissions=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a sponsor group by ID.
- Parameters
auto_notification (boolean) – autoNotification, property of the request body.
create_permissions (object) – createPermissions, property of the request body.
description (string) – description, property of the request body.
guest_types (list) – guestTypes, property of the request body (list of strings).
id (basestring) – id, property of the request body.
is_default_group (boolean) – isDefaultGroup, property of the request body.
is_enabled (boolean) – isEnabled, property of the request body.
locations (list) – locations, property of the request body (list of strings).
manage_permission (string) – managePermission, property of the request body.
member_groups (list) – memberGroups, property of the request body (list of strings).
name (string) – name, property of the request body.
other_permissions (object) – otherPermissions, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, auto_notification=None, create_permissions=None, description=None, guest_types=None, is_default_group=None, is_enabled=None, locations=None, manage_permission=None, member_groups=None, name=None, other_permissions=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_sponsor_group_by_id
- delete_sponsor_group_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a sponsor group by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_sponsor_group_by_id
- get_sponsor_group(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the sponsor groups. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sponsor_group
- get_sponsor_group_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the sponsor groups. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sponsor_group_generator
- create_sponsor_group(auto_notification=None, create_permissions=None, description=None, guest_types=None, is_default_group=None, is_enabled=None, locations=None, manage_permission=None, member_groups=None, name=None, other_permissions=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a sponsor group.
- Parameters
auto_notification (boolean) – autoNotification, property of the request body.
create_permissions (object) – createPermissions, property of the request body.
description (string) – description, property of the request body.
guest_types (list) – guestTypes, property of the request body (list of strings).
is_default_group (boolean) – isDefaultGroup, property of the request body.
is_enabled (boolean) – isEnabled, property of the request body.
locations (list) – locations, property of the request body (list of strings).
manage_permission (string) – managePermission, property of the request body.
member_groups (list) – memberGroups, property of the request body (list of strings).
name (string) – name, property of the request body.
other_permissions (object) – otherPermissions, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(auto_notification=None, create_permissions=None, description=None, guest_types=None, is_default_group=None, is_enabled=None, locations=None, manage_permission=None, member_groups=None, name=None, other_permissions=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_sponsor_group
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the sponsor group.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
sponsor_group_member¶
- class SponsorGroupMember[source]¶
Identity Services Engine SponsorGroupMember API (version: 3.0.0).
Wraps the Identity Services Engine SponsorGroupMember API and exposes the API as native Python methods that return native Python objects.
- get_sponsor_group_member(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the sponsor group members. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sponsor_group_member
- get_sponsor_group_member_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the sponsor group members. Filter: [name] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sponsor_group_member_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the sponsor group member.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
sponsor_portal¶
- class SponsorPortal[source]¶
Identity Services Engine SponsorPortal API (version: 3.0.0).
Wraps the Identity Services Engine SponsorPortal API and exposes the API as native Python methods that return native Python objects.
- get_sponsor_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a sponsor portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_sponsor_portal_by_id
- update_sponsor_portal_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a sponsor portal by ID.
- Parameters
customizations (object) – customizations, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a portal, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_sponsor_portal_by_id
- delete_sponsor_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a sponsor portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_sponsor_portal_by_id
- get_sponsor_portal(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the sponsor portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sponsor_portal
- get_sponsor_portal_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the sponsor portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sponsor_portal_generator
- create_sponsor_portal(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a sponsor portal.
- Parameters
customizations (object) – customizations, property of the request body.
description (string) – description, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a portal, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_sponsor_portal
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the sponsor portal.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
sponsored_guest_portal¶
- class SponsoredGuestPortal[source]¶
Identity Services Engine SponsoredGuestPortal API (version: 3.0.0).
Wraps the Identity Services Engine SponsoredGuestPortal API and exposes the API as native Python methods that return native Python objects.
- get_sponsored_guest_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a sponsored guest portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_sponsored_guest_portal_by_id
- update_sponsored_guest_portal_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a sponsored guest portal by ID.
- Parameters
customizations (object) – Defines all of the Portal Customizations available, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a portal, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_sponsored_guest_portal_by_id
- delete_sponsored_guest_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a sponsored guest portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_sponsored_guest_portal_by_id
- get_sponsored_guest_portals(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the sponsored guest portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sponsored_guest_portals
- get_sponsored_guest_portals_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the sponsored guest portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_sponsored_guest_portals_generator
- create_sponsored_guest_portal(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a sponsored guest portal.
- Parameters
customizations (object) – Defines all of the Portal Customizations available, property of the request body.
description (string) – description, property of the request body.
name (string) – name, property of the request body.
portal_test_url (string) – URL to bring up a test page for this portal, property of the request body.
portal_type (string) – Allowed values: BYOD, HOTSPOTGUEST, MYDEVICE, SELFREGGUEST, SPONSOR, SPONSOREDGUEST, property of the request body.
settings (object) – Defines all of the settings groups available for a portal, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(customizations=None, description=None, name=None, portal_test_url=None, portal_type=None, settings=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_sponsored_guest_portal
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the sponsored guest portal.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
support_bundle_download¶
- class SupportBundleDownload[source]¶
Identity Services Engine SupportBundleDownload API (version: 3.0.0).
Wraps the Identity Services Engine SupportBundleDownload API and exposes the API as native Python methods that return native Python objects.
- download_support_bundle(file_name=None, dirpath=None, save_file=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to upload a support bundle.
- Parameters
file_name (string) – fileName, property of the request body.
dirpath (basestring) – Directory absolute path. Defaults to os.getcwd().
save_file (bool) – Enable or disable automatic file creation of raw response.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
HTTP Response container. For more information check the urlib3 documentation
- Return type
urllib3.response.HTTPResponse
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
DownloadFailure – If was not able to download the raw
response to a file. –
- download(file_name=None, dirpath=None, save_file=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for download_support_bundle
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the support bundle download.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
support_bundle_status¶
- class SupportBundleStatus[source]¶
Identity Services Engine SupportBundleStatus API (version: 3.0.0).
Wraps the Identity Services Engine SupportBundleStatus API and exposes the API as native Python methods that return native Python objects.
- get_support_bundle_status_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a support bundle status by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_support_bundle_status_by_id
- get_support_bundle_status(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the support bundle status.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_support_bundle_status
- get_support_bundle_status_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the support bundle status.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_support_bundle_status_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the support bundle status.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
support_bundle_trigger_configuration¶
- class SupportBundleTriggerConfiguration[source]¶
Identity Services Engine SupportBundleTriggerConfiguration API (version: 3.0.0).
Wraps the Identity Services Engine SupportBundleTriggerConfiguration API and exposes the API as native Python methods that return native Python objects.
- create_support_bundle(description=None, host_name=None, name=None, support_bundle_include_options=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to create a support bundle trigger configuration.
- Parameters
description (string) – description, property of the request body.
host_name (string) – This parameter is hostName only, xxxx of xxxx.yyy.zz, property of the request body.
name (string) – Resource Name, property of the request body.
support_bundle_include_options (object) – supportBundleIncludeOptions, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, host_name=None, name=None, support_bundle_include_options=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_support_bundle
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the support bundle trigger configuration.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
sync_ise_node¶
- class SyncIseNode[source]¶
Identity Services Engine Sync ISE Node API (version: 3.0.0).
Wraps the Identity Services Engine Sync ISE Node API and exposes the API as native Python methods that return native Python objects.
- sync_node(hostname=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Performing a manual sync will involve a reload of the target node, but not the primary PAN. There might be situations where if the node has been out of sync for a long time, it may not be possible to recover via a manual sync.
- Parameters
hostname (string) – hostname, property of the request body. Constraints: maxLength set to 64 and minLength set to 1.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
system_health¶
- class SystemHealth[source]¶
Identity Services Engine System Health API (version: 3.0.0).
Wraps the Identity Services Engine System Health API and exposes the API as native Python methods that return native Python objects.
- get_healths(headers=None, **query_parameters)[source]¶
🚧 getHealths.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_performances(headers=None, **query_parameters)[source]¶
🚧 getPerformances.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
system_certificate¶
- class SystemCertificate[source]¶
Identity Services Engine SystemCertificate API (version: 3.0.0).
Wraps the Identity Services Engine SystemCertificate API and exposes the API as native Python methods that return native Python objects.
- create_system_certificate(ers_local_cert_stub=None, node_id=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to create a system certificate.
- Parameters
ers_local_cert_stub (object) – Inputs for certificate creation, property of the request body.
node_id (string) – NodeId of Cisco ISE application, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(ers_local_cert_stub=None, node_id=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_system_certificate
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the system certificate.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
tacacs_command_sets¶
- class TacacsCommandSets[source]¶
Identity Services Engine TACACSCommandSets API (version: 3.0.0).
Wraps the Identity Services Engine TACACSCommandSets API and exposes the API as native Python methods that return native Python objects.
- get_tacacs_command_sets_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get TACACS command sets by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_command_sets_by_name
- get_tacacs_command_sets_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get TACACS command sets by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_command_sets_by_id
- update_tacacs_command_sets_by_id(id, commands=None, description=None, name=None, permit_unmatched=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update TACACS command sets.
- Parameters
commands (object) – commands, property of the request body.
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
permit_unmatched (boolean) – permitUnmatched, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, commands=None, description=None, name=None, permit_unmatched=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_tacacs_command_sets_by_id
- delete_tacacs_command_sets_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes TACACS command sets.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_tacacs_command_sets_by_id
- get_tacacs_command_sets(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the TACACS command sets.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_command_sets
- get_tacacs_command_sets_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the TACACS command sets.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_command_sets_generator
- create_tacacs_command_sets(commands=None, description=None, name=None, permit_unmatched=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates TACACS command sets.
- Parameters
commands (object) – commands, property of the request body.
description (string) – description, property of the request body.
name (string) – name, property of the request body.
permit_unmatched (boolean) – permitUnmatched, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(commands=None, description=None, name=None, permit_unmatched=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_tacacs_command_sets
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the TACACS command sets.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
tacacs_external_servers¶
- class TacacsExternalServers[source]¶
Identity Services Engine TACACSExternalServers API (version: 3.0.0).
Wraps the Identity Services Engine TACACSExternalServers API and exposes the API as native Python methods that return native Python objects.
- get_tacacs_external_servers_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get TACACS external servers by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_external_servers_by_name
- get_tacacs_external_servers_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get TACACS external servers by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_external_servers_by_id
- update_tacacs_external_servers_by_id(id, connection_port=None, description=None, host_ip=None, name=None, shared_secret=None, single_connect=None, timeout=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update TACACS external servers.
- Parameters
connection_port (integer) – The port to connect the server, property of the request body.
description (string) – description, property of the request body.
host_ip (string) – The server IPV4 address, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
shared_secret (string) – The server shared secret, property of the request body.
single_connect (boolean) – Define the use of single connection, property of the request body.
timeout (integer) – The server timeout, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, connection_port=None, description=None, host_ip=None, name=None, shared_secret=None, single_connect=None, timeout=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_tacacs_external_servers_by_id
- delete_tacacs_external_servers_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes TACACS external servers.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_tacacs_external_servers_by_id
- get_tacacs_external_servers(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the TACACS external servers.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_external_servers
- get_tacacs_external_servers_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the TACACS external servers.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_external_servers_generator
- create_tacacs_external_servers(connection_port=None, description=None, host_ip=None, name=None, shared_secret=None, single_connect=None, timeout=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates TACACS external servers.
- Parameters
connection_port (integer) – The port to connect the server, property of the request body.
description (string) – description, property of the request body.
host_ip (string) – The server IPV4 address, property of the request body.
name (string) – name, property of the request body.
shared_secret (string) – The server shared secret, property of the request body.
single_connect (boolean) – Define the use of single connection, property of the request body.
timeout (integer) – The server timeout, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(connection_port=None, description=None, host_ip=None, name=None, shared_secret=None, single_connect=None, timeout=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_tacacs_external_servers
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the TACACS external servers.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
tacacs_profile¶
- class TacacsProfile[source]¶
Identity Services Engine TACACSProfile API (version: 3.0.0).
Wraps the Identity Services Engine TACACSProfile API and exposes the API as native Python methods that return native Python objects.
- get_tacacs_profile_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a TACACS profile by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_profile_by_name
- get_tacacs_profile_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a TACACS profile by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_profile_by_id
- update_tacacs_profile_by_id(id, description=None, name=None, session_attributes=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a TACACS profile.
- Parameters
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
name (string) – name, property of the request body.
session_attributes (object) – Holds list of session attributes. View type for GUI is Shell by default, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, name=None, session_attributes=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_tacacs_profile_by_id
- delete_tacacs_profile_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a TACACS profile.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_tacacs_profile_by_id
- get_tacacs_profile(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the TACACS profiles.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_profile
- get_tacacs_profile_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the TACACS profiles.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_profile_generator
- create_tacacs_profile(description=None, name=None, session_attributes=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a TACACS profile.
- Parameters
description (string) – description, property of the request body.
name (string) – name, property of the request body.
session_attributes (object) – Holds list of session attributes. View type for GUI is Shell by default, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, name=None, session_attributes=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_tacacs_profile
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the TACACS profile.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
tacacs_server_sequence¶
- class TacacsServerSequence[source]¶
Identity Services Engine TacacsServerSequence API (version: 3.0.0).
Wraps the Identity Services Engine TacacsServerSequence API and exposes the API as native Python methods that return native Python objects.
- get_tacacs_server_sequence_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a TACACS server sequence by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_server_sequence_by_name
- get_tacacs_server_sequence_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a TACACS server sequence by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_server_sequence_by_id
- update_tacacs_server_sequence_by_id(id, description=None, local_accounting=None, name=None, prefix_delimiter=None, prefix_strip=None, remote_accounting=None, server_list=None, suffix_delimiter=None, suffix_strip=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update a TACACS server sequence.
- Parameters
description (string) – description, property of the request body.
id (basestring) – id, property of the request body.
local_accounting (boolean) – localAccounting, property of the request body.
name (string) – name, property of the request body.
prefix_delimiter (string) – The delimiter that will be used for prefix strip, property of the request body.
prefix_strip (boolean) – Define if a delimiter will be used for prefix strip, property of the request body.
remote_accounting (boolean) – remoteAccounting, property of the request body.
server_list (string) – The names of Tacacs external servers separated by commas. The order of the names in the string is the order of servers that will be used during authentication, property of the request body.
suffix_delimiter (string) – The delimiter that will be used for suffix strip, property of the request body.
suffix_strip (boolean) – Define if a delimiter will be used for suffix strip, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, description=None, local_accounting=None, name=None, prefix_delimiter=None, prefix_strip=None, remote_accounting=None, server_list=None, suffix_delimiter=None, suffix_strip=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_tacacs_server_sequence_by_id
- delete_tacacs_server_sequence_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes a TACACS server sequence.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_tacacs_server_sequence_by_id
- get_tacacs_server_sequence(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the TACACS server sequences.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_server_sequence
- get_tacacs_server_sequence_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the TACACS server sequences.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_tacacs_server_sequence_generator
- create_tacacs_server_sequence(description=None, local_accounting=None, name=None, prefix_delimiter=None, prefix_strip=None, remote_accounting=None, server_list=None, suffix_delimiter=None, suffix_strip=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates a TACACS server sequence.
- Parameters
description (string) – description, property of the request body.
local_accounting (boolean) – localAccounting, property of the request body.
name (string) – name, property of the request body.
prefix_delimiter (string) – The delimiter that will be used for prefix strip, property of the request body.
prefix_strip (boolean) – Define if a delimiter will be used for prefix strip, property of the request body.
remote_accounting (boolean) – remoteAccounting, property of the request body.
server_list (string) – The names of Tacacs external servers separated by commas. The order of the names in the string is the order of servers that will be used during authentication, property of the request body.
suffix_delimiter (string) – The delimiter that will be used for suffix strip, property of the request body.
suffix_strip (boolean) – Define if a delimiter will be used for suffix strip, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(description=None, local_accounting=None, name=None, prefix_delimiter=None, prefix_strip=None, remote_accounting=None, server_list=None, suffix_delimiter=None, suffix_strip=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_tacacs_server_sequence
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the TACACS server sequence.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
telemetry_information¶
- class TelemetryInformation[source]¶
Identity Services Engine TelemetryInformation API (version: 3.0.0).
Wraps the Identity Services Engine TelemetryInformation API and exposes the API as native Python methods that return native Python objects.
- get_telemetry_info_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get telemetry information by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_telemetry_info_by_id
- get_telemetry_information(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the telemetry information. Filter: [deploymentId] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_telemetry_information
- get_telemetry_information_generator(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the telemetry information. Filter: [deploymentId] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 .
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_telemetry_information_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the telemetry information.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
trust_sec_configuration¶
- class TrustSecConfiguration[source]¶
Identity Services Engine TrustSec Configuration API (version: 3.0.0).
Wraps the Identity Services Engine TrustSec Configuration API and exposes the API as native Python methods that return native Python objects.
- get_security_groups(headers=None, **query_parameters)[source]¶
🚧 getSecurityGroups.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_security_groups
- get_security_group_acls(headers=None, **query_parameters)[source]¶
🚧 getSecurityGroupAcls.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_egress_policies(headers=None, **query_parameters)[source]¶
🚧 getEgressPolicies.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_egress_matrices(headers=None, **query_parameters)[source]¶
🚧 getEgressMatrices.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
trust_sec_sxp¶
- class TrustSecSxp[source]¶
Identity Services Engine TrustSec SXP API (version: 3.0.0).
Wraps the Identity Services Engine TrustSec SXP API and exposes the API as native Python methods that return native Python objects.
- get_bindings(headers=None, **query_parameters)[source]¶
🚧 getBindings.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
version_and_patch¶
- class VersionAndPatch[source]¶
Identity Services Engine VersionAndPatch API (version: 3.0.0).
Wraps the Identity Services Engine VersionAndPatch API and exposes the API as native Python methods that return native Python objects.
- get_ise_version_and_patch(headers=None, **query_parameters)[source]¶
This API allows the client to get Cisco ISE version and patch information.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(headers=None, **query_parameters)[source]¶
Alias for get_ise_version_and_patch
version_info¶
- class VersionInfo[source]¶
Identity Services Engine VersionInfo API (version: 3.0.0).
Wraps the Identity Services Engine VersionInfo API and exposes the API as native Python methods that return native Python objects.
- get_version_info(resource, headers=None, **query_parameters)[source]¶
Get all VersionInfo.
- Parameters
resource (basestring) – resource path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
endpoint¶
- class Endpoint[source]¶
Identity Services Engine endpoint API (version: 3.0.0).
Wraps the Identity Services Engine endpoint API and exposes the API as native Python methods that return native Python objects.
- release_rejected_endpoint(id, headers=None, **query_parameters)[source]¶
This API allows the client to release a rejected endpoint.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- release_rejected(id, headers=None, **query_parameters)[source]¶
Alias for release_rejected_endpoint
- deregister_endpoint(id, headers=None, **query_parameters)[source]¶
This API allows the client to de-register an endpoint.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- deregister(id, headers=None, **query_parameters)[source]¶
Alias for deregister_endpoint
- get_rejected_endpoints(headers=None, **query_parameters)[source]¶
This API allows the client to get the rejected endpoints.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_rejected(headers=None, **query_parameters)[source]¶
Alias for get_rejected_endpoints
- get_endpoint_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get an endpoint by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_endpoint_by_name
- get_endpoint_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get an endpoint by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_endpoint_by_id
- update_endpoint_by_id(id, custom_attributes=None, description=None, group_id=None, identity_store=None, identity_store_id=None, mac=None, mdm_attributes=None, name=None, portal_user=None, profile_id=None, static_group_assignment=None, static_profile_assignment=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to update an endpoint.
- Parameters
custom_attributes (object) – customAttributes, property of the request body.
description (string) – description, property of the request body.
group_id (string) – groupId, property of the request body.
id (basestring) – id, property of the request body.
identity_store (string) – identityStore, property of the request body.
identity_store_id (string) – identityStoreId, property of the request body.
mac (string) – mac, property of the request body.
mdm_attributes (object) – mdmAttributes, property of the request body.
name (string) – name, property of the request body.
portal_user (string) – portalUser, property of the request body.
profile_id (string) – profileId, property of the request body.
static_group_assignment (boolean) – staticGroupAssignment, property of the request body.
static_profile_assignment (boolean) – staticProfileAssignment, property of the request body.
id – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- update_by_id(id, custom_attributes=None, description=None, group_id=None, identity_store=None, identity_store_id=None, mac=None, mdm_attributes=None, name=None, portal_user=None, profile_id=None, static_group_assignment=None, static_profile_assignment=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for update_endpoint_by_id
- delete_endpoint_by_id(id, headers=None, **query_parameters)[source]¶
This API deletes an endpoint.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_id(id, headers=None, **query_parameters)[source]¶
Alias for delete_endpoint_by_id
- register_endpoint(custom_attributes=None, description=None, group_id=None, id=None, identity_store=None, identity_store_id=None, mac=None, mdm_attributes=None, name=None, portal_user=None, profile_id=None, static_group_assignment=None, static_profile_assignment=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to register an endpoint.
- Parameters
custom_attributes (object) – customAttributes, property of the request body.
description (string) – description, property of the request body.
group_id (string) – groupId, property of the request body.
id (string) – id, property of the request body.
identity_store (string) – identityStore, property of the request body.
identity_store_id (string) – identityStoreId, property of the request body.
mac (string) – mac, property of the request body.
mdm_attributes (object) – mdmAttributes, property of the request body.
name (string) – name, property of the request body.
portal_user (string) – portalUser, property of the request body.
profile_id (string) – profileId, property of the request body.
static_group_assignment (boolean) – staticGroupAssignment, property of the request body.
static_profile_assignment (boolean) – staticProfileAssignment, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- register(custom_attributes=None, description=None, group_id=None, id=None, identity_store=None, identity_store_id=None, mac=None, mdm_attributes=None, name=None, portal_user=None, profile_id=None, static_group_assignment=None, static_profile_assignment=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for register_endpoint
- get_endpoints(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the endpoints. Filter: Filters can be used to filter out Endpoints based on a set of attributes. This API currently provides the following filters: [logicalProfileName, portalUser, staticProfileAssignment, profileId, profile, groupId, staticGroupAssignment, mac] Example 1: The logicalProfileName filter can be used to get Enpoints that belong to a specific Logical Profile. The supported operator for logicalProfileNamefilter is EQ (equal to). The syntax to invoke the API with this filter: /ers/config/endpoint?filter={filter name}.{operator}.{logical profile name} Example: https://{ise-ip}:9060/ers/config/endpoint?filter=logical ProfileName.EQ.LP_Apple Example 2: To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_endpoints
- get_endpoints_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the endpoints. Filter: Filters can be used to filter out Endpoints based on a set of attributes. This API currently provides the following filters: [logicalProfileName, portalUser, staticProfileAssignment, profileId, profile, groupId, staticGroupAssignment, mac] Example 1: The logicalProfileName filter can be used to get Enpoints that belong to a specific Logical Profile. The supported operator for logicalProfileNamefilter is EQ (equal to). The syntax to invoke the API with this filter: /ers/config/endpoint?filter={filter name}.{operator}.{logical profile name} Example: https://{ise-ip}:9060/ers/config/endpoint?filter=logical ProfileName.EQ.LP_Apple Example 2: To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_endpoints_generator
- create_endpoint(custom_attributes=None, description=None, group_id=None, identity_store=None, identity_store_id=None, mac=None, mdm_attributes=None, name=None, portal_user=None, profile_id=None, static_group_assignment=None, static_profile_assignment=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API creates an endpoint.
- Parameters
custom_attributes (object) – customAttributes, property of the request body.
description (string) – description, property of the request body.
group_id (string) – groupId, property of the request body.
identity_store (string) – identityStore, property of the request body.
identity_store_id (string) – identityStoreId, property of the request body.
mac (string) – mac, property of the request body.
mdm_attributes (object) – mdmAttributes, property of the request body.
name (string) – name, property of the request body.
portal_user (string) – portalUser, property of the request body.
profile_id (string) – profileId, property of the request body.
static_group_assignment (boolean) – staticGroupAssignment, property of the request body.
static_profile_assignment (boolean) – staticProfileAssignment, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- create(custom_attributes=None, description=None, group_id=None, identity_store=None, identity_store_id=None, mac=None, mdm_attributes=None, name=None, portal_user=None, profile_id=None, static_group_assignment=None, static_profile_assignment=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for create_endpoint
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the endpoint.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request_for_endpoint(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
This API allows the client to submit the bulk request.
- Parameters
operation_type (string) – operationType, property of the request body.
resource_media_type (string) – resourceMediaType, property of the request body.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
payload (dict) – A JSON serializable Python object to send in the body of the Request.
active_validation (bool) – Enable/Disable payload validation. Defaults to True.
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- bulk_request(operation_type=None, resource_media_type=None, headers=None, payload=None, active_validation=True, **query_parameters)[source]¶
Alias for bulk_request_for_endpoint
- monitor_bulk_status_endpoint(bulkid, headers=None, **query_parameters)[source]¶
This API allows the client to monitor the bulk request.
- Parameters
bulkid (basestring) – bulkid path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- monitor_bulk_status(bulkid, headers=None, **query_parameters)[source]¶
Alias for monitor_bulk_status_endpoint
portal¶
- class Portal[source]¶
Identity Services Engine portal API (version: 3.0.0).
Wraps the Identity Services Engine portal API and exposes the API as native Python methods that return native Python objects.
- get_portal_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a portal by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_portal_by_id
- get_portals(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_portals
- get_portals_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the portals. Filter: [name, description] To search resources by using toDate column,follow the format: DD-MON-YY (Example:13-SEP-18) Day or Year:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13 Month:GET /ers/config/guestuser/?filter=toDate.CONTAINS.SEP Date:GET /ers/config/guestuser/?filter=toDate.CONTAINS.13-SEP-18 Sorting: [name, description].
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
sortasc (basestring) – sortasc query parameter. sort asc.
sortdsc (basestring) – sortdsc query parameter. sort desc.
filter (basestring, list, set, tuple) – filter query parameter. Simple filtering should be available through the filter query string parameter. The structure of a filter is a triplet of field operator and value separated with dots. More than one filter can be sent. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the “filterType=or” query string parameter. Each resource Data model description should specify if an attribute is a filtered field. (Operator: Description), (EQ: Equals), (NEQ: Not Equals), (GT: Greater Than), (LT: Less Then), (STARTSW: Starts With), (NSTARTSW: Not Starts With), (ENDSW: Ends With), (NENDSW: Not Ends With), (CONTAINS: Contains), (NCONTAINS: Not Contains), .
filter_type (basestring) – filterType query parameter. The logical operator common to ALL filter criteria will be by default AND, and can be changed by using the parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(filter=None, filter_type=None, page=None, size=None, sortasc=None, sortdsc=None, headers=None, **query_parameters)[source]¶
Alias for get_portals_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information realted to the portal.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
px_grid_node¶
- class PxGridNode[source]¶
Identity Services Engine pxGridNode API (version: 3.0.0).
Wraps the Identity Services Engine pxGridNode API and exposes the API as native Python methods that return native Python objects.
- approve_px_grid_node(name, headers=None, **query_parameters)[source]¶
This API allows the client to approve a pxGrid node. Only pending pxGrid nodes can be approved.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- approve(name, headers=None, **query_parameters)[source]¶
Alias for approve_px_grid_node
- get_px_grid_node_by_name(name, headers=None, **query_parameters)[source]¶
This API allows the client to get a pxGrid node by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_name(name, headers=None, **query_parameters)[source]¶
Alias for get_px_grid_node_by_name
- delete_px_grid_node_by_name(name, headers=None, **query_parameters)[source]¶
This API deletes a pxGrid node by name.
- Parameters
name (basestring) – name path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- delete_by_name(name, headers=None, **query_parameters)[source]¶
Alias for delete_px_grid_node_by_name
- get_px_grid_node_by_id(id, headers=None, **query_parameters)[source]¶
This API allows the client to get a pxGrid node by ID.
- Parameters
id (basestring) – id path parameter.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_by_id(id, headers=None, **query_parameters)[source]¶
Alias for get_px_grid_node_by_id
- get_px_grid_node(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the npxGrid nodes.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_px_grid_node
- get_px_grid_node_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
This API allows the client to get all the npxGrid nodes.
- Parameters
page (int) – page query parameter. Page number.
size (int) – size query parameter. Number of objects returned per page.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
A generator object containing the following object.
RestResponse: REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
Generator
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_all_generator(page=None, size=None, headers=None, **query_parameters)[source]¶
Alias for get_px_grid_node_generator
- get_version(headers=None, **query_parameters)[source]¶
This API helps to retrieve the version information related to the pxGrid node.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
tasks¶
- class Tasks[source]¶
Identity Services Engine tasks API (version: 3.0.0).
Wraps the Identity Services Engine tasks API and exposes the API as native Python methods that return native Python objects.
- get_task_status(headers=None, **query_parameters)[source]¶
get all task status.
- Parameters
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(list): A list of MyDict objects. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
- get_task_status_by_id(task_id, headers=None, **query_parameters)[source]¶
Monitor task status.
- Parameters
task_id (basestring) – taskId path parameter. The id of the task executed before.
headers (dict) – Dictionary of HTTP Headers to send with the Request .
**query_parameters – Additional query parameters (provides support for parameters that may be added in the future).
- Returns
REST response with following properties:
headers(MyDict): response headers.
response(MyDict): response body as a MyDict object. Access the object’s properties by using the dot notation or the bracket notation.
content(bytes): representation of the request’s response
text(str): representation of the request’s response
- Return type
- Raises
TypeError – If the parameter types are incorrect.
MalformedRequest – If the request body created is invalid.
ApiError – If the Identity Services Engine cloud returns an error.
Identity Services Engine Data Object¶
MyDict¶
- class MyDict[source]¶
A Python _dict_ subclass which tries to act like JavaScript objects, so you can use the dot notation (.) to access members of the object. If the member doesn’t exist yet then it’s created when you assign something to it. Brackets notation (d[‘foo’]) is also possible.
RestResponse¶
- class RestResponse[source]¶
RestResponse to represent the response of the calls to the Identity Services Engine APIs.
- property content¶
The content (bytes) of the RestResponse.
- property text¶
The text (str) of the RestResponse.
- property response¶
The response (MyDict) of the RestResponse.
- property headers¶
The headers (MyDict) of the RestResponse.
Exceptions¶
- exception ciscoisesdkException[source]¶
Bases:
Exception
Base class for all ciscoisesdk package exceptions.
- exception AccessTokenError[source]¶
Bases:
ciscoisesdk.exceptions.ciscoisesdkException
Raised when an incorrect Identity Services Engine Access Token has been provided.
- exception VersionError[source]¶
Bases:
ciscoisesdk.exceptions.ciscoisesdkException
Raised when an incorrect Identity Services Engine version has been provided.
- exception ApiError[source]¶
Bases:
ciscoisesdk.exceptions.ciscoisesdkException
Errors returned in response to requests sent to the Identity Services Engine APIs.
Several data attributes are available for inspection.
- response¶
The
requests.Response
object returned from the API call.
- request¶
The
requests.PreparedRequest
of the API call.
- status_code¶
The HTTP status code from the API response.
- status¶
The HTTP status from the API response.
- details_str¶
The text from the API response.
- details¶
The parsed JSON details from the API response.
- message¶
The error message from the parsed API response.
- description¶
A description of the HTTP Response Code from the API docs.
- exception RateLimitError[source]¶
Bases:
ciscoisesdk.exceptions.ApiError
Identity Services Engine Rate-Limit exceeded Error.
Raised when a rate-limit exceeded message is received and the request will not be retried.
- retry_after¶
The Retry-After time period (in seconds) provided by Identity Services Engine.
Defaults to 15 seconds if the response Retry-After header isn’t present in the response headers, and defaults to a minimum wait time of 1 second if Identity Services Engine returns a Retry-After header of 0 seconds.
- exception RateLimitWarning[source]¶
Bases:
UserWarning
Identity Services Engine rate-limit exceeded warning.
Raised when a rate-limit exceeded message is received and the request will be retried.
- retry_after¶
The Retry-After time period (in seconds) provided by Identity Services Engine.
Defaults to 15 seconds if the response Retry-After header isn’t present in the response headers, and defaults to a minimum wait time of 1 second if Identity Services Engine returns a Retry-After header of 0 seconds.
- exception MalformedRequest[source]¶
Bases:
ciscoisesdk.exceptions.ciscoisesdkException
Raised when a malformed request is received from Identity Services Engine user.
- exception DownloadFailure[source]¶
Bases:
ciscoisesdk.exceptions.ciscoisesdkException
Errors returned in response to requests sent to the Identity Services Engine APIs with stream=True.
Several data attributes are available for inspection.
- response¶
The
requests.Response
object returned from the API call.
- request¶
The
requests.PreparedRequest
of the API call.
- status_code¶
The HTTP status code from the API response.
- status¶
The HTTP status from the API response.
- original_error¶
The original exception
- raw¶
The raw value of the API response
Copyright (c) 2021 Cisco and/or its affiliates.