ibm_aigov_facts_client.utils.cp4d_utils module

class CloudPakforDataConfig(service_url: str, username: str, password: str = None, api_key: str = None, disable_ssl_verification: bool = True, bedrock_url: str = None)

Bases: object

Configurations for Cloud Pak for Data environment

Variables:
  • service_url (str) – Host URL of Cloud Pak for Data environment.

  • username (str) – Environment username

  • password (str) – Environment password

  • api_key (str) – Environment api_key if IAM enabled

  • disable_ssl_verification (bool) – Disable SSL verification. Default is True.

  • bedrock_url (str) – (Optional) Foundational services (common-services-route ) url. User needs to get this url from CP4D admin. This url is required only when iam-integration is enabled on CP4D 4.0.x cluster.

classmethod from_dict(_dict: Dict) CloudPakforDataConfig

Initialize a DeploymentDetails object from a json dictionary.

to_dict() Dict

Return a json dictionary representing this model.