lightning-sdk 0.1.49__py3-none-any.whl → 2025.11.5__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 +19 -9
- lightning_sdk/__version__.py +3 -0
- lightning_sdk/agents.py +2 -1
- lightning_sdk/ai_hub.py +43 -38
- lightning_sdk/api/__init__.py +2 -0
- lightning_sdk/api/ai_hub_api.py +49 -6
- lightning_sdk/api/base_studio_api.py +90 -0
- lightning_sdk/api/cloud_account_api.py +225 -0
- lightning_sdk/api/deployment_api.py +133 -27
- lightning_sdk/api/job_api.py +147 -34
- lightning_sdk/api/license_api.py +37 -0
- lightning_sdk/api/lit_container_api.py +231 -19
- lightning_sdk/api/llm_api.py +306 -0
- lightning_sdk/api/mmt_api.py +112 -28
- lightning_sdk/api/pipeline_api.py +120 -0
- lightning_sdk/api/studio_api.py +440 -89
- lightning_sdk/api/teamspace_api.py +269 -31
- lightning_sdk/api/user_api.py +56 -2
- lightning_sdk/api/utils.py +185 -52
- lightning_sdk/base_studio.py +123 -0
- lightning_sdk/cli/__init__.py +1 -0
- lightning_sdk/cli/base_studio/__init__.py +10 -0
- lightning_sdk/cli/base_studio/list.py +43 -0
- lightning_sdk/cli/config/__init__.py +14 -0
- lightning_sdk/cli/config/get.py +57 -0
- lightning_sdk/cli/config/set.py +92 -0
- lightning_sdk/cli/config/show.py +9 -0
- lightning_sdk/cli/entrypoint.py +98 -56
- lightning_sdk/cli/groups.py +56 -0
- lightning_sdk/cli/job/__init__.py +7 -0
- lightning_sdk/cli/legacy/__init__.py +0 -0
- lightning_sdk/cli/legacy/ai_hub.py +65 -0
- lightning_sdk/cli/legacy/clusters_menu.py +49 -0
- lightning_sdk/cli/legacy/configure.py +129 -0
- lightning_sdk/cli/legacy/connect.py +34 -0
- lightning_sdk/cli/legacy/create.py +115 -0
- lightning_sdk/cli/legacy/delete.py +131 -0
- lightning_sdk/cli/legacy/deploy/__init__.py +0 -0
- lightning_sdk/cli/legacy/deploy/_auth.py +196 -0
- lightning_sdk/cli/legacy/deploy/devbox.py +163 -0
- lightning_sdk/cli/legacy/deploy/serve.py +452 -0
- lightning_sdk/cli/legacy/docker_cli.py +22 -0
- lightning_sdk/cli/legacy/download.py +322 -0
- lightning_sdk/cli/legacy/entrypoint.py +110 -0
- lightning_sdk/cli/legacy/generate.py +52 -0
- lightning_sdk/cli/legacy/inspection.py +45 -0
- lightning_sdk/cli/{job_and_mmt_action.py → legacy/job_and_mmt_action.py} +6 -6
- lightning_sdk/cli/{jobs_menu.py → legacy/jobs_menu.py} +3 -2
- lightning_sdk/cli/legacy/list.py +326 -0
- lightning_sdk/cli/{mmts_menu.py → legacy/mmts_menu.py} +3 -2
- lightning_sdk/cli/legacy/open.py +81 -0
- lightning_sdk/cli/legacy/run.py +443 -0
- lightning_sdk/cli/legacy/start.py +107 -0
- lightning_sdk/cli/legacy/stop.py +107 -0
- lightning_sdk/cli/{studios_menu.py → legacy/studios_menu.py} +24 -1
- lightning_sdk/cli/legacy/switch.py +63 -0
- lightning_sdk/cli/{teamspace_menu.py → legacy/teamspace_menu.py} +12 -3
- lightning_sdk/cli/legacy/upload.py +382 -0
- lightning_sdk/cli/license/__init__.py +14 -0
- lightning_sdk/cli/license/get.py +15 -0
- lightning_sdk/cli/license/list.py +45 -0
- lightning_sdk/cli/license/set.py +13 -0
- lightning_sdk/cli/mmt/__init__.py +7 -0
- lightning_sdk/cli/studio/__init__.py +24 -0
- lightning_sdk/cli/studio/connect.py +139 -0
- lightning_sdk/cli/studio/create.py +96 -0
- lightning_sdk/cli/studio/delete.py +49 -0
- lightning_sdk/cli/studio/list.py +85 -0
- lightning_sdk/cli/studio/ssh.py +64 -0
- lightning_sdk/cli/studio/start.py +115 -0
- lightning_sdk/cli/studio/stop.py +45 -0
- lightning_sdk/cli/studio/switch.py +66 -0
- lightning_sdk/cli/utils/__init__.py +7 -0
- lightning_sdk/cli/utils/cloud_account_map.py +10 -0
- lightning_sdk/cli/utils/coloring.py +60 -0
- lightning_sdk/cli/utils/get_base_studio.py +24 -0
- lightning_sdk/cli/utils/handle_machine_and_gpus_args.py +69 -0
- lightning_sdk/cli/utils/logging.py +122 -0
- lightning_sdk/cli/utils/owner_selection.py +110 -0
- lightning_sdk/cli/utils/resolve.py +28 -0
- lightning_sdk/cli/utils/richt_print.py +35 -0
- lightning_sdk/cli/utils/save_to_config.py +27 -0
- lightning_sdk/cli/utils/ssh_connection.py +59 -0
- lightning_sdk/cli/utils/studio_selection.py +113 -0
- lightning_sdk/cli/utils/teamspace_selection.py +125 -0
- lightning_sdk/cli/vm/__init__.py +20 -0
- lightning_sdk/cli/vm/create.py +33 -0
- lightning_sdk/cli/vm/delete.py +25 -0
- lightning_sdk/cli/vm/list.py +30 -0
- lightning_sdk/cli/vm/ssh.py +31 -0
- lightning_sdk/cli/vm/start.py +60 -0
- lightning_sdk/cli/vm/stop.py +25 -0
- lightning_sdk/cli/vm/switch.py +38 -0
- lightning_sdk/constants.py +1 -0
- lightning_sdk/deployment/__init__.py +4 -0
- lightning_sdk/deployment/deployment.py +208 -28
- lightning_sdk/helpers.py +73 -34
- lightning_sdk/job/base.py +112 -12
- lightning_sdk/job/job.py +73 -44
- lightning_sdk/job/v1.py +28 -35
- lightning_sdk/job/v2.py +54 -17
- lightning_sdk/job/work.py +7 -3
- lightning_sdk/lightning_cloud/login.py +325 -18
- lightning_sdk/lightning_cloud/openapi/__init__.py +346 -26
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +14 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +1801 -384
- lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +376 -0
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +414 -2
- lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +638 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +2563 -866
- lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +327 -0
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +1720 -347
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +210 -4
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +126 -2119
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +283 -0
- lightning_sdk/lightning_cloud/openapi/api/git_credentials_service_api.py +497 -0
- lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +1058 -0
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +2326 -492
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +2273 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +1973 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +17 -5
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +473 -5
- lightning_sdk/lightning_cloud/openapi/api/markets_service_api.py +145 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +24 -24
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +339 -0
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +795 -0
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +525 -0
- lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +106 -5
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +924 -0
- lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +202 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +1508 -251
- lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +121 -97
- lightning_sdk/lightning_cloud/openapi/api/volume_service_api.py +258 -0
- lightning_sdk/lightning_cloud/openapi/configuration.py +4 -20
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +332 -26
- lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/alerts_config_billing.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/alerts_config_studios.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +303 -17
- lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_systemmetrics_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspaces_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityreservations_body.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_kubernetestemplates_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_slurmusers_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_usagerestrictions_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/conversations_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/create.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/create_machine_request_represents_the_request_to_create_a_machine.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_versions_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body1.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +315 -3
- lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +199 -69
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cluster.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +1 -53
- lightning_sdk/lightning_cloud/openapi/models/id_contactowner_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_fork_body1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_render_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_reportrestarttimings_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_sleepconfig_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body2.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_service_executions_response.py → job_id_reportroutingtelemetry_body.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/kubernetestemplates_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/license_key_validate_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/litdatasets_dataset_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/litregistry_lit_repo_name_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/message_id_actions_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/model_id_versions_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/model_id_visibility_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/models_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body.py +109 -31
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/org_id_memberships_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +627 -3
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/pipelinetemplates_id_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_agents_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_litdatasets_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_litregistry_body.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_storagetransfers_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_tab_management_messages.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +523 -3
- lightning_sdk/lightning_cloud/openapi/models/{service_artifact_artifact_kind.py → protobuf_null_value.py} +7 -9
- lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/server_id_alerts_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/setup.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +93 -15
- lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/storagetransfers_validate_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/update.py +233 -129
- lightning_sdk/lightning_cloud/openapi/models/update1.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/usagerestrictions_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/user_id_affiliatelinks_body.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/user_id_upgradetrigger_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/user_user_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_abort_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +188 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_aggregated_pod_metrics.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ai_pod_v1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_alert_method.py +102 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_alerts_config.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_artifact.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_session_daily_aggregated.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_subscription.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cancel_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +117 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +313 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics.py +669 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics_stats.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_source_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_specialized_view.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_expert.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_settings.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +445 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +211 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_deletion_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_metrics.py +1527 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +209 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +521 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_tagging_options.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_upload_service_execution_artifact_response.py → v1_cluster_upload.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_usage_restriction.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_multi_part_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{id_complete_body.py → v1_complete_upload_temporary_artifact_request.py} +29 -29
- lightning_sdk/lightning_cloud/openapi/models/v1_contact_assistant_owner_reason.py +102 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_contact_assistant_owner_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_upgrade_trigger_record_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_capacity_reservation_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_template_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_git_credentials_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_incident_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_job_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_license_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_dataset_multi_part_upload_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_managed_endpoint_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_model_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_machine_job_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_pipeline_template_request.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +209 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_server_alert_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_subscription_checkout_session_request.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_model_metrics.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +261 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_tier.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_environment_template_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_usage_restriction_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_alerting_policy_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_git_credentials_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_kubernetes_template_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_license_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_version_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_registry_repository_image_artifact_version_by_digest_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_machine_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_file_endpoint_response.py → v1_delete_pipeline_response.py} +25 -25
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_schedule_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +315 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_event.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_frequency.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_operation.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_severity.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +112 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_recipients.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_details.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +4 -2
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +47 -21
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +931 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_job.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metric.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metrics.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_mmt.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_find_capacity_block_offering_response.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/{id_uploads_body1.py → v1_firewall_rule.py} +53 -53
- lightning_sdk/lightning_cloud/openapi/models/v1_function_call.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_function_tool.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_file_endpoints_response.py → v1_gcp_data_connection_setup.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_gcp_direct_vpc.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ge_list_deployment_routing_telemetry_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_artifacts_page_response.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_get_assistant_session_daily_aggregated_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_cold_start_metrics_stats_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_open_ports_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_system_metrics_aggregate_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_required_balance_status_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_size_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_accelerator_demand_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_health_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_content_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_latest_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_upload_service_execution_artifact_parts_response.py → v1_get_lit_dataset_file_upload_urls_response.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_files_url_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_market_pricing_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +263 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +235 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_volume_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_git_credentials.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +185 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_group_node_metrics.py +1215 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_request.py +177 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_service_artifact.py → v1_guest_user.py} +60 -60
- lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_detail.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_event.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_severity.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +95 -41
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +237 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_job_artifacts_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_resource.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +209 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_type.py +109 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_indexes.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_aws_config.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_settings_v1.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1_status.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template_property.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +67 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_license.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_elastic_cluster_v1.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_artifact.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_like_status.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_aggregated_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_download_service_execution_artifact_response.py → v1_list_blog_posts_response.py} +41 -41
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_cold_start_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_environment_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloudy_experts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metric_timestamps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_user_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_usage_restrictions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_list_container_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_conversation_message_actions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_policies_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_mm_ts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_git_credentials_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_job_resources_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_license_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_dataset_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_registry_repository_image_artifact_versions_response.py +257 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_machines_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_node_file_system_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_node_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_notification_dialogs_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pipelines_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_platform_notifications_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_list_published_managed_endpoints_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedule_runs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedules_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_slurm_cluster_users_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_storage_transfers_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/{id_storage_body.py → v1_lit_dataset_file.py} +49 -49
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_artifact.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +35 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +81 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lustre_data_connection.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_endpoint.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +341 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_market_price.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +121 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_message.py +159 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_model.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_model_metrics.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_service_execution_response.py → v1_modify_filesystem_volume_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_namespace_metrics.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_namespace_user_metrics.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +695 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +837 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_path_mapping.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pause_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_state.py +111 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_status.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template_visibility_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_platform_notification.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +747 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_post_cloud_space_artifact_events_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_cluster_binding.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +121 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +525 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +235 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_tab.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quote_annual_upsell_response.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quote_subscription_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_r2_data_connection.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_render_kubernetes_template_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_stop_at_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_system_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_deployment_routing_telemetry_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_k8s_cluster_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_restart_timings_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_request_cloud_space_access_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_required_balance_reason.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reservation_details.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_request.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_resources.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_response_choice.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_restart_timing.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resume_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +5 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/{command_argument_command_argument_type.py → v1_schedule_action_type.py} +9 -8
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_resource_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_run.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_get_service_execution_status_response.py → v1_server_alert.py} +74 -48
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_phase.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_service_health.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_setup_data_connection_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sleep_server_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_cluster_user.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +84 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +31 -291
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_status.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +159 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +4 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer_status.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_subnet_spec.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics_aggregated.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_owner_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_usage.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_tool.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_tool_call.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_trigger_filesystem_upgrade_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_like_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_message_like_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_deployment_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_job_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_dataset_visibility_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_repository_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_metrics_stream_visibility_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_model_visibility_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_complete_upload_service_execution_artifact_response.py → v1_update_organization_credits_auto_replenish_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_update_project_tab_order_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_credits_auto_replenish_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_volume_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_new_features_for_user_response.py → v1_upload_temporary_artifact_request.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +894 -842
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_data_connection_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_license_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_storage_transfer_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +229 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +513 -45
- lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_vultr_direct_v1.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_weka_data_connection.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/validate.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/version_default_body.py +29 -29
- lightning_sdk/lightning_cloud/openapi/models/version_default_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/version_uploads_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/versions_version_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/volumes_id_body.py +123 -0
- lightning_sdk/lightning_cloud/rest_client.py +61 -48
- lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
- lightning_sdk/lightning_cloud/utils/data_connection.py +234 -7
- lightning_sdk/lit_container.py +68 -9
- lightning_sdk/llm/__init__.py +3 -0
- lightning_sdk/llm/llm.py +497 -0
- lightning_sdk/llm/public_assistants.py +54 -0
- lightning_sdk/machine.py +221 -30
- lightning_sdk/mmt/base.py +67 -32
- lightning_sdk/mmt/mmt.py +68 -50
- lightning_sdk/mmt/v1.py +16 -32
- lightning_sdk/mmt/v2.py +47 -18
- lightning_sdk/models.py +74 -24
- lightning_sdk/organization.py +4 -0
- lightning_sdk/owner.py +2 -1
- lightning_sdk/pipeline/__init__.py +14 -0
- lightning_sdk/pipeline/pipeline.py +163 -0
- lightning_sdk/pipeline/printer.py +124 -0
- lightning_sdk/pipeline/schedule.py +859 -0
- lightning_sdk/pipeline/steps.py +365 -0
- lightning_sdk/pipeline/utils.py +116 -0
- lightning_sdk/plugin.py +39 -20
- lightning_sdk/sandbox.py +160 -0
- lightning_sdk/serve.py +309 -0
- lightning_sdk/services/__init__.py +1 -1
- lightning_sdk/services/file_endpoint.py +3 -4
- lightning_sdk/services/utilities.py +16 -2
- lightning_sdk/studio.py +515 -41
- lightning_sdk/teamspace.py +335 -30
- lightning_sdk/user.py +19 -1
- lightning_sdk/utils/config.py +179 -0
- lightning_sdk/utils/license.py +13 -0
- lightning_sdk/utils/logging.py +79 -0
- lightning_sdk/utils/names.py +1179 -0
- lightning_sdk/utils/progress.py +283 -0
- lightning_sdk/utils/resolve.py +149 -13
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/METADATA +14 -11
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/RECORD +649 -250
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/WHEEL +1 -1
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/entry_points.txt +1 -0
- lightning_sdk/cli/ai_hub.py +0 -49
- lightning_sdk/cli/delete.py +0 -58
- lightning_sdk/cli/download.py +0 -132
- lightning_sdk/cli/inspect.py +0 -31
- lightning_sdk/cli/legacy.py +0 -135
- lightning_sdk/cli/list.py +0 -112
- lightning_sdk/cli/run.py +0 -225
- lightning_sdk/cli/serve.py +0 -218
- lightning_sdk/cli/stop.py +0 -37
- lightning_sdk/cli/upload.py +0 -255
- lightning_sdk/lightning_cloud/openapi/models/fileendpoints_id_body.py +0 -409
- lightning_sdk/lightning_cloud/openapi/models/project_id_fileendpoints_body.py +0 -357
- lightning_sdk/lightning_cloud/openapi/models/project_id_serviceexecution_body.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/serviceexecution_id_body.py +0 -331
- lightning_sdk/lightning_cloud/openapi/models/v1_command_argument.py +0 -305
- lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
- lightning_sdk/lightning_cloud/openapi/models/v1_file_endpoint.py +0 -461
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_response.py +0 -201
- lightning_sdk/lightning_cloud/openapi/models/v1_list_service_execution_lightningapp_instances_response.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_service_execution.py +0 -383
- /lightning_sdk/cli/{exceptions.py → legacy/exceptions.py} +0 -0
- /lightning_sdk/services/{finetune/__init__.py → finetune_llm.py} +0 -0
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/top_level.txt +0 -0
|
@@ -43,2027 +43,45 @@ class EndpointServiceApi(object):
|
|
|
43
43
|
api_client = ApiClient()
|
|
44
44
|
self.api_client = api_client
|
|
45
45
|
|
|
46
|
-
def
|
|
47
|
-
"""
|
|
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
|
-
|
|
159
|
-
def endpoint_service_create_endpoint(self, body: 'ProjectIdEndpointsBody', project_id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
160
|
-
"""endpoint_service_create_endpoint # noqa: E501
|
|
161
|
-
|
|
162
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
163
|
-
asynchronous HTTP request, please pass async_req=True
|
|
164
|
-
>>> thread = api.endpoint_service_create_endpoint(body, project_id, async_req=True)
|
|
165
|
-
>>> result = thread.get()
|
|
166
|
-
|
|
167
|
-
:param async_req bool
|
|
168
|
-
:param ProjectIdEndpointsBody body: (required)
|
|
169
|
-
:param str project_id: (required)
|
|
170
|
-
:return: V1Endpoint
|
|
171
|
-
If the method is called asynchronously,
|
|
172
|
-
returns the request thread.
|
|
173
|
-
"""
|
|
174
|
-
kwargs['_return_http_data_only'] = True
|
|
175
|
-
if kwargs.get('async_req'):
|
|
176
|
-
return self.endpoint_service_create_endpoint_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
177
|
-
else:
|
|
178
|
-
(data) = self.endpoint_service_create_endpoint_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
179
|
-
return data
|
|
180
|
-
|
|
181
|
-
def endpoint_service_create_endpoint_with_http_info(self, body: 'ProjectIdEndpointsBody', project_id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
182
|
-
"""endpoint_service_create_endpoint # noqa: E501
|
|
183
|
-
|
|
184
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
185
|
-
asynchronous HTTP request, please pass async_req=True
|
|
186
|
-
>>> thread = api.endpoint_service_create_endpoint_with_http_info(body, project_id, async_req=True)
|
|
187
|
-
>>> result = thread.get()
|
|
188
|
-
|
|
189
|
-
:param async_req bool
|
|
190
|
-
:param ProjectIdEndpointsBody body: (required)
|
|
191
|
-
:param str project_id: (required)
|
|
192
|
-
:return: V1Endpoint
|
|
193
|
-
If the method is called asynchronously,
|
|
194
|
-
returns the request thread.
|
|
195
|
-
"""
|
|
196
|
-
|
|
197
|
-
all_params = ['body', 'project_id'] # noqa: E501
|
|
198
|
-
all_params.append('async_req')
|
|
199
|
-
all_params.append('_return_http_data_only')
|
|
200
|
-
all_params.append('_preload_content')
|
|
201
|
-
all_params.append('_request_timeout')
|
|
202
|
-
|
|
203
|
-
params = locals()
|
|
204
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
205
|
-
if key not in all_params:
|
|
206
|
-
raise TypeError(
|
|
207
|
-
"Got an unexpected keyword argument '%s'"
|
|
208
|
-
" to method endpoint_service_create_endpoint" % key
|
|
209
|
-
)
|
|
210
|
-
params[key] = val
|
|
211
|
-
del params['kwargs']
|
|
212
|
-
# verify the required parameter 'body' is set
|
|
213
|
-
if ('body' not in params or
|
|
214
|
-
params['body'] is None):
|
|
215
|
-
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_create_endpoint`") # noqa: E501
|
|
216
|
-
# verify the required parameter 'project_id' is set
|
|
217
|
-
if ('project_id' not in params or
|
|
218
|
-
params['project_id'] is None):
|
|
219
|
-
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_create_endpoint`") # noqa: E501
|
|
220
|
-
|
|
221
|
-
collection_formats = {}
|
|
222
|
-
|
|
223
|
-
path_params = {}
|
|
224
|
-
if 'project_id' in params:
|
|
225
|
-
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
226
|
-
|
|
227
|
-
query_params = []
|
|
228
|
-
|
|
229
|
-
header_params = {}
|
|
230
|
-
|
|
231
|
-
form_params = []
|
|
232
|
-
local_var_files = {}
|
|
233
|
-
|
|
234
|
-
body_params = None
|
|
235
|
-
if 'body' in params:
|
|
236
|
-
body_params = params['body']
|
|
237
|
-
# HTTP header `Accept`
|
|
238
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
239
|
-
['application/json']) # noqa: E501
|
|
240
|
-
|
|
241
|
-
# HTTP header `Content-Type`
|
|
242
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
243
|
-
['application/json']) # noqa: E501
|
|
244
|
-
|
|
245
|
-
# Authentication setting
|
|
246
|
-
auth_settings = [] # noqa: E501
|
|
247
|
-
|
|
248
|
-
return self.api_client.call_api(
|
|
249
|
-
'/v1/projects/{projectId}/endpoints', 'POST',
|
|
250
|
-
path_params,
|
|
251
|
-
query_params,
|
|
252
|
-
header_params,
|
|
253
|
-
body=body_params,
|
|
254
|
-
post_params=form_params,
|
|
255
|
-
files=local_var_files,
|
|
256
|
-
response_type='V1Endpoint', # noqa: E501
|
|
257
|
-
auth_settings=auth_settings,
|
|
258
|
-
async_req=params.get('async_req'),
|
|
259
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
260
|
-
_preload_content=params.get('_preload_content', True),
|
|
261
|
-
_request_timeout=params.get('_request_timeout'),
|
|
262
|
-
collection_formats=collection_formats)
|
|
263
|
-
|
|
264
|
-
def endpoint_service_create_file_endpoint(self, body: 'ProjectIdFileendpointsBody', project_id: 'str', **kwargs) -> 'V1FileEndpoint': # noqa: E501
|
|
265
|
-
"""endpoint_service_create_file_endpoint # noqa: E501
|
|
266
|
-
|
|
267
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
268
|
-
asynchronous HTTP request, please pass async_req=True
|
|
269
|
-
>>> thread = api.endpoint_service_create_file_endpoint(body, project_id, async_req=True)
|
|
270
|
-
>>> result = thread.get()
|
|
271
|
-
|
|
272
|
-
:param async_req bool
|
|
273
|
-
:param ProjectIdFileendpointsBody body: (required)
|
|
274
|
-
:param str project_id: (required)
|
|
275
|
-
:return: V1FileEndpoint
|
|
276
|
-
If the method is called asynchronously,
|
|
277
|
-
returns the request thread.
|
|
278
|
-
"""
|
|
279
|
-
kwargs['_return_http_data_only'] = True
|
|
280
|
-
if kwargs.get('async_req'):
|
|
281
|
-
return self.endpoint_service_create_file_endpoint_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
282
|
-
else:
|
|
283
|
-
(data) = self.endpoint_service_create_file_endpoint_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
284
|
-
return data
|
|
285
|
-
|
|
286
|
-
def endpoint_service_create_file_endpoint_with_http_info(self, body: 'ProjectIdFileendpointsBody', project_id: 'str', **kwargs) -> 'V1FileEndpoint': # noqa: E501
|
|
287
|
-
"""endpoint_service_create_file_endpoint # noqa: E501
|
|
288
|
-
|
|
289
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
290
|
-
asynchronous HTTP request, please pass async_req=True
|
|
291
|
-
>>> thread = api.endpoint_service_create_file_endpoint_with_http_info(body, project_id, async_req=True)
|
|
292
|
-
>>> result = thread.get()
|
|
293
|
-
|
|
294
|
-
:param async_req bool
|
|
295
|
-
:param ProjectIdFileendpointsBody body: (required)
|
|
296
|
-
:param str project_id: (required)
|
|
297
|
-
:return: V1FileEndpoint
|
|
298
|
-
If the method is called asynchronously,
|
|
299
|
-
returns the request thread.
|
|
300
|
-
"""
|
|
301
|
-
|
|
302
|
-
all_params = ['body', 'project_id'] # noqa: E501
|
|
303
|
-
all_params.append('async_req')
|
|
304
|
-
all_params.append('_return_http_data_only')
|
|
305
|
-
all_params.append('_preload_content')
|
|
306
|
-
all_params.append('_request_timeout')
|
|
307
|
-
|
|
308
|
-
params = locals()
|
|
309
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
310
|
-
if key not in all_params:
|
|
311
|
-
raise TypeError(
|
|
312
|
-
"Got an unexpected keyword argument '%s'"
|
|
313
|
-
" to method endpoint_service_create_file_endpoint" % key
|
|
314
|
-
)
|
|
315
|
-
params[key] = val
|
|
316
|
-
del params['kwargs']
|
|
317
|
-
# verify the required parameter 'body' is set
|
|
318
|
-
if ('body' not in params or
|
|
319
|
-
params['body'] is None):
|
|
320
|
-
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_create_file_endpoint`") # noqa: E501
|
|
321
|
-
# verify the required parameter 'project_id' is set
|
|
322
|
-
if ('project_id' not in params or
|
|
323
|
-
params['project_id'] is None):
|
|
324
|
-
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_create_file_endpoint`") # noqa: E501
|
|
325
|
-
|
|
326
|
-
collection_formats = {}
|
|
327
|
-
|
|
328
|
-
path_params = {}
|
|
329
|
-
if 'project_id' in params:
|
|
330
|
-
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
331
|
-
|
|
332
|
-
query_params = []
|
|
333
|
-
|
|
334
|
-
header_params = {}
|
|
335
|
-
|
|
336
|
-
form_params = []
|
|
337
|
-
local_var_files = {}
|
|
338
|
-
|
|
339
|
-
body_params = None
|
|
340
|
-
if 'body' in params:
|
|
341
|
-
body_params = params['body']
|
|
342
|
-
# HTTP header `Accept`
|
|
343
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
344
|
-
['application/json']) # noqa: E501
|
|
345
|
-
|
|
346
|
-
# HTTP header `Content-Type`
|
|
347
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
348
|
-
['application/json']) # noqa: E501
|
|
349
|
-
|
|
350
|
-
# Authentication setting
|
|
351
|
-
auth_settings = [] # noqa: E501
|
|
352
|
-
|
|
353
|
-
return self.api_client.call_api(
|
|
354
|
-
'/v1/projects/{projectId}/file-endpoints', 'POST',
|
|
355
|
-
path_params,
|
|
356
|
-
query_params,
|
|
357
|
-
header_params,
|
|
358
|
-
body=body_params,
|
|
359
|
-
post_params=form_params,
|
|
360
|
-
files=local_var_files,
|
|
361
|
-
response_type='V1FileEndpoint', # noqa: E501
|
|
362
|
-
auth_settings=auth_settings,
|
|
363
|
-
async_req=params.get('async_req'),
|
|
364
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
365
|
-
_preload_content=params.get('_preload_content', True),
|
|
366
|
-
_request_timeout=params.get('_request_timeout'),
|
|
367
|
-
collection_formats=collection_formats)
|
|
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
|
-
|
|
474
|
-
def endpoint_service_delete_endpoint(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteEndpointResponse': # noqa: E501
|
|
475
|
-
"""endpoint_service_delete_endpoint # noqa: E501
|
|
476
|
-
|
|
477
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
478
|
-
asynchronous HTTP request, please pass async_req=True
|
|
479
|
-
>>> thread = api.endpoint_service_delete_endpoint(project_id, id, async_req=True)
|
|
480
|
-
>>> result = thread.get()
|
|
481
|
-
|
|
482
|
-
:param async_req bool
|
|
483
|
-
:param str project_id: (required)
|
|
484
|
-
:param str id: (required)
|
|
485
|
-
:return: V1DeleteEndpointResponse
|
|
486
|
-
If the method is called asynchronously,
|
|
487
|
-
returns the request thread.
|
|
488
|
-
"""
|
|
489
|
-
kwargs['_return_http_data_only'] = True
|
|
490
|
-
if kwargs.get('async_req'):
|
|
491
|
-
return self.endpoint_service_delete_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
492
|
-
else:
|
|
493
|
-
(data) = self.endpoint_service_delete_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
494
|
-
return data
|
|
495
|
-
|
|
496
|
-
def endpoint_service_delete_endpoint_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteEndpointResponse': # noqa: E501
|
|
497
|
-
"""endpoint_service_delete_endpoint # noqa: E501
|
|
498
|
-
|
|
499
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
500
|
-
asynchronous HTTP request, please pass async_req=True
|
|
501
|
-
>>> thread = api.endpoint_service_delete_endpoint_with_http_info(project_id, id, async_req=True)
|
|
502
|
-
>>> result = thread.get()
|
|
503
|
-
|
|
504
|
-
:param async_req bool
|
|
505
|
-
:param str project_id: (required)
|
|
506
|
-
:param str id: (required)
|
|
507
|
-
:return: V1DeleteEndpointResponse
|
|
508
|
-
If the method is called asynchronously,
|
|
509
|
-
returns the request thread.
|
|
510
|
-
"""
|
|
511
|
-
|
|
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
|
|
1760
|
-
all_params.append('async_req')
|
|
1761
|
-
all_params.append('_return_http_data_only')
|
|
1762
|
-
all_params.append('_preload_content')
|
|
1763
|
-
all_params.append('_request_timeout')
|
|
1764
|
-
|
|
1765
|
-
params = locals()
|
|
1766
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
1767
|
-
if key not in all_params:
|
|
1768
|
-
raise TypeError(
|
|
1769
|
-
"Got an unexpected keyword argument '%s'"
|
|
1770
|
-
" to method endpoint_service_list_service_execution_lightningapp_instances" % key
|
|
1771
|
-
)
|
|
1772
|
-
params[key] = val
|
|
1773
|
-
del params['kwargs']
|
|
1774
|
-
# verify the required parameter 'project_id' is set
|
|
1775
|
-
if ('project_id' not in params or
|
|
1776
|
-
params['project_id'] is None):
|
|
1777
|
-
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_list_service_execution_lightningapp_instances`") # noqa: E501
|
|
1778
|
-
|
|
1779
|
-
collection_formats = {}
|
|
1780
|
-
|
|
1781
|
-
path_params = {}
|
|
1782
|
-
if 'project_id' in params:
|
|
1783
|
-
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1784
|
-
|
|
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
|
|
1790
|
-
|
|
1791
|
-
header_params = {}
|
|
1792
|
-
|
|
1793
|
-
form_params = []
|
|
1794
|
-
local_var_files = {}
|
|
1795
|
-
|
|
1796
|
-
body_params = None
|
|
1797
|
-
# HTTP header `Accept`
|
|
1798
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1799
|
-
['application/json']) # noqa: E501
|
|
1800
|
-
|
|
1801
|
-
# Authentication setting
|
|
1802
|
-
auth_settings = [] # noqa: E501
|
|
1803
|
-
|
|
1804
|
-
return self.api_client.call_api(
|
|
1805
|
-
'/v1/projects/{projectId}/service-execution-appinstances', 'GET',
|
|
1806
|
-
path_params,
|
|
1807
|
-
query_params,
|
|
1808
|
-
header_params,
|
|
1809
|
-
body=body_params,
|
|
1810
|
-
post_params=form_params,
|
|
1811
|
-
files=local_var_files,
|
|
1812
|
-
response_type='V1ListServiceExecutionLightningappInstancesResponse', # noqa: E501
|
|
1813
|
-
auth_settings=auth_settings,
|
|
1814
|
-
async_req=params.get('async_req'),
|
|
1815
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1816
|
-
_preload_content=params.get('_preload_content', True),
|
|
1817
|
-
_request_timeout=params.get('_request_timeout'),
|
|
1818
|
-
collection_formats=collection_formats)
|
|
1819
|
-
|
|
1820
|
-
def endpoint_service_list_service_executions(self, project_id: 'str', **kwargs) -> 'V1ListServiceExecutionsResponse': # noqa: E501
|
|
1821
|
-
"""endpoint_service_list_service_executions # noqa: E501
|
|
1822
|
-
|
|
1823
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
1824
|
-
asynchronous HTTP request, please pass async_req=True
|
|
1825
|
-
>>> thread = api.endpoint_service_list_service_executions(project_id, async_req=True)
|
|
1826
|
-
>>> result = thread.get()
|
|
1827
|
-
|
|
1828
|
-
:param async_req bool
|
|
1829
|
-
:param str project_id: (required)
|
|
1830
|
-
:return: V1ListServiceExecutionsResponse
|
|
1831
|
-
If the method is called asynchronously,
|
|
1832
|
-
returns the request thread.
|
|
1833
|
-
"""
|
|
1834
|
-
kwargs['_return_http_data_only'] = True
|
|
1835
|
-
if kwargs.get('async_req'):
|
|
1836
|
-
return self.endpoint_service_list_service_executions_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1837
|
-
else:
|
|
1838
|
-
(data) = self.endpoint_service_list_service_executions_with_http_info(project_id, **kwargs) # noqa: E501
|
|
1839
|
-
return data
|
|
1840
|
-
|
|
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
|
|
1843
|
-
|
|
1844
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
1845
|
-
asynchronous HTTP request, please pass async_req=True
|
|
1846
|
-
>>> thread = api.endpoint_service_list_service_executions_with_http_info(project_id, async_req=True)
|
|
1847
|
-
>>> result = thread.get()
|
|
1848
|
-
|
|
1849
|
-
:param async_req bool
|
|
1850
|
-
:param str project_id: (required)
|
|
1851
|
-
:return: V1ListServiceExecutionsResponse
|
|
1852
|
-
If the method is called asynchronously,
|
|
1853
|
-
returns the request thread.
|
|
1854
|
-
"""
|
|
1855
|
-
|
|
1856
|
-
all_params = ['project_id'] # noqa: E501
|
|
1857
|
-
all_params.append('async_req')
|
|
1858
|
-
all_params.append('_return_http_data_only')
|
|
1859
|
-
all_params.append('_preload_content')
|
|
1860
|
-
all_params.append('_request_timeout')
|
|
1861
|
-
|
|
1862
|
-
params = locals()
|
|
1863
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
1864
|
-
if key not in all_params:
|
|
1865
|
-
raise TypeError(
|
|
1866
|
-
"Got an unexpected keyword argument '%s'"
|
|
1867
|
-
" to method endpoint_service_list_service_executions" % key
|
|
1868
|
-
)
|
|
1869
|
-
params[key] = val
|
|
1870
|
-
del params['kwargs']
|
|
1871
|
-
# verify the required parameter 'project_id' is set
|
|
1872
|
-
if ('project_id' not in params or
|
|
1873
|
-
params['project_id'] is None):
|
|
1874
|
-
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_list_service_executions`") # noqa: E501
|
|
1875
|
-
|
|
1876
|
-
collection_formats = {}
|
|
1877
|
-
|
|
1878
|
-
path_params = {}
|
|
1879
|
-
if 'project_id' in params:
|
|
1880
|
-
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1881
|
-
|
|
1882
|
-
query_params = []
|
|
1883
|
-
|
|
1884
|
-
header_params = {}
|
|
1885
|
-
|
|
1886
|
-
form_params = []
|
|
1887
|
-
local_var_files = {}
|
|
1888
|
-
|
|
1889
|
-
body_params = None
|
|
1890
|
-
# HTTP header `Accept`
|
|
1891
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1892
|
-
['application/json']) # noqa: E501
|
|
1893
|
-
|
|
1894
|
-
# Authentication setting
|
|
1895
|
-
auth_settings = [] # noqa: E501
|
|
1896
|
-
|
|
1897
|
-
return self.api_client.call_api(
|
|
1898
|
-
'/v1/projects/{projectId}/service-execution', 'GET',
|
|
1899
|
-
path_params,
|
|
1900
|
-
query_params,
|
|
1901
|
-
header_params,
|
|
1902
|
-
body=body_params,
|
|
1903
|
-
post_params=form_params,
|
|
1904
|
-
files=local_var_files,
|
|
1905
|
-
response_type='V1ListServiceExecutionsResponse', # noqa: E501
|
|
1906
|
-
auth_settings=auth_settings,
|
|
1907
|
-
async_req=params.get('async_req'),
|
|
1908
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1909
|
-
_preload_content=params.get('_preload_content', True),
|
|
1910
|
-
_request_timeout=params.get('_request_timeout'),
|
|
1911
|
-
collection_formats=collection_formats)
|
|
1912
|
-
|
|
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
|
|
1915
|
-
|
|
1916
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
1917
|
-
asynchronous HTTP request, please pass async_req=True
|
|
1918
|
-
>>> thread = api.endpoint_service_run_service_execution(body, project_id, id, async_req=True)
|
|
1919
|
-
>>> result = thread.get()
|
|
1920
|
-
|
|
1921
|
-
:param async_req bool
|
|
1922
|
-
:param object body: (required)
|
|
1923
|
-
:param str project_id: (required)
|
|
1924
|
-
:param str id: (required)
|
|
1925
|
-
:return: V1ServiceExecution
|
|
1926
|
-
If the method is called asynchronously,
|
|
1927
|
-
returns the request thread.
|
|
1928
|
-
"""
|
|
1929
|
-
kwargs['_return_http_data_only'] = True
|
|
1930
|
-
if kwargs.get('async_req'):
|
|
1931
|
-
return self.endpoint_service_run_service_execution_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
1932
|
-
else:
|
|
1933
|
-
(data) = self.endpoint_service_run_service_execution_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
1934
|
-
return data
|
|
1935
|
-
|
|
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
|
|
1938
|
-
|
|
1939
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
1940
|
-
asynchronous HTTP request, please pass async_req=True
|
|
1941
|
-
>>> thread = api.endpoint_service_run_service_execution_with_http_info(body, project_id, id, async_req=True)
|
|
1942
|
-
>>> result = thread.get()
|
|
1943
|
-
|
|
1944
|
-
:param async_req bool
|
|
1945
|
-
:param object body: (required)
|
|
1946
|
-
:param str project_id: (required)
|
|
1947
|
-
:param str id: (required)
|
|
1948
|
-
:return: V1ServiceExecution
|
|
1949
|
-
If the method is called asynchronously,
|
|
1950
|
-
returns the request thread.
|
|
1951
|
-
"""
|
|
1952
|
-
|
|
1953
|
-
all_params = ['body', 'project_id', 'id'] # noqa: E501
|
|
1954
|
-
all_params.append('async_req')
|
|
1955
|
-
all_params.append('_return_http_data_only')
|
|
1956
|
-
all_params.append('_preload_content')
|
|
1957
|
-
all_params.append('_request_timeout')
|
|
1958
|
-
|
|
1959
|
-
params = locals()
|
|
1960
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
1961
|
-
if key not in all_params:
|
|
1962
|
-
raise TypeError(
|
|
1963
|
-
"Got an unexpected keyword argument '%s'"
|
|
1964
|
-
" to method endpoint_service_run_service_execution" % key
|
|
1965
|
-
)
|
|
1966
|
-
params[key] = val
|
|
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
|
|
1972
|
-
# verify the required parameter 'project_id' is set
|
|
1973
|
-
if ('project_id' not in params or
|
|
1974
|
-
params['project_id'] is None):
|
|
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
|
|
1980
|
-
|
|
1981
|
-
collection_formats = {}
|
|
1982
|
-
|
|
1983
|
-
path_params = {}
|
|
1984
|
-
if 'project_id' in params:
|
|
1985
|
-
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
1986
|
-
if 'id' in params:
|
|
1987
|
-
path_params['id'] = params['id'] # noqa: E501
|
|
1988
|
-
|
|
1989
|
-
query_params = []
|
|
1990
|
-
|
|
1991
|
-
header_params = {}
|
|
1992
|
-
|
|
1993
|
-
form_params = []
|
|
1994
|
-
local_var_files = {}
|
|
1995
|
-
|
|
1996
|
-
body_params = None
|
|
1997
|
-
if 'body' in params:
|
|
1998
|
-
body_params = params['body']
|
|
1999
|
-
# HTTP header `Accept`
|
|
2000
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2001
|
-
['application/json']) # noqa: E501
|
|
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
|
-
|
|
2007
|
-
# Authentication setting
|
|
2008
|
-
auth_settings = [] # noqa: E501
|
|
2009
|
-
|
|
2010
|
-
return self.api_client.call_api(
|
|
2011
|
-
'/v1/projects/{projectId}/service-execution/{id}/run', 'POST',
|
|
2012
|
-
path_params,
|
|
2013
|
-
query_params,
|
|
2014
|
-
header_params,
|
|
2015
|
-
body=body_params,
|
|
2016
|
-
post_params=form_params,
|
|
2017
|
-
files=local_var_files,
|
|
2018
|
-
response_type='V1ServiceExecution', # noqa: E501
|
|
2019
|
-
auth_settings=auth_settings,
|
|
2020
|
-
async_req=params.get('async_req'),
|
|
2021
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2022
|
-
_preload_content=params.get('_preload_content', True),
|
|
2023
|
-
_request_timeout=params.get('_request_timeout'),
|
|
2024
|
-
collection_formats=collection_formats)
|
|
2025
|
-
|
|
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
|
|
46
|
+
def endpoint_service_create_endpoint(self, body: 'ProjectIdEndpointsBody', project_id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
47
|
+
"""endpoint_service_create_endpoint # noqa: E501
|
|
2028
48
|
|
|
2029
49
|
This method makes a synchronous HTTP request by default. To make an
|
|
2030
50
|
asynchronous HTTP request, please pass async_req=True
|
|
2031
|
-
>>> thread = api.
|
|
51
|
+
>>> thread = api.endpoint_service_create_endpoint(body, project_id, async_req=True)
|
|
2032
52
|
>>> result = thread.get()
|
|
2033
53
|
|
|
2034
54
|
:param async_req bool
|
|
2035
|
-
:param
|
|
55
|
+
:param ProjectIdEndpointsBody body: (required)
|
|
2036
56
|
:param str project_id: (required)
|
|
2037
|
-
:param str id: (required)
|
|
2038
57
|
:return: V1Endpoint
|
|
2039
58
|
If the method is called asynchronously,
|
|
2040
59
|
returns the request thread.
|
|
2041
60
|
"""
|
|
2042
61
|
kwargs['_return_http_data_only'] = True
|
|
2043
62
|
if kwargs.get('async_req'):
|
|
2044
|
-
return self.
|
|
63
|
+
return self.endpoint_service_create_endpoint_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
2045
64
|
else:
|
|
2046
|
-
(data) = self.
|
|
65
|
+
(data) = self.endpoint_service_create_endpoint_with_http_info(body, project_id, **kwargs) # noqa: E501
|
|
2047
66
|
return data
|
|
2048
67
|
|
|
2049
|
-
def
|
|
2050
|
-
"""
|
|
68
|
+
def endpoint_service_create_endpoint_with_http_info(self, body: 'ProjectIdEndpointsBody', project_id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
69
|
+
"""endpoint_service_create_endpoint # noqa: E501
|
|
2051
70
|
|
|
2052
71
|
This method makes a synchronous HTTP request by default. To make an
|
|
2053
72
|
asynchronous HTTP request, please pass async_req=True
|
|
2054
|
-
>>> thread = api.
|
|
73
|
+
>>> thread = api.endpoint_service_create_endpoint_with_http_info(body, project_id, async_req=True)
|
|
2055
74
|
>>> result = thread.get()
|
|
2056
75
|
|
|
2057
76
|
:param async_req bool
|
|
2058
|
-
:param
|
|
77
|
+
:param ProjectIdEndpointsBody body: (required)
|
|
2059
78
|
:param str project_id: (required)
|
|
2060
|
-
:param str id: (required)
|
|
2061
79
|
:return: V1Endpoint
|
|
2062
80
|
If the method is called asynchronously,
|
|
2063
81
|
returns the request thread.
|
|
2064
82
|
"""
|
|
2065
83
|
|
|
2066
|
-
all_params = ['body', 'project_id'
|
|
84
|
+
all_params = ['body', 'project_id'] # noqa: E501
|
|
2067
85
|
all_params.append('async_req')
|
|
2068
86
|
all_params.append('_return_http_data_only')
|
|
2069
87
|
all_params.append('_preload_content')
|
|
@@ -2074,30 +92,24 @@ class EndpointServiceApi(object):
|
|
|
2074
92
|
if key not in all_params:
|
|
2075
93
|
raise TypeError(
|
|
2076
94
|
"Got an unexpected keyword argument '%s'"
|
|
2077
|
-
" to method
|
|
95
|
+
" to method endpoint_service_create_endpoint" % key
|
|
2078
96
|
)
|
|
2079
97
|
params[key] = val
|
|
2080
98
|
del params['kwargs']
|
|
2081
99
|
# verify the required parameter 'body' is set
|
|
2082
100
|
if ('body' not in params or
|
|
2083
101
|
params['body'] is None):
|
|
2084
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
102
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_create_endpoint`") # noqa: E501
|
|
2085
103
|
# verify the required parameter 'project_id' is set
|
|
2086
104
|
if ('project_id' not in params or
|
|
2087
105
|
params['project_id'] is None):
|
|
2088
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2089
|
-
# verify the required parameter 'id' is set
|
|
2090
|
-
if ('id' not in params or
|
|
2091
|
-
params['id'] is None):
|
|
2092
|
-
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_update_endpoint`") # noqa: E501
|
|
106
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_create_endpoint`") # noqa: E501
|
|
2093
107
|
|
|
2094
108
|
collection_formats = {}
|
|
2095
109
|
|
|
2096
110
|
path_params = {}
|
|
2097
111
|
if 'project_id' in params:
|
|
2098
112
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2099
|
-
if 'id' in params:
|
|
2100
|
-
path_params['id'] = params['id'] # noqa: E501
|
|
2101
113
|
|
|
2102
114
|
query_params = []
|
|
2103
115
|
|
|
@@ -2121,7 +133,7 @@ class EndpointServiceApi(object):
|
|
|
2121
133
|
auth_settings = [] # noqa: E501
|
|
2122
134
|
|
|
2123
135
|
return self.api_client.call_api(
|
|
2124
|
-
'/v1/projects/{projectId}/endpoints
|
|
136
|
+
'/v1/projects/{projectId}/endpoints', 'POST',
|
|
2125
137
|
path_params,
|
|
2126
138
|
query_params,
|
|
2127
139
|
header_params,
|
|
@@ -2136,47 +148,45 @@ class EndpointServiceApi(object):
|
|
|
2136
148
|
_request_timeout=params.get('_request_timeout'),
|
|
2137
149
|
collection_formats=collection_formats)
|
|
2138
150
|
|
|
2139
|
-
def
|
|
2140
|
-
"""
|
|
151
|
+
def endpoint_service_delete_endpoint(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteEndpointResponse': # noqa: E501
|
|
152
|
+
"""endpoint_service_delete_endpoint # noqa: E501
|
|
2141
153
|
|
|
2142
154
|
This method makes a synchronous HTTP request by default. To make an
|
|
2143
155
|
asynchronous HTTP request, please pass async_req=True
|
|
2144
|
-
>>> thread = api.
|
|
156
|
+
>>> thread = api.endpoint_service_delete_endpoint(project_id, id, async_req=True)
|
|
2145
157
|
>>> result = thread.get()
|
|
2146
158
|
|
|
2147
159
|
:param async_req bool
|
|
2148
|
-
:param FileendpointsIdBody body: (required)
|
|
2149
160
|
:param str project_id: (required)
|
|
2150
161
|
:param str id: (required)
|
|
2151
|
-
:return:
|
|
162
|
+
:return: V1DeleteEndpointResponse
|
|
2152
163
|
If the method is called asynchronously,
|
|
2153
164
|
returns the request thread.
|
|
2154
165
|
"""
|
|
2155
166
|
kwargs['_return_http_data_only'] = True
|
|
2156
167
|
if kwargs.get('async_req'):
|
|
2157
|
-
return self.
|
|
168
|
+
return self.endpoint_service_delete_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
2158
169
|
else:
|
|
2159
|
-
(data) = self.
|
|
170
|
+
(data) = self.endpoint_service_delete_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
|
|
2160
171
|
return data
|
|
2161
172
|
|
|
2162
|
-
def
|
|
2163
|
-
"""
|
|
173
|
+
def endpoint_service_delete_endpoint_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteEndpointResponse': # noqa: E501
|
|
174
|
+
"""endpoint_service_delete_endpoint # noqa: E501
|
|
2164
175
|
|
|
2165
176
|
This method makes a synchronous HTTP request by default. To make an
|
|
2166
177
|
asynchronous HTTP request, please pass async_req=True
|
|
2167
|
-
>>> thread = api.
|
|
178
|
+
>>> thread = api.endpoint_service_delete_endpoint_with_http_info(project_id, id, async_req=True)
|
|
2168
179
|
>>> result = thread.get()
|
|
2169
180
|
|
|
2170
181
|
:param async_req bool
|
|
2171
|
-
:param FileendpointsIdBody body: (required)
|
|
2172
182
|
:param str project_id: (required)
|
|
2173
183
|
:param str id: (required)
|
|
2174
|
-
:return:
|
|
184
|
+
:return: V1DeleteEndpointResponse
|
|
2175
185
|
If the method is called asynchronously,
|
|
2176
186
|
returns the request thread.
|
|
2177
187
|
"""
|
|
2178
188
|
|
|
2179
|
-
all_params = ['
|
|
189
|
+
all_params = ['project_id', 'id'] # noqa: E501
|
|
2180
190
|
all_params.append('async_req')
|
|
2181
191
|
all_params.append('_return_http_data_only')
|
|
2182
192
|
all_params.append('_preload_content')
|
|
@@ -2187,22 +197,18 @@ class EndpointServiceApi(object):
|
|
|
2187
197
|
if key not in all_params:
|
|
2188
198
|
raise TypeError(
|
|
2189
199
|
"Got an unexpected keyword argument '%s'"
|
|
2190
|
-
" to method
|
|
200
|
+
" to method endpoint_service_delete_endpoint" % key
|
|
2191
201
|
)
|
|
2192
202
|
params[key] = val
|
|
2193
203
|
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
|
|
2198
204
|
# verify the required parameter 'project_id' is set
|
|
2199
205
|
if ('project_id' not in params or
|
|
2200
206
|
params['project_id'] is None):
|
|
2201
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
207
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_delete_endpoint`") # noqa: E501
|
|
2202
208
|
# verify the required parameter 'id' is set
|
|
2203
209
|
if ('id' not in params or
|
|
2204
210
|
params['id'] is None):
|
|
2205
|
-
raise ValueError("Missing the required parameter `id` when calling `
|
|
211
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_delete_endpoint`") # noqa: E501
|
|
2206
212
|
|
|
2207
213
|
collection_formats = {}
|
|
2208
214
|
|
|
@@ -2220,28 +226,22 @@ class EndpointServiceApi(object):
|
|
|
2220
226
|
local_var_files = {}
|
|
2221
227
|
|
|
2222
228
|
body_params = None
|
|
2223
|
-
if 'body' in params:
|
|
2224
|
-
body_params = params['body']
|
|
2225
229
|
# HTTP header `Accept`
|
|
2226
230
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2227
231
|
['application/json']) # noqa: E501
|
|
2228
232
|
|
|
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
|
-
|
|
2233
233
|
# Authentication setting
|
|
2234
234
|
auth_settings = [] # noqa: E501
|
|
2235
235
|
|
|
2236
236
|
return self.api_client.call_api(
|
|
2237
|
-
'/v1/projects/{projectId}/
|
|
237
|
+
'/v1/projects/{projectId}/endpoints/{id}', 'DELETE',
|
|
2238
238
|
path_params,
|
|
2239
239
|
query_params,
|
|
2240
240
|
header_params,
|
|
2241
241
|
body=body_params,
|
|
2242
242
|
post_params=form_params,
|
|
2243
243
|
files=local_var_files,
|
|
2244
|
-
response_type='
|
|
244
|
+
response_type='V1DeleteEndpointResponse', # noqa: E501
|
|
2245
245
|
auth_settings=auth_settings,
|
|
2246
246
|
async_req=params.get('async_req'),
|
|
2247
247
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2249,47 +249,47 @@ class EndpointServiceApi(object):
|
|
|
2249
249
|
_request_timeout=params.get('_request_timeout'),
|
|
2250
250
|
collection_formats=collection_formats)
|
|
2251
251
|
|
|
2252
|
-
def
|
|
2253
|
-
"""
|
|
252
|
+
def endpoint_service_get_endpoint(self, project_id: 'str', ref: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
253
|
+
"""endpoint_service_get_endpoint # noqa: E501
|
|
2254
254
|
|
|
2255
255
|
This method makes a synchronous HTTP request by default. To make an
|
|
2256
256
|
asynchronous HTTP request, please pass async_req=True
|
|
2257
|
-
>>> thread = api.
|
|
257
|
+
>>> thread = api.endpoint_service_get_endpoint(project_id, ref, async_req=True)
|
|
2258
258
|
>>> result = thread.get()
|
|
2259
259
|
|
|
2260
260
|
:param async_req bool
|
|
2261
|
-
:param ServiceexecutionIdBody body: (required)
|
|
2262
261
|
:param str project_id: (required)
|
|
2263
|
-
:param str
|
|
2264
|
-
:
|
|
262
|
+
:param str ref: (required)
|
|
263
|
+
:param str ref_type:
|
|
264
|
+
:return: V1Endpoint
|
|
2265
265
|
If the method is called asynchronously,
|
|
2266
266
|
returns the request thread.
|
|
2267
267
|
"""
|
|
2268
268
|
kwargs['_return_http_data_only'] = True
|
|
2269
269
|
if kwargs.get('async_req'):
|
|
2270
|
-
return self.
|
|
270
|
+
return self.endpoint_service_get_endpoint_with_http_info(project_id, ref, **kwargs) # noqa: E501
|
|
2271
271
|
else:
|
|
2272
|
-
(data) = self.
|
|
272
|
+
(data) = self.endpoint_service_get_endpoint_with_http_info(project_id, ref, **kwargs) # noqa: E501
|
|
2273
273
|
return data
|
|
2274
274
|
|
|
2275
|
-
def
|
|
2276
|
-
"""
|
|
275
|
+
def endpoint_service_get_endpoint_with_http_info(self, project_id: 'str', ref: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
276
|
+
"""endpoint_service_get_endpoint # noqa: E501
|
|
2277
277
|
|
|
2278
278
|
This method makes a synchronous HTTP request by default. To make an
|
|
2279
279
|
asynchronous HTTP request, please pass async_req=True
|
|
2280
|
-
>>> thread = api.
|
|
280
|
+
>>> thread = api.endpoint_service_get_endpoint_with_http_info(project_id, ref, async_req=True)
|
|
2281
281
|
>>> result = thread.get()
|
|
2282
282
|
|
|
2283
283
|
:param async_req bool
|
|
2284
|
-
:param ServiceexecutionIdBody body: (required)
|
|
2285
284
|
:param str project_id: (required)
|
|
2286
|
-
:param str
|
|
2287
|
-
:
|
|
285
|
+
:param str ref: (required)
|
|
286
|
+
:param str ref_type:
|
|
287
|
+
:return: V1Endpoint
|
|
2288
288
|
If the method is called asynchronously,
|
|
2289
289
|
returns the request thread.
|
|
2290
290
|
"""
|
|
2291
291
|
|
|
2292
|
-
all_params = ['
|
|
292
|
+
all_params = ['project_id', 'ref', 'ref_type'] # noqa: E501
|
|
2293
293
|
all_params.append('async_req')
|
|
2294
294
|
all_params.append('_return_http_data_only')
|
|
2295
295
|
all_params.append('_preload_content')
|
|
@@ -2300,32 +300,30 @@ class EndpointServiceApi(object):
|
|
|
2300
300
|
if key not in all_params:
|
|
2301
301
|
raise TypeError(
|
|
2302
302
|
"Got an unexpected keyword argument '%s'"
|
|
2303
|
-
" to method
|
|
303
|
+
" to method endpoint_service_get_endpoint" % key
|
|
2304
304
|
)
|
|
2305
305
|
params[key] = val
|
|
2306
306
|
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
|
|
2311
307
|
# verify the required parameter 'project_id' is set
|
|
2312
308
|
if ('project_id' not in params or
|
|
2313
309
|
params['project_id'] is None):
|
|
2314
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2315
|
-
# verify the required parameter '
|
|
2316
|
-
if ('
|
|
2317
|
-
params['
|
|
2318
|
-
raise ValueError("Missing the required parameter `
|
|
310
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_get_endpoint`") # noqa: E501
|
|
311
|
+
# verify the required parameter 'ref' is set
|
|
312
|
+
if ('ref' not in params or
|
|
313
|
+
params['ref'] is None):
|
|
314
|
+
raise ValueError("Missing the required parameter `ref` when calling `endpoint_service_get_endpoint`") # noqa: E501
|
|
2319
315
|
|
|
2320
316
|
collection_formats = {}
|
|
2321
317
|
|
|
2322
318
|
path_params = {}
|
|
2323
319
|
if 'project_id' in params:
|
|
2324
320
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2325
|
-
if '
|
|
2326
|
-
path_params['
|
|
321
|
+
if 'ref' in params:
|
|
322
|
+
path_params['ref'] = params['ref'] # noqa: E501
|
|
2327
323
|
|
|
2328
324
|
query_params = []
|
|
325
|
+
if 'ref_type' in params:
|
|
326
|
+
query_params.append(('refType', params['ref_type'])) # noqa: E501
|
|
2329
327
|
|
|
2330
328
|
header_params = {}
|
|
2331
329
|
|
|
@@ -2333,28 +331,22 @@ class EndpointServiceApi(object):
|
|
|
2333
331
|
local_var_files = {}
|
|
2334
332
|
|
|
2335
333
|
body_params = None
|
|
2336
|
-
if 'body' in params:
|
|
2337
|
-
body_params = params['body']
|
|
2338
334
|
# HTTP header `Accept`
|
|
2339
335
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2340
336
|
['application/json']) # noqa: E501
|
|
2341
337
|
|
|
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
|
-
|
|
2346
338
|
# Authentication setting
|
|
2347
339
|
auth_settings = [] # noqa: E501
|
|
2348
340
|
|
|
2349
341
|
return self.api_client.call_api(
|
|
2350
|
-
'/v1/projects/{projectId}/
|
|
342
|
+
'/v1/projects/{projectId}/endpoints/{ref}', 'GET',
|
|
2351
343
|
path_params,
|
|
2352
344
|
query_params,
|
|
2353
345
|
header_params,
|
|
2354
346
|
body=body_params,
|
|
2355
347
|
post_params=form_params,
|
|
2356
348
|
files=local_var_files,
|
|
2357
|
-
response_type='
|
|
349
|
+
response_type='V1Endpoint', # noqa: E501
|
|
2358
350
|
auth_settings=auth_settings,
|
|
2359
351
|
async_req=params.get('async_req'),
|
|
2360
352
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2362,47 +354,59 @@ class EndpointServiceApi(object):
|
|
|
2362
354
|
_request_timeout=params.get('_request_timeout'),
|
|
2363
355
|
collection_formats=collection_formats)
|
|
2364
356
|
|
|
2365
|
-
def
|
|
2366
|
-
"""
|
|
357
|
+
def endpoint_service_list_endpoints(self, project_id: 'str', **kwargs) -> 'V1ListEndpointsResponse': # noqa: E501
|
|
358
|
+
"""endpoint_service_list_endpoints # noqa: E501
|
|
2367
359
|
|
|
2368
360
|
This method makes a synchronous HTTP request by default. To make an
|
|
2369
361
|
asynchronous HTTP request, please pass async_req=True
|
|
2370
|
-
>>> thread = api.
|
|
362
|
+
>>> thread = api.endpoint_service_list_endpoints(project_id, async_req=True)
|
|
2371
363
|
>>> result = thread.get()
|
|
2372
364
|
|
|
2373
365
|
:param async_req bool
|
|
2374
|
-
:param IdStorageBody body: (required)
|
|
2375
366
|
:param str project_id: (required)
|
|
2376
|
-
:param str
|
|
2377
|
-
:
|
|
367
|
+
:param str cloudspace_id:
|
|
368
|
+
:param bool auto_start:
|
|
369
|
+
:param str cluster_id:
|
|
370
|
+
:param list[str] ids:
|
|
371
|
+
:param bool active_cloudspaces:
|
|
372
|
+
:param bool active_jobs:
|
|
373
|
+
:param list[str] cloudspace_ids:
|
|
374
|
+
:param list[str] job_ids:
|
|
375
|
+
:return: V1ListEndpointsResponse
|
|
2378
376
|
If the method is called asynchronously,
|
|
2379
377
|
returns the request thread.
|
|
2380
378
|
"""
|
|
2381
379
|
kwargs['_return_http_data_only'] = True
|
|
2382
380
|
if kwargs.get('async_req'):
|
|
2383
|
-
return self.
|
|
381
|
+
return self.endpoint_service_list_endpoints_with_http_info(project_id, **kwargs) # noqa: E501
|
|
2384
382
|
else:
|
|
2385
|
-
(data) = self.
|
|
383
|
+
(data) = self.endpoint_service_list_endpoints_with_http_info(project_id, **kwargs) # noqa: E501
|
|
2386
384
|
return data
|
|
2387
385
|
|
|
2388
|
-
def
|
|
2389
|
-
"""
|
|
386
|
+
def endpoint_service_list_endpoints_with_http_info(self, project_id: 'str', **kwargs) -> 'V1ListEndpointsResponse': # noqa: E501
|
|
387
|
+
"""endpoint_service_list_endpoints # noqa: E501
|
|
2390
388
|
|
|
2391
389
|
This method makes a synchronous HTTP request by default. To make an
|
|
2392
390
|
asynchronous HTTP request, please pass async_req=True
|
|
2393
|
-
>>> thread = api.
|
|
391
|
+
>>> thread = api.endpoint_service_list_endpoints_with_http_info(project_id, async_req=True)
|
|
2394
392
|
>>> result = thread.get()
|
|
2395
393
|
|
|
2396
394
|
:param async_req bool
|
|
2397
|
-
:param IdStorageBody body: (required)
|
|
2398
395
|
:param str project_id: (required)
|
|
2399
|
-
:param str
|
|
2400
|
-
:
|
|
396
|
+
:param str cloudspace_id:
|
|
397
|
+
:param bool auto_start:
|
|
398
|
+
:param str cluster_id:
|
|
399
|
+
:param list[str] ids:
|
|
400
|
+
:param bool active_cloudspaces:
|
|
401
|
+
:param bool active_jobs:
|
|
402
|
+
:param list[str] cloudspace_ids:
|
|
403
|
+
:param list[str] job_ids:
|
|
404
|
+
:return: V1ListEndpointsResponse
|
|
2401
405
|
If the method is called asynchronously,
|
|
2402
406
|
returns the request thread.
|
|
2403
407
|
"""
|
|
2404
408
|
|
|
2405
|
-
all_params = ['
|
|
409
|
+
all_params = ['project_id', 'cloudspace_id', 'auto_start', 'cluster_id', 'ids', 'active_cloudspaces', 'active_jobs', 'cloudspace_ids', 'job_ids'] # noqa: E501
|
|
2406
410
|
all_params.append('async_req')
|
|
2407
411
|
all_params.append('_return_http_data_only')
|
|
2408
412
|
all_params.append('_preload_content')
|
|
@@ -2413,32 +417,41 @@ class EndpointServiceApi(object):
|
|
|
2413
417
|
if key not in all_params:
|
|
2414
418
|
raise TypeError(
|
|
2415
419
|
"Got an unexpected keyword argument '%s'"
|
|
2416
|
-
" to method
|
|
420
|
+
" to method endpoint_service_list_endpoints" % key
|
|
2417
421
|
)
|
|
2418
422
|
params[key] = val
|
|
2419
423
|
del params['kwargs']
|
|
2420
|
-
# verify the required parameter 'body' is set
|
|
2421
|
-
if ('body' not in params or
|
|
2422
|
-
params['body'] is None):
|
|
2423
|
-
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_upload_service_execution_artifact`") # noqa: E501
|
|
2424
424
|
# verify the required parameter 'project_id' is set
|
|
2425
425
|
if ('project_id' not in params or
|
|
2426
426
|
params['project_id'] is None):
|
|
2427
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
2428
|
-
# verify the required parameter 'id' is set
|
|
2429
|
-
if ('id' not in params or
|
|
2430
|
-
params['id'] is None):
|
|
2431
|
-
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_upload_service_execution_artifact`") # noqa: E501
|
|
427
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_list_endpoints`") # noqa: E501
|
|
2432
428
|
|
|
2433
429
|
collection_formats = {}
|
|
2434
430
|
|
|
2435
431
|
path_params = {}
|
|
2436
432
|
if 'project_id' in params:
|
|
2437
433
|
path_params['projectId'] = params['project_id'] # noqa: E501
|
|
2438
|
-
if 'id' in params:
|
|
2439
|
-
path_params['id'] = params['id'] # noqa: E501
|
|
2440
434
|
|
|
2441
435
|
query_params = []
|
|
436
|
+
if 'cloudspace_id' in params:
|
|
437
|
+
query_params.append(('cloudspaceId', params['cloudspace_id'])) # noqa: E501
|
|
438
|
+
if 'auto_start' in params:
|
|
439
|
+
query_params.append(('autoStart', params['auto_start'])) # noqa: E501
|
|
440
|
+
if 'cluster_id' in params:
|
|
441
|
+
query_params.append(('clusterId', params['cluster_id'])) # noqa: E501
|
|
442
|
+
if 'ids' in params:
|
|
443
|
+
query_params.append(('ids', params['ids'])) # noqa: E501
|
|
444
|
+
collection_formats['ids'] = 'multi' # noqa: E501
|
|
445
|
+
if 'active_cloudspaces' in params:
|
|
446
|
+
query_params.append(('activeCloudspaces', params['active_cloudspaces'])) # noqa: E501
|
|
447
|
+
if 'active_jobs' in params:
|
|
448
|
+
query_params.append(('activeJobs', params['active_jobs'])) # noqa: E501
|
|
449
|
+
if 'cloudspace_ids' in params:
|
|
450
|
+
query_params.append(('cloudspaceIds', params['cloudspace_ids'])) # noqa: E501
|
|
451
|
+
collection_formats['cloudspaceIds'] = 'multi' # noqa: E501
|
|
452
|
+
if 'job_ids' in params:
|
|
453
|
+
query_params.append(('jobIds', params['job_ids'])) # noqa: E501
|
|
454
|
+
collection_formats['jobIds'] = 'multi' # noqa: E501
|
|
2442
455
|
|
|
2443
456
|
header_params = {}
|
|
2444
457
|
|
|
@@ -2446,28 +459,22 @@ class EndpointServiceApi(object):
|
|
|
2446
459
|
local_var_files = {}
|
|
2447
460
|
|
|
2448
461
|
body_params = None
|
|
2449
|
-
if 'body' in params:
|
|
2450
|
-
body_params = params['body']
|
|
2451
462
|
# HTTP header `Accept`
|
|
2452
463
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2453
464
|
['application/json']) # noqa: E501
|
|
2454
465
|
|
|
2455
|
-
# HTTP header `Content-Type`
|
|
2456
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2457
|
-
['application/json']) # noqa: E501
|
|
2458
|
-
|
|
2459
466
|
# Authentication setting
|
|
2460
467
|
auth_settings = [] # noqa: E501
|
|
2461
468
|
|
|
2462
469
|
return self.api_client.call_api(
|
|
2463
|
-
'/v1/projects/{projectId}/
|
|
470
|
+
'/v1/projects/{projectId}/endpoints', 'GET',
|
|
2464
471
|
path_params,
|
|
2465
472
|
query_params,
|
|
2466
473
|
header_params,
|
|
2467
474
|
body=body_params,
|
|
2468
475
|
post_params=form_params,
|
|
2469
476
|
files=local_var_files,
|
|
2470
|
-
response_type='
|
|
477
|
+
response_type='V1ListEndpointsResponse', # noqa: E501
|
|
2471
478
|
auth_settings=auth_settings,
|
|
2472
479
|
async_req=params.get('async_req'),
|
|
2473
480
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2475,42 +482,42 @@ class EndpointServiceApi(object):
|
|
|
2475
482
|
_request_timeout=params.get('_request_timeout'),
|
|
2476
483
|
collection_formats=collection_formats)
|
|
2477
484
|
|
|
2478
|
-
def
|
|
2479
|
-
"""
|
|
485
|
+
def endpoint_service_update_endpoint(self, body: 'EndpointsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
486
|
+
"""endpoint_service_update_endpoint # noqa: E501
|
|
2480
487
|
|
|
2481
488
|
This method makes a synchronous HTTP request by default. To make an
|
|
2482
489
|
asynchronous HTTP request, please pass async_req=True
|
|
2483
|
-
>>> thread = api.
|
|
490
|
+
>>> thread = api.endpoint_service_update_endpoint(body, project_id, id, async_req=True)
|
|
2484
491
|
>>> result = thread.get()
|
|
2485
492
|
|
|
2486
493
|
:param async_req bool
|
|
2487
|
-
:param
|
|
494
|
+
:param EndpointsIdBody body: (required)
|
|
2488
495
|
:param str project_id: (required)
|
|
2489
496
|
:param str id: (required)
|
|
2490
|
-
:return:
|
|
497
|
+
:return: V1Endpoint
|
|
2491
498
|
If the method is called asynchronously,
|
|
2492
499
|
returns the request thread.
|
|
2493
500
|
"""
|
|
2494
501
|
kwargs['_return_http_data_only'] = True
|
|
2495
502
|
if kwargs.get('async_req'):
|
|
2496
|
-
return self.
|
|
503
|
+
return self.endpoint_service_update_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
2497
504
|
else:
|
|
2498
|
-
(data) = self.
|
|
505
|
+
(data) = self.endpoint_service_update_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
|
|
2499
506
|
return data
|
|
2500
507
|
|
|
2501
|
-
def
|
|
2502
|
-
"""
|
|
508
|
+
def endpoint_service_update_endpoint_with_http_info(self, body: 'EndpointsIdBody', project_id: 'str', id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
|
|
509
|
+
"""endpoint_service_update_endpoint # noqa: E501
|
|
2503
510
|
|
|
2504
511
|
This method makes a synchronous HTTP request by default. To make an
|
|
2505
512
|
asynchronous HTTP request, please pass async_req=True
|
|
2506
|
-
>>> thread = api.
|
|
513
|
+
>>> thread = api.endpoint_service_update_endpoint_with_http_info(body, project_id, id, async_req=True)
|
|
2507
514
|
>>> result = thread.get()
|
|
2508
515
|
|
|
2509
516
|
:param async_req bool
|
|
2510
|
-
:param
|
|
517
|
+
:param EndpointsIdBody body: (required)
|
|
2511
518
|
:param str project_id: (required)
|
|
2512
519
|
:param str id: (required)
|
|
2513
|
-
:return:
|
|
520
|
+
:return: V1Endpoint
|
|
2514
521
|
If the method is called asynchronously,
|
|
2515
522
|
returns the request thread.
|
|
2516
523
|
"""
|
|
@@ -2526,22 +533,22 @@ class EndpointServiceApi(object):
|
|
|
2526
533
|
if key not in all_params:
|
|
2527
534
|
raise TypeError(
|
|
2528
535
|
"Got an unexpected keyword argument '%s'"
|
|
2529
|
-
" to method
|
|
536
|
+
" to method endpoint_service_update_endpoint" % key
|
|
2530
537
|
)
|
|
2531
538
|
params[key] = val
|
|
2532
539
|
del params['kwargs']
|
|
2533
540
|
# verify the required parameter 'body' is set
|
|
2534
541
|
if ('body' not in params or
|
|
2535
542
|
params['body'] is None):
|
|
2536
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
543
|
+
raise ValueError("Missing the required parameter `body` when calling `endpoint_service_update_endpoint`") # noqa: E501
|
|
2537
544
|
# verify the required parameter 'project_id' is set
|
|
2538
545
|
if ('project_id' not in params or
|
|
2539
546
|
params['project_id'] is None):
|
|
2540
|
-
raise ValueError("Missing the required parameter `project_id` when calling `
|
|
547
|
+
raise ValueError("Missing the required parameter `project_id` when calling `endpoint_service_update_endpoint`") # noqa: E501
|
|
2541
548
|
# verify the required parameter 'id' is set
|
|
2542
549
|
if ('id' not in params or
|
|
2543
550
|
params['id'] is None):
|
|
2544
|
-
raise ValueError("Missing the required parameter `id` when calling `
|
|
551
|
+
raise ValueError("Missing the required parameter `id` when calling `endpoint_service_update_endpoint`") # noqa: E501
|
|
2545
552
|
|
|
2546
553
|
collection_formats = {}
|
|
2547
554
|
|
|
@@ -2573,14 +580,14 @@ class EndpointServiceApi(object):
|
|
|
2573
580
|
auth_settings = [] # noqa: E501
|
|
2574
581
|
|
|
2575
582
|
return self.api_client.call_api(
|
|
2576
|
-
'/v1/projects/{projectId}/
|
|
583
|
+
'/v1/projects/{projectId}/endpoints/{id}', 'PUT',
|
|
2577
584
|
path_params,
|
|
2578
585
|
query_params,
|
|
2579
586
|
header_params,
|
|
2580
587
|
body=body_params,
|
|
2581
588
|
post_params=form_params,
|
|
2582
589
|
files=local_var_files,
|
|
2583
|
-
response_type='
|
|
590
|
+
response_type='V1Endpoint', # noqa: E501
|
|
2584
591
|
auth_settings=auth_settings,
|
|
2585
592
|
async_req=params.get('async_req'),
|
|
2586
593
|
_return_http_data_only=params.get('_return_http_data_only'),
|