anyscale 0.26.28__py3-none-any.whl → 0.26.30__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/__init__.py +10 -0
- anyscale/_private/anyscale_client/anyscale_client.py +69 -0
- anyscale/_private/anyscale_client/common.py +38 -0
- anyscale/_private/anyscale_client/fake_anyscale_client.py +11 -0
- anyscale/_private/docgen/__main__.py +4 -18
- anyscale/_private/docgen/api.md +0 -125
- anyscale/_private/docgen/models.md +0 -111
- anyscale/client/README.md +0 -6
- anyscale/client/openapi_client/__init__.py +0 -4
- anyscale/client/openapi_client/api/default_api.py +0 -228
- anyscale/client/openapi_client/models/__init__.py +0 -4
- anyscale/client/openapi_client/models/workload_info.py +59 -3
- anyscale/commands/command_examples.py +10 -0
- anyscale/commands/job_queue_commands.py +295 -104
- anyscale/commands/list_util.py +14 -1
- anyscale/commands/machine_pool_commands.py +25 -11
- anyscale/commands/service_commands.py +10 -14
- anyscale/commands/workspace_commands_v2.py +462 -25
- anyscale/controllers/job_controller.py +5 -210
- anyscale/job_queue/__init__.py +89 -0
- anyscale/job_queue/_private/job_queue_sdk.py +158 -0
- anyscale/job_queue/commands.py +130 -0
- anyscale/job_queue/models.py +284 -0
- anyscale/scripts.py +1 -1
- anyscale/sdk/anyscale_client/__init__.py +0 -11
- anyscale/sdk/anyscale_client/api/default_api.py +140 -1433
- anyscale/sdk/anyscale_client/models/__init__.py +0 -11
- anyscale/service/__init__.py +4 -1
- anyscale/service/_private/service_sdk.py +5 -0
- anyscale/service/commands.py +4 -2
- anyscale/utils/ssh_websocket_proxy.py +178 -0
- anyscale/version.py +1 -1
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/METADATA +3 -1
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/RECORD +39 -49
- anyscale/client/openapi_client/models/serve_deployment_fast_api_docs_status.py +0 -123
- anyscale/client/openapi_client/models/servedeploymentfastapidocsstatus_response.py +0 -121
- anyscale/client/openapi_client/models/web_terminal.py +0 -121
- anyscale/client/openapi_client/models/webterminal_response.py +0 -121
- anyscale/sdk/anyscale_client/models/cluster_environment_build_log_response.py +0 -123
- anyscale/sdk/anyscale_client/models/clusterenvironmentbuildlogresponse_response.py +0 -121
- anyscale/sdk/anyscale_client/models/create_cloud.py +0 -518
- anyscale/sdk/anyscale_client/models/object_storage_config.py +0 -122
- anyscale/sdk/anyscale_client/models/object_storage_config_s3.py +0 -256
- anyscale/sdk/anyscale_client/models/objectstorageconfig_response.py +0 -121
- anyscale/sdk/anyscale_client/models/session_operation.py +0 -266
- anyscale/sdk/anyscale_client/models/session_operation_type.py +0 -101
- anyscale/sdk/anyscale_client/models/sessionoperation_response.py +0 -121
- anyscale/sdk/anyscale_client/models/update_cloud.py +0 -150
- anyscale/sdk/anyscale_client/models/update_project.py +0 -150
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/LICENSE +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/NOTICE +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/WHEEL +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.28.dist-info → anyscale-0.26.30.dist-info}/top_level.txt +0 -0
anyscale/__init__.py
CHANGED
@@ -25,6 +25,7 @@ from anyscale import (
|
|
25
25
|
image,
|
26
26
|
integrations,
|
27
27
|
job,
|
28
|
+
job_queue,
|
28
29
|
llm,
|
29
30
|
organization_invitation,
|
30
31
|
project,
|
@@ -46,6 +47,7 @@ from anyscale.compute_config import ComputeConfigSDK
|
|
46
47
|
from anyscale.connect import ClientBuilder
|
47
48
|
from anyscale.image import ImageSDK
|
48
49
|
from anyscale.job import JobSDK
|
50
|
+
from anyscale.job_queue import JobQueueSDK
|
49
51
|
from anyscale.llm import LLMSDK
|
50
52
|
from anyscale.organization_invitation import OrganizationInvitationSDK
|
51
53
|
from anyscale.project import ProjectSDK
|
@@ -119,6 +121,7 @@ class Anyscale:
|
|
119
121
|
client=self._anyscale_client
|
120
122
|
)
|
121
123
|
self._job_sdk = JobSDK(client=self._anyscale_client)
|
124
|
+
self._job_queue_sdk = JobQueueSDK(client=self._anyscale_client)
|
122
125
|
self._service_sdk = ServiceSDK(client=self._anyscale_client)
|
123
126
|
self._compute_config_sdk = ComputeConfigSDK(client=self._anyscale_client)
|
124
127
|
self._cloud_sdk = CloudSDK(client=self._anyscale_client)
|
@@ -146,6 +149,9 @@ class Anyscale:
|
|
146
149
|
client=client, logger=logger, timer=timer
|
147
150
|
)
|
148
151
|
obj._job_sdk = JobSDK(client=client, logger=logger, timer=timer) # noqa: SLF001
|
152
|
+
obj._job_queue_sdk = JobQueueSDK( # noqa: SLF001
|
153
|
+
client=client, logger=logger, timer=timer
|
154
|
+
)
|
149
155
|
obj._service_sdk = ServiceSDK( # noqa: SLF001
|
150
156
|
client=client, logger=logger, timer=timer
|
151
157
|
)
|
@@ -187,6 +193,10 @@ class Anyscale:
|
|
187
193
|
def job(self) -> JobSDK: # noqa: F811
|
188
194
|
return self._job_sdk
|
189
195
|
|
196
|
+
@property
|
197
|
+
def job_queue(self) -> JobQueueSDK: # noqa: F811
|
198
|
+
return self._job_queue_sdk
|
199
|
+
|
190
200
|
@property
|
191
201
|
def service(self) -> ServiceSDK: # noqa: F811
|
192
202
|
return self._service_sdk
|
@@ -60,6 +60,7 @@ from anyscale.client.openapi_client.models import (
|
|
60
60
|
Dataset as InternalDataset,
|
61
61
|
DatasetUpload,
|
62
62
|
DecoratedComputeTemplate,
|
63
|
+
DecoratedjobqueueListResponse,
|
63
64
|
DecoratedlistserviceapimodelListResponse,
|
64
65
|
DecoratedProductionServiceV2APIModel,
|
65
66
|
DecoratedSession,
|
@@ -68,6 +69,8 @@ from anyscale.client.openapi_client.models import (
|
|
68
69
|
FineTunedModel,
|
69
70
|
FinetunedmodelListResponse,
|
70
71
|
InternalProductionJob,
|
72
|
+
JobQueueSortDirective,
|
73
|
+
JobQueuesQuery,
|
71
74
|
ListResourceQuotasQuery,
|
72
75
|
OrganizationCollaborator,
|
73
76
|
OrganizationInvitation,
|
@@ -75,13 +78,18 @@ from anyscale.client.openapi_client.models import (
|
|
75
78
|
ResourceQuotaStatus,
|
76
79
|
ServerSessionToken,
|
77
80
|
SessionSshKey,
|
81
|
+
SessionState,
|
78
82
|
StartSessionOptions,
|
79
83
|
StopSessionOptions,
|
80
84
|
WorkspaceDataplaneProxiedArtifacts,
|
81
85
|
)
|
82
86
|
from anyscale.client.openapi_client.models.create_schedule import CreateSchedule
|
87
|
+
from anyscale.client.openapi_client.models.decorated_job_queue import DecoratedJobQueue
|
83
88
|
from anyscale.client.openapi_client.models.decorated_schedule import DecoratedSchedule
|
84
89
|
from anyscale.client.openapi_client.models.production_job import ProductionJob
|
90
|
+
from anyscale.client.openapi_client.models.update_job_queue_request import (
|
91
|
+
UpdateJobQueueRequest,
|
92
|
+
)
|
85
93
|
from anyscale.client.openapi_client.rest import ApiException as InternalApiException
|
86
94
|
from anyscale.cluster_compute import parse_cluster_compute_name_version
|
87
95
|
from anyscale.feature_flags import FLAG_DEFAULT_WORKING_DIR_FOR_PROJ
|
@@ -1154,6 +1162,67 @@ class AnyscaleClient(AnyscaleClientInterface):
|
|
1154
1162
|
)
|
1155
1163
|
return job_runs
|
1156
1164
|
|
1165
|
+
@handle_api_exceptions
|
1166
|
+
def get_job_queue(self, job_queue_id: str) -> Optional[DecoratedJobQueue]:
|
1167
|
+
try:
|
1168
|
+
return self._internal_api_client.get_job_queue_api_v2_job_queues_job_queue_id_get(
|
1169
|
+
job_queue_id
|
1170
|
+
).result
|
1171
|
+
except InternalApiException as e:
|
1172
|
+
if e.status == 404:
|
1173
|
+
return None
|
1174
|
+
|
1175
|
+
raise e from None
|
1176
|
+
|
1177
|
+
@handle_api_exceptions
|
1178
|
+
def update_job_queue(
|
1179
|
+
self,
|
1180
|
+
job_queue_id: str,
|
1181
|
+
max_concurrency: Optional[int] = None,
|
1182
|
+
idle_timeout_s: Optional[int] = None,
|
1183
|
+
) -> DecoratedJobQueue:
|
1184
|
+
if max_concurrency is None and idle_timeout_s is None:
|
1185
|
+
raise ValueError("No fields to update")
|
1186
|
+
|
1187
|
+
return self._internal_api_client.update_job_queue_api_v2_job_queues_job_queue_id_put(
|
1188
|
+
job_queue_id,
|
1189
|
+
update_job_queue_request=UpdateJobQueueRequest(
|
1190
|
+
max_concurrency=max_concurrency, idle_timeout_sec=idle_timeout_s,
|
1191
|
+
),
|
1192
|
+
).result
|
1193
|
+
|
1194
|
+
@handle_api_exceptions
|
1195
|
+
def list_job_queues(
|
1196
|
+
self,
|
1197
|
+
*,
|
1198
|
+
name: Optional[str] = None,
|
1199
|
+
creator_id: Optional[str] = None,
|
1200
|
+
cluster_status: Optional[SessionState] = None,
|
1201
|
+
project: Optional[str] = None,
|
1202
|
+
cloud: Optional[str] = None,
|
1203
|
+
count: Optional[int] = None,
|
1204
|
+
paging_token: Optional[str] = None,
|
1205
|
+
sorting_directives: Optional[List[JobQueueSortDirective]] = None,
|
1206
|
+
) -> DecoratedjobqueueListResponse:
|
1207
|
+
cloud_id = self.get_cloud_id(cloud_name=cloud) if cloud else None
|
1208
|
+
project_id = (
|
1209
|
+
self.get_project_id(parent_cloud_id=cloud_id, name=project)
|
1210
|
+
if project
|
1211
|
+
else None
|
1212
|
+
)
|
1213
|
+
|
1214
|
+
return self._internal_api_client.list_job_queues_api_v2_job_queues_post(
|
1215
|
+
job_queues_query=JobQueuesQuery(
|
1216
|
+
name=name,
|
1217
|
+
creator_id=creator_id,
|
1218
|
+
cluster_status=cluster_status,
|
1219
|
+
project_id=project_id,
|
1220
|
+
cloud_id=cloud_id,
|
1221
|
+
paging=PageQuery(count=count, paging_token=paging_token),
|
1222
|
+
sorting_directives=sorting_directives,
|
1223
|
+
),
|
1224
|
+
)
|
1225
|
+
|
1157
1226
|
@handle_api_exceptions
|
1158
1227
|
def rollout_service(
|
1159
1228
|
self, model: ApplyProductionServiceV2Model
|
@@ -15,19 +15,23 @@ from anyscale.client.openapi_client.models import (
|
|
15
15
|
CreateResourceQuota,
|
16
16
|
CreateUserProjectCollaborator,
|
17
17
|
DecoratedComputeTemplate,
|
18
|
+
DecoratedjobqueueListResponse,
|
18
19
|
DecoratedlistserviceapimodelListResponse,
|
19
20
|
DecoratedProductionServiceV2APIModel,
|
20
21
|
DeletedPlatformFineTunedModel,
|
21
22
|
FineTunedModel,
|
22
23
|
InternalProductionJob,
|
24
|
+
JobQueueSortDirective,
|
23
25
|
OrganizationCollaborator,
|
24
26
|
OrganizationInvitation,
|
25
27
|
Project,
|
26
28
|
ResourceQuota,
|
27
29
|
ServerSessionToken,
|
30
|
+
SessionState,
|
28
31
|
WorkspaceDataplaneProxiedArtifacts,
|
29
32
|
)
|
30
33
|
from anyscale.client.openapi_client.models.create_schedule import CreateSchedule
|
34
|
+
from anyscale.client.openapi_client.models.decorated_job_queue import DecoratedJobQueue
|
31
35
|
from anyscale.client.openapi_client.models.decorated_schedule import DecoratedSchedule
|
32
36
|
from anyscale.client.openapi_client.models.decorated_session import DecoratedSession
|
33
37
|
from anyscale.client.openapi_client.models.production_job import ProductionJob
|
@@ -366,6 +370,24 @@ class AnyscaleClientInterface(ABC):
|
|
366
370
|
"""
|
367
371
|
raise NotImplementedError
|
368
372
|
|
373
|
+
@abstractmethod
|
374
|
+
def get_job_queue(self, job_queue_id: str) -> Optional[DecoratedJobQueue]:
|
375
|
+
"""Get a job queue by id.
|
376
|
+
|
377
|
+
Returns None if not found.
|
378
|
+
"""
|
379
|
+
raise NotImplementedError
|
380
|
+
|
381
|
+
@abstractmethod
|
382
|
+
def update_job_queue(
|
383
|
+
self,
|
384
|
+
job_queue_id: str,
|
385
|
+
max_concurrency: Optional[int] = None,
|
386
|
+
idle_timeout_s: Optional[int] = None,
|
387
|
+
) -> DecoratedJobQueue:
|
388
|
+
"""Update a job queue."""
|
389
|
+
raise NotImplementedError
|
390
|
+
|
369
391
|
@abstractmethod
|
370
392
|
def get_job_runs(self, job_id: str) -> List[APIJobRun]:
|
371
393
|
"""Returns all job runs for a given job id.
|
@@ -374,6 +396,22 @@ class AnyscaleClientInterface(ABC):
|
|
374
396
|
"""
|
375
397
|
raise NotImplementedError
|
376
398
|
|
399
|
+
@abstractmethod
|
400
|
+
def list_job_queues(
|
401
|
+
self,
|
402
|
+
*,
|
403
|
+
name: Optional[str] = None,
|
404
|
+
creator_id: Optional[str] = None,
|
405
|
+
cluster_status: Optional[SessionState] = None,
|
406
|
+
project: Optional[str] = None,
|
407
|
+
cloud: Optional[str] = None,
|
408
|
+
count: Optional[int] = None,
|
409
|
+
paging_token: Optional[str] = None,
|
410
|
+
sorting_directives: Optional[List[JobQueueSortDirective]] = None,
|
411
|
+
) -> DecoratedjobqueueListResponse:
|
412
|
+
"""List job queues."""
|
413
|
+
raise NotImplementedError
|
414
|
+
|
377
415
|
@abstractmethod
|
378
416
|
def rollout_service(
|
379
417
|
self, model: ApplyProductionServiceV2Model
|
@@ -49,6 +49,7 @@ from anyscale.client.openapi_client.models import (
|
|
49
49
|
WorkspaceDataplaneProxiedArtifacts,
|
50
50
|
)
|
51
51
|
from anyscale.client.openapi_client.models.create_schedule import CreateSchedule
|
52
|
+
from anyscale.client.openapi_client.models.decorated_job_queue import DecoratedJobQueue
|
52
53
|
from anyscale.client.openapi_client.models.decorated_schedule import DecoratedSchedule
|
53
54
|
from anyscale.client.openapi_client.models.decorated_session import DecoratedSession
|
54
55
|
from anyscale.client.openapi_client.models.session_ssh_key import SessionSshKey
|
@@ -150,6 +151,7 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
150
151
|
self._deleted_services: Dict[str, DecoratedProductionServiceV2APIModel] = {}
|
151
152
|
self._jobs: Dict[str, ProductionJob] = {}
|
152
153
|
self._job_runs: Dict[str, List[APIJobRun]] = defaultdict(list)
|
154
|
+
self._job_queues: Dict[str, DecoratedJobQueue] = {}
|
153
155
|
self._project_to_id: Dict[Optional[str] : Dict[Optional[str], str]] = {}
|
154
156
|
self._project_collaborators: Dict[str, List[CreateUserProjectCollaborator]] = {}
|
155
157
|
self._rolled_out_model: Optional[ApplyProductionServiceV2Model] = None
|
@@ -702,6 +704,15 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
702
704
|
def update_job_run(self, prod_job_id: str, model: APIJobRun):
|
703
705
|
self._job_runs[prod_job_id].append(model)
|
704
706
|
|
707
|
+
def list_job_queues(self) -> List[DecoratedJobQueue]:
|
708
|
+
return list(self._job_queues.values())
|
709
|
+
|
710
|
+
def get_job_queue(self, job_queue_id: str) -> Optional[DecoratedJobQueue]:
|
711
|
+
return self._job_queues.get(job_queue_id, None)
|
712
|
+
|
713
|
+
def update_job_queue(self, model: DecoratedJobQueue):
|
714
|
+
self._job_queues[model.id] = model
|
715
|
+
|
705
716
|
def register_project_by_name(
|
706
717
|
self,
|
707
718
|
name: str,
|
@@ -119,7 +119,6 @@ ALL_MODULES = [
|
|
119
119
|
"get_default_project": None,
|
120
120
|
"get_project": None,
|
121
121
|
"search_projects": None,
|
122
|
-
"update_project": None,
|
123
122
|
},
|
124
123
|
legacy_sdk_models=[
|
125
124
|
"CreateProject",
|
@@ -127,7 +126,6 @@ ALL_MODULES = [
|
|
127
126
|
"ProjectListResponse",
|
128
127
|
"ProjectResponse",
|
129
128
|
"ProjectsQuery",
|
130
|
-
"UpdateProject",
|
131
129
|
],
|
132
130
|
),
|
133
131
|
Module(
|
@@ -167,7 +165,6 @@ ALL_MODULES = [
|
|
167
165
|
legacy_sdk_commands={
|
168
166
|
"create_job": anyscale.job.submit,
|
169
167
|
"get_production_job": anyscale.job.status,
|
170
|
-
"get_session_for_job": anyscale.job.status,
|
171
168
|
"terminate_job": anyscale.job.terminate,
|
172
169
|
"fetch_job_logs": anyscale.job.get_logs,
|
173
170
|
"fetch_production_job_logs": anyscale.job.get_logs,
|
@@ -392,31 +389,26 @@ ALL_MODULES = [
|
|
392
389
|
cluster_env_commands.list,
|
393
390
|
],
|
394
391
|
legacy_sdk_commands={
|
395
|
-
"get_cluster_environment_build_operation": None,
|
396
392
|
"create_byod_cluster_environment_build": anyscale.image.build,
|
397
393
|
"create_cluster_environment_build": anyscale.image.build,
|
398
394
|
"find_cluster_environment_build_by_identifier": None,
|
399
395
|
"get_cluster_environment_build": None,
|
400
|
-
"get_cluster_environment_build_logs": None,
|
401
396
|
"get_default_cluster_environment_build": None,
|
402
397
|
"list_cluster_environment_builds": None,
|
403
398
|
"create_byod_cluster_environment": anyscale.image.build,
|
404
399
|
"create_cluster_environment": anyscale.image.build,
|
405
|
-
"delete_cluster_environment": None,
|
406
400
|
"get_cluster_environment": None,
|
407
401
|
"search_cluster_environments": None,
|
408
402
|
},
|
409
403
|
legacy_sdk_models=[
|
410
404
|
"ClusterEnvironment",
|
411
405
|
"ClusterEnvironmentBuild",
|
412
|
-
"ClusterEnvironmentBuildLogResponse",
|
413
406
|
"ClusterEnvironmentBuildOperation",
|
414
407
|
"ClusterEnvironmentBuildStatus",
|
415
408
|
"ClusterEnvironmentsQuery",
|
416
409
|
"ClusterenvironmentListResponse",
|
417
410
|
"ClusterenvironmentResponse",
|
418
411
|
"ClusterenvironmentbuildListResponse",
|
419
|
-
"ClusterenvironmentbuildlogresponseResponse",
|
420
412
|
"ClusterenvironmentbuildoperationResponse",
|
421
413
|
"CreateBYODClusterEnvironment",
|
422
414
|
"CreateBYODClusterEnvironmentBuild",
|
@@ -461,12 +453,9 @@ ALL_MODULES = [
|
|
461
453
|
cli_command_group_prefix={cloud_commands.cloud_config_update: "config"},
|
462
454
|
legacy_sdk_commands={
|
463
455
|
# limited support, no replacement yet
|
464
|
-
"create_cloud": None,
|
465
|
-
"delete_cloud": None,
|
466
456
|
"get_cloud": None,
|
467
457
|
"get_default_cloud": None,
|
468
458
|
"search_clouds": None,
|
469
|
-
"update_cloud": None,
|
470
459
|
},
|
471
460
|
legacy_sdk_models=[
|
472
461
|
"Cloud",
|
@@ -479,8 +468,6 @@ ALL_MODULES = [
|
|
479
468
|
"CloudTypes",
|
480
469
|
"CloudVersion",
|
481
470
|
"CloudsQuery",
|
482
|
-
"CreateCloud",
|
483
|
-
"UpdateCloud",
|
484
471
|
],
|
485
472
|
),
|
486
473
|
Module(
|
@@ -540,8 +527,12 @@ ALL_MODULES = [
|
|
540
527
|
cli_prefix="anyscale machine-pool",
|
541
528
|
cli_commands=[
|
542
529
|
machine_pool_commands.create_machine_pool,
|
530
|
+
machine_pool_commands.update_machine_pool,
|
543
531
|
machine_pool_commands.delete_machine_pool,
|
532
|
+
machine_pool_commands.attach_machine_pool_to_cloud,
|
533
|
+
machine_pool_commands.detach_machine_pool_from_cloud,
|
544
534
|
machine_pool_commands.list_machine_pools,
|
535
|
+
machine_pool_commands.describe,
|
545
536
|
],
|
546
537
|
sdk_prefix="anyscale.machine_pool",
|
547
538
|
sdk_commands=[],
|
@@ -560,7 +551,6 @@ ALL_MODULES = [
|
|
560
551
|
legacy_sdk_commands={
|
561
552
|
"launch_cluster": None,
|
562
553
|
"launch_cluster_with_new_cluster_environment": None,
|
563
|
-
"archive_cluster": None,
|
564
554
|
"create_cluster": None,
|
565
555
|
"delete_cluster": None,
|
566
556
|
"get_cluster": None,
|
@@ -678,7 +668,6 @@ ALL_MODULES = [
|
|
678
668
|
machine_commands.list_machines,
|
679
669
|
],
|
680
670
|
legacy_sdk_commands={
|
681
|
-
"get_organization_temporary_object_storage_credentials": None,
|
682
671
|
"partial_update_organization": None,
|
683
672
|
"upsert_sso_config": None,
|
684
673
|
"upsert_test_sso_config": None,
|
@@ -698,9 +687,6 @@ ALL_MODULES = [
|
|
698
687
|
"IdleTerminationStatus",
|
699
688
|
"ListResponseMetadata",
|
700
689
|
"NodeType",
|
701
|
-
"ObjectStorageConfig",
|
702
|
-
"ObjectStorageConfigS3",
|
703
|
-
"ObjectstorageconfigResponse",
|
704
690
|
"OperationError",
|
705
691
|
"OperationProgress",
|
706
692
|
"OperationResult",
|
anyscale/_private/docgen/api.md
CHANGED
@@ -244,30 +244,6 @@ result = thread.get()
|
|
244
244
|
|
245
245
|
## Clouds
|
246
246
|
|
247
|
-
### create_cloud
|
248
|
-
|
249
|
-
Creates a Cloud.
|
250
|
-
|
251
|
-
Parameters
|
252
|
-
|
253
|
-
Name | Type | Description | Notes
|
254
|
-
------------- | ------------- | ------------- | -------------
|
255
|
-
`create_cloud` | [CreateCloud](./models.md#createcloud)| |
|
256
|
-
|
257
|
-
Returns [CloudResponse](./models.md#cloudresponse)
|
258
|
-
|
259
|
-
### delete_cloud
|
260
|
-
|
261
|
-
Deletes a Cloud. Will delete all clusters that are using this cloud. If any of those clusters are not terminated, this call will fail.
|
262
|
-
|
263
|
-
Parameters
|
264
|
-
|
265
|
-
Name | Type | Description | Notes
|
266
|
-
------------- | ------------- | ------------- | -------------
|
267
|
-
`cloud_id` | str| ID of the Cloud to delete. | Defaults to null
|
268
|
-
|
269
|
-
Returns void (empty response body)
|
270
|
-
|
271
247
|
### get_cloud
|
272
248
|
|
273
249
|
Retrieves a Cloud.
|
@@ -301,19 +277,6 @@ Name | Type | Description | Notes
|
|
301
277
|
|
302
278
|
Returns [CloudListResponse](./models.md#cloudlistresponse)
|
303
279
|
|
304
|
-
### update_cloud
|
305
|
-
|
306
|
-
Updates a Cloud.
|
307
|
-
|
308
|
-
Parameters
|
309
|
-
|
310
|
-
Name | Type | Description | Notes
|
311
|
-
------------- | ------------- | ------------- | -------------
|
312
|
-
`cloud_id` | str| ID of the Cloud to update. | Defaults to null
|
313
|
-
`update_cloud` | [UpdateCloud](./models.md#updatecloud)| |
|
314
|
-
|
315
|
-
Returns [CloudResponse](./models.md#cloudresponse)
|
316
|
-
|
317
280
|
## Cluster Computes
|
318
281
|
|
319
282
|
### create_cluster_compute
|
@@ -376,20 +339,6 @@ Name | Type | Description | Notes
|
|
376
339
|
|
377
340
|
Returns [ClustercomputeListResponse](./models.md#clustercomputelistresponse)
|
378
341
|
|
379
|
-
## Cluster Environment Build Operations
|
380
|
-
|
381
|
-
### get_cluster_environment_build_operation
|
382
|
-
|
383
|
-
Retrieves a Cluster Environment Build Operation.
|
384
|
-
|
385
|
-
Parameters
|
386
|
-
|
387
|
-
Name | Type | Description | Notes
|
388
|
-
------------- | ------------- | ------------- | -------------
|
389
|
-
`cluster_environment_build_operation_id` | str| ID of the Cluster Environment Build Operation to retrieve. | Defaults to null
|
390
|
-
|
391
|
-
Returns [ClusterenvironmentbuildoperationResponse](./models.md#clusterenvironmentbuildoperationresponse)
|
392
|
-
|
393
342
|
## Cluster Environment Builds
|
394
343
|
|
395
344
|
### create_byod_cluster_environment_build
|
@@ -440,18 +389,6 @@ Name | Type | Description | Notes
|
|
440
389
|
|
441
390
|
Returns [ClusterenvironmentbuildResponse](./models.md#clusterenvironmentbuildresponse)
|
442
391
|
|
443
|
-
### get_cluster_environment_build_logs
|
444
|
-
|
445
|
-
Retrieves logs for a Cluster Environment Build.
|
446
|
-
|
447
|
-
Parameters
|
448
|
-
|
449
|
-
Name | Type | Description | Notes
|
450
|
-
------------- | ------------- | ------------- | -------------
|
451
|
-
`cluster_environment_build_id` | str| ID of the Cluster Environment Build to retrieve logs for. | Defaults to null
|
452
|
-
|
453
|
-
Returns [ClusterenvironmentbuildlogresponseResponse](./models.md#clusterenvironmentbuildlogresponseresponse)
|
454
|
-
|
455
392
|
### get_default_cluster_environment_build
|
456
393
|
|
457
394
|
Retrieves a default cluster environment with the preferred attributes.
|
@@ -506,18 +443,6 @@ Name | Type | Description | Notes
|
|
506
443
|
|
507
444
|
Returns [ClusterenvironmentResponse](./models.md#clusterenvironmentresponse)
|
508
445
|
|
509
|
-
### delete_cluster_environment
|
510
|
-
|
511
|
-
Deletes a Cluster Environment.
|
512
|
-
|
513
|
-
Parameters
|
514
|
-
|
515
|
-
Name | Type | Description | Notes
|
516
|
-
------------- | ------------- | ------------- | -------------
|
517
|
-
`cluster_config_id` | str| ID of the Cluster Environment to delete. | Defaults to null
|
518
|
-
|
519
|
-
Returns void (empty response body)
|
520
|
-
|
521
446
|
### get_cluster_environment
|
522
447
|
|
523
448
|
Retrieves a Cluster Environment.
|
@@ -558,18 +483,6 @@ Returns [ClusteroperationResponse](./models.md#clusteroperationresponse)
|
|
558
483
|
|
559
484
|
## Clusters
|
560
485
|
|
561
|
-
### archive_cluster
|
562
|
-
|
563
|
-
Archives the cluster. It is a no-op if the cluster is already archived.
|
564
|
-
|
565
|
-
Parameters
|
566
|
-
|
567
|
-
Name | Type | Description | Notes
|
568
|
-
------------- | ------------- | ------------- | -------------
|
569
|
-
`cluster_id` | str| | Defaults to null
|
570
|
-
|
571
|
-
Returns void (empty response body)
|
572
|
-
|
573
486
|
### create_cluster
|
574
487
|
|
575
488
|
Creates a Cluster.
|
@@ -700,19 +613,6 @@ Returns [LogstreamResponse](./models.md#logstreamresponse)
|
|
700
613
|
|
701
614
|
## Organizations
|
702
615
|
|
703
|
-
### get_organization_temporary_object_storage_credentials
|
704
|
-
|
705
|
-
Retrieves temporary object storage config and credentials scoped to an organization and region.
|
706
|
-
|
707
|
-
Parameters
|
708
|
-
|
709
|
-
Name | Type | Description | Notes
|
710
|
-
------------- | ------------- | ------------- | -------------
|
711
|
-
`organization_id` | str| | Defaults to null
|
712
|
-
`region` | str| | Defaults to null
|
713
|
-
|
714
|
-
Returns [ObjectstorageconfigResponse](./models.md#objectstorageconfigresponse)
|
715
|
-
|
716
616
|
### partial_update_organization
|
717
617
|
|
718
618
|
Update an organization's requirement for Single Sign On (SSO). If SSO is required for an organization, SSO will be the only way to log in to it.
|
@@ -752,18 +652,6 @@ Name | Type | Description | Notes
|
|
752
652
|
|
753
653
|
Returns [ProductionjobResponse](./models.md#productionjobresponse)
|
754
654
|
|
755
|
-
### get_session_for_job
|
756
|
-
|
757
|
-
Get Session for Production Job
|
758
|
-
|
759
|
-
Parameters
|
760
|
-
|
761
|
-
Name | Type | Description | Notes
|
762
|
-
------------- | ------------- | ------------- | -------------
|
763
|
-
`production_job_id` | str| | Defaults to null
|
764
|
-
|
765
|
-
Returns [SessionResponse](./models.md#sessionresponse)
|
766
|
-
|
767
655
|
### list_production_jobs
|
768
656
|
|
769
657
|
|
@@ -855,19 +743,6 @@ Name | Type | Description | Notes
|
|
855
743
|
|
856
744
|
Returns [ProjectListResponse](./models.md#projectlistresponse)
|
857
745
|
|
858
|
-
### update_project
|
859
|
-
|
860
|
-
Updates a Project.
|
861
|
-
|
862
|
-
Parameters
|
863
|
-
|
864
|
-
Name | Type | Description | Notes
|
865
|
-
------------- | ------------- | ------------- | -------------
|
866
|
-
`project_id` | str| ID of the Project to update. | Defaults to null
|
867
|
-
`update_project` | [UpdateProject](./models.md#updateproject)| |
|
868
|
-
|
869
|
-
Returns [ProjectResponse](./models.md#projectresponse)
|
870
|
-
|
871
746
|
## Schedules
|
872
747
|
|
873
748
|
### create_or_update_schedule
|