Use this API to implement managed cluster functionality.
With this functionality in place, administrators can modify and delete existing managed clients, get their statuses, and create new ones.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.managed_clusterimportManagedClusterfromsailpoint.v3.models.managed_cluster_requestimportManagedClusterRequestfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintmanaged_cluster_request={"configuration":{"clusterExternalId":"externalId","ccgVersion":"77.0.0"},"name":"Managed Cluster Name","description":"A short description of the managed cluster.","type":"idn"}# ManagedClusterRequest | try:# Create Create Managed ClusterResult=managed_cluster_request.from_json(managed_cluster_request)api_response=api_instance.create_managed_cluster(Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_managed_cluster(Result)print("The response of ManagedClustersApi->create_managed_cluster:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ManagedClustersApi->create_managed_cluster: %s\n"%e)
Flag to determine the need to delete a cluster with clients.
Return type
(empty response body)
Responses
Code
Description
Data Type
Response headers
204
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='2c9180897de347a2017de8859e8c5039'# str | Managed cluster ID. # str | Managed cluster ID.remove_clients=False# bool | Flag to determine the need to delete a cluster with clients. (optional) (default to False) # bool | Flag to determine the need to delete a cluster with clients. (optional) (default to False)try:# Delete Managed Clusterapi_instance.delete_managed_cluster(id,)# Below is a request that includes all optional parameters# api_instance.delete_managed_cluster(id, remove_clients)exceptExceptionase:print("Exception when calling ManagedClustersApi->delete_managed_cluster: %s\n"%e)
Log configuration of managed cluster for given cluster ID.
ClientLogConfiguration
-
204
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.client_log_configurationimportClientLogConfigurationfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='2b838de9-db9b-abcf-e646-d4f274ad4238'# str | ID of managed cluster to get log configuration for. # str | ID of managed cluster to get log configuration for.try:# Get Managed Cluster Log Configurationapi_response=api_instance.get_client_log_configuration(id)# Below is a request that includes all optional parameters# api_response = api_instance.get_client_log_configuration(id)print("The response of ManagedClustersApi->get_client_log_configuration:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ManagedClustersApi->get_client_log_configuration: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.managed_clusterimportManagedClusterfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='2c9180897de347a2017de8859e8c5039'# str | Managed cluster ID. # str | Managed cluster ID.try:# Get Managed Clusterapi_response=api_instance.get_managed_cluster(id)# Below is a request that includes all optional parameters# api_response = api_instance.get_managed_cluster(id)print("The response of ManagedClustersApi->get_managed_cluster:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ManagedClustersApi->get_managed_cluster: %s\n"%e)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information.
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: operational: eq
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.managed_clusterimportManagedClusterfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintoffset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)filters='operational eq \"operation\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **operational**: *eq* (optional)try:# Get Managed Clustersapi_response=api_instance.get_managed_clusters()# Below is a request that includes all optional parameters# api_response = api_instance.get_managed_clusters(offset, limit, count, filters)print("The response of ManagedClustersApi->get_managed_clusters:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ManagedClustersApi->get_managed_clusters: %s\n"%e)
Update Managed Cluster Log Configuration
Update a managed cluster's log configuration. You may only specify one of durationMinutes or expiration, up to 1440 minutes (24 hours) in the future. If neither is specified, the default value for durationMinutes is 240.
Response with updated client log configuration for the given managed cluster.
ClientLogConfiguration
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.client_log_configurationimportClientLogConfigurationfromsailpoint.v3.models.put_client_log_configuration_requestimportPutClientLogConfigurationRequestfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='2b838de9-db9b-abcf-e646-d4f274ad4238'# str | ID of the managed cluster to update the log configuration for. # str | ID of the managed cluster to update the log configuration for.put_client_log_configuration_request=sailpoint.v3.PutClientLogConfigurationRequest()# PutClientLogConfigurationRequest | Client log configuration for the given managed cluster.try:# Update Managed Cluster Log ConfigurationResult=put_client_log_configuration_request.from_json(put_client_log_configuration_request)api_response=api_instance.put_client_log_configuration(id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.put_client_log_configuration(id, Result)print("The response of ManagedClustersApi->put_client_log_configuration:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ManagedClustersApi->put_client_log_configuration: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json-patch+json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.json_patch_operationimportJsonPatchOperationfromsailpoint.v3.models.managed_clusterimportManagedClusterfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='2c9180897de347a2017de8859e8c5039'# str | Managed cluster ID. # str | Managed cluster ID.[sailpoint.v3.JsonPatchOperation()]# List[JsonPatchOperation] | JSONPatch payload used to update the object.json_patch_operation={"op":"replace","path":"/description","value":"New description"}# List[JsonPatchOperation] | JSONPatch payload used to update the object.try:# Update Managed ClusterResult=json_patch_operation.from_json(json_patch_operation)api_response=api_instance.update_managed_cluster(id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.update_managed_cluster(id, Result)print("The response of ManagedClustersApi->update_managed_cluster:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ManagedClustersApi->update_managed_cluster: %s\n"%e)