aidp-python-client 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aidp_python_client/aidataplatform_dp/__init__.py +44 -0
- aidp_python_client/aidataplatform_dp/async_operations_client.py +322 -0
- aidp_python_client/aidataplatform_dp/async_operations_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/audit_client.py +294 -0
- aidp_python_client/aidataplatform_dp/audit_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/bundle_client.py +711 -0
- aidp_python_client/aidataplatform_dp/bundle_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/catalog_client.py +1071 -0
- aidp_python_client/aidataplatform_dp/catalog_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/cluster_client.py +1873 -0
- aidp_python_client/aidataplatform_dp/cluster_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/credentials_client.py +620 -0
- aidp_python_client/aidataplatform_dp/credentials_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/delta_share_client.py +2210 -0
- aidp_python_client/aidataplatform_dp/delta_share_client_composite_operations.py +110 -0
- aidp_python_client/aidataplatform_dp/git_client.py +1819 -0
- aidp_python_client/aidataplatform_dp/git_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/ml_ops_client.py +4689 -0
- aidp_python_client/aidataplatform_dp/ml_ops_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/models/__init__.py +1618 -0
- aidp_python_client/aidataplatform_dp/models/active_cluster_resources.py +194 -0
- aidp_python_client/aidataplatform_dp/models/add_member_to_role_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting_summary.py +277 -0
- aidp_python_client/aidataplatform_dp/models/adw_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/adw_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/adw_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/adw_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_capabilities_detail.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_config_detail.py +248 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_preview_response.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_skill_detail.py +194 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow.py +803 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_attachment.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_compute.py +170 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_dependency.py +132 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_dependency_item.py +132 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment.py +577 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_summary.py +461 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_detachment.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_diagram.py +287 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_edge.py +411 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_summary.py +335 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_node.py +661 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_permission_summary.py +336 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session.py +467 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_context.py +66 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_metric.py +872 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_metrics_range.py +163 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_summary.py +440 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_summary.py +647 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_issue.py +399 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_metadata.py +257 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_options.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_result.py +203 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_summary.py +194 -0
- aidp_python_client/aidataplatform_dp/models/agent_node.py +332 -0
- aidp_python_client/aidataplatform_dp/models/agent_provider.py +101 -0
- aidp_python_client/aidataplatform_dp/models/aggregated_data_point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/aggregated_time_series_data_point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/ai_compute_override_item.py +194 -0
- aidp_python_client/aidataplatform_dp/models/ai_data_platform.py +42 -0
- aidp_python_client/aidataplatform_dp/models/ai_model.py +251 -0
- aidp_python_client/aidataplatform_dp/models/airflow_cell_config.py +101 -0
- aidp_python_client/aidataplatform_dp/models/alh_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/alh_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/alh_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/alh_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/allowed_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/artifact_file_info.py +132 -0
- aidp_python_client/aidataplatform_dp/models/artifact_list.py +132 -0
- aidp_python_client/aidataplatform_dp/models/assign_agent_flow_permission_details.py +187 -0
- aidp_python_client/aidataplatform_dp/models/assign_catalog_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_cluster_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_create_workspace_permission_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/assign_credential_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_job_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_knowledge_base_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_master_catalog_permission_details.py +129 -0
- aidp_python_client/aidataplatform_dp/models/assign_recipient_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_role_permission_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/assign_schema_permission_details.py +137 -0
- aidp_python_client/aidataplatform_dp/models/assign_share_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_table_permission_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/assign_tool_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/assign_view_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/assign_volume_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_workspace_object_permission_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/assign_workspace_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/async_operation.py +747 -0
- aidp_python_client/aidataplatform_dp/models/async_operation_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/async_operation_summary.py +685 -0
- aidp_python_client/aidataplatform_dp/models/atp_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/atp_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/atp_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/atp_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/attach_compute_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_master_catalog_to_cluster_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_to_notebook_config.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_workspace_object_to_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/attached_session.py +195 -0
- aidp_python_client/aidataplatform_dp/models/audit_log_search_result_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/audit_log_search_result_summary.py +542 -0
- aidp_python_client/aidataplatform_dp/models/auth.py +124 -0
- aidp_python_client/aidataplatform_dp/models/auto_scale.py +101 -0
- aidp_python_client/aidataplatform_dp/models/bearer_token_auth.py +80 -0
- aidp_python_client/aidataplatform_dp/models/bucket_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/bucket_summary.py +204 -0
- aidp_python_client/aidataplatform_dp/models/bundle.py +42 -0
- aidp_python_client/aidataplatform_dp/models/bundle_deployed_resource.py +148 -0
- aidp_python_client/aidataplatform_dp/models/bundle_deployment_status.py +218 -0
- aidp_python_client/aidataplatform_dp/models/bundle_overrides.py +101 -0
- aidp_python_client/aidataplatform_dp/models/bundle_overrides_with_path.py +97 -0
- aidp_python_client/aidataplatform_dp/models/bundle_validation_result.py +153 -0
- aidp_python_client/aidataplatform_dp/models/bundled_resource.py +118 -0
- aidp_python_client/aidataplatform_dp/models/catalog.py +548 -0
- aidp_python_client/aidataplatform_dp/models/catalog_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/catalog_connection_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/catalog_migration_detail.py +211 -0
- aidp_python_client/aidataplatform_dp/models/catalog_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/catalog_permission_summary.py +207 -0
- aidp_python_client/aidataplatform_dp/models/catalog_summary.py +569 -0
- aidp_python_client/aidataplatform_dp/models/catalog_test_connection_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/category_config.py +184 -0
- aidp_python_client/aidataplatform_dp/models/chat_message.py +184 -0
- aidp_python_client/aidataplatform_dp/models/checkout_branch_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/clear_outputs_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster.py +757 -0
- aidp_python_client/aidataplatform_dp/models/cluster_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_event.py +116 -0
- aidp_python_client/aidataplatform_dp/models/cluster_execution_context_availability_event.py +80 -0
- aidp_python_client/aidataplatform_dp/models/cluster_instance.py +102 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_summary.py +261 -0
- aidp_python_client/aidataplatform_dp/models/cluster_log_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_logs_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/cluster_patch_event.py +205 -0
- aidp_python_client/aidataplatform_dp/models/cluster_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/cluster_runtime_config.py +130 -0
- aidp_python_client/aidataplatform_dp/models/cluster_spec.py +124 -0
- aidp_python_client/aidataplatform_dp/models/cluster_state_event.py +157 -0
- aidp_python_client/aidataplatform_dp/models/cluster_summary.py +690 -0
- aidp_python_client/aidataplatform_dp/models/commit_push_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/compute_dependency.py +80 -0
- aidp_python_client/aidataplatform_dp/models/compute_override_item.py +194 -0
- aidp_python_client/aidataplatform_dp/models/conflict_resolve_details.py +122 -0
- aidp_python_client/aidataplatform_dp/models/content.py +502 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_category_config.py +217 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_config.py +149 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_policy.py +117 -0
- aidp_python_client/aidataplatform_dp/models/continuous.py +86 -0
- aidp_python_client/aidataplatform_dp/models/copy_agent_flow_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/copy_workspace_object_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/create_admin_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_compute_details.py +77 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_details.py +381 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_edge_details.py +262 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_node_details.py +482 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_session_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_node_details.py +266 -0
- aidp_python_client/aidataplatform_dp/models/create_bundle_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/create_catalog_details.py +275 -0
- aidp_python_client/aidataplatform_dp/models/create_cluster_details.py +228 -0
- aidp_python_client/aidataplatform_dp/models/create_connection_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_content_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/create_custom_tool_details.py +190 -0
- aidp_python_client/aidataplatform_dp/models/create_custom_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_data_lake_credential_details.py +180 -0
- aidp_python_client/aidataplatform_dp/models/create_data_table_details.py +417 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_response_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_run_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_git_branch.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_git_branch_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_git_folder_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/create_http_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_http_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_job_details.py +426 -0
- aidp_python_client/aidataplatform_dp/models/create_job_run_details.py +248 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_details.py +516 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_details.py +290 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_master_catalog_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_mcp_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_model_version_details.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_nl_to_sql_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/create_or_update_bundle_overrides_details.py +97 -0
- aidp_python_client/aidataplatform_dp/models/create_prompt_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_prompt_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_rag_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/create_rag_tool_node_details.py +204 -0
- aidp_python_client/aidataplatform_dp/models/create_recipient_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/create_registered_model_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_role_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_schema_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_session_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/create_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_share_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_spark_cluster_details.py +243 -0
- aidp_python_client/aidataplatform_dp/models/create_sql_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_sql_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_table_details.py +358 -0
- aidp_python_client/aidataplatform_dp/models/create_tool_details.py +237 -0
- aidp_python_client/aidataplatform_dp/models/create_user_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_view_details.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_volume_details.py +242 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_permission_summary.py +152 -0
- aidp_python_client/aidataplatform_dp/models/credential.py +420 -0
- aidp_python_client/aidataplatform_dp/models/credential_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/credential_details.py +117 -0
- aidp_python_client/aidataplatform_dp/models/credential_summary.py +362 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2.py +422 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_name_and_secret_key.py +102 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_summary.py +364 -0
- aidp_python_client/aidataplatform_dp/models/credentials_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/custom_pii_rule.py +256 -0
- aidp_python_client/aidataplatform_dp/models/custom_result.py +163 -0
- aidp_python_client/aidataplatform_dp/models/custom_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool.py +246 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_configuration.py +283 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_entry.py +225 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/dac_endpoint_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/dac_endpoint_summary.py +458 -0
- aidp_python_client/aidataplatform_dp/models/data_lake.py +48 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_cluster_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_cluster_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_metadata.py +163 -0
- aidp_python_client/aidataplatform_dp/models/dataset.py +225 -0
- aidp_python_client/aidataplatform_dp/models/dataset_input.py +97 -0
- aidp_python_client/aidataplatform_dp/models/de_provision_user_schemas_details.py +48 -0
- aidp_python_client/aidataplatform_dp/models/default_cluster.py +438 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/denied_topic.py +132 -0
- aidp_python_client/aidataplatform_dp/models/denied_topics_policy.py +117 -0
- aidp_python_client/aidataplatform_dp/models/dependency.py +116 -0
- aidp_python_client/aidataplatform_dp/models/depends_on.py +101 -0
- aidp_python_client/aidataplatform_dp/models/deploy_agent_flow_details.py +269 -0
- aidp_python_client/aidataplatform_dp/models/deploy_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/detach_compute_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/detach_workspace_object_from_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/download_cluster_logs_details.py +404 -0
- aidp_python_client/aidataplatform_dp/models/download_file_with_par_result.py +353 -0
- aidp_python_client/aidataplatform_dp/models/driver_config.py +128 -0
- aidp_python_client/aidataplatform_dp/models/embedding_model_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/exadata_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/exadata_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/exadata_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/exadata_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/execute_database_user_workflows_details.py +99 -0
- aidp_python_client/aidataplatform_dp/models/execute_sql_command_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/experiment.py +256 -0
- aidp_python_client/aidataplatform_dp/models/experiment_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_response.py +66 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run.py +147 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_data.py +132 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_info.py +381 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_inputs.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_metric.py +163 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_metric_history_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_outputs.py +70 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_param.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/experiment_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/export_contents_details.py +87 -0
- aidp_python_client/aidataplatform_dp/models/export_task_run_output_details.py +87 -0
- aidp_python_client/aidataplatform_dp/models/exported_contents.py +181 -0
- aidp_python_client/aidataplatform_dp/models/exported_task_run_output_contents.py +181 -0
- aidp_python_client/aidataplatform_dp/models/expression.py +101 -0
- aidp_python_client/aidataplatform_dp/models/external_agent_node.py +216 -0
- aidp_python_client/aidataplatform_dp/models/external_catalog_migration_result.py +194 -0
- aidp_python_client/aidataplatform_dp/models/external_table_definition.py +215 -0
- aidp_python_client/aidataplatform_dp/models/feature.py +101 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_result.py +66 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/fetch_bundle_deployment_status_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_details.py +352 -0
- aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_result.py +181 -0
- aidp_python_client/aidataplatform_dp/models/fetch_output_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/field_info.py +125 -0
- aidp_python_client/aidataplatform_dp/models/file_dependency.py +80 -0
- aidp_python_client/aidataplatform_dp/models/filter_types.py +101 -0
- aidp_python_client/aidataplatform_dp/models/generate_temp_file_upload_target_response_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/get_bundle_overrides_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/get_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/get_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/get_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/git_account_user_setting.py +210 -0
- aidp_python_client/aidataplatform_dp/models/git_branch.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_branch_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/git_branch_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_config.py +187 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_detail.py +249 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_summary.py +270 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_summary_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/git_folder.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_folder_metadatum.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_merge_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/git_operation_state.py +381 -0
- aidp_python_client/aidataplatform_dp/models/git_pull_details.py +215 -0
- aidp_python_client/aidataplatform_dp/models/git_rebase_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/git_repair_work_tree_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_repository.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_reset_details.py +184 -0
- aidp_python_client/aidataplatform_dp/models/git_restore_branch_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/grouped_search_criteria.py +252 -0
- aidp_python_client/aidataplatform_dp/models/guardrail_node.py +216 -0
- aidp_python_client/aidataplatform_dp/models/guardrails_configuration.py +163 -0
- aidp_python_client/aidataplatform_dp/models/history_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/history_summary.py +256 -0
- aidp_python_client/aidataplatform_dp/models/http_result.py +256 -0
- aidp_python_client/aidataplatform_dp/models/http_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/http_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/http_tool_configuration.py +312 -0
- aidp_python_client/aidataplatform_dp/models/http_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/human_in_the_loop_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/iam_user_credential_user_setting.py +204 -0
- aidp_python_client/aidataplatform_dp/models/identity_domain_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_domain_summary.py +188 -0
- aidp_python_client/aidataplatform_dp/models/identity_group_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_group_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/identity_user_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_user_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/if_else_task.py +185 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_column.py +163 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_properties.py +101 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_with_preview.py +101 -0
- aidp_python_client/aidataplatform_dp/models/init_script_path.py +70 -0
- aidp_python_client/aidataplatform_dp/models/input_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/install_cluster_library_details.py +88 -0
- aidp_python_client/aidataplatform_dp/models/is_principal_admin.py +70 -0
- aidp_python_client/aidataplatform_dp/models/is_principal_aidp_admin.py +70 -0
- aidp_python_client/aidataplatform_dp/models/jar_task.py +381 -0
- aidp_python_client/aidataplatform_dp/models/job.py +652 -0
- aidp_python_client/aidataplatform_dp/models/job_cluster.py +128 -0
- aidp_python_client/aidataplatform_dp/models/job_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_dependency.py +111 -0
- aidp_python_client/aidataplatform_dp/models/job_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_permission_summary.py +207 -0
- aidp_python_client/aidataplatform_dp/models/job_run.py +1178 -0
- aidp_python_client/aidataplatform_dp/models/job_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_run_summary.py +454 -0
- aidp_python_client/aidataplatform_dp/models/job_summary.py +442 -0
- aidp_python_client/aidataplatform_dp/models/job_task.py +185 -0
- aidp_python_client/aidataplatform_dp/models/kafka_topic_schema.py +258 -0
- aidp_python_client/aidataplatform_dp/models/kafka_topic_schema_summary.py +190 -0
- aidp_python_client/aidataplatform_dp/models/kb_v_hnsw_index_details.py +200 -0
- aidp_python_client/aidataplatform_dp/models/kb_v_ivf_index_details.py +200 -0
- aidp_python_client/aidataplatform_dp/models/kernel.py +242 -0
- aidp_python_client/aidataplatform_dp/models/kernel_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/kernel_summary.py +202 -0
- aidp_python_client/aidataplatform_dp/models/keyed_time_series.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base.py +1339 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job.py +656 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run.py +502 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_data.py +211 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_summary.py +502 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_summary.py +546 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_summary.py +274 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_source_metadata_details.py +428 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_summary.py +452 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_vector_index_details.py +141 -0
- aidp_python_client/aidataplatform_dp/models/libraries.py +70 -0
- aidp_python_client/aidataplatform_dp/models/lifecycle_state.py +294 -0
- aidp_python_client/aidataplatform_dp/models/list_experiment_runs_details.py +268 -0
- aidp_python_client/aidataplatform_dp/models/list_experiments_details.py +231 -0
- aidp_python_client/aidataplatform_dp/models/list_filter.py +194 -0
- aidp_python_client/aidataplatform_dp/models/list_logged_models_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/list_permissions_with_resource_details.py +206 -0
- aidp_python_client/aidataplatform_dp/models/llm_config.py +132 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_group.py +132 -0
- aidp_python_client/aidataplatform_dp/models/logged_model.py +97 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_info.py +349 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_order.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logging_config.py +99 -0
- aidp_python_client/aidataplatform_dp/models/manage_agent_flow_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_audit_logs_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/manage_catalog_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_cluster_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_create_workspace_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_credential_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_job_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_knowledge_base_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_master_catalog_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_recipient_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_role_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_schema_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_access_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_data_asset_details.py +263 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_table_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_tool_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_view_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_volume_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_workspace_object_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_workspace_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/managed_table_definition.py +110 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog.py +357 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_permission_summary.py +216 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_summary.py +351 -0
- aidp_python_client/aidataplatform_dp/models/mcp_object.py +178 -0
- aidp_python_client/aidataplatform_dp/models/mcp_prompt_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/mcp_resource_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/mcp_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/mcp_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_configuration.py +159 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/memory_configuration.py +128 -0
- aidp_python_client/aidataplatform_dp/models/memory_limit_configuration.py +110 -0
- aidp_python_client/aidataplatform_dp/models/memory_limit_configuration_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/metrics_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/mkdir_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model.py +470 -0
- aidp_python_client/aidataplatform_dp/models/model_input.py +70 -0
- aidp_python_client/aidataplatform_dp/models/model_metric.py +163 -0
- aidp_python_client/aidataplatform_dp/models/model_output.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_param.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter.py +97 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter_detail.py +132 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter_response.py +363 -0
- aidp_python_client/aidataplatform_dp/models/model_summary.py +238 -0
- aidp_python_client/aidataplatform_dp/models/model_version.py +613 -0
- aidp_python_client/aidataplatform_dp/models/model_version_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_version_deployment_job_state.py +258 -0
- aidp_python_client/aidataplatform_dp/models/model_version_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_version_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/models_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/modify_content_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/move_workspace_object_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/nested_agent_flow_node.py +243 -0
- aidp_python_client/aidataplatform_dp/models/new_cluster_configuration.py +190 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool.py +180 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_configuration.py +225 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_input_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/no_auth.py +49 -0
- aidp_python_client/aidataplatform_dp/models/node_input.py +246 -0
- aidp_python_client/aidataplatform_dp/models/node_io.py +158 -0
- aidp_python_client/aidataplatform_dp/models/node_io_color.py +149 -0
- aidp_python_client/aidataplatform_dp/models/node_output.py +215 -0
- aidp_python_client/aidataplatform_dp/models/notebook_task.py +319 -0
- aidp_python_client/aidataplatform_dp/models/notify_cluster_event_handler_details.py +253 -0
- aidp_python_client/aidataplatform_dp/models/o_auth.py +173 -0
- aidp_python_client/aidataplatform_dp/models/o_auth_admin_setting.py +111 -0
- aidp_python_client/aidataplatform_dp/models/o_auth_configuration.py +132 -0
- aidp_python_client/aidataplatform_dp/models/oac_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/oac_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/oac_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/oac_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/object_recent_search_summary.py +70 -0
- aidp_python_client/aidataplatform_dp/models/object_search_summary.py +516 -0
- aidp_python_client/aidataplatform_dp/models/object_suggest_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/oci_logging.py +80 -0
- aidp_python_client/aidataplatform_dp/models/oci_resource_principal_auth.py +49 -0
- aidp_python_client/aidataplatform_dp/models/oracle_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/oracle_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/oracle_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/oracle_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/output_parameter.py +101 -0
- aidp_python_client/aidataplatform_dp/models/par_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/parameter.py +101 -0
- aidp_python_client/aidataplatform_dp/models/patch_cluster_library_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/patch_session_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/perform_infer_schema_details.py +204 -0
- aidp_python_client/aidataplatform_dp/models/permission_assignees.py +122 -0
- aidp_python_client/aidataplatform_dp/models/permission_summary.py +274 -0
- aidp_python_client/aidataplatform_dp/models/permission_with_resource_details.py +288 -0
- aidp_python_client/aidataplatform_dp/models/pii_category.py +209 -0
- aidp_python_client/aidataplatform_dp/models/pii_detection_policy.py +148 -0
- aidp_python_client/aidataplatform_dp/models/playground_cache.py +70 -0
- aidp_python_client/aidataplatform_dp/models/point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/preview_agent_flow_agent_card_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_summary.py +153 -0
- aidp_python_client/aidataplatform_dp/models/prompt_attacks_prevention_policy.py +86 -0
- aidp_python_client/aidataplatform_dp/models/prompt_result.py +101 -0
- aidp_python_client/aidataplatform_dp/models/prompt_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool_configuration.py +128 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/provision_user_schema_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/purge_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/python_task.py +319 -0
- aidp_python_client/aidataplatform_dp/models/queue.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rag_result.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rag_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool.py +180 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_configuration.py +221 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_input_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_node.py +181 -0
- aidp_python_client/aidataplatform_dp/models/range_filter.py +201 -0
- aidp_python_client/aidataplatform_dp/models/recent_resource_item.py +283 -0
- aidp_python_client/aidataplatform_dp/models/recent_search_results_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recent_searches_criteria.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recently_accessed.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recently_accessed_resource.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recipient.py +402 -0
- aidp_python_client/aidataplatform_dp/models/recipient_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recipient_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recipient_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/recipient_summary.py +369 -0
- aidp_python_client/aidataplatform_dp/models/registered_model.py +346 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_alias.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/remove_member_from_role_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rename_registered_model_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rename_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/rename_table_field_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rename_workspace_object_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/repair_history.py +361 -0
- aidp_python_client/aidataplatform_dp/models/repair_job_run_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/reset_git_folder_state_details.py +157 -0
- aidp_python_client/aidataplatform_dp/models/restart_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_run_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/retrieved_chunk.py +132 -0
- aidp_python_client/aidataplatform_dp/models/revoke_agent_flow_permission_details.py +187 -0
- aidp_python_client/aidataplatform_dp/models/revoke_catalog_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_cluster_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_create_workspace_permission_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/revoke_credential_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_job_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_knowledge_base_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_master_catalog_permission_details.py +129 -0
- aidp_python_client/aidataplatform_dp/models/revoke_recipient_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_role_permission_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/revoke_schema_permission_details.py +137 -0
- aidp_python_client/aidataplatform_dp/models/revoke_share_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_table_permission_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/revoke_tool_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/revoke_view_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/revoke_volume_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_workspace_object_permission_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/revoke_workspace_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/role.py +439 -0
- aidp_python_client/aidataplatform_dp/models/role_assignee.py +152 -0
- aidp_python_client/aidataplatform_dp/models/role_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/role_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/role_permission_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/role_summary.py +396 -0
- aidp_python_client/aidataplatform_dp/models/run_output_data.py +313 -0
- aidp_python_client/aidataplatform_dp/models/safety_policy.py +337 -0
- aidp_python_client/aidataplatform_dp/models/scan.py +101 -0
- aidp_python_client/aidataplatform_dp/models/schedule.py +148 -0
- aidp_python_client/aidataplatform_dp/models/schema.py +551 -0
- aidp_python_client/aidataplatform_dp/models/schema_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/schema_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/schema_permission_summary.py +285 -0
- aidp_python_client/aidataplatform_dp/models/schema_summary.py +536 -0
- aidp_python_client/aidataplatform_dp/models/search_audit_logs_details.py +626 -0
- aidp_python_client/aidataplatform_dp/models/search_cluster_logs_details.py +437 -0
- aidp_python_client/aidataplatform_dp/models/search_criteria.py +221 -0
- aidp_python_client/aidataplatform_dp/models/search_object_type.py +101 -0
- aidp_python_client/aidataplatform_dp/models/search_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/search_result_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/search_results_collection.py +163 -0
- aidp_python_client/aidataplatform_dp/models/search_results_group_by_collection.py +163 -0
- aidp_python_client/aidataplatform_dp/models/secret_pair.py +101 -0
- aidp_python_client/aidataplatform_dp/models/secret_token_credential_details.py +81 -0
- aidp_python_client/aidataplatform_dp/models/service_account_credential_details.py +236 -0
- aidp_python_client/aidataplatform_dp/models/session.py +324 -0
- aidp_python_client/aidataplatform_dp/models/session_chat_history_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/session_chat_history_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/session_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/session_configuration.py +97 -0
- aidp_python_client/aidataplatform_dp/models/session_retention_configuration.py +132 -0
- aidp_python_client/aidataplatform_dp/models/session_summary.py +283 -0
- aidp_python_client/aidataplatform_dp/models/session_variable.py +101 -0
- aidp_python_client/aidataplatform_dp/models/session_variable_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_model_version_tag_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/set_model_version_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/setting_data.py +115 -0
- aidp_python_client/aidataplatform_dp/models/shape_config.py +132 -0
- aidp_python_client/aidataplatform_dp/models/share.py +396 -0
- aidp_python_client/aidataplatform_dp/models/share_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_data_asset_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_data_asset_summary.py +311 -0
- aidp_python_client/aidataplatform_dp/models/share_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/share_summary.py +365 -0
- aidp_python_client/aidataplatform_dp/models/sort_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/span_details.py +345 -0
- aidp_python_client/aidataplatform_dp/models/span_status.py +101 -0
- aidp_python_client/aidataplatform_dp/models/spark_cluster.py +497 -0
- aidp_python_client/aidataplatform_dp/models/spark_runtime_config.py +155 -0
- aidp_python_client/aidataplatform_dp/models/sql_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/sql_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool_configuration.py +194 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/standard_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/standard_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/standard_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/standard_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/start_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/start_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/state.py +231 -0
- aidp_python_client/aidataplatform_dp/models/stop_agent_flow_session_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/stop_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/subscription_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/suggest_criteria.py +101 -0
- aidp_python_client/aidataplatform_dp/models/suggest_results_collection.py +132 -0
- aidp_python_client/aidataplatform_dp/models/summarize_metrics_data_details.py +308 -0
- aidp_python_client/aidataplatform_dp/models/summarize_metrics_response.py +70 -0
- aidp_python_client/aidataplatform_dp/models/supervisor_agent_node.py +363 -0
- aidp_python_client/aidataplatform_dp/models/sync_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table.py +737 -0
- aidp_python_client/aidataplatform_dp/models/table_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table_field_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/table_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table_permission_summary.py +347 -0
- aidp_python_client/aidataplatform_dp/models/table_property.py +101 -0
- aidp_python_client/aidataplatform_dp/models/table_summary.py +435 -0
- aidp_python_client/aidataplatform_dp/models/task.py +357 -0
- aidp_python_client/aidataplatform_dp/models/task_execution_result.py +221 -0
- aidp_python_client/aidataplatform_dp/models/task_run.py +771 -0
- aidp_python_client/aidataplatform_dp/models/task_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/task_run_output.py +288 -0
- aidp_python_client/aidataplatform_dp/models/task_run_retry.py +345 -0
- aidp_python_client/aidataplatform_dp/models/task_run_summary.py +407 -0
- aidp_python_client/aidataplatform_dp/models/test_custom_tool_details.py +141 -0
- aidp_python_client/aidataplatform_dp/models/test_http_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_connection.py +49 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_external_tool.py +107 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_operation.py +108 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_tool_details.py +168 -0
- aidp_python_client/aidataplatform_dp/models/test_prompt_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_rag_tool_details.py +114 -0
- aidp_python_client/aidataplatform_dp/models/test_sql_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_details.py +171 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_param_values.py +70 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_result.py +140 -0
- aidp_python_client/aidataplatform_dp/models/time_created.py +42 -0
- aidp_python_client/aidataplatform_dp/models/time_updated.py +42 -0
- aidp_python_client/aidataplatform_dp/models/tool.py +489 -0
- aidp_python_client/aidataplatform_dp/models/tool_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/tool_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/tool_permission_summary.py +332 -0
- aidp_python_client/aidataplatform_dp/models/tool_summary.py +355 -0
- aidp_python_client/aidataplatform_dp/models/trace_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/trace_event.py +132 -0
- aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/txt_file_definition.py +101 -0
- aidp_python_client/aidataplatform_dp/models/uninstall_cluster_library_details.py +88 -0
- aidp_python_client/aidataplatform_dp/models/update_admin_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_compute_details.py +77 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_details.py +242 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_metadata_details.py +97 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_details.py +395 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_node_details.py +451 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_details.py +159 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_playground_cache_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_node_details.py +259 -0
- aidp_python_client/aidataplatform_dp/models/update_catalog_details.py +159 -0
- aidp_python_client/aidataplatform_dp/models/update_cluster_async_operation_status_details.py +293 -0
- aidp_python_client/aidataplatform_dp/models/update_cluster_details.py +228 -0
- aidp_python_client/aidataplatform_dp/models/update_connection_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_content_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/update_custom_tool_details.py +190 -0
- aidp_python_client/aidataplatform_dp/models/update_custom_tool_node_details.py +201 -0
- aidp_python_client/aidataplatform_dp/models/update_data_lake_credential_details.py +180 -0
- aidp_python_client/aidataplatform_dp/models/update_dir_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_file_metadata_details.py +126 -0
- aidp_python_client/aidataplatform_dp/models/update_git_repository_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_http_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_http_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_job_details.py +426 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_add_source_details.py +366 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_delete_source_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_details.py +176 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_metadata_update_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details_item.py +141 -0
- aidp_python_client/aidataplatform_dp/models/update_master_catalog_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_mcp_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_tags_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_nl_to_sql_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/update_prompt_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_prompt_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_rag_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/update_rag_tool_node_details.py +139 -0
- aidp_python_client/aidataplatform_dp/models/update_recipient_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_role_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_schema_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_share_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_spark_cluster_details.py +216 -0
- aidp_python_client/aidataplatform_dp/models/update_sql_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_sql_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_table_details.py +287 -0
- aidp_python_client/aidataplatform_dp/models/update_table_field_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_tool_details.py +237 -0
- aidp_python_client/aidataplatform_dp/models/update_user_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_view_details.py +130 -0
- aidp_python_client/aidataplatform_dp/models/update_volume_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_workspace_async_operation_status_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/update_workspace_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/upload_file_with_par_details.py +188 -0
- aidp_python_client/aidataplatform_dp/models/upload_file_with_par_result.py +353 -0
- aidp_python_client/aidataplatform_dp/models/user_setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/user_setting_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/user_setting_summary.py +276 -0
- aidp_python_client/aidataplatform_dp/models/validate_agent_flow_diagram_details.py +203 -0
- aidp_python_client/aidataplatform_dp/models/validate_agent_flow_response.py +101 -0
- aidp_python_client/aidataplatform_dp/models/validate_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/validate_view_sql_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/validation_error.py +163 -0
- aidp_python_client/aidataplatform_dp/models/vault_reference_credential_details.py +81 -0
- aidp_python_client/aidataplatform_dp/models/view.py +489 -0
- aidp_python_client/aidataplatform_dp/models/view_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/view_field_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/view_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/view_permission_summary.py +347 -0
- aidp_python_client/aidataplatform_dp/models/view_property.py +101 -0
- aidp_python_client/aidataplatform_dp/models/view_sql_parse_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/view_summary.py +303 -0
- aidp_python_client/aidataplatform_dp/models/view_update_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/volume.py +559 -0
- aidp_python_client/aidataplatform_dp/models/volume_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_file.py +42 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_cluster_library_summary.py +139 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_summary.py +408 -0
- aidp_python_client/aidataplatform_dp/models/volume_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_permission_summary.py +273 -0
- aidp_python_client/aidataplatform_dp/models/volume_summary.py +435 -0
- aidp_python_client/aidataplatform_dp/models/word_filters_policy.py +148 -0
- aidp_python_client/aidataplatform_dp/models/worker_config.py +159 -0
- aidp_python_client/aidataplatform_dp/models/workspace.py +665 -0
- aidp_python_client/aidataplatform_dp/models/workspace_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_file_cluster_library_summary.py +139 -0
- aidp_python_client/aidataplatform_dp/models/workspace_network_configuration_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object.py +42 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_details.py +342 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_permission_summary.py +238 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_search_results_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_search_summary.py +423 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_summary.py +392 -0
- aidp_python_client/aidataplatform_dp/models/workspace_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/workspace_search_criteria.py +252 -0
- aidp_python_client/aidataplatform_dp/models/workspace_summary.py +567 -0
- aidp_python_client/aidataplatform_dp/notebook_client.py +1199 -0
- aidp_python_client/aidataplatform_dp/notebook_client_composite_operations.py +70 -0
- aidp_python_client/aidataplatform_dp/role_client.py +965 -0
- aidp_python_client/aidataplatform_dp/role_client_composite_operations.py +113 -0
- aidp_python_client/aidataplatform_dp/schema_client.py +3023 -0
- aidp_python_client/aidataplatform_dp/schema_client_composite_operations.py +159 -0
- aidp_python_client/aidataplatform_dp/user_setting_client.py +610 -0
- aidp_python_client/aidataplatform_dp/user_setting_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/volume_client.py +1838 -0
- aidp_python_client/aidataplatform_dp/volume_client_composite_operations.py +113 -0
- aidp_python_client/aidataplatform_dp/workflow_client.py +2220 -0
- aidp_python_client/aidataplatform_dp/workflow_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/workspace_client.py +1294 -0
- aidp_python_client/aidataplatform_dp/workspace_client_composite_operations.py +162 -0
- aidp_python_client/aidataplatform_dp/workspace_object_client.py +1595 -0
- aidp_python_client/aidataplatform_dp/workspace_object_client_composite_operations.py +24 -0
- aidp_python_client/service_endpoints.py +22 -0
- aidp_python_client-1.0.0.dist-info/METADATA +9 -0
- aidp_python_client-1.0.0.dist-info/RECORD +847 -0
- aidp_python_client-1.0.0.dist-info/WHEEL +5 -0
- aidp_python_client-1.0.0.dist-info/licenses/LICENSE.txt +35 -0
- aidp_python_client-1.0.0.dist-info/licenses/NOTICE.txt +1 -0
- aidp_python_client-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1873 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
from __future__ import absolute_import
|
|
6
|
+
|
|
7
|
+
from oci._vendor import requests # noqa: F401
|
|
8
|
+
from oci._vendor import six
|
|
9
|
+
|
|
10
|
+
from oci import retry # noqa: F401
|
|
11
|
+
from oci.base_client import BaseClient
|
|
12
|
+
from oci.config import get_config_value_or_default, validate_config
|
|
13
|
+
from oci.signer import Signer
|
|
14
|
+
from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
|
|
15
|
+
from .models import aidataplatform_dp_type_mapping
|
|
16
|
+
missing = Sentinel("Missing")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class ClusterClient(object):
|
|
20
|
+
"""
|
|
21
|
+
Use the AI Data Platform Data Plane API to manage workspaces and objects in the workspace.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
def __init__(self, config, **kwargs):
|
|
25
|
+
"""
|
|
26
|
+
Creates a new service client
|
|
27
|
+
|
|
28
|
+
:param dict config:
|
|
29
|
+
Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
|
|
30
|
+
The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
|
|
31
|
+
the dict using :py:meth:`~oci.config.validate_config`
|
|
32
|
+
|
|
33
|
+
:param str service_endpoint: (optional)
|
|
34
|
+
The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
|
|
35
|
+
not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
|
|
36
|
+
need to specify a service endpoint.
|
|
37
|
+
|
|
38
|
+
:param timeout: (optional)
|
|
39
|
+
The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
|
|
40
|
+
as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
|
|
41
|
+
a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
|
|
42
|
+
:type timeout: float or tuple(float, float)
|
|
43
|
+
|
|
44
|
+
:param signer: (optional)
|
|
45
|
+
The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
|
|
46
|
+
provided in the config parameter.
|
|
47
|
+
|
|
48
|
+
One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
|
|
49
|
+
by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
|
|
50
|
+
:type signer: :py:class:`~oci.signer.AbstractBaseSigner`
|
|
51
|
+
|
|
52
|
+
:param obj retry_strategy: (optional)
|
|
53
|
+
A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
|
|
54
|
+
Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
|
|
55
|
+
Any value provided at the operation level will override whatever is specified at the client level.
|
|
56
|
+
|
|
57
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
58
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
59
|
+
"""
|
|
60
|
+
validate_config(config, signer=kwargs.get('signer'))
|
|
61
|
+
if 'signer' in kwargs:
|
|
62
|
+
signer = kwargs['signer']
|
|
63
|
+
|
|
64
|
+
elif AUTHENTICATION_TYPE_FIELD_NAME in config:
|
|
65
|
+
signer = get_signer_from_authentication_type(config)
|
|
66
|
+
|
|
67
|
+
else:
|
|
68
|
+
signer = Signer(
|
|
69
|
+
tenancy=config["tenancy"],
|
|
70
|
+
user=config["user"],
|
|
71
|
+
fingerprint=config["fingerprint"],
|
|
72
|
+
private_key_file_location=config.get("key_file"),
|
|
73
|
+
pass_phrase=get_config_value_or_default(config, "pass_phrase"),
|
|
74
|
+
private_key_content=config.get("key_content")
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
base_client_init_kwargs = {
|
|
78
|
+
'regional_client': True,
|
|
79
|
+
'service_endpoint': kwargs.get('service_endpoint'),
|
|
80
|
+
'timeout': kwargs.get('timeout'),
|
|
81
|
+
'base_path': '/20260430',
|
|
82
|
+
'service_endpoint_template': 'https://datalake.{region}.oci.{secondLevelDomain}',
|
|
83
|
+
'skip_deserialization': kwargs.get('skip_deserialization', False)
|
|
84
|
+
}
|
|
85
|
+
self.base_client = BaseClient("cluster", config, signer, aidataplatform_dp_type_mapping, **base_client_init_kwargs)
|
|
86
|
+
self.retry_strategy = kwargs.get('retry_strategy', retry.DEFAULT_RETRY_STRATEGY)
|
|
87
|
+
|
|
88
|
+
def create_cluster(self, ai_data_platform_id, workspace_key, create_cluster_details, **kwargs):
|
|
89
|
+
"""
|
|
90
|
+
Creates a new cluster with the provided details.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:param str ai_data_platform_id: (required)
|
|
94
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
95
|
+
|
|
96
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
97
|
+
|
|
98
|
+
:param str workspace_key: (required)
|
|
99
|
+
The key of the Workspace
|
|
100
|
+
|
|
101
|
+
:param oci.aidataplatform_dp.models.CreateClusterDetails create_cluster_details: (required)
|
|
102
|
+
Details for the new cluster.
|
|
103
|
+
|
|
104
|
+
:param str opc_retry_token: (optional)
|
|
105
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
106
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
107
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
108
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
109
|
+
might be rejected.
|
|
110
|
+
|
|
111
|
+
:param str opc_request_id: (optional)
|
|
112
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
113
|
+
Oracle about a particular request, please provide the request ID.
|
|
114
|
+
The only valid characters for request IDs are letters, numbers,
|
|
115
|
+
underscore, and dash.
|
|
116
|
+
|
|
117
|
+
:param bool should_update_recent: (optional)
|
|
118
|
+
A flag to identify if the recent list should be updated.
|
|
119
|
+
|
|
120
|
+
:param obj retry_strategy: (optional)
|
|
121
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
122
|
+
|
|
123
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
124
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
125
|
+
|
|
126
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
127
|
+
|
|
128
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Cluster`
|
|
129
|
+
:rtype: :class:`~oci.response.Response`
|
|
130
|
+
"""
|
|
131
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters"
|
|
132
|
+
method = "POST"
|
|
133
|
+
|
|
134
|
+
# Don't accept unknown kwargs
|
|
135
|
+
expected_kwargs = [
|
|
136
|
+
"retry_strategy",
|
|
137
|
+
"opc_retry_token",
|
|
138
|
+
"opc_request_id",
|
|
139
|
+
"should_update_recent"
|
|
140
|
+
]
|
|
141
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
142
|
+
if extra_kwargs:
|
|
143
|
+
raise ValueError(
|
|
144
|
+
"create_cluster got unknown kwargs: {!r}".format(extra_kwargs))
|
|
145
|
+
|
|
146
|
+
path_params = {
|
|
147
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
148
|
+
"workspaceKey": workspace_key
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
152
|
+
|
|
153
|
+
for (k, v) in six.iteritems(path_params):
|
|
154
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
155
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
156
|
+
|
|
157
|
+
header_params = {
|
|
158
|
+
"accept": "application/json",
|
|
159
|
+
"content-type": "application/json",
|
|
160
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
161
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
162
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
163
|
+
}
|
|
164
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
165
|
+
|
|
166
|
+
retry_strategy = self.retry_strategy
|
|
167
|
+
if kwargs.get('retry_strategy'):
|
|
168
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
169
|
+
|
|
170
|
+
if retry_strategy:
|
|
171
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
172
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
173
|
+
return retry_strategy.make_retrying_call(
|
|
174
|
+
self.base_client.call_api,
|
|
175
|
+
resource_path=resource_path,
|
|
176
|
+
method=method,
|
|
177
|
+
path_params=path_params,
|
|
178
|
+
header_params=header_params,
|
|
179
|
+
body=create_cluster_details,
|
|
180
|
+
response_type="Cluster")
|
|
181
|
+
else:
|
|
182
|
+
return self.base_client.call_api(
|
|
183
|
+
resource_path=resource_path,
|
|
184
|
+
method=method,
|
|
185
|
+
path_params=path_params,
|
|
186
|
+
header_params=header_params,
|
|
187
|
+
body=create_cluster_details,
|
|
188
|
+
response_type="Cluster")
|
|
189
|
+
|
|
190
|
+
def delete_cluster(self, ai_data_platform_id, workspace_key, cluster_key, **kwargs):
|
|
191
|
+
"""
|
|
192
|
+
Deletes a cluster from a workspace.
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:param str ai_data_platform_id: (required)
|
|
196
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
197
|
+
|
|
198
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
199
|
+
|
|
200
|
+
:param str workspace_key: (required)
|
|
201
|
+
The key of the Workspace
|
|
202
|
+
|
|
203
|
+
:param str cluster_key: (required)
|
|
204
|
+
Cluster key.
|
|
205
|
+
|
|
206
|
+
:param str if_match: (optional)
|
|
207
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
208
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
209
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
210
|
+
matches the resource's current etag value.
|
|
211
|
+
|
|
212
|
+
:param str opc_request_id: (optional)
|
|
213
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
214
|
+
Oracle about a particular request, please provide the request ID.
|
|
215
|
+
The only valid characters for request IDs are letters, numbers,
|
|
216
|
+
underscore, and dash.
|
|
217
|
+
|
|
218
|
+
:param obj retry_strategy: (optional)
|
|
219
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
220
|
+
|
|
221
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
222
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
223
|
+
|
|
224
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
225
|
+
|
|
226
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
227
|
+
:rtype: :class:`~oci.response.Response`
|
|
228
|
+
"""
|
|
229
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}"
|
|
230
|
+
method = "DELETE"
|
|
231
|
+
|
|
232
|
+
# Don't accept unknown kwargs
|
|
233
|
+
expected_kwargs = [
|
|
234
|
+
"retry_strategy",
|
|
235
|
+
"if_match",
|
|
236
|
+
"opc_request_id"
|
|
237
|
+
]
|
|
238
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
239
|
+
if extra_kwargs:
|
|
240
|
+
raise ValueError(
|
|
241
|
+
"delete_cluster got unknown kwargs: {!r}".format(extra_kwargs))
|
|
242
|
+
|
|
243
|
+
path_params = {
|
|
244
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
245
|
+
"workspaceKey": workspace_key,
|
|
246
|
+
"clusterKey": cluster_key
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
250
|
+
|
|
251
|
+
for (k, v) in six.iteritems(path_params):
|
|
252
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
253
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
254
|
+
|
|
255
|
+
header_params = {
|
|
256
|
+
"accept": "application/json",
|
|
257
|
+
"content-type": "application/json",
|
|
258
|
+
"if-match": kwargs.get("if_match", missing),
|
|
259
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
260
|
+
}
|
|
261
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
262
|
+
|
|
263
|
+
retry_strategy = self.retry_strategy
|
|
264
|
+
if kwargs.get('retry_strategy'):
|
|
265
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
266
|
+
|
|
267
|
+
if retry_strategy:
|
|
268
|
+
return retry_strategy.make_retrying_call(
|
|
269
|
+
self.base_client.call_api,
|
|
270
|
+
resource_path=resource_path,
|
|
271
|
+
method=method,
|
|
272
|
+
path_params=path_params,
|
|
273
|
+
header_params=header_params)
|
|
274
|
+
else:
|
|
275
|
+
return self.base_client.call_api(
|
|
276
|
+
resource_path=resource_path,
|
|
277
|
+
method=method,
|
|
278
|
+
path_params=path_params,
|
|
279
|
+
header_params=header_params)
|
|
280
|
+
|
|
281
|
+
def download_cluster_logs(self, ai_data_platform_id, workspace_key, cluster_key, download_cluster_logs_details, **kwargs):
|
|
282
|
+
"""
|
|
283
|
+
Downloads logs within the specified cluster and time range.
|
|
284
|
+
The logs can be filtered by severity (`logLevel`), type (`logContentTypeContains`),
|
|
285
|
+
and other parameters such as execution context and thread identifiers.
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
:param str ai_data_platform_id: (required)
|
|
289
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
290
|
+
|
|
291
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
292
|
+
|
|
293
|
+
:param str workspace_key: (required)
|
|
294
|
+
The key of the Workspace
|
|
295
|
+
|
|
296
|
+
:param str cluster_key: (required)
|
|
297
|
+
Cluster key.
|
|
298
|
+
|
|
299
|
+
:param oci.aidataplatform_dp.models.DownloadClusterLogsDetails download_cluster_logs_details: (required)
|
|
300
|
+
Request payload containing the parameters for filtering cluster logs.
|
|
301
|
+
|
|
302
|
+
:param str opc_request_id: (optional)
|
|
303
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
304
|
+
Oracle about a particular request, please provide the request ID.
|
|
305
|
+
The only valid characters for request IDs are letters, numbers,
|
|
306
|
+
underscore, and dash.
|
|
307
|
+
|
|
308
|
+
:param str opc_retry_token: (optional)
|
|
309
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
310
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
311
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
312
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
313
|
+
might be rejected.
|
|
314
|
+
|
|
315
|
+
:param obj retry_strategy: (optional)
|
|
316
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
317
|
+
|
|
318
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
319
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
320
|
+
|
|
321
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
322
|
+
|
|
323
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
324
|
+
:rtype: :class:`~oci.response.Response`
|
|
325
|
+
"""
|
|
326
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/downloadLogs"
|
|
327
|
+
method = "POST"
|
|
328
|
+
|
|
329
|
+
# Don't accept unknown kwargs
|
|
330
|
+
expected_kwargs = [
|
|
331
|
+
"retry_strategy",
|
|
332
|
+
"opc_request_id",
|
|
333
|
+
"opc_retry_token"
|
|
334
|
+
]
|
|
335
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
336
|
+
if extra_kwargs:
|
|
337
|
+
raise ValueError(
|
|
338
|
+
"download_cluster_logs got unknown kwargs: {!r}".format(extra_kwargs))
|
|
339
|
+
|
|
340
|
+
path_params = {
|
|
341
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
342
|
+
"workspaceKey": workspace_key,
|
|
343
|
+
"clusterKey": cluster_key
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
347
|
+
|
|
348
|
+
for (k, v) in six.iteritems(path_params):
|
|
349
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
350
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
351
|
+
|
|
352
|
+
header_params = {
|
|
353
|
+
"accept": "application/json",
|
|
354
|
+
"content-type": "application/json",
|
|
355
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
356
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
|
357
|
+
}
|
|
358
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
359
|
+
|
|
360
|
+
retry_strategy = self.retry_strategy
|
|
361
|
+
if kwargs.get('retry_strategy'):
|
|
362
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
363
|
+
|
|
364
|
+
if retry_strategy:
|
|
365
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
366
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
367
|
+
return retry_strategy.make_retrying_call(
|
|
368
|
+
self.base_client.call_api,
|
|
369
|
+
resource_path=resource_path,
|
|
370
|
+
method=method,
|
|
371
|
+
path_params=path_params,
|
|
372
|
+
header_params=header_params,
|
|
373
|
+
body=download_cluster_logs_details)
|
|
374
|
+
else:
|
|
375
|
+
return self.base_client.call_api(
|
|
376
|
+
resource_path=resource_path,
|
|
377
|
+
method=method,
|
|
378
|
+
path_params=path_params,
|
|
379
|
+
header_params=header_params,
|
|
380
|
+
body=download_cluster_logs_details)
|
|
381
|
+
|
|
382
|
+
def get_cluster(self, ai_data_platform_id, workspace_key, cluster_key, **kwargs):
|
|
383
|
+
"""
|
|
384
|
+
Returns detailed information about a cluster.
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
:param str ai_data_platform_id: (required)
|
|
388
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
389
|
+
|
|
390
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
391
|
+
|
|
392
|
+
:param str workspace_key: (required)
|
|
393
|
+
The key of the Workspace
|
|
394
|
+
|
|
395
|
+
:param str cluster_key: (required)
|
|
396
|
+
Cluster key.
|
|
397
|
+
|
|
398
|
+
:param str opc_request_id: (optional)
|
|
399
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
400
|
+
Oracle about a particular request, please provide the request ID.
|
|
401
|
+
The only valid characters for request IDs are letters, numbers,
|
|
402
|
+
underscore, and dash.
|
|
403
|
+
|
|
404
|
+
:param bool should_update_recent: (optional)
|
|
405
|
+
A flag to identify if the recent list should be updated.
|
|
406
|
+
|
|
407
|
+
:param obj retry_strategy: (optional)
|
|
408
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
409
|
+
|
|
410
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
411
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
412
|
+
|
|
413
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
414
|
+
|
|
415
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Cluster`
|
|
416
|
+
:rtype: :class:`~oci.response.Response`
|
|
417
|
+
"""
|
|
418
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}"
|
|
419
|
+
method = "GET"
|
|
420
|
+
|
|
421
|
+
# Don't accept unknown kwargs
|
|
422
|
+
expected_kwargs = [
|
|
423
|
+
"retry_strategy",
|
|
424
|
+
"opc_request_id",
|
|
425
|
+
"should_update_recent"
|
|
426
|
+
]
|
|
427
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
428
|
+
if extra_kwargs:
|
|
429
|
+
raise ValueError(
|
|
430
|
+
"get_cluster got unknown kwargs: {!r}".format(extra_kwargs))
|
|
431
|
+
|
|
432
|
+
path_params = {
|
|
433
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
434
|
+
"workspaceKey": workspace_key,
|
|
435
|
+
"clusterKey": cluster_key
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
439
|
+
|
|
440
|
+
for (k, v) in six.iteritems(path_params):
|
|
441
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
442
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
443
|
+
|
|
444
|
+
header_params = {
|
|
445
|
+
"accept": "application/json",
|
|
446
|
+
"content-type": "application/json",
|
|
447
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
448
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
449
|
+
}
|
|
450
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
451
|
+
|
|
452
|
+
retry_strategy = self.retry_strategy
|
|
453
|
+
if kwargs.get('retry_strategy'):
|
|
454
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
455
|
+
|
|
456
|
+
if retry_strategy:
|
|
457
|
+
return retry_strategy.make_retrying_call(
|
|
458
|
+
self.base_client.call_api,
|
|
459
|
+
resource_path=resource_path,
|
|
460
|
+
method=method,
|
|
461
|
+
path_params=path_params,
|
|
462
|
+
header_params=header_params,
|
|
463
|
+
response_type="Cluster")
|
|
464
|
+
else:
|
|
465
|
+
return self.base_client.call_api(
|
|
466
|
+
resource_path=resource_path,
|
|
467
|
+
method=method,
|
|
468
|
+
path_params=path_params,
|
|
469
|
+
header_params=header_params,
|
|
470
|
+
response_type="Cluster")
|
|
471
|
+
|
|
472
|
+
def get_default_cluster(self, ai_data_platform_id, **kwargs):
|
|
473
|
+
"""
|
|
474
|
+
Gets information about the master catalog default cluster.
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
:param str ai_data_platform_id: (required)
|
|
478
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
479
|
+
|
|
480
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
481
|
+
|
|
482
|
+
:param str opc_request_id: (optional)
|
|
483
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
484
|
+
Oracle about a particular request, please provide the request ID.
|
|
485
|
+
The only valid characters for request IDs are letters, numbers,
|
|
486
|
+
underscore, and dash.
|
|
487
|
+
|
|
488
|
+
:param obj retry_strategy: (optional)
|
|
489
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
490
|
+
|
|
491
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
492
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
493
|
+
|
|
494
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
495
|
+
|
|
496
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.DefaultCluster`
|
|
497
|
+
:rtype: :class:`~oci.response.Response`
|
|
498
|
+
"""
|
|
499
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/defaultCluster"
|
|
500
|
+
method = "GET"
|
|
501
|
+
|
|
502
|
+
# Don't accept unknown kwargs
|
|
503
|
+
expected_kwargs = [
|
|
504
|
+
"retry_strategy",
|
|
505
|
+
"opc_request_id"
|
|
506
|
+
]
|
|
507
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
508
|
+
if extra_kwargs:
|
|
509
|
+
raise ValueError(
|
|
510
|
+
"get_default_cluster got unknown kwargs: {!r}".format(extra_kwargs))
|
|
511
|
+
|
|
512
|
+
path_params = {
|
|
513
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
517
|
+
|
|
518
|
+
for (k, v) in six.iteritems(path_params):
|
|
519
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
520
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
521
|
+
|
|
522
|
+
header_params = {
|
|
523
|
+
"accept": "application/json",
|
|
524
|
+
"content-type": "application/json",
|
|
525
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
526
|
+
}
|
|
527
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
528
|
+
|
|
529
|
+
retry_strategy = self.retry_strategy
|
|
530
|
+
if kwargs.get('retry_strategy'):
|
|
531
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
532
|
+
|
|
533
|
+
if retry_strategy:
|
|
534
|
+
return retry_strategy.make_retrying_call(
|
|
535
|
+
self.base_client.call_api,
|
|
536
|
+
resource_path=resource_path,
|
|
537
|
+
method=method,
|
|
538
|
+
path_params=path_params,
|
|
539
|
+
header_params=header_params,
|
|
540
|
+
response_type="DefaultCluster")
|
|
541
|
+
else:
|
|
542
|
+
return self.base_client.call_api(
|
|
543
|
+
resource_path=resource_path,
|
|
544
|
+
method=method,
|
|
545
|
+
path_params=path_params,
|
|
546
|
+
header_params=header_params,
|
|
547
|
+
response_type="DefaultCluster")
|
|
548
|
+
|
|
549
|
+
def list_cluster_libraries(self, ai_data_platform_id, workspace_key, cluster_key, **kwargs):
|
|
550
|
+
"""
|
|
551
|
+
Gets a list of libraries installed on a cluster.
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
:param str ai_data_platform_id: (required)
|
|
555
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
556
|
+
|
|
557
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
558
|
+
|
|
559
|
+
:param str workspace_key: (required)
|
|
560
|
+
The key of the Workspace
|
|
561
|
+
|
|
562
|
+
:param str cluster_key: (required)
|
|
563
|
+
Cluster key.
|
|
564
|
+
|
|
565
|
+
:param str display_name: (optional)
|
|
566
|
+
A filter to return only resources that match the given display name exactly.
|
|
567
|
+
|
|
568
|
+
:param int limit: (optional)
|
|
569
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
570
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
571
|
+
`List Pagination`__.
|
|
572
|
+
|
|
573
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
574
|
+
|
|
575
|
+
:param str page: (optional)
|
|
576
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
577
|
+
\"List\" call. For important details about how pagination works, see
|
|
578
|
+
`List Pagination`__.
|
|
579
|
+
|
|
580
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
581
|
+
|
|
582
|
+
:param str sort_order: (optional)
|
|
583
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
584
|
+
|
|
585
|
+
Allowed values are: "ASC", "DESC"
|
|
586
|
+
|
|
587
|
+
:param str sort_by: (optional)
|
|
588
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
589
|
+
|
|
590
|
+
Allowed values are: "timeCreated", "displayName"
|
|
591
|
+
|
|
592
|
+
:param str opc_request_id: (optional)
|
|
593
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
594
|
+
Oracle about a particular request, please provide the request ID.
|
|
595
|
+
The only valid characters for request IDs are letters, numbers,
|
|
596
|
+
underscore, and dash.
|
|
597
|
+
|
|
598
|
+
:param obj retry_strategy: (optional)
|
|
599
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
600
|
+
|
|
601
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
602
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
603
|
+
|
|
604
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
605
|
+
|
|
606
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ClusterLibraryCollection`
|
|
607
|
+
:rtype: :class:`~oci.response.Response`
|
|
608
|
+
"""
|
|
609
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/libraries"
|
|
610
|
+
method = "GET"
|
|
611
|
+
|
|
612
|
+
# Don't accept unknown kwargs
|
|
613
|
+
expected_kwargs = [
|
|
614
|
+
"retry_strategy",
|
|
615
|
+
"display_name",
|
|
616
|
+
"limit",
|
|
617
|
+
"page",
|
|
618
|
+
"sort_order",
|
|
619
|
+
"sort_by",
|
|
620
|
+
"opc_request_id"
|
|
621
|
+
]
|
|
622
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
623
|
+
if extra_kwargs:
|
|
624
|
+
raise ValueError(
|
|
625
|
+
"list_cluster_libraries got unknown kwargs: {!r}".format(extra_kwargs))
|
|
626
|
+
|
|
627
|
+
path_params = {
|
|
628
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
629
|
+
"workspaceKey": workspace_key,
|
|
630
|
+
"clusterKey": cluster_key
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
634
|
+
|
|
635
|
+
for (k, v) in six.iteritems(path_params):
|
|
636
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
637
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
638
|
+
|
|
639
|
+
if 'sort_order' in kwargs:
|
|
640
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
641
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
642
|
+
raise ValueError(
|
|
643
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
644
|
+
)
|
|
645
|
+
|
|
646
|
+
if 'sort_by' in kwargs:
|
|
647
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
648
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
649
|
+
raise ValueError(
|
|
650
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
651
|
+
)
|
|
652
|
+
|
|
653
|
+
query_params = {
|
|
654
|
+
"displayName": kwargs.get("display_name", missing),
|
|
655
|
+
"limit": kwargs.get("limit", missing),
|
|
656
|
+
"page": kwargs.get("page", missing),
|
|
657
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
658
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
659
|
+
}
|
|
660
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
661
|
+
|
|
662
|
+
header_params = {
|
|
663
|
+
"accept": "application/json",
|
|
664
|
+
"content-type": "application/json",
|
|
665
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
666
|
+
}
|
|
667
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
668
|
+
|
|
669
|
+
retry_strategy = self.retry_strategy
|
|
670
|
+
if kwargs.get('retry_strategy'):
|
|
671
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
672
|
+
|
|
673
|
+
if retry_strategy:
|
|
674
|
+
return retry_strategy.make_retrying_call(
|
|
675
|
+
self.base_client.call_api,
|
|
676
|
+
resource_path=resource_path,
|
|
677
|
+
method=method,
|
|
678
|
+
path_params=path_params,
|
|
679
|
+
query_params=query_params,
|
|
680
|
+
header_params=header_params,
|
|
681
|
+
response_type="ClusterLibraryCollection")
|
|
682
|
+
else:
|
|
683
|
+
return self.base_client.call_api(
|
|
684
|
+
resource_path=resource_path,
|
|
685
|
+
method=method,
|
|
686
|
+
path_params=path_params,
|
|
687
|
+
query_params=query_params,
|
|
688
|
+
header_params=header_params,
|
|
689
|
+
response_type="ClusterLibraryCollection")
|
|
690
|
+
|
|
691
|
+
def list_cluster_permissions(self, ai_data_platform_id, workspace_key, cluster_key, **kwargs):
|
|
692
|
+
"""
|
|
693
|
+
Return a list of permissions for a given cluster.
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
:param str ai_data_platform_id: (required)
|
|
697
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
698
|
+
|
|
699
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
700
|
+
|
|
701
|
+
:param str workspace_key: (required)
|
|
702
|
+
The key of the Workspace
|
|
703
|
+
|
|
704
|
+
:param str cluster_key: (required)
|
|
705
|
+
Cluster key.
|
|
706
|
+
|
|
707
|
+
:param str display_name: (optional)
|
|
708
|
+
A filter to return only resources that match the given display name exactly.
|
|
709
|
+
|
|
710
|
+
:param int limit: (optional)
|
|
711
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
712
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
713
|
+
`List Pagination`__.
|
|
714
|
+
|
|
715
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
716
|
+
|
|
717
|
+
:param str page: (optional)
|
|
718
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
719
|
+
\"List\" call. For important details about how pagination works, see
|
|
720
|
+
`List Pagination`__.
|
|
721
|
+
|
|
722
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
723
|
+
|
|
724
|
+
:param str sort_order: (optional)
|
|
725
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
726
|
+
|
|
727
|
+
Allowed values are: "ASC", "DESC"
|
|
728
|
+
|
|
729
|
+
:param str sort_by: (optional)
|
|
730
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
731
|
+
|
|
732
|
+
Allowed values are: "timeCreated", "displayName"
|
|
733
|
+
|
|
734
|
+
:param str opc_request_id: (optional)
|
|
735
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
736
|
+
Oracle about a particular request, please provide the request ID.
|
|
737
|
+
The only valid characters for request IDs are letters, numbers,
|
|
738
|
+
underscore, and dash.
|
|
739
|
+
|
|
740
|
+
:param obj retry_strategy: (optional)
|
|
741
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
742
|
+
|
|
743
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
744
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
745
|
+
|
|
746
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
747
|
+
|
|
748
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ClusterPermissionCollection`
|
|
749
|
+
:rtype: :class:`~oci.response.Response`
|
|
750
|
+
"""
|
|
751
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/permissions"
|
|
752
|
+
method = "GET"
|
|
753
|
+
|
|
754
|
+
# Don't accept unknown kwargs
|
|
755
|
+
expected_kwargs = [
|
|
756
|
+
"retry_strategy",
|
|
757
|
+
"display_name",
|
|
758
|
+
"limit",
|
|
759
|
+
"page",
|
|
760
|
+
"sort_order",
|
|
761
|
+
"sort_by",
|
|
762
|
+
"opc_request_id"
|
|
763
|
+
]
|
|
764
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
765
|
+
if extra_kwargs:
|
|
766
|
+
raise ValueError(
|
|
767
|
+
"list_cluster_permissions got unknown kwargs: {!r}".format(extra_kwargs))
|
|
768
|
+
|
|
769
|
+
path_params = {
|
|
770
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
771
|
+
"workspaceKey": workspace_key,
|
|
772
|
+
"clusterKey": cluster_key
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
776
|
+
|
|
777
|
+
for (k, v) in six.iteritems(path_params):
|
|
778
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
779
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
780
|
+
|
|
781
|
+
if 'sort_order' in kwargs:
|
|
782
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
783
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
784
|
+
raise ValueError(
|
|
785
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
786
|
+
)
|
|
787
|
+
|
|
788
|
+
if 'sort_by' in kwargs:
|
|
789
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
790
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
791
|
+
raise ValueError(
|
|
792
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
793
|
+
)
|
|
794
|
+
|
|
795
|
+
query_params = {
|
|
796
|
+
"displayName": kwargs.get("display_name", missing),
|
|
797
|
+
"limit": kwargs.get("limit", missing),
|
|
798
|
+
"page": kwargs.get("page", missing),
|
|
799
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
800
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
801
|
+
}
|
|
802
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
803
|
+
|
|
804
|
+
header_params = {
|
|
805
|
+
"accept": "application/json",
|
|
806
|
+
"content-type": "application/json",
|
|
807
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
808
|
+
}
|
|
809
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
810
|
+
|
|
811
|
+
retry_strategy = self.retry_strategy
|
|
812
|
+
if kwargs.get('retry_strategy'):
|
|
813
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
814
|
+
|
|
815
|
+
if retry_strategy:
|
|
816
|
+
return retry_strategy.make_retrying_call(
|
|
817
|
+
self.base_client.call_api,
|
|
818
|
+
resource_path=resource_path,
|
|
819
|
+
method=method,
|
|
820
|
+
path_params=path_params,
|
|
821
|
+
query_params=query_params,
|
|
822
|
+
header_params=header_params,
|
|
823
|
+
response_type="ClusterPermissionCollection")
|
|
824
|
+
else:
|
|
825
|
+
return self.base_client.call_api(
|
|
826
|
+
resource_path=resource_path,
|
|
827
|
+
method=method,
|
|
828
|
+
path_params=path_params,
|
|
829
|
+
query_params=query_params,
|
|
830
|
+
header_params=header_params,
|
|
831
|
+
response_type="ClusterPermissionCollection")
|
|
832
|
+
|
|
833
|
+
def list_clusters(self, ai_data_platform_id, workspace_key, **kwargs):
|
|
834
|
+
"""
|
|
835
|
+
Returns a list of all clusters in a given workspace.
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
:param str ai_data_platform_id: (required)
|
|
839
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
840
|
+
|
|
841
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
842
|
+
|
|
843
|
+
:param str workspace_key: (required)
|
|
844
|
+
The key of the Workspace
|
|
845
|
+
|
|
846
|
+
:param str state: (optional)
|
|
847
|
+
A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
|
848
|
+
|
|
849
|
+
Allowed values are: "ACCEPTED", "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "STOPPING", "STOPPED", "UPDATING", "RESTARTING", "STARTING", "NETWORK_CONFIGURATION_ATTACH_IN_PROGRESS", "NETWORK_CONFIGURATION_ATTACH_SUCCESSFUL", "NETWORK_CONFIGURATION_ATTACH_FAILED", "NETWORK_CONFIGURATION_DETACH_IN_PROGRESS", "NETWORK_CONFIGURATION_DETACH_SUCCESSFUL", "NETWORK_CONFIGURATION_DETACH_FAILED"
|
|
850
|
+
|
|
851
|
+
:param str display_name: (optional)
|
|
852
|
+
A filter to return only resources that match the given display name exactly.
|
|
853
|
+
|
|
854
|
+
:param str display_name_contains: (optional)
|
|
855
|
+
A filter to return only resources that have a display name containing the text provided.
|
|
856
|
+
|
|
857
|
+
:param str type: (optional)
|
|
858
|
+
Cluster type. When the filter is not provided list shows all type of cluster - USER else it show only
|
|
859
|
+
cluster of type chosen. Only clusters of type USER are attachable to a workspace notebook.
|
|
860
|
+
|
|
861
|
+
:param int limit: (optional)
|
|
862
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
863
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
864
|
+
`List Pagination`__.
|
|
865
|
+
|
|
866
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
867
|
+
|
|
868
|
+
:param str page: (optional)
|
|
869
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
870
|
+
\"List\" call. For important details about how pagination works, see
|
|
871
|
+
`List Pagination`__.
|
|
872
|
+
|
|
873
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
874
|
+
|
|
875
|
+
:param str sort_order: (optional)
|
|
876
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
877
|
+
|
|
878
|
+
Allowed values are: "ASC", "DESC"
|
|
879
|
+
|
|
880
|
+
:param str sort_by: (optional)
|
|
881
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
882
|
+
|
|
883
|
+
Allowed values are: "timeCreated", "displayName"
|
|
884
|
+
|
|
885
|
+
:param str opc_request_id: (optional)
|
|
886
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
887
|
+
Oracle about a particular request, please provide the request ID.
|
|
888
|
+
The only valid characters for request IDs are letters, numbers,
|
|
889
|
+
underscore, and dash.
|
|
890
|
+
|
|
891
|
+
:param obj retry_strategy: (optional)
|
|
892
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
893
|
+
|
|
894
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
895
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
896
|
+
|
|
897
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
898
|
+
|
|
899
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ClusterCollection`
|
|
900
|
+
:rtype: :class:`~oci.response.Response`
|
|
901
|
+
"""
|
|
902
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters"
|
|
903
|
+
method = "GET"
|
|
904
|
+
|
|
905
|
+
# Don't accept unknown kwargs
|
|
906
|
+
expected_kwargs = [
|
|
907
|
+
"retry_strategy",
|
|
908
|
+
"state",
|
|
909
|
+
"display_name",
|
|
910
|
+
"display_name_contains",
|
|
911
|
+
"type",
|
|
912
|
+
"limit",
|
|
913
|
+
"page",
|
|
914
|
+
"sort_order",
|
|
915
|
+
"sort_by",
|
|
916
|
+
"opc_request_id"
|
|
917
|
+
]
|
|
918
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
919
|
+
if extra_kwargs:
|
|
920
|
+
raise ValueError(
|
|
921
|
+
"list_clusters got unknown kwargs: {!r}".format(extra_kwargs))
|
|
922
|
+
|
|
923
|
+
path_params = {
|
|
924
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
925
|
+
"workspaceKey": workspace_key
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
929
|
+
|
|
930
|
+
for (k, v) in six.iteritems(path_params):
|
|
931
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
932
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
933
|
+
|
|
934
|
+
if 'state' in kwargs:
|
|
935
|
+
state_allowed_values = ["ACCEPTED", "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "STOPPING", "STOPPED", "UPDATING", "RESTARTING", "STARTING", "NETWORK_CONFIGURATION_ATTACH_IN_PROGRESS", "NETWORK_CONFIGURATION_ATTACH_SUCCESSFUL", "NETWORK_CONFIGURATION_ATTACH_FAILED", "NETWORK_CONFIGURATION_DETACH_IN_PROGRESS", "NETWORK_CONFIGURATION_DETACH_SUCCESSFUL", "NETWORK_CONFIGURATION_DETACH_FAILED"]
|
|
936
|
+
if kwargs['state'] not in state_allowed_values:
|
|
937
|
+
raise ValueError(
|
|
938
|
+
"Invalid value for `state`, must be one of {0}".format(state_allowed_values)
|
|
939
|
+
)
|
|
940
|
+
|
|
941
|
+
if 'sort_order' in kwargs:
|
|
942
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
943
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
944
|
+
raise ValueError(
|
|
945
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
946
|
+
)
|
|
947
|
+
|
|
948
|
+
if 'sort_by' in kwargs:
|
|
949
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
950
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
951
|
+
raise ValueError(
|
|
952
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
953
|
+
)
|
|
954
|
+
|
|
955
|
+
query_params = {
|
|
956
|
+
"state": kwargs.get("state", missing),
|
|
957
|
+
"displayName": kwargs.get("display_name", missing),
|
|
958
|
+
"displayNameContains": kwargs.get("display_name_contains", missing),
|
|
959
|
+
"type": kwargs.get("type", missing),
|
|
960
|
+
"limit": kwargs.get("limit", missing),
|
|
961
|
+
"page": kwargs.get("page", missing),
|
|
962
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
963
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
964
|
+
}
|
|
965
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
966
|
+
|
|
967
|
+
header_params = {
|
|
968
|
+
"accept": "application/json",
|
|
969
|
+
"content-type": "application/json",
|
|
970
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
971
|
+
}
|
|
972
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
973
|
+
|
|
974
|
+
retry_strategy = self.retry_strategy
|
|
975
|
+
if kwargs.get('retry_strategy'):
|
|
976
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
977
|
+
|
|
978
|
+
if retry_strategy:
|
|
979
|
+
return retry_strategy.make_retrying_call(
|
|
980
|
+
self.base_client.call_api,
|
|
981
|
+
resource_path=resource_path,
|
|
982
|
+
method=method,
|
|
983
|
+
path_params=path_params,
|
|
984
|
+
query_params=query_params,
|
|
985
|
+
header_params=header_params,
|
|
986
|
+
response_type="ClusterCollection")
|
|
987
|
+
else:
|
|
988
|
+
return self.base_client.call_api(
|
|
989
|
+
resource_path=resource_path,
|
|
990
|
+
method=method,
|
|
991
|
+
path_params=path_params,
|
|
992
|
+
query_params=query_params,
|
|
993
|
+
header_params=header_params,
|
|
994
|
+
response_type="ClusterCollection")
|
|
995
|
+
|
|
996
|
+
def manage_cluster_permission(self, ai_data_platform_id, workspace_key, cluster_key, manage_cluster_permission_details, **kwargs):
|
|
997
|
+
"""
|
|
998
|
+
Updates the permissions for a given cluster.
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
:param str ai_data_platform_id: (required)
|
|
1002
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1003
|
+
|
|
1004
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1005
|
+
|
|
1006
|
+
:param str workspace_key: (required)
|
|
1007
|
+
The key of the Workspace
|
|
1008
|
+
|
|
1009
|
+
:param str cluster_key: (required)
|
|
1010
|
+
Cluster key.
|
|
1011
|
+
|
|
1012
|
+
:param oci.aidataplatform_dp.models.ManageClusterPermissionDetails manage_cluster_permission_details: (required)
|
|
1013
|
+
The information to be updated.
|
|
1014
|
+
|
|
1015
|
+
:param str if_match: (optional)
|
|
1016
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1017
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1018
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1019
|
+
matches the resource's current etag value.
|
|
1020
|
+
|
|
1021
|
+
:param str opc_retry_token: (optional)
|
|
1022
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1023
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
1024
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
1025
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
1026
|
+
might be rejected.
|
|
1027
|
+
|
|
1028
|
+
:param str opc_request_id: (optional)
|
|
1029
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1030
|
+
Oracle about a particular request, please provide the request ID.
|
|
1031
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1032
|
+
underscore, and dash.
|
|
1033
|
+
|
|
1034
|
+
:param obj retry_strategy: (optional)
|
|
1035
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1036
|
+
|
|
1037
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1038
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
1039
|
+
|
|
1040
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1041
|
+
|
|
1042
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
1043
|
+
:rtype: :class:`~oci.response.Response`
|
|
1044
|
+
"""
|
|
1045
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/managePermission"
|
|
1046
|
+
method = "POST"
|
|
1047
|
+
|
|
1048
|
+
# Don't accept unknown kwargs
|
|
1049
|
+
expected_kwargs = [
|
|
1050
|
+
"retry_strategy",
|
|
1051
|
+
"if_match",
|
|
1052
|
+
"opc_retry_token",
|
|
1053
|
+
"opc_request_id"
|
|
1054
|
+
]
|
|
1055
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1056
|
+
if extra_kwargs:
|
|
1057
|
+
raise ValueError(
|
|
1058
|
+
"manage_cluster_permission got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1059
|
+
|
|
1060
|
+
path_params = {
|
|
1061
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1062
|
+
"workspaceKey": workspace_key,
|
|
1063
|
+
"clusterKey": cluster_key
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1067
|
+
|
|
1068
|
+
for (k, v) in six.iteritems(path_params):
|
|
1069
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1070
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1071
|
+
|
|
1072
|
+
header_params = {
|
|
1073
|
+
"accept": "application/json",
|
|
1074
|
+
"content-type": "application/json",
|
|
1075
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1076
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
1077
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1078
|
+
}
|
|
1079
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1080
|
+
|
|
1081
|
+
retry_strategy = self.retry_strategy
|
|
1082
|
+
if kwargs.get('retry_strategy'):
|
|
1083
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1084
|
+
|
|
1085
|
+
if retry_strategy:
|
|
1086
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
1087
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
1088
|
+
return retry_strategy.make_retrying_call(
|
|
1089
|
+
self.base_client.call_api,
|
|
1090
|
+
resource_path=resource_path,
|
|
1091
|
+
method=method,
|
|
1092
|
+
path_params=path_params,
|
|
1093
|
+
header_params=header_params,
|
|
1094
|
+
body=manage_cluster_permission_details)
|
|
1095
|
+
else:
|
|
1096
|
+
return self.base_client.call_api(
|
|
1097
|
+
resource_path=resource_path,
|
|
1098
|
+
method=method,
|
|
1099
|
+
path_params=path_params,
|
|
1100
|
+
header_params=header_params,
|
|
1101
|
+
body=manage_cluster_permission_details)
|
|
1102
|
+
|
|
1103
|
+
def patch_cluster_library(self, ai_data_platform_id, workspace_key, cluster_key, patch_cluster_library_details, **kwargs):
|
|
1104
|
+
"""
|
|
1105
|
+
Updates libraries of a cluster with the provided patches.
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
:param str ai_data_platform_id: (required)
|
|
1109
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1110
|
+
|
|
1111
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1112
|
+
|
|
1113
|
+
:param str workspace_key: (required)
|
|
1114
|
+
The key of the Workspace
|
|
1115
|
+
|
|
1116
|
+
:param str cluster_key: (required)
|
|
1117
|
+
Cluster key.
|
|
1118
|
+
|
|
1119
|
+
:param oci.aidataplatform_dp.models.PatchClusterLibraryDetails patch_cluster_library_details: (required)
|
|
1120
|
+
The information to be updated.
|
|
1121
|
+
|
|
1122
|
+
:param str if_match: (optional)
|
|
1123
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1124
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1125
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1126
|
+
matches the resource's current etag value.
|
|
1127
|
+
|
|
1128
|
+
:param str opc_request_id: (optional)
|
|
1129
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1130
|
+
Oracle about a particular request, please provide the request ID.
|
|
1131
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1132
|
+
underscore, and dash.
|
|
1133
|
+
|
|
1134
|
+
:param obj retry_strategy: (optional)
|
|
1135
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1136
|
+
|
|
1137
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1138
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
1139
|
+
|
|
1140
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1141
|
+
|
|
1142
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ClusterLibraryCollection`
|
|
1143
|
+
:rtype: :class:`~oci.response.Response`
|
|
1144
|
+
"""
|
|
1145
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/libraries"
|
|
1146
|
+
method = "PATCH"
|
|
1147
|
+
|
|
1148
|
+
# Don't accept unknown kwargs
|
|
1149
|
+
expected_kwargs = [
|
|
1150
|
+
"retry_strategy",
|
|
1151
|
+
"if_match",
|
|
1152
|
+
"opc_request_id"
|
|
1153
|
+
]
|
|
1154
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1155
|
+
if extra_kwargs:
|
|
1156
|
+
raise ValueError(
|
|
1157
|
+
"patch_cluster_library got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1158
|
+
|
|
1159
|
+
path_params = {
|
|
1160
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1161
|
+
"workspaceKey": workspace_key,
|
|
1162
|
+
"clusterKey": cluster_key
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1166
|
+
|
|
1167
|
+
for (k, v) in six.iteritems(path_params):
|
|
1168
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1169
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1170
|
+
|
|
1171
|
+
header_params = {
|
|
1172
|
+
"accept": "application/json",
|
|
1173
|
+
"content-type": "application/json",
|
|
1174
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1175
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1176
|
+
}
|
|
1177
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1178
|
+
|
|
1179
|
+
retry_strategy = self.retry_strategy
|
|
1180
|
+
if kwargs.get('retry_strategy'):
|
|
1181
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1182
|
+
|
|
1183
|
+
if retry_strategy:
|
|
1184
|
+
return retry_strategy.make_retrying_call(
|
|
1185
|
+
self.base_client.call_api,
|
|
1186
|
+
resource_path=resource_path,
|
|
1187
|
+
method=method,
|
|
1188
|
+
path_params=path_params,
|
|
1189
|
+
header_params=header_params,
|
|
1190
|
+
body=patch_cluster_library_details,
|
|
1191
|
+
response_type="ClusterLibraryCollection")
|
|
1192
|
+
else:
|
|
1193
|
+
return self.base_client.call_api(
|
|
1194
|
+
resource_path=resource_path,
|
|
1195
|
+
method=method,
|
|
1196
|
+
path_params=path_params,
|
|
1197
|
+
header_params=header_params,
|
|
1198
|
+
body=patch_cluster_library_details,
|
|
1199
|
+
response_type="ClusterLibraryCollection")
|
|
1200
|
+
|
|
1201
|
+
def restart_cluster(self, ai_data_platform_id, workspace_key, cluster_key, restart_cluster_details, **kwargs):
|
|
1202
|
+
"""
|
|
1203
|
+
Restarts a running cluster.
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
:param str ai_data_platform_id: (required)
|
|
1207
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1208
|
+
|
|
1209
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1210
|
+
|
|
1211
|
+
:param str workspace_key: (required)
|
|
1212
|
+
The key of the Workspace
|
|
1213
|
+
|
|
1214
|
+
:param str cluster_key: (required)
|
|
1215
|
+
Cluster key.
|
|
1216
|
+
|
|
1217
|
+
:param oci.aidataplatform_dp.models.RestartClusterDetails restart_cluster_details: (required)
|
|
1218
|
+
Details for restarting the cluster.
|
|
1219
|
+
|
|
1220
|
+
:param str if_match: (optional)
|
|
1221
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1222
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1223
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1224
|
+
matches the resource's current etag value.
|
|
1225
|
+
|
|
1226
|
+
:param str opc_retry_token: (optional)
|
|
1227
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1228
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
1229
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
1230
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
1231
|
+
might be rejected.
|
|
1232
|
+
|
|
1233
|
+
:param str opc_request_id: (optional)
|
|
1234
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1235
|
+
Oracle about a particular request, please provide the request ID.
|
|
1236
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1237
|
+
underscore, and dash.
|
|
1238
|
+
|
|
1239
|
+
:param obj retry_strategy: (optional)
|
|
1240
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1241
|
+
|
|
1242
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1243
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
1244
|
+
|
|
1245
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1246
|
+
|
|
1247
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Cluster`
|
|
1248
|
+
:rtype: :class:`~oci.response.Response`
|
|
1249
|
+
"""
|
|
1250
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/restart"
|
|
1251
|
+
method = "POST"
|
|
1252
|
+
|
|
1253
|
+
# Don't accept unknown kwargs
|
|
1254
|
+
expected_kwargs = [
|
|
1255
|
+
"retry_strategy",
|
|
1256
|
+
"if_match",
|
|
1257
|
+
"opc_retry_token",
|
|
1258
|
+
"opc_request_id"
|
|
1259
|
+
]
|
|
1260
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1261
|
+
if extra_kwargs:
|
|
1262
|
+
raise ValueError(
|
|
1263
|
+
"restart_cluster got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1264
|
+
|
|
1265
|
+
path_params = {
|
|
1266
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1267
|
+
"workspaceKey": workspace_key,
|
|
1268
|
+
"clusterKey": cluster_key
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1272
|
+
|
|
1273
|
+
for (k, v) in six.iteritems(path_params):
|
|
1274
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1275
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1276
|
+
|
|
1277
|
+
header_params = {
|
|
1278
|
+
"accept": "application/json",
|
|
1279
|
+
"content-type": "application/json",
|
|
1280
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1281
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
1282
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1283
|
+
}
|
|
1284
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1285
|
+
|
|
1286
|
+
retry_strategy = self.retry_strategy
|
|
1287
|
+
if kwargs.get('retry_strategy'):
|
|
1288
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1289
|
+
|
|
1290
|
+
if retry_strategy:
|
|
1291
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
1292
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
1293
|
+
return retry_strategy.make_retrying_call(
|
|
1294
|
+
self.base_client.call_api,
|
|
1295
|
+
resource_path=resource_path,
|
|
1296
|
+
method=method,
|
|
1297
|
+
path_params=path_params,
|
|
1298
|
+
header_params=header_params,
|
|
1299
|
+
body=restart_cluster_details,
|
|
1300
|
+
response_type="Cluster")
|
|
1301
|
+
else:
|
|
1302
|
+
return self.base_client.call_api(
|
|
1303
|
+
resource_path=resource_path,
|
|
1304
|
+
method=method,
|
|
1305
|
+
path_params=path_params,
|
|
1306
|
+
header_params=header_params,
|
|
1307
|
+
body=restart_cluster_details,
|
|
1308
|
+
response_type="Cluster")
|
|
1309
|
+
|
|
1310
|
+
def search_cluster_logs(self, ai_data_platform_id, workspace_key, cluster_key, search_cluster_logs_details, **kwargs):
|
|
1311
|
+
"""
|
|
1312
|
+
Searches logs within the specified cluster and time range. Supports pagination and filtering.
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
:param str ai_data_platform_id: (required)
|
|
1316
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1317
|
+
|
|
1318
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1319
|
+
|
|
1320
|
+
:param str workspace_key: (required)
|
|
1321
|
+
The key of the Workspace
|
|
1322
|
+
|
|
1323
|
+
:param str cluster_key: (required)
|
|
1324
|
+
Cluster key.
|
|
1325
|
+
|
|
1326
|
+
:param oci.aidataplatform_dp.models.SearchClusterLogsDetails search_cluster_logs_details: (required)
|
|
1327
|
+
Request body containing the search parameters for cluster logs.
|
|
1328
|
+
|
|
1329
|
+
:param str opc_request_id: (optional)
|
|
1330
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1331
|
+
Oracle about a particular request, please provide the request ID.
|
|
1332
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1333
|
+
underscore, and dash.
|
|
1334
|
+
|
|
1335
|
+
:param int limit: (optional)
|
|
1336
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
1337
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
1338
|
+
`List Pagination`__.
|
|
1339
|
+
|
|
1340
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1341
|
+
|
|
1342
|
+
:param str page: (optional)
|
|
1343
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
1344
|
+
\"List\" call. For important details about how pagination works, see
|
|
1345
|
+
`List Pagination`__.
|
|
1346
|
+
|
|
1347
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1348
|
+
|
|
1349
|
+
:param str opc_retry_token: (optional)
|
|
1350
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1351
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
1352
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
1353
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
1354
|
+
might be rejected.
|
|
1355
|
+
|
|
1356
|
+
:param str if_match: (optional)
|
|
1357
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1358
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1359
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1360
|
+
matches the resource's current etag value.
|
|
1361
|
+
|
|
1362
|
+
:param obj retry_strategy: (optional)
|
|
1363
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1364
|
+
|
|
1365
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1366
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
1367
|
+
|
|
1368
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1369
|
+
|
|
1370
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ClusterLogCollection`
|
|
1371
|
+
:rtype: :class:`~oci.response.Response`
|
|
1372
|
+
"""
|
|
1373
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/searchLogs"
|
|
1374
|
+
method = "POST"
|
|
1375
|
+
|
|
1376
|
+
# Don't accept unknown kwargs
|
|
1377
|
+
expected_kwargs = [
|
|
1378
|
+
"retry_strategy",
|
|
1379
|
+
"opc_request_id",
|
|
1380
|
+
"limit",
|
|
1381
|
+
"page",
|
|
1382
|
+
"opc_retry_token",
|
|
1383
|
+
"if_match"
|
|
1384
|
+
]
|
|
1385
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1386
|
+
if extra_kwargs:
|
|
1387
|
+
raise ValueError(
|
|
1388
|
+
"search_cluster_logs got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1389
|
+
|
|
1390
|
+
path_params = {
|
|
1391
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1392
|
+
"workspaceKey": workspace_key,
|
|
1393
|
+
"clusterKey": cluster_key
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1397
|
+
|
|
1398
|
+
for (k, v) in six.iteritems(path_params):
|
|
1399
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1400
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1401
|
+
|
|
1402
|
+
query_params = {
|
|
1403
|
+
"limit": kwargs.get("limit", missing),
|
|
1404
|
+
"page": kwargs.get("page", missing)
|
|
1405
|
+
}
|
|
1406
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
1407
|
+
|
|
1408
|
+
header_params = {
|
|
1409
|
+
"accept": "application/json",
|
|
1410
|
+
"content-type": "application/json",
|
|
1411
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
1412
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
1413
|
+
"if-match": kwargs.get("if_match", missing)
|
|
1414
|
+
}
|
|
1415
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1416
|
+
|
|
1417
|
+
retry_strategy = self.retry_strategy
|
|
1418
|
+
if kwargs.get('retry_strategy'):
|
|
1419
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1420
|
+
|
|
1421
|
+
if retry_strategy:
|
|
1422
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
1423
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
1424
|
+
return retry_strategy.make_retrying_call(
|
|
1425
|
+
self.base_client.call_api,
|
|
1426
|
+
resource_path=resource_path,
|
|
1427
|
+
method=method,
|
|
1428
|
+
path_params=path_params,
|
|
1429
|
+
query_params=query_params,
|
|
1430
|
+
header_params=header_params,
|
|
1431
|
+
body=search_cluster_logs_details,
|
|
1432
|
+
response_type="ClusterLogCollection")
|
|
1433
|
+
else:
|
|
1434
|
+
return self.base_client.call_api(
|
|
1435
|
+
resource_path=resource_path,
|
|
1436
|
+
method=method,
|
|
1437
|
+
path_params=path_params,
|
|
1438
|
+
query_params=query_params,
|
|
1439
|
+
header_params=header_params,
|
|
1440
|
+
body=search_cluster_logs_details,
|
|
1441
|
+
response_type="ClusterLogCollection")
|
|
1442
|
+
|
|
1443
|
+
def start_cluster(self, ai_data_platform_id, workspace_key, cluster_key, start_cluster_details, **kwargs):
|
|
1444
|
+
"""
|
|
1445
|
+
Starts a cluster that has halted operation.
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
:param str ai_data_platform_id: (required)
|
|
1449
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1450
|
+
|
|
1451
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1452
|
+
|
|
1453
|
+
:param str workspace_key: (required)
|
|
1454
|
+
The key of the Workspace
|
|
1455
|
+
|
|
1456
|
+
:param str cluster_key: (required)
|
|
1457
|
+
Cluster key.
|
|
1458
|
+
|
|
1459
|
+
:param oci.aidataplatform_dp.models.StartClusterDetails start_cluster_details: (required)
|
|
1460
|
+
Details of the cluster being started.
|
|
1461
|
+
|
|
1462
|
+
:param str if_match: (optional)
|
|
1463
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1464
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1465
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1466
|
+
matches the resource's current etag value.
|
|
1467
|
+
|
|
1468
|
+
:param str opc_retry_token: (optional)
|
|
1469
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1470
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
1471
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
1472
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
1473
|
+
might be rejected.
|
|
1474
|
+
|
|
1475
|
+
:param str opc_request_id: (optional)
|
|
1476
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1477
|
+
Oracle about a particular request, please provide the request ID.
|
|
1478
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1479
|
+
underscore, and dash.
|
|
1480
|
+
|
|
1481
|
+
:param obj retry_strategy: (optional)
|
|
1482
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1483
|
+
|
|
1484
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1485
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
1486
|
+
|
|
1487
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1488
|
+
|
|
1489
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Cluster`
|
|
1490
|
+
:rtype: :class:`~oci.response.Response`
|
|
1491
|
+
"""
|
|
1492
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/start"
|
|
1493
|
+
method = "POST"
|
|
1494
|
+
|
|
1495
|
+
# Don't accept unknown kwargs
|
|
1496
|
+
expected_kwargs = [
|
|
1497
|
+
"retry_strategy",
|
|
1498
|
+
"if_match",
|
|
1499
|
+
"opc_retry_token",
|
|
1500
|
+
"opc_request_id"
|
|
1501
|
+
]
|
|
1502
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1503
|
+
if extra_kwargs:
|
|
1504
|
+
raise ValueError(
|
|
1505
|
+
"start_cluster got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1506
|
+
|
|
1507
|
+
path_params = {
|
|
1508
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1509
|
+
"workspaceKey": workspace_key,
|
|
1510
|
+
"clusterKey": cluster_key
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1514
|
+
|
|
1515
|
+
for (k, v) in six.iteritems(path_params):
|
|
1516
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1517
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1518
|
+
|
|
1519
|
+
header_params = {
|
|
1520
|
+
"accept": "application/json",
|
|
1521
|
+
"content-type": "application/json",
|
|
1522
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1523
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
1524
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1525
|
+
}
|
|
1526
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1527
|
+
|
|
1528
|
+
retry_strategy = self.retry_strategy
|
|
1529
|
+
if kwargs.get('retry_strategy'):
|
|
1530
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1531
|
+
|
|
1532
|
+
if retry_strategy:
|
|
1533
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
1534
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
1535
|
+
return retry_strategy.make_retrying_call(
|
|
1536
|
+
self.base_client.call_api,
|
|
1537
|
+
resource_path=resource_path,
|
|
1538
|
+
method=method,
|
|
1539
|
+
path_params=path_params,
|
|
1540
|
+
header_params=header_params,
|
|
1541
|
+
body=start_cluster_details,
|
|
1542
|
+
response_type="Cluster")
|
|
1543
|
+
else:
|
|
1544
|
+
return self.base_client.call_api(
|
|
1545
|
+
resource_path=resource_path,
|
|
1546
|
+
method=method,
|
|
1547
|
+
path_params=path_params,
|
|
1548
|
+
header_params=header_params,
|
|
1549
|
+
body=start_cluster_details,
|
|
1550
|
+
response_type="Cluster")
|
|
1551
|
+
|
|
1552
|
+
def stop_cluster(self, ai_data_platform_id, workspace_key, cluster_key, stop_cluster_details, **kwargs):
|
|
1553
|
+
"""
|
|
1554
|
+
Stops an active cluster.
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
:param str ai_data_platform_id: (required)
|
|
1558
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1559
|
+
|
|
1560
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1561
|
+
|
|
1562
|
+
:param str workspace_key: (required)
|
|
1563
|
+
The key of the Workspace
|
|
1564
|
+
|
|
1565
|
+
:param str cluster_key: (required)
|
|
1566
|
+
Cluster key.
|
|
1567
|
+
|
|
1568
|
+
:param oci.aidataplatform_dp.models.StopClusterDetails stop_cluster_details: (required)
|
|
1569
|
+
Details for stopping the cluster.
|
|
1570
|
+
|
|
1571
|
+
:param str if_match: (optional)
|
|
1572
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1573
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1574
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1575
|
+
matches the resource's current etag value.
|
|
1576
|
+
|
|
1577
|
+
:param str opc_retry_token: (optional)
|
|
1578
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1579
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
1580
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
1581
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
1582
|
+
might be rejected.
|
|
1583
|
+
|
|
1584
|
+
:param str opc_request_id: (optional)
|
|
1585
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1586
|
+
Oracle about a particular request, please provide the request ID.
|
|
1587
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1588
|
+
underscore, and dash.
|
|
1589
|
+
|
|
1590
|
+
:param obj retry_strategy: (optional)
|
|
1591
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1592
|
+
|
|
1593
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1594
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
1595
|
+
|
|
1596
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1597
|
+
|
|
1598
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Cluster`
|
|
1599
|
+
:rtype: :class:`~oci.response.Response`
|
|
1600
|
+
"""
|
|
1601
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/stop"
|
|
1602
|
+
method = "POST"
|
|
1603
|
+
|
|
1604
|
+
# Don't accept unknown kwargs
|
|
1605
|
+
expected_kwargs = [
|
|
1606
|
+
"retry_strategy",
|
|
1607
|
+
"if_match",
|
|
1608
|
+
"opc_retry_token",
|
|
1609
|
+
"opc_request_id"
|
|
1610
|
+
]
|
|
1611
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1612
|
+
if extra_kwargs:
|
|
1613
|
+
raise ValueError(
|
|
1614
|
+
"stop_cluster got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1615
|
+
|
|
1616
|
+
path_params = {
|
|
1617
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1618
|
+
"workspaceKey": workspace_key,
|
|
1619
|
+
"clusterKey": cluster_key
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1623
|
+
|
|
1624
|
+
for (k, v) in six.iteritems(path_params):
|
|
1625
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1626
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1627
|
+
|
|
1628
|
+
header_params = {
|
|
1629
|
+
"accept": "application/json",
|
|
1630
|
+
"content-type": "application/json",
|
|
1631
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1632
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
1633
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1634
|
+
}
|
|
1635
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1636
|
+
|
|
1637
|
+
retry_strategy = self.retry_strategy
|
|
1638
|
+
if kwargs.get('retry_strategy'):
|
|
1639
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1640
|
+
|
|
1641
|
+
if retry_strategy:
|
|
1642
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
1643
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
1644
|
+
return retry_strategy.make_retrying_call(
|
|
1645
|
+
self.base_client.call_api,
|
|
1646
|
+
resource_path=resource_path,
|
|
1647
|
+
method=method,
|
|
1648
|
+
path_params=path_params,
|
|
1649
|
+
header_params=header_params,
|
|
1650
|
+
body=stop_cluster_details,
|
|
1651
|
+
response_type="Cluster")
|
|
1652
|
+
else:
|
|
1653
|
+
return self.base_client.call_api(
|
|
1654
|
+
resource_path=resource_path,
|
|
1655
|
+
method=method,
|
|
1656
|
+
path_params=path_params,
|
|
1657
|
+
header_params=header_params,
|
|
1658
|
+
body=stop_cluster_details,
|
|
1659
|
+
response_type="Cluster")
|
|
1660
|
+
|
|
1661
|
+
def summarize_metrics_data(self, ai_data_platform_id, workspace_key, cluster_key, summarize_metrics_data_details, **kwargs):
|
|
1662
|
+
"""
|
|
1663
|
+
Provides summarized compute metrics for a compute cluster in the given workspace.
|
|
1664
|
+
This API aggregates metric data points based on a specified namespace, metric name,
|
|
1665
|
+
and aggregation type. The response contains computed metric summaries.
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
:param str ai_data_platform_id: (required)
|
|
1669
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1670
|
+
|
|
1671
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1672
|
+
|
|
1673
|
+
:param str workspace_key: (required)
|
|
1674
|
+
The key of the Workspace
|
|
1675
|
+
|
|
1676
|
+
:param str cluster_key: (required)
|
|
1677
|
+
Cluster key.
|
|
1678
|
+
|
|
1679
|
+
:param oci.aidataplatform_dp.models.SummarizeMetricsDataDetails summarize_metrics_data_details: (required)
|
|
1680
|
+
Request body containing metric parameters.
|
|
1681
|
+
|
|
1682
|
+
:param str opc_request_id: (optional)
|
|
1683
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1684
|
+
Oracle about a particular request, please provide the request ID.
|
|
1685
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1686
|
+
underscore, and dash.
|
|
1687
|
+
|
|
1688
|
+
:param str opc_retry_token: (optional)
|
|
1689
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1690
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
1691
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
1692
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
1693
|
+
might be rejected.
|
|
1694
|
+
|
|
1695
|
+
:param str if_match: (optional)
|
|
1696
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1697
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1698
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1699
|
+
matches the resource's current etag value.
|
|
1700
|
+
|
|
1701
|
+
:param obj retry_strategy: (optional)
|
|
1702
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1703
|
+
|
|
1704
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1705
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
1706
|
+
|
|
1707
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1708
|
+
|
|
1709
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.SummarizeMetricsResponse`
|
|
1710
|
+
:rtype: :class:`~oci.response.Response`
|
|
1711
|
+
"""
|
|
1712
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/summarizeMetricsData"
|
|
1713
|
+
method = "POST"
|
|
1714
|
+
|
|
1715
|
+
# Don't accept unknown kwargs
|
|
1716
|
+
expected_kwargs = [
|
|
1717
|
+
"retry_strategy",
|
|
1718
|
+
"opc_request_id",
|
|
1719
|
+
"opc_retry_token",
|
|
1720
|
+
"if_match"
|
|
1721
|
+
]
|
|
1722
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1723
|
+
if extra_kwargs:
|
|
1724
|
+
raise ValueError(
|
|
1725
|
+
"summarize_metrics_data got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1726
|
+
|
|
1727
|
+
path_params = {
|
|
1728
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1729
|
+
"workspaceKey": workspace_key,
|
|
1730
|
+
"clusterKey": cluster_key
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1734
|
+
|
|
1735
|
+
for (k, v) in six.iteritems(path_params):
|
|
1736
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1737
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1738
|
+
|
|
1739
|
+
header_params = {
|
|
1740
|
+
"accept": "application/json",
|
|
1741
|
+
"content-type": "application/json",
|
|
1742
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
1743
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
1744
|
+
"if-match": kwargs.get("if_match", missing)
|
|
1745
|
+
}
|
|
1746
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1747
|
+
|
|
1748
|
+
retry_strategy = self.retry_strategy
|
|
1749
|
+
if kwargs.get('retry_strategy'):
|
|
1750
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1751
|
+
|
|
1752
|
+
if retry_strategy:
|
|
1753
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
1754
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
1755
|
+
return retry_strategy.make_retrying_call(
|
|
1756
|
+
self.base_client.call_api,
|
|
1757
|
+
resource_path=resource_path,
|
|
1758
|
+
method=method,
|
|
1759
|
+
path_params=path_params,
|
|
1760
|
+
header_params=header_params,
|
|
1761
|
+
body=summarize_metrics_data_details,
|
|
1762
|
+
response_type="SummarizeMetricsResponse")
|
|
1763
|
+
else:
|
|
1764
|
+
return self.base_client.call_api(
|
|
1765
|
+
resource_path=resource_path,
|
|
1766
|
+
method=method,
|
|
1767
|
+
path_params=path_params,
|
|
1768
|
+
header_params=header_params,
|
|
1769
|
+
body=summarize_metrics_data_details,
|
|
1770
|
+
response_type="SummarizeMetricsResponse")
|
|
1771
|
+
|
|
1772
|
+
def update_cluster(self, ai_data_platform_id, workspace_key, cluster_key, update_cluster_details, **kwargs):
|
|
1773
|
+
"""
|
|
1774
|
+
Update the details of a given cluster.
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
:param str ai_data_platform_id: (required)
|
|
1778
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1779
|
+
|
|
1780
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1781
|
+
|
|
1782
|
+
:param str workspace_key: (required)
|
|
1783
|
+
The key of the Workspace
|
|
1784
|
+
|
|
1785
|
+
:param str cluster_key: (required)
|
|
1786
|
+
Cluster key.
|
|
1787
|
+
|
|
1788
|
+
:param oci.aidataplatform_dp.models.UpdateClusterDetails update_cluster_details: (required)
|
|
1789
|
+
The information to be updated.
|
|
1790
|
+
|
|
1791
|
+
:param str if_match: (optional)
|
|
1792
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1793
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1794
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1795
|
+
matches the resource's current etag value.
|
|
1796
|
+
|
|
1797
|
+
:param str opc_request_id: (optional)
|
|
1798
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1799
|
+
Oracle about a particular request, please provide the request ID.
|
|
1800
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1801
|
+
underscore, and dash.
|
|
1802
|
+
|
|
1803
|
+
:param bool should_update_recent: (optional)
|
|
1804
|
+
A flag to identify if the recent list should be updated.
|
|
1805
|
+
|
|
1806
|
+
:param obj retry_strategy: (optional)
|
|
1807
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1808
|
+
|
|
1809
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1810
|
+
is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
|
|
1811
|
+
|
|
1812
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1813
|
+
|
|
1814
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Cluster`
|
|
1815
|
+
:rtype: :class:`~oci.response.Response`
|
|
1816
|
+
"""
|
|
1817
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}"
|
|
1818
|
+
method = "PUT"
|
|
1819
|
+
|
|
1820
|
+
# Don't accept unknown kwargs
|
|
1821
|
+
expected_kwargs = [
|
|
1822
|
+
"retry_strategy",
|
|
1823
|
+
"if_match",
|
|
1824
|
+
"opc_request_id",
|
|
1825
|
+
"should_update_recent"
|
|
1826
|
+
]
|
|
1827
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1828
|
+
if extra_kwargs:
|
|
1829
|
+
raise ValueError(
|
|
1830
|
+
"update_cluster got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1831
|
+
|
|
1832
|
+
path_params = {
|
|
1833
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1834
|
+
"workspaceKey": workspace_key,
|
|
1835
|
+
"clusterKey": cluster_key
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1839
|
+
|
|
1840
|
+
for (k, v) in six.iteritems(path_params):
|
|
1841
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1842
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1843
|
+
|
|
1844
|
+
header_params = {
|
|
1845
|
+
"accept": "application/json",
|
|
1846
|
+
"content-type": "application/json",
|
|
1847
|
+
"if-match": kwargs.get("if_match", missing),
|
|
1848
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
1849
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
1850
|
+
}
|
|
1851
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1852
|
+
|
|
1853
|
+
retry_strategy = self.retry_strategy
|
|
1854
|
+
if kwargs.get('retry_strategy'):
|
|
1855
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1856
|
+
|
|
1857
|
+
if retry_strategy:
|
|
1858
|
+
return retry_strategy.make_retrying_call(
|
|
1859
|
+
self.base_client.call_api,
|
|
1860
|
+
resource_path=resource_path,
|
|
1861
|
+
method=method,
|
|
1862
|
+
path_params=path_params,
|
|
1863
|
+
header_params=header_params,
|
|
1864
|
+
body=update_cluster_details,
|
|
1865
|
+
response_type="Cluster")
|
|
1866
|
+
else:
|
|
1867
|
+
return self.base_client.call_api(
|
|
1868
|
+
resource_path=resource_path,
|
|
1869
|
+
method=method,
|
|
1870
|
+
path_params=path_params,
|
|
1871
|
+
header_params=header_params,
|
|
1872
|
+
body=update_cluster_details,
|
|
1873
|
+
response_type="Cluster")
|