Package: openshift-cluster-management-python-client
ocm-python-clientThe generated code is based on code inKubernetes client genThis Python package is automatically generated by theOpenAPI Generatorproject:API version: v1Package version: 1.0.0Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python >=3.6Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importocm_python_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importocm_python_clientGetting StartedPlease follow theinstallation procedureand then run the following:importtimeimportocm_python_clientfrompprintimportpprintfromocm_python_client.apiimportdefault_apifromocm_python_client.model.awsimportAWSfromocm_python_client.model.aws_infrastructure_access_roleimportAWSInfrastructureAccessRolefromocm_python_client.model.aws_infrastructure_access_role_grantimportAWSInfrastructureAccessRoleGrantfromocm_python_client.model.add_onimportAddOnfromocm_python_client.model.add_on_installationimportAddOnInstallationfromocm_python_client.model.add_on_versionimportAddOnVersionfromocm_python_client.model.alerts_infoimportAlertsInfofromocm_python_client.model.api_clusters_mgmt_v1_addons_addon_id_versions_get200_responseimportApiClustersMgmtV1AddonsAddonIdVersionsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_addons_get200_responseimportApiClustersMgmtV1AddonsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_aws_infrastructure_access_roles_get200_responseimportApiClustersMgmtV1AwsInfrastructureAccessRolesGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_aws_inquiries_machine_types_post200_responseimportApiClustersMgmtV1AwsInquiriesMachineTypesPost200Responsefromocm_python_client.model.api_clusters_mgmt_v1_aws_inquiries_regions_post200_responseimportApiClustersMgmtV1AwsInquiriesRegionsPost200Responsefromocm_python_client.model.api_clusters_mgmt_v1_aws_inquiries_sts_credential_requests_get200_responseimportApiClustersMgmtV1AwsInquiriesStsCredentialRequestsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_aws_inquiries_sts_policies_get200_responseimportApiClustersMgmtV1AwsInquiriesStsPoliciesGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_aws_inquiries_vpcs_post200_responseimportApiClustersMgmtV1AwsInquiriesVpcsPost200Responsefromocm_python_client.model.api_clusters_mgmt_v1_cloud_providers_cloud_provider_id_available_regions_post200_responseimportApiClustersMgmtV1CloudProvidersCloudProviderIdAvailableRegionsPost200Responsefromocm_python_client.model.api_clusters_mgmt_v1_cloud_providers_cloud_provider_id_regions_get200_responseimportApiClustersMgmtV1CloudProvidersCloudProviderIdRegionsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_cloud_providers_get200_responseimportApiClustersMgmtV1CloudProvidersGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_addons_get200_responseimportApiClustersMgmtV1ClustersClusterIdAddonsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_aws_infrastructure_access_role_grants_get200_responseimportApiClustersMgmtV1ClustersClusterIdAwsInfrastructureAccessRoleGrantsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_external_configuration_labels_get200_responseimportApiClustersMgmtV1ClustersClusterIdExternalConfigurationLabelsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_external_configuration_syncsets_get200_responseimportApiClustersMgmtV1ClustersClusterIdExternalConfigurationSyncsetsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_gate_agreements_get200_responseimportApiClustersMgmtV1ClustersClusterIdGateAgreementsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_groups_get200_responseimportApiClustersMgmtV1ClustersClusterIdGroupsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_groups_group_id_users_get200_responseimportApiClustersMgmtV1ClustersClusterIdGroupsGroupIdUsersGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_identity_providers_get200_responseimportApiClustersMgmtV1ClustersClusterIdIdentityProvidersGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_get200_responseimportApiClustersMgmtV1ClustersClusterIdIdentityProvidersIdentityProviderIdHtpasswdUsersGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_import_post200_responseimportApiClustersMgmtV1ClustersClusterIdIdentityProvidersIdentityProviderIdHtpasswdUsersImportPost200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_import_post_requestimportApiClustersMgmtV1ClustersClusterIdIdentityProvidersIdentityProviderIdHtpasswdUsersImportPostRequestfromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_ingresses_get200_responseimportApiClustersMgmtV1ClustersClusterIdIngressesGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_limited_support_reasons_get200_responseimportApiClustersMgmtV1ClustersClusterIdLimitedSupportReasonsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_logs_get200_responseimportApiClustersMgmtV1ClustersClusterIdLogsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_machine_pools_get200_responseimportApiClustersMgmtV1ClustersClusterIdMachinePoolsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_sts_operator_roles_get200_responseimportApiClustersMgmtV1ClustersClusterIdStsOperatorRolesGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_cluster_id_upgrade_policies_get200_responseimportApiClustersMgmtV1ClustersClusterIdUpgradePoliciesGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_clusters_get200_responseimportApiClustersMgmtV1ClustersGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_flavours_get200_responseimportApiClustersMgmtV1FlavoursGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_gcp_inquiries_encryption_keys_post200_responseimportApiClustersMgmtV1GcpInquiriesEncryptionKeysPost200Responsefromocm_python_client.model.api_clusters_mgmt_v1_gcp_inquiries_key_rings_post200_responseimportApiClustersMgmtV1GcpInquiriesKeyRingsPost200Responsefromocm_python_client.model.api_clusters_mgmt_v1_limited_support_reason_templates_get200_responseimportApiClustersMgmtV1LimitedSupportReasonTemplatesGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_machine_types_get200_responseimportApiClustersMgmtV1MachineTypesGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_products_get200_responseimportApiClustersMgmtV1ProductsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_provision_shards_get200_responseimportApiClustersMgmtV1ProvisionShardsGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_version_gates_get200_responseimportApiClustersMgmtV1VersionGatesGet200Responsefromocm_python_client.model.api_clusters_mgmt_v1_versions_get200_responseimportApiClustersMgmtV1VersionsGet200Responsefromocm_python_client.model.cpu_totals_node_role_os_metric_nodeimportCPUTotalsNodeRoleOSMetricNodefromocm_python_client.model.cloud_providerimportCloudProviderfromocm_python_client.model.cloud_provider_dataimportCloudProviderDatafromocm_python_client.model.cloud_regionimportCloudRegionfromocm_python_client.model.clusterimportClusterfromocm_python_client.model.cluster_credentialsimportClusterCredentialsfromocm_python_client.model.cluster_operators_infoimportClusterOperatorsInfofromocm_python_client.model.cluster_resourcesimportClusterResourcesfromocm_python_client.model.cluster_statusimportClusterStatusfromocm_python_client.model.environmentimportEnvironmentfromocm_python_client.model.errorimportErrorfromocm_python_client.model.eventimportEventfromocm_python_client.model.external_configurationimportExternalConfigurationfromocm_python_client.model.flavourimportFlavourfromocm_python_client.model.groupimportGroupfromocm_python_client.model.ht_passwd_userimportHTPasswdUserfromocm_python_client.model.identity_providerimportIdentityProviderfromocm_python_client.model.ingressimportIngressfromocm_python_client.model.labelimportLabelfromocm_python_client.model.limited_support_reasonimportLimitedSupportReasonfromocm_python_client.model.limited_support_reason_templateimportLimitedSupportReasonTemplatefromocm_python_client.model.logimportLogfromocm_python_client.model.machine_poolimportMachinePoolfromocm_python_client.model.metadataimportMetadatafromocm_python_client.model.nodes_infoimportNodesInfofromocm_python_client.model.operator_iam_roleimportOperatorIAMRolefromocm_python_client.model.productimportProductfromocm_python_client.model.provision_shardimportProvisionShardfromocm_python_client.model.socket_totals_node_role_os_metric_nodeimportSocketTotalsNodeRoleOSMetricNodefromocm_python_client.model.syncsetimportSyncsetfromocm_python_client.model.upgrade_policyimportUpgradePolicyfromocm_python_client.model.upgrade_policy_stateimportUpgradePolicyStatefromocm_python_client.model.userimportUserfromocm_python_client.model.versionimportVersionfromocm_python_client.model.version_gateimportVersionGatefromocm_python_client.model.version_gate_agreementimportVersionGateAgreement# Defining the host is optional and defaults to https://api.openshift.com# See configuration.py for a list of all supported configuration parameters.configuration=ocm_python_client.Configuration(host="https://api.openshift.com")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure Bearer authorization (JWT): bearerconfiguration=ocm_python_client.Configuration(access_token='YOUR_BEARER_TOKEN')# Enter a context with an instance of the API clientwithocm_python_client.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=default_api.DefaultApi(api_client)addon_id="addon_id_example"# str |  (optional)try:api_instance.api_clusters_mgmt_v1_addons_addon_id_delete(addon_id=addon_id)exceptocm_python_client.ApiExceptionase:print("Exception when calling DefaultApi->api_clusters_mgmt_v1_addons_addon_id_delete:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.openshift.comClassMethodHTTP requestDescriptionDefaultApiapi_clusters_mgmt_v1_addons_addon_id_deleteDELETE/api/clusters_mgmt/v1/addons/{addon_id}DefaultApiapi_clusters_mgmt_v1_addons_addon_id_getGET/api/clusters_mgmt/v1/addons/{addon_id}DefaultApiapi_clusters_mgmt_v1_addons_addon_id_patchPATCH/api/clusters_mgmt/v1/addons/{addon_id}DefaultApiapi_clusters_mgmt_v1_addons_addon_id_versions_getGET/api/clusters_mgmt/v1/addons/{addon_id}/versionsDefaultApiapi_clusters_mgmt_v1_addons_addon_id_versions_postPOST/api/clusters_mgmt/v1/addons/{addon_id}/versionsDefaultApiapi_clusters_mgmt_v1_addons_addon_id_versions_version_id_deleteDELETE/api/clusters_mgmt/v1/addons/{addon_id}/versions/{version_id}DefaultApiapi_clusters_mgmt_v1_addons_addon_id_versions_version_id_getGET/api/clusters_mgmt/v1/addons/{addon_id}/versions/{version_id}DefaultApiapi_clusters_mgmt_v1_addons_addon_id_versions_version_id_patchPATCH/api/clusters_mgmt/v1/addons/{addon_id}/versions/{version_id}DefaultApiapi_clusters_mgmt_v1_addons_getGET/api/clusters_mgmt/v1/addonsDefaultApiapi_clusters_mgmt_v1_addons_postPOST/api/clusters_mgmt/v1/addonsDefaultApiapi_clusters_mgmt_v1_aws_infrastructure_access_roles_aws_infrastructure_access_role_id_getGET/api/clusters_mgmt/v1/aws_infrastructure_access_roles/{aws_infrastructure_access_role_id}DefaultApiapi_clusters_mgmt_v1_aws_infrastructure_access_roles_getGET/api/clusters_mgmt/v1/aws_infrastructure_access_rolesDefaultApiapi_clusters_mgmt_v1_aws_inquiries_machine_types_postPOST/api/clusters_mgmt/v1/aws_inquiries/machine_typesDefaultApiapi_clusters_mgmt_v1_aws_inquiries_regions_postPOST/api/clusters_mgmt/v1/aws_inquiries/regionsDefaultApiapi_clusters_mgmt_v1_aws_inquiries_sts_credential_requests_getGET/api/clusters_mgmt/v1/aws_inquiries/sts_credential_requestsDefaultApiapi_clusters_mgmt_v1_aws_inquiries_sts_policies_getGET/api/clusters_mgmt/v1/aws_inquiries/sts_policiesDefaultApiapi_clusters_mgmt_v1_aws_inquiries_vpcs_postPOST/api/clusters_mgmt/v1/aws_inquiries/vpcsDefaultApiapi_clusters_mgmt_v1_cloud_providers_cloud_provider_id_available_regions_postPOST/api/clusters_mgmt/v1/cloud_providers/{cloud_provider_id}/available_regionsDefaultApiapi_clusters_mgmt_v1_cloud_providers_cloud_provider_id_getGET/api/clusters_mgmt/v1/cloud_providers/{cloud_provider_id}DefaultApiapi_clusters_mgmt_v1_cloud_providers_cloud_provider_id_regions_getGET/api/clusters_mgmt/v1/cloud_providers/{cloud_provider_id}/regionsDefaultApiapi_clusters_mgmt_v1_cloud_providers_cloud_provider_id_regions_region_id_getGET/api/clusters_mgmt/v1/cloud_providers/{cloud_provider_id}/regions/{region_id}DefaultApiapi_clusters_mgmt_v1_cloud_providers_getGET/api/clusters_mgmt/v1/cloud_providersDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_addon_inquiries_addon_inquiry_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/addon_inquiries/{addon_inquiry_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_addon_inquiries_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/addon_inquiriesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_addons_addoninstallation_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/addons/{addoninstallation_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_addons_addoninstallation_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/addons/{addoninstallation_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_addons_addoninstallation_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/addons/{addoninstallation_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_addons_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/addonsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_addons_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/addonsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_aws_infrastructure_access_role_grants_aws_infrastructure_access_role_grant_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/aws_infrastructure_access_role_grants/{aws_infrastructure_access_role_grant_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_aws_infrastructure_access_role_grants_aws_infrastructure_access_role_grant_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/aws_infrastructure_access_role_grants/{aws_infrastructure_access_role_grant_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_aws_infrastructure_access_role_grants_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/aws_infrastructure_access_role_grantsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_aws_infrastructure_access_role_grants_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/aws_infrastructure_access_role_grantsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_clusterdeployment_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/clusterdeploymentDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_credentials_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/credentialsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configurationDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_labels_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/labelsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_labels_label_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/labels/{label_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_labels_label_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/labels/{label_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_labels_label_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/labels/{label_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_labels_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/labelsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_syncsets_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/syncsetsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_syncsets_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/syncsetsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_syncsets_syncset_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/syncsets/{syncset_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_syncsets_syncset_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/syncsets/{syncset_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_external_configuration_syncsets_syncset_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/external_configuration/syncsets/{syncset_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_gate_agreements_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/gate_agreementsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_gate_agreements_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/gate_agreementsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_gate_agreements_version_gate_agreement_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/gate_agreements/{version_gate_agreement_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_gate_agreements_version_gate_agreement_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/gate_agreements/{version_gate_agreement_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_groups_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/groupsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_groups_group_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/groups/{group_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_groups_group_id_users_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/groups/{group_id}/usersDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_groups_group_id_users_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/groups/{group_id}/usersDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_groups_group_id_users_user_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/groups/{group_id}/users/{user_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_groups_group_id_users_user_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/groups/{group_id}/users/{user_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_hibernate_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/hibernateDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providersDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}/htpasswd_usersDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_htpasswd_user_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}/htpasswd_users/{htpasswd_user_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_htpasswd_user_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}/htpasswd_users/{htpasswd_user_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_htpasswd_user_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}/htpasswd_users/{htpasswd_user_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_import_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}/htpasswd_users/importDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_htpasswd_users_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}/htpasswd_usersDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_identity_provider_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providers/{identity_provider_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_identity_providers_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providersDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_ingresses_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/ingressesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_ingresses_ingress_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/ingresses/{ingress_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_ingresses_ingress_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/ingresses/{ingress_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_ingresses_ingress_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/ingresses/{ingress_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_ingresses_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/ingressesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_ingresses_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/ingressesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_limited_support_reasons_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/limited_support_reasonsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_limited_support_reasons_limited_support_reason_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/limited_support_reasons/{limited_support_reason_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_limited_support_reasons_limited_support_reason_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/limited_support_reasons/{limited_support_reason_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_limited_support_reasons_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/limited_support_reasonsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_logs_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/logsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_logs_install_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/logs/installDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_logs_uninstall_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/logs/uninstallDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_machine_pools_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/machine_poolsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_machine_pools_machine_pool_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/machine_pools/{machine_pool_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_machine_pools_machine_pool_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/machine_pools/{machine_pool_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_machine_pools_machine_pool_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/machine_pools/{machine_pool_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_machine_pools_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/machine_poolsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_metric_queries_alerts_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/metric_queries/alertsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_metric_queries_cluster_operators_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/metric_queries/cluster_operatorsDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_metric_queries_cpu_total_by_node_roles_os_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/metric_queries/cpu_total_by_node_roles_osDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_metric_queries_nodes_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/metric_queries/nodesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_metric_queries_socket_total_by_node_roles_os_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/metric_queries/socket_total_by_node_roles_osDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_product_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/productDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_provision_shard_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/provision_shardDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_resources_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/resourcesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_resources_live_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/resources/liveDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_resume_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/resumeDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_status_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/statusDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_sts_operator_roles_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/sts_operator_rolesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_sts_operator_roles_operator_iam_role_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/sts_operator_roles/{operator_iam_role_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_sts_operator_roles_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/sts_operator_rolesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_upgrade_policies_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/upgrade_policiesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_upgrade_policies_postPOST/api/clusters_mgmt/v1/clusters/{cluster_id}/upgrade_policiesDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_upgrade_policies_upgrade_policy_id_deleteDELETE/api/clusters_mgmt/v1/clusters/{cluster_id}/upgrade_policies/{upgrade_policy_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_upgrade_policies_upgrade_policy_id_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/upgrade_policies/{upgrade_policy_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_upgrade_policies_upgrade_policy_id_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/upgrade_policies/{upgrade_policy_id}DefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_upgrade_policies_upgrade_policy_id_state_getGET/api/clusters_mgmt/v1/clusters/{cluster_id}/upgrade_policies/{upgrade_policy_id}/stateDefaultApiapi_clusters_mgmt_v1_clusters_cluster_id_upgrade_policies_upgrade_policy_id_state_patchPATCH/api/clusters_mgmt/v1/clusters/{cluster_id}/upgrade_policies/{upgrade_policy_id}/stateDefaultApiapi_clusters_mgmt_v1_clusters_getGET/api/clusters_mgmt/v1/clustersDefaultApiapi_clusters_mgmt_v1_clusters_postPOST/api/clusters_mgmt/v1/clustersDefaultApiapi_clusters_mgmt_v1_environment_getGET/api/clusters_mgmt/v1/environmentDefaultApiapi_clusters_mgmt_v1_environment_patchPATCH/api/clusters_mgmt/v1/environmentDefaultApiapi_clusters_mgmt_v1_events_postPOST/api/clusters_mgmt/v1/eventsDefaultApiapi_clusters_mgmt_v1_flavours_flavour_id_getGET/api/clusters_mgmt/v1/flavours/{flavour_id}DefaultApiapi_clusters_mgmt_v1_flavours_flavour_id_patchPATCH/api/clusters_mgmt/v1/flavours/{flavour_id}DefaultApiapi_clusters_mgmt_v1_flavours_getGET/api/clusters_mgmt/v1/flavoursDefaultApiapi_clusters_mgmt_v1_flavours_postPOST/api/clusters_mgmt/v1/flavoursDefaultApiapi_clusters_mgmt_v1_gcp_inquiries_encryption_keys_postPOST/api/clusters_mgmt/v1/gcp_inquiries/encryption_keysDefaultApiapi_clusters_mgmt_v1_gcp_inquiries_key_rings_postPOST/api/clusters_mgmt/v1/gcp_inquiries/key_ringsDefaultApiapi_clusters_mgmt_v1_gcp_inquiries_regions_postPOST/api/clusters_mgmt/v1/gcp_inquiries/regionsDefaultApiapi_clusters_mgmt_v1_gcp_inquiries_vpcs_postPOST/api/clusters_mgmt/v1/gcp_inquiries/vpcsDefaultApiapi_clusters_mgmt_v1_getGET/api/clusters_mgmt/v1DefaultApiapi_clusters_mgmt_v1_limited_support_reason_templates_getGET/api/clusters_mgmt/v1/limited_support_reason_templatesDefaultApiapi_clusters_mgmt_v1_limited_support_reason_templates_limited_support_reason_template_id_getGET/api/clusters_mgmt/v1/limited_support_reason_templates/{limited_support_reason_template_id}DefaultApiapi_clusters_mgmt_v1_machine_types_getGET/api/clusters_mgmt/v1/machine_typesDefaultApiapi_clusters_mgmt_v1_products_getGET/api/clusters_mgmt/v1/productsDefaultApiapi_clusters_mgmt_v1_products_product_id_getGET/api/clusters_mgmt/v1/products/{product_id}DefaultApiapi_clusters_mgmt_v1_provision_shards_getGET/api/clusters_mgmt/v1/provision_shardsDefaultApiapi_clusters_mgmt_v1_provision_shards_provision_shard_id_getGET/api/clusters_mgmt/v1/provision_shards/{provision_shard_id}DefaultApiapi_clusters_mgmt_v1_version_gates_getGET/api/clusters_mgmt/v1/version_gatesDefaultApiapi_clusters_mgmt_v1_version_gates_postPOST/api/clusters_mgmt/v1/version_gatesDefaultApiapi_clusters_mgmt_v1_version_gates_version_gate_id_deleteDELETE/api/clusters_mgmt/v1/version_gates/{version_gate_id}DefaultApiapi_clusters_mgmt_v1_version_gates_version_gate_id_getGET/api/clusters_mgmt/v1/version_gates/{version_gate_id}DefaultApiapi_clusters_mgmt_v1_versions_getGET/api/clusters_mgmt/v1/versionsDefaultApiapi_clusters_mgmt_v1_versions_version_id_getGET/api/clusters_mgmt/v1/versions/{version_id}Documentation For ModelsAWSAWSFlavourAWSInfrastructureAccessRoleAWSInfrastructureAccessRoleGrantAWSInfrastructureAccessRoleGrantStateAWSInfrastructureAccessRoleStateAWSMachinePoolAWSSTSPolicyAWSSpotMarketOptionsAWSVolumeAddOnAddOnConfigAddOnEnvironmentVariableAddOnInstallModeAddOnInstallationAddOnInstallationParameterAddOnInstallationStateAddOnParameterAddOnParameterOptionAddOnRequirementAddOnRequirementStatusAddOnSubOperatorAddOnVersionAdminCredentialsAlertInfoAlertSeverityAlertsInfoApiClustersMgmtV1AddonsAddonIdVersionsGet200ResponseApiClustersMgmtV1AddonsGet200ResponseApiClustersMgmtV1AwsInfrastructureAccessRolesGet200ResponseApiClustersMgmtV1AwsInquiriesMachineTypesPost200ResponseApiClustersMgmtV1AwsInquiriesRegionsPost200ResponseApiClustersMgmtV1AwsInquiriesStsCredentialRequestsGet200ResponseApiClustersMgmtV1AwsInquiriesStsPoliciesGet200ResponseApiClustersMgmtV1AwsInquiriesVpcsPost200ResponseApiClustersMgmtV1CloudProvidersCloudProviderIdAvailableRegionsPost200ResponseApiClustersMgmtV1CloudProvidersCloudProviderIdRegionsGet200ResponseApiClustersMgmtV1CloudProvidersGet200ResponseApiClustersMgmtV1ClustersClusterIdAddonsGet200ResponseApiClustersMgmtV1ClustersClusterIdAwsInfrastructureAccessRoleGrantsGet200ResponseApiClustersMgmtV1ClustersClusterIdExternalConfigurationLabelsGet200ResponseApiClustersMgmtV1ClustersClusterIdExternalConfigurationSyncsetsGet200ResponseApiClustersMgmtV1ClustersClusterIdGateAgreementsGet200ResponseApiClustersMgmtV1ClustersClusterIdGroupsGet200ResponseApiClustersMgmtV1ClustersClusterIdGroupsGroupIdUsersGet200ResponseApiClustersMgmtV1ClustersClusterIdIdentityProvidersGet200ResponseApiClustersMgmtV1ClustersClusterIdIdentityProvidersIdentityProviderIdHtpasswdUsersGet200ResponseApiClustersMgmtV1ClustersClusterIdIdentityProvidersIdentityProviderIdHtpasswdUsersImportPost200ResponseApiClustersMgmtV1ClustersClusterIdIdentityProvidersIdentityProviderIdHtpasswdUsersImportPostRequestApiClustersMgmtV1ClustersClusterIdIngressesGet200ResponseApiClustersMgmtV1ClustersClusterIdLimitedSupportReasonsGet200ResponseApiClustersMgmtV1ClustersClusterIdLogsGet200ResponseApiClustersMgmtV1ClustersClusterIdMachinePoolsGet200ResponseApiClustersMgmtV1ClustersClusterIdStsOperatorRolesGet200ResponseApiClustersMgmtV1ClustersClusterIdUpgradePoliciesGet200ResponseApiClustersMgmtV1ClustersGet200ResponseApiClustersMgmtV1FlavoursGet200ResponseApiClustersMgmtV1GcpInquiriesEncryptionKeysPost200ResponseApiClustersMgmtV1GcpInquiriesKeyRingsPost200ResponseApiClustersMgmtV1LimitedSupportReasonTemplatesGet200ResponseApiClustersMgmtV1MachineTypesGet200ResponseApiClustersMgmtV1ProductsGet200ResponseApiClustersMgmtV1ProvisionShardsGet200ResponseApiClustersMgmtV1VersionGatesGet200ResponseApiClustersMgmtV1VersionsGet200ResponseBillingModelCCSCPUTotalNodeRoleOSMetricNodeCPUTotalsNodeRoleOSMetricNodeCloudProviderCloudProviderDataCloudRegionCloudVPCClusterClusterAPIClusterConfigurationModeClusterConsoleClusterCredentialsClusterDeploymentClusterHealthStateClusterNodesClusterOperatorInfoClusterOperatorStateClusterOperatorsInfoClusterRegistrationClusterResourcesClusterStateClusterStatusCredentialRequestDNSDetectionTypeEncryptionKeyEnvironmentErrorEventExternalConfigurationFlavourFlavourNodesGCPGCPFlavourGCPNetworkGithubIdentityProviderGitlabIdentityProviderGoogleIdentityProviderGroupHTPasswdIdentityProviderHTPasswdUserHyperShiftIdentityProviderIdentityProviderMappingMethodIdentityProviderTypeInflightCheckInflightCheckStateIngressInstanceIAMRolesKeyRingLDAPAttributesLDAPIdentityProviderLabelLimitedSupportReasonLimitedSupportReasonTemplateListeningMethodLogMachinePoolMachinePoolAutoscalingMachinePoolSecurityGroupFilterMachineTypeMachineTypeCategoryMachineTypeSizeManagedServiceMetadataNetworkNodeInfoNodeTypeNodesInfoOpenIDClaimsOpenIDIdentityProviderOperatorIAMRoleProductProvisionShardProxySSHCredentialsSTSSTSCredentialRequestSTSOperatorServerConfigSocketTotalNodeRoleOSMetricNodeSocketTotalsNodeRoleOSMetricNodeSubnetworkSubscriptionSyncsetTaintUpgradePolicyUpgradePolicyStateUpgradePolicyStateValueUserValueVersionVersionGateVersionGateAgreementDocumentation For AuthorizationbearerType: Bearer authentication (JWT)Authorocm-feedback@redhat.comNotes for Large OpenAPI documentsIf the OpenAPI document is large, imports in ocm_python_client.apis and ocm_python_client.models may fail with a
RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:Solution 1:
Use specific imports for apis and models like:from ocm_python_client.api.default_api import DefaultApifrom ocm_python_client.model.pet import PetSolution 2:
Before importing the package, adjust the maximum recursion limit as shown below:import sys
sys.setrecursionlimit(1500)
import ocm_python_client
from ocm_python_client.apis import *
from ocm_python_client.models import *