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