lightning-sdk 0.1.2__py3-none-any.whl → 0.1.46__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.
- lightning_sdk/__init__.py +12 -2
- lightning_sdk/agents.py +46 -0
- lightning_sdk/ai_hub.py +185 -0
- lightning_sdk/api/__init__.py +4 -0
- lightning_sdk/api/agents_api.py +107 -0
- lightning_sdk/api/ai_hub_api.py +130 -0
- lightning_sdk/api/deployment_api.py +574 -0
- lightning_sdk/api/job_api.py +308 -0
- lightning_sdk/api/mmt_api.py +188 -0
- lightning_sdk/api/org_api.py +1 -3
- lightning_sdk/api/studio_api.py +174 -83
- lightning_sdk/api/teamspace_api.py +219 -20
- lightning_sdk/api/user_api.py +24 -9
- lightning_sdk/api/utils.py +429 -47
- lightning_sdk/cli/ai_hub.py +49 -0
- lightning_sdk/cli/download.py +132 -0
- lightning_sdk/cli/entrypoint.py +11 -3
- lightning_sdk/cli/run.py +206 -0
- lightning_sdk/cli/serve.py +218 -0
- lightning_sdk/cli/studios_menu.py +78 -0
- lightning_sdk/cli/upload.py +79 -89
- lightning_sdk/constants.py +29 -1
- lightning_sdk/deployment/__init__.py +25 -0
- lightning_sdk/deployment/deployment.py +389 -0
- lightning_sdk/helpers.py +49 -0
- lightning_sdk/job/__init__.py +5 -0
- lightning_sdk/job/base.py +295 -0
- lightning_sdk/job/job.py +266 -0
- lightning_sdk/job/v1.py +241 -0
- lightning_sdk/job/v2.py +193 -0
- lightning_sdk/job/work.py +72 -0
- lightning_sdk/lightning_cloud/__version__.py +1 -1
- lightning_sdk/lightning_cloud/cli/__main__.py +15 -13
- lightning_sdk/lightning_cloud/env.py +1 -0
- lightning_sdk/lightning_cloud/login.py +12 -8
- lightning_sdk/lightning_cloud/openapi/__init__.py +314 -43
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +10 -0
- lightning_sdk/lightning_cloud/openapi/api/analytics_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +1075 -227
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +9 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +3115 -895
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +908 -141
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +10 -5
- lightning_sdk/lightning_cloud/openapi/api/deployment_templates_service_api.py +756 -0
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +1658 -159
- lightning_sdk/lightning_cloud/openapi/api/experiments_service_api.py +242 -0
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +674 -0
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +3823 -0
- lightning_sdk/lightning_cloud/openapi/api/lightningapp_instance_service_api.py +158 -590
- lightning_sdk/lightning_cloud/openapi/api/lightningapp_v2_service_api.py +0 -1086
- lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +113 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +1753 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +242 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +1423 -108
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +421 -1
- lightning_sdk/lightning_cloud/openapi/api/profiler_service_api.py +663 -0
- lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +478 -1
- lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +9 -5
- lightning_sdk/lightning_cloud/openapi/api/snowflake_service_api.py +686 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +1094 -0
- lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +1081 -34
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +304 -41
- lightning_sdk/lightning_cloud/openapi/models/affiliatelinks_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +643 -0
- lightning_sdk/lightning_cloud/openapi/models/app_id_works_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/approveautojoindomain_domain_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/apps_id_body1.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/{v1_get_cluster_health_response.py → captures_id_body.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versionpublications_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versionpublications_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versions_body.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_runs_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/cloudspaces_id_body.py +84 -6
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityreservations_body.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_proxies_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/clusters_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/create.py +157 -1
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/deploymenttemplates_id_body.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +43 -17
- lightning_sdk/lightning_cloud/openapi/models/experiment_name_variant_name_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +107 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_lightningapp_instance.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/fileendpoints_id_body.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -55
- lightning_sdk/lightning_cloud/openapi/models/id_complete_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_engage_body.py +3 -29
- lightning_sdk/lightning_cloud/openapi/models/id_engage_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_execute_body.py +3 -55
- lightning_sdk/lightning_cloud/openapi/models/id_execute_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_fork_body.py +31 -31
- lightning_sdk/lightning_cloud/openapi/models/id_fork_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_get_body.py +133 -3
- lightning_sdk/lightning_cloud/openapi/models/id_index_body.py +67 -15
- lightning_sdk/lightning_cloud/openapi/models/id_index_body2.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_index_body3.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_reportlogsactivity_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_start_body.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/id_storage_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_uploads_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/jobs_id_body1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/jobs_id_body2.py +17 -43
- lightning_sdk/lightning_cloud/openapi/models/jobs_id_body3.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/litloggermetrics_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/litpages_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/loggermetrics_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metrics_stream_id_loggerartifacts_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_cloud_space_id_list.py → metricsstream_delete_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_upload_model_response.py → model_id_versions_body.py} +25 -51
- lightning_sdk/lightning_cloud/openapi/models/model_id_visibility_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/multimachinejobs_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/org_id_memberships_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +183 -1
- lightning_sdk/lightning_cloud/openapi/models/profiler_captures_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/profiler_enabled_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_agentmanagedendpoints_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{project_id_assistants_body.py → project_id_agents_body.py} +181 -51
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +71 -19
- lightning_sdk/lightning_cloud/openapi/models/project_id_fileendpoints_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_jobs_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_litregistry_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_memberships_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_upload_model_request.py → project_id_models_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/project_id_multimachinejobs_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_secrets_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_serviceexecution_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_snowflake_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/query_query_id_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/secrets_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/servers_server_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/service_artifact_artifact_kind.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/serviceexecution_id_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/snowflake_export_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_download_model_response.py → snowflake_query_body.py} +51 -51
- lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/update.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/user_id_affiliatelinks_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_accelerator_quota_info.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ack_user_storage_violation_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_add_job_timing_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_affiliate_link.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_api_pricing_spec.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_app_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_append_logger_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_approve_auto_join_domain_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assign_variant_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +157 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_knowledge_item_status.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_knowledge_status.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_auto_join_domain_validation.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_auto_join_org_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_spec.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_target_metric.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +133 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_batch_update_lightningwork_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cancellation_metadata.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_snowflake_connection_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_checkbox.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +162 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_code_version.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_code_version_status.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_config.py +1 -53
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_startup_status.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_cluster_log_service.py → v1_cloud_space_session.py} +49 -49
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version.py +669 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version_publication.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +445 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_names.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_proxy.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_resource_tag.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +157 -107
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_state.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_status.py +17 -43
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_tagging_options.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +0 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_command_argument.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_model_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_multi_part_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload_service_execution_artifact_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_completed_part.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +26 -26
- lightning_sdk/lightning_cloud/openapi/models/v1_count_metrics_streams_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_template_request.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_part_upload_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +159 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_snowflake_connection_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_user_secret_request.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +365 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_cluster_performance_profile.py → v1_data_connection_state.py} +11 -9
- lightning_sdk/lightning_cloud/openapi/models/v1_data_path.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_affiliate_link_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_session_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_version_publication_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_version_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_proxy_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_release_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_azure_cluster_driver_status.py → v1_delete_deployment_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_index_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_byom_cluster_driver.py → v1_delete_job_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_lightningapp_v2_response.py → v1_delete_logger_artifact_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_managed_endpoint_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_metrics_stream_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_multi_machine_job_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_profiler_capture_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_service_execution_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_lightningapp_release_response.py → v1_delete_shared_metrics_stream_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_metrics.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_performance.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_release.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_spec.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/{appsv2_id_body.py → v1_deployment_strategy.py} +39 -39
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py +721 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_engagement_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_gallery_response.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_placement.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_summary.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/{instance_type_availability.py → v1_deployment_template_type.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{v1_get_lightningapp_source_code_download_url_response.py → v1_download_job_logs_response.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/v1_download_service_execution_artifact_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_efs_config.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +53 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_auth.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_execute_cloud_space_command_response.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_execute_in_cloud_space_session_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_execute_snowflake_query_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_experiment.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_export_snowflake_query_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_file_endpoint.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_instance_spec.py → v1_filesystem_app.py} +85 -59
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_cloud_space.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_dataset.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_job.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_slurm_job.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_snowflake_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_work.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_find_capacity_block_offering_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_gcp_data_connection.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_gcs_folder_data_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_affiliate_link_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_cluster_instance_types_response.py → v1_get_deployment_routing_telemetry_aggregated_response.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_folder_index_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_cluster_driver_status.py → v1_get_job_stats_response.py} +39 -39
- lightning_sdk/lightning_cloud/openapi/models/v1_get_job_system_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lightningapp_instance_open_ports_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_logger_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_file_upload_urls_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_file_url_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_response.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_url_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_lightningwork_cluster_driver.py → v1_get_project_artifact_response.py} +33 -14
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_service_execution_status_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_snowflake_query_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_balance_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +163 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1_status.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_header.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_external_kubeconfig.py → v1_health_check_exec.py} +21 -21
- lightning_sdk/lightning_cloud/openapi/models/v1_health_check_http_get.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ids_logger_metrics.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_input.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_interrupt_server_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +697 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_log_entry.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_page.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +669 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_knowledge_configuration.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +125 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_spec.py +105 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_status.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_spec.py +27 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_list_affiliate_links_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_python_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_sessions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_tags_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_version_publications_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_availabilities_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_proxies_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_releases_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_tags_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_templates_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployments_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_experiments_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_apps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_cloud_spaces_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_slurm_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_snowflake_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_lightningapps_v2_response.py → v1_list_jobs_response.py} +31 -31
- lightning_sdk/lightning_cloud/openapi/models/v1_list_joinable_organizations_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_logger_artifact_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_metrics_streams_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_multi_machine_job_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_multi_machine_jobs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_new_features_for_user_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_profiler_captures_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_locked_resources_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_published_cloud_spaces_response.py +3 -29
- lightning_sdk/lightning_cloud/openapi/models/v1_list_published_deployment_templates_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_service_execution_lightningapp_instances_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_service_executions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_page.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_locked_resource.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_logger_artifact.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machines_selector.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_endpoint.py +175 -19
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model_abilities.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_message.py +138 -8
- lightning_sdk/lightning_cloud/openapi/models/v1_message_content.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_message_content_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_metric_value.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tags.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tracker.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model.py +95 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_model_file.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model_version_archive.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_mount_target.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/{get_cluster_health_response_health_status.py → v1_multi_machine_job_event_type.py} +9 -9
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_fault_tolerance.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_fault_tolerance_strategy.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_status.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_named_get_logger_metrics.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_new_feature.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_onboarding_event_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_onboarding_event_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +209 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_parameterization_spec.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_path_telemetry.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_phase_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_profiler_capture.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_profiler_enabled_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +263 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_published_cloud_space_response.py +188 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_capacity_block_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_query_param.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_query_result.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_query_result_row.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_refresh_path_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_regional_load_balancer.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_logs_activity_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_request_cluster_access_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_request_cluster_access_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_cloud_space_tag.py → v1_resource_tag.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resources.py +37 -11
- lightning_sdk/lightning_cloud/openapi/models/v1_restore_deployment_release_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rolling_update_strategy.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_condition.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +11 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_s3_folder_data_connection.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_search_job_logs_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_search_users_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_secret.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/{v1_lightningapp_cluster_driver.py → v1_secret_type.py} +10 -9
- lightning_sdk/lightning_cloud/openapi/models/v1_select.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_check_in_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_update_cluster_response.py → v1_service_artifact.py} +54 -54
- lightning_sdk/lightning_cloud/openapi/models/v1_service_execution.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_should_start_syncing_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_signed_url.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_snowflake_data_connection.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_status_code_telemetry.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_studio_job_app.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_system_info.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_telemetry.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_timestamp_code_telemetry.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_user_balance_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_billing_subscription_request.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cluster_accelerators_request.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_index_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_metrics_stream_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_model_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_shared_metrics_stream_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_snowflake_query_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_viewed_new_features_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_viewed_new_features_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_service_execution_artifact_parts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_service_execution_artifact_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upstream_cloud_space.py +97 -19
- lightning_sdk/lightning_cloud/openapi/models/v1_upstream_job.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_details.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +1030 -302
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +45 -45
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py +29 -29
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_assistant_status_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_auto_join_domain_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_data_connection_response.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_request.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_model_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_vultr_direct_v1.py +125 -0
- lightning_sdk/lightning_cloud/openapi/models/validate.py +97 -19
- lightning_sdk/lightning_cloud/openapi/models/validateautojoindomain_domain_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/version_uploads_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/versions_id_body.py +357 -0
- lightning_sdk/lightning_cloud/rest_client.py +49 -23
- lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +1 -1
- lightning_sdk/lightning_cloud/source_code/tar.py +1 -3
- lightning_sdk/lightning_cloud/utils/data_connection.py +145 -7
- lightning_sdk/machine.py +17 -4
- lightning_sdk/mmt/__init__.py +4 -0
- lightning_sdk/mmt/base.py +288 -0
- lightning_sdk/mmt/mmt.py +282 -0
- lightning_sdk/mmt/v1.py +185 -0
- lightning_sdk/mmt/v2.py +193 -0
- lightning_sdk/models.py +153 -0
- lightning_sdk/organization.py +1 -1
- lightning_sdk/plugin.py +207 -41
- lightning_sdk/services/__init__.py +5 -0
- lightning_sdk/services/file_endpoint.py +223 -0
- lightning_sdk/services/finetune/__init__.py +35 -0
- lightning_sdk/services/utilities.py +111 -0
- lightning_sdk/status.py +2 -1
- lightning_sdk/studio.py +90 -17
- lightning_sdk/teamspace.py +189 -11
- lightning_sdk/user.py +1 -1
- lightning_sdk/utils/__init__.py +0 -0
- lightning_sdk/utils/dynamic.py +61 -0
- lightning_sdk/utils/enum.py +116 -0
- lightning_sdk/{utils.py → utils/resolve.py} +41 -4
- lightning_sdk-0.1.46.dist-info/LICENSE +21 -0
- {lightning_sdk-0.1.2.dist-info → lightning_sdk-0.1.46.dist-info}/METADATA +30 -4
- lightning_sdk-0.1.46.dist-info/RECORD +858 -0
- {lightning_sdk-0.1.2.dist-info → lightning_sdk-0.1.46.dist-info}/WHEEL +1 -1
- lightning_sdk/lightning_cloud/openapi/models/app_id_releases_body.py +0 -541
- lightning_sdk/lightning_cloud/openapi/models/assistants_id_body.py +0 -487
- lightning_sdk/lightning_cloud/openapi/models/id_endpoint_body.py +0 -409
- lightning_sdk/lightning_cloud/openapi/models/id_get_body1.py +0 -333
- lightning_sdk/lightning_cloud/openapi/models/project_id_appsv2_body.py +0 -201
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_cluster_driver_spec.py +0 -1039
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_cluster_secondary_region_spec.py +0 -253
- lightning_sdk/lightning_cloud/openapi/models/v1_azure_cluster_driver_spec.py +0 -227
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_driver.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_container_resources.py +0 -201
- lightning_sdk/lightning_cloud/openapi/models/v1_eks_custer_driver_status.py +0 -387
- lightning_sdk/lightning_cloud/openapi/models/v1_instance_type.py +0 -305
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_cluster_driver.py +0 -359
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_cluster_status.py +0 -279
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_release.py +0 -697
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_v2.py +0 -331
- lightning_sdk-0.1.2.dist-info/RECORD +0 -550
- {lightning_sdk-0.1.2.dist-info → lightning_sdk-0.1.46.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.1.2.dist-info → lightning_sdk-0.1.46.dist-info}/top_level.txt +0 -0
|
@@ -43,6 +43,119 @@ class EndpointServiceApi(object):
|
|
|
43
43
|
api_client = ApiClient()
|
|
44
44
|
self.api_client = api_client
|
|
45
45
|
|
|
46
|
+
def endpoint_service_complete_upload_service_execution_artifact(self, body: 'IdCompleteBody', project_id: 'str', id: 'str', **kwargs) -> 'V1CompleteUploadServiceExecutionArtifactResponse': # noqa: E501
|
|
47
|
+
"""endpoint_service_complete_upload_service_execution_artifact # noqa: E501
|
|
48
|
+
|
|
49
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
50
|
+
asynchronous HTTP request, please pass async_req=True
|
|
51
|
+
>>> thread = api.endpoint_service_complete_upload_service_execution_artifact(body, project_id, id, async_req=True)
|
|
52
|
+
>>> result = thread.get()
|
|
53
|
+
|
|
54
|
+
:param async_req bool
|
|
55
|
+
:param IdCompleteBody body: (required)
|
|
56
|
+
:param str project_id: (required)
|
|
57
|
+
:param str id: (required)
|
|
58
|
+
:return: V1CompleteUploadServiceExecutionArtifactResponse
|
|
59
|
+
If the method is called asynchronously,
|
|
60
|
+
returns the request thread.
|
|
61
|
+
"""
|
|
62
|
+
kwargs['_return_http_data_only'] = True
|
|
63
|
+
if kwargs.get('async_req'):
|
|
64
|
+
return self.endpoint_service_complete_upload_service_execution_artifact_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
65
|
+
else:
|
|
66
|
+
(data) = self.endpoint_service_complete_upload_service_execution_artifact_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
67
|
+
return data
|
|
68
|
+
|
|
69
|
+
def endpoint_service_complete_upload_service_execution_artifact_with_http_info(self, body: 'IdCompleteBody', project_id: 'str', id: 'str', **kwargs) -> 'V1CompleteUploadServiceExecutionArtifactResponse': # noqa: E501
|
|
70
|
+
"""endpoint_service_complete_upload_service_execution_artifact # noqa: E501
|
|
71
|
+
|
|
72
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
73
|
+
asynchronous HTTP request, please pass async_req=True
|
|
74
|
+
>>> thread = api.endpoint_service_complete_upload_service_execution_artifact_with_http_info(body, project_id, id, async_req=True)
|
|
75
|
+
>>> result = thread.get()
|
|
76
|
+
|
|
77
|
+
:param async_req bool
|
|
78
|
+
:param IdCompleteBody body: (required)
|
|
79
|
+
:param str project_id: (required)
|
|
80
|
+
:param str id: (required)
|
|
81
|
+
:return: V1CompleteUploadServiceExecutionArtifactResponse
|
|
82
|
+
If the method is called asynchronously,
|
|
83
|
+
returns the request thread.
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
87
|
+
all_params.append('async_req')
|
|
88
|
+
all_params.append('_return_http_data_only')
|
|
89
|
+
all_params.append('_preload_content')
|
|
90
|
+
all_params.append('_request_timeout')
|
|
91
|
+
|
|
92
|
+
params = locals()
|
|
93
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
94
|
+
if key not in all_params:
|
|
95
|
+
raise TypeError(
|
|
96
|
+
"Got an unexpected keyword argument '%s'"
|
|
97
|
+
" to method endpoint_service_complete_upload_service_execution_artifact" % key
|
|
98
|
+
)
|
|
99
|
+
params[key] = val
|
|
100
|
+
del params['kwargs']
|
|
101
|
+
# verify the required parameter 'body' is set
|
|
102
|
+
if ('body' not in params or
|
|
103
|
+
params['body'] is None):
|
|
104
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_complete_upload_service_execution_artifact`") # noqa: E501
|
|
105
|
+
# verify the required parameter 'project_id' is set
|
|
106
|
+
if ('project_id' not in params or
|
|
107
|
+
params['project_id'] is None):
|
|
108
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_complete_upload_service_execution_artifact`") # noqa: E501
|
|
109
|
+
# verify the required parameter 'id' is set
|
|
110
|
+
if ('id' not in params or
|
|
111
|
+
params['id'] is None):
|
|
112
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_complete_upload_service_execution_artifact`") # noqa: E501
|
|
113
|
+
|
|
114
|
+
collection_formats = {}
|
|
115
|
+
|
|
116
|
+
path_params = {}
|
|
117
|
+
if 'project_id' in params:
|
|
118
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
119
|
+
if 'id' in params:
|
|
120
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
121
|
+
|
|
122
|
+
query_params = []
|
|
123
|
+
|
|
124
|
+
header_params = {}
|
|
125
|
+
|
|
126
|
+
form_params = []
|
|
127
|
+
local_var_files = {}
|
|
128
|
+
|
|
129
|
+
body_params = None
|
|
130
|
+
if 'body' in params:
|
|
131
|
+
body_params = params['body']
|
|
132
|
+
# HTTP header `Accept`
|
|
133
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
134
|
+
['application/json']) # noqa: E501
|
|
135
|
+
|
|
136
|
+
# HTTP header `Content-Type`
|
|
137
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
138
|
+
['application/json']) # noqa: E501
|
|
139
|
+
|
|
140
|
+
# Authentication setting
|
|
141
|
+
auth_settings = [] # noqa: E501
|
|
142
|
+
|
|
143
|
+
return self.api_client.call_api(
|
|
144
|
+
'/v1/projects/{projectId}/service-execution/{id}/complete', 'POST',
|
|
145
|
+
path_params,
|
|
146
|
+
query_params,
|
|
147
|
+
header_params,
|
|
148
|
+
body=body_params,
|
|
149
|
+
post_params=form_params,
|
|
150
|
+
files=local_var_files,
|
|
151
|
+
response_type='V1CompleteUploadServiceExecutionArtifactResponse', # noqa: E501
|
|
152
|
+
auth_settings=auth_settings,
|
|
153
|
+
async_req=params.get('async_req'),
|
|
154
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
155
|
+
_preload_content=params.get('_preload_content', True),
|
|
156
|
+
_request_timeout=params.get('_request_timeout'),
|
|
157
|
+
collection_formats=collection_formats)
|
|
158
|
+
|
|
46
159
|
def endpoint_service_create_endpoint(self, body: 'ProjectIdEndpointsBody', project_id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
47
160
|
"""endpoint_service_create_endpoint # noqa: E501
|
|
48
161
|
|
|
@@ -253,6 +366,111 @@ class EndpointServiceApi(object):
|
|
|
253
366
|
_request_timeout=params.get('_request_timeout'),
|
|
254
367
|
collection_formats=collection_formats)
|
|
255
368
|
|
|
369
|
+
def endpoint_service_create_service_execution(self, body: 'ProjectIdServiceexecutionBody', project_id: 'str', **kwargs) -> 'V1ServiceExecution': # noqa: E501
|
|
370
|
+
"""endpoint_service_create_service_execution # noqa: E501
|
|
371
|
+
|
|
372
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
373
|
+
asynchronous HTTP request, please pass async_req=True
|
|
374
|
+
>>> thread = api.endpoint_service_create_service_execution(body, project_id, async_req=True)
|
|
375
|
+
>>> result = thread.get()
|
|
376
|
+
|
|
377
|
+
:param async_req bool
|
|
378
|
+
:param ProjectIdServiceexecutionBody body: (required)
|
|
379
|
+
:param str project_id: (required)
|
|
380
|
+
:return: V1ServiceExecution
|
|
381
|
+
If the method is called asynchronously,
|
|
382
|
+
returns the request thread.
|
|
383
|
+
"""
|
|
384
|
+
kwargs['_return_http_data_only'] = True
|
|
385
|
+
if kwargs.get('async_req'):
|
|
386
|
+
return self.endpoint_service_create_service_execution_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
387
|
+
else:
|
|
388
|
+
(data) = self.endpoint_service_create_service_execution_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
389
|
+
return data
|
|
390
|
+
|
|
391
|
+
def endpoint_service_create_service_execution_with_http_info(self, body: 'ProjectIdServiceexecutionBody', project_id: 'str', **kwargs) -> 'V1ServiceExecution': # noqa: E501
|
|
392
|
+
"""endpoint_service_create_service_execution # noqa: E501
|
|
393
|
+
|
|
394
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
395
|
+
asynchronous HTTP request, please pass async_req=True
|
|
396
|
+
>>> thread = api.endpoint_service_create_service_execution_with_http_info(body, project_id, async_req=True)
|
|
397
|
+
>>> result = thread.get()
|
|
398
|
+
|
|
399
|
+
:param async_req bool
|
|
400
|
+
:param ProjectIdServiceexecutionBody body: (required)
|
|
401
|
+
:param str project_id: (required)
|
|
402
|
+
:return: V1ServiceExecution
|
|
403
|
+
If the method is called asynchronously,
|
|
404
|
+
returns the request thread.
|
|
405
|
+
"""
|
|
406
|
+
|
|
407
|
+
all_params = ['body', 'project_id'] # noqa: E501
|
|
408
|
+
all_params.append('async_req')
|
|
409
|
+
all_params.append('_return_http_data_only')
|
|
410
|
+
all_params.append('_preload_content')
|
|
411
|
+
all_params.append('_request_timeout')
|
|
412
|
+
|
|
413
|
+
params = locals()
|
|
414
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
415
|
+
if key not in all_params:
|
|
416
|
+
raise TypeError(
|
|
417
|
+
"Got an unexpected keyword argument '%s'"
|
|
418
|
+
" to method endpoint_service_create_service_execution" % key
|
|
419
|
+
)
|
|
420
|
+
params[key] = val
|
|
421
|
+
del params['kwargs']
|
|
422
|
+
# verify the required parameter 'body' is set
|
|
423
|
+
if ('body' not in params or
|
|
424
|
+
params['body'] is None):
|
|
425
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_create_service_execution`") # noqa: E501
|
|
426
|
+
# verify the required parameter 'project_id' is set
|
|
427
|
+
if ('project_id' not in params or
|
|
428
|
+
params['project_id'] is None):
|
|
429
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_create_service_execution`") # noqa: E501
|
|
430
|
+
|
|
431
|
+
collection_formats = {}
|
|
432
|
+
|
|
433
|
+
path_params = {}
|
|
434
|
+
if 'project_id' in params:
|
|
435
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
436
|
+
|
|
437
|
+
query_params = []
|
|
438
|
+
|
|
439
|
+
header_params = {}
|
|
440
|
+
|
|
441
|
+
form_params = []
|
|
442
|
+
local_var_files = {}
|
|
443
|
+
|
|
444
|
+
body_params = None
|
|
445
|
+
if 'body' in params:
|
|
446
|
+
body_params = params['body']
|
|
447
|
+
# HTTP header `Accept`
|
|
448
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
449
|
+
['application/json']) # noqa: E501
|
|
450
|
+
|
|
451
|
+
# HTTP header `Content-Type`
|
|
452
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
453
|
+
['application/json']) # noqa: E501
|
|
454
|
+
|
|
455
|
+
# Authentication setting
|
|
456
|
+
auth_settings = [] # noqa: E501
|
|
457
|
+
|
|
458
|
+
return self.api_client.call_api(
|
|
459
|
+
'/v1/projects/{projectId}/service-execution', 'POST',
|
|
460
|
+
path_params,
|
|
461
|
+
query_params,
|
|
462
|
+
header_params,
|
|
463
|
+
body=body_params,
|
|
464
|
+
post_params=form_params,
|
|
465
|
+
files=local_var_files,
|
|
466
|
+
response_type='V1ServiceExecution', # noqa: E501
|
|
467
|
+
auth_settings=auth_settings,
|
|
468
|
+
async_req=params.get('async_req'),
|
|
469
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
470
|
+
_preload_content=params.get('_preload_content', True),
|
|
471
|
+
_request_timeout=params.get('_request_timeout'),
|
|
472
|
+
collection_formats=collection_formats)
|
|
473
|
+
|
|
256
474
|
def endpoint_service_delete_endpoint(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteEndpointResponse': # noqa: E501
|
|
257
475
|
"""endpoint_service_delete_endpoint # noqa: E501
|
|
258
476
|
|
|
@@ -291,7 +509,1254 @@ class EndpointServiceApi(object):
|
|
|
291
509
|
returns the request thread.
|
|
292
510
|
"""
|
|
293
511
|
|
|
294
|
-
all_params = ['project_id', 'id'] # noqa: E501
|
|
512
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
513
|
+
all_params.append('async_req')
|
|
514
|
+
all_params.append('_return_http_data_only')
|
|
515
|
+
all_params.append('_preload_content')
|
|
516
|
+
all_params.append('_request_timeout')
|
|
517
|
+
|
|
518
|
+
params = locals()
|
|
519
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
520
|
+
if key not in all_params:
|
|
521
|
+
raise TypeError(
|
|
522
|
+
"Got an unexpected keyword argument '%s'"
|
|
523
|
+
" to method endpoint_service_delete_endpoint" % key
|
|
524
|
+
)
|
|
525
|
+
params[key] = val
|
|
526
|
+
del params['kwargs']
|
|
527
|
+
# verify the required parameter 'project_id' is set
|
|
528
|
+
if ('project_id' not in params or
|
|
529
|
+
params['project_id'] is None):
|
|
530
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_delete_endpoint`") # noqa: E501
|
|
531
|
+
# verify the required parameter 'id' is set
|
|
532
|
+
if ('id' not in params or
|
|
533
|
+
params['id'] is None):
|
|
534
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_delete_endpoint`") # noqa: E501
|
|
535
|
+
|
|
536
|
+
collection_formats = {}
|
|
537
|
+
|
|
538
|
+
path_params = {}
|
|
539
|
+
if 'project_id' in params:
|
|
540
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
541
|
+
if 'id' in params:
|
|
542
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
543
|
+
|
|
544
|
+
query_params = []
|
|
545
|
+
|
|
546
|
+
header_params = {}
|
|
547
|
+
|
|
548
|
+
form_params = []
|
|
549
|
+
local_var_files = {}
|
|
550
|
+
|
|
551
|
+
body_params = None
|
|
552
|
+
# HTTP header `Accept`
|
|
553
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
554
|
+
['application/json']) # noqa: E501
|
|
555
|
+
|
|
556
|
+
# Authentication setting
|
|
557
|
+
auth_settings = [] # noqa: E501
|
|
558
|
+
|
|
559
|
+
return self.api_client.call_api(
|
|
560
|
+
'/v1/projects/{projectId}/endpoints/{id}', 'DELETE',
|
|
561
|
+
path_params,
|
|
562
|
+
query_params,
|
|
563
|
+
header_params,
|
|
564
|
+
body=body_params,
|
|
565
|
+
post_params=form_params,
|
|
566
|
+
files=local_var_files,
|
|
567
|
+
response_type='V1DeleteEndpointResponse', # noqa: E501
|
|
568
|
+
auth_settings=auth_settings,
|
|
569
|
+
async_req=params.get('async_req'),
|
|
570
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
571
|
+
_preload_content=params.get('_preload_content', True),
|
|
572
|
+
_request_timeout=params.get('_request_timeout'),
|
|
573
|
+
collection_formats=collection_formats)
|
|
574
|
+
|
|
575
|
+
def endpoint_service_delete_file_endpoint(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteFileEndpointResponse': # noqa: E501
|
|
576
|
+
"""endpoint_service_delete_file_endpoint # noqa: E501
|
|
577
|
+
|
|
578
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
579
|
+
asynchronous HTTP request, please pass async_req=True
|
|
580
|
+
>>> thread = api.endpoint_service_delete_file_endpoint(project_id, id, async_req=True)
|
|
581
|
+
>>> result = thread.get()
|
|
582
|
+
|
|
583
|
+
:param async_req bool
|
|
584
|
+
:param str project_id: (required)
|
|
585
|
+
:param str id: (required)
|
|
586
|
+
:param str cloudspace_id:
|
|
587
|
+
:return: V1DeleteFileEndpointResponse
|
|
588
|
+
If the method is called asynchronously,
|
|
589
|
+
returns the request thread.
|
|
590
|
+
"""
|
|
591
|
+
kwargs['_return_http_data_only'] = True
|
|
592
|
+
if kwargs.get('async_req'):
|
|
593
|
+
return self.endpoint_service_delete_file_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
594
|
+
else:
|
|
595
|
+
(data) = self.endpoint_service_delete_file_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
596
|
+
return data
|
|
597
|
+
|
|
598
|
+
def endpoint_service_delete_file_endpoint_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteFileEndpointResponse': # noqa: E501
|
|
599
|
+
"""endpoint_service_delete_file_endpoint # noqa: E501
|
|
600
|
+
|
|
601
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
602
|
+
asynchronous HTTP request, please pass async_req=True
|
|
603
|
+
>>> thread = api.endpoint_service_delete_file_endpoint_with_http_info(project_id, id, async_req=True)
|
|
604
|
+
>>> result = thread.get()
|
|
605
|
+
|
|
606
|
+
:param async_req bool
|
|
607
|
+
:param str project_id: (required)
|
|
608
|
+
:param str id: (required)
|
|
609
|
+
:param str cloudspace_id:
|
|
610
|
+
:return: V1DeleteFileEndpointResponse
|
|
611
|
+
If the method is called asynchronously,
|
|
612
|
+
returns the request thread.
|
|
613
|
+
"""
|
|
614
|
+
|
|
615
|
+
all_params = ['project_id', 'id', 'cloudspace_id'] # noqa: E501
|
|
616
|
+
all_params.append('async_req')
|
|
617
|
+
all_params.append('_return_http_data_only')
|
|
618
|
+
all_params.append('_preload_content')
|
|
619
|
+
all_params.append('_request_timeout')
|
|
620
|
+
|
|
621
|
+
params = locals()
|
|
622
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
623
|
+
if key not in all_params:
|
|
624
|
+
raise TypeError(
|
|
625
|
+
"Got an unexpected keyword argument '%s'"
|
|
626
|
+
" to method endpoint_service_delete_file_endpoint" % key
|
|
627
|
+
)
|
|
628
|
+
params[key] = val
|
|
629
|
+
del params['kwargs']
|
|
630
|
+
# verify the required parameter 'project_id' is set
|
|
631
|
+
if ('project_id' not in params or
|
|
632
|
+
params['project_id'] is None):
|
|
633
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_delete_file_endpoint`") # noqa: E501
|
|
634
|
+
# verify the required parameter 'id' is set
|
|
635
|
+
if ('id' not in params or
|
|
636
|
+
params['id'] is None):
|
|
637
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_delete_file_endpoint`") # noqa: E501
|
|
638
|
+
|
|
639
|
+
collection_formats = {}
|
|
640
|
+
|
|
641
|
+
path_params = {}
|
|
642
|
+
if 'project_id' in params:
|
|
643
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
644
|
+
if 'id' in params:
|
|
645
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
646
|
+
|
|
647
|
+
query_params = []
|
|
648
|
+
if 'cloudspace_id' in params:
|
|
649
|
+
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
650
|
+
|
|
651
|
+
header_params = {}
|
|
652
|
+
|
|
653
|
+
form_params = []
|
|
654
|
+
local_var_files = {}
|
|
655
|
+
|
|
656
|
+
body_params = None
|
|
657
|
+
# HTTP header `Accept`
|
|
658
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
659
|
+
['application/json']) # noqa: E501
|
|
660
|
+
|
|
661
|
+
# Authentication setting
|
|
662
|
+
auth_settings = [] # noqa: E501
|
|
663
|
+
|
|
664
|
+
return self.api_client.call_api(
|
|
665
|
+
'/v1/projects/{projectId}/file-endpoints/{id}', 'DELETE',
|
|
666
|
+
path_params,
|
|
667
|
+
query_params,
|
|
668
|
+
header_params,
|
|
669
|
+
body=body_params,
|
|
670
|
+
post_params=form_params,
|
|
671
|
+
files=local_var_files,
|
|
672
|
+
response_type='V1DeleteFileEndpointResponse', # noqa: E501
|
|
673
|
+
auth_settings=auth_settings,
|
|
674
|
+
async_req=params.get('async_req'),
|
|
675
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
676
|
+
_preload_content=params.get('_preload_content', True),
|
|
677
|
+
_request_timeout=params.get('_request_timeout'),
|
|
678
|
+
collection_formats=collection_formats)
|
|
679
|
+
|
|
680
|
+
def endpoint_service_delete_service_execution(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteServiceExecutionResponse': # noqa: E501
|
|
681
|
+
"""endpoint_service_delete_service_execution # noqa: E501
|
|
682
|
+
|
|
683
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
684
|
+
asynchronous HTTP request, please pass async_req=True
|
|
685
|
+
>>> thread = api.endpoint_service_delete_service_execution(project_id, id, async_req=True)
|
|
686
|
+
>>> result = thread.get()
|
|
687
|
+
|
|
688
|
+
:param async_req bool
|
|
689
|
+
:param str project_id: (required)
|
|
690
|
+
:param str id: (required)
|
|
691
|
+
:return: V1DeleteServiceExecutionResponse
|
|
692
|
+
If the method is called asynchronously,
|
|
693
|
+
returns the request thread.
|
|
694
|
+
"""
|
|
695
|
+
kwargs['_return_http_data_only'] = True
|
|
696
|
+
if kwargs.get('async_req'):
|
|
697
|
+
return self.endpoint_service_delete_service_execution_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
698
|
+
else:
|
|
699
|
+
(data) = self.endpoint_service_delete_service_execution_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
700
|
+
return data
|
|
701
|
+
|
|
702
|
+
def endpoint_service_delete_service_execution_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteServiceExecutionResponse': # noqa: E501
|
|
703
|
+
"""endpoint_service_delete_service_execution # noqa: E501
|
|
704
|
+
|
|
705
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
706
|
+
asynchronous HTTP request, please pass async_req=True
|
|
707
|
+
>>> thread = api.endpoint_service_delete_service_execution_with_http_info(project_id, id, async_req=True)
|
|
708
|
+
>>> result = thread.get()
|
|
709
|
+
|
|
710
|
+
:param async_req bool
|
|
711
|
+
:param str project_id: (required)
|
|
712
|
+
:param str id: (required)
|
|
713
|
+
:return: V1DeleteServiceExecutionResponse
|
|
714
|
+
If the method is called asynchronously,
|
|
715
|
+
returns the request thread.
|
|
716
|
+
"""
|
|
717
|
+
|
|
718
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
719
|
+
all_params.append('async_req')
|
|
720
|
+
all_params.append('_return_http_data_only')
|
|
721
|
+
all_params.append('_preload_content')
|
|
722
|
+
all_params.append('_request_timeout')
|
|
723
|
+
|
|
724
|
+
params = locals()
|
|
725
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
726
|
+
if key not in all_params:
|
|
727
|
+
raise TypeError(
|
|
728
|
+
"Got an unexpected keyword argument '%s'"
|
|
729
|
+
" to method endpoint_service_delete_service_execution" % key
|
|
730
|
+
)
|
|
731
|
+
params[key] = val
|
|
732
|
+
del params['kwargs']
|
|
733
|
+
# verify the required parameter 'project_id' is set
|
|
734
|
+
if ('project_id' not in params or
|
|
735
|
+
params['project_id'] is None):
|
|
736
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_delete_service_execution`") # noqa: E501
|
|
737
|
+
# verify the required parameter 'id' is set
|
|
738
|
+
if ('id' not in params or
|
|
739
|
+
params['id'] is None):
|
|
740
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_delete_service_execution`") # noqa: E501
|
|
741
|
+
|
|
742
|
+
collection_formats = {}
|
|
743
|
+
|
|
744
|
+
path_params = {}
|
|
745
|
+
if 'project_id' in params:
|
|
746
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
747
|
+
if 'id' in params:
|
|
748
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
749
|
+
|
|
750
|
+
query_params = []
|
|
751
|
+
|
|
752
|
+
header_params = {}
|
|
753
|
+
|
|
754
|
+
form_params = []
|
|
755
|
+
local_var_files = {}
|
|
756
|
+
|
|
757
|
+
body_params = None
|
|
758
|
+
# HTTP header `Accept`
|
|
759
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
760
|
+
['application/json']) # noqa: E501
|
|
761
|
+
|
|
762
|
+
# Authentication setting
|
|
763
|
+
auth_settings = [] # noqa: E501
|
|
764
|
+
|
|
765
|
+
return self.api_client.call_api(
|
|
766
|
+
'/v1/projects/{projectId}/service-execution/{id}', 'DELETE',
|
|
767
|
+
path_params,
|
|
768
|
+
query_params,
|
|
769
|
+
header_params,
|
|
770
|
+
body=body_params,
|
|
771
|
+
post_params=form_params,
|
|
772
|
+
files=local_var_files,
|
|
773
|
+
response_type='V1DeleteServiceExecutionResponse', # noqa: E501
|
|
774
|
+
auth_settings=auth_settings,
|
|
775
|
+
async_req=params.get('async_req'),
|
|
776
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
777
|
+
_preload_content=params.get('_preload_content', True),
|
|
778
|
+
_request_timeout=params.get('_request_timeout'),
|
|
779
|
+
collection_formats=collection_formats)
|
|
780
|
+
|
|
781
|
+
def endpoint_service_download_service_execution_artifact(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DownloadServiceExecutionArtifactResponse': # noqa: E501
|
|
782
|
+
"""endpoint_service_download_service_execution_artifact # noqa: E501
|
|
783
|
+
|
|
784
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
785
|
+
asynchronous HTTP request, please pass async_req=True
|
|
786
|
+
>>> thread = api.endpoint_service_download_service_execution_artifact(project_id, id, async_req=True)
|
|
787
|
+
>>> result = thread.get()
|
|
788
|
+
|
|
789
|
+
:param async_req bool
|
|
790
|
+
:param str project_id: (required)
|
|
791
|
+
:param str id: (required)
|
|
792
|
+
:param str page_token:
|
|
793
|
+
:param str filepath:
|
|
794
|
+
:return: V1DownloadServiceExecutionArtifactResponse
|
|
795
|
+
If the method is called asynchronously,
|
|
796
|
+
returns the request thread.
|
|
797
|
+
"""
|
|
798
|
+
kwargs['_return_http_data_only'] = True
|
|
799
|
+
if kwargs.get('async_req'):
|
|
800
|
+
return self.endpoint_service_download_service_execution_artifact_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
801
|
+
else:
|
|
802
|
+
(data) = self.endpoint_service_download_service_execution_artifact_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
803
|
+
return data
|
|
804
|
+
|
|
805
|
+
def endpoint_service_download_service_execution_artifact_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DownloadServiceExecutionArtifactResponse': # noqa: E501
|
|
806
|
+
"""endpoint_service_download_service_execution_artifact # noqa: E501
|
|
807
|
+
|
|
808
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
809
|
+
asynchronous HTTP request, please pass async_req=True
|
|
810
|
+
>>> thread = api.endpoint_service_download_service_execution_artifact_with_http_info(project_id, id, async_req=True)
|
|
811
|
+
>>> result = thread.get()
|
|
812
|
+
|
|
813
|
+
:param async_req bool
|
|
814
|
+
:param str project_id: (required)
|
|
815
|
+
:param str id: (required)
|
|
816
|
+
:param str page_token:
|
|
817
|
+
:param str filepath:
|
|
818
|
+
:return: V1DownloadServiceExecutionArtifactResponse
|
|
819
|
+
If the method is called asynchronously,
|
|
820
|
+
returns the request thread.
|
|
821
|
+
"""
|
|
822
|
+
|
|
823
|
+
all_params = ['project_id', 'id', 'page_token', 'filepath'] # noqa: E501
|
|
824
|
+
all_params.append('async_req')
|
|
825
|
+
all_params.append('_return_http_data_only')
|
|
826
|
+
all_params.append('_preload_content')
|
|
827
|
+
all_params.append('_request_timeout')
|
|
828
|
+
|
|
829
|
+
params = locals()
|
|
830
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
831
|
+
if key not in all_params:
|
|
832
|
+
raise TypeError(
|
|
833
|
+
"Got an unexpected keyword argument '%s'"
|
|
834
|
+
" to method endpoint_service_download_service_execution_artifact" % key
|
|
835
|
+
)
|
|
836
|
+
params[key] = val
|
|
837
|
+
del params['kwargs']
|
|
838
|
+
# verify the required parameter 'project_id' is set
|
|
839
|
+
if ('project_id' not in params or
|
|
840
|
+
params['project_id'] is None):
|
|
841
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_download_service_execution_artifact`") # noqa: E501
|
|
842
|
+
# verify the required parameter 'id' is set
|
|
843
|
+
if ('id' not in params or
|
|
844
|
+
params['id'] is None):
|
|
845
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_download_service_execution_artifact`") # noqa: E501
|
|
846
|
+
|
|
847
|
+
collection_formats = {}
|
|
848
|
+
|
|
849
|
+
path_params = {}
|
|
850
|
+
if 'project_id' in params:
|
|
851
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
852
|
+
if 'id' in params:
|
|
853
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
854
|
+
|
|
855
|
+
query_params = []
|
|
856
|
+
if 'page_token' in params:
|
|
857
|
+
query_params.append(('pageToken', params['page_token'])) # noqa: E501
|
|
858
|
+
if 'filepath' in params:
|
|
859
|
+
query_params.append(('filepath', params['filepath'])) # noqa: E501
|
|
860
|
+
|
|
861
|
+
header_params = {}
|
|
862
|
+
|
|
863
|
+
form_params = []
|
|
864
|
+
local_var_files = {}
|
|
865
|
+
|
|
866
|
+
body_params = None
|
|
867
|
+
# HTTP header `Accept`
|
|
868
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
869
|
+
['application/json']) # noqa: E501
|
|
870
|
+
|
|
871
|
+
# Authentication setting
|
|
872
|
+
auth_settings = [] # noqa: E501
|
|
873
|
+
|
|
874
|
+
return self.api_client.call_api(
|
|
875
|
+
'/v1/projects/{projectId}/service-execution/{id}/storage', 'GET',
|
|
876
|
+
path_params,
|
|
877
|
+
query_params,
|
|
878
|
+
header_params,
|
|
879
|
+
body=body_params,
|
|
880
|
+
post_params=form_params,
|
|
881
|
+
files=local_var_files,
|
|
882
|
+
response_type='V1DownloadServiceExecutionArtifactResponse', # noqa: E501
|
|
883
|
+
auth_settings=auth_settings,
|
|
884
|
+
async_req=params.get('async_req'),
|
|
885
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
886
|
+
_preload_content=params.get('_preload_content', True),
|
|
887
|
+
_request_timeout=params.get('_request_timeout'),
|
|
888
|
+
collection_formats=collection_formats)
|
|
889
|
+
|
|
890
|
+
def endpoint_service_get_endpoint(self, project_id: 'str', ref: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
891
|
+
"""endpoint_service_get_endpoint # noqa: E501
|
|
892
|
+
|
|
893
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
894
|
+
asynchronous HTTP request, please pass async_req=True
|
|
895
|
+
>>> thread = api.endpoint_service_get_endpoint(project_id, ref, async_req=True)
|
|
896
|
+
>>> result = thread.get()
|
|
897
|
+
|
|
898
|
+
:param async_req bool
|
|
899
|
+
:param str project_id: (required)
|
|
900
|
+
:param str ref: (required)
|
|
901
|
+
:param str ref_type:
|
|
902
|
+
:return: V1Endpoint
|
|
903
|
+
If the method is called asynchronously,
|
|
904
|
+
returns the request thread.
|
|
905
|
+
"""
|
|
906
|
+
kwargs['_return_http_data_only'] = True
|
|
907
|
+
if kwargs.get('async_req'):
|
|
908
|
+
return self.endpoint_service_get_endpoint_with_http_info(project_id, ref, **kwargs) # noqa: E501
|
|
909
|
+
else:
|
|
910
|
+
(data) = self.endpoint_service_get_endpoint_with_http_info(project_id, ref, **kwargs) # noqa: E501
|
|
911
|
+
return data
|
|
912
|
+
|
|
913
|
+
def endpoint_service_get_endpoint_with_http_info(self, project_id: 'str', ref: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
914
|
+
"""endpoint_service_get_endpoint # noqa: E501
|
|
915
|
+
|
|
916
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
917
|
+
asynchronous HTTP request, please pass async_req=True
|
|
918
|
+
>>> thread = api.endpoint_service_get_endpoint_with_http_info(project_id, ref, async_req=True)
|
|
919
|
+
>>> result = thread.get()
|
|
920
|
+
|
|
921
|
+
:param async_req bool
|
|
922
|
+
:param str project_id: (required)
|
|
923
|
+
:param str ref: (required)
|
|
924
|
+
:param str ref_type:
|
|
925
|
+
:return: V1Endpoint
|
|
926
|
+
If the method is called asynchronously,
|
|
927
|
+
returns the request thread.
|
|
928
|
+
"""
|
|
929
|
+
|
|
930
|
+
all_params = ['project_id', 'ref', 'ref_type'] # noqa: E501
|
|
931
|
+
all_params.append('async_req')
|
|
932
|
+
all_params.append('_return_http_data_only')
|
|
933
|
+
all_params.append('_preload_content')
|
|
934
|
+
all_params.append('_request_timeout')
|
|
935
|
+
|
|
936
|
+
params = locals()
|
|
937
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
938
|
+
if key not in all_params:
|
|
939
|
+
raise TypeError(
|
|
940
|
+
"Got an unexpected keyword argument '%s'"
|
|
941
|
+
" to method endpoint_service_get_endpoint" % key
|
|
942
|
+
)
|
|
943
|
+
params[key] = val
|
|
944
|
+
del params['kwargs']
|
|
945
|
+
# verify the required parameter 'project_id' is set
|
|
946
|
+
if ('project_id' not in params or
|
|
947
|
+
params['project_id'] is None):
|
|
948
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_get_endpoint`") # noqa: E501
|
|
949
|
+
# verify the required parameter 'ref' is set
|
|
950
|
+
if ('ref' not in params or
|
|
951
|
+
params['ref'] is None):
|
|
952
|
+
raise ValueError("Missing the required parameter `ref` when calling `endpoint_service_get_endpoint`") # noqa: E501
|
|
953
|
+
|
|
954
|
+
collection_formats = {}
|
|
955
|
+
|
|
956
|
+
path_params = {}
|
|
957
|
+
if 'project_id' in params:
|
|
958
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
959
|
+
if 'ref' in params:
|
|
960
|
+
path_params['ref'] = params['ref'] # noqa: E501
|
|
961
|
+
|
|
962
|
+
query_params = []
|
|
963
|
+
if 'ref_type' in params:
|
|
964
|
+
query_params.append(('refType', params['ref_type'])) # noqa: E501
|
|
965
|
+
|
|
966
|
+
header_params = {}
|
|
967
|
+
|
|
968
|
+
form_params = []
|
|
969
|
+
local_var_files = {}
|
|
970
|
+
|
|
971
|
+
body_params = None
|
|
972
|
+
# HTTP header `Accept`
|
|
973
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
974
|
+
['application/json']) # noqa: E501
|
|
975
|
+
|
|
976
|
+
# Authentication setting
|
|
977
|
+
auth_settings = [] # noqa: E501
|
|
978
|
+
|
|
979
|
+
return self.api_client.call_api(
|
|
980
|
+
'/v1/projects/{projectId}/endpoints/{ref}', 'GET',
|
|
981
|
+
path_params,
|
|
982
|
+
query_params,
|
|
983
|
+
header_params,
|
|
984
|
+
body=body_params,
|
|
985
|
+
post_params=form_params,
|
|
986
|
+
files=local_var_files,
|
|
987
|
+
response_type='V1Endpoint', # noqa: E501
|
|
988
|
+
auth_settings=auth_settings,
|
|
989
|
+
async_req=params.get('async_req'),
|
|
990
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
991
|
+
_preload_content=params.get('_preload_content', True),
|
|
992
|
+
_request_timeout=params.get('_request_timeout'),
|
|
993
|
+
collection_formats=collection_formats)
|
|
994
|
+
|
|
995
|
+
def endpoint_service_get_file_endpoint(self, project_id: 'str', id: 'str', **kwargs) -> 'V1FileEndpoint': # noqa: E501
|
|
996
|
+
"""endpoint_service_get_file_endpoint # noqa: E501
|
|
997
|
+
|
|
998
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
999
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1000
|
+
>>> thread = api.endpoint_service_get_file_endpoint(project_id, id, async_req=True)
|
|
1001
|
+
>>> result = thread.get()
|
|
1002
|
+
|
|
1003
|
+
:param async_req bool
|
|
1004
|
+
:param str project_id: (required)
|
|
1005
|
+
:param str id: (required)
|
|
1006
|
+
:return: V1FileEndpoint
|
|
1007
|
+
If the method is called asynchronously,
|
|
1008
|
+
returns the request thread.
|
|
1009
|
+
"""
|
|
1010
|
+
kwargs['_return_http_data_only'] = True
|
|
1011
|
+
if kwargs.get('async_req'):
|
|
1012
|
+
return self.endpoint_service_get_file_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
1013
|
+
else:
|
|
1014
|
+
(data) = self.endpoint_service_get_file_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
1015
|
+
return data
|
|
1016
|
+
|
|
1017
|
+
def endpoint_service_get_file_endpoint_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1FileEndpoint': # noqa: E501
|
|
1018
|
+
"""endpoint_service_get_file_endpoint # noqa: E501
|
|
1019
|
+
|
|
1020
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1021
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1022
|
+
>>> thread = api.endpoint_service_get_file_endpoint_with_http_info(project_id, id, async_req=True)
|
|
1023
|
+
>>> result = thread.get()
|
|
1024
|
+
|
|
1025
|
+
:param async_req bool
|
|
1026
|
+
:param str project_id: (required)
|
|
1027
|
+
:param str id: (required)
|
|
1028
|
+
:return: V1FileEndpoint
|
|
1029
|
+
If the method is called asynchronously,
|
|
1030
|
+
returns the request thread.
|
|
1031
|
+
"""
|
|
1032
|
+
|
|
1033
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
1034
|
+
all_params.append('async_req')
|
|
1035
|
+
all_params.append('_return_http_data_only')
|
|
1036
|
+
all_params.append('_preload_content')
|
|
1037
|
+
all_params.append('_request_timeout')
|
|
1038
|
+
|
|
1039
|
+
params = locals()
|
|
1040
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1041
|
+
if key not in all_params:
|
|
1042
|
+
raise TypeError(
|
|
1043
|
+
"Got an unexpected keyword argument '%s'"
|
|
1044
|
+
" to method endpoint_service_get_file_endpoint" % key
|
|
1045
|
+
)
|
|
1046
|
+
params[key] = val
|
|
1047
|
+
del params['kwargs']
|
|
1048
|
+
# verify the required parameter 'project_id' is set
|
|
1049
|
+
if ('project_id' not in params or
|
|
1050
|
+
params['project_id'] is None):
|
|
1051
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_get_file_endpoint`") # noqa: E501
|
|
1052
|
+
# verify the required parameter 'id' is set
|
|
1053
|
+
if ('id' not in params or
|
|
1054
|
+
params['id'] is None):
|
|
1055
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_get_file_endpoint`") # noqa: E501
|
|
1056
|
+
|
|
1057
|
+
collection_formats = {}
|
|
1058
|
+
|
|
1059
|
+
path_params = {}
|
|
1060
|
+
if 'project_id' in params:
|
|
1061
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1062
|
+
if 'id' in params:
|
|
1063
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
1064
|
+
|
|
1065
|
+
query_params = []
|
|
1066
|
+
|
|
1067
|
+
header_params = {}
|
|
1068
|
+
|
|
1069
|
+
form_params = []
|
|
1070
|
+
local_var_files = {}
|
|
1071
|
+
|
|
1072
|
+
body_params = None
|
|
1073
|
+
# HTTP header `Accept`
|
|
1074
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1075
|
+
['application/json']) # noqa: E501
|
|
1076
|
+
|
|
1077
|
+
# Authentication setting
|
|
1078
|
+
auth_settings = [] # noqa: E501
|
|
1079
|
+
|
|
1080
|
+
return self.api_client.call_api(
|
|
1081
|
+
'/v1/projects/{projectId}/file-endpoints/{id}', 'GET',
|
|
1082
|
+
path_params,
|
|
1083
|
+
query_params,
|
|
1084
|
+
header_params,
|
|
1085
|
+
body=body_params,
|
|
1086
|
+
post_params=form_params,
|
|
1087
|
+
files=local_var_files,
|
|
1088
|
+
response_type='V1FileEndpoint', # noqa: E501
|
|
1089
|
+
auth_settings=auth_settings,
|
|
1090
|
+
async_req=params.get('async_req'),
|
|
1091
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1092
|
+
_preload_content=params.get('_preload_content', True),
|
|
1093
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1094
|
+
collection_formats=collection_formats)
|
|
1095
|
+
|
|
1096
|
+
def endpoint_service_get_file_endpoint_by_name(self, project_id: 'str', **kwargs) -> 'V1FileEndpoint': # noqa: E501
|
|
1097
|
+
"""endpoint_service_get_file_endpoint_by_name # noqa: E501
|
|
1098
|
+
|
|
1099
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1100
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1101
|
+
>>> thread = api.endpoint_service_get_file_endpoint_by_name(project_id, async_req=True)
|
|
1102
|
+
>>> result = thread.get()
|
|
1103
|
+
|
|
1104
|
+
:param async_req bool
|
|
1105
|
+
:param str project_id: (required)
|
|
1106
|
+
:param str name:
|
|
1107
|
+
:return: V1FileEndpoint
|
|
1108
|
+
If the method is called asynchronously,
|
|
1109
|
+
returns the request thread.
|
|
1110
|
+
"""
|
|
1111
|
+
kwargs['_return_http_data_only'] = True
|
|
1112
|
+
if kwargs.get('async_req'):
|
|
1113
|
+
return self.endpoint_service_get_file_endpoint_by_name_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1114
|
+
else:
|
|
1115
|
+
(data) = self.endpoint_service_get_file_endpoint_by_name_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1116
|
+
return data
|
|
1117
|
+
|
|
1118
|
+
def endpoint_service_get_file_endpoint_by_name_with_http_info(self, project_id: 'str', **kwargs) -> 'V1FileEndpoint': # noqa: E501
|
|
1119
|
+
"""endpoint_service_get_file_endpoint_by_name # noqa: E501
|
|
1120
|
+
|
|
1121
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1122
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1123
|
+
>>> thread = api.endpoint_service_get_file_endpoint_by_name_with_http_info(project_id, async_req=True)
|
|
1124
|
+
>>> result = thread.get()
|
|
1125
|
+
|
|
1126
|
+
:param async_req bool
|
|
1127
|
+
:param str project_id: (required)
|
|
1128
|
+
:param str name:
|
|
1129
|
+
:return: V1FileEndpoint
|
|
1130
|
+
If the method is called asynchronously,
|
|
1131
|
+
returns the request thread.
|
|
1132
|
+
"""
|
|
1133
|
+
|
|
1134
|
+
all_params = ['project_id', 'name'] # noqa: E501
|
|
1135
|
+
all_params.append('async_req')
|
|
1136
|
+
all_params.append('_return_http_data_only')
|
|
1137
|
+
all_params.append('_preload_content')
|
|
1138
|
+
all_params.append('_request_timeout')
|
|
1139
|
+
|
|
1140
|
+
params = locals()
|
|
1141
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1142
|
+
if key not in all_params:
|
|
1143
|
+
raise TypeError(
|
|
1144
|
+
"Got an unexpected keyword argument '%s'"
|
|
1145
|
+
" to method endpoint_service_get_file_endpoint_by_name" % key
|
|
1146
|
+
)
|
|
1147
|
+
params[key] = val
|
|
1148
|
+
del params['kwargs']
|
|
1149
|
+
# verify the required parameter 'project_id' is set
|
|
1150
|
+
if ('project_id' not in params or
|
|
1151
|
+
params['project_id'] is None):
|
|
1152
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_get_file_endpoint_by_name`") # noqa: E501
|
|
1153
|
+
|
|
1154
|
+
collection_formats = {}
|
|
1155
|
+
|
|
1156
|
+
path_params = {}
|
|
1157
|
+
if 'project_id' in params:
|
|
1158
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1159
|
+
|
|
1160
|
+
query_params = []
|
|
1161
|
+
if 'name' in params:
|
|
1162
|
+
query_params.append(('name', params['name'])) # noqa: E501
|
|
1163
|
+
|
|
1164
|
+
header_params = {}
|
|
1165
|
+
|
|
1166
|
+
form_params = []
|
|
1167
|
+
local_var_files = {}
|
|
1168
|
+
|
|
1169
|
+
body_params = None
|
|
1170
|
+
# HTTP header `Accept`
|
|
1171
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1172
|
+
['application/json']) # noqa: E501
|
|
1173
|
+
|
|
1174
|
+
# Authentication setting
|
|
1175
|
+
auth_settings = [] # noqa: E501
|
|
1176
|
+
|
|
1177
|
+
return self.api_client.call_api(
|
|
1178
|
+
'/v1/projects/{projectId}/file-endpoints-name', 'GET',
|
|
1179
|
+
path_params,
|
|
1180
|
+
query_params,
|
|
1181
|
+
header_params,
|
|
1182
|
+
body=body_params,
|
|
1183
|
+
post_params=form_params,
|
|
1184
|
+
files=local_var_files,
|
|
1185
|
+
response_type='V1FileEndpoint', # noqa: E501
|
|
1186
|
+
auth_settings=auth_settings,
|
|
1187
|
+
async_req=params.get('async_req'),
|
|
1188
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1189
|
+
_preload_content=params.get('_preload_content', True),
|
|
1190
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1191
|
+
collection_formats=collection_formats)
|
|
1192
|
+
|
|
1193
|
+
def endpoint_service_get_service_execution(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ServiceExecution': # noqa: E501
|
|
1194
|
+
"""endpoint_service_get_service_execution # noqa: E501
|
|
1195
|
+
|
|
1196
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1197
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1198
|
+
>>> thread = api.endpoint_service_get_service_execution(project_id, id, async_req=True)
|
|
1199
|
+
>>> result = thread.get()
|
|
1200
|
+
|
|
1201
|
+
:param async_req bool
|
|
1202
|
+
:param str project_id: (required)
|
|
1203
|
+
:param str id: (required)
|
|
1204
|
+
:return: V1ServiceExecution
|
|
1205
|
+
If the method is called asynchronously,
|
|
1206
|
+
returns the request thread.
|
|
1207
|
+
"""
|
|
1208
|
+
kwargs['_return_http_data_only'] = True
|
|
1209
|
+
if kwargs.get('async_req'):
|
|
1210
|
+
return self.endpoint_service_get_service_execution_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
1211
|
+
else:
|
|
1212
|
+
(data) = self.endpoint_service_get_service_execution_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
1213
|
+
return data
|
|
1214
|
+
|
|
1215
|
+
def endpoint_service_get_service_execution_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ServiceExecution': # noqa: E501
|
|
1216
|
+
"""endpoint_service_get_service_execution # noqa: E501
|
|
1217
|
+
|
|
1218
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1219
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1220
|
+
>>> thread = api.endpoint_service_get_service_execution_with_http_info(project_id, id, async_req=True)
|
|
1221
|
+
>>> result = thread.get()
|
|
1222
|
+
|
|
1223
|
+
:param async_req bool
|
|
1224
|
+
:param str project_id: (required)
|
|
1225
|
+
:param str id: (required)
|
|
1226
|
+
:return: V1ServiceExecution
|
|
1227
|
+
If the method is called asynchronously,
|
|
1228
|
+
returns the request thread.
|
|
1229
|
+
"""
|
|
1230
|
+
|
|
1231
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
1232
|
+
all_params.append('async_req')
|
|
1233
|
+
all_params.append('_return_http_data_only')
|
|
1234
|
+
all_params.append('_preload_content')
|
|
1235
|
+
all_params.append('_request_timeout')
|
|
1236
|
+
|
|
1237
|
+
params = locals()
|
|
1238
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1239
|
+
if key not in all_params:
|
|
1240
|
+
raise TypeError(
|
|
1241
|
+
"Got an unexpected keyword argument '%s'"
|
|
1242
|
+
" to method endpoint_service_get_service_execution" % key
|
|
1243
|
+
)
|
|
1244
|
+
params[key] = val
|
|
1245
|
+
del params['kwargs']
|
|
1246
|
+
# verify the required parameter 'project_id' is set
|
|
1247
|
+
if ('project_id' not in params or
|
|
1248
|
+
params['project_id'] is None):
|
|
1249
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_get_service_execution`") # noqa: E501
|
|
1250
|
+
# verify the required parameter 'id' is set
|
|
1251
|
+
if ('id' not in params or
|
|
1252
|
+
params['id'] is None):
|
|
1253
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_get_service_execution`") # noqa: E501
|
|
1254
|
+
|
|
1255
|
+
collection_formats = {}
|
|
1256
|
+
|
|
1257
|
+
path_params = {}
|
|
1258
|
+
if 'project_id' in params:
|
|
1259
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1260
|
+
if 'id' in params:
|
|
1261
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
1262
|
+
|
|
1263
|
+
query_params = []
|
|
1264
|
+
|
|
1265
|
+
header_params = {}
|
|
1266
|
+
|
|
1267
|
+
form_params = []
|
|
1268
|
+
local_var_files = {}
|
|
1269
|
+
|
|
1270
|
+
body_params = None
|
|
1271
|
+
# HTTP header `Accept`
|
|
1272
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1273
|
+
['application/json']) # noqa: E501
|
|
1274
|
+
|
|
1275
|
+
# Authentication setting
|
|
1276
|
+
auth_settings = [] # noqa: E501
|
|
1277
|
+
|
|
1278
|
+
return self.api_client.call_api(
|
|
1279
|
+
'/v1/projects/{projectId}/service-execution/{id}', 'GET',
|
|
1280
|
+
path_params,
|
|
1281
|
+
query_params,
|
|
1282
|
+
header_params,
|
|
1283
|
+
body=body_params,
|
|
1284
|
+
post_params=form_params,
|
|
1285
|
+
files=local_var_files,
|
|
1286
|
+
response_type='V1ServiceExecution', # noqa: E501
|
|
1287
|
+
auth_settings=auth_settings,
|
|
1288
|
+
async_req=params.get('async_req'),
|
|
1289
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1290
|
+
_preload_content=params.get('_preload_content', True),
|
|
1291
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1292
|
+
collection_formats=collection_formats)
|
|
1293
|
+
|
|
1294
|
+
def endpoint_service_get_service_execution_status(self, body: 'object', project_id: 'str', id: 'str', **kwargs) -> 'V1GetServiceExecutionStatusResponse': # noqa: E501
|
|
1295
|
+
"""endpoint_service_get_service_execution_status # noqa: E501
|
|
1296
|
+
|
|
1297
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1298
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1299
|
+
>>> thread = api.endpoint_service_get_service_execution_status(body, project_id, id, async_req=True)
|
|
1300
|
+
>>> result = thread.get()
|
|
1301
|
+
|
|
1302
|
+
:param async_req bool
|
|
1303
|
+
:param object body: (required)
|
|
1304
|
+
:param str project_id: (required)
|
|
1305
|
+
:param str id: (required)
|
|
1306
|
+
:return: V1GetServiceExecutionStatusResponse
|
|
1307
|
+
If the method is called asynchronously,
|
|
1308
|
+
returns the request thread.
|
|
1309
|
+
"""
|
|
1310
|
+
kwargs['_return_http_data_only'] = True
|
|
1311
|
+
if kwargs.get('async_req'):
|
|
1312
|
+
return self.endpoint_service_get_service_execution_status_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
1313
|
+
else:
|
|
1314
|
+
(data) = self.endpoint_service_get_service_execution_status_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
1315
|
+
return data
|
|
1316
|
+
|
|
1317
|
+
def endpoint_service_get_service_execution_status_with_http_info(self, body: 'object', project_id: 'str', id: 'str', **kwargs) -> 'V1GetServiceExecutionStatusResponse': # noqa: E501
|
|
1318
|
+
"""endpoint_service_get_service_execution_status # noqa: E501
|
|
1319
|
+
|
|
1320
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1321
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1322
|
+
>>> thread = api.endpoint_service_get_service_execution_status_with_http_info(body, project_id, id, async_req=True)
|
|
1323
|
+
>>> result = thread.get()
|
|
1324
|
+
|
|
1325
|
+
:param async_req bool
|
|
1326
|
+
:param object body: (required)
|
|
1327
|
+
:param str project_id: (required)
|
|
1328
|
+
:param str id: (required)
|
|
1329
|
+
:return: V1GetServiceExecutionStatusResponse
|
|
1330
|
+
If the method is called asynchronously,
|
|
1331
|
+
returns the request thread.
|
|
1332
|
+
"""
|
|
1333
|
+
|
|
1334
|
+
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
1335
|
+
all_params.append('async_req')
|
|
1336
|
+
all_params.append('_return_http_data_only')
|
|
1337
|
+
all_params.append('_preload_content')
|
|
1338
|
+
all_params.append('_request_timeout')
|
|
1339
|
+
|
|
1340
|
+
params = locals()
|
|
1341
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1342
|
+
if key not in all_params:
|
|
1343
|
+
raise TypeError(
|
|
1344
|
+
"Got an unexpected keyword argument '%s'"
|
|
1345
|
+
" to method endpoint_service_get_service_execution_status" % key
|
|
1346
|
+
)
|
|
1347
|
+
params[key] = val
|
|
1348
|
+
del params['kwargs']
|
|
1349
|
+
# verify the required parameter 'body' is set
|
|
1350
|
+
if ('body' not in params or
|
|
1351
|
+
params['body'] is None):
|
|
1352
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_get_service_execution_status`") # noqa: E501
|
|
1353
|
+
# verify the required parameter 'project_id' is set
|
|
1354
|
+
if ('project_id' not in params or
|
|
1355
|
+
params['project_id'] is None):
|
|
1356
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_get_service_execution_status`") # noqa: E501
|
|
1357
|
+
# verify the required parameter 'id' is set
|
|
1358
|
+
if ('id' not in params or
|
|
1359
|
+
params['id'] is None):
|
|
1360
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_get_service_execution_status`") # noqa: E501
|
|
1361
|
+
|
|
1362
|
+
collection_formats = {}
|
|
1363
|
+
|
|
1364
|
+
path_params = {}
|
|
1365
|
+
if 'project_id' in params:
|
|
1366
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1367
|
+
if 'id' in params:
|
|
1368
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
1369
|
+
|
|
1370
|
+
query_params = []
|
|
1371
|
+
|
|
1372
|
+
header_params = {}
|
|
1373
|
+
|
|
1374
|
+
form_params = []
|
|
1375
|
+
local_var_files = {}
|
|
1376
|
+
|
|
1377
|
+
body_params = None
|
|
1378
|
+
if 'body' in params:
|
|
1379
|
+
body_params = params['body']
|
|
1380
|
+
# HTTP header `Accept`
|
|
1381
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1382
|
+
['application/json']) # noqa: E501
|
|
1383
|
+
|
|
1384
|
+
# HTTP header `Content-Type`
|
|
1385
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1386
|
+
['application/json']) # noqa: E501
|
|
1387
|
+
|
|
1388
|
+
# Authentication setting
|
|
1389
|
+
auth_settings = [] # noqa: E501
|
|
1390
|
+
|
|
1391
|
+
return self.api_client.call_api(
|
|
1392
|
+
'/v1/projects/{projectId}/service-execution-status/{id}', 'POST',
|
|
1393
|
+
path_params,
|
|
1394
|
+
query_params,
|
|
1395
|
+
header_params,
|
|
1396
|
+
body=body_params,
|
|
1397
|
+
post_params=form_params,
|
|
1398
|
+
files=local_var_files,
|
|
1399
|
+
response_type='V1GetServiceExecutionStatusResponse', # noqa: E501
|
|
1400
|
+
auth_settings=auth_settings,
|
|
1401
|
+
async_req=params.get('async_req'),
|
|
1402
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1403
|
+
_preload_content=params.get('_preload_content', True),
|
|
1404
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1405
|
+
collection_formats=collection_formats)
|
|
1406
|
+
|
|
1407
|
+
def endpoint_service_list_endpoints(self, project_id: 'str', **kwargs) -> 'V1ListEndpointsResponse': # noqa: E501
|
|
1408
|
+
"""endpoint_service_list_endpoints # noqa: E501
|
|
1409
|
+
|
|
1410
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1411
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1412
|
+
>>> thread = api.endpoint_service_list_endpoints(project_id, async_req=True)
|
|
1413
|
+
>>> result = thread.get()
|
|
1414
|
+
|
|
1415
|
+
:param async_req bool
|
|
1416
|
+
:param str project_id: (required)
|
|
1417
|
+
:param str cloudspace_id:
|
|
1418
|
+
:param bool auto_start:
|
|
1419
|
+
:param str cluster_id:
|
|
1420
|
+
:param list[str] ids:
|
|
1421
|
+
:param bool active_cloudspaces:
|
|
1422
|
+
:param bool active_jobs:
|
|
1423
|
+
:return: V1ListEndpointsResponse
|
|
1424
|
+
If the method is called asynchronously,
|
|
1425
|
+
returns the request thread.
|
|
1426
|
+
"""
|
|
1427
|
+
kwargs['_return_http_data_only'] = True
|
|
1428
|
+
if kwargs.get('async_req'):
|
|
1429
|
+
return self.endpoint_service_list_endpoints_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1430
|
+
else:
|
|
1431
|
+
(data) = self.endpoint_service_list_endpoints_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1432
|
+
return data
|
|
1433
|
+
|
|
1434
|
+
def endpoint_service_list_endpoints_with_http_info(self, project_id: 'str', **kwargs) -> 'V1ListEndpointsResponse': # noqa: E501
|
|
1435
|
+
"""endpoint_service_list_endpoints # noqa: E501
|
|
1436
|
+
|
|
1437
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1438
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1439
|
+
>>> thread = api.endpoint_service_list_endpoints_with_http_info(project_id, async_req=True)
|
|
1440
|
+
>>> result = thread.get()
|
|
1441
|
+
|
|
1442
|
+
:param async_req bool
|
|
1443
|
+
:param str project_id: (required)
|
|
1444
|
+
:param str cloudspace_id:
|
|
1445
|
+
:param bool auto_start:
|
|
1446
|
+
:param str cluster_id:
|
|
1447
|
+
:param list[str] ids:
|
|
1448
|
+
:param bool active_cloudspaces:
|
|
1449
|
+
:param bool active_jobs:
|
|
1450
|
+
:return: V1ListEndpointsResponse
|
|
1451
|
+
If the method is called asynchronously,
|
|
1452
|
+
returns the request thread.
|
|
1453
|
+
"""
|
|
1454
|
+
|
|
1455
|
+
all_params = ['project_id', 'cloudspace_id', 'auto_start', 'cluster_id', 'ids', 'active_cloudspaces', 'active_jobs'] # noqa: E501
|
|
1456
|
+
all_params.append('async_req')
|
|
1457
|
+
all_params.append('_return_http_data_only')
|
|
1458
|
+
all_params.append('_preload_content')
|
|
1459
|
+
all_params.append('_request_timeout')
|
|
1460
|
+
|
|
1461
|
+
params = locals()
|
|
1462
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1463
|
+
if key not in all_params:
|
|
1464
|
+
raise TypeError(
|
|
1465
|
+
"Got an unexpected keyword argument '%s'"
|
|
1466
|
+
" to method endpoint_service_list_endpoints" % key
|
|
1467
|
+
)
|
|
1468
|
+
params[key] = val
|
|
1469
|
+
del params['kwargs']
|
|
1470
|
+
# verify the required parameter 'project_id' is set
|
|
1471
|
+
if ('project_id' not in params or
|
|
1472
|
+
params['project_id'] is None):
|
|
1473
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_list_endpoints`") # noqa: E501
|
|
1474
|
+
|
|
1475
|
+
collection_formats = {}
|
|
1476
|
+
|
|
1477
|
+
path_params = {}
|
|
1478
|
+
if 'project_id' in params:
|
|
1479
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1480
|
+
|
|
1481
|
+
query_params = []
|
|
1482
|
+
if 'cloudspace_id' in params:
|
|
1483
|
+
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
1484
|
+
if 'auto_start' in params:
|
|
1485
|
+
query_params.append(('autoStart', params['auto_start'])) # noqa: E501
|
|
1486
|
+
if 'cluster_id' in params:
|
|
1487
|
+
query_params.append(('clusterId', params['cluster_id'])) # noqa: E501
|
|
1488
|
+
if 'ids' in params:
|
|
1489
|
+
query_params.append(('ids', params['ids'])) # noqa: E501
|
|
1490
|
+
collection_formats['ids'] = 'multi' # noqa: E501
|
|
1491
|
+
if 'active_cloudspaces' in params:
|
|
1492
|
+
query_params.append(('activeCloudspaces', params['active_cloudspaces'])) # noqa: E501
|
|
1493
|
+
if 'active_jobs' in params:
|
|
1494
|
+
query_params.append(('activeJobs', params['active_jobs'])) # noqa: E501
|
|
1495
|
+
|
|
1496
|
+
header_params = {}
|
|
1497
|
+
|
|
1498
|
+
form_params = []
|
|
1499
|
+
local_var_files = {}
|
|
1500
|
+
|
|
1501
|
+
body_params = None
|
|
1502
|
+
# HTTP header `Accept`
|
|
1503
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1504
|
+
['application/json']) # noqa: E501
|
|
1505
|
+
|
|
1506
|
+
# Authentication setting
|
|
1507
|
+
auth_settings = [] # noqa: E501
|
|
1508
|
+
|
|
1509
|
+
return self.api_client.call_api(
|
|
1510
|
+
'/v1/projects/{projectId}/endpoints', 'GET',
|
|
1511
|
+
path_params,
|
|
1512
|
+
query_params,
|
|
1513
|
+
header_params,
|
|
1514
|
+
body=body_params,
|
|
1515
|
+
post_params=form_params,
|
|
1516
|
+
files=local_var_files,
|
|
1517
|
+
response_type='V1ListEndpointsResponse', # noqa: E501
|
|
1518
|
+
auth_settings=auth_settings,
|
|
1519
|
+
async_req=params.get('async_req'),
|
|
1520
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1521
|
+
_preload_content=params.get('_preload_content', True),
|
|
1522
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1523
|
+
collection_formats=collection_formats)
|
|
1524
|
+
|
|
1525
|
+
def endpoint_service_list_file_endpoints(self, project_id: 'str', **kwargs) -> 'V1ListFileEndpointsResponse': # noqa: E501
|
|
1526
|
+
"""endpoint_service_list_file_endpoints # noqa: E501
|
|
1527
|
+
|
|
1528
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1529
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1530
|
+
>>> thread = api.endpoint_service_list_file_endpoints(project_id, async_req=True)
|
|
1531
|
+
>>> result = thread.get()
|
|
1532
|
+
|
|
1533
|
+
:param async_req bool
|
|
1534
|
+
:param str project_id: (required)
|
|
1535
|
+
:param str cloudspace_id:
|
|
1536
|
+
:return: V1ListFileEndpointsResponse
|
|
1537
|
+
If the method is called asynchronously,
|
|
1538
|
+
returns the request thread.
|
|
1539
|
+
"""
|
|
1540
|
+
kwargs['_return_http_data_only'] = True
|
|
1541
|
+
if kwargs.get('async_req'):
|
|
1542
|
+
return self.endpoint_service_list_file_endpoints_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1543
|
+
else:
|
|
1544
|
+
(data) = self.endpoint_service_list_file_endpoints_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1545
|
+
return data
|
|
1546
|
+
|
|
1547
|
+
def endpoint_service_list_file_endpoints_with_http_info(self, project_id: 'str', **kwargs) -> 'V1ListFileEndpointsResponse': # noqa: E501
|
|
1548
|
+
"""endpoint_service_list_file_endpoints # noqa: E501
|
|
1549
|
+
|
|
1550
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1551
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1552
|
+
>>> thread = api.endpoint_service_list_file_endpoints_with_http_info(project_id, async_req=True)
|
|
1553
|
+
>>> result = thread.get()
|
|
1554
|
+
|
|
1555
|
+
:param async_req bool
|
|
1556
|
+
:param str project_id: (required)
|
|
1557
|
+
:param str cloudspace_id:
|
|
1558
|
+
:return: V1ListFileEndpointsResponse
|
|
1559
|
+
If the method is called asynchronously,
|
|
1560
|
+
returns the request thread.
|
|
1561
|
+
"""
|
|
1562
|
+
|
|
1563
|
+
all_params = ['project_id', 'cloudspace_id'] # noqa: E501
|
|
1564
|
+
all_params.append('async_req')
|
|
1565
|
+
all_params.append('_return_http_data_only')
|
|
1566
|
+
all_params.append('_preload_content')
|
|
1567
|
+
all_params.append('_request_timeout')
|
|
1568
|
+
|
|
1569
|
+
params = locals()
|
|
1570
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1571
|
+
if key not in all_params:
|
|
1572
|
+
raise TypeError(
|
|
1573
|
+
"Got an unexpected keyword argument '%s'"
|
|
1574
|
+
" to method endpoint_service_list_file_endpoints" % key
|
|
1575
|
+
)
|
|
1576
|
+
params[key] = val
|
|
1577
|
+
del params['kwargs']
|
|
1578
|
+
# verify the required parameter 'project_id' is set
|
|
1579
|
+
if ('project_id' not in params or
|
|
1580
|
+
params['project_id'] is None):
|
|
1581
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_list_file_endpoints`") # noqa: E501
|
|
1582
|
+
|
|
1583
|
+
collection_formats = {}
|
|
1584
|
+
|
|
1585
|
+
path_params = {}
|
|
1586
|
+
if 'project_id' in params:
|
|
1587
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1588
|
+
|
|
1589
|
+
query_params = []
|
|
1590
|
+
if 'cloudspace_id' in params:
|
|
1591
|
+
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
1592
|
+
|
|
1593
|
+
header_params = {}
|
|
1594
|
+
|
|
1595
|
+
form_params = []
|
|
1596
|
+
local_var_files = {}
|
|
1597
|
+
|
|
1598
|
+
body_params = None
|
|
1599
|
+
# HTTP header `Accept`
|
|
1600
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1601
|
+
['application/json']) # noqa: E501
|
|
1602
|
+
|
|
1603
|
+
# Authentication setting
|
|
1604
|
+
auth_settings = [] # noqa: E501
|
|
1605
|
+
|
|
1606
|
+
return self.api_client.call_api(
|
|
1607
|
+
'/v1/projects/{projectId}/file-endpoints', 'GET',
|
|
1608
|
+
path_params,
|
|
1609
|
+
query_params,
|
|
1610
|
+
header_params,
|
|
1611
|
+
body=body_params,
|
|
1612
|
+
post_params=form_params,
|
|
1613
|
+
files=local_var_files,
|
|
1614
|
+
response_type='V1ListFileEndpointsResponse', # noqa: E501
|
|
1615
|
+
auth_settings=auth_settings,
|
|
1616
|
+
async_req=params.get('async_req'),
|
|
1617
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1618
|
+
_preload_content=params.get('_preload_content', True),
|
|
1619
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1620
|
+
collection_formats=collection_formats)
|
|
1621
|
+
|
|
1622
|
+
def endpoint_service_list_published_file_endpoints(self, project_id: 'str', **kwargs) -> 'V1ListFileEndpointsResponse': # noqa: E501
|
|
1623
|
+
"""endpoint_service_list_published_file_endpoints # noqa: E501
|
|
1624
|
+
|
|
1625
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1626
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1627
|
+
>>> thread = api.endpoint_service_list_published_file_endpoints(project_id, async_req=True)
|
|
1628
|
+
>>> result = thread.get()
|
|
1629
|
+
|
|
1630
|
+
:param async_req bool
|
|
1631
|
+
:param str project_id: (required)
|
|
1632
|
+
:param str cloudspace_id:
|
|
1633
|
+
:return: V1ListFileEndpointsResponse
|
|
1634
|
+
If the method is called asynchronously,
|
|
1635
|
+
returns the request thread.
|
|
1636
|
+
"""
|
|
1637
|
+
kwargs['_return_http_data_only'] = True
|
|
1638
|
+
if kwargs.get('async_req'):
|
|
1639
|
+
return self.endpoint_service_list_published_file_endpoints_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1640
|
+
else:
|
|
1641
|
+
(data) = self.endpoint_service_list_published_file_endpoints_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1642
|
+
return data
|
|
1643
|
+
|
|
1644
|
+
def endpoint_service_list_published_file_endpoints_with_http_info(self, project_id: 'str', **kwargs) -> 'V1ListFileEndpointsResponse': # noqa: E501
|
|
1645
|
+
"""endpoint_service_list_published_file_endpoints # noqa: E501
|
|
1646
|
+
|
|
1647
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1648
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1649
|
+
>>> thread = api.endpoint_service_list_published_file_endpoints_with_http_info(project_id, async_req=True)
|
|
1650
|
+
>>> result = thread.get()
|
|
1651
|
+
|
|
1652
|
+
:param async_req bool
|
|
1653
|
+
:param str project_id: (required)
|
|
1654
|
+
:param str cloudspace_id:
|
|
1655
|
+
:return: V1ListFileEndpointsResponse
|
|
1656
|
+
If the method is called asynchronously,
|
|
1657
|
+
returns the request thread.
|
|
1658
|
+
"""
|
|
1659
|
+
|
|
1660
|
+
all_params = ['project_id', 'cloudspace_id'] # noqa: E501
|
|
1661
|
+
all_params.append('async_req')
|
|
1662
|
+
all_params.append('_return_http_data_only')
|
|
1663
|
+
all_params.append('_preload_content')
|
|
1664
|
+
all_params.append('_request_timeout')
|
|
1665
|
+
|
|
1666
|
+
params = locals()
|
|
1667
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1668
|
+
if key not in all_params:
|
|
1669
|
+
raise TypeError(
|
|
1670
|
+
"Got an unexpected keyword argument '%s'"
|
|
1671
|
+
" to method endpoint_service_list_published_file_endpoints" % key
|
|
1672
|
+
)
|
|
1673
|
+
params[key] = val
|
|
1674
|
+
del params['kwargs']
|
|
1675
|
+
# verify the required parameter 'project_id' is set
|
|
1676
|
+
if ('project_id' not in params or
|
|
1677
|
+
params['project_id'] is None):
|
|
1678
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_list_published_file_endpoints`") # noqa: E501
|
|
1679
|
+
|
|
1680
|
+
collection_formats = {}
|
|
1681
|
+
|
|
1682
|
+
path_params = {}
|
|
1683
|
+
if 'project_id' in params:
|
|
1684
|
+
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1685
|
+
|
|
1686
|
+
query_params = []
|
|
1687
|
+
if 'cloudspace_id' in params:
|
|
1688
|
+
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
1689
|
+
|
|
1690
|
+
header_params = {}
|
|
1691
|
+
|
|
1692
|
+
form_params = []
|
|
1693
|
+
local_var_files = {}
|
|
1694
|
+
|
|
1695
|
+
body_params = None
|
|
1696
|
+
# HTTP header `Accept`
|
|
1697
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1698
|
+
['application/json']) # noqa: E501
|
|
1699
|
+
|
|
1700
|
+
# Authentication setting
|
|
1701
|
+
auth_settings = [] # noqa: E501
|
|
1702
|
+
|
|
1703
|
+
return self.api_client.call_api(
|
|
1704
|
+
'/v1/projects/{projectId}/file-endpoints-published', 'GET',
|
|
1705
|
+
path_params,
|
|
1706
|
+
query_params,
|
|
1707
|
+
header_params,
|
|
1708
|
+
body=body_params,
|
|
1709
|
+
post_params=form_params,
|
|
1710
|
+
files=local_var_files,
|
|
1711
|
+
response_type='V1ListFileEndpointsResponse', # noqa: E501
|
|
1712
|
+
auth_settings=auth_settings,
|
|
1713
|
+
async_req=params.get('async_req'),
|
|
1714
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1715
|
+
_preload_content=params.get('_preload_content', True),
|
|
1716
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1717
|
+
collection_formats=collection_formats)
|
|
1718
|
+
|
|
1719
|
+
def endpoint_service_list_service_execution_lightningapp_instances(self, project_id: 'str', **kwargs) -> 'V1ListServiceExecutionLightningappInstancesResponse': # noqa: E501
|
|
1720
|
+
"""endpoint_service_list_service_execution_lightningapp_instances # noqa: E501
|
|
1721
|
+
|
|
1722
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1723
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1724
|
+
>>> thread = api.endpoint_service_list_service_execution_lightningapp_instances(project_id, async_req=True)
|
|
1725
|
+
>>> result = thread.get()
|
|
1726
|
+
|
|
1727
|
+
:param async_req bool
|
|
1728
|
+
:param str project_id: (required)
|
|
1729
|
+
:param str id:
|
|
1730
|
+
:param str user_id:
|
|
1731
|
+
:return: V1ListServiceExecutionLightningappInstancesResponse
|
|
1732
|
+
If the method is called asynchronously,
|
|
1733
|
+
returns the request thread.
|
|
1734
|
+
"""
|
|
1735
|
+
kwargs['_return_http_data_only'] = True
|
|
1736
|
+
if kwargs.get('async_req'):
|
|
1737
|
+
return self.endpoint_service_list_service_execution_lightningapp_instances_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1738
|
+
else:
|
|
1739
|
+
(data) = self.endpoint_service_list_service_execution_lightningapp_instances_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1740
|
+
return data
|
|
1741
|
+
|
|
1742
|
+
def endpoint_service_list_service_execution_lightningapp_instances_with_http_info(self, project_id: 'str', **kwargs) -> 'V1ListServiceExecutionLightningappInstancesResponse': # noqa: E501
|
|
1743
|
+
"""endpoint_service_list_service_execution_lightningapp_instances # noqa: E501
|
|
1744
|
+
|
|
1745
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1746
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1747
|
+
>>> thread = api.endpoint_service_list_service_execution_lightningapp_instances_with_http_info(project_id, async_req=True)
|
|
1748
|
+
>>> result = thread.get()
|
|
1749
|
+
|
|
1750
|
+
:param async_req bool
|
|
1751
|
+
:param str project_id: (required)
|
|
1752
|
+
:param str id:
|
|
1753
|
+
:param str user_id:
|
|
1754
|
+
:return: V1ListServiceExecutionLightningappInstancesResponse
|
|
1755
|
+
If the method is called asynchronously,
|
|
1756
|
+
returns the request thread.
|
|
1757
|
+
"""
|
|
1758
|
+
|
|
1759
|
+
all_params = ['project_id', 'id', 'user_id'] # noqa: E501
|
|
295
1760
|
all_params.append('async_req')
|
|
296
1761
|
all_params.append('_return_http_data_only')
|
|
297
1762
|
all_params.append('_preload_content')
|
|
@@ -302,28 +1767,26 @@ class EndpointServiceApi(object):
|
|
|
302
1767
|
if key not in all_params:
|
|
303
1768
|
raise TypeError(
|
|
304
1769
|
"Got an unexpected keyword argument '%s'"
|
|
305
|
-
" to method
|
|
1770
|
+
" to method endpoint_service_list_service_execution_lightningapp_instances" % key
|
|
306
1771
|
)
|
|
307
1772
|
params[key] = val
|
|
308
1773
|
del params['kwargs']
|
|
309
1774
|
# verify the required parameter 'project_id' is set
|
|
310
1775
|
if ('project_id' not in params or
|
|
311
1776
|
params['project_id'] is None):
|
|
312
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
313
|
-
# verify the required parameter 'id' is set
|
|
314
|
-
if ('id' not in params or
|
|
315
|
-
params['id'] is None):
|
|
316
|
-
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_delete_endpoint`") # noqa: E501
|
|
1777
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_list_service_execution_lightningapp_instances`") # noqa: E501
|
|
317
1778
|
|
|
318
1779
|
collection_formats = {}
|
|
319
1780
|
|
|
320
1781
|
path_params = {}
|
|
321
1782
|
if 'project_id' in params:
|
|
322
1783
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
323
|
-
if 'id' in params:
|
|
324
|
-
path_params['id'] = params['id'] # noqa: E501
|
|
325
1784
|
|
|
326
1785
|
query_params = []
|
|
1786
|
+
if 'id' in params:
|
|
1787
|
+
query_params.append(('id', params['id'])) # noqa: E501
|
|
1788
|
+
if 'user_id' in params:
|
|
1789
|
+
query_params.append(('userId', params['user_id'])) # noqa: E501
|
|
327
1790
|
|
|
328
1791
|
header_params = {}
|
|
329
1792
|
|
|
@@ -339,14 +1802,14 @@ class EndpointServiceApi(object):
|
|
|
339
1802
|
auth_settings = [] # noqa: E501
|
|
340
1803
|
|
|
341
1804
|
return self.api_client.call_api(
|
|
342
|
-
'/v1/projects/{projectId}/
|
|
1805
|
+
'/v1/projects/{projectId}/service-execution-appinstances', 'GET',
|
|
343
1806
|
path_params,
|
|
344
1807
|
query_params,
|
|
345
1808
|
header_params,
|
|
346
1809
|
body=body_params,
|
|
347
1810
|
post_params=form_params,
|
|
348
1811
|
files=local_var_files,
|
|
349
|
-
response_type='
|
|
1812
|
+
response_type='V1ListServiceExecutionLightningappInstancesResponse', # noqa: E501
|
|
350
1813
|
auth_settings=auth_settings,
|
|
351
1814
|
async_req=params.get('async_req'),
|
|
352
1815
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -354,47 +1817,43 @@ class EndpointServiceApi(object):
|
|
|
354
1817
|
_request_timeout=params.get('_request_timeout'),
|
|
355
1818
|
collection_formats=collection_formats)
|
|
356
1819
|
|
|
357
|
-
def
|
|
358
|
-
"""
|
|
1820
|
+
def endpoint_service_list_service_executions(self, project_id: 'str', **kwargs) -> 'V1ListServiceExecutionsResponse': # noqa: E501
|
|
1821
|
+
"""endpoint_service_list_service_executions # noqa: E501
|
|
359
1822
|
|
|
360
1823
|
This method makes a synchronous HTTP request by default. To make an
|
|
361
1824
|
asynchronous HTTP request, please pass async_req=True
|
|
362
|
-
>>> thread = api.
|
|
1825
|
+
>>> thread = api.endpoint_service_list_service_executions(project_id, async_req=True)
|
|
363
1826
|
>>> result = thread.get()
|
|
364
1827
|
|
|
365
1828
|
:param async_req bool
|
|
366
1829
|
:param str project_id: (required)
|
|
367
|
-
:
|
|
368
|
-
:param str cloudspace_id:
|
|
369
|
-
:return: V1DeleteFileEndpointResponse
|
|
1830
|
+
:return: V1ListServiceExecutionsResponse
|
|
370
1831
|
If the method is called asynchronously,
|
|
371
1832
|
returns the request thread.
|
|
372
1833
|
"""
|
|
373
1834
|
kwargs['_return_http_data_only'] = True
|
|
374
1835
|
if kwargs.get('async_req'):
|
|
375
|
-
return self.
|
|
1836
|
+
return self.endpoint_service_list_service_executions_with_http_info(project_id, **kwargs) # noqa: E501
|
|
376
1837
|
else:
|
|
377
|
-
(data) = self.
|
|
1838
|
+
(data) = self.endpoint_service_list_service_executions_with_http_info(project_id, **kwargs) # noqa: E501
|
|
378
1839
|
return data
|
|
379
1840
|
|
|
380
|
-
def
|
|
381
|
-
"""
|
|
1841
|
+
def endpoint_service_list_service_executions_with_http_info(self, project_id: 'str', **kwargs) -> 'V1ListServiceExecutionsResponse': # noqa: E501
|
|
1842
|
+
"""endpoint_service_list_service_executions # noqa: E501
|
|
382
1843
|
|
|
383
1844
|
This method makes a synchronous HTTP request by default. To make an
|
|
384
1845
|
asynchronous HTTP request, please pass async_req=True
|
|
385
|
-
>>> thread = api.
|
|
1846
|
+
>>> thread = api.endpoint_service_list_service_executions_with_http_info(project_id, async_req=True)
|
|
386
1847
|
>>> result = thread.get()
|
|
387
1848
|
|
|
388
1849
|
:param async_req bool
|
|
389
1850
|
:param str project_id: (required)
|
|
390
|
-
:
|
|
391
|
-
:param str cloudspace_id:
|
|
392
|
-
:return: V1DeleteFileEndpointResponse
|
|
1851
|
+
:return: V1ListServiceExecutionsResponse
|
|
393
1852
|
If the method is called asynchronously,
|
|
394
1853
|
returns the request thread.
|
|
395
1854
|
"""
|
|
396
1855
|
|
|
397
|
-
all_params = ['project_id'
|
|
1856
|
+
all_params = ['project_id'] # noqa: E501
|
|
398
1857
|
all_params.append('async_req')
|
|
399
1858
|
all_params.append('_return_http_data_only')
|
|
400
1859
|
all_params.append('_preload_content')
|
|
@@ -405,30 +1864,22 @@ class EndpointServiceApi(object):
|
|
|
405
1864
|
if key not in all_params:
|
|
406
1865
|
raise TypeError(
|
|
407
1866
|
"Got an unexpected keyword argument '%s'"
|
|
408
|
-
" to method
|
|
1867
|
+
" to method endpoint_service_list_service_executions" % key
|
|
409
1868
|
)
|
|
410
1869
|
params[key] = val
|
|
411
1870
|
del params['kwargs']
|
|
412
1871
|
# verify the required parameter 'project_id' is set
|
|
413
1872
|
if ('project_id' not in params or
|
|
414
1873
|
params['project_id'] is None):
|
|
415
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
416
|
-
# verify the required parameter 'id' is set
|
|
417
|
-
if ('id' not in params or
|
|
418
|
-
params['id'] is None):
|
|
419
|
-
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_delete_file_endpoint`") # noqa: E501
|
|
1874
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_list_service_executions`") # noqa: E501
|
|
420
1875
|
|
|
421
1876
|
collection_formats = {}
|
|
422
1877
|
|
|
423
1878
|
path_params = {}
|
|
424
1879
|
if 'project_id' in params:
|
|
425
1880
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
426
|
-
if 'id' in params:
|
|
427
|
-
path_params['id'] = params['id'] # noqa: E501
|
|
428
1881
|
|
|
429
1882
|
query_params = []
|
|
430
|
-
if 'cloudspace_id' in params:
|
|
431
|
-
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
432
1883
|
|
|
433
1884
|
header_params = {}
|
|
434
1885
|
|
|
@@ -444,14 +1895,14 @@ class EndpointServiceApi(object):
|
|
|
444
1895
|
auth_settings = [] # noqa: E501
|
|
445
1896
|
|
|
446
1897
|
return self.api_client.call_api(
|
|
447
|
-
'/v1/projects/{projectId}/
|
|
1898
|
+
'/v1/projects/{projectId}/service-execution', 'GET',
|
|
448
1899
|
path_params,
|
|
449
1900
|
query_params,
|
|
450
1901
|
header_params,
|
|
451
1902
|
body=body_params,
|
|
452
1903
|
post_params=form_params,
|
|
453
1904
|
files=local_var_files,
|
|
454
|
-
response_type='
|
|
1905
|
+
response_type='V1ListServiceExecutionsResponse', # noqa: E501
|
|
455
1906
|
auth_settings=auth_settings,
|
|
456
1907
|
async_req=params.get('async_req'),
|
|
457
1908
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -459,47 +1910,47 @@ class EndpointServiceApi(object):
|
|
|
459
1910
|
_request_timeout=params.get('_request_timeout'),
|
|
460
1911
|
collection_formats=collection_formats)
|
|
461
1912
|
|
|
462
|
-
def
|
|
463
|
-
"""
|
|
1913
|
+
def endpoint_service_run_service_execution(self, body: 'object', project_id: 'str', id: 'str', **kwargs) -> 'V1ServiceExecution': # noqa: E501
|
|
1914
|
+
"""endpoint_service_run_service_execution # noqa: E501
|
|
464
1915
|
|
|
465
1916
|
This method makes a synchronous HTTP request by default. To make an
|
|
466
1917
|
asynchronous HTTP request, please pass async_req=True
|
|
467
|
-
>>> thread = api.
|
|
1918
|
+
>>> thread = api.endpoint_service_run_service_execution(body, project_id, id, async_req=True)
|
|
468
1919
|
>>> result = thread.get()
|
|
469
1920
|
|
|
470
1921
|
:param async_req bool
|
|
1922
|
+
:param object body: (required)
|
|
471
1923
|
:param str project_id: (required)
|
|
472
|
-
:param str
|
|
473
|
-
:
|
|
474
|
-
:return: V1Endpoint
|
|
1924
|
+
:param str id: (required)
|
|
1925
|
+
:return: V1ServiceExecution
|
|
475
1926
|
If the method is called asynchronously,
|
|
476
1927
|
returns the request thread.
|
|
477
1928
|
"""
|
|
478
1929
|
kwargs['_return_http_data_only'] = True
|
|
479
1930
|
if kwargs.get('async_req'):
|
|
480
|
-
return self.
|
|
1931
|
+
return self.endpoint_service_run_service_execution_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
481
1932
|
else:
|
|
482
|
-
(data) = self.
|
|
1933
|
+
(data) = self.endpoint_service_run_service_execution_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
483
1934
|
return data
|
|
484
1935
|
|
|
485
|
-
def
|
|
486
|
-
"""
|
|
1936
|
+
def endpoint_service_run_service_execution_with_http_info(self, body: 'object', project_id: 'str', id: 'str', **kwargs) -> 'V1ServiceExecution': # noqa: E501
|
|
1937
|
+
"""endpoint_service_run_service_execution # noqa: E501
|
|
487
1938
|
|
|
488
1939
|
This method makes a synchronous HTTP request by default. To make an
|
|
489
1940
|
asynchronous HTTP request, please pass async_req=True
|
|
490
|
-
>>> thread = api.
|
|
1941
|
+
>>> thread = api.endpoint_service_run_service_execution_with_http_info(body, project_id, id, async_req=True)
|
|
491
1942
|
>>> result = thread.get()
|
|
492
1943
|
|
|
493
1944
|
:param async_req bool
|
|
1945
|
+
:param object body: (required)
|
|
494
1946
|
:param str project_id: (required)
|
|
495
|
-
:param str
|
|
496
|
-
:
|
|
497
|
-
:return: V1Endpoint
|
|
1947
|
+
:param str id: (required)
|
|
1948
|
+
:return: V1ServiceExecution
|
|
498
1949
|
If the method is called asynchronously,
|
|
499
1950
|
returns the request thread.
|
|
500
1951
|
"""
|
|
501
1952
|
|
|
502
|
-
all_params = ['
|
|
1953
|
+
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
503
1954
|
all_params.append('async_req')
|
|
504
1955
|
all_params.append('_return_http_data_only')
|
|
505
1956
|
all_params.append('_preload_content')
|
|
@@ -510,30 +1961,32 @@ class EndpointServiceApi(object):
|
|
|
510
1961
|
if key not in all_params:
|
|
511
1962
|
raise TypeError(
|
|
512
1963
|
"Got an unexpected keyword argument '%s'"
|
|
513
|
-
" to method
|
|
1964
|
+
" to method endpoint_service_run_service_execution" % key
|
|
514
1965
|
)
|
|
515
1966
|
params[key] = val
|
|
516
1967
|
del params['kwargs']
|
|
1968
|
+
# verify the required parameter 'body' is set
|
|
1969
|
+
if ('body' not in params or
|
|
1970
|
+
params['body'] is None):
|
|
1971
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_run_service_execution`") # noqa: E501
|
|
517
1972
|
# verify the required parameter 'project_id' is set
|
|
518
1973
|
if ('project_id' not in params or
|
|
519
1974
|
params['project_id'] is None):
|
|
520
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
521
|
-
# verify the required parameter '
|
|
522
|
-
if ('
|
|
523
|
-
params['
|
|
524
|
-
raise ValueError("Missing the required parameter `
|
|
1975
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_run_service_execution`") # noqa: E501
|
|
1976
|
+
# verify the required parameter 'id' is set
|
|
1977
|
+
if ('id' not in params or
|
|
1978
|
+
params['id'] is None):
|
|
1979
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_run_service_execution`") # noqa: E501
|
|
525
1980
|
|
|
526
1981
|
collection_formats = {}
|
|
527
1982
|
|
|
528
1983
|
path_params = {}
|
|
529
1984
|
if 'project_id' in params:
|
|
530
1985
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
531
|
-
if '
|
|
532
|
-
path_params['
|
|
1986
|
+
if 'id' in params:
|
|
1987
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
533
1988
|
|
|
534
1989
|
query_params = []
|
|
535
|
-
if 'ref_type' in params:
|
|
536
|
-
query_params.append(('refType', params['ref_type'])) # noqa: E501
|
|
537
1990
|
|
|
538
1991
|
header_params = {}
|
|
539
1992
|
|
|
@@ -541,22 +1994,28 @@ class EndpointServiceApi(object):
|
|
|
541
1994
|
local_var_files = {}
|
|
542
1995
|
|
|
543
1996
|
body_params = None
|
|
1997
|
+
if 'body' in params:
|
|
1998
|
+
body_params = params['body']
|
|
544
1999
|
# HTTP header `Accept`
|
|
545
2000
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
546
2001
|
['application/json']) # noqa: E501
|
|
547
2002
|
|
|
2003
|
+
# HTTP header `Content-Type`
|
|
2004
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2005
|
+
['application/json']) # noqa: E501
|
|
2006
|
+
|
|
548
2007
|
# Authentication setting
|
|
549
2008
|
auth_settings = [] # noqa: E501
|
|
550
2009
|
|
|
551
2010
|
return self.api_client.call_api(
|
|
552
|
-
'/v1/projects/{projectId}/
|
|
2011
|
+
'/v1/projects/{projectId}/service-execution/{id}/run', 'POST',
|
|
553
2012
|
path_params,
|
|
554
2013
|
query_params,
|
|
555
2014
|
header_params,
|
|
556
2015
|
body=body_params,
|
|
557
2016
|
post_params=form_params,
|
|
558
2017
|
files=local_var_files,
|
|
559
|
-
response_type='
|
|
2018
|
+
response_type='V1ServiceExecution', # noqa: E501
|
|
560
2019
|
auth_settings=auth_settings,
|
|
561
2020
|
async_req=params.get('async_req'),
|
|
562
2021
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -564,45 +2023,47 @@ class EndpointServiceApi(object):
|
|
|
564
2023
|
_request_timeout=params.get('_request_timeout'),
|
|
565
2024
|
collection_formats=collection_formats)
|
|
566
2025
|
|
|
567
|
-
def
|
|
568
|
-
"""
|
|
2026
|
+
def endpoint_service_update_endpoint(self, body: 'EndpointsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
2027
|
+
"""endpoint_service_update_endpoint # noqa: E501
|
|
569
2028
|
|
|
570
2029
|
This method makes a synchronous HTTP request by default. To make an
|
|
571
2030
|
asynchronous HTTP request, please pass async_req=True
|
|
572
|
-
>>> thread = api.
|
|
2031
|
+
>>> thread = api.endpoint_service_update_endpoint(body, project_id, id, async_req=True)
|
|
573
2032
|
>>> result = thread.get()
|
|
574
2033
|
|
|
575
2034
|
:param async_req bool
|
|
2035
|
+
:param EndpointsIdBody body: (required)
|
|
576
2036
|
:param str project_id: (required)
|
|
577
2037
|
:param str id: (required)
|
|
578
|
-
:return:
|
|
2038
|
+
:return: V1Endpoint
|
|
579
2039
|
If the method is called asynchronously,
|
|
580
2040
|
returns the request thread.
|
|
581
2041
|
"""
|
|
582
2042
|
kwargs['_return_http_data_only'] = True
|
|
583
2043
|
if kwargs.get('async_req'):
|
|
584
|
-
return self.
|
|
2044
|
+
return self.endpoint_service_update_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
585
2045
|
else:
|
|
586
|
-
(data) = self.
|
|
2046
|
+
(data) = self.endpoint_service_update_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
587
2047
|
return data
|
|
588
2048
|
|
|
589
|
-
def
|
|
590
|
-
"""
|
|
2049
|
+
def endpoint_service_update_endpoint_with_http_info(self, body: 'EndpointsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
2050
|
+
"""endpoint_service_update_endpoint # noqa: E501
|
|
591
2051
|
|
|
592
2052
|
This method makes a synchronous HTTP request by default. To make an
|
|
593
2053
|
asynchronous HTTP request, please pass async_req=True
|
|
594
|
-
>>> thread = api.
|
|
2054
|
+
>>> thread = api.endpoint_service_update_endpoint_with_http_info(body, project_id, id, async_req=True)
|
|
595
2055
|
>>> result = thread.get()
|
|
596
2056
|
|
|
597
2057
|
:param async_req bool
|
|
2058
|
+
:param EndpointsIdBody body: (required)
|
|
598
2059
|
:param str project_id: (required)
|
|
599
2060
|
:param str id: (required)
|
|
600
|
-
:return:
|
|
2061
|
+
:return: V1Endpoint
|
|
601
2062
|
If the method is called asynchronously,
|
|
602
2063
|
returns the request thread.
|
|
603
2064
|
"""
|
|
604
2065
|
|
|
605
|
-
all_params = ['project_id', 'id'] # noqa: E501
|
|
2066
|
+
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
606
2067
|
all_params.append('async_req')
|
|
607
2068
|
all_params.append('_return_http_data_only')
|
|
608
2069
|
all_params.append('_preload_content')
|
|
@@ -613,18 +2074,22 @@ class EndpointServiceApi(object):
|
|
|
613
2074
|
if key not in all_params:
|
|
614
2075
|
raise TypeError(
|
|
615
2076
|
"Got an unexpected keyword argument '%s'"
|
|
616
|
-
" to method
|
|
2077
|
+
" to method endpoint_service_update_endpoint" % key
|
|
617
2078
|
)
|
|
618
2079
|
params[key] = val
|
|
619
2080
|
del params['kwargs']
|
|
2081
|
+
# verify the required parameter 'body' is set
|
|
2082
|
+
if ('body' not in params or
|
|
2083
|
+
params['body'] is None):
|
|
2084
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_update_endpoint`") # noqa: E501
|
|
620
2085
|
# verify the required parameter 'project_id' is set
|
|
621
2086
|
if ('project_id' not in params or
|
|
622
2087
|
params['project_id'] is None):
|
|
623
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2088
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_update_endpoint`") # noqa: E501
|
|
624
2089
|
# verify the required parameter 'id' is set
|
|
625
2090
|
if ('id' not in params or
|
|
626
2091
|
params['id'] is None):
|
|
627
|
-
raise ValueError("Missing the required parameter `id` when calling `
|
|
2092
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_update_endpoint`") # noqa: E501
|
|
628
2093
|
|
|
629
2094
|
collection_formats = {}
|
|
630
2095
|
|
|
@@ -642,22 +2107,28 @@ class EndpointServiceApi(object):
|
|
|
642
2107
|
local_var_files = {}
|
|
643
2108
|
|
|
644
2109
|
body_params = None
|
|
2110
|
+
if 'body' in params:
|
|
2111
|
+
body_params = params['body']
|
|
645
2112
|
# HTTP header `Accept`
|
|
646
2113
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
647
2114
|
['application/json']) # noqa: E501
|
|
648
2115
|
|
|
2116
|
+
# HTTP header `Content-Type`
|
|
2117
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2118
|
+
['application/json']) # noqa: E501
|
|
2119
|
+
|
|
649
2120
|
# Authentication setting
|
|
650
2121
|
auth_settings = [] # noqa: E501
|
|
651
2122
|
|
|
652
2123
|
return self.api_client.call_api(
|
|
653
|
-
'/v1/projects/{projectId}/
|
|
2124
|
+
'/v1/projects/{projectId}/endpoints/{id}', 'PUT',
|
|
654
2125
|
path_params,
|
|
655
2126
|
query_params,
|
|
656
2127
|
header_params,
|
|
657
2128
|
body=body_params,
|
|
658
2129
|
post_params=form_params,
|
|
659
2130
|
files=local_var_files,
|
|
660
|
-
response_type='
|
|
2131
|
+
response_type='V1Endpoint', # noqa: E501
|
|
661
2132
|
auth_settings=auth_settings,
|
|
662
2133
|
async_req=params.get('async_req'),
|
|
663
2134
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -665,47 +2136,47 @@ class EndpointServiceApi(object):
|
|
|
665
2136
|
_request_timeout=params.get('_request_timeout'),
|
|
666
2137
|
collection_formats=collection_formats)
|
|
667
2138
|
|
|
668
|
-
def
|
|
669
|
-
"""
|
|
2139
|
+
def endpoint_service_update_file_endpoint(self, body: 'FileendpointsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1FileEndpoint': # noqa: E501
|
|
2140
|
+
"""endpoint_service_update_file_endpoint # noqa: E501
|
|
670
2141
|
|
|
671
2142
|
This method makes a synchronous HTTP request by default. To make an
|
|
672
2143
|
asynchronous HTTP request, please pass async_req=True
|
|
673
|
-
>>> thread = api.
|
|
2144
|
+
>>> thread = api.endpoint_service_update_file_endpoint(body, project_id, id, async_req=True)
|
|
674
2145
|
>>> result = thread.get()
|
|
675
2146
|
|
|
676
2147
|
:param async_req bool
|
|
2148
|
+
:param FileendpointsIdBody body: (required)
|
|
677
2149
|
:param str project_id: (required)
|
|
678
|
-
:param str
|
|
679
|
-
:
|
|
680
|
-
:return: V1ListEndpointsResponse
|
|
2150
|
+
:param str id: (required)
|
|
2151
|
+
:return: V1FileEndpoint
|
|
681
2152
|
If the method is called asynchronously,
|
|
682
2153
|
returns the request thread.
|
|
683
2154
|
"""
|
|
684
2155
|
kwargs['_return_http_data_only'] = True
|
|
685
2156
|
if kwargs.get('async_req'):
|
|
686
|
-
return self.
|
|
2157
|
+
return self.endpoint_service_update_file_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
687
2158
|
else:
|
|
688
|
-
(data) = self.
|
|
2159
|
+
(data) = self.endpoint_service_update_file_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
689
2160
|
return data
|
|
690
2161
|
|
|
691
|
-
def
|
|
692
|
-
"""
|
|
2162
|
+
def endpoint_service_update_file_endpoint_with_http_info(self, body: 'FileendpointsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1FileEndpoint': # noqa: E501
|
|
2163
|
+
"""endpoint_service_update_file_endpoint # noqa: E501
|
|
693
2164
|
|
|
694
2165
|
This method makes a synchronous HTTP request by default. To make an
|
|
695
2166
|
asynchronous HTTP request, please pass async_req=True
|
|
696
|
-
>>> thread = api.
|
|
2167
|
+
>>> thread = api.endpoint_service_update_file_endpoint_with_http_info(body, project_id, id, async_req=True)
|
|
697
2168
|
>>> result = thread.get()
|
|
698
2169
|
|
|
699
2170
|
:param async_req bool
|
|
2171
|
+
:param FileendpointsIdBody body: (required)
|
|
700
2172
|
:param str project_id: (required)
|
|
701
|
-
:param str
|
|
702
|
-
:
|
|
703
|
-
:return: V1ListEndpointsResponse
|
|
2173
|
+
:param str id: (required)
|
|
2174
|
+
:return: V1FileEndpoint
|
|
704
2175
|
If the method is called asynchronously,
|
|
705
2176
|
returns the request thread.
|
|
706
2177
|
"""
|
|
707
2178
|
|
|
708
|
-
all_params = ['
|
|
2179
|
+
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
709
2180
|
all_params.append('async_req')
|
|
710
2181
|
all_params.append('_return_http_data_only')
|
|
711
2182
|
all_params.append('_preload_content')
|
|
@@ -716,26 +2187,32 @@ class EndpointServiceApi(object):
|
|
|
716
2187
|
if key not in all_params:
|
|
717
2188
|
raise TypeError(
|
|
718
2189
|
"Got an unexpected keyword argument '%s'"
|
|
719
|
-
" to method
|
|
2190
|
+
" to method endpoint_service_update_file_endpoint" % key
|
|
720
2191
|
)
|
|
721
2192
|
params[key] = val
|
|
722
2193
|
del params['kwargs']
|
|
2194
|
+
# verify the required parameter 'body' is set
|
|
2195
|
+
if ('body' not in params or
|
|
2196
|
+
params['body'] is None):
|
|
2197
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_update_file_endpoint`") # noqa: E501
|
|
723
2198
|
# verify the required parameter 'project_id' is set
|
|
724
2199
|
if ('project_id' not in params or
|
|
725
2200
|
params['project_id'] is None):
|
|
726
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2201
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_update_file_endpoint`") # noqa: E501
|
|
2202
|
+
# verify the required parameter 'id' is set
|
|
2203
|
+
if ('id' not in params or
|
|
2204
|
+
params['id'] is None):
|
|
2205
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_update_file_endpoint`") # noqa: E501
|
|
727
2206
|
|
|
728
2207
|
collection_formats = {}
|
|
729
2208
|
|
|
730
2209
|
path_params = {}
|
|
731
2210
|
if 'project_id' in params:
|
|
732
2211
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2212
|
+
if 'id' in params:
|
|
2213
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
733
2214
|
|
|
734
2215
|
query_params = []
|
|
735
|
-
if 'cloudspace_id' in params:
|
|
736
|
-
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
737
|
-
if 'auto_start' in params:
|
|
738
|
-
query_params.append(('autoStart', params['auto_start'])) # noqa: E501
|
|
739
2216
|
|
|
740
2217
|
header_params = {}
|
|
741
2218
|
|
|
@@ -743,22 +2220,28 @@ class EndpointServiceApi(object):
|
|
|
743
2220
|
local_var_files = {}
|
|
744
2221
|
|
|
745
2222
|
body_params = None
|
|
2223
|
+
if 'body' in params:
|
|
2224
|
+
body_params = params['body']
|
|
746
2225
|
# HTTP header `Accept`
|
|
747
2226
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
748
2227
|
['application/json']) # noqa: E501
|
|
749
2228
|
|
|
2229
|
+
# HTTP header `Content-Type`
|
|
2230
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2231
|
+
['application/json']) # noqa: E501
|
|
2232
|
+
|
|
750
2233
|
# Authentication setting
|
|
751
2234
|
auth_settings = [] # noqa: E501
|
|
752
2235
|
|
|
753
2236
|
return self.api_client.call_api(
|
|
754
|
-
'/v1/projects/{projectId}/endpoints', '
|
|
2237
|
+
'/v1/projects/{projectId}/file-endpoints/{id}', 'PUT',
|
|
755
2238
|
path_params,
|
|
756
2239
|
query_params,
|
|
757
2240
|
header_params,
|
|
758
2241
|
body=body_params,
|
|
759
2242
|
post_params=form_params,
|
|
760
2243
|
files=local_var_files,
|
|
761
|
-
response_type='
|
|
2244
|
+
response_type='V1FileEndpoint', # noqa: E501
|
|
762
2245
|
auth_settings=auth_settings,
|
|
763
2246
|
async_req=params.get('async_req'),
|
|
764
2247
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -766,45 +2249,47 @@ class EndpointServiceApi(object):
|
|
|
766
2249
|
_request_timeout=params.get('_request_timeout'),
|
|
767
2250
|
collection_formats=collection_formats)
|
|
768
2251
|
|
|
769
|
-
def
|
|
770
|
-
"""
|
|
2252
|
+
def endpoint_service_update_service_execution(self, body: 'ServiceexecutionIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1ServiceExecution': # noqa: E501
|
|
2253
|
+
"""endpoint_service_update_service_execution # noqa: E501
|
|
771
2254
|
|
|
772
2255
|
This method makes a synchronous HTTP request by default. To make an
|
|
773
2256
|
asynchronous HTTP request, please pass async_req=True
|
|
774
|
-
>>> thread = api.
|
|
2257
|
+
>>> thread = api.endpoint_service_update_service_execution(body, project_id, id, async_req=True)
|
|
775
2258
|
>>> result = thread.get()
|
|
776
2259
|
|
|
777
2260
|
:param async_req bool
|
|
2261
|
+
:param ServiceexecutionIdBody body: (required)
|
|
778
2262
|
:param str project_id: (required)
|
|
779
|
-
:param str
|
|
780
|
-
:return:
|
|
2263
|
+
:param str id: (required)
|
|
2264
|
+
:return: V1ServiceExecution
|
|
781
2265
|
If the method is called asynchronously,
|
|
782
2266
|
returns the request thread.
|
|
783
2267
|
"""
|
|
784
2268
|
kwargs['_return_http_data_only'] = True
|
|
785
2269
|
if kwargs.get('async_req'):
|
|
786
|
-
return self.
|
|
2270
|
+
return self.endpoint_service_update_service_execution_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
787
2271
|
else:
|
|
788
|
-
(data) = self.
|
|
2272
|
+
(data) = self.endpoint_service_update_service_execution_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
789
2273
|
return data
|
|
790
2274
|
|
|
791
|
-
def
|
|
792
|
-
"""
|
|
2275
|
+
def endpoint_service_update_service_execution_with_http_info(self, body: 'ServiceexecutionIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1ServiceExecution': # noqa: E501
|
|
2276
|
+
"""endpoint_service_update_service_execution # noqa: E501
|
|
793
2277
|
|
|
794
2278
|
This method makes a synchronous HTTP request by default. To make an
|
|
795
2279
|
asynchronous HTTP request, please pass async_req=True
|
|
796
|
-
>>> thread = api.
|
|
2280
|
+
>>> thread = api.endpoint_service_update_service_execution_with_http_info(body, project_id, id, async_req=True)
|
|
797
2281
|
>>> result = thread.get()
|
|
798
2282
|
|
|
799
2283
|
:param async_req bool
|
|
2284
|
+
:param ServiceexecutionIdBody body: (required)
|
|
800
2285
|
:param str project_id: (required)
|
|
801
|
-
:param str
|
|
802
|
-
:return:
|
|
2286
|
+
:param str id: (required)
|
|
2287
|
+
:return: V1ServiceExecution
|
|
803
2288
|
If the method is called asynchronously,
|
|
804
2289
|
returns the request thread.
|
|
805
2290
|
"""
|
|
806
2291
|
|
|
807
|
-
all_params = ['project_id', '
|
|
2292
|
+
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
808
2293
|
all_params.append('async_req')
|
|
809
2294
|
all_params.append('_return_http_data_only')
|
|
810
2295
|
all_params.append('_preload_content')
|
|
@@ -815,24 +2300,32 @@ class EndpointServiceApi(object):
|
|
|
815
2300
|
if key not in all_params:
|
|
816
2301
|
raise TypeError(
|
|
817
2302
|
"Got an unexpected keyword argument '%s'"
|
|
818
|
-
" to method
|
|
2303
|
+
" to method endpoint_service_update_service_execution" % key
|
|
819
2304
|
)
|
|
820
2305
|
params[key] = val
|
|
821
2306
|
del params['kwargs']
|
|
2307
|
+
# verify the required parameter 'body' is set
|
|
2308
|
+
if ('body' not in params or
|
|
2309
|
+
params['body'] is None):
|
|
2310
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_update_service_execution`") # noqa: E501
|
|
822
2311
|
# verify the required parameter 'project_id' is set
|
|
823
2312
|
if ('project_id' not in params or
|
|
824
2313
|
params['project_id'] is None):
|
|
825
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2314
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_update_service_execution`") # noqa: E501
|
|
2315
|
+
# verify the required parameter 'id' is set
|
|
2316
|
+
if ('id' not in params or
|
|
2317
|
+
params['id'] is None):
|
|
2318
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_update_service_execution`") # noqa: E501
|
|
826
2319
|
|
|
827
2320
|
collection_formats = {}
|
|
828
2321
|
|
|
829
2322
|
path_params = {}
|
|
830
2323
|
if 'project_id' in params:
|
|
831
2324
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2325
|
+
if 'id' in params:
|
|
2326
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
832
2327
|
|
|
833
2328
|
query_params = []
|
|
834
|
-
if 'cloudspace_id' in params:
|
|
835
|
-
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
836
2329
|
|
|
837
2330
|
header_params = {}
|
|
838
2331
|
|
|
@@ -840,22 +2333,28 @@ class EndpointServiceApi(object):
|
|
|
840
2333
|
local_var_files = {}
|
|
841
2334
|
|
|
842
2335
|
body_params = None
|
|
2336
|
+
if 'body' in params:
|
|
2337
|
+
body_params = params['body']
|
|
843
2338
|
# HTTP header `Accept`
|
|
844
2339
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
845
2340
|
['application/json']) # noqa: E501
|
|
846
2341
|
|
|
2342
|
+
# HTTP header `Content-Type`
|
|
2343
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2344
|
+
['application/json']) # noqa: E501
|
|
2345
|
+
|
|
847
2346
|
# Authentication setting
|
|
848
2347
|
auth_settings = [] # noqa: E501
|
|
849
2348
|
|
|
850
2349
|
return self.api_client.call_api(
|
|
851
|
-
'/v1/projects/{projectId}/
|
|
2350
|
+
'/v1/projects/{projectId}/service-execution/{id}', 'PUT',
|
|
852
2351
|
path_params,
|
|
853
2352
|
query_params,
|
|
854
2353
|
header_params,
|
|
855
2354
|
body=body_params,
|
|
856
2355
|
post_params=form_params,
|
|
857
2356
|
files=local_var_files,
|
|
858
|
-
response_type='
|
|
2357
|
+
response_type='V1ServiceExecution', # noqa: E501
|
|
859
2358
|
auth_settings=auth_settings,
|
|
860
2359
|
async_req=params.get('async_req'),
|
|
861
2360
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -863,42 +2362,42 @@ class EndpointServiceApi(object):
|
|
|
863
2362
|
_request_timeout=params.get('_request_timeout'),
|
|
864
2363
|
collection_formats=collection_formats)
|
|
865
2364
|
|
|
866
|
-
def
|
|
867
|
-
"""
|
|
2365
|
+
def endpoint_service_upload_service_execution_artifact(self, body: 'IdStorageBody', project_id: 'str', id: 'str', **kwargs) -> 'V1UploadServiceExecutionArtifactResponse': # noqa: E501
|
|
2366
|
+
"""endpoint_service_upload_service_execution_artifact # noqa: E501
|
|
868
2367
|
|
|
869
2368
|
This method makes a synchronous HTTP request by default. To make an
|
|
870
2369
|
asynchronous HTTP request, please pass async_req=True
|
|
871
|
-
>>> thread = api.
|
|
2370
|
+
>>> thread = api.endpoint_service_upload_service_execution_artifact(body, project_id, id, async_req=True)
|
|
872
2371
|
>>> result = thread.get()
|
|
873
2372
|
|
|
874
2373
|
:param async_req bool
|
|
875
|
-
:param
|
|
2374
|
+
:param IdStorageBody body: (required)
|
|
876
2375
|
:param str project_id: (required)
|
|
877
2376
|
:param str id: (required)
|
|
878
|
-
:return:
|
|
2377
|
+
:return: V1UploadServiceExecutionArtifactResponse
|
|
879
2378
|
If the method is called asynchronously,
|
|
880
2379
|
returns the request thread.
|
|
881
2380
|
"""
|
|
882
2381
|
kwargs['_return_http_data_only'] = True
|
|
883
2382
|
if kwargs.get('async_req'):
|
|
884
|
-
return self.
|
|
2383
|
+
return self.endpoint_service_upload_service_execution_artifact_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
885
2384
|
else:
|
|
886
|
-
(data) = self.
|
|
2385
|
+
(data) = self.endpoint_service_upload_service_execution_artifact_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
887
2386
|
return data
|
|
888
2387
|
|
|
889
|
-
def
|
|
890
|
-
"""
|
|
2388
|
+
def endpoint_service_upload_service_execution_artifact_with_http_info(self, body: 'IdStorageBody', project_id: 'str', id: 'str', **kwargs) -> 'V1UploadServiceExecutionArtifactResponse': # noqa: E501
|
|
2389
|
+
"""endpoint_service_upload_service_execution_artifact # noqa: E501
|
|
891
2390
|
|
|
892
2391
|
This method makes a synchronous HTTP request by default. To make an
|
|
893
2392
|
asynchronous HTTP request, please pass async_req=True
|
|
894
|
-
>>> thread = api.
|
|
2393
|
+
>>> thread = api.endpoint_service_upload_service_execution_artifact_with_http_info(body, project_id, id, async_req=True)
|
|
895
2394
|
>>> result = thread.get()
|
|
896
2395
|
|
|
897
2396
|
:param async_req bool
|
|
898
|
-
:param
|
|
2397
|
+
:param IdStorageBody body: (required)
|
|
899
2398
|
:param str project_id: (required)
|
|
900
2399
|
:param str id: (required)
|
|
901
|
-
:return:
|
|
2400
|
+
:return: V1UploadServiceExecutionArtifactResponse
|
|
902
2401
|
If the method is called asynchronously,
|
|
903
2402
|
returns the request thread.
|
|
904
2403
|
"""
|
|
@@ -914,22 +2413,22 @@ class EndpointServiceApi(object):
|
|
|
914
2413
|
if key not in all_params:
|
|
915
2414
|
raise TypeError(
|
|
916
2415
|
"Got an unexpected keyword argument '%s'"
|
|
917
|
-
" to method
|
|
2416
|
+
" to method endpoint_service_upload_service_execution_artifact" % key
|
|
918
2417
|
)
|
|
919
2418
|
params[key] = val
|
|
920
2419
|
del params['kwargs']
|
|
921
2420
|
# verify the required parameter 'body' is set
|
|
922
2421
|
if ('body' not in params or
|
|
923
2422
|
params['body'] is None):
|
|
924
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
2423
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_upload_service_execution_artifact`") # noqa: E501
|
|
925
2424
|
# verify the required parameter 'project_id' is set
|
|
926
2425
|
if ('project_id' not in params or
|
|
927
2426
|
params['project_id'] is None):
|
|
928
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2427
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_upload_service_execution_artifact`") # noqa: E501
|
|
929
2428
|
# verify the required parameter 'id' is set
|
|
930
2429
|
if ('id' not in params or
|
|
931
2430
|
params['id'] is None):
|
|
932
|
-
raise ValueError("Missing the required parameter `id` when calling `
|
|
2431
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_upload_service_execution_artifact`") # noqa: E501
|
|
933
2432
|
|
|
934
2433
|
collection_formats = {}
|
|
935
2434
|
|
|
@@ -961,14 +2460,14 @@ class EndpointServiceApi(object):
|
|
|
961
2460
|
auth_settings = [] # noqa: E501
|
|
962
2461
|
|
|
963
2462
|
return self.api_client.call_api(
|
|
964
|
-
'/v1/projects/{projectId}/
|
|
2463
|
+
'/v1/projects/{projectId}/service-execution/{id}/storage', 'POST',
|
|
965
2464
|
path_params,
|
|
966
2465
|
query_params,
|
|
967
2466
|
header_params,
|
|
968
2467
|
body=body_params,
|
|
969
2468
|
post_params=form_params,
|
|
970
2469
|
files=local_var_files,
|
|
971
|
-
response_type='
|
|
2470
|
+
response_type='V1UploadServiceExecutionArtifactResponse', # noqa: E501
|
|
972
2471
|
auth_settings=auth_settings,
|
|
973
2472
|
async_req=params.get('async_req'),
|
|
974
2473
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -976,42 +2475,42 @@ class EndpointServiceApi(object):
|
|
|
976
2475
|
_request_timeout=params.get('_request_timeout'),
|
|
977
2476
|
collection_formats=collection_formats)
|
|
978
2477
|
|
|
979
|
-
def
|
|
980
|
-
"""
|
|
2478
|
+
def endpoint_service_upload_service_execution_artifact_parts(self, body: 'IdUploadsBody1', project_id: 'str', id: 'str', **kwargs) -> 'V1UploadServiceExecutionArtifactPartsResponse': # noqa: E501
|
|
2479
|
+
"""endpoint_service_upload_service_execution_artifact_parts # noqa: E501
|
|
981
2480
|
|
|
982
2481
|
This method makes a synchronous HTTP request by default. To make an
|
|
983
2482
|
asynchronous HTTP request, please pass async_req=True
|
|
984
|
-
>>> thread = api.
|
|
2483
|
+
>>> thread = api.endpoint_service_upload_service_execution_artifact_parts(body, project_id, id, async_req=True)
|
|
985
2484
|
>>> result = thread.get()
|
|
986
2485
|
|
|
987
2486
|
:param async_req bool
|
|
988
|
-
:param
|
|
2487
|
+
:param IdUploadsBody1 body: (required)
|
|
989
2488
|
:param str project_id: (required)
|
|
990
2489
|
:param str id: (required)
|
|
991
|
-
:return:
|
|
2490
|
+
:return: V1UploadServiceExecutionArtifactPartsResponse
|
|
992
2491
|
If the method is called asynchronously,
|
|
993
2492
|
returns the request thread.
|
|
994
2493
|
"""
|
|
995
2494
|
kwargs['_return_http_data_only'] = True
|
|
996
2495
|
if kwargs.get('async_req'):
|
|
997
|
-
return self.
|
|
2496
|
+
return self.endpoint_service_upload_service_execution_artifact_parts_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
998
2497
|
else:
|
|
999
|
-
(data) = self.
|
|
2498
|
+
(data) = self.endpoint_service_upload_service_execution_artifact_parts_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
1000
2499
|
return data
|
|
1001
2500
|
|
|
1002
|
-
def
|
|
1003
|
-
"""
|
|
2501
|
+
def endpoint_service_upload_service_execution_artifact_parts_with_http_info(self, body: 'IdUploadsBody1', project_id: 'str', id: 'str', **kwargs) -> 'V1UploadServiceExecutionArtifactPartsResponse': # noqa: E501
|
|
2502
|
+
"""endpoint_service_upload_service_execution_artifact_parts # noqa: E501
|
|
1004
2503
|
|
|
1005
2504
|
This method makes a synchronous HTTP request by default. To make an
|
|
1006
2505
|
asynchronous HTTP request, please pass async_req=True
|
|
1007
|
-
>>> thread = api.
|
|
2506
|
+
>>> thread = api.endpoint_service_upload_service_execution_artifact_parts_with_http_info(body, project_id, id, async_req=True)
|
|
1008
2507
|
>>> result = thread.get()
|
|
1009
2508
|
|
|
1010
2509
|
:param async_req bool
|
|
1011
|
-
:param
|
|
2510
|
+
:param IdUploadsBody1 body: (required)
|
|
1012
2511
|
:param str project_id: (required)
|
|
1013
2512
|
:param str id: (required)
|
|
1014
|
-
:return:
|
|
2513
|
+
:return: V1UploadServiceExecutionArtifactPartsResponse
|
|
1015
2514
|
If the method is called asynchronously,
|
|
1016
2515
|
returns the request thread.
|
|
1017
2516
|
"""
|
|
@@ -1027,22 +2526,22 @@ class EndpointServiceApi(object):
|
|
|
1027
2526
|
if key not in all_params:
|
|
1028
2527
|
raise TypeError(
|
|
1029
2528
|
"Got an unexpected keyword argument '%s'"
|
|
1030
|
-
" to method
|
|
2529
|
+
" to method endpoint_service_upload_service_execution_artifact_parts" % key
|
|
1031
2530
|
)
|
|
1032
2531
|
params[key] = val
|
|
1033
2532
|
del params['kwargs']
|
|
1034
2533
|
# verify the required parameter 'body' is set
|
|
1035
2534
|
if ('body' not in params or
|
|
1036
2535
|
params['body'] is None):
|
|
1037
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
2536
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_upload_service_execution_artifact_parts`") # noqa: E501
|
|
1038
2537
|
# verify the required parameter 'project_id' is set
|
|
1039
2538
|
if ('project_id' not in params or
|
|
1040
2539
|
params['project_id'] is None):
|
|
1041
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2540
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_upload_service_execution_artifact_parts`") # noqa: E501
|
|
1042
2541
|
# verify the required parameter 'id' is set
|
|
1043
2542
|
if ('id' not in params or
|
|
1044
2543
|
params['id'] is None):
|
|
1045
|
-
raise ValueError("Missing the required parameter `id` when calling `
|
|
2544
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_upload_service_execution_artifact_parts`") # noqa: E501
|
|
1046
2545
|
|
|
1047
2546
|
collection_formats = {}
|
|
1048
2547
|
|
|
@@ -1074,14 +2573,14 @@ class EndpointServiceApi(object):
|
|
|
1074
2573
|
auth_settings = [] # noqa: E501
|
|
1075
2574
|
|
|
1076
2575
|
return self.api_client.call_api(
|
|
1077
|
-
'/v1/projects/{projectId}/
|
|
2576
|
+
'/v1/projects/{projectId}/service-execution/{id}/uploads', 'POST',
|
|
1078
2577
|
path_params,
|
|
1079
2578
|
query_params,
|
|
1080
2579
|
header_params,
|
|
1081
2580
|
body=body_params,
|
|
1082
2581
|
post_params=form_params,
|
|
1083
2582
|
files=local_var_files,
|
|
1084
|
-
response_type='
|
|
2583
|
+
response_type='V1UploadServiceExecutionArtifactPartsResponse', # noqa: E501
|
|
1085
2584
|
auth_settings=auth_settings,
|
|
1086
2585
|
async_req=params.get('async_req'),
|
|
1087
2586
|
_return_http_data_only=params.get('_return_http_data_only'),
|