mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
Update to python SDK docs: 13995602131
This commit is contained in:
@@ -63,7 +63,6 @@ from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.managed_cluster import ManagedCluster
|
||||
from sailpoint.v3.models.managed_cluster_request import ManagedClusterRequest
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
@@ -86,7 +85,7 @@ with ApiClient(configuration) as api_client:
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = ManagedClustersApi(api_client).create_managed_cluster(new_managed_cluster_request)
|
||||
print("The response of ManagedClustersApi->create_managed_cluster:\n")
|
||||
pprint(results)
|
||||
print(results.model_dump_json(by_alias=True, indent=4))
|
||||
except Exception as e:
|
||||
print("Exception when calling ManagedClustersApi->create_managed_cluster: %s\n" % e)
|
||||
```
|
||||
@@ -130,7 +129,6 @@ Code | Description | Data Type | Response headers |
|
||||
```python
|
||||
from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
@@ -190,7 +188,6 @@ Code | Description | Data Type | Response headers |
|
||||
from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.client_log_configuration import ClientLogConfiguration
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
@@ -205,7 +202,7 @@ with ApiClient(configuration) as api_client:
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = ManagedClustersApi(api_client).get_client_log_configuration(id)
|
||||
print("The response of ManagedClustersApi->get_client_log_configuration:\n")
|
||||
pprint(results)
|
||||
print(results.model_dump_json(by_alias=True, indent=4))
|
||||
except Exception as e:
|
||||
print("Exception when calling ManagedClustersApi->get_client_log_configuration: %s\n" % e)
|
||||
```
|
||||
@@ -250,7 +247,6 @@ Code | Description | Data Type | Response headers |
|
||||
from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.managed_cluster import ManagedCluster
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
@@ -265,7 +261,7 @@ with ApiClient(configuration) as api_client:
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = ManagedClustersApi(api_client).get_managed_cluster(id)
|
||||
print("The response of ManagedClustersApi->get_managed_cluster:\n")
|
||||
pprint(results)
|
||||
print(results.model_dump_json(by_alias=True, indent=4))
|
||||
except Exception as e:
|
||||
print("Exception when calling ManagedClustersApi->get_managed_cluster: %s\n" % e)
|
||||
```
|
||||
@@ -312,7 +308,6 @@ Code | Description | Data Type | Response headers |
|
||||
from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.managed_cluster import ManagedCluster
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
@@ -330,7 +325,7 @@ with ApiClient(configuration) as api_client:
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = ManagedClustersApi(api_client).get_managed_clusters(offset, limit, count, filters)
|
||||
print("The response of ManagedClustersApi->get_managed_clusters:\n")
|
||||
pprint(results)
|
||||
print(results.model_dump_json(by_alias=True, indent=4))
|
||||
except Exception as e:
|
||||
print("Exception when calling ManagedClustersApi->get_managed_clusters: %s\n" % e)
|
||||
```
|
||||
@@ -377,7 +372,6 @@ from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.client_log_configuration import ClientLogConfiguration
|
||||
from sailpoint.v3.models.put_client_log_configuration_request import PutClientLogConfigurationRequest
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
@@ -393,7 +387,7 @@ with ApiClient(configuration) as api_client:
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = ManagedClustersApi(api_client).put_client_log_configuration(id, new_put_client_log_configuration_request)
|
||||
print("The response of ManagedClustersApi->put_client_log_configuration:\n")
|
||||
pprint(results)
|
||||
print(results.model_dump_json(by_alias=True, indent=4))
|
||||
except Exception as e:
|
||||
print("Exception when calling ManagedClustersApi->put_client_log_configuration: %s\n" % e)
|
||||
```
|
||||
@@ -440,7 +434,6 @@ from sailpoint.v3.api.managed_clusters_api import ManagedClustersApi
|
||||
from sailpoint.v3.api_client import ApiClient
|
||||
from sailpoint.v3.models.json_patch_operation import JsonPatchOperation
|
||||
from sailpoint.v3.models.managed_cluster import ManagedCluster
|
||||
from pprint import pprint
|
||||
from sailpoint.configuration import Configuration
|
||||
configuration = Configuration()
|
||||
|
||||
@@ -456,7 +449,7 @@ with ApiClient(configuration) as api_client:
|
||||
# Below is a request that includes all optional parameters
|
||||
# results = ManagedClustersApi(api_client).update_managed_cluster(id, new_json_patch_operation)
|
||||
print("The response of ManagedClustersApi->update_managed_cluster:\n")
|
||||
pprint(results)
|
||||
print(results.model_dump_json(by_alias=True, indent=4))
|
||||
except Exception as e:
|
||||
print("Exception when calling ManagedClustersApi->update_managed_cluster: %s\n" % e)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user