anyscale 0.26.15__py3-none-any.whl → 0.26.17__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/_private/anyscale_client/anyscale_client.py +4 -2
- anyscale/_private/anyscale_client/common.py +6 -4
- anyscale/_private/anyscale_client/fake_anyscale_client.py +15 -6
- anyscale/_private/docgen/__main__.py +4 -4
- anyscale/_private/docgen/generator.py +2 -2
- anyscale/_private/sdk/__init__.py +2 -2
- anyscale/_private/workload/workload_sdk.py +6 -4
- anyscale/aggregated_instance_usage/commands.py +6 -2
- anyscale/anyscale-cloud-setup-gcp.yaml +2 -0
- anyscale/client/README.md +11 -6
- anyscale/client/openapi_client/__init__.py +8 -4
- anyscale/client/openapi_client/api/default_api.py +402 -270
- anyscale/client/openapi_client/models/__init__.py +8 -4
- anyscale/client/openapi_client/models/alert_type.py +11 -2
- anyscale/client/openapi_client/models/create_job_queue_requests.py +3 -32
- anyscale/client/openapi_client/models/i_know_response.py +174 -0
- anyscale/client/openapi_client/models/i_know_time_series_event.py +148 -0
- anyscale/client/openapi_client/models/job_report.py +199 -0
- anyscale/client/openapi_client/models/job_with_report.py +254 -0
- anyscale/client/openapi_client/models/jobwithreport_list_response.py +147 -0
- anyscale/client/openapi_client/models/{product_autoscaler_flag.py → list_ray_sessions_response.py} +22 -23
- anyscale/client/openapi_client/models/{productautoscalerflag_response.py → listraysessionsresponse_response.py} +11 -11
- anyscale/client/openapi_client/models/metric.py +133 -3
- anyscale/client/openapi_client/models/ray_session.py +121 -0
- anyscale/cloud/__init__.py +2 -2
- anyscale/cloud/_private/cloud_sdk.py +2 -2
- anyscale/cloud/commands.py +9 -6
- anyscale/cloud_utils.py +5 -4
- anyscale/cluster_compute.py +2 -2
- anyscale/cluster_env.py +2 -0
- anyscale/commands/cloud_commands.py +43 -0
- anyscale/commands/login_commands.py +24 -3
- anyscale/commands/schedule_commands.py +2 -1
- anyscale/compute_config/commands.py +15 -7
- anyscale/controllers/cloud_controller.py +151 -8
- anyscale/controllers/cluster_controller.py +1 -0
- anyscale/controllers/job_controller.py +1 -1
- anyscale/controllers/service_controller.py +1 -0
- anyscale/image/commands.py +6 -6
- anyscale/job/_private/job_sdk.py +22 -24
- anyscale/job/commands.py +12 -12
- anyscale/organization_invitation/commands.py +11 -7
- anyscale/project/__init__.py +2 -2
- anyscale/project/_private/project_sdk.py +2 -2
- anyscale/project/commands.py +3 -3
- anyscale/project_utils.py +1 -1
- anyscale/resource_quota/commands.py +18 -10
- anyscale/schedule/commands.py +12 -8
- anyscale/sdk/anyscale_client/sdk.py +1 -0
- anyscale/service/commands.py +17 -17
- anyscale/service_account/commands.py +12 -10
- anyscale/user/commands.py +5 -3
- anyscale/utils/gcp_utils.py +25 -9
- anyscale/version.py +1 -1
- anyscale/workspace/__init__.py +1 -1
- anyscale/workspace/_private/workspace_sdk.py +5 -3
- anyscale/workspace/commands.py +26 -24
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/METADATA +1 -1
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/RECORD +64 -60
- anyscale/client/openapi_client/models/aviary_model_config_v2.py +0 -358
- anyscale/client/openapi_client/models/finish_ft_job_request_v2.py +0 -183
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/LICENSE +0 -0
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/NOTICE +0 -0
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/WHEEL +0 -0
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.15.dist-info → anyscale-0.26.17.dist-info}/top_level.txt +0 -0
@@ -1668,7 +1668,7 @@ class AnyscaleClient(AnyscaleClientInterface):
|
|
1668
1668
|
def update_workspace(
|
1669
1669
|
self,
|
1670
1670
|
*,
|
1671
|
-
workspace_id: str,
|
1671
|
+
workspace_id: Optional[str],
|
1672
1672
|
name: Optional[str] = None,
|
1673
1673
|
compute_config_id: Optional[str] = None,
|
1674
1674
|
cluster_environment_build_id: Optional[str] = None,
|
@@ -1760,7 +1760,9 @@ class AnyscaleClient(AnyscaleClientInterface):
|
|
1760
1760
|
)
|
1761
1761
|
|
1762
1762
|
@handle_api_exceptions
|
1763
|
-
def get_workspace_cluster(
|
1763
|
+
def get_workspace_cluster(
|
1764
|
+
self, workspace_id: Optional[str]
|
1765
|
+
) -> Optional[DecoratedSession]:
|
1764
1766
|
workspace = self.get_workspace(id=workspace_id)
|
1765
1767
|
if not workspace:
|
1766
1768
|
raise ValueError(f"Workspace '{workspace_id}' not found.")
|
@@ -561,14 +561,14 @@ class AnyscaleClientInterface(ABC):
|
|
561
561
|
|
562
562
|
@abstractmethod
|
563
563
|
def update_workspace_dependencies_offline_only(
|
564
|
-
self, workspace_id: str, requirements: List[str]
|
564
|
+
self, workspace_id: Optional[str], requirements: List[str]
|
565
565
|
):
|
566
566
|
"""Updates the dynamic dependencies of a workspace while the workspace is offline"""
|
567
567
|
raise NotImplementedError
|
568
568
|
|
569
569
|
@abstractmethod
|
570
570
|
def update_workspace_env_vars_offline_only(
|
571
|
-
self, workspace_id: str, env_vars: Dict[str, str]
|
571
|
+
self, workspace_id: Optional[str], env_vars: Dict[str, str]
|
572
572
|
):
|
573
573
|
"""Updates the dynamic dependencies of a workspace"""
|
574
574
|
raise NotImplementedError
|
@@ -581,7 +581,9 @@ class AnyscaleClientInterface(ABC):
|
|
581
581
|
raise NotImplementedError
|
582
582
|
|
583
583
|
@abstractmethod
|
584
|
-
def get_workspace_cluster(
|
584
|
+
def get_workspace_cluster(
|
585
|
+
self, workspace_id: Optional[str]
|
586
|
+
) -> Optional[DecoratedSession]:
|
585
587
|
"""Get the cluster model for the provided workspace ID."""
|
586
588
|
raise NotImplementedError
|
587
589
|
|
@@ -622,7 +624,7 @@ class AnyscaleClientInterface(ABC):
|
|
622
624
|
def update_workspace(
|
623
625
|
self,
|
624
626
|
*,
|
625
|
-
workspace_id: str,
|
627
|
+
workspace_id: Optional[str] = None, # noqa: A002
|
626
628
|
name: Optional[str] = None,
|
627
629
|
compute_config_id: Optional[str] = None,
|
628
630
|
cluster_environment_build_id: Optional[str] = None,
|
@@ -701,7 +701,10 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
701
701
|
self._job_runs[prod_job_id].append(model)
|
702
702
|
|
703
703
|
def register_project_by_name(
|
704
|
-
self,
|
704
|
+
self,
|
705
|
+
name: str,
|
706
|
+
cloud: str = DEFAULT_CLOUD_NAME,
|
707
|
+
project_id: Optional[str] = None,
|
705
708
|
) -> str:
|
706
709
|
"""Helper method to create project name to project id mapping."""
|
707
710
|
cloud_id = self.get_cloud_id(cloud_name=cloud)
|
@@ -1063,17 +1066,23 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
1063
1066
|
workspace.state = SessionState.TERMINATED
|
1064
1067
|
|
1065
1068
|
def update_workspace_dependencies_offline_only(
|
1066
|
-
self, workspace_id: str, requirements: List[str]
|
1069
|
+
self, workspace_id: Optional[str], requirements: List[str]
|
1067
1070
|
):
|
1071
|
+
assert workspace_id is not None
|
1068
1072
|
self._workspaces_dependencies[workspace_id] = requirements
|
1069
1073
|
|
1070
1074
|
def update_workspace_env_vars_offline_only(
|
1071
|
-
self, workspace_id: str, env_vars: Dict[str, str]
|
1075
|
+
self, workspace_id: Optional[str], env_vars: Dict[str, str]
|
1072
1076
|
):
|
1077
|
+
assert workspace_id is not None
|
1073
1078
|
self._workspaces_env_vars[workspace_id] = env_vars
|
1074
1079
|
|
1075
|
-
def get_workspace_cluster(
|
1076
|
-
|
1080
|
+
def get_workspace_cluster(
|
1081
|
+
self, workspace_id: Optional[str]
|
1082
|
+
) -> Optional[DecoratedSession]:
|
1083
|
+
workspace_model = (
|
1084
|
+
self._workspaces.get(workspace_id, None) if workspace_id else None
|
1085
|
+
)
|
1077
1086
|
compute_config = self.get_compute_config(workspace_model.compute_config_id)
|
1078
1087
|
assert compute_config is not None
|
1079
1088
|
return Mock(
|
@@ -1136,7 +1145,7 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
1136
1145
|
def update_workspace(
|
1137
1146
|
self,
|
1138
1147
|
*,
|
1139
|
-
workspace_id: str,
|
1148
|
+
workspace_id: Optional[str] = None, # noqa: A002
|
1140
1149
|
name: Optional[str] = None,
|
1141
1150
|
compute_config_id: Optional[str] = None,
|
1142
1151
|
cluster_environment_build_id: Optional[str] = None,
|
@@ -233,7 +233,7 @@ ALL_MODULES = [
|
|
233
233
|
"list_schedules": None,
|
234
234
|
},
|
235
235
|
legacy_cli_prefix="anyscale schedule",
|
236
|
-
legacy_cli_commands=
|
236
|
+
legacy_cli_commands=[schedule_commands.create, schedule_commands.update],
|
237
237
|
),
|
238
238
|
Module(
|
239
239
|
title="Service",
|
@@ -298,7 +298,7 @@ ALL_MODULES = [
|
|
298
298
|
"ServicemodelResponse",
|
299
299
|
],
|
300
300
|
legacy_cli_prefix="anyscale service",
|
301
|
-
legacy_cli_commands=
|
301
|
+
legacy_cli_commands=[service_commands.rollout],
|
302
302
|
),
|
303
303
|
Module(
|
304
304
|
title="Compute Config",
|
@@ -391,12 +391,12 @@ ALL_MODULES = [
|
|
391
391
|
models=[ImageBuild, ImageBuildStatus],
|
392
392
|
legacy_title="Cluster environment",
|
393
393
|
legacy_cli_prefix="anyscale image",
|
394
|
-
legacy_cli_commands=
|
394
|
+
legacy_cli_commands=[
|
395
395
|
cluster_env_commands.archive,
|
396
396
|
cluster_env_commands.build,
|
397
397
|
cluster_env_commands.get,
|
398
398
|
cluster_env_commands.list,
|
399
|
-
|
399
|
+
],
|
400
400
|
legacy_sdk_commands={
|
401
401
|
"get_cluster_environment_build_operation": None,
|
402
402
|
"create_byod_cluster_environment_build": anyscale.image.build,
|
@@ -60,7 +60,7 @@ class Module:
|
|
60
60
|
legacy_title: Optional[str] = None
|
61
61
|
legacy_cli_prefix: Optional[str] = None
|
62
62
|
legacy_cli_commands: Optional[List[LegacyAnyscaleCommand]] = None
|
63
|
-
legacy_sdk_commands: Optional[Dict[str, Callable]] = None
|
63
|
+
legacy_sdk_commands: Optional[Dict[str, Optional[Callable]]] = None
|
64
64
|
legacy_sdk_models: Optional[List[str]] = None
|
65
65
|
|
66
66
|
|
@@ -259,7 +259,7 @@ class MarkdownGenerator:
|
|
259
259
|
if typing.get_origin(t) is not None:
|
260
260
|
return self._type_container_to_string(t)
|
261
261
|
if isinstance(t, (ModelBaseType, ModelEnumType)):
|
262
|
-
return f"[{t.__name__}]({self._get_anchor(t)})"
|
262
|
+
return f"[{t.__name__}]({self._get_anchor(t)})" # type: ignore
|
263
263
|
|
264
264
|
# Avoid poor rendering of unhandled types.
|
265
265
|
raise NotImplementedError(
|
@@ -35,11 +35,11 @@ def sdk_command(
|
|
35
35
|
def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
|
36
36
|
# We disable the mypy linter here because it treats kwargs as a
|
37
37
|
# P.kwargs object. mypy wrongly thinks kwargs can't be indexed.
|
38
|
-
if "
|
38
|
+
if "_private_sdk" not in kwargs: # type: ignore
|
39
39
|
if key not in _LAZY_SDK_SINGLETONS:
|
40
40
|
_LAZY_SDK_SINGLETONS[key] = sdk_cls()
|
41
41
|
|
42
|
-
kwargs["
|
42
|
+
kwargs["_private_sdk"] = _LAZY_SDK_SINGLETONS[key] # type: ignore
|
43
43
|
|
44
44
|
return f(*args, **kwargs)
|
45
45
|
|
@@ -211,7 +211,7 @@ class WorkloadSDK(BaseSDK):
|
|
211
211
|
def resolve_compute_config_and_cloud_id(
|
212
212
|
self,
|
213
213
|
*,
|
214
|
-
compute_config: Union[
|
214
|
+
compute_config: Union[ComputeConfig, Dict, str, None],
|
215
215
|
cloud: Union[None, str],
|
216
216
|
) -> Tuple[str, str]:
|
217
217
|
"""Resolve the passed compute config to its ID and corresponding cloud ID.
|
@@ -237,7 +237,7 @@ class WorkloadSDK(BaseSDK):
|
|
237
237
|
return (compute_config_id, cloud_id) # type: ignore
|
238
238
|
elif cloud is None:
|
239
239
|
compute_config_id = self._resolve_compute_config_id(
|
240
|
-
compute_config=compute_config
|
240
|
+
compute_config=compute_config # type: ignore
|
241
241
|
)
|
242
242
|
return (
|
243
243
|
compute_config_id,
|
@@ -252,7 +252,7 @@ class WorkloadSDK(BaseSDK):
|
|
252
252
|
compute_config = replace(compute_config, cloud=cloud)
|
253
253
|
|
254
254
|
compute_config_id = self._resolve_compute_config_id(
|
255
|
-
compute_config=compute_config
|
255
|
+
compute_config=compute_config # type: ignore
|
256
256
|
)
|
257
257
|
cloud_id_from_cc = self.client.get_cloud_id(
|
258
258
|
compute_config_id=compute_config_id
|
@@ -270,7 +270,9 @@ class WorkloadSDK(BaseSDK):
|
|
270
270
|
if not self._client.inside_workspace():
|
271
271
|
return None
|
272
272
|
|
273
|
-
|
273
|
+
workspace = self._client.get_current_workspace_cluster()
|
274
|
+
assert workspace is not None
|
275
|
+
name = workspace.name
|
274
276
|
# Defensively default to the workspace cluster name as-is if it doesn't
|
275
277
|
# start with the expected prefix.
|
276
278
|
if name.startswith(WORKSPACE_CLUSTER_NAME_PREFIX):
|
@@ -1,3 +1,5 @@
|
|
1
|
+
from typing import Optional
|
2
|
+
|
1
3
|
from anyscale._private.sdk import sdk_command
|
2
4
|
from anyscale.aggregated_instance_usage._private.aggregated_instance_usage_sdk import (
|
3
5
|
PrivateAggregatedInstanceUsageSDK,
|
@@ -33,8 +35,10 @@ _DOWNLOAD_ARG_DOCSTRINGS = {"filters": "The filter of the instance usage to down
|
|
33
35
|
arg_docstrings=_DOWNLOAD_ARG_DOCSTRINGS,
|
34
36
|
)
|
35
37
|
def download_csv(
|
36
|
-
filters: DownloadCSVFilters,
|
38
|
+
filters: DownloadCSVFilters,
|
39
|
+
*,
|
40
|
+
_private_sdk: Optional[PrivateAggregatedInstanceUsageSDK] = None
|
37
41
|
) -> str:
|
38
42
|
"""Download an aggregated instance usage report as a zipped CSV to the provided directory.
|
39
43
|
"""
|
40
|
-
return
|
44
|
+
return _private_sdk.download_csv(filters) # type: ignore
|
@@ -101,6 +101,7 @@ resources:
|
|
101
101
|
dependsOn:
|
102
102
|
- ${ANYSCALE_ACCESS_SERVICE_ACCOUNT}
|
103
103
|
- storage-bucket-${CLOUD_ID}
|
104
|
+
- iam-policy-anyscale-access-project-${CLOUD_ID}
|
104
105
|
- name: bucket-iam-${CLOUD_ID}
|
105
106
|
type: gcp-types/storage-v1:virtual.buckets.iamMemberBinding
|
106
107
|
properties:
|
@@ -111,3 +112,4 @@ resources:
|
|
111
112
|
dependsOn:
|
112
113
|
- ${CLOUD_ID}
|
113
114
|
- storage-bucket-${CLOUD_ID}
|
115
|
+
- iam-policy-instance-project-${CLOUD_ID}
|
anyscale/client/README.md
CHANGED
@@ -172,7 +172,6 @@ Class | Method | HTTP request | Description
|
|
172
172
|
*DefaultApi* | [**find_project_by_project_name_api_v2_projects_find_by_name_get**](docs/DefaultApi.md#find_project_by_project_name_api_v2_projects_find_by_name_get) | **GET** /api/v2/projects/find_by_name | Find Project By Project Name
|
173
173
|
*DefaultApi* | [**find_with_invitation_api_v2_organizations_find_with_invitation_get**](docs/DefaultApi.md#find_with_invitation_api_v2_organizations_find_with_invitation_get) | **GET** /api/v2/organizations/find_with_invitation | Find With Invitation
|
174
174
|
*DefaultApi* | [**find_with_user_api_v2_organizations_find_with_user_get**](docs/DefaultApi.md#find_with_user_api_v2_organizations_find_with_user_get) | **GET** /api/v2/organizations/find_with_user | Find With User
|
175
|
-
*DefaultApi* | [**fine_tuning_job_callback_v2_api_v2_fine_tuning_v2_jobs_internal_finish_post**](docs/DefaultApi.md#fine_tuning_job_callback_v2_api_v2_fine_tuning_v2_jobs_internal_finish_post) | **POST** /api/v2/fine_tuning_v2/jobs/internal/finish | Fine Tuning Job Callback V2
|
176
175
|
*DefaultApi* | [**finish_session_command_api_v2_session_commands_session_command_id_finish_post**](docs/DefaultApi.md#finish_session_command_api_v2_session_commands_session_command_id_finish_post) | **POST** /api/v2/session_commands/{session_command_id}/finish | Finish Session Command
|
177
176
|
*DefaultApi* | [**generate_cloud_data_bucket_presigned_upload_url_api_v2_clouds_cloud_id_generate_cloud_data_bucket_presigned_upload_url_post**](docs/DefaultApi.md#generate_cloud_data_bucket_presigned_upload_url_api_v2_clouds_cloud_id_generate_cloud_data_bucket_presigned_upload_url_post) | **POST** /api/v2/clouds/{cloud_id}/generate_cloud_data_bucket_presigned_upload_url | Generate Cloud Data Bucket Presigned Upload Url
|
178
177
|
*DefaultApi* | [**generate_cloud_data_bucket_presigned_url_api_v2_clouds_cloud_id_generate_cloud_data_bucket_presigned_url_post**](docs/DefaultApi.md#generate_cloud_data_bucket_presigned_url_api_v2_clouds_cloud_id_generate_cloud_data_bucket_presigned_url_post) | **POST** /api/v2/clouds/{cloud_id}/generate_cloud_data_bucket_presigned_url | Generate Cloud Data Bucket Presigned Url
|
@@ -191,7 +190,6 @@ Class | Method | HTTP request | Description
|
|
191
190
|
*DefaultApi* | [**get_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_cloud_id_get**](docs/DefaultApi.md#get_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_cloud_id_get) | **GET** /api/v2/clouds_with_cloud_resource_router/{cloud_id} | Get Cloud With Cloud Resource
|
192
191
|
*DefaultApi* | [**get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get**](docs/DefaultApi.md#get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get) | **GET** /api/v2/authentication/{cluster_id}/cluster_access_token | Get Cluster Access Token
|
193
192
|
*DefaultApi* | [**get_cluster_events_api_v2_sessions_session_id_cluster_events_get**](docs/DefaultApi.md#get_cluster_events_api_v2_sessions_session_id_cluster_events_get) | **GET** /api/v2/sessions/{session_id}/cluster_events | Get Cluster Events
|
194
|
-
*DefaultApi* | [**get_cluster_product_autoscaler_flag_api_v2_logs_cluster_product_autoscaler_flag_session_id_get**](docs/DefaultApi.md#get_cluster_product_autoscaler_flag_api_v2_logs_cluster_product_autoscaler_flag_session_id_get) | **GET** /api/v2/logs/cluster_product_autoscaler_flag/{session_id} | Get Cluster Product Autoscaler Flag
|
195
193
|
*DefaultApi* | [**get_compute_template_api_v2_compute_templates_template_id_get**](docs/DefaultApi.md#get_compute_template_api_v2_compute_templates_template_id_get) | **GET** /api/v2/compute_templates/{template_id} | Get Compute Template
|
196
194
|
*DefaultApi* | [**get_cron_job_api_v2_experimental_cron_jobs_cron_job_id_get**](docs/DefaultApi.md#get_cron_job_api_v2_experimental_cron_jobs_cron_job_id_get) | **GET** /api/v2/experimental_cron_jobs/{cron_job_id} | Get Cron Job
|
197
195
|
*DefaultApi* | [**get_dags_api_v2_dataset_runs_dags_get**](docs/DefaultApi.md#get_dags_api_v2_dataset_runs_dags_get) | **GET** /api/v2/dataset_runs/dags | Get Dags
|
@@ -246,6 +244,7 @@ Class | Method | HTTP request | Description
|
|
246
244
|
*DefaultApi* | [**get_regions_and_zones_api_v2_clouds_gcp_regions_and_zones_get**](docs/DefaultApi.md#get_regions_and_zones_api_v2_clouds_gcp_regions_and_zones_get) | **GET** /api/v2/clouds/gcp/regions_and_zones | Get Regions And Zones
|
247
245
|
*DefaultApi* | [**get_resource_notification_api_v2_resource_notifications_resource_notification_id_get**](docs/DefaultApi.md#get_resource_notification_api_v2_resource_notifications_resource_notification_id_get) | **GET** /api/v2/resource_notifications/{resource_notification_id} | Get Resource Notification
|
248
246
|
*DefaultApi* | [**get_resource_quota_api_v2_resource_quotas_resource_quota_id_get**](docs/DefaultApi.md#get_resource_quota_api_v2_resource_quotas_resource_quota_id_get) | **GET** /api/v2/resource_quotas/{resource_quota_id} | Get Resource Quota
|
247
|
+
*DefaultApi* | [**get_root_cause_api_v2_iknow_get**](docs/DefaultApi.md#get_root_cause_api_v2_iknow_get) | **GET** /api/v2/iknow/ | Get Root Cause
|
249
248
|
*DefaultApi* | [**get_runtime_env_logs_download_api_v2_logs_runtime_env_logs_download_session_id_get**](docs/DefaultApi.md#get_runtime_env_logs_download_api_v2_logs_runtime_env_logs_download_session_id_get) | **GET** /api/v2/logs/runtime_env_logs_download/{session_id} | Get Runtime Env Logs Download
|
250
249
|
*DefaultApi* | [**get_serve_logs_download_api_v2_logs_serve_logs_download_cluster_id_get**](docs/DefaultApi.md#get_serve_logs_download_api_v2_logs_serve_logs_download_cluster_id_get) | **GET** /api/v2/logs/serve_logs_download/{cluster_id} | Get Serve Logs Download
|
251
250
|
*DefaultApi* | [**get_service_api_v2_services_v2_service_id_get**](docs/DefaultApi.md#get_service_api_v2_services_v2_service_id_get) | **GET** /api/v2/services-v2/{service_id} | Get Service
|
@@ -301,6 +300,7 @@ Class | Method | HTTP request | Description
|
|
301
300
|
*DefaultApi* | [**list_instance_usage_budgets_api_v2_instance_usage_budgets_get**](docs/DefaultApi.md#list_instance_usage_budgets_api_v2_instance_usage_budgets_get) | **GET** /api/v2/instance_usage_budgets/ | List Instance Usage Budgets
|
302
301
|
*DefaultApi* | [**list_invitations_api_v2_organization_invitations_get**](docs/DefaultApi.md#list_invitations_api_v2_organization_invitations_get) | **GET** /api/v2/organization_invitations/ | List Invitations
|
303
302
|
*DefaultApi* | [**list_job_queues_api_v2_job_queues_post**](docs/DefaultApi.md#list_job_queues_api_v2_job_queues_post) | **POST** /api/v2/job_queues/ | List Job Queues
|
303
|
+
*DefaultApi* | [**list_job_reports_api_v2_job_reports_get**](docs/DefaultApi.md#list_job_reports_api_v2_job_reports_get) | **GET** /api/v2/job_reports/ | List Job Reports
|
304
304
|
*DefaultApi* | [**list_job_states_api_v2_decorated_ha_job_states_get**](docs/DefaultApi.md#list_job_states_api_v2_decorated_ha_job_states_get) | **GET** /api/v2/decorated_ha_job_states/ | List Job States
|
305
305
|
*DefaultApi* | [**list_jobs_api_v2_decorated_unified_jobs_get**](docs/DefaultApi.md#list_jobs_api_v2_decorated_unified_jobs_get) | **GET** /api/v2/decorated_unified_jobs/ | List Jobs
|
306
306
|
*DefaultApi* | [**list_long_running_workloads_api_v2_decorated_sessions_long_running_workloads_get**](docs/DefaultApi.md#list_long_running_workloads_api_v2_decorated_sessions_long_running_workloads_get) | **GET** /api/v2/decorated_sessions/long-running-workloads | List Long Running Workloads
|
@@ -312,6 +312,7 @@ Class | Method | HTTP request | Description
|
|
312
312
|
*DefaultApi* | [**list_organization_project_collaborators_api_v2_projects_project_id_collaborators_organizations_get**](docs/DefaultApi.md#list_organization_project_collaborators_api_v2_projects_project_id_collaborators_organizations_get) | **GET** /api/v2/projects/{project_id}/collaborators/organizations | List Organization Project Collaborators
|
313
313
|
*DefaultApi* | [**list_project_collaborators_api_v2_projects_project_id_collaborators_users_get**](docs/DefaultApi.md#list_project_collaborators_api_v2_projects_project_id_collaborators_users_get) | **GET** /api/v2/projects/{project_id}/collaborators/users | List Project Collaborators
|
314
314
|
*DefaultApi* | [**list_projects_api_v2_projects_get**](docs/DefaultApi.md#list_projects_api_v2_projects_get) | **GET** /api/v2/projects/ | List Projects
|
315
|
+
*DefaultApi* | [**list_ray_sessions_api_v2_tasks_dashboard_list_ray_sessions_get**](docs/DefaultApi.md#list_ray_sessions_api_v2_tasks_dashboard_list_ray_sessions_get) | **GET** /api/v2/tasks_dashboard/list_ray_sessions | List Ray Sessions
|
315
316
|
*DefaultApi* | [**list_services_api_v2_services_v2_get**](docs/DefaultApi.md#list_services_api_v2_services_v2_get) | **GET** /api/v2/services-v2/ | List Services
|
316
317
|
*DefaultApi* | [**list_sessions_api_v2_sessions_get**](docs/DefaultApi.md#list_sessions_api_v2_sessions_get) | **GET** /api/v2/sessions/ | List Sessions
|
317
318
|
*DefaultApi* | [**list_web_terminals_api_v2_sessions_session_id_web_terminals_get**](docs/DefaultApi.md#list_web_terminals_api_v2_sessions_session_id_web_terminals_get) | **GET** /api/v2/sessions/{session_id}/web_terminals | List Web Terminals
|
@@ -430,7 +431,6 @@ Class | Method | HTTP request | Description
|
|
430
431
|
- [ArchivedlogsinfoResponse](docs/ArchivedlogsinfoResponse.md)
|
431
432
|
- [AttachMachinePoolToCloudRequest](docs/AttachMachinePoolToCloudRequest.md)
|
432
433
|
- [AttachmachinepooltocloudresponseResponse](docs/AttachmachinepooltocloudresponseResponse.md)
|
433
|
-
- [AviaryModelConfigV2](docs/AviaryModelConfigV2.md)
|
434
434
|
- [AwsRegionAndZones](docs/AwsRegionAndZones.md)
|
435
435
|
- [AwsRegionInfo](docs/AwsRegionInfo.md)
|
436
436
|
- [AwsregionandzonesResponse](docs/AwsregionandzonesResponse.md)
|
@@ -665,7 +665,6 @@ Class | Method | HTTP request | Description
|
|
665
665
|
- [FineTunedModel](docs/FineTunedModel.md)
|
666
666
|
- [FinetunedmodelListResponse](docs/FinetunedmodelListResponse.md)
|
667
667
|
- [FinetunedmodelResponse](docs/FinetunedmodelResponse.md)
|
668
|
-
- [FinishFTJobRequestV2](docs/FinishFTJobRequestV2.md)
|
669
668
|
- [GCPFileStoreConfig](docs/GCPFileStoreConfig.md)
|
670
669
|
- [GCPMemorystoreInstanceConfig](docs/GCPMemorystoreInstanceConfig.md)
|
671
670
|
- [GrafanaDashboard](docs/GrafanaDashboard.md)
|
@@ -681,6 +680,8 @@ Class | Method | HTTP request | Description
|
|
681
680
|
- [HeadIp](docs/HeadIp.md)
|
682
681
|
- [HeadipResponse](docs/HeadipResponse.md)
|
683
682
|
- [HttpProtocolConfig](docs/HttpProtocolConfig.md)
|
683
|
+
- [IKnowResponse](docs/IKnowResponse.md)
|
684
|
+
- [IKnowTimeSeriesEvent](docs/IKnowTimeSeriesEvent.md)
|
684
685
|
- [IdleTerminationStatus](docs/IdleTerminationStatus.md)
|
685
686
|
- [InstanceUsageBudget](docs/InstanceUsageBudget.md)
|
686
687
|
- [InstanceUsageBudgetEvaluationPeriod](docs/InstanceUsageBudgetEvaluationPeriod.md)
|
@@ -701,10 +702,13 @@ Class | Method | HTTP request | Description
|
|
701
702
|
- [JobQueueSpec](docs/JobQueueSpec.md)
|
702
703
|
- [JobQueueState](docs/JobQueueState.md)
|
703
704
|
- [JobQueuesQuery](docs/JobQueuesQuery.md)
|
705
|
+
- [JobReport](docs/JobReport.md)
|
704
706
|
- [JobRunType](docs/JobRunType.md)
|
705
707
|
- [JobStateLogLevelTypes](docs/JobStateLogLevelTypes.md)
|
708
|
+
- [JobWithReport](docs/JobWithReport.md)
|
706
709
|
- [JobqueueResponse](docs/JobqueueResponse.md)
|
707
710
|
- [JobsSortField](docs/JobsSortField.md)
|
711
|
+
- [JobwithreportListResponse](docs/JobwithreportListResponse.md)
|
708
712
|
- [JsonPatchOperation](docs/JsonPatchOperation.md)
|
709
713
|
- [KubernetesManagerRegistrationRequest](docs/KubernetesManagerRegistrationRequest.md)
|
710
714
|
- [KubernetesManagerRegistrationResponse](docs/KubernetesManagerRegistrationResponse.md)
|
@@ -713,11 +717,13 @@ Class | Method | HTTP request | Description
|
|
713
717
|
- [LbresourceResponse](docs/LbresourceResponse.md)
|
714
718
|
- [ListMachinePoolsResponse](docs/ListMachinePoolsResponse.md)
|
715
719
|
- [ListMachinesResponse](docs/ListMachinesResponse.md)
|
720
|
+
- [ListRaySessionsResponse](docs/ListRaySessionsResponse.md)
|
716
721
|
- [ListResourceNotificationsQuery](docs/ListResourceNotificationsQuery.md)
|
717
722
|
- [ListResourceQuotasQuery](docs/ListResourceQuotasQuery.md)
|
718
723
|
- [ListResponseMetadata](docs/ListResponseMetadata.md)
|
719
724
|
- [ListmachinepoolsresponseResponse](docs/ListmachinepoolsresponseResponse.md)
|
720
725
|
- [ListmachinesresponseResponse](docs/ListmachinesresponseResponse.md)
|
726
|
+
- [ListraysessionsresponseResponse](docs/ListraysessionsresponseResponse.md)
|
721
727
|
- [LogDownloadConfig](docs/LogDownloadConfig.md)
|
722
728
|
- [LogDownloadRequest](docs/LogDownloadRequest.md)
|
723
729
|
- [LogDownloadResult](docs/LogDownloadResult.md)
|
@@ -802,9 +808,7 @@ Class | Method | HTTP request | Description
|
|
802
808
|
- [PageQuery](docs/PageQuery.md)
|
803
809
|
- [PauseSchedule](docs/PauseSchedule.md)
|
804
810
|
- [PermissionLevel](docs/PermissionLevel.md)
|
805
|
-
- [ProductAutoscalerFlag](docs/ProductAutoscalerFlag.md)
|
806
811
|
- [ProductType](docs/ProductType.md)
|
807
|
-
- [ProductautoscalerflagResponse](docs/ProductautoscalerflagResponse.md)
|
808
812
|
- [ProductionJob](docs/ProductionJob.md)
|
809
813
|
- [ProductionJobConfig](docs/ProductionJobConfig.md)
|
810
814
|
- [ProductionJobEvent](docs/ProductionJobEvent.md)
|
@@ -828,6 +832,7 @@ Class | Method | HTTP request | Description
|
|
828
832
|
- [Quota](docs/Quota.md)
|
829
833
|
- [RayGCSExternalStorageConfig](docs/RayGCSExternalStorageConfig.md)
|
830
834
|
- [RayRuntimeEnvConfig](docs/RayRuntimeEnvConfig.md)
|
835
|
+
- [RaySession](docs/RaySession.md)
|
831
836
|
- [ReadBillingVersion](docs/ReadBillingVersion.md)
|
832
837
|
- [ReadbillingversionListResponse](docs/ReadbillingversionListResponse.md)
|
833
838
|
- [ReplicaDetails](docs/ReplicaDetails.md)
|
@@ -61,7 +61,6 @@ from openapi_client.models.archived_logs_info import ArchivedLogsInfo
|
|
61
61
|
from openapi_client.models.archivedlogsinfo_response import ArchivedlogsinfoResponse
|
62
62
|
from openapi_client.models.attach_machine_pool_to_cloud_request import AttachMachinePoolToCloudRequest
|
63
63
|
from openapi_client.models.attachmachinepooltocloudresponse_response import AttachmachinepooltocloudresponseResponse
|
64
|
-
from openapi_client.models.aviary_model_config_v2 import AviaryModelConfigV2
|
65
64
|
from openapi_client.models.aws_region_and_zones import AwsRegionAndZones
|
66
65
|
from openapi_client.models.aws_region_info import AwsRegionInfo
|
67
66
|
from openapi_client.models.awsregionandzones_response import AwsregionandzonesResponse
|
@@ -296,7 +295,6 @@ from openapi_client.models.fine_tune_type import FineTuneType
|
|
296
295
|
from openapi_client.models.fine_tuned_model import FineTunedModel
|
297
296
|
from openapi_client.models.finetunedmodel_list_response import FinetunedmodelListResponse
|
298
297
|
from openapi_client.models.finetunedmodel_response import FinetunedmodelResponse
|
299
|
-
from openapi_client.models.finish_ft_job_request_v2 import FinishFTJobRequestV2
|
300
298
|
from openapi_client.models.gcp_file_store_config import GCPFileStoreConfig
|
301
299
|
from openapi_client.models.gcp_memorystore_instance_config import GCPMemorystoreInstanceConfig
|
302
300
|
from openapi_client.models.grafana_dashboard import GrafanaDashboard
|
@@ -312,6 +310,8 @@ from openapi_client.models.ha_jobs_sort_field import HaJobsSortField
|
|
312
310
|
from openapi_client.models.head_ip import HeadIp
|
313
311
|
from openapi_client.models.headip_response import HeadipResponse
|
314
312
|
from openapi_client.models.http_protocol_config import HttpProtocolConfig
|
313
|
+
from openapi_client.models.i_know_response import IKnowResponse
|
314
|
+
from openapi_client.models.i_know_time_series_event import IKnowTimeSeriesEvent
|
315
315
|
from openapi_client.models.idle_termination_status import IdleTerminationStatus
|
316
316
|
from openapi_client.models.instance_usage_budget import InstanceUsageBudget
|
317
317
|
from openapi_client.models.instance_usage_budget_evaluation_period import InstanceUsageBudgetEvaluationPeriod
|
@@ -332,10 +332,13 @@ from openapi_client.models.job_queue_execution_mode import JobQueueExecutionMode
|
|
332
332
|
from openapi_client.models.job_queue_spec import JobQueueSpec
|
333
333
|
from openapi_client.models.job_queue_state import JobQueueState
|
334
334
|
from openapi_client.models.job_queues_query import JobQueuesQuery
|
335
|
+
from openapi_client.models.job_report import JobReport
|
335
336
|
from openapi_client.models.job_run_type import JobRunType
|
336
337
|
from openapi_client.models.job_state_log_level_types import JobStateLogLevelTypes
|
338
|
+
from openapi_client.models.job_with_report import JobWithReport
|
337
339
|
from openapi_client.models.jobqueue_response import JobqueueResponse
|
338
340
|
from openapi_client.models.jobs_sort_field import JobsSortField
|
341
|
+
from openapi_client.models.jobwithreport_list_response import JobwithreportListResponse
|
339
342
|
from openapi_client.models.json_patch_operation import JsonPatchOperation
|
340
343
|
from openapi_client.models.kubernetes_manager_registration_request import KubernetesManagerRegistrationRequest
|
341
344
|
from openapi_client.models.kubernetes_manager_registration_response import KubernetesManagerRegistrationResponse
|
@@ -344,11 +347,13 @@ from openapi_client.models.lb_resource import LBResource
|
|
344
347
|
from openapi_client.models.lbresource_response import LbresourceResponse
|
345
348
|
from openapi_client.models.list_machine_pools_response import ListMachinePoolsResponse
|
346
349
|
from openapi_client.models.list_machines_response import ListMachinesResponse
|
350
|
+
from openapi_client.models.list_ray_sessions_response import ListRaySessionsResponse
|
347
351
|
from openapi_client.models.list_resource_notifications_query import ListResourceNotificationsQuery
|
348
352
|
from openapi_client.models.list_resource_quotas_query import ListResourceQuotasQuery
|
349
353
|
from openapi_client.models.list_response_metadata import ListResponseMetadata
|
350
354
|
from openapi_client.models.listmachinepoolsresponse_response import ListmachinepoolsresponseResponse
|
351
355
|
from openapi_client.models.listmachinesresponse_response import ListmachinesresponseResponse
|
356
|
+
from openapi_client.models.listraysessionsresponse_response import ListraysessionsresponseResponse
|
352
357
|
from openapi_client.models.log_download_config import LogDownloadConfig
|
353
358
|
from openapi_client.models.log_download_request import LogDownloadRequest
|
354
359
|
from openapi_client.models.log_download_result import LogDownloadResult
|
@@ -433,9 +438,7 @@ from openapi_client.models.organizationusagealert_list_response import Organizat
|
|
433
438
|
from openapi_client.models.page_query import PageQuery
|
434
439
|
from openapi_client.models.pause_schedule import PauseSchedule
|
435
440
|
from openapi_client.models.permission_level import PermissionLevel
|
436
|
-
from openapi_client.models.product_autoscaler_flag import ProductAutoscalerFlag
|
437
441
|
from openapi_client.models.product_type import ProductType
|
438
|
-
from openapi_client.models.productautoscalerflag_response import ProductautoscalerflagResponse
|
439
442
|
from openapi_client.models.production_job import ProductionJob
|
440
443
|
from openapi_client.models.production_job_config import ProductionJobConfig
|
441
444
|
from openapi_client.models.production_job_event import ProductionJobEvent
|
@@ -459,6 +462,7 @@ from openapi_client.models.python_modules import PythonModules
|
|
459
462
|
from openapi_client.models.quota import Quota
|
460
463
|
from openapi_client.models.ray_gcs_external_storage_config import RayGCSExternalStorageConfig
|
461
464
|
from openapi_client.models.ray_runtime_env_config import RayRuntimeEnvConfig
|
465
|
+
from openapi_client.models.ray_session import RaySession
|
462
466
|
from openapi_client.models.read_billing_version import ReadBillingVersion
|
463
467
|
from openapi_client.models.readbillingversion_list_response import ReadbillingversionListResponse
|
464
468
|
from openapi_client.models.replica_details import ReplicaDetails
|