Utilities

These functions are part of the additional utilities available for managing factsheets.

get_cloud_object_storage_instances(self) List[Dict]

Retrieves a list of cloud object storage instances.

This method queries and returns information about all cloud object storage instances available in IBM Cloud.

Warning

Note: This method is applicable only in IBM Cloud and is not available in the Watsonx Governance platform.

Returns:
List[Dict]: A list of dictionaries, where each dictionary represents a cloud object storage instance

with the following keys:

  • Name: The name of the cloud object storage instance.

  • GUID: The globally unique identifier (GUID) of the instance.

  • Created ID: The identifier of the creation event.

  • Creator Name: The name of the creator of the instance.

Example:
>>> storage_instances = obj.get_cloud_object_storage_instances()
>>> for instance in storage_instances:
>>>     print(instance['Name'], instance['GUID'])