anyscale 0.24.86__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.
- anyscale/__init__.py +181 -0
- anyscale/_private/anyscale_client/README.md +16 -0
- anyscale/_private/anyscale_client/__init__.py +8 -0
- anyscale/_private/anyscale_client/anyscale_client.py +1847 -0
- anyscale/_private/anyscale_client/common.py +593 -0
- anyscale/_private/anyscale_client/fake_anyscale_client.py +1080 -0
- anyscale/_private/docgen/README.md +15 -0
- anyscale/_private/docgen/__main__.py +700 -0
- anyscale/_private/docgen/api.md +1106 -0
- anyscale/_private/docgen/generator.py +559 -0
- anyscale/_private/docgen/generator_legacy.py +104 -0
- anyscale/_private/docgen/models.md +2261 -0
- anyscale/_private/models/__init__.py +2 -0
- anyscale/_private/models/image_uri.py +116 -0
- anyscale/_private/models/model_base.py +251 -0
- anyscale/_private/sdk/__init__.py +102 -0
- anyscale/_private/sdk/base_sdk.py +35 -0
- anyscale/_private/sdk/timer.py +46 -0
- anyscale/_private/utils/__init__.py +0 -0
- anyscale/_private/utils/progress_util.py +85 -0
- anyscale/_private/workload/__init__.py +2 -0
- anyscale/_private/workload/workload_config.py +195 -0
- anyscale/_private/workload/workload_sdk.py +324 -0
- anyscale/aggregated_instance_usage/__init__.py +36 -0
- anyscale/aggregated_instance_usage/_private/aggregated_instance_usage_sdk.py +30 -0
- anyscale/aggregated_instance_usage/commands.py +42 -0
- anyscale/aggregated_instance_usage/models.py +85 -0
- anyscale/anyscale-cloud-setup-gcp-oa.yaml +88 -0
- anyscale/anyscale-cloud-setup-gcp.yaml +113 -0
- anyscale/anyscale-cloud-setup-oa.yaml +121 -0
- anyscale/anyscale-cloud-setup.yaml +327 -0
- anyscale/anyscale_pydantic/HISTORY.md +1254 -0
- anyscale/anyscale_pydantic/LICENSE +21 -0
- anyscale/anyscale_pydantic/PKG-INFO +1351 -0
- anyscale/anyscale_pydantic/README.md +7 -0
- anyscale/anyscale_pydantic/__init__.py +131 -0
- anyscale/anyscale_pydantic/_hypothesis_plugin.py +391 -0
- anyscale/anyscale_pydantic/annotated_types.py +72 -0
- anyscale/anyscale_pydantic/class_validators.py +361 -0
- anyscale/anyscale_pydantic/color.py +494 -0
- anyscale/anyscale_pydantic/config.py +191 -0
- anyscale/anyscale_pydantic/dataclasses.py +478 -0
- anyscale/anyscale_pydantic/datetime_parse.py +248 -0
- anyscale/anyscale_pydantic/decorator.py +264 -0
- anyscale/anyscale_pydantic/env_settings.py +350 -0
- anyscale/anyscale_pydantic/error_wrappers.py +162 -0
- anyscale/anyscale_pydantic/errors.py +646 -0
- anyscale/anyscale_pydantic/fields.py +1256 -0
- anyscale/anyscale_pydantic/generics.py +400 -0
- anyscale/anyscale_pydantic/json.py +112 -0
- anyscale/anyscale_pydantic/main.py +1109 -0
- anyscale/anyscale_pydantic/mypy.py +943 -0
- anyscale/anyscale_pydantic/networks.py +739 -0
- anyscale/anyscale_pydantic/parse.py +66 -0
- anyscale/anyscale_pydantic/py.typed +0 -0
- anyscale/anyscale_pydantic/schema.py +1164 -0
- anyscale/anyscale_pydantic/tools.py +92 -0
- anyscale/anyscale_pydantic/types.py +1206 -0
- anyscale/anyscale_pydantic/typing.py +603 -0
- anyscale/anyscale_pydantic/utils.py +803 -0
- anyscale/anyscale_pydantic/validators.py +765 -0
- anyscale/anyscale_pydantic/version.py +38 -0
- anyscale/anyscale_schema.json +9 -0
- anyscale/api.py +215 -0
- anyscale/api_utils/README.md +2 -0
- anyscale/api_utils/__init__.py +0 -0
- anyscale/api_utils/common_utils.py +81 -0
- anyscale/api_utils/exceptions/__init__.py +0 -0
- anyscale/api_utils/exceptions/job_errors.py +2 -0
- anyscale/api_utils/job_logs_util.py +116 -0
- anyscale/api_utils/job_util.py +22 -0
- anyscale/api_utils/logs_util.py +61 -0
- anyscale/authenticate.py +298 -0
- anyscale/aws_iam_policies.py +465 -0
- anyscale/background/__init__.py +0 -0
- anyscale/background/job_runner.py +64 -0
- anyscale/cli_logger.py +378 -0
- anyscale/client/.gitignore +66 -0
- anyscale/client/.openapi-generator/VERSION +1 -0
- anyscale/client/.openapi-generator-ignore +23 -0
- anyscale/client/README.md +1070 -0
- anyscale/client/git_push.sh +58 -0
- anyscale/client/openapi_client/__init__.py +667 -0
- anyscale/client/openapi_client/api/__init__.py +6 -0
- anyscale/client/openapi_client/api/default_api.py +40922 -0
- anyscale/client/openapi_client/api_client.py +647 -0
- anyscale/client/openapi_client/configuration.py +373 -0
- anyscale/client/openapi_client/exceptions.py +120 -0
- anyscale/client/openapi_client/models/__init__.py +652 -0
- anyscale/client/openapi_client/models/access_config.py +122 -0
- anyscale/client/openapi_client/models/aggregated_instance_usage_with_cost_model.py +733 -0
- anyscale/client/openapi_client/models/aggregatedinstanceusagewithcostmodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/aica_endpoint.py +527 -0
- anyscale/client/openapi_client/models/aica_endpoint_event.py +433 -0
- anyscale/client/openapi_client/models/aica_endpoint_event_level.py +103 -0
- anyscale/client/openapi_client/models/aica_endpoint_event_type.py +120 -0
- anyscale/client/openapi_client/models/aica_endpoint_scope.py +102 -0
- anyscale/client/openapi_client/models/aica_model.py +398 -0
- anyscale/client/openapi_client/models/aica_model_accelerator_map.py +123 -0
- anyscale/client/openapi_client/models/aica_model_configuration.py +209 -0
- anyscale/client/openapi_client/models/aica_observability_urls.py +178 -0
- anyscale/client/openapi_client/models/aicaendpoint_list_response.py +147 -0
- anyscale/client/openapi_client/models/aicaendpoint_response.py +121 -0
- anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/aicamodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/aicamodel_response.py +121 -0
- anyscale/client/openapi_client/models/aioa_cloud_waitlist_record.py +254 -0
- anyscale/client/openapi_client/models/aioacloudwaitlistrecord_response.py +121 -0
- anyscale/client/openapi_client/models/alert_type.py +103 -0
- anyscale/client/openapi_client/models/anyscale_aws_account.py +121 -0
- anyscale/client/openapi_client/models/anyscale_service_account.py +256 -0
- anyscale/client/openapi_client/models/anyscale_version_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaleawsaccount_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaled_credential_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaledcredentialresponse_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaleserviceaccount_response.py +121 -0
- anyscale/client/openapi_client/models/anyscaleversionresponse_response.py +121 -0
- anyscale/client/openapi_client/models/api_key_parameters.py +147 -0
- anyscale/client/openapi_client/models/app_config.py +436 -0
- anyscale/client/openapi_client/models/app_config_config_schema.py +235 -0
- anyscale/client/openapi_client/models/appconfig_list_response.py +147 -0
- anyscale/client/openapi_client/models/appconfig_response.py +121 -0
- anyscale/client/openapi_client/models/application_type.py +99 -0
- anyscale/client/openapi_client/models/applied_snapshot.py +175 -0
- anyscale/client/openapi_client/models/apply_production_service_v2_model.py +490 -0
- anyscale/client/openapi_client/models/archive_status.py +101 -0
- anyscale/client/openapi_client/models/archived_logs_info.py +164 -0
- anyscale/client/openapi_client/models/archivedlogsinfo_response.py +121 -0
- anyscale/client/openapi_client/models/attach_machine_pool_to_cloud_request.py +152 -0
- anyscale/client/openapi_client/models/attachmachinepooltocloudresponse_response.py +121 -0
- anyscale/client/openapi_client/models/aviary_model_config_v2.py +358 -0
- anyscale/client/openapi_client/models/aws_credentials.py +181 -0
- anyscale/client/openapi_client/models/aws_memory_db_cluster_config.py +148 -0
- anyscale/client/openapi_client/models/aws_region_and_zones.py +123 -0
- anyscale/client/openapi_client/models/aws_region_info.py +152 -0
- anyscale/client/openapi_client/models/awsregionandzones_response.py +121 -0
- anyscale/client/openapi_client/models/bank_account_information.py +239 -0
- anyscale/client/openapi_client/models/base_job_status.py +105 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +2130 -0
- anyscale/client/openapi_client/models/batch_response_batched_result_organization_invitation_base.py +121 -0
- anyscale/client/openapi_client/models/batched_result_organization_invitation_base.py +173 -0
- anyscale/client/openapi_client/models/billing_information.py +181 -0
- anyscale/client/openapi_client/models/billing_version_code.py +100 -0
- anyscale/client/openapi_client/models/body_aws_marketplace_registration_api_v2_organization_billing_aws_marketplace_registration_post.py +121 -0
- anyscale/client/openapi_client/models/buffer_registration.py +285 -0
- anyscale/client/openapi_client/models/build.py +607 -0
- anyscale/client/openapi_client/models/build_log_response.py +123 -0
- anyscale/client/openapi_client/models/build_registration.py +285 -0
- anyscale/client/openapi_client/models/build_response.py +121 -0
- anyscale/client/openapi_client/models/build_status.py +104 -0
- anyscale/client/openapi_client/models/buildlogresponse_response.py +121 -0
- anyscale/client/openapi_client/models/card.py +181 -0
- anyscale/client/openapi_client/models/card_id.py +108 -0
- anyscale/client/openapi_client/models/card_list_response.py +147 -0
- anyscale/client/openapi_client/models/change_password_params.py +148 -0
- anyscale/client/openapi_client/models/cleanup_leaked_grafana_dashboard_response.py +208 -0
- anyscale/client/openapi_client/models/cleanupleakedgrafanadashboardresponse_response.py +121 -0
- anyscale/client/openapi_client/models/clone_experimental_workspace.py +151 -0
- anyscale/client/openapi_client/models/cloud.py +802 -0
- anyscale/client/openapi_client/models/cloud_analytics_event.py +351 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_cloud_provider_error.py +152 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_cloud_resource.py +117 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_command_name.py +103 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_error.py +150 -0
- anyscale/client/openapi_client/models/cloud_analytics_event_name.py +109 -0
- anyscale/client/openapi_client/models/cloud_collaborator.py +175 -0
- anyscale/client/openapi_client/models/cloud_collaborator_value.py +177 -0
- anyscale/client/openapi_client/models/cloud_collaborators_query.py +122 -0
- anyscale/client/openapi_client/models/cloud_config.py +206 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_access_mode.py +100 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +102 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_info.py +268 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_request.py +152 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_scheme.py +100 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_request.py +209 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_response.py +296 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_scheme.py +100 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_request_scope.py +100 -0
- anyscale/client/openapi_client/models/cloud_hosting_type.py +100 -0
- anyscale/client/openapi_client/models/cloud_list_response.py +147 -0
- anyscale/client/openapi_client/models/cloud_name_options.py +121 -0
- anyscale/client/openapi_client/models/cloud_overview_dashboard.py +175 -0
- anyscale/client/openapi_client/models/cloud_project_collaborator.py +175 -0
- anyscale/client/openapi_client/models/cloud_project_collaborator_value.py +121 -0
- anyscale/client/openapi_client/models/cloud_provider.py +102 -0
- anyscale/client/openapi_client/models/cloud_providers.py +103 -0
- anyscale/client/openapi_client/models/cloud_region_and_zones.py +123 -0
- anyscale/client/openapi_client/models/cloud_region_info.py +152 -0
- anyscale/client/openapi_client/models/cloud_resource.py +740 -0
- anyscale/client/openapi_client/models/cloud_resource_gcp.py +691 -0
- anyscale/client/openapi_client/models/cloud_response.py +121 -0
- anyscale/client/openapi_client/models/cloud_state.py +104 -0
- anyscale/client/openapi_client/models/cloud_status.py +100 -0
- anyscale/client/openapi_client/models/cloud_type.py +100 -0
- anyscale/client/openapi_client/models/cloud_types.py +100 -0
- anyscale/client/openapi_client/models/cloud_version.py +100 -0
- anyscale/client/openapi_client/models/cloud_waitlist_status.py +102 -0
- anyscale/client/openapi_client/models/cloud_with_cloud_resource.py +830 -0
- anyscale/client/openapi_client/models/cloud_with_cloud_resource_gcp.py +830 -0
- anyscale/client/openapi_client/models/cloudcollaborator_list_response.py +147 -0
- anyscale/client/openapi_client/models/clouddatabucketpresigneduploadinfo_response.py +121 -0
- anyscale/client/openapi_client/models/clouddatabucketpresignedurlresponse_response.py +121 -0
- anyscale/client/openapi_client/models/cloudoverviewdashboard_response.py +121 -0
- anyscale/client/openapi_client/models/cloudregionandzones_response.py +121 -0
- anyscale/client/openapi_client/models/cloudresource_response.py +121 -0
- anyscale/client/openapi_client/models/cloudresourcegcp_response.py +121 -0
- anyscale/client/openapi_client/models/cloudwithcloudresource_response.py +121 -0
- anyscale/client/openapi_client/models/cloudwithcloudresourcegcp_response.py +121 -0
- anyscale/client/openapi_client/models/cluster_auth_response.py +148 -0
- anyscale/client/openapi_client/models/cluster_config.py +178 -0
- anyscale/client/openapi_client/models/cluster_config_with_session_idle_timeout.py +204 -0
- anyscale/client/openapi_client/models/cluster_environments_query.py +290 -0
- anyscale/client/openapi_client/models/cluster_event.py +174 -0
- anyscale/client/openapi_client/models/cluster_events_output.py +175 -0
- anyscale/client/openapi_client/models/cluster_features.py +152 -0
- anyscale/client/openapi_client/models/cluster_management_stack_versions.py +100 -0
- anyscale/client/openapi_client/models/cluster_startup.py +208 -0
- anyscale/client/openapi_client/models/cluster_status.py +104 -0
- anyscale/client/openapi_client/models/cluster_status_details.py +100 -0
- anyscale/client/openapi_client/models/clusterauthresponse_response.py +121 -0
- anyscale/client/openapi_client/models/clusterconfig_response.py +121 -0
- anyscale/client/openapi_client/models/clusterconfigwithsessionidletimeout_response.py +121 -0
- anyscale/client/openapi_client/models/clustereventsoutput_response.py +121 -0
- anyscale/client/openapi_client/models/clusterfeatures_response.py +121 -0
- anyscale/client/openapi_client/models/company_size.py +103 -0
- anyscale/client/openapi_client/models/compute_node_type.py +292 -0
- anyscale/client/openapi_client/models/compute_stack.py +100 -0
- anyscale/client/openapi_client/models/compute_template.py +415 -0
- anyscale/client/openapi_client/models/compute_template_config.py +461 -0
- anyscale/client/openapi_client/models/compute_template_query.py +316 -0
- anyscale/client/openapi_client/models/computetemplate_response.py +121 -0
- anyscale/client/openapi_client/models/computetemplateconfig_response.py +121 -0
- anyscale/client/openapi_client/models/create_aica_endpoint.py +210 -0
- anyscale/client/openapi_client/models/create_aioa_cloud_waitlist.py +173 -0
- anyscale/client/openapi_client/models/create_analytics_event.py +122 -0
- anyscale/client/openapi_client/models/create_app_config.py +235 -0
- anyscale/client/openapi_client/models/create_app_config_configuration_schema.py +235 -0
- anyscale/client/openapi_client/models/create_billing_version.py +181 -0
- anyscale/client/openapi_client/models/create_bug_report_response.py +152 -0
- anyscale/client/openapi_client/models/create_build.py +263 -0
- anyscale/client/openapi_client/models/create_byod_app_config.py +180 -0
- anyscale/client/openapi_client/models/create_byod_app_config_configuration_schema.py +206 -0
- anyscale/client/openapi_client/models/create_byod_build.py +152 -0
- anyscale/client/openapi_client/models/create_cloud_collaborator.py +148 -0
- anyscale/client/openapi_client/models/create_cloud_resource.py +682 -0
- anyscale/client/openapi_client/models/create_cloud_resource_gcp.py +633 -0
- anyscale/client/openapi_client/models/create_cloud_with_cloud_resource.py +546 -0
- anyscale/client/openapi_client/models/create_cluster_compute_config.py +463 -0
- anyscale/client/openapi_client/models/create_compute_template.py +229 -0
- anyscale/client/openapi_client/models/create_compute_template_config.py +464 -0
- anyscale/client/openapi_client/models/create_dataset.py +200 -0
- anyscale/client/openapi_client/models/create_experimental_workspace.py +435 -0
- anyscale/client/openapi_client/models/create_experimental_workspace_from_job.py +123 -0
- anyscale/client/openapi_client/models/create_fine_tuning_hyperparameters.py +156 -0
- anyscale/client/openapi_client/models/create_fine_tuning_job_product_request.py +353 -0
- anyscale/client/openapi_client/models/create_instance_usage_budget.py +253 -0
- anyscale/client/openapi_client/models/create_internal_production_job.py +262 -0
- anyscale/client/openapi_client/models/create_job_queue_config.py +206 -0
- anyscale/client/openapi_client/models/create_job_queue_requests.py +323 -0
- anyscale/client/openapi_client/models/create_machine_pool_request.py +151 -0
- anyscale/client/openapi_client/models/create_machine_pool_response.py +123 -0
- anyscale/client/openapi_client/models/create_machine_request.py +151 -0
- anyscale/client/openapi_client/models/create_machine_response.py +123 -0
- anyscale/client/openapi_client/models/create_metronome_webhook_notification.py +175 -0
- anyscale/client/openapi_client/models/create_notification_channel_record.py +146 -0
- anyscale/client/openapi_client/models/create_organization_configuration.py +199 -0
- anyscale/client/openapi_client/models/create_organization_invitation.py +121 -0
- anyscale/client/openapi_client/models/create_otp_return_api_model.py +148 -0
- anyscale/client/openapi_client/models/create_production_job_config.py +347 -0
- anyscale/client/openapi_client/models/create_resource_quota.py +293 -0
- anyscale/client/openapi_client/models/create_schedule.py +263 -0
- anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +565 -0
- anyscale/client/openapi_client/models/create_session_in_db.py +434 -0
- anyscale/client/openapi_client/models/create_session_response.py +174 -0
- anyscale/client/openapi_client/models/create_user.py +439 -0
- anyscale/client/openapi_client/models/create_user_project_collaborator.py +148 -0
- anyscale/client/openapi_client/models/create_user_project_collaborator_value.py +121 -0
- anyscale/client/openapi_client/models/create_workspace_from_template.py +263 -0
- anyscale/client/openapi_client/models/createbugreportresponse_response.py +121 -0
- anyscale/client/openapi_client/models/createcomputetemplateconfig_response.py +121 -0
- anyscale/client/openapi_client/models/createmachinepoolresponse_response.py +121 -0
- anyscale/client/openapi_client/models/createmachineresponse_response.py +121 -0
- anyscale/client/openapi_client/models/createotpreturnapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/createsessionresponse_response.py +121 -0
- anyscale/client/openapi_client/models/credit_card_information.py +268 -0
- anyscale/client/openapi_client/models/customer_alert_status.py +101 -0
- anyscale/client/openapi_client/models/customer_billing_type.py +101 -0
- anyscale/client/openapi_client/models/dataplane_services.py +102 -0
- anyscale/client/openapi_client/models/dataset.py +416 -0
- anyscale/client/openapi_client/models/dataset_list_response.py +150 -0
- anyscale/client/openapi_client/models/dataset_response.py +121 -0
- anyscale/client/openapi_client/models/dataset_upload.py +148 -0
- anyscale/client/openapi_client/models/datasetupload_response.py +121 -0
- anyscale/client/openapi_client/models/decorated_application_template.py +493 -0
- anyscale/client/openapi_client/models/decorated_build.py +664 -0
- anyscale/client/openapi_client/models/decorated_compute_template.py +446 -0
- anyscale/client/openapi_client/models/decorated_compute_template_config.py +490 -0
- anyscale/client/openapi_client/models/decorated_interactive_session.py +793 -0
- anyscale/client/openapi_client/models/decorated_job.py +793 -0
- anyscale/client/openapi_client/models/decorated_job_queue.py +639 -0
- anyscale/client/openapi_client/models/decorated_job_submission.py +575 -0
- anyscale/client/openapi_client/models/decorated_list_service_api_model.py +670 -0
- anyscale/client/openapi_client/models/decorated_production_job.py +805 -0
- anyscale/client/openapi_client/models/decorated_production_job_state_transition.py +319 -0
- anyscale/client/openapi_client/models/decorated_production_service_v2_api_model.py +641 -0
- anyscale/client/openapi_client/models/decorated_production_service_v2_version_api_model.py +437 -0
- anyscale/client/openapi_client/models/decorated_runtime_env.py +488 -0
- anyscale/client/openapi_client/models/decorated_schedule.py +552 -0
- anyscale/client/openapi_client/models/decorated_serve_deployment.py +711 -0
- anyscale/client/openapi_client/models/decorated_service_event_api_model.py +513 -0
- anyscale/client/openapi_client/models/decorated_session.py +1789 -0
- anyscale/client/openapi_client/models/decorated_support_request.py +283 -0
- anyscale/client/openapi_client/models/decorated_unified_job.py +466 -0
- anyscale/client/openapi_client/models/decoratedapplicationtemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedapplicationtemplate_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedbuild_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedbuild_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedcomputetemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedcomputetemplate_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedinteractivesession_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedinteractivesession_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedjob_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedjob_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedjobqueue_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedjobqueue_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedjobsubmission_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedjobsubmission_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedlistserviceapimodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedproductionjob_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedproductionjob_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedproductionjobstatetransition_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedproductionservicev2_apimodel_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedruntimeenv_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedruntimeenv_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedschedule_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedschedule_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedservedeployment_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedservedeployment_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedserviceeventapimodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedsession_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedsession_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedsupportrequest_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedsupportrequest_response.py +121 -0
- anyscale/client/openapi_client/models/decoratedunifiedjob_list_response.py +147 -0
- anyscale/client/openapi_client/models/decoratedunifiedjob_response.py +121 -0
- anyscale/client/openapi_client/models/delete_machine_pool_request.py +123 -0
- anyscale/client/openapi_client/models/delete_machine_request.py +206 -0
- anyscale/client/openapi_client/models/deleted_platform_fine_tuned_model.py +148 -0
- anyscale/client/openapi_client/models/deletedplatformfinetunedmodel_response.py +121 -0
- anyscale/client/openapi_client/models/deletemachinepoolresponse_response.py +121 -0
- anyscale/client/openapi_client/models/detach_machine_pool_from_cloud_request.py +152 -0
- anyscale/client/openapi_client/models/detachmachinepoolfromcloudresponse_response.py +121 -0
- anyscale/client/openapi_client/models/dismissal_type.py +100 -0
- anyscale/client/openapi_client/models/editable_cloud_resource.py +206 -0
- anyscale/client/openapi_client/models/editable_cloud_resource_gcp.py +178 -0
- anyscale/client/openapi_client/models/error.py +174 -0
- anyscale/client/openapi_client/models/event_level.py +104 -0
- anyscale/client/openapi_client/models/execute_command_response.py +175 -0
- anyscale/client/openapi_client/models/execute_interactive_command_options.py +147 -0
- anyscale/client/openapi_client/models/execute_shell_command_options.py +121 -0
- anyscale/client/openapi_client/models/executecommandresponse_response.py +121 -0
- anyscale/client/openapi_client/models/experimental_workspace.py +748 -0
- anyscale/client/openapi_client/models/experimental_workspaces_sort_field.py +100 -0
- anyscale/client/openapi_client/models/experimentalworkspace_list_response.py +147 -0
- anyscale/client/openapi_client/models/experimentalworkspace_response.py +121 -0
- anyscale/client/openapi_client/models/external_service_status.py +147 -0
- anyscale/client/openapi_client/models/external_service_status_response.py +250 -0
- anyscale/client/openapi_client/models/external_terminal_command.py +280 -0
- anyscale/client/openapi_client/models/externalservicestatusresponse_response.py +121 -0
- anyscale/client/openapi_client/models/feature_compatibility.py +152 -0
- anyscale/client/openapi_client/models/feature_flag_response.py +121 -0
- anyscale/client/openapi_client/models/featureflagresponse_response.py +121 -0
- anyscale/client/openapi_client/models/fine_tune_type.py +100 -0
- anyscale/client/openapi_client/models/fine_tuned_model.py +412 -0
- anyscale/client/openapi_client/models/fine_tuning_job_status.py +103 -0
- anyscale/client/openapi_client/models/finetunedmodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/finetunedmodel_response.py +121 -0
- anyscale/client/openapi_client/models/finish_ft_job_request.py +204 -0
- anyscale/client/openapi_client/models/finish_ft_job_request_v2.py +183 -0
- anyscale/client/openapi_client/models/gcp_file_store_config.py +175 -0
- anyscale/client/openapi_client/models/gcp_memorystore_instance_config.py +148 -0
- anyscale/client/openapi_client/models/grafana_dashboard.py +201 -0
- anyscale/client/openapi_client/models/grpc_protocol_config.py +178 -0
- anyscale/client/openapi_client/models/ha_job_error_types.py +103 -0
- anyscale/client/openapi_client/models/ha_job_event_level.py +101 -0
- anyscale/client/openapi_client/models/ha_job_event_origin.py +100 -0
- anyscale/client/openapi_client/models/ha_job_goal_states.py +102 -0
- anyscale/client/openapi_client/models/ha_job_states.py +109 -0
- anyscale/client/openapi_client/models/ha_job_type.py +100 -0
- anyscale/client/openapi_client/models/ha_jobs_sort_field.py +105 -0
- anyscale/client/openapi_client/models/head_ip.py +121 -0
- anyscale/client/openapi_client/models/headip_response.py +121 -0
- anyscale/client/openapi_client/models/http_protocol_config.py +150 -0
- anyscale/client/openapi_client/models/http_validation_error.py +120 -0
- anyscale/client/openapi_client/models/idle_termination_status.py +104 -0
- anyscale/client/openapi_client/models/import_aica_model.py +241 -0
- anyscale/client/openapi_client/models/instance_usage_budget.py +572 -0
- anyscale/client/openapi_client/models/instance_usage_budget_evaluation_period.py +100 -0
- anyscale/client/openapi_client/models/instanceusagebudget_list_response.py +147 -0
- anyscale/client/openapi_client/models/instanceusagebudget_response.py +121 -0
- anyscale/client/openapi_client/models/integration_details.py +120 -0
- anyscale/client/openapi_client/models/interactive_session_logs.py +152 -0
- anyscale/client/openapi_client/models/interactivesessionlogs_response.py +121 -0
- anyscale/client/openapi_client/models/internal_production_job.py +663 -0
- anyscale/client/openapi_client/models/internalproductionjob_response.py +121 -0
- anyscale/client/openapi_client/models/invoice.py +413 -0
- anyscale/client/openapi_client/models/invoice_list_response.py +147 -0
- anyscale/client/openapi_client/models/invoice_status.py +102 -0
- anyscale/client/openapi_client/models/invoices_query.py +150 -0
- anyscale/client/openapi_client/models/job_access.py +102 -0
- anyscale/client/openapi_client/models/job_queue.py +467 -0
- anyscale/client/openapi_client/models/job_queue_config.py +122 -0
- anyscale/client/openapi_client/models/job_queue_execution_mode.py +101 -0
- anyscale/client/openapi_client/models/job_queue_spec.py +263 -0
- anyscale/client/openapi_client/models/job_queue_state.py +100 -0
- anyscale/client/openapi_client/models/job_queues_query.py +262 -0
- anyscale/client/openapi_client/models/job_run_type.py +101 -0
- anyscale/client/openapi_client/models/job_state_log_level_types.py +100 -0
- anyscale/client/openapi_client/models/job_status.py +105 -0
- anyscale/client/openapi_client/models/job_submissions_sort_field.py +101 -0
- anyscale/client/openapi_client/models/jobqueue_response.py +121 -0
- anyscale/client/openapi_client/models/jobs_logs.py +152 -0
- anyscale/client/openapi_client/models/jobs_logs_query_info.py +181 -0
- anyscale/client/openapi_client/models/jobs_sort_field.py +104 -0
- anyscale/client/openapi_client/models/jobslogs_response.py +121 -0
- anyscale/client/openapi_client/models/jobslogsqueryinfo_response.py +121 -0
- anyscale/client/openapi_client/models/json_patch_operation.py +200 -0
- anyscale/client/openapi_client/models/kubernetes_manager_registration_request.py +123 -0
- anyscale/client/openapi_client/models/kubernetes_manager_registration_response.py +123 -0
- anyscale/client/openapi_client/models/kubernetesmanagerregistrationresponse_response.py +121 -0
- anyscale/client/openapi_client/models/lb_resource.py +123 -0
- anyscale/client/openapi_client/models/lbresource_response.py +121 -0
- anyscale/client/openapi_client/models/list_machine_pools_response.py +123 -0
- anyscale/client/openapi_client/models/list_machines_response.py +121 -0
- anyscale/client/openapi_client/models/list_resource_quotas_query.py +234 -0
- anyscale/client/openapi_client/models/list_response_metadata.py +146 -0
- anyscale/client/openapi_client/models/listmachinepoolsresponse_response.py +121 -0
- anyscale/client/openapi_client/models/listmachinesresponse_response.py +121 -0
- anyscale/client/openapi_client/models/log_detail.py +187 -0
- anyscale/client/openapi_client/models/log_details.py +151 -0
- anyscale/client/openapi_client/models/log_download_config.py +206 -0
- anyscale/client/openapi_client/models/log_download_request.py +150 -0
- anyscale/client/openapi_client/models/log_download_result.py +207 -0
- anyscale/client/openapi_client/models/log_file_chunk.py +439 -0
- anyscale/client/openapi_client/models/log_filter.py +430 -0
- anyscale/client/openapi_client/models/log_item.py +181 -0
- anyscale/client/openapi_client/models/log_item_batch.py +151 -0
- anyscale/client/openapi_client/models/log_level_types.py +100 -0
- anyscale/client/openapi_client/models/log_stream.py +151 -0
- anyscale/client/openapi_client/models/logdetails_response.py +121 -0
- anyscale/client/openapi_client/models/logdownloadresult_response.py +121 -0
- anyscale/client/openapi_client/models/login_user_params.py +205 -0
- anyscale/client/openapi_client/models/logitembatch_response.py +121 -0
- anyscale/client/openapi_client/models/logs_output.py +202 -0
- anyscale/client/openapi_client/models/logsoutput_response.py +121 -0
- anyscale/client/openapi_client/models/logstream_response.py +121 -0
- anyscale/client/openapi_client/models/long_running_workload.py +256 -0
- anyscale/client/openapi_client/models/longrunningworkload_list_response.py +147 -0
- anyscale/client/openapi_client/models/machine_allocation_state.py +100 -0
- anyscale/client/openapi_client/models/machine_connection_state.py +100 -0
- anyscale/client/openapi_client/models/machine_info.py +466 -0
- anyscale/client/openapi_client/models/machine_pool.py +266 -0
- anyscale/client/openapi_client/models/metronome_customer_info_model.py +148 -0
- anyscale/client/openapi_client/models/metronome_dashboard_type.py +101 -0
- anyscale/client/openapi_client/models/metronomecustomerinfomodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/metronomecustomerinfomodel_response.py +121 -0
- anyscale/client/openapi_client/models/mini_build.py +267 -0
- anyscale/client/openapi_client/models/mini_cloud.py +321 -0
- anyscale/client/openapi_client/models/mini_cluster.py +148 -0
- anyscale/client/openapi_client/models/mini_compute_template.py +228 -0
- anyscale/client/openapi_client/models/mini_compute_template_config.py +121 -0
- anyscale/client/openapi_client/models/mini_job_run.py +599 -0
- anyscale/client/openapi_client/models/mini_namespace.py +148 -0
- anyscale/client/openapi_client/models/mini_organization.py +148 -0
- anyscale/client/openapi_client/models/mini_production_job.py +202 -0
- anyscale/client/openapi_client/models/mini_project.py +205 -0
- anyscale/client/openapi_client/models/mini_runtime_environment.py +147 -0
- anyscale/client/openapi_client/models/mini_schedule.py +180 -0
- anyscale/client/openapi_client/models/mini_user.py +266 -0
- anyscale/client/openapi_client/models/minibuild_list_response.py +147 -0
- anyscale/client/openapi_client/models/minicomputetemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/miniproject_list_response.py +147 -0
- anyscale/client/openapi_client/models/monitor_logs_extension.py +100 -0
- anyscale/client/openapi_client/models/named_entity.py +148 -0
- anyscale/client/openapi_client/models/nfs_mount_target.py +151 -0
- anyscale/client/openapi_client/models/node_registration_aws.py +152 -0
- anyscale/client/openapi_client/models/node_registration_gcp.py +123 -0
- anyscale/client/openapi_client/models/node_registration_k8_s.py +178 -0
- anyscale/client/openapi_client/models/node_registration_provisioned.py +150 -0
- anyscale/client/openapi_client/models/node_registration_v2.py +279 -0
- anyscale/client/openapi_client/models/node_type.py +100 -0
- anyscale/client/openapi_client/models/notification_channel_email_config.py +121 -0
- anyscale/client/openapi_client/models/notification_channel_webhook_config.py +121 -0
- anyscale/client/openapi_client/models/onboarding_user_cards_query.py +122 -0
- anyscale/client/openapi_client/models/organization.py +490 -0
- anyscale/client/openapi_client/models/organization_availability.py +148 -0
- anyscale/client/openapi_client/models/organization_collaborator.py +259 -0
- anyscale/client/openapi_client/models/organization_configuration.py +280 -0
- anyscale/client/openapi_client/models/organization_configuration_response.py +227 -0
- anyscale/client/openapi_client/models/organization_invitation.py +255 -0
- anyscale/client/openapi_client/models/organization_invitation_base.py +121 -0
- anyscale/client/openapi_client/models/organization_marketing_questions.py +198 -0
- anyscale/client/openapi_client/models/organization_permission_level.py +100 -0
- anyscale/client/openapi_client/models/organization_project_collaborator.py +175 -0
- anyscale/client/openapi_client/models/organization_project_collaborator_value.py +148 -0
- anyscale/client/openapi_client/models/organization_public_identifier.py +121 -0
- anyscale/client/openapi_client/models/organization_response.py +121 -0
- anyscale/client/openapi_client/models/organization_summary.py +229 -0
- anyscale/client/openapi_client/models/organization_usage_alert.py +210 -0
- anyscale/client/openapi_client/models/organization_usage_alert_severity.py +100 -0
- anyscale/client/openapi_client/models/organizationavailability_response.py +121 -0
- anyscale/client/openapi_client/models/organizationcollaborator_list_response.py +147 -0
- anyscale/client/openapi_client/models/organizationconfiguration_list_response.py +147 -0
- anyscale/client/openapi_client/models/organizationconfigurationresponse_response.py +121 -0
- anyscale/client/openapi_client/models/organizationinvitation_list_response.py +147 -0
- anyscale/client/openapi_client/models/organizationinvitation_response.py +121 -0
- anyscale/client/openapi_client/models/organizationinvitationbase_response.py +121 -0
- anyscale/client/openapi_client/models/organizationprojectcollaborator_list_response.py +147 -0
- anyscale/client/openapi_client/models/organizationpublicidentifier_response.py +121 -0
- anyscale/client/openapi_client/models/organizationusagealert_list_response.py +147 -0
- anyscale/client/openapi_client/models/page_query.py +153 -0
- anyscale/client/openapi_client/models/pause_schedule.py +123 -0
- anyscale/client/openapi_client/models/permission_level.py +101 -0
- anyscale/client/openapi_client/models/platform_fine_tuning_job.py +577 -0
- anyscale/client/openapi_client/models/platformfinetuningjob_list_response.py +147 -0
- anyscale/client/openapi_client/models/platformfinetuningjob_response.py +121 -0
- anyscale/client/openapi_client/models/product_autoscaler_flag.py +122 -0
- anyscale/client/openapi_client/models/product_type.py +100 -0
- anyscale/client/openapi_client/models/productautoscalerflag_response.py +121 -0
- anyscale/client/openapi_client/models/production_job.py +437 -0
- anyscale/client/openapi_client/models/production_job_config.py +348 -0
- anyscale/client/openapi_client/models/production_job_event.py +378 -0
- anyscale/client/openapi_client/models/production_job_event_scope_filter.py +101 -0
- anyscale/client/openapi_client/models/production_job_state_transition.py +293 -0
- anyscale/client/openapi_client/models/productionjob_response.py +121 -0
- anyscale/client/openapi_client/models/productionjobevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/project.py +554 -0
- anyscale/client/openapi_client/models/project_base.py +121 -0
- anyscale/client/openapi_client/models/project_collaborator.py +175 -0
- anyscale/client/openapi_client/models/project_collaborator_value.py +175 -0
- anyscale/client/openapi_client/models/project_collaborators_put_message.py +121 -0
- anyscale/client/openapi_client/models/project_create_message.py +148 -0
- anyscale/client/openapi_client/models/project_default_session_name.py +121 -0
- anyscale/client/openapi_client/models/project_delete_message.py +121 -0
- anyscale/client/openapi_client/models/project_list_response.py +147 -0
- anyscale/client/openapi_client/models/project_patch_message.py +121 -0
- anyscale/client/openapi_client/models/project_response.py +121 -0
- anyscale/client/openapi_client/models/projectbase_response.py +121 -0
- anyscale/client/openapi_client/models/projectcollaborator_list_response.py +147 -0
- anyscale/client/openapi_client/models/projectdefaultsessionname_response.py +121 -0
- anyscale/client/openapi_client/models/projects_sort_field.py +101 -0
- anyscale/client/openapi_client/models/projects_violating_tree_hierarchy_response.py +121 -0
- anyscale/client/openapi_client/models/projectsviolatingtreehierarchyresponse_response.py +121 -0
- anyscale/client/openapi_client/models/protocols.py +150 -0
- anyscale/client/openapi_client/models/provider_metadata.py +205 -0
- anyscale/client/openapi_client/models/providermetadata_response.py +121 -0
- anyscale/client/openapi_client/models/python_modules.py +150 -0
- anyscale/client/openapi_client/models/quota.py +198 -0
- anyscale/client/openapi_client/models/ray_gcs_external_storage_config.py +178 -0
- anyscale/client/openapi_client/models/ray_runtime_env_config.py +262 -0
- anyscale/client/openapi_client/models/read_billing_version.py +210 -0
- anyscale/client/openapi_client/models/readbillingversion_list_response.py +147 -0
- anyscale/client/openapi_client/models/replica_details.py +152 -0
- anyscale/client/openapi_client/models/replica_state.py +104 -0
- anyscale/client/openapi_client/models/request_email_magic_link_response.py +147 -0
- anyscale/client/openapi_client/models/request_otp_return_api_model.py +148 -0
- anyscale/client/openapi_client/models/request_password_reset_params.py +147 -0
- anyscale/client/openapi_client/models/requestemailmagiclinkresponse_response.py +121 -0
- anyscale/client/openapi_client/models/requestotpreturnapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/reset_password_params.py +148 -0
- anyscale/client/openapi_client/models/resource_quota.py +465 -0
- anyscale/client/openapi_client/models/resource_quota_status.py +123 -0
- anyscale/client/openapi_client/models/resourcequota_list_response.py +147 -0
- anyscale/client/openapi_client/models/resourcequota_response.py +121 -0
- anyscale/client/openapi_client/models/resources.py +234 -0
- anyscale/client/openapi_client/models/resubmit_ft_job_request.py +121 -0
- anyscale/client/openapi_client/models/rollback_service_model.py +122 -0
- anyscale/client/openapi_client/models/rollout_strategy.py +100 -0
- anyscale/client/openapi_client/models/s3_download_location.py +148 -0
- anyscale/client/openapi_client/models/schedule_config.py +151 -0
- anyscale/client/openapi_client/models/serve_deployment_grafana_dashboard_status.py +101 -0
- anyscale/client/openapi_client/models/serve_deployment_logs.py +152 -0
- anyscale/client/openapi_client/models/serve_deployment_state.py +104 -0
- anyscale/client/openapi_client/models/servedeploymentlogs_response.py +121 -0
- anyscale/client/openapi_client/models/server_session_token.py +121 -0
- anyscale/client/openapi_client/models/serversessiontoken_response.py +121 -0
- anyscale/client/openapi_client/models/service_config.py +178 -0
- anyscale/client/openapi_client/models/service_event_current_state.py +108 -0
- anyscale/client/openapi_client/models/service_event_level.py +102 -0
- anyscale/client/openapi_client/models/service_event_origin.py +103 -0
- anyscale/client/openapi_client/models/service_event_scope.py +103 -0
- anyscale/client/openapi_client/models/service_event_scope_filter.py +104 -0
- anyscale/client/openapi_client/models/service_event_type.py +125 -0
- anyscale/client/openapi_client/models/service_event_verbose_message_model.py +180 -0
- anyscale/client/openapi_client/models/service_goal_states.py +100 -0
- anyscale/client/openapi_client/models/service_observability_urls.py +206 -0
- anyscale/client/openapi_client/models/service_sort_field.py +101 -0
- anyscale/client/openapi_client/models/service_type.py +100 -0
- anyscale/client/openapi_client/models/service_usage.py +353 -0
- anyscale/client/openapi_client/models/service_version_state.py +106 -0
- anyscale/client/openapi_client/models/serviceeventverbosemessagemodel_list_response.py +147 -0
- anyscale/client/openapi_client/models/session.py +834 -0
- anyscale/client/openapi_client/models/session_access.py +102 -0
- anyscale/client/openapi_client/models/session_autosync_sessions_update_message.py +121 -0
- anyscale/client/openapi_client/models/session_command.py +413 -0
- anyscale/client/openapi_client/models/session_command_finish_options.py +226 -0
- anyscale/client/openapi_client/models/session_command_id.py +121 -0
- anyscale/client/openapi_client/models/session_command_types.py +100 -0
- anyscale/client/openapi_client/models/session_create_message.py +148 -0
- anyscale/client/openapi_client/models/session_delete_message.py +121 -0
- anyscale/client/openapi_client/models/session_describe.py +175 -0
- anyscale/client/openapi_client/models/session_details.py +148 -0
- anyscale/client/openapi_client/models/session_event.py +267 -0
- anyscale/client/openapi_client/models/session_event_cause.py +150 -0
- anyscale/client/openapi_client/models/session_event_types.py +111 -0
- anyscale/client/openapi_client/models/session_execute_message.py +121 -0
- anyscale/client/openapi_client/models/session_finish_command_message.py +175 -0
- anyscale/client/openapi_client/models/session_history_item.py +146 -0
- anyscale/client/openapi_client/models/session_kill_command_message.py +121 -0
- anyscale/client/openapi_client/models/session_list_response.py +147 -0
- anyscale/client/openapi_client/models/session_patch_message.py +121 -0
- anyscale/client/openapi_client/models/session_response.py +121 -0
- anyscale/client/openapi_client/models/session_ssh_key.py +148 -0
- anyscale/client/openapi_client/models/session_starting_up_data.py +146 -0
- anyscale/client/openapi_client/models/session_state.py +111 -0
- anyscale/client/openapi_client/models/session_state_change_message.py +121 -0
- anyscale/client/openapi_client/models/session_state_data.py +146 -0
- anyscale/client/openapi_client/models/session_stopping_data.py +146 -0
- anyscale/client/openapi_client/models/sessioncommand_list_response.py +147 -0
- anyscale/client/openapi_client/models/sessioncommandid_response.py +121 -0
- anyscale/client/openapi_client/models/sessiondescribe_response.py +121 -0
- anyscale/client/openapi_client/models/sessiondetails_response.py +121 -0
- anyscale/client/openapi_client/models/sessionevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/sessionhistoryitem_list_response.py +147 -0
- anyscale/client/openapi_client/models/sessions_sort_field.py +104 -0
- anyscale/client/openapi_client/models/sessionsshkey_response.py +121 -0
- anyscale/client/openapi_client/models/setup_initialize_session_options.py +225 -0
- anyscale/client/openapi_client/models/show_otp_source_return_api_model.py +121 -0
- anyscale/client/openapi_client/models/showotpsourcereturnapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/snapshot_create_message.py +148 -0
- anyscale/client/openapi_client/models/snapshot_delete_message.py +148 -0
- anyscale/client/openapi_client/models/snapshot_patch_message.py +148 -0
- anyscale/client/openapi_client/models/socket_message_schemas.py +499 -0
- anyscale/client/openapi_client/models/socket_message_types.py +113 -0
- anyscale/client/openapi_client/models/socketmessageschemas_response.py +121 -0
- anyscale/client/openapi_client/models/socketmessagetypes_response.py +121 -0
- anyscale/client/openapi_client/models/sort_order.py +100 -0
- anyscale/client/openapi_client/models/sso_login_info.py +151 -0
- anyscale/client/openapi_client/models/ssologininfo_response.py +121 -0
- anyscale/client/openapi_client/models/start_session_options.py +146 -0
- anyscale/client/openapi_client/models/stop_session_options.py +227 -0
- anyscale/client/openapi_client/models/stream_publish_request.py +239 -0
- anyscale/client/openapi_client/models/subnet_id_with_availability_zone_aws.py +148 -0
- anyscale/client/openapi_client/models/support_requests_query.py +178 -0
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +1570 -0
- anyscale/client/openapi_client/models/templatized_compute_configs.py +202 -0
- anyscale/client/openapi_client/models/templatized_decorated_application_templates.py +202 -0
- anyscale/client/openapi_client/models/templatizedcomputeconfigs_response.py +121 -0
- anyscale/client/openapi_client/models/templatizeddecoratedapplicationtemplates_response.py +121 -0
- anyscale/client/openapi_client/models/text_query.py +178 -0
- anyscale/client/openapi_client/models/timestamped_logs_output.py +148 -0
- anyscale/client/openapi_client/models/timestampedlogsoutput_response.py +121 -0
- anyscale/client/openapi_client/models/tool.py +100 -0
- anyscale/client/openapi_client/models/tracing_config.py +178 -0
- anyscale/client/openapi_client/models/try_login_email_response.py +208 -0
- anyscale/client/openapi_client/models/tryloginemailresponse_response.py +121 -0
- anyscale/client/openapi_client/models/unified_job_sort_field.py +103 -0
- anyscale/client/openapi_client/models/unified_job_status.py +114 -0
- anyscale/client/openapi_client/models/unified_job_type.py +100 -0
- anyscale/client/openapi_client/models/update_cloud_with_cloud_resource.py +178 -0
- anyscale/client/openapi_client/models/update_cloud_with_cloud_resource_gcp.py +178 -0
- anyscale/client/openapi_client/models/update_cluster_dns.py +152 -0
- anyscale/client/openapi_client/models/update_compute_template.py +146 -0
- anyscale/client/openapi_client/models/update_compute_template_config.py +464 -0
- anyscale/client/openapi_client/models/update_endpoint.py +152 -0
- anyscale/client/openapi_client/models/update_machine_pool_request.py +151 -0
- anyscale/client/openapi_client/models/update_model_deployment.py +152 -0
- anyscale/client/openapi_client/models/update_organization_collaborator.py +121 -0
- anyscale/client/openapi_client/models/update_project_collaborator.py +121 -0
- anyscale/client/openapi_client/models/update_resource_quota.py +122 -0
- anyscale/client/openapi_client/models/updatemachinepoolresponse_response.py +121 -0
- anyscale/client/openapi_client/models/upload_session_command_logs_locations.py +148 -0
- anyscale/client/openapi_client/models/uploadsessioncommandlogslocations_response.py +121 -0
- anyscale/client/openapi_client/models/user_info.py +569 -0
- anyscale/client/openapi_client/models/user_resend_email_options.py +147 -0
- anyscale/client/openapi_client/models/user_service_access_types.py +100 -0
- anyscale/client/openapi_client/models/userinfo_response.py +121 -0
- anyscale/client/openapi_client/models/utm_fields.py +224 -0
- anyscale/client/openapi_client/models/ux_instance.py +468 -0
- anyscale/client/openapi_client/models/validate_otp_params_api_model.py +121 -0
- anyscale/client/openapi_client/models/validation_error.py +175 -0
- anyscale/client/openapi_client/models/verify_response.py +147 -0
- anyscale/client/openapi_client/models/verifyresponse_response.py +121 -0
- anyscale/client/openapi_client/models/visibility.py +100 -0
- anyscale/client/openapi_client/models/waitlist_status_response.py +121 -0
- anyscale/client/openapi_client/models/waitlist_status_type.py +100 -0
- anyscale/client/openapi_client/models/waitliststatusresponse_response.py +121 -0
- anyscale/client/openapi_client/models/wand_b_run_details.py +147 -0
- anyscale/client/openapi_client/models/web_terminal.py +121 -0
- anyscale/client/openapi_client/models/webterminal_list_response.py +147 -0
- anyscale/client/openapi_client/models/webterminal_response.py +121 -0
- anyscale/client/openapi_client/models/worker_node_type.py +404 -0
- anyscale/client/openapi_client/models/workload_type.py +102 -0
- anyscale/client/openapi_client/models/workspace_dataplane_artifact.py +181 -0
- anyscale/client/openapi_client/models/workspace_dataplane_artifacts.py +123 -0
- anyscale/client/openapi_client/models/workspace_dataplane_proxied_artifacts.py +178 -0
- anyscale/client/openapi_client/models/workspace_event.py +325 -0
- anyscale/client/openapi_client/models/workspace_event_source.py +100 -0
- anyscale/client/openapi_client/models/workspace_event_source_filter.py +101 -0
- anyscale/client/openapi_client/models/workspace_readme.py +123 -0
- anyscale/client/openapi_client/models/workspace_snapshot_states.py +108 -0
- anyscale/client/openapi_client/models/workspace_template.py +353 -0
- anyscale/client/openapi_client/models/workspace_template_cluster_environment_metadata.py +178 -0
- anyscale/client/openapi_client/models/workspacedataplaneartifacts_response.py +121 -0
- anyscale/client/openapi_client/models/workspacedataplaneproxiedartifacts_response.py +121 -0
- anyscale/client/openapi_client/models/workspaceevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/workspacereadme_response.py +121 -0
- anyscale/client/openapi_client/models/workspacetemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/workspacetemplateclusterenvironmentmetadata_response.py +121 -0
- anyscale/client/openapi_client/models/write_cloud.py +546 -0
- anyscale/client/openapi_client/models/write_cluster_config.py +123 -0
- anyscale/client/openapi_client/models/write_project.py +226 -0
- anyscale/client/openapi_client/models/write_session.py +147 -0
- anyscale/client/openapi_client/models/write_support_request.py +121 -0
- anyscale/client/openapi_client/rest.py +296 -0
- anyscale/client/requirements.txt +6 -0
- anyscale/client/setup.cfg +2 -0
- anyscale/client/setup.py +40 -0
- anyscale/client/test-requirements.txt +3 -0
- anyscale/client/tox.ini +9 -0
- anyscale/cloud.py +216 -0
- anyscale/cloud_resource.py +1032 -0
- anyscale/cluster.py +138 -0
- anyscale/cluster_compute.py +167 -0
- anyscale/cluster_env.py +173 -0
- anyscale/commands/__init__.py +0 -0
- anyscale/commands/aggregated_instance_usage_commands.py +86 -0
- anyscale/commands/anyscale_api/__init__.py +0 -0
- anyscale/commands/anyscale_api/api_commands.py +23 -0
- anyscale/commands/anyscale_api/session_commands_commands.py +80 -0
- anyscale/commands/anyscale_api/session_operations_commands.py +28 -0
- anyscale/commands/anyscale_api/sessions_commands.py +152 -0
- anyscale/commands/auth_commands.py +41 -0
- anyscale/commands/cloud_commands.py +1011 -0
- anyscale/commands/cloud_commands_util.py +10 -0
- anyscale/commands/cluster_commands.py +476 -0
- anyscale/commands/cluster_env_commands.py +139 -0
- anyscale/commands/command_examples.py +495 -0
- anyscale/commands/compute_config_commands.py +252 -0
- anyscale/commands/config_commands.py +213 -0
- anyscale/commands/exec_commands.py +14 -0
- anyscale/commands/experimental_integrations_commands.py +70 -0
- anyscale/commands/image_commands.py +125 -0
- anyscale/commands/job_commands.py +745 -0
- anyscale/commands/list_commands.py +85 -0
- anyscale/commands/llm/dataset_commands.py +269 -0
- anyscale/commands/llm/group.py +15 -0
- anyscale/commands/llm/models_commands.py +123 -0
- anyscale/commands/login_commands.py +79 -0
- anyscale/commands/logs_commands.py +312 -0
- anyscale/commands/machine_commands.py +116 -0
- anyscale/commands/machine_pool_commands.py +163 -0
- anyscale/commands/migrate_commands.py +84 -0
- anyscale/commands/project_commands.py +203 -0
- anyscale/commands/resource_quota_commands.py +214 -0
- anyscale/commands/schedule_commands.py +436 -0
- anyscale/commands/service_account_commands.py +72 -0
- anyscale/commands/service_commands.py +738 -0
- anyscale/commands/session_commands_hidden.py +179 -0
- anyscale/commands/util.py +152 -0
- anyscale/commands/workspace_commands.py +511 -0
- anyscale/commands/workspace_commands_v2.py +874 -0
- anyscale/component_activity_util.py +83 -0
- anyscale/compute_config/__init__.py +84 -0
- anyscale/compute_config/_private/compute_config_sdk.py +433 -0
- anyscale/compute_config/commands.py +122 -0
- anyscale/compute_config/models.py +630 -0
- anyscale/conf.py +23 -0
- anyscale/connect.py +1323 -0
- anyscale/connect_utils/__init__.py +0 -0
- anyscale/connect_utils/prepare_cluster.py +962 -0
- anyscale/connect_utils/project.py +298 -0
- anyscale/connect_utils/start_interactive_session.py +437 -0
- anyscale/controllers/__init__.py +0 -0
- anyscale/controllers/auth_controller.py +134 -0
- anyscale/controllers/base_controller.py +52 -0
- anyscale/controllers/cloud_controller.py +3609 -0
- anyscale/controllers/cloud_functional_verification_controller.py +858 -0
- anyscale/controllers/cluster_controller.py +720 -0
- anyscale/controllers/cluster_env_controller.py +219 -0
- anyscale/controllers/compute_config_controller.py +351 -0
- anyscale/controllers/config_controller.py +422 -0
- anyscale/controllers/experimental_integrations_controller.py +80 -0
- anyscale/controllers/job_controller.py +647 -0
- anyscale/controllers/jobs_bg_controller.py +0 -0
- anyscale/controllers/list_controller.py +290 -0
- anyscale/controllers/llm/__init__.py +0 -0
- anyscale/controllers/llm/models_controller.py +144 -0
- anyscale/controllers/logs_controller.py +449 -0
- anyscale/controllers/machine_controller.py +37 -0
- anyscale/controllers/machine_pool_controller.py +86 -0
- anyscale/controllers/project_controller.py +281 -0
- anyscale/controllers/resource_quota_controller.py +183 -0
- anyscale/controllers/schedule_controller.py +333 -0
- anyscale/controllers/service_account_controller.py +168 -0
- anyscale/controllers/service_controller.py +453 -0
- anyscale/controllers/workspace_controller.py +253 -0
- anyscale/feature_flags.py +4 -0
- anyscale/fingerprint.py +62 -0
- anyscale/formatters/__init__.py +0 -0
- anyscale/formatters/clouds_formatter.py +65 -0
- anyscale/formatters/common_formatter.py +22 -0
- anyscale/gcp_verification.py +792 -0
- anyscale/image/__init__.py +73 -0
- anyscale/image/_private/image_sdk.py +202 -0
- anyscale/image/commands.py +117 -0
- anyscale/image/models.py +57 -0
- anyscale/integrations.py +329 -0
- anyscale/job/__init__.py +166 -0
- anyscale/job/_private/job_sdk.py +497 -0
- anyscale/job/commands.py +267 -0
- anyscale/job/models.py +500 -0
- anyscale/links.py +4 -0
- anyscale/llm/__init__.py +2 -0
- anyscale/llm/dataset/__init__.py +2 -0
- anyscale/llm/dataset/_private/__init__.py +0 -0
- anyscale/llm/dataset/_private/docs.py +63 -0
- anyscale/llm/dataset/_private/models.py +71 -0
- anyscale/llm/dataset/_private/sdk.py +147 -0
- anyscale/llm/model/__init__.py +2 -0
- anyscale/llm/model/_private/models_sdk.py +62 -0
- anyscale/llm/model/commands.py +93 -0
- anyscale/llm/model/models.py +171 -0
- anyscale/llm/model/sdk.py +62 -0
- anyscale/llm/sdk.py +27 -0
- anyscale/memorydb_supported_zones.json +22 -0
- anyscale/models/job_model.py +457 -0
- anyscale/models/service_model.py +125 -0
- anyscale/project.py +501 -0
- anyscale/schedule/__init__.py +91 -0
- anyscale/schedule/_private/schedule_sdk.py +165 -0
- anyscale/schedule/commands.py +149 -0
- anyscale/schedule/models.py +145 -0
- anyscale/scripts.py +164 -0
- anyscale/sdk/anyscale_client/__init__.py +235 -0
- anyscale/sdk/anyscale_client/api/__init__.py +6 -0
- anyscale/sdk/anyscale_client/api/default_api.py +11625 -0
- anyscale/sdk/anyscale_client/api_client.py +647 -0
- anyscale/sdk/anyscale_client/configuration.py +373 -0
- anyscale/sdk/anyscale_client/exceptions.py +120 -0
- anyscale/sdk/anyscale_client/models/__init__.py +220 -0
- anyscale/sdk/anyscale_client/models/access_config.py +122 -0
- anyscale/sdk/anyscale_client/models/app_config.py +436 -0
- anyscale/sdk/anyscale_client/models/app_config_config_schema.py +235 -0
- anyscale/sdk/anyscale_client/models/appconfig_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/appconfig_response.py +121 -0
- anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +490 -0
- anyscale/sdk/anyscale_client/models/apply_service_model.py +490 -0
- anyscale/sdk/anyscale_client/models/archive_status.py +101 -0
- anyscale/sdk/anyscale_client/models/base_job_status.py +105 -0
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +2130 -0
- anyscale/sdk/anyscale_client/models/build.py +607 -0
- anyscale/sdk/anyscale_client/models/build_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/build_log_response.py +123 -0
- anyscale/sdk/anyscale_client/models/build_response.py +121 -0
- anyscale/sdk/anyscale_client/models/build_status.py +104 -0
- anyscale/sdk/anyscale_client/models/buildlogresponse_response.py +121 -0
- anyscale/sdk/anyscale_client/models/cloud.py +802 -0
- anyscale/sdk/anyscale_client/models/cloud_config.py +206 -0
- anyscale/sdk/anyscale_client/models/cloud_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/cloud_providers.py +103 -0
- anyscale/sdk/anyscale_client/models/cloud_response.py +121 -0
- anyscale/sdk/anyscale_client/models/cloud_state.py +104 -0
- anyscale/sdk/anyscale_client/models/cloud_status.py +100 -0
- anyscale/sdk/anyscale_client/models/cloud_type.py +100 -0
- anyscale/sdk/anyscale_client/models/cloud_types.py +100 -0
- anyscale/sdk/anyscale_client/models/cloud_version.py +100 -0
- anyscale/sdk/anyscale_client/models/clouds_query.py +150 -0
- anyscale/sdk/anyscale_client/models/cluster.py +721 -0
- anyscale/sdk/anyscale_client/models/cluster_compute.py +415 -0
- anyscale/sdk/anyscale_client/models/cluster_compute_config.py +461 -0
- anyscale/sdk/anyscale_client/models/cluster_computes_query.py +293 -0
- anyscale/sdk/anyscale_client/models/cluster_environment.py +380 -0
- anyscale/sdk/anyscale_client/models/cluster_environment_build.py +578 -0
- anyscale/sdk/anyscale_client/models/cluster_environment_build_log_response.py +123 -0
- anyscale/sdk/anyscale_client/models/cluster_environment_build_operation.py +237 -0
- anyscale/sdk/anyscale_client/models/cluster_environment_build_status.py +104 -0
- anyscale/sdk/anyscale_client/models/cluster_environments_query.py +290 -0
- anyscale/sdk/anyscale_client/models/cluster_head_node_info.py +152 -0
- anyscale/sdk/anyscale_client/models/cluster_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/cluster_management_stack_versions.py +100 -0
- anyscale/sdk/anyscale_client/models/cluster_operation.py +266 -0
- anyscale/sdk/anyscale_client/models/cluster_operation_type.py +101 -0
- anyscale/sdk/anyscale_client/models/cluster_response.py +121 -0
- anyscale/sdk/anyscale_client/models/cluster_services_urls.py +430 -0
- anyscale/sdk/anyscale_client/models/cluster_state.py +108 -0
- anyscale/sdk/anyscale_client/models/cluster_status.py +104 -0
- anyscale/sdk/anyscale_client/models/cluster_status_details.py +100 -0
- anyscale/sdk/anyscale_client/models/clustercompute_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/clustercompute_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusterenvironment_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/clusterenvironment_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuild_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuild_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuildlogresponse_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuildoperation_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusteroperation_response.py +121 -0
- anyscale/sdk/anyscale_client/models/clusters_query.py +234 -0
- anyscale/sdk/anyscale_client/models/compute_node_type.py +292 -0
- anyscale/sdk/anyscale_client/models/compute_stack.py +100 -0
- anyscale/sdk/anyscale_client/models/compute_template.py +415 -0
- anyscale/sdk/anyscale_client/models/compute_template_config.py +461 -0
- anyscale/sdk/anyscale_client/models/compute_template_query.py +316 -0
- anyscale/sdk/anyscale_client/models/computetemplate_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/computetemplate_response.py +121 -0
- anyscale/sdk/anyscale_client/models/computetemplateconfig_response.py +121 -0
- anyscale/sdk/anyscale_client/models/create_app_config.py +235 -0
- anyscale/sdk/anyscale_client/models/create_app_config_configuration_schema.py +235 -0
- anyscale/sdk/anyscale_client/models/create_build.py +263 -0
- anyscale/sdk/anyscale_client/models/create_byod_app_config_configuration_schema.py +206 -0
- anyscale/sdk/anyscale_client/models/create_byod_cluster_environment.py +180 -0
- anyscale/sdk/anyscale_client/models/create_byod_cluster_environment_build.py +152 -0
- anyscale/sdk/anyscale_client/models/create_byod_cluster_environment_configuration_schema.py +208 -0
- anyscale/sdk/anyscale_client/models/create_cloud.py +518 -0
- anyscale/sdk/anyscale_client/models/create_cluster.py +376 -0
- anyscale/sdk/anyscale_client/models/create_cluster_compute.py +229 -0
- anyscale/sdk/anyscale_client/models/create_cluster_compute_config.py +463 -0
- anyscale/sdk/anyscale_client/models/create_cluster_environment.py +235 -0
- anyscale/sdk/anyscale_client/models/create_cluster_environment_build.py +263 -0
- anyscale/sdk/anyscale_client/models/create_cluster_environment_configuration_schema.py +235 -0
- anyscale/sdk/anyscale_client/models/create_compute_template.py +229 -0
- anyscale/sdk/anyscale_client/models/create_compute_template_config.py +464 -0
- anyscale/sdk/anyscale_client/models/create_job_queue_config.py +206 -0
- anyscale/sdk/anyscale_client/models/create_production_job.py +234 -0
- anyscale/sdk/anyscale_client/models/create_production_job_config.py +347 -0
- anyscale/sdk/anyscale_client/models/create_project.py +207 -0
- anyscale/sdk/anyscale_client/models/create_schedule.py +263 -0
- anyscale/sdk/anyscale_client/models/create_session.py +432 -0
- anyscale/sdk/anyscale_client/models/create_session_command.py +152 -0
- anyscale/sdk/anyscale_client/models/create_sso_config.py +150 -0
- anyscale/sdk/anyscale_client/models/grpc_protocol_config.py +178 -0
- anyscale/sdk/anyscale_client/models/ha_job_goal_states.py +102 -0
- anyscale/sdk/anyscale_client/models/ha_job_states.py +109 -0
- anyscale/sdk/anyscale_client/models/http_protocol_config.py +150 -0
- anyscale/sdk/anyscale_client/models/http_validation_error.py +120 -0
- anyscale/sdk/anyscale_client/models/idle_termination_status.py +104 -0
- anyscale/sdk/anyscale_client/models/job.py +466 -0
- anyscale/sdk/anyscale_client/models/job_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/job_queue_config.py +122 -0
- anyscale/sdk/anyscale_client/models/job_queue_execution_mode.py +101 -0
- anyscale/sdk/anyscale_client/models/job_queue_spec.py +263 -0
- anyscale/sdk/anyscale_client/models/job_run_type.py +101 -0
- anyscale/sdk/anyscale_client/models/job_status.py +105 -0
- anyscale/sdk/anyscale_client/models/jobs_query.py +458 -0
- anyscale/sdk/anyscale_client/models/jobs_sort_field.py +104 -0
- anyscale/sdk/anyscale_client/models/list_response_metadata.py +146 -0
- anyscale/sdk/anyscale_client/models/list_service_model.py +347 -0
- anyscale/sdk/anyscale_client/models/listservicemodel_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/log_download_result.py +207 -0
- anyscale/sdk/anyscale_client/models/log_file_chunk.py +439 -0
- anyscale/sdk/anyscale_client/models/log_level_types.py +100 -0
- anyscale/sdk/anyscale_client/models/log_stream.py +151 -0
- anyscale/sdk/anyscale_client/models/logdownloadresult_response.py +121 -0
- anyscale/sdk/anyscale_client/models/logstream_response.py +121 -0
- anyscale/sdk/anyscale_client/models/node_type.py +100 -0
- anyscale/sdk/anyscale_client/models/object_storage_config.py +122 -0
- anyscale/sdk/anyscale_client/models/object_storage_config_s3.py +256 -0
- anyscale/sdk/anyscale_client/models/objectstorageconfig_response.py +121 -0
- anyscale/sdk/anyscale_client/models/operation_error.py +123 -0
- anyscale/sdk/anyscale_client/models/operation_progress.py +123 -0
- anyscale/sdk/anyscale_client/models/operation_result.py +150 -0
- anyscale/sdk/anyscale_client/models/organization.py +209 -0
- anyscale/sdk/anyscale_client/models/organization_response.py +121 -0
- anyscale/sdk/anyscale_client/models/page_query.py +153 -0
- anyscale/sdk/anyscale_client/models/pause_schedule.py +123 -0
- anyscale/sdk/anyscale_client/models/production_job.py +437 -0
- anyscale/sdk/anyscale_client/models/production_job_config.py +348 -0
- anyscale/sdk/anyscale_client/models/production_job_state_transition.py +293 -0
- anyscale/sdk/anyscale_client/models/production_service_v2_model.py +612 -0
- anyscale/sdk/anyscale_client/models/production_service_v2_version_model.py +437 -0
- anyscale/sdk/anyscale_client/models/productionjob_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/productionjob_response.py +121 -0
- anyscale/sdk/anyscale_client/models/productionservicev2_model_response.py +121 -0
- anyscale/sdk/anyscale_client/models/project.py +467 -0
- anyscale/sdk/anyscale_client/models/project_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/project_response.py +121 -0
- anyscale/sdk/anyscale_client/models/projects_query.py +234 -0
- anyscale/sdk/anyscale_client/models/protocols.py +150 -0
- anyscale/sdk/anyscale_client/models/python_modules.py +150 -0
- anyscale/sdk/anyscale_client/models/python_version.py +105 -0
- anyscale/sdk/anyscale_client/models/ray_gcs_external_storage_config.py +178 -0
- anyscale/sdk/anyscale_client/models/ray_runtime_env_config.py +262 -0
- anyscale/sdk/anyscale_client/models/resources.py +234 -0
- anyscale/sdk/anyscale_client/models/rollback_service_model.py +122 -0
- anyscale/sdk/anyscale_client/models/rollout_strategy.py +100 -0
- anyscale/sdk/anyscale_client/models/runtime_environment.py +406 -0
- anyscale/sdk/anyscale_client/models/runtimeenvironment_response.py +121 -0
- anyscale/sdk/anyscale_client/models/schedule_api_model.py +467 -0
- anyscale/sdk/anyscale_client/models/schedule_config.py +151 -0
- anyscale/sdk/anyscale_client/models/scheduleapimodel_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/scheduleapimodel_response.py +121 -0
- anyscale/sdk/anyscale_client/models/service_config.py +178 -0
- anyscale/sdk/anyscale_client/models/service_event_current_state.py +108 -0
- anyscale/sdk/anyscale_client/models/service_goal_states.py +100 -0
- anyscale/sdk/anyscale_client/models/service_model.py +612 -0
- anyscale/sdk/anyscale_client/models/service_observability_urls.py +206 -0
- anyscale/sdk/anyscale_client/models/service_sort_field.py +101 -0
- anyscale/sdk/anyscale_client/models/service_type.py +100 -0
- anyscale/sdk/anyscale_client/models/service_version_state.py +106 -0
- anyscale/sdk/anyscale_client/models/servicemodel_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/servicemodel_response.py +121 -0
- anyscale/sdk/anyscale_client/models/session.py +1535 -0
- anyscale/sdk/anyscale_client/models/session_command.py +350 -0
- anyscale/sdk/anyscale_client/models/session_command_types.py +100 -0
- anyscale/sdk/anyscale_client/models/session_event.py +267 -0
- anyscale/sdk/anyscale_client/models/session_event_cause.py +150 -0
- anyscale/sdk/anyscale_client/models/session_event_types.py +111 -0
- anyscale/sdk/anyscale_client/models/session_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/session_operation.py +266 -0
- anyscale/sdk/anyscale_client/models/session_operation_type.py +101 -0
- anyscale/sdk/anyscale_client/models/session_response.py +121 -0
- anyscale/sdk/anyscale_client/models/session_starting_up_data.py +146 -0
- anyscale/sdk/anyscale_client/models/session_state.py +111 -0
- anyscale/sdk/anyscale_client/models/session_state_data.py +146 -0
- anyscale/sdk/anyscale_client/models/session_stopping_data.py +146 -0
- anyscale/sdk/anyscale_client/models/sessioncommand_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/sessioncommand_response.py +121 -0
- anyscale/sdk/anyscale_client/models/sessionevent_list_response.py +147 -0
- anyscale/sdk/anyscale_client/models/sessionoperation_response.py +121 -0
- anyscale/sdk/anyscale_client/models/sessions_query.py +206 -0
- anyscale/sdk/anyscale_client/models/sort_by_clause_jobs_sort_field.py +148 -0
- anyscale/sdk/anyscale_client/models/sort_order.py +100 -0
- anyscale/sdk/anyscale_client/models/sso_config.py +237 -0
- anyscale/sdk/anyscale_client/models/sso_mode.py +101 -0
- anyscale/sdk/anyscale_client/models/ssoconfig_response.py +121 -0
- anyscale/sdk/anyscale_client/models/start_cluster_options.py +178 -0
- anyscale/sdk/anyscale_client/models/start_session_options.py +206 -0
- anyscale/sdk/anyscale_client/models/static_sso_config.py +210 -0
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +1570 -0
- anyscale/sdk/anyscale_client/models/terminate_cluster_options.py +122 -0
- anyscale/sdk/anyscale_client/models/terminate_session_options.py +206 -0
- anyscale/sdk/anyscale_client/models/text_query.py +178 -0
- anyscale/sdk/anyscale_client/models/tracing_config.py +178 -0
- anyscale/sdk/anyscale_client/models/update_app_config.py +122 -0
- anyscale/sdk/anyscale_client/models/update_cloud.py +150 -0
- anyscale/sdk/anyscale_client/models/update_cluster.py +206 -0
- anyscale/sdk/anyscale_client/models/update_compute_template.py +146 -0
- anyscale/sdk/anyscale_client/models/update_compute_template_config.py +464 -0
- anyscale/sdk/anyscale_client/models/update_organization.py +123 -0
- anyscale/sdk/anyscale_client/models/update_project.py +150 -0
- anyscale/sdk/anyscale_client/models/update_session.py +150 -0
- anyscale/sdk/anyscale_client/models/user_service_access_types.py +100 -0
- anyscale/sdk/anyscale_client/models/ux_instance.py +468 -0
- anyscale/sdk/anyscale_client/models/validation_error.py +175 -0
- anyscale/sdk/anyscale_client/models/worker_node_type.py +404 -0
- anyscale/sdk/anyscale_client/rest.py +296 -0
- anyscale/sdk/anyscale_client/sdk.py +634 -0
- anyscale/service/__init__.py +168 -0
- anyscale/service/_private/service_sdk.py +702 -0
- anyscale/service/commands.py +261 -0
- anyscale/service/models.py +671 -0
- anyscale/shared_anyscale_utils/__init__.py +1 -0
- anyscale/shared_anyscale_utils/aws.py +153 -0
- anyscale/shared_anyscale_utils/bytes_util.py +10 -0
- anyscale/shared_anyscale_utils/conf.py +47 -0
- anyscale/shared_anyscale_utils/default_anyscale_aws.yaml +74 -0
- anyscale/shared_anyscale_utils/default_anyscale_gcp.yaml +80 -0
- anyscale/shared_anyscale_utils/headers.py +38 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +2 -0
- anyscale/shared_anyscale_utils/project.py +15 -0
- anyscale/shared_anyscale_utils/test_util.py +22 -0
- anyscale/shared_anyscale_utils/tests/__init__.py +1 -0
- anyscale/shared_anyscale_utils/tests/test_asyncio.py +41 -0
- anyscale/shared_anyscale_utils/tests/test_ray_semver.py +63 -0
- anyscale/shared_anyscale_utils/util.py +50 -0
- anyscale/shared_anyscale_utils/utils/__init__.py +2 -0
- anyscale/shared_anyscale_utils/utils/asyncio.py +120 -0
- anyscale/shared_anyscale_utils/utils/byod.py +40 -0
- anyscale/shared_anyscale_utils/utils/collections.py +33 -0
- anyscale/shared_anyscale_utils/utils/id_gen.py +147 -0
- anyscale/shared_anyscale_utils/utils/protected_string.py +89 -0
- anyscale/shared_anyscale_utils/utils/ray_semver.py +81 -0
- anyscale/snapshot.py +46 -0
- anyscale/tables.py +82 -0
- anyscale/util.py +1155 -0
- anyscale/utils/__init__.py +0 -0
- anyscale/utils/cli_version_check_util.py +63 -0
- anyscale/utils/cloud_update_utils.py +862 -0
- anyscale/utils/cloud_utils.py +317 -0
- anyscale/utils/cluster_debug.py +191 -0
- anyscale/utils/connect_helpers.py +155 -0
- anyscale/utils/deprecation_util.py +32 -0
- anyscale/utils/entity_arg_utils.py +43 -0
- anyscale/utils/env_utils.py +17 -0
- anyscale/utils/gcp_managed_setup_utils.py +888 -0
- anyscale/utils/gcp_utils.py +312 -0
- anyscale/utils/imports/__init__.py +0 -0
- anyscale/utils/imports/all.py +13 -0
- anyscale/utils/imports/azure.py +14 -0
- anyscale/utils/imports/gcp.py +59 -0
- anyscale/utils/logs_utils.py +141 -0
- anyscale/utils/name_utils.py +33 -0
- anyscale/utils/network_verification.py +153 -0
- anyscale/utils/ray_utils.py +128 -0
- anyscale/utils/ray_version_checker.py +48 -0
- anyscale/utils/ray_version_utils.py +53 -0
- anyscale/utils/runtime_env.py +487 -0
- anyscale/utils/s3.py +92 -0
- anyscale/utils/user_utils.py +17 -0
- anyscale/utils/workload_types.py +7 -0
- anyscale/utils/workspace_notification.py +39 -0
- anyscale/utils/workspace_utils.py +65 -0
- anyscale/version.py +1 -0
- anyscale/webterminal/__init__.py +0 -0
- anyscale/webterminal/bash-preexec.sh +370 -0
- anyscale/webterminal/command_persister.py +164 -0
- anyscale/webterminal/utils.py +176 -0
- anyscale/webterminal/webterminal.py +311 -0
- anyscale/workspace/__init__.py +270 -0
- anyscale/workspace/_private/workspace_sdk.py +737 -0
- anyscale/workspace/commands.py +472 -0
- anyscale/workspace/models.py +296 -0
- anyscale/workspace_utils.py +35 -0
- anyscale-0.24.86.dist-info/LICENSE +68 -0
- anyscale-0.24.86.dist-info/METADATA +82 -0
- anyscale-0.24.86.dist-info/NOTICE +6 -0
- anyscale-0.24.86.dist-info/RECORD +1131 -0
- anyscale-0.24.86.dist-info/WHEEL +5 -0
- anyscale-0.24.86.dist-info/entry_points.txt +2 -0
- anyscale-0.24.86.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1535 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Anyscale API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by: https://openapi-generator.tech
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
from anyscale_client.configuration import Configuration
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class Session(object):
|
|
22
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
23
|
+
Ref: https://openapi-generator.tech
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
openapi_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
openapi_types = {
|
|
36
|
+
'name': 'str',
|
|
37
|
+
'project_id': 'str',
|
|
38
|
+
'cloud_id': 'str',
|
|
39
|
+
'cluster_config': 'str',
|
|
40
|
+
'build_id': 'str',
|
|
41
|
+
'compute_template_id': 'str',
|
|
42
|
+
'idle_timeout': 'int',
|
|
43
|
+
'uses_app_config': 'bool',
|
|
44
|
+
'allow_public_internet_traffic': 'bool',
|
|
45
|
+
'user_service_access': 'UserServiceAccessTypes',
|
|
46
|
+
'user_service_token': 'str',
|
|
47
|
+
'ha_job_id': 'str',
|
|
48
|
+
'id': 'str',
|
|
49
|
+
'state': 'SessionState',
|
|
50
|
+
'pending_state': 'SessionState',
|
|
51
|
+
'state_data': 'SessionStateData',
|
|
52
|
+
'status': 'ClusterStatus',
|
|
53
|
+
'status_details': 'ClusterStatusDetails',
|
|
54
|
+
'creator_id': 'str',
|
|
55
|
+
'created_at': 'datetime',
|
|
56
|
+
'archived_at': 'datetime',
|
|
57
|
+
'webterminal_auth_url': 'str',
|
|
58
|
+
'metrics_dashboard_url': 'str',
|
|
59
|
+
'data_metrics_dashboard_url': 'str',
|
|
60
|
+
'train_metrics_dashboard_url': 'str',
|
|
61
|
+
'serve_metrics_dashboard_url': 'str',
|
|
62
|
+
'serve_deployment_metrics_dashboard_url': 'str',
|
|
63
|
+
'persistent_metrics_url': 'str',
|
|
64
|
+
'connect_url': 'str',
|
|
65
|
+
'jupyter_notebook_url': 'str',
|
|
66
|
+
'ray_dashboard_url': 'str',
|
|
67
|
+
'access_token': 'str',
|
|
68
|
+
'service_proxy_url': 'str',
|
|
69
|
+
'tensorboard_available': 'bool',
|
|
70
|
+
'cluster_config_last_modified_at': 'datetime',
|
|
71
|
+
'host_name': 'str',
|
|
72
|
+
'head_node_ip': 'str',
|
|
73
|
+
'ssh_authorized_keys': 'list[str]',
|
|
74
|
+
'ssh_private_key': 'str',
|
|
75
|
+
'anyscaled_config': 'str',
|
|
76
|
+
'anyscaled_config_generated_at': 'datetime',
|
|
77
|
+
'default_build_id': 'str',
|
|
78
|
+
'idle_timeout_last_activity_at': 'datetime',
|
|
79
|
+
'ray_version': 'str',
|
|
80
|
+
'ray_version_last_updated_at': 'datetime',
|
|
81
|
+
'user_service_url': 'str',
|
|
82
|
+
'ray_component_activities_last_reported_at': 'datetime',
|
|
83
|
+
'activity_details': 'object',
|
|
84
|
+
'maximum_uptime_will_terminate_cluster_at': 'datetime',
|
|
85
|
+
'idle_termination_status': 'IdleTerminationStatus',
|
|
86
|
+
'ray_dashboard_snapshot_last_reported_at': 'datetime'
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
attribute_map = {
|
|
90
|
+
'name': 'name',
|
|
91
|
+
'project_id': 'project_id',
|
|
92
|
+
'cloud_id': 'cloud_id',
|
|
93
|
+
'cluster_config': 'cluster_config',
|
|
94
|
+
'build_id': 'build_id',
|
|
95
|
+
'compute_template_id': 'compute_template_id',
|
|
96
|
+
'idle_timeout': 'idle_timeout',
|
|
97
|
+
'uses_app_config': 'uses_app_config',
|
|
98
|
+
'allow_public_internet_traffic': 'allow_public_internet_traffic',
|
|
99
|
+
'user_service_access': 'user_service_access',
|
|
100
|
+
'user_service_token': 'user_service_token',
|
|
101
|
+
'ha_job_id': 'ha_job_id',
|
|
102
|
+
'id': 'id',
|
|
103
|
+
'state': 'state',
|
|
104
|
+
'pending_state': 'pending_state',
|
|
105
|
+
'state_data': 'state_data',
|
|
106
|
+
'status': 'status',
|
|
107
|
+
'status_details': 'status_details',
|
|
108
|
+
'creator_id': 'creator_id',
|
|
109
|
+
'created_at': 'created_at',
|
|
110
|
+
'archived_at': 'archived_at',
|
|
111
|
+
'webterminal_auth_url': 'webterminal_auth_url',
|
|
112
|
+
'metrics_dashboard_url': 'metrics_dashboard_url',
|
|
113
|
+
'data_metrics_dashboard_url': 'data_metrics_dashboard_url',
|
|
114
|
+
'train_metrics_dashboard_url': 'train_metrics_dashboard_url',
|
|
115
|
+
'serve_metrics_dashboard_url': 'serve_metrics_dashboard_url',
|
|
116
|
+
'serve_deployment_metrics_dashboard_url': 'serve_deployment_metrics_dashboard_url',
|
|
117
|
+
'persistent_metrics_url': 'persistent_metrics_url',
|
|
118
|
+
'connect_url': 'connect_url',
|
|
119
|
+
'jupyter_notebook_url': 'jupyter_notebook_url',
|
|
120
|
+
'ray_dashboard_url': 'ray_dashboard_url',
|
|
121
|
+
'access_token': 'access_token',
|
|
122
|
+
'service_proxy_url': 'service_proxy_url',
|
|
123
|
+
'tensorboard_available': 'tensorboard_available',
|
|
124
|
+
'cluster_config_last_modified_at': 'cluster_config_last_modified_at',
|
|
125
|
+
'host_name': 'host_name',
|
|
126
|
+
'head_node_ip': 'head_node_ip',
|
|
127
|
+
'ssh_authorized_keys': 'ssh_authorized_keys',
|
|
128
|
+
'ssh_private_key': 'ssh_private_key',
|
|
129
|
+
'anyscaled_config': 'anyscaled_config',
|
|
130
|
+
'anyscaled_config_generated_at': 'anyscaled_config_generated_at',
|
|
131
|
+
'default_build_id': 'default_build_id',
|
|
132
|
+
'idle_timeout_last_activity_at': 'idle_timeout_last_activity_at',
|
|
133
|
+
'ray_version': 'ray_version',
|
|
134
|
+
'ray_version_last_updated_at': 'ray_version_last_updated_at',
|
|
135
|
+
'user_service_url': 'user_service_url',
|
|
136
|
+
'ray_component_activities_last_reported_at': 'ray_component_activities_last_reported_at',
|
|
137
|
+
'activity_details': 'activity_details',
|
|
138
|
+
'maximum_uptime_will_terminate_cluster_at': 'maximum_uptime_will_terminate_cluster_at',
|
|
139
|
+
'idle_termination_status': 'idle_termination_status',
|
|
140
|
+
'ray_dashboard_snapshot_last_reported_at': 'ray_dashboard_snapshot_last_reported_at'
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
def __init__(self, name=None, project_id=None, cloud_id=None, cluster_config=None, build_id=None, compute_template_id=None, idle_timeout=120, uses_app_config=False, allow_public_internet_traffic=False, user_service_access=None, user_service_token=None, ha_job_id=None, id=None, state=None, pending_state=None, state_data=None, status=None, status_details=None, creator_id=None, created_at=None, archived_at=None, webterminal_auth_url=None, metrics_dashboard_url=None, data_metrics_dashboard_url=None, train_metrics_dashboard_url=None, serve_metrics_dashboard_url=None, serve_deployment_metrics_dashboard_url=None, persistent_metrics_url=None, connect_url=None, jupyter_notebook_url=None, ray_dashboard_url=None, access_token=None, service_proxy_url=None, tensorboard_available=None, cluster_config_last_modified_at=None, host_name=None, head_node_ip=None, ssh_authorized_keys=None, ssh_private_key=None, anyscaled_config=None, anyscaled_config_generated_at=None, default_build_id=None, idle_timeout_last_activity_at=None, ray_version=None, ray_version_last_updated_at=None, user_service_url=None, ray_component_activities_last_reported_at=None, activity_details=None, maximum_uptime_will_terminate_cluster_at=None, idle_termination_status=None, ray_dashboard_snapshot_last_reported_at=None, local_vars_configuration=None): # noqa: E501
|
|
144
|
+
"""Session - a model defined in OpenAPI""" # noqa: E501
|
|
145
|
+
if local_vars_configuration is None:
|
|
146
|
+
local_vars_configuration = Configuration()
|
|
147
|
+
self.local_vars_configuration = local_vars_configuration
|
|
148
|
+
|
|
149
|
+
self._name = None
|
|
150
|
+
self._project_id = None
|
|
151
|
+
self._cloud_id = None
|
|
152
|
+
self._cluster_config = None
|
|
153
|
+
self._build_id = None
|
|
154
|
+
self._compute_template_id = None
|
|
155
|
+
self._idle_timeout = None
|
|
156
|
+
self._uses_app_config = None
|
|
157
|
+
self._allow_public_internet_traffic = None
|
|
158
|
+
self._user_service_access = None
|
|
159
|
+
self._user_service_token = None
|
|
160
|
+
self._ha_job_id = None
|
|
161
|
+
self._id = None
|
|
162
|
+
self._state = None
|
|
163
|
+
self._pending_state = None
|
|
164
|
+
self._state_data = None
|
|
165
|
+
self._status = None
|
|
166
|
+
self._status_details = None
|
|
167
|
+
self._creator_id = None
|
|
168
|
+
self._created_at = None
|
|
169
|
+
self._archived_at = None
|
|
170
|
+
self._webterminal_auth_url = None
|
|
171
|
+
self._metrics_dashboard_url = None
|
|
172
|
+
self._data_metrics_dashboard_url = None
|
|
173
|
+
self._train_metrics_dashboard_url = None
|
|
174
|
+
self._serve_metrics_dashboard_url = None
|
|
175
|
+
self._serve_deployment_metrics_dashboard_url = None
|
|
176
|
+
self._persistent_metrics_url = None
|
|
177
|
+
self._connect_url = None
|
|
178
|
+
self._jupyter_notebook_url = None
|
|
179
|
+
self._ray_dashboard_url = None
|
|
180
|
+
self._access_token = None
|
|
181
|
+
self._service_proxy_url = None
|
|
182
|
+
self._tensorboard_available = None
|
|
183
|
+
self._cluster_config_last_modified_at = None
|
|
184
|
+
self._host_name = None
|
|
185
|
+
self._head_node_ip = None
|
|
186
|
+
self._ssh_authorized_keys = None
|
|
187
|
+
self._ssh_private_key = None
|
|
188
|
+
self._anyscaled_config = None
|
|
189
|
+
self._anyscaled_config_generated_at = None
|
|
190
|
+
self._default_build_id = None
|
|
191
|
+
self._idle_timeout_last_activity_at = None
|
|
192
|
+
self._ray_version = None
|
|
193
|
+
self._ray_version_last_updated_at = None
|
|
194
|
+
self._user_service_url = None
|
|
195
|
+
self._ray_component_activities_last_reported_at = None
|
|
196
|
+
self._activity_details = None
|
|
197
|
+
self._maximum_uptime_will_terminate_cluster_at = None
|
|
198
|
+
self._idle_termination_status = None
|
|
199
|
+
self._ray_dashboard_snapshot_last_reported_at = None
|
|
200
|
+
self.discriminator = None
|
|
201
|
+
|
|
202
|
+
self.name = name
|
|
203
|
+
self.project_id = project_id
|
|
204
|
+
self.cloud_id = cloud_id
|
|
205
|
+
self.cluster_config = cluster_config
|
|
206
|
+
if build_id is not None:
|
|
207
|
+
self.build_id = build_id
|
|
208
|
+
if compute_template_id is not None:
|
|
209
|
+
self.compute_template_id = compute_template_id
|
|
210
|
+
if idle_timeout is not None:
|
|
211
|
+
self.idle_timeout = idle_timeout
|
|
212
|
+
if uses_app_config is not None:
|
|
213
|
+
self.uses_app_config = uses_app_config
|
|
214
|
+
if allow_public_internet_traffic is not None:
|
|
215
|
+
self.allow_public_internet_traffic = allow_public_internet_traffic
|
|
216
|
+
if user_service_access is not None:
|
|
217
|
+
self.user_service_access = user_service_access
|
|
218
|
+
if user_service_token is not None:
|
|
219
|
+
self.user_service_token = user_service_token
|
|
220
|
+
if ha_job_id is not None:
|
|
221
|
+
self.ha_job_id = ha_job_id
|
|
222
|
+
self.id = id
|
|
223
|
+
self.state = state
|
|
224
|
+
if pending_state is not None:
|
|
225
|
+
self.pending_state = pending_state
|
|
226
|
+
if state_data is not None:
|
|
227
|
+
self.state_data = state_data
|
|
228
|
+
if status is not None:
|
|
229
|
+
self.status = status
|
|
230
|
+
if status_details is not None:
|
|
231
|
+
self.status_details = status_details
|
|
232
|
+
self.creator_id = creator_id
|
|
233
|
+
self.created_at = created_at
|
|
234
|
+
if archived_at is not None:
|
|
235
|
+
self.archived_at = archived_at
|
|
236
|
+
if webterminal_auth_url is not None:
|
|
237
|
+
self.webterminal_auth_url = webterminal_auth_url
|
|
238
|
+
if metrics_dashboard_url is not None:
|
|
239
|
+
self.metrics_dashboard_url = metrics_dashboard_url
|
|
240
|
+
if data_metrics_dashboard_url is not None:
|
|
241
|
+
self.data_metrics_dashboard_url = data_metrics_dashboard_url
|
|
242
|
+
if train_metrics_dashboard_url is not None:
|
|
243
|
+
self.train_metrics_dashboard_url = train_metrics_dashboard_url
|
|
244
|
+
if serve_metrics_dashboard_url is not None:
|
|
245
|
+
self.serve_metrics_dashboard_url = serve_metrics_dashboard_url
|
|
246
|
+
if serve_deployment_metrics_dashboard_url is not None:
|
|
247
|
+
self.serve_deployment_metrics_dashboard_url = serve_deployment_metrics_dashboard_url
|
|
248
|
+
if persistent_metrics_url is not None:
|
|
249
|
+
self.persistent_metrics_url = persistent_metrics_url
|
|
250
|
+
if connect_url is not None:
|
|
251
|
+
self.connect_url = connect_url
|
|
252
|
+
if jupyter_notebook_url is not None:
|
|
253
|
+
self.jupyter_notebook_url = jupyter_notebook_url
|
|
254
|
+
if ray_dashboard_url is not None:
|
|
255
|
+
self.ray_dashboard_url = ray_dashboard_url
|
|
256
|
+
self.access_token = access_token
|
|
257
|
+
if service_proxy_url is not None:
|
|
258
|
+
self.service_proxy_url = service_proxy_url
|
|
259
|
+
self.tensorboard_available = tensorboard_available
|
|
260
|
+
self.cluster_config_last_modified_at = cluster_config_last_modified_at
|
|
261
|
+
if host_name is not None:
|
|
262
|
+
self.host_name = host_name
|
|
263
|
+
if head_node_ip is not None:
|
|
264
|
+
self.head_node_ip = head_node_ip
|
|
265
|
+
self.ssh_authorized_keys = ssh_authorized_keys
|
|
266
|
+
self.ssh_private_key = ssh_private_key
|
|
267
|
+
if anyscaled_config is not None:
|
|
268
|
+
self.anyscaled_config = anyscaled_config
|
|
269
|
+
if anyscaled_config_generated_at is not None:
|
|
270
|
+
self.anyscaled_config_generated_at = anyscaled_config_generated_at
|
|
271
|
+
if default_build_id is not None:
|
|
272
|
+
self.default_build_id = default_build_id
|
|
273
|
+
if idle_timeout_last_activity_at is not None:
|
|
274
|
+
self.idle_timeout_last_activity_at = idle_timeout_last_activity_at
|
|
275
|
+
if ray_version is not None:
|
|
276
|
+
self.ray_version = ray_version
|
|
277
|
+
if ray_version_last_updated_at is not None:
|
|
278
|
+
self.ray_version_last_updated_at = ray_version_last_updated_at
|
|
279
|
+
if user_service_url is not None:
|
|
280
|
+
self.user_service_url = user_service_url
|
|
281
|
+
if ray_component_activities_last_reported_at is not None:
|
|
282
|
+
self.ray_component_activities_last_reported_at = ray_component_activities_last_reported_at
|
|
283
|
+
if activity_details is not None:
|
|
284
|
+
self.activity_details = activity_details
|
|
285
|
+
if maximum_uptime_will_terminate_cluster_at is not None:
|
|
286
|
+
self.maximum_uptime_will_terminate_cluster_at = maximum_uptime_will_terminate_cluster_at
|
|
287
|
+
if idle_termination_status is not None:
|
|
288
|
+
self.idle_termination_status = idle_termination_status
|
|
289
|
+
if ray_dashboard_snapshot_last_reported_at is not None:
|
|
290
|
+
self.ray_dashboard_snapshot_last_reported_at = ray_dashboard_snapshot_last_reported_at
|
|
291
|
+
|
|
292
|
+
@property
|
|
293
|
+
def name(self):
|
|
294
|
+
"""Gets the name of this Session. # noqa: E501
|
|
295
|
+
|
|
296
|
+
Name of the session to be created. # noqa: E501
|
|
297
|
+
|
|
298
|
+
:return: The name of this Session. # noqa: E501
|
|
299
|
+
:rtype: str
|
|
300
|
+
"""
|
|
301
|
+
return self._name
|
|
302
|
+
|
|
303
|
+
@name.setter
|
|
304
|
+
def name(self, name):
|
|
305
|
+
"""Sets the name of this Session.
|
|
306
|
+
|
|
307
|
+
Name of the session to be created. # noqa: E501
|
|
308
|
+
|
|
309
|
+
:param name: The name of this Session. # noqa: E501
|
|
310
|
+
:type: str
|
|
311
|
+
"""
|
|
312
|
+
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
|
313
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
314
|
+
|
|
315
|
+
self._name = name
|
|
316
|
+
|
|
317
|
+
@property
|
|
318
|
+
def project_id(self):
|
|
319
|
+
"""Gets the project_id of this Session. # noqa: E501
|
|
320
|
+
|
|
321
|
+
Project that the session will be created in. # noqa: E501
|
|
322
|
+
|
|
323
|
+
:return: The project_id of this Session. # noqa: E501
|
|
324
|
+
:rtype: str
|
|
325
|
+
"""
|
|
326
|
+
return self._project_id
|
|
327
|
+
|
|
328
|
+
@project_id.setter
|
|
329
|
+
def project_id(self, project_id):
|
|
330
|
+
"""Sets the project_id of this Session.
|
|
331
|
+
|
|
332
|
+
Project that the session will be created in. # noqa: E501
|
|
333
|
+
|
|
334
|
+
:param project_id: The project_id of this Session. # noqa: E501
|
|
335
|
+
:type: str
|
|
336
|
+
"""
|
|
337
|
+
if self.local_vars_configuration.client_side_validation and project_id is None: # noqa: E501
|
|
338
|
+
raise ValueError("Invalid value for `project_id`, must not be `None`") # noqa: E501
|
|
339
|
+
|
|
340
|
+
self._project_id = project_id
|
|
341
|
+
|
|
342
|
+
@property
|
|
343
|
+
def cloud_id(self):
|
|
344
|
+
"""Gets the cloud_id of this Session. # noqa: E501
|
|
345
|
+
|
|
346
|
+
Cloud that the session will use. # noqa: E501
|
|
347
|
+
|
|
348
|
+
:return: The cloud_id of this Session. # noqa: E501
|
|
349
|
+
:rtype: str
|
|
350
|
+
"""
|
|
351
|
+
return self._cloud_id
|
|
352
|
+
|
|
353
|
+
@cloud_id.setter
|
|
354
|
+
def cloud_id(self, cloud_id):
|
|
355
|
+
"""Sets the cloud_id of this Session.
|
|
356
|
+
|
|
357
|
+
Cloud that the session will use. # noqa: E501
|
|
358
|
+
|
|
359
|
+
:param cloud_id: The cloud_id of this Session. # noqa: E501
|
|
360
|
+
:type: str
|
|
361
|
+
"""
|
|
362
|
+
if self.local_vars_configuration.client_side_validation and cloud_id is None: # noqa: E501
|
|
363
|
+
raise ValueError("Invalid value for `cloud_id`, must not be `None`") # noqa: E501
|
|
364
|
+
|
|
365
|
+
self._cloud_id = cloud_id
|
|
366
|
+
|
|
367
|
+
@property
|
|
368
|
+
def cluster_config(self):
|
|
369
|
+
"""Gets the cluster_config of this Session. # noqa: E501
|
|
370
|
+
|
|
371
|
+
Cluster config that the session can later be started with. # noqa: E501
|
|
372
|
+
|
|
373
|
+
:return: The cluster_config of this Session. # noqa: E501
|
|
374
|
+
:rtype: str
|
|
375
|
+
"""
|
|
376
|
+
return self._cluster_config
|
|
377
|
+
|
|
378
|
+
@cluster_config.setter
|
|
379
|
+
def cluster_config(self, cluster_config):
|
|
380
|
+
"""Sets the cluster_config of this Session.
|
|
381
|
+
|
|
382
|
+
Cluster config that the session can later be started with. # noqa: E501
|
|
383
|
+
|
|
384
|
+
:param cluster_config: The cluster_config of this Session. # noqa: E501
|
|
385
|
+
:type: str
|
|
386
|
+
"""
|
|
387
|
+
if self.local_vars_configuration.client_side_validation and cluster_config is None: # noqa: E501
|
|
388
|
+
raise ValueError("Invalid value for `cluster_config`, must not be `None`") # noqa: E501
|
|
389
|
+
|
|
390
|
+
self._cluster_config = cluster_config
|
|
391
|
+
|
|
392
|
+
@property
|
|
393
|
+
def build_id(self):
|
|
394
|
+
"""Gets the build_id of this Session. # noqa: E501
|
|
395
|
+
|
|
396
|
+
ID of the Build that this session was started with. # noqa: E501
|
|
397
|
+
|
|
398
|
+
:return: The build_id of this Session. # noqa: E501
|
|
399
|
+
:rtype: str
|
|
400
|
+
"""
|
|
401
|
+
return self._build_id
|
|
402
|
+
|
|
403
|
+
@build_id.setter
|
|
404
|
+
def build_id(self, build_id):
|
|
405
|
+
"""Sets the build_id of this Session.
|
|
406
|
+
|
|
407
|
+
ID of the Build that this session was started with. # noqa: E501
|
|
408
|
+
|
|
409
|
+
:param build_id: The build_id of this Session. # noqa: E501
|
|
410
|
+
:type: str
|
|
411
|
+
"""
|
|
412
|
+
|
|
413
|
+
self._build_id = build_id
|
|
414
|
+
|
|
415
|
+
@property
|
|
416
|
+
def compute_template_id(self):
|
|
417
|
+
"""Gets the compute_template_id of this Session. # noqa: E501
|
|
418
|
+
|
|
419
|
+
ID of the compute template that this session was started with. # noqa: E501
|
|
420
|
+
|
|
421
|
+
:return: The compute_template_id of this Session. # noqa: E501
|
|
422
|
+
:rtype: str
|
|
423
|
+
"""
|
|
424
|
+
return self._compute_template_id
|
|
425
|
+
|
|
426
|
+
@compute_template_id.setter
|
|
427
|
+
def compute_template_id(self, compute_template_id):
|
|
428
|
+
"""Sets the compute_template_id of this Session.
|
|
429
|
+
|
|
430
|
+
ID of the compute template that this session was started with. # noqa: E501
|
|
431
|
+
|
|
432
|
+
:param compute_template_id: The compute_template_id of this Session. # noqa: E501
|
|
433
|
+
:type: str
|
|
434
|
+
"""
|
|
435
|
+
|
|
436
|
+
self._compute_template_id = compute_template_id
|
|
437
|
+
|
|
438
|
+
@property
|
|
439
|
+
def idle_timeout(self):
|
|
440
|
+
"""Gets the idle_timeout of this Session. # noqa: E501
|
|
441
|
+
|
|
442
|
+
Idle timeout (in minutes), after which the session is stopped. Idle time is defined as the time during which a session is not running a user command (through 'anyscale exec' or the Web UI), and does not have an attached driver. Time spent running Jupyter commands, or commands run through ssh, is still considered 'idle'. # noqa: E501
|
|
443
|
+
|
|
444
|
+
:return: The idle_timeout of this Session. # noqa: E501
|
|
445
|
+
:rtype: int
|
|
446
|
+
"""
|
|
447
|
+
return self._idle_timeout
|
|
448
|
+
|
|
449
|
+
@idle_timeout.setter
|
|
450
|
+
def idle_timeout(self, idle_timeout):
|
|
451
|
+
"""Sets the idle_timeout of this Session.
|
|
452
|
+
|
|
453
|
+
Idle timeout (in minutes), after which the session is stopped. Idle time is defined as the time during which a session is not running a user command (through 'anyscale exec' or the Web UI), and does not have an attached driver. Time spent running Jupyter commands, or commands run through ssh, is still considered 'idle'. # noqa: E501
|
|
454
|
+
|
|
455
|
+
:param idle_timeout: The idle_timeout of this Session. # noqa: E501
|
|
456
|
+
:type: int
|
|
457
|
+
"""
|
|
458
|
+
|
|
459
|
+
self._idle_timeout = idle_timeout
|
|
460
|
+
|
|
461
|
+
@property
|
|
462
|
+
def uses_app_config(self):
|
|
463
|
+
"""Gets the uses_app_config of this Session. # noqa: E501
|
|
464
|
+
|
|
465
|
+
Whether or not the session uses app config. If true, it means this is not a legacy session started with cluster yaml. # noqa: E501
|
|
466
|
+
|
|
467
|
+
:return: The uses_app_config of this Session. # noqa: E501
|
|
468
|
+
:rtype: bool
|
|
469
|
+
"""
|
|
470
|
+
return self._uses_app_config
|
|
471
|
+
|
|
472
|
+
@uses_app_config.setter
|
|
473
|
+
def uses_app_config(self, uses_app_config):
|
|
474
|
+
"""Sets the uses_app_config of this Session.
|
|
475
|
+
|
|
476
|
+
Whether or not the session uses app config. If true, it means this is not a legacy session started with cluster yaml. # noqa: E501
|
|
477
|
+
|
|
478
|
+
:param uses_app_config: The uses_app_config of this Session. # noqa: E501
|
|
479
|
+
:type: bool
|
|
480
|
+
"""
|
|
481
|
+
|
|
482
|
+
self._uses_app_config = uses_app_config
|
|
483
|
+
|
|
484
|
+
@property
|
|
485
|
+
def allow_public_internet_traffic(self):
|
|
486
|
+
"""Gets the allow_public_internet_traffic of this Session. # noqa: E501
|
|
487
|
+
|
|
488
|
+
Whether public internet traffic can access Serve endpoints or if an authentication token is required. # noqa: E501
|
|
489
|
+
|
|
490
|
+
:return: The allow_public_internet_traffic of this Session. # noqa: E501
|
|
491
|
+
:rtype: bool
|
|
492
|
+
"""
|
|
493
|
+
return self._allow_public_internet_traffic
|
|
494
|
+
|
|
495
|
+
@allow_public_internet_traffic.setter
|
|
496
|
+
def allow_public_internet_traffic(self, allow_public_internet_traffic):
|
|
497
|
+
"""Sets the allow_public_internet_traffic of this Session.
|
|
498
|
+
|
|
499
|
+
Whether public internet traffic can access Serve endpoints or if an authentication token is required. # noqa: E501
|
|
500
|
+
|
|
501
|
+
:param allow_public_internet_traffic: The allow_public_internet_traffic of this Session. # noqa: E501
|
|
502
|
+
:type: bool
|
|
503
|
+
"""
|
|
504
|
+
|
|
505
|
+
self._allow_public_internet_traffic = allow_public_internet_traffic
|
|
506
|
+
|
|
507
|
+
@property
|
|
508
|
+
def user_service_access(self):
|
|
509
|
+
"""Gets the user_service_access of this Session. # noqa: E501
|
|
510
|
+
|
|
511
|
+
Whether user service can be accessed by public internet traffic. # noqa: E501
|
|
512
|
+
|
|
513
|
+
:return: The user_service_access of this Session. # noqa: E501
|
|
514
|
+
:rtype: UserServiceAccessTypes
|
|
515
|
+
"""
|
|
516
|
+
return self._user_service_access
|
|
517
|
+
|
|
518
|
+
@user_service_access.setter
|
|
519
|
+
def user_service_access(self, user_service_access):
|
|
520
|
+
"""Sets the user_service_access of this Session.
|
|
521
|
+
|
|
522
|
+
Whether user service can be accessed by public internet traffic. # noqa: E501
|
|
523
|
+
|
|
524
|
+
:param user_service_access: The user_service_access of this Session. # noqa: E501
|
|
525
|
+
:type: UserServiceAccessTypes
|
|
526
|
+
"""
|
|
527
|
+
|
|
528
|
+
self._user_service_access = user_service_access
|
|
529
|
+
|
|
530
|
+
@property
|
|
531
|
+
def user_service_token(self):
|
|
532
|
+
"""Gets the user_service_token of this Session. # noqa: E501
|
|
533
|
+
|
|
534
|
+
User service token that is used to authenticate access to public user services. This must be a valid 32 byte URL safe string and can be generated by calling `secrets.token_urlsafe(32))`. This is ignored if the user service has private access. If not specified for a public user service, a token is autogenerated. # noqa: E501
|
|
535
|
+
|
|
536
|
+
:return: The user_service_token of this Session. # noqa: E501
|
|
537
|
+
:rtype: str
|
|
538
|
+
"""
|
|
539
|
+
return self._user_service_token
|
|
540
|
+
|
|
541
|
+
@user_service_token.setter
|
|
542
|
+
def user_service_token(self, user_service_token):
|
|
543
|
+
"""Sets the user_service_token of this Session.
|
|
544
|
+
|
|
545
|
+
User service token that is used to authenticate access to public user services. This must be a valid 32 byte URL safe string and can be generated by calling `secrets.token_urlsafe(32))`. This is ignored if the user service has private access. If not specified for a public user service, a token is autogenerated. # noqa: E501
|
|
546
|
+
|
|
547
|
+
:param user_service_token: The user_service_token of this Session. # noqa: E501
|
|
548
|
+
:type: str
|
|
549
|
+
"""
|
|
550
|
+
|
|
551
|
+
self._user_service_token = user_service_token
|
|
552
|
+
|
|
553
|
+
@property
|
|
554
|
+
def ha_job_id(self):
|
|
555
|
+
"""Gets the ha_job_id of this Session. # noqa: E501
|
|
556
|
+
|
|
557
|
+
This is used internally by Anyscale to associate clusters to a job. It is set automatically and should *not* be used directly. # noqa: E501
|
|
558
|
+
|
|
559
|
+
:return: The ha_job_id of this Session. # noqa: E501
|
|
560
|
+
:rtype: str
|
|
561
|
+
"""
|
|
562
|
+
return self._ha_job_id
|
|
563
|
+
|
|
564
|
+
@ha_job_id.setter
|
|
565
|
+
def ha_job_id(self, ha_job_id):
|
|
566
|
+
"""Sets the ha_job_id of this Session.
|
|
567
|
+
|
|
568
|
+
This is used internally by Anyscale to associate clusters to a job. It is set automatically and should *not* be used directly. # noqa: E501
|
|
569
|
+
|
|
570
|
+
:param ha_job_id: The ha_job_id of this Session. # noqa: E501
|
|
571
|
+
:type: str
|
|
572
|
+
"""
|
|
573
|
+
|
|
574
|
+
self._ha_job_id = ha_job_id
|
|
575
|
+
|
|
576
|
+
@property
|
|
577
|
+
def id(self):
|
|
578
|
+
"""Gets the id of this Session. # noqa: E501
|
|
579
|
+
|
|
580
|
+
Server assigned unique identifier. # noqa: E501
|
|
581
|
+
|
|
582
|
+
:return: The id of this Session. # noqa: E501
|
|
583
|
+
:rtype: str
|
|
584
|
+
"""
|
|
585
|
+
return self._id
|
|
586
|
+
|
|
587
|
+
@id.setter
|
|
588
|
+
def id(self, id):
|
|
589
|
+
"""Sets the id of this Session.
|
|
590
|
+
|
|
591
|
+
Server assigned unique identifier. # noqa: E501
|
|
592
|
+
|
|
593
|
+
:param id: The id of this Session. # noqa: E501
|
|
594
|
+
:type: str
|
|
595
|
+
"""
|
|
596
|
+
if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
|
|
597
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
598
|
+
|
|
599
|
+
self._id = id
|
|
600
|
+
|
|
601
|
+
@property
|
|
602
|
+
def state(self):
|
|
603
|
+
"""Gets the state of this Session. # noqa: E501
|
|
604
|
+
|
|
605
|
+
[DEPRECATED] Current state of the Session. Please use `cluster_status`. # noqa: E501
|
|
606
|
+
|
|
607
|
+
:return: The state of this Session. # noqa: E501
|
|
608
|
+
:rtype: SessionState
|
|
609
|
+
"""
|
|
610
|
+
return self._state
|
|
611
|
+
|
|
612
|
+
@state.setter
|
|
613
|
+
def state(self, state):
|
|
614
|
+
"""Sets the state of this Session.
|
|
615
|
+
|
|
616
|
+
[DEPRECATED] Current state of the Session. Please use `cluster_status`. # noqa: E501
|
|
617
|
+
|
|
618
|
+
:param state: The state of this Session. # noqa: E501
|
|
619
|
+
:type: SessionState
|
|
620
|
+
"""
|
|
621
|
+
if self.local_vars_configuration.client_side_validation and state is None: # noqa: E501
|
|
622
|
+
raise ValueError("Invalid value for `state`, must not be `None`") # noqa: E501
|
|
623
|
+
|
|
624
|
+
self._state = state
|
|
625
|
+
|
|
626
|
+
@property
|
|
627
|
+
def pending_state(self):
|
|
628
|
+
"""Gets the pending_state of this Session. # noqa: E501
|
|
629
|
+
|
|
630
|
+
Pending state of the Session if a state transition has been requested. # noqa: E501
|
|
631
|
+
|
|
632
|
+
:return: The pending_state of this Session. # noqa: E501
|
|
633
|
+
:rtype: SessionState
|
|
634
|
+
"""
|
|
635
|
+
return self._pending_state
|
|
636
|
+
|
|
637
|
+
@pending_state.setter
|
|
638
|
+
def pending_state(self, pending_state):
|
|
639
|
+
"""Sets the pending_state of this Session.
|
|
640
|
+
|
|
641
|
+
Pending state of the Session if a state transition has been requested. # noqa: E501
|
|
642
|
+
|
|
643
|
+
:param pending_state: The pending_state of this Session. # noqa: E501
|
|
644
|
+
:type: SessionState
|
|
645
|
+
"""
|
|
646
|
+
|
|
647
|
+
self._pending_state = pending_state
|
|
648
|
+
|
|
649
|
+
@property
|
|
650
|
+
def state_data(self):
|
|
651
|
+
"""Gets the state_data of this Session. # noqa: E501
|
|
652
|
+
|
|
653
|
+
Additional information about the current state # noqa: E501
|
|
654
|
+
|
|
655
|
+
:return: The state_data of this Session. # noqa: E501
|
|
656
|
+
:rtype: SessionStateData
|
|
657
|
+
"""
|
|
658
|
+
return self._state_data
|
|
659
|
+
|
|
660
|
+
@state_data.setter
|
|
661
|
+
def state_data(self, state_data):
|
|
662
|
+
"""Sets the state_data of this Session.
|
|
663
|
+
|
|
664
|
+
Additional information about the current state # noqa: E501
|
|
665
|
+
|
|
666
|
+
:param state_data: The state_data of this Session. # noqa: E501
|
|
667
|
+
:type: SessionStateData
|
|
668
|
+
"""
|
|
669
|
+
|
|
670
|
+
self._state_data = state_data
|
|
671
|
+
|
|
672
|
+
@property
|
|
673
|
+
def status(self):
|
|
674
|
+
"""Gets the status of this Session. # noqa: E501
|
|
675
|
+
|
|
676
|
+
Current state of the Cluster. # noqa: E501
|
|
677
|
+
|
|
678
|
+
:return: The status of this Session. # noqa: E501
|
|
679
|
+
:rtype: ClusterStatus
|
|
680
|
+
"""
|
|
681
|
+
return self._status
|
|
682
|
+
|
|
683
|
+
@status.setter
|
|
684
|
+
def status(self, status):
|
|
685
|
+
"""Sets the status of this Session.
|
|
686
|
+
|
|
687
|
+
Current state of the Cluster. # noqa: E501
|
|
688
|
+
|
|
689
|
+
:param status: The status of this Session. # noqa: E501
|
|
690
|
+
:type: ClusterStatus
|
|
691
|
+
"""
|
|
692
|
+
|
|
693
|
+
self._status = status
|
|
694
|
+
|
|
695
|
+
@property
|
|
696
|
+
def status_details(self):
|
|
697
|
+
"""Gets the status_details of this Session. # noqa: E501
|
|
698
|
+
|
|
699
|
+
Current state details of the Cluster. This is a more granular status than `status`. It should be used to get more details regarding the `status`. # noqa: E501
|
|
700
|
+
|
|
701
|
+
:return: The status_details of this Session. # noqa: E501
|
|
702
|
+
:rtype: ClusterStatusDetails
|
|
703
|
+
"""
|
|
704
|
+
return self._status_details
|
|
705
|
+
|
|
706
|
+
@status_details.setter
|
|
707
|
+
def status_details(self, status_details):
|
|
708
|
+
"""Sets the status_details of this Session.
|
|
709
|
+
|
|
710
|
+
Current state details of the Cluster. This is a more granular status than `status`. It should be used to get more details regarding the `status`. # noqa: E501
|
|
711
|
+
|
|
712
|
+
:param status_details: The status_details of this Session. # noqa: E501
|
|
713
|
+
:type: ClusterStatusDetails
|
|
714
|
+
"""
|
|
715
|
+
|
|
716
|
+
self._status_details = status_details
|
|
717
|
+
|
|
718
|
+
@property
|
|
719
|
+
def creator_id(self):
|
|
720
|
+
"""Gets the creator_id of this Session. # noqa: E501
|
|
721
|
+
|
|
722
|
+
Identifier of user who created the Session. # noqa: E501
|
|
723
|
+
|
|
724
|
+
:return: The creator_id of this Session. # noqa: E501
|
|
725
|
+
:rtype: str
|
|
726
|
+
"""
|
|
727
|
+
return self._creator_id
|
|
728
|
+
|
|
729
|
+
@creator_id.setter
|
|
730
|
+
def creator_id(self, creator_id):
|
|
731
|
+
"""Sets the creator_id of this Session.
|
|
732
|
+
|
|
733
|
+
Identifier of user who created the Session. # noqa: E501
|
|
734
|
+
|
|
735
|
+
:param creator_id: The creator_id of this Session. # noqa: E501
|
|
736
|
+
:type: str
|
|
737
|
+
"""
|
|
738
|
+
if self.local_vars_configuration.client_side_validation and creator_id is None: # noqa: E501
|
|
739
|
+
raise ValueError("Invalid value for `creator_id`, must not be `None`") # noqa: E501
|
|
740
|
+
|
|
741
|
+
self._creator_id = creator_id
|
|
742
|
+
|
|
743
|
+
@property
|
|
744
|
+
def created_at(self):
|
|
745
|
+
"""Gets the created_at of this Session. # noqa: E501
|
|
746
|
+
|
|
747
|
+
Time at which session was created. # noqa: E501
|
|
748
|
+
|
|
749
|
+
:return: The created_at of this Session. # noqa: E501
|
|
750
|
+
:rtype: datetime
|
|
751
|
+
"""
|
|
752
|
+
return self._created_at
|
|
753
|
+
|
|
754
|
+
@created_at.setter
|
|
755
|
+
def created_at(self, created_at):
|
|
756
|
+
"""Sets the created_at of this Session.
|
|
757
|
+
|
|
758
|
+
Time at which session was created. # noqa: E501
|
|
759
|
+
|
|
760
|
+
:param created_at: The created_at of this Session. # noqa: E501
|
|
761
|
+
:type: datetime
|
|
762
|
+
"""
|
|
763
|
+
if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
|
|
764
|
+
raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
|
|
765
|
+
|
|
766
|
+
self._created_at = created_at
|
|
767
|
+
|
|
768
|
+
@property
|
|
769
|
+
def archived_at(self):
|
|
770
|
+
"""Gets the archived_at of this Session. # noqa: E501
|
|
771
|
+
|
|
772
|
+
The time in which this cluster is archived. # noqa: E501
|
|
773
|
+
|
|
774
|
+
:return: The archived_at of this Session. # noqa: E501
|
|
775
|
+
:rtype: datetime
|
|
776
|
+
"""
|
|
777
|
+
return self._archived_at
|
|
778
|
+
|
|
779
|
+
@archived_at.setter
|
|
780
|
+
def archived_at(self, archived_at):
|
|
781
|
+
"""Sets the archived_at of this Session.
|
|
782
|
+
|
|
783
|
+
The time in which this cluster is archived. # noqa: E501
|
|
784
|
+
|
|
785
|
+
:param archived_at: The archived_at of this Session. # noqa: E501
|
|
786
|
+
:type: datetime
|
|
787
|
+
"""
|
|
788
|
+
|
|
789
|
+
self._archived_at = archived_at
|
|
790
|
+
|
|
791
|
+
@property
|
|
792
|
+
def webterminal_auth_url(self):
|
|
793
|
+
"""Gets the webterminal_auth_url of this Session. # noqa: E501
|
|
794
|
+
|
|
795
|
+
URL to authenticate with the webterminalThis field will only be populated after the Session finishes starting. # noqa: E501
|
|
796
|
+
|
|
797
|
+
:return: The webterminal_auth_url of this Session. # noqa: E501
|
|
798
|
+
:rtype: str
|
|
799
|
+
"""
|
|
800
|
+
return self._webterminal_auth_url
|
|
801
|
+
|
|
802
|
+
@webterminal_auth_url.setter
|
|
803
|
+
def webterminal_auth_url(self, webterminal_auth_url):
|
|
804
|
+
"""Sets the webterminal_auth_url of this Session.
|
|
805
|
+
|
|
806
|
+
URL to authenticate with the webterminalThis field will only be populated after the Session finishes starting. # noqa: E501
|
|
807
|
+
|
|
808
|
+
:param webterminal_auth_url: The webterminal_auth_url of this Session. # noqa: E501
|
|
809
|
+
:type: str
|
|
810
|
+
"""
|
|
811
|
+
|
|
812
|
+
self._webterminal_auth_url = webterminal_auth_url
|
|
813
|
+
|
|
814
|
+
@property
|
|
815
|
+
def metrics_dashboard_url(self):
|
|
816
|
+
"""Gets the metrics_dashboard_url of this Session. # noqa: E501
|
|
817
|
+
|
|
818
|
+
URL for Grafana (metrics) dashboard for this Session in the running cluster state. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
819
|
+
|
|
820
|
+
:return: The metrics_dashboard_url of this Session. # noqa: E501
|
|
821
|
+
:rtype: str
|
|
822
|
+
"""
|
|
823
|
+
return self._metrics_dashboard_url
|
|
824
|
+
|
|
825
|
+
@metrics_dashboard_url.setter
|
|
826
|
+
def metrics_dashboard_url(self, metrics_dashboard_url):
|
|
827
|
+
"""Sets the metrics_dashboard_url of this Session.
|
|
828
|
+
|
|
829
|
+
URL for Grafana (metrics) dashboard for this Session in the running cluster state. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
830
|
+
|
|
831
|
+
:param metrics_dashboard_url: The metrics_dashboard_url of this Session. # noqa: E501
|
|
832
|
+
:type: str
|
|
833
|
+
"""
|
|
834
|
+
|
|
835
|
+
self._metrics_dashboard_url = metrics_dashboard_url
|
|
836
|
+
|
|
837
|
+
@property
|
|
838
|
+
def data_metrics_dashboard_url(self):
|
|
839
|
+
"""Gets the data_metrics_dashboard_url of this Session. # noqa: E501
|
|
840
|
+
|
|
841
|
+
URL for Data Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
842
|
+
|
|
843
|
+
:return: The data_metrics_dashboard_url of this Session. # noqa: E501
|
|
844
|
+
:rtype: str
|
|
845
|
+
"""
|
|
846
|
+
return self._data_metrics_dashboard_url
|
|
847
|
+
|
|
848
|
+
@data_metrics_dashboard_url.setter
|
|
849
|
+
def data_metrics_dashboard_url(self, data_metrics_dashboard_url):
|
|
850
|
+
"""Sets the data_metrics_dashboard_url of this Session.
|
|
851
|
+
|
|
852
|
+
URL for Data Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
853
|
+
|
|
854
|
+
:param data_metrics_dashboard_url: The data_metrics_dashboard_url of this Session. # noqa: E501
|
|
855
|
+
:type: str
|
|
856
|
+
"""
|
|
857
|
+
|
|
858
|
+
self._data_metrics_dashboard_url = data_metrics_dashboard_url
|
|
859
|
+
|
|
860
|
+
@property
|
|
861
|
+
def train_metrics_dashboard_url(self):
|
|
862
|
+
"""Gets the train_metrics_dashboard_url of this Session. # noqa: E501
|
|
863
|
+
|
|
864
|
+
URL for Train Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
865
|
+
|
|
866
|
+
:return: The train_metrics_dashboard_url of this Session. # noqa: E501
|
|
867
|
+
:rtype: str
|
|
868
|
+
"""
|
|
869
|
+
return self._train_metrics_dashboard_url
|
|
870
|
+
|
|
871
|
+
@train_metrics_dashboard_url.setter
|
|
872
|
+
def train_metrics_dashboard_url(self, train_metrics_dashboard_url):
|
|
873
|
+
"""Sets the train_metrics_dashboard_url of this Session.
|
|
874
|
+
|
|
875
|
+
URL for Train Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
876
|
+
|
|
877
|
+
:param train_metrics_dashboard_url: The train_metrics_dashboard_url of this Session. # noqa: E501
|
|
878
|
+
:type: str
|
|
879
|
+
"""
|
|
880
|
+
|
|
881
|
+
self._train_metrics_dashboard_url = train_metrics_dashboard_url
|
|
882
|
+
|
|
883
|
+
@property
|
|
884
|
+
def serve_metrics_dashboard_url(self):
|
|
885
|
+
"""Gets the serve_metrics_dashboard_url of this Session. # noqa: E501
|
|
886
|
+
|
|
887
|
+
URL for Serve Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
888
|
+
|
|
889
|
+
:return: The serve_metrics_dashboard_url of this Session. # noqa: E501
|
|
890
|
+
:rtype: str
|
|
891
|
+
"""
|
|
892
|
+
return self._serve_metrics_dashboard_url
|
|
893
|
+
|
|
894
|
+
@serve_metrics_dashboard_url.setter
|
|
895
|
+
def serve_metrics_dashboard_url(self, serve_metrics_dashboard_url):
|
|
896
|
+
"""Sets the serve_metrics_dashboard_url of this Session.
|
|
897
|
+
|
|
898
|
+
URL for Serve Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
899
|
+
|
|
900
|
+
:param serve_metrics_dashboard_url: The serve_metrics_dashboard_url of this Session. # noqa: E501
|
|
901
|
+
:type: str
|
|
902
|
+
"""
|
|
903
|
+
|
|
904
|
+
self._serve_metrics_dashboard_url = serve_metrics_dashboard_url
|
|
905
|
+
|
|
906
|
+
@property
|
|
907
|
+
def serve_deployment_metrics_dashboard_url(self):
|
|
908
|
+
"""Gets the serve_deployment_metrics_dashboard_url of this Session. # noqa: E501
|
|
909
|
+
|
|
910
|
+
URL for Serve deployment Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
911
|
+
|
|
912
|
+
:return: The serve_deployment_metrics_dashboard_url of this Session. # noqa: E501
|
|
913
|
+
:rtype: str
|
|
914
|
+
"""
|
|
915
|
+
return self._serve_deployment_metrics_dashboard_url
|
|
916
|
+
|
|
917
|
+
@serve_deployment_metrics_dashboard_url.setter
|
|
918
|
+
def serve_deployment_metrics_dashboard_url(self, serve_deployment_metrics_dashboard_url):
|
|
919
|
+
"""Sets the serve_deployment_metrics_dashboard_url of this Session.
|
|
920
|
+
|
|
921
|
+
URL for Serve deployment Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
922
|
+
|
|
923
|
+
:param serve_deployment_metrics_dashboard_url: The serve_deployment_metrics_dashboard_url of this Session. # noqa: E501
|
|
924
|
+
:type: str
|
|
925
|
+
"""
|
|
926
|
+
|
|
927
|
+
self._serve_deployment_metrics_dashboard_url = serve_deployment_metrics_dashboard_url
|
|
928
|
+
|
|
929
|
+
@property
|
|
930
|
+
def persistent_metrics_url(self):
|
|
931
|
+
"""Gets the persistent_metrics_url of this Session. # noqa: E501
|
|
932
|
+
|
|
933
|
+
URL for persistent Grafana (metrics) dashboard for this Session in the non-running cluster state. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
934
|
+
|
|
935
|
+
:return: The persistent_metrics_url of this Session. # noqa: E501
|
|
936
|
+
:rtype: str
|
|
937
|
+
"""
|
|
938
|
+
return self._persistent_metrics_url
|
|
939
|
+
|
|
940
|
+
@persistent_metrics_url.setter
|
|
941
|
+
def persistent_metrics_url(self, persistent_metrics_url):
|
|
942
|
+
"""Sets the persistent_metrics_url of this Session.
|
|
943
|
+
|
|
944
|
+
URL for persistent Grafana (metrics) dashboard for this Session in the non-running cluster state. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
945
|
+
|
|
946
|
+
:param persistent_metrics_url: The persistent_metrics_url of this Session. # noqa: E501
|
|
947
|
+
:type: str
|
|
948
|
+
"""
|
|
949
|
+
|
|
950
|
+
self._persistent_metrics_url = persistent_metrics_url
|
|
951
|
+
|
|
952
|
+
@property
|
|
953
|
+
def connect_url(self):
|
|
954
|
+
"""Gets the connect_url of this Session. # noqa: E501
|
|
955
|
+
|
|
956
|
+
URL for Anyscale connect for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
957
|
+
|
|
958
|
+
:return: The connect_url of this Session. # noqa: E501
|
|
959
|
+
:rtype: str
|
|
960
|
+
"""
|
|
961
|
+
return self._connect_url
|
|
962
|
+
|
|
963
|
+
@connect_url.setter
|
|
964
|
+
def connect_url(self, connect_url):
|
|
965
|
+
"""Sets the connect_url of this Session.
|
|
966
|
+
|
|
967
|
+
URL for Anyscale connect for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
968
|
+
|
|
969
|
+
:param connect_url: The connect_url of this Session. # noqa: E501
|
|
970
|
+
:type: str
|
|
971
|
+
"""
|
|
972
|
+
|
|
973
|
+
self._connect_url = connect_url
|
|
974
|
+
|
|
975
|
+
@property
|
|
976
|
+
def jupyter_notebook_url(self):
|
|
977
|
+
"""Gets the jupyter_notebook_url of this Session. # noqa: E501
|
|
978
|
+
|
|
979
|
+
URL for Jupyter Lab for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
980
|
+
|
|
981
|
+
:return: The jupyter_notebook_url of this Session. # noqa: E501
|
|
982
|
+
:rtype: str
|
|
983
|
+
"""
|
|
984
|
+
return self._jupyter_notebook_url
|
|
985
|
+
|
|
986
|
+
@jupyter_notebook_url.setter
|
|
987
|
+
def jupyter_notebook_url(self, jupyter_notebook_url):
|
|
988
|
+
"""Sets the jupyter_notebook_url of this Session.
|
|
989
|
+
|
|
990
|
+
URL for Jupyter Lab for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
991
|
+
|
|
992
|
+
:param jupyter_notebook_url: The jupyter_notebook_url of this Session. # noqa: E501
|
|
993
|
+
:type: str
|
|
994
|
+
"""
|
|
995
|
+
|
|
996
|
+
self._jupyter_notebook_url = jupyter_notebook_url
|
|
997
|
+
|
|
998
|
+
@property
|
|
999
|
+
def ray_dashboard_url(self):
|
|
1000
|
+
"""Gets the ray_dashboard_url of this Session. # noqa: E501
|
|
1001
|
+
|
|
1002
|
+
URL for Ray dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
1003
|
+
|
|
1004
|
+
:return: The ray_dashboard_url of this Session. # noqa: E501
|
|
1005
|
+
:rtype: str
|
|
1006
|
+
"""
|
|
1007
|
+
return self._ray_dashboard_url
|
|
1008
|
+
|
|
1009
|
+
@ray_dashboard_url.setter
|
|
1010
|
+
def ray_dashboard_url(self, ray_dashboard_url):
|
|
1011
|
+
"""Sets the ray_dashboard_url of this Session.
|
|
1012
|
+
|
|
1013
|
+
URL for Ray dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
|
1014
|
+
|
|
1015
|
+
:param ray_dashboard_url: The ray_dashboard_url of this Session. # noqa: E501
|
|
1016
|
+
:type: str
|
|
1017
|
+
"""
|
|
1018
|
+
|
|
1019
|
+
self._ray_dashboard_url = ray_dashboard_url
|
|
1020
|
+
|
|
1021
|
+
@property
|
|
1022
|
+
def access_token(self):
|
|
1023
|
+
"""Gets the access_token of this Session. # noqa: E501
|
|
1024
|
+
|
|
1025
|
+
Access token for web based services (e.g. jupyter, tensorboard, etc). This field will be populated when the web based services are available after the Session finishes starting. # noqa: E501
|
|
1026
|
+
|
|
1027
|
+
:return: The access_token of this Session. # noqa: E501
|
|
1028
|
+
:rtype: str
|
|
1029
|
+
"""
|
|
1030
|
+
return self._access_token
|
|
1031
|
+
|
|
1032
|
+
@access_token.setter
|
|
1033
|
+
def access_token(self, access_token):
|
|
1034
|
+
"""Sets the access_token of this Session.
|
|
1035
|
+
|
|
1036
|
+
Access token for web based services (e.g. jupyter, tensorboard, etc). This field will be populated when the web based services are available after the Session finishes starting. # noqa: E501
|
|
1037
|
+
|
|
1038
|
+
:param access_token: The access_token of this Session. # noqa: E501
|
|
1039
|
+
:type: str
|
|
1040
|
+
"""
|
|
1041
|
+
if self.local_vars_configuration.client_side_validation and access_token is None: # noqa: E501
|
|
1042
|
+
raise ValueError("Invalid value for `access_token`, must not be `None`") # noqa: E501
|
|
1043
|
+
|
|
1044
|
+
self._access_token = access_token
|
|
1045
|
+
|
|
1046
|
+
@property
|
|
1047
|
+
def service_proxy_url(self):
|
|
1048
|
+
"""Gets the service_proxy_url of this Session. # noqa: E501
|
|
1049
|
+
|
|
1050
|
+
Link to the web services proxy (e.g. jupyter, tensorboard, etc). This field will be populated when the web based services are available after the Session finishes starting. # noqa: E501
|
|
1051
|
+
|
|
1052
|
+
:return: The service_proxy_url of this Session. # noqa: E501
|
|
1053
|
+
:rtype: str
|
|
1054
|
+
"""
|
|
1055
|
+
return self._service_proxy_url
|
|
1056
|
+
|
|
1057
|
+
@service_proxy_url.setter
|
|
1058
|
+
def service_proxy_url(self, service_proxy_url):
|
|
1059
|
+
"""Sets the service_proxy_url of this Session.
|
|
1060
|
+
|
|
1061
|
+
Link to the web services proxy (e.g. jupyter, tensorboard, etc). This field will be populated when the web based services are available after the Session finishes starting. # noqa: E501
|
|
1062
|
+
|
|
1063
|
+
:param service_proxy_url: The service_proxy_url of this Session. # noqa: E501
|
|
1064
|
+
:type: str
|
|
1065
|
+
"""
|
|
1066
|
+
|
|
1067
|
+
self._service_proxy_url = service_proxy_url
|
|
1068
|
+
|
|
1069
|
+
@property
|
|
1070
|
+
def tensorboard_available(self):
|
|
1071
|
+
"""Gets the tensorboard_available of this Session. # noqa: E501
|
|
1072
|
+
|
|
1073
|
+
Represents whether Tensorboard is available. # noqa: E501
|
|
1074
|
+
|
|
1075
|
+
:return: The tensorboard_available of this Session. # noqa: E501
|
|
1076
|
+
:rtype: bool
|
|
1077
|
+
"""
|
|
1078
|
+
return self._tensorboard_available
|
|
1079
|
+
|
|
1080
|
+
@tensorboard_available.setter
|
|
1081
|
+
def tensorboard_available(self, tensorboard_available):
|
|
1082
|
+
"""Sets the tensorboard_available of this Session.
|
|
1083
|
+
|
|
1084
|
+
Represents whether Tensorboard is available. # noqa: E501
|
|
1085
|
+
|
|
1086
|
+
:param tensorboard_available: The tensorboard_available of this Session. # noqa: E501
|
|
1087
|
+
:type: bool
|
|
1088
|
+
"""
|
|
1089
|
+
if self.local_vars_configuration.client_side_validation and tensorboard_available is None: # noqa: E501
|
|
1090
|
+
raise ValueError("Invalid value for `tensorboard_available`, must not be `None`") # noqa: E501
|
|
1091
|
+
|
|
1092
|
+
self._tensorboard_available = tensorboard_available
|
|
1093
|
+
|
|
1094
|
+
@property
|
|
1095
|
+
def cluster_config_last_modified_at(self):
|
|
1096
|
+
"""Gets the cluster_config_last_modified_at of this Session. # noqa: E501
|
|
1097
|
+
|
|
1098
|
+
Time when the cluster config for the Session was last modified. # noqa: E501
|
|
1099
|
+
|
|
1100
|
+
:return: The cluster_config_last_modified_at of this Session. # noqa: E501
|
|
1101
|
+
:rtype: datetime
|
|
1102
|
+
"""
|
|
1103
|
+
return self._cluster_config_last_modified_at
|
|
1104
|
+
|
|
1105
|
+
@cluster_config_last_modified_at.setter
|
|
1106
|
+
def cluster_config_last_modified_at(self, cluster_config_last_modified_at):
|
|
1107
|
+
"""Sets the cluster_config_last_modified_at of this Session.
|
|
1108
|
+
|
|
1109
|
+
Time when the cluster config for the Session was last modified. # noqa: E501
|
|
1110
|
+
|
|
1111
|
+
:param cluster_config_last_modified_at: The cluster_config_last_modified_at of this Session. # noqa: E501
|
|
1112
|
+
:type: datetime
|
|
1113
|
+
"""
|
|
1114
|
+
if self.local_vars_configuration.client_side_validation and cluster_config_last_modified_at is None: # noqa: E501
|
|
1115
|
+
raise ValueError("Invalid value for `cluster_config_last_modified_at`, must not be `None`") # noqa: E501
|
|
1116
|
+
|
|
1117
|
+
self._cluster_config_last_modified_at = cluster_config_last_modified_at
|
|
1118
|
+
|
|
1119
|
+
@property
|
|
1120
|
+
def host_name(self):
|
|
1121
|
+
"""Gets the host_name of this Session. # noqa: E501
|
|
1122
|
+
|
|
1123
|
+
URL for the head node of the cluster. This field will be populated after the cluster finishes starting. # noqa: E501
|
|
1124
|
+
|
|
1125
|
+
:return: The host_name of this Session. # noqa: E501
|
|
1126
|
+
:rtype: str
|
|
1127
|
+
"""
|
|
1128
|
+
return self._host_name
|
|
1129
|
+
|
|
1130
|
+
@host_name.setter
|
|
1131
|
+
def host_name(self, host_name):
|
|
1132
|
+
"""Sets the host_name of this Session.
|
|
1133
|
+
|
|
1134
|
+
URL for the head node of the cluster. This field will be populated after the cluster finishes starting. # noqa: E501
|
|
1135
|
+
|
|
1136
|
+
:param host_name: The host_name of this Session. # noqa: E501
|
|
1137
|
+
:type: str
|
|
1138
|
+
"""
|
|
1139
|
+
|
|
1140
|
+
self._host_name = host_name
|
|
1141
|
+
|
|
1142
|
+
@property
|
|
1143
|
+
def head_node_ip(self):
|
|
1144
|
+
"""Gets the head_node_ip of this Session. # noqa: E501
|
|
1145
|
+
|
|
1146
|
+
Head IP of the Session. This field will be populated after the cluster finishes starting. # noqa: E501
|
|
1147
|
+
|
|
1148
|
+
:return: The head_node_ip of this Session. # noqa: E501
|
|
1149
|
+
:rtype: str
|
|
1150
|
+
"""
|
|
1151
|
+
return self._head_node_ip
|
|
1152
|
+
|
|
1153
|
+
@head_node_ip.setter
|
|
1154
|
+
def head_node_ip(self, head_node_ip):
|
|
1155
|
+
"""Sets the head_node_ip of this Session.
|
|
1156
|
+
|
|
1157
|
+
Head IP of the Session. This field will be populated after the cluster finishes starting. # noqa: E501
|
|
1158
|
+
|
|
1159
|
+
:param head_node_ip: The head_node_ip of this Session. # noqa: E501
|
|
1160
|
+
:type: str
|
|
1161
|
+
"""
|
|
1162
|
+
|
|
1163
|
+
self._head_node_ip = head_node_ip
|
|
1164
|
+
|
|
1165
|
+
@property
|
|
1166
|
+
def ssh_authorized_keys(self):
|
|
1167
|
+
"""Gets the ssh_authorized_keys of this Session. # noqa: E501
|
|
1168
|
+
|
|
1169
|
+
Serialized SSH Public Keys to be placed in the machine's authorized_keys. # noqa: E501
|
|
1170
|
+
|
|
1171
|
+
:return: The ssh_authorized_keys of this Session. # noqa: E501
|
|
1172
|
+
:rtype: list[str]
|
|
1173
|
+
"""
|
|
1174
|
+
return self._ssh_authorized_keys
|
|
1175
|
+
|
|
1176
|
+
@ssh_authorized_keys.setter
|
|
1177
|
+
def ssh_authorized_keys(self, ssh_authorized_keys):
|
|
1178
|
+
"""Sets the ssh_authorized_keys of this Session.
|
|
1179
|
+
|
|
1180
|
+
Serialized SSH Public Keys to be placed in the machine's authorized_keys. # noqa: E501
|
|
1181
|
+
|
|
1182
|
+
:param ssh_authorized_keys: The ssh_authorized_keys of this Session. # noqa: E501
|
|
1183
|
+
:type: list[str]
|
|
1184
|
+
"""
|
|
1185
|
+
if self.local_vars_configuration.client_side_validation and ssh_authorized_keys is None: # noqa: E501
|
|
1186
|
+
raise ValueError("Invalid value for `ssh_authorized_keys`, must not be `None`") # noqa: E501
|
|
1187
|
+
|
|
1188
|
+
self._ssh_authorized_keys = ssh_authorized_keys
|
|
1189
|
+
|
|
1190
|
+
@property
|
|
1191
|
+
def ssh_private_key(self):
|
|
1192
|
+
"""Gets the ssh_private_key of this Session. # noqa: E501
|
|
1193
|
+
|
|
1194
|
+
SSH Private key that can be used to access the session's servers. # noqa: E501
|
|
1195
|
+
|
|
1196
|
+
:return: The ssh_private_key of this Session. # noqa: E501
|
|
1197
|
+
:rtype: str
|
|
1198
|
+
"""
|
|
1199
|
+
return self._ssh_private_key
|
|
1200
|
+
|
|
1201
|
+
@ssh_private_key.setter
|
|
1202
|
+
def ssh_private_key(self, ssh_private_key):
|
|
1203
|
+
"""Sets the ssh_private_key of this Session.
|
|
1204
|
+
|
|
1205
|
+
SSH Private key that can be used to access the session's servers. # noqa: E501
|
|
1206
|
+
|
|
1207
|
+
:param ssh_private_key: The ssh_private_key of this Session. # noqa: E501
|
|
1208
|
+
:type: str
|
|
1209
|
+
"""
|
|
1210
|
+
if self.local_vars_configuration.client_side_validation and ssh_private_key is None: # noqa: E501
|
|
1211
|
+
raise ValueError("Invalid value for `ssh_private_key`, must not be `None`") # noqa: E501
|
|
1212
|
+
|
|
1213
|
+
self._ssh_private_key = ssh_private_key
|
|
1214
|
+
|
|
1215
|
+
@property
|
|
1216
|
+
def anyscaled_config(self):
|
|
1217
|
+
"""Gets the anyscaled_config of this Session. # noqa: E501
|
|
1218
|
+
|
|
1219
|
+
Serialized AnyscaleD config that is general to head and worker nodes. # noqa: E501
|
|
1220
|
+
|
|
1221
|
+
:return: The anyscaled_config of this Session. # noqa: E501
|
|
1222
|
+
:rtype: str
|
|
1223
|
+
"""
|
|
1224
|
+
return self._anyscaled_config
|
|
1225
|
+
|
|
1226
|
+
@anyscaled_config.setter
|
|
1227
|
+
def anyscaled_config(self, anyscaled_config):
|
|
1228
|
+
"""Sets the anyscaled_config of this Session.
|
|
1229
|
+
|
|
1230
|
+
Serialized AnyscaleD config that is general to head and worker nodes. # noqa: E501
|
|
1231
|
+
|
|
1232
|
+
:param anyscaled_config: The anyscaled_config of this Session. # noqa: E501
|
|
1233
|
+
:type: str
|
|
1234
|
+
"""
|
|
1235
|
+
|
|
1236
|
+
self._anyscaled_config = anyscaled_config
|
|
1237
|
+
|
|
1238
|
+
@property
|
|
1239
|
+
def anyscaled_config_generated_at(self):
|
|
1240
|
+
"""Gets the anyscaled_config_generated_at of this Session. # noqa: E501
|
|
1241
|
+
|
|
1242
|
+
Time when AnyscaleD config was generated at. # noqa: E501
|
|
1243
|
+
|
|
1244
|
+
:return: The anyscaled_config_generated_at of this Session. # noqa: E501
|
|
1245
|
+
:rtype: datetime
|
|
1246
|
+
"""
|
|
1247
|
+
return self._anyscaled_config_generated_at
|
|
1248
|
+
|
|
1249
|
+
@anyscaled_config_generated_at.setter
|
|
1250
|
+
def anyscaled_config_generated_at(self, anyscaled_config_generated_at):
|
|
1251
|
+
"""Sets the anyscaled_config_generated_at of this Session.
|
|
1252
|
+
|
|
1253
|
+
Time when AnyscaleD config was generated at. # noqa: E501
|
|
1254
|
+
|
|
1255
|
+
:param anyscaled_config_generated_at: The anyscaled_config_generated_at of this Session. # noqa: E501
|
|
1256
|
+
:type: datetime
|
|
1257
|
+
"""
|
|
1258
|
+
|
|
1259
|
+
self._anyscaled_config_generated_at = anyscaled_config_generated_at
|
|
1260
|
+
|
|
1261
|
+
@property
|
|
1262
|
+
def default_build_id(self):
|
|
1263
|
+
"""Gets the default_build_id of this Session. # noqa: E501
|
|
1264
|
+
|
|
1265
|
+
Default build id used for the session. Only not null when using default builds. # noqa: E501
|
|
1266
|
+
|
|
1267
|
+
:return: The default_build_id of this Session. # noqa: E501
|
|
1268
|
+
:rtype: str
|
|
1269
|
+
"""
|
|
1270
|
+
return self._default_build_id
|
|
1271
|
+
|
|
1272
|
+
@default_build_id.setter
|
|
1273
|
+
def default_build_id(self, default_build_id):
|
|
1274
|
+
"""Sets the default_build_id of this Session.
|
|
1275
|
+
|
|
1276
|
+
Default build id used for the session. Only not null when using default builds. # noqa: E501
|
|
1277
|
+
|
|
1278
|
+
:param default_build_id: The default_build_id of this Session. # noqa: E501
|
|
1279
|
+
:type: str
|
|
1280
|
+
"""
|
|
1281
|
+
|
|
1282
|
+
self._default_build_id = default_build_id
|
|
1283
|
+
|
|
1284
|
+
@property
|
|
1285
|
+
def idle_timeout_last_activity_at(self):
|
|
1286
|
+
"""Gets the idle_timeout_last_activity_at of this Session. # noqa: E501
|
|
1287
|
+
|
|
1288
|
+
The time when this session started idling. If idle_timeout is enabled and this value is None, then this session is still active. # noqa: E501
|
|
1289
|
+
|
|
1290
|
+
:return: The idle_timeout_last_activity_at of this Session. # noqa: E501
|
|
1291
|
+
:rtype: datetime
|
|
1292
|
+
"""
|
|
1293
|
+
return self._idle_timeout_last_activity_at
|
|
1294
|
+
|
|
1295
|
+
@idle_timeout_last_activity_at.setter
|
|
1296
|
+
def idle_timeout_last_activity_at(self, idle_timeout_last_activity_at):
|
|
1297
|
+
"""Sets the idle_timeout_last_activity_at of this Session.
|
|
1298
|
+
|
|
1299
|
+
The time when this session started idling. If idle_timeout is enabled and this value is None, then this session is still active. # noqa: E501
|
|
1300
|
+
|
|
1301
|
+
:param idle_timeout_last_activity_at: The idle_timeout_last_activity_at of this Session. # noqa: E501
|
|
1302
|
+
:type: datetime
|
|
1303
|
+
"""
|
|
1304
|
+
|
|
1305
|
+
self._idle_timeout_last_activity_at = idle_timeout_last_activity_at
|
|
1306
|
+
|
|
1307
|
+
@property
|
|
1308
|
+
def ray_version(self):
|
|
1309
|
+
"""Gets the ray_version of this Session. # noqa: E501
|
|
1310
|
+
|
|
1311
|
+
The last known ray version running on this cluster. # noqa: E501
|
|
1312
|
+
|
|
1313
|
+
:return: The ray_version of this Session. # noqa: E501
|
|
1314
|
+
:rtype: str
|
|
1315
|
+
"""
|
|
1316
|
+
return self._ray_version
|
|
1317
|
+
|
|
1318
|
+
@ray_version.setter
|
|
1319
|
+
def ray_version(self, ray_version):
|
|
1320
|
+
"""Sets the ray_version of this Session.
|
|
1321
|
+
|
|
1322
|
+
The last known ray version running on this cluster. # noqa: E501
|
|
1323
|
+
|
|
1324
|
+
:param ray_version: The ray_version of this Session. # noqa: E501
|
|
1325
|
+
:type: str
|
|
1326
|
+
"""
|
|
1327
|
+
|
|
1328
|
+
self._ray_version = ray_version
|
|
1329
|
+
|
|
1330
|
+
@property
|
|
1331
|
+
def ray_version_last_updated_at(self):
|
|
1332
|
+
"""Gets the ray_version_last_updated_at of this Session. # noqa: E501
|
|
1333
|
+
|
|
1334
|
+
The time in which the ray version of this was updated. # noqa: E501
|
|
1335
|
+
|
|
1336
|
+
:return: The ray_version_last_updated_at of this Session. # noqa: E501
|
|
1337
|
+
:rtype: datetime
|
|
1338
|
+
"""
|
|
1339
|
+
return self._ray_version_last_updated_at
|
|
1340
|
+
|
|
1341
|
+
@ray_version_last_updated_at.setter
|
|
1342
|
+
def ray_version_last_updated_at(self, ray_version_last_updated_at):
|
|
1343
|
+
"""Sets the ray_version_last_updated_at of this Session.
|
|
1344
|
+
|
|
1345
|
+
The time in which the ray version of this was updated. # noqa: E501
|
|
1346
|
+
|
|
1347
|
+
:param ray_version_last_updated_at: The ray_version_last_updated_at of this Session. # noqa: E501
|
|
1348
|
+
:type: datetime
|
|
1349
|
+
"""
|
|
1350
|
+
|
|
1351
|
+
self._ray_version_last_updated_at = ray_version_last_updated_at
|
|
1352
|
+
|
|
1353
|
+
@property
|
|
1354
|
+
def user_service_url(self):
|
|
1355
|
+
"""Gets the user_service_url of this Session. # noqa: E501
|
|
1356
|
+
|
|
1357
|
+
URL to access user services (e.g. Ray Serve) # noqa: E501
|
|
1358
|
+
|
|
1359
|
+
:return: The user_service_url of this Session. # noqa: E501
|
|
1360
|
+
:rtype: str
|
|
1361
|
+
"""
|
|
1362
|
+
return self._user_service_url
|
|
1363
|
+
|
|
1364
|
+
@user_service_url.setter
|
|
1365
|
+
def user_service_url(self, user_service_url):
|
|
1366
|
+
"""Sets the user_service_url of this Session.
|
|
1367
|
+
|
|
1368
|
+
URL to access user services (e.g. Ray Serve) # noqa: E501
|
|
1369
|
+
|
|
1370
|
+
:param user_service_url: The user_service_url of this Session. # noqa: E501
|
|
1371
|
+
:type: str
|
|
1372
|
+
"""
|
|
1373
|
+
|
|
1374
|
+
self._user_service_url = user_service_url
|
|
1375
|
+
|
|
1376
|
+
@property
|
|
1377
|
+
def ray_component_activities_last_reported_at(self):
|
|
1378
|
+
"""Gets the ray_component_activities_last_reported_at of this Session. # noqa: E501
|
|
1379
|
+
|
|
1380
|
+
When we last saw an observation from Ray Dashboard. This is populated even if we see an observation of no activity. # noqa: E501
|
|
1381
|
+
|
|
1382
|
+
:return: The ray_component_activities_last_reported_at of this Session. # noqa: E501
|
|
1383
|
+
:rtype: datetime
|
|
1384
|
+
"""
|
|
1385
|
+
return self._ray_component_activities_last_reported_at
|
|
1386
|
+
|
|
1387
|
+
@ray_component_activities_last_reported_at.setter
|
|
1388
|
+
def ray_component_activities_last_reported_at(self, ray_component_activities_last_reported_at):
|
|
1389
|
+
"""Sets the ray_component_activities_last_reported_at of this Session.
|
|
1390
|
+
|
|
1391
|
+
When we last saw an observation from Ray Dashboard. This is populated even if we see an observation of no activity. # noqa: E501
|
|
1392
|
+
|
|
1393
|
+
:param ray_component_activities_last_reported_at: The ray_component_activities_last_reported_at of this Session. # noqa: E501
|
|
1394
|
+
:type: datetime
|
|
1395
|
+
"""
|
|
1396
|
+
|
|
1397
|
+
self._ray_component_activities_last_reported_at = ray_component_activities_last_reported_at
|
|
1398
|
+
|
|
1399
|
+
@property
|
|
1400
|
+
def activity_details(self):
|
|
1401
|
+
"""Gets the activity_details of this Session. # noqa: E501
|
|
1402
|
+
|
|
1403
|
+
Details of latest positive activity report for all relavant components. Format is mapping of activity type to activity details (includes timestamp and other activity specific fields). # noqa: E501
|
|
1404
|
+
|
|
1405
|
+
:return: The activity_details of this Session. # noqa: E501
|
|
1406
|
+
:rtype: object
|
|
1407
|
+
"""
|
|
1408
|
+
return self._activity_details
|
|
1409
|
+
|
|
1410
|
+
@activity_details.setter
|
|
1411
|
+
def activity_details(self, activity_details):
|
|
1412
|
+
"""Sets the activity_details of this Session.
|
|
1413
|
+
|
|
1414
|
+
Details of latest positive activity report for all relavant components. Format is mapping of activity type to activity details (includes timestamp and other activity specific fields). # noqa: E501
|
|
1415
|
+
|
|
1416
|
+
:param activity_details: The activity_details of this Session. # noqa: E501
|
|
1417
|
+
:type: object
|
|
1418
|
+
"""
|
|
1419
|
+
|
|
1420
|
+
self._activity_details = activity_details
|
|
1421
|
+
|
|
1422
|
+
@property
|
|
1423
|
+
def maximum_uptime_will_terminate_cluster_at(self):
|
|
1424
|
+
"""Gets the maximum_uptime_will_terminate_cluster_at of this Session. # noqa: E501
|
|
1425
|
+
|
|
1426
|
+
The time the cluster will be terminated due to its maximum uptime. If None, the cluster will not be terminated for this reason. # noqa: E501
|
|
1427
|
+
|
|
1428
|
+
:return: The maximum_uptime_will_terminate_cluster_at of this Session. # noqa: E501
|
|
1429
|
+
:rtype: datetime
|
|
1430
|
+
"""
|
|
1431
|
+
return self._maximum_uptime_will_terminate_cluster_at
|
|
1432
|
+
|
|
1433
|
+
@maximum_uptime_will_terminate_cluster_at.setter
|
|
1434
|
+
def maximum_uptime_will_terminate_cluster_at(self, maximum_uptime_will_terminate_cluster_at):
|
|
1435
|
+
"""Sets the maximum_uptime_will_terminate_cluster_at of this Session.
|
|
1436
|
+
|
|
1437
|
+
The time the cluster will be terminated due to its maximum uptime. If None, the cluster will not be terminated for this reason. # noqa: E501
|
|
1438
|
+
|
|
1439
|
+
:param maximum_uptime_will_terminate_cluster_at: The maximum_uptime_will_terminate_cluster_at of this Session. # noqa: E501
|
|
1440
|
+
:type: datetime
|
|
1441
|
+
"""
|
|
1442
|
+
|
|
1443
|
+
self._maximum_uptime_will_terminate_cluster_at = maximum_uptime_will_terminate_cluster_at
|
|
1444
|
+
|
|
1445
|
+
@property
|
|
1446
|
+
def idle_termination_status(self):
|
|
1447
|
+
"""Gets the idle_termination_status of this Session. # noqa: E501
|
|
1448
|
+
|
|
1449
|
+
The status of autosuspend # noqa: E501
|
|
1450
|
+
|
|
1451
|
+
:return: The idle_termination_status of this Session. # noqa: E501
|
|
1452
|
+
:rtype: IdleTerminationStatus
|
|
1453
|
+
"""
|
|
1454
|
+
return self._idle_termination_status
|
|
1455
|
+
|
|
1456
|
+
@idle_termination_status.setter
|
|
1457
|
+
def idle_termination_status(self, idle_termination_status):
|
|
1458
|
+
"""Sets the idle_termination_status of this Session.
|
|
1459
|
+
|
|
1460
|
+
The status of autosuspend # noqa: E501
|
|
1461
|
+
|
|
1462
|
+
:param idle_termination_status: The idle_termination_status of this Session. # noqa: E501
|
|
1463
|
+
:type: IdleTerminationStatus
|
|
1464
|
+
"""
|
|
1465
|
+
|
|
1466
|
+
self._idle_termination_status = idle_termination_status
|
|
1467
|
+
|
|
1468
|
+
@property
|
|
1469
|
+
def ray_dashboard_snapshot_last_reported_at(self):
|
|
1470
|
+
"""Gets the ray_dashboard_snapshot_last_reported_at of this Session. # noqa: E501
|
|
1471
|
+
|
|
1472
|
+
The time of the last snapshot recorded from the ray dashboard # noqa: E501
|
|
1473
|
+
|
|
1474
|
+
:return: The ray_dashboard_snapshot_last_reported_at of this Session. # noqa: E501
|
|
1475
|
+
:rtype: datetime
|
|
1476
|
+
"""
|
|
1477
|
+
return self._ray_dashboard_snapshot_last_reported_at
|
|
1478
|
+
|
|
1479
|
+
@ray_dashboard_snapshot_last_reported_at.setter
|
|
1480
|
+
def ray_dashboard_snapshot_last_reported_at(self, ray_dashboard_snapshot_last_reported_at):
|
|
1481
|
+
"""Sets the ray_dashboard_snapshot_last_reported_at of this Session.
|
|
1482
|
+
|
|
1483
|
+
The time of the last snapshot recorded from the ray dashboard # noqa: E501
|
|
1484
|
+
|
|
1485
|
+
:param ray_dashboard_snapshot_last_reported_at: The ray_dashboard_snapshot_last_reported_at of this Session. # noqa: E501
|
|
1486
|
+
:type: datetime
|
|
1487
|
+
"""
|
|
1488
|
+
|
|
1489
|
+
self._ray_dashboard_snapshot_last_reported_at = ray_dashboard_snapshot_last_reported_at
|
|
1490
|
+
|
|
1491
|
+
def to_dict(self):
|
|
1492
|
+
"""Returns the model properties as a dict"""
|
|
1493
|
+
result = {}
|
|
1494
|
+
|
|
1495
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
1496
|
+
value = getattr(self, attr)
|
|
1497
|
+
if isinstance(value, list):
|
|
1498
|
+
result[attr] = list(map(
|
|
1499
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
1500
|
+
value
|
|
1501
|
+
))
|
|
1502
|
+
elif hasattr(value, "to_dict"):
|
|
1503
|
+
result[attr] = value.to_dict()
|
|
1504
|
+
elif isinstance(value, dict):
|
|
1505
|
+
result[attr] = dict(map(
|
|
1506
|
+
lambda item: (item[0], item[1].to_dict())
|
|
1507
|
+
if hasattr(item[1], "to_dict") else item,
|
|
1508
|
+
value.items()
|
|
1509
|
+
))
|
|
1510
|
+
else:
|
|
1511
|
+
result[attr] = value
|
|
1512
|
+
|
|
1513
|
+
return result
|
|
1514
|
+
|
|
1515
|
+
def to_str(self):
|
|
1516
|
+
"""Returns the string representation of the model"""
|
|
1517
|
+
return pprint.pformat(self.to_dict())
|
|
1518
|
+
|
|
1519
|
+
def __repr__(self):
|
|
1520
|
+
"""For `print` and `pprint`"""
|
|
1521
|
+
return self.to_str()
|
|
1522
|
+
|
|
1523
|
+
def __eq__(self, other):
|
|
1524
|
+
"""Returns true if both objects are equal"""
|
|
1525
|
+
if not isinstance(other, Session):
|
|
1526
|
+
return False
|
|
1527
|
+
|
|
1528
|
+
return self.to_dict() == other.to_dict()
|
|
1529
|
+
|
|
1530
|
+
def __ne__(self, other):
|
|
1531
|
+
"""Returns true if both objects are not equal"""
|
|
1532
|
+
if not isinstance(other, Session):
|
|
1533
|
+
return True
|
|
1534
|
+
|
|
1535
|
+
return self.to_dict() != other.to_dict()
|