anyscale 0.24.88__py3-none-any.whl → 0.24.91__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 +46 -0
- anyscale/_private/anyscale_client/anyscale_client.py +148 -28
- anyscale/_private/anyscale_client/common.py +74 -1
- anyscale/_private/anyscale_client/fake_anyscale_client.py +165 -1
- anyscale/_private/docgen/README.md +1 -1
- anyscale/_private/docgen/__main__.py +62 -19
- anyscale/_private/docgen/api.md +0 -20
- anyscale/_private/docgen/generator.py +3 -2
- anyscale/_private/docgen/models.md +1 -46
- anyscale/_private/workload/workload_config.py +1 -1
- anyscale/aggregated_instance_usage/__init__.py +1 -1
- anyscale/aggregated_instance_usage/commands.py +2 -4
- anyscale/aggregated_instance_usage/models.py +8 -8
- anyscale/client/README.md +15 -22
- anyscale/client/openapi_client/__init__.py +10 -14
- anyscale/client/openapi_client/api/default_api.py +634 -957
- anyscale/client/openapi_client/models/__init__.py +10 -14
- anyscale/client/openapi_client/models/{session_event_types.py → cloud_deployment_config.py} +35 -24
- anyscale/client/openapi_client/models/{platformfinetuningjob_response.py → clouddeploymentconfig_response.py} +11 -11
- anyscale/client/openapi_client/models/{company_size.py → cluster_size.py} +10 -10
- anyscale/client/openapi_client/models/cluster_status_details.py +2 -1
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/{resubmit_ft_job_request.py → describe_machine_pool_request.py} +21 -20
- anyscale/client/openapi_client/models/describe_machine_pool_response.py +123 -0
- anyscale/client/openapi_client/models/{fine_tuning_job_status.py → describemachinepoolresponse_response.py} +34 -16
- anyscale/client/openapi_client/models/machine_allocation_state.py +3 -1
- anyscale/client/openapi_client/models/machine_state_info.py +326 -0
- anyscale/client/openapi_client/models/organization_marketing_questions.py +80 -54
- anyscale/client/openapi_client/models/request_state_info.py +210 -0
- anyscale/client/openapi_client/models/{sessionevent_list_response.py → scheduler_info.py} +43 -38
- anyscale/client/openapi_client/models/usage_by_cluster.py +28 -1
- anyscale/client/openapi_client/models/usage_by_user.py +30 -3
- anyscale/client/openapi_client/models/workload_info.py +210 -0
- anyscale/cloud/__init__.py +83 -0
- anyscale/cloud/_private/cloud_sdk.py +25 -0
- anyscale/cloud/commands.py +45 -0
- anyscale/cloud/models.py +91 -0
- anyscale/cluster_compute.py +1 -1
- anyscale/commands/aggregated_instance_usage_commands.py +4 -4
- anyscale/commands/cloud_commands.py +38 -2
- anyscale/commands/command_examples.py +61 -0
- anyscale/commands/job_commands.py +15 -3
- anyscale/commands/machine_pool_commands.py +113 -1
- anyscale/commands/organization_invitation_commands.py +98 -0
- anyscale/commands/project_commands.py +52 -2
- anyscale/commands/resource_quota_commands.py +98 -11
- anyscale/commands/service_commands.py +1 -1
- anyscale/commands/session_commands_hidden.py +5 -1
- anyscale/commands/user_commands.py +1 -1
- anyscale/commands/util.py +1 -1
- anyscale/commands/workspace_commands.py +1 -1
- anyscale/connect.py +1 -1
- anyscale/connect_utils/project.py +7 -4
- anyscale/controllers/cloud_controller.py +6 -6
- anyscale/controllers/cloud_functional_verification_controller.py +1 -1
- anyscale/controllers/cluster_controller.py +2 -2
- anyscale/controllers/compute_config_controller.py +1 -1
- anyscale/controllers/experimental_integrations_controller.py +1 -1
- anyscale/controllers/job_controller.py +8 -3
- anyscale/controllers/list_controller.py +2 -2
- anyscale/controllers/machine_pool_controller.py +12 -1
- anyscale/controllers/project_controller.py +4 -3
- anyscale/controllers/schedule_controller.py +1 -1
- anyscale/controllers/service_controller.py +1 -1
- anyscale/controllers/workspace_controller.py +1 -1
- anyscale/models/job_model.py +1 -1
- anyscale/organization_invitation/__init__.py +61 -0
- anyscale/organization_invitation/_private/organization_invitation_sdk.py +24 -0
- anyscale/organization_invitation/commands.py +84 -0
- anyscale/organization_invitation/models.py +45 -0
- anyscale/project/__init__.py +35 -0
- anyscale/project/_private/project_sdk.py +27 -0
- anyscale/project/commands.py +56 -0
- anyscale/project/models.py +91 -0
- anyscale/{project.py → project_utils.py} +3 -4
- anyscale/resource_quota/__init__.py +99 -0
- anyscale/resource_quota/_private/resource_quota_sdk.py +111 -0
- anyscale/resource_quota/commands.py +150 -0
- anyscale/resource_quota/models.py +303 -0
- anyscale/scripts.py +4 -0
- anyscale/sdk/anyscale_client/__init__.py +0 -5
- anyscale/sdk/anyscale_client/api/default_api.py +0 -150
- anyscale/sdk/anyscale_client/models/__init__.py +0 -5
- anyscale/sdk/anyscale_client/models/cluster_status_details.py +2 -1
- anyscale/sdk/anyscale_client/sdk.py +1 -1
- anyscale/user/__init__.py +1 -1
- anyscale/user/commands.py +1 -1
- anyscale/user/models.py +25 -15
- anyscale/util.py +15 -0
- anyscale/utils/cloud_utils.py +1 -1
- anyscale/version.py +1 -1
- anyscale/workspace_utils.py +1 -1
- {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/METADATA +1 -5
- {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/RECORD +100 -94
- anyscale/client/openapi_client/models/create_fine_tuning_hyperparameters.py +0 -156
- anyscale/client/openapi_client/models/create_fine_tuning_job_product_request.py +0 -353
- anyscale/client/openapi_client/models/finish_ft_job_request.py +0 -204
- anyscale/client/openapi_client/models/log_level_types.py +0 -100
- anyscale/client/openapi_client/models/platform_fine_tuning_job.py +0 -577
- anyscale/client/openapi_client/models/platformfinetuningjob_list_response.py +0 -147
- anyscale/client/openapi_client/models/session_event.py +0 -267
- anyscale/client/openapi_client/models/session_event_cause.py +0 -150
- anyscale/controllers/resource_quota_controller.py +0 -183
- anyscale/sdk/anyscale_client/models/log_level_types.py +0 -100
- anyscale/sdk/anyscale_client/models/session_event.py +0 -267
- anyscale/sdk/anyscale_client/models/session_event_cause.py +0 -150
- anyscale/sdk/anyscale_client/models/session_event_types.py +0 -111
- anyscale/sdk/anyscale_client/models/sessionevent_list_response.py +0 -147
- anyscale/utils/imports/azure.py +0 -14
- /anyscale/{cloud.py → cloud_utils.py} +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/LICENSE +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/NOTICE +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/WHEEL +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/entry_points.txt +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/top_level.txt +0 -0
|
@@ -10,6 +10,10 @@ import anyscale
|
|
|
10
10
|
from anyscale import scripts
|
|
11
11
|
from anyscale._private.docgen.generator import MarkdownGenerator, Module
|
|
12
12
|
from anyscale.aggregated_instance_usage.models import DownloadCSVFilters
|
|
13
|
+
from anyscale.cloud.models import (
|
|
14
|
+
CloudPermissionLevel,
|
|
15
|
+
CreateCloudCollaborator,
|
|
16
|
+
)
|
|
13
17
|
from anyscale.commands import (
|
|
14
18
|
aggregated_instance_usage_commands,
|
|
15
19
|
cloud_commands,
|
|
@@ -22,6 +26,7 @@ from anyscale.commands import (
|
|
|
22
26
|
logs_commands,
|
|
23
27
|
machine_commands,
|
|
24
28
|
machine_pool_commands,
|
|
29
|
+
organization_invitation_commands,
|
|
25
30
|
project_commands,
|
|
26
31
|
resource_quota_commands,
|
|
27
32
|
schedule_commands,
|
|
@@ -58,6 +63,9 @@ from anyscale.llm.model.models import (
|
|
|
58
63
|
FineTunedModel,
|
|
59
64
|
FineTuningType,
|
|
60
65
|
)
|
|
66
|
+
from anyscale.organization_invitation.models import OrganizationInvitation
|
|
67
|
+
from anyscale.project.models import CreateProjectCollaborator, ProjectPermissionLevel
|
|
68
|
+
from anyscale.resource_quota.models import CreateResourceQuota, Quota, ResourceQuota
|
|
61
69
|
from anyscale.schedule.models import ScheduleConfig, ScheduleState, ScheduleStatus
|
|
62
70
|
from anyscale.service.models import (
|
|
63
71
|
RayGCSExternalStorageConfig,
|
|
@@ -92,6 +100,32 @@ ALL_MODULES = [
|
|
|
92
100
|
sdk_commands=[anyscale.user.admin_batch_create,],
|
|
93
101
|
models=[AdminCreateUser, AdminCreatedUser],
|
|
94
102
|
),
|
|
103
|
+
Module(
|
|
104
|
+
title="Project",
|
|
105
|
+
filename="project-api.md",
|
|
106
|
+
cli_prefix="anyscale project",
|
|
107
|
+
cli_commands=[project_commands.add_collaborators,],
|
|
108
|
+
sdk_prefix="anyscale.project",
|
|
109
|
+
sdk_commands=[anyscale.project.add_collaborators,],
|
|
110
|
+
models=[ProjectPermissionLevel, CreateProjectCollaborator],
|
|
111
|
+
legacy_cli_commands=[project_commands.create, project_commands.list,],
|
|
112
|
+
legacy_sdk_commands={
|
|
113
|
+
"create_project": None,
|
|
114
|
+
"delete_project": None,
|
|
115
|
+
"get_default_project": None,
|
|
116
|
+
"get_project": None,
|
|
117
|
+
"search_projects": None,
|
|
118
|
+
"update_project": None,
|
|
119
|
+
},
|
|
120
|
+
legacy_sdk_models=[
|
|
121
|
+
"CreateProject",
|
|
122
|
+
"Project",
|
|
123
|
+
"ProjectListResponse",
|
|
124
|
+
"ProjectResponse",
|
|
125
|
+
"ProjectsQuery",
|
|
126
|
+
"UpdateProject",
|
|
127
|
+
],
|
|
128
|
+
),
|
|
95
129
|
Module(
|
|
96
130
|
title="Job",
|
|
97
131
|
filename="job-api.md",
|
|
@@ -401,10 +435,11 @@ ALL_MODULES = [
|
|
|
401
435
|
cloud_commands.list_cloud,
|
|
402
436
|
cloud_commands.cloud_config_update,
|
|
403
437
|
cloud_commands.cloud_set_default,
|
|
438
|
+
cloud_commands.add_collaborators,
|
|
404
439
|
],
|
|
405
440
|
sdk_prefix="anyscale.cloud",
|
|
406
|
-
sdk_commands=[],
|
|
407
|
-
models=[],
|
|
441
|
+
sdk_commands=[anyscale.cloud.add_collaborators],
|
|
442
|
+
models=[CloudPermissionLevel, CreateCloudCollaborator],
|
|
408
443
|
cli_command_group_prefix={cloud_commands.cloud_config_update: "config"},
|
|
409
444
|
legacy_sdk_commands={
|
|
410
445
|
# limited support, no replacement yet
|
|
@@ -580,8 +615,31 @@ ALL_MODULES = [
|
|
|
580
615
|
resource_quota_commands.disable,
|
|
581
616
|
],
|
|
582
617
|
sdk_prefix="anyscale.resource_quota",
|
|
583
|
-
sdk_commands=[
|
|
584
|
-
|
|
618
|
+
sdk_commands=[
|
|
619
|
+
anyscale.resource_quota.create,
|
|
620
|
+
anyscale.resource_quota.list,
|
|
621
|
+
anyscale.resource_quota.delete,
|
|
622
|
+
anyscale.resource_quota.enable,
|
|
623
|
+
anyscale.resource_quota.disable,
|
|
624
|
+
],
|
|
625
|
+
models=[CreateResourceQuota, Quota, ResourceQuota],
|
|
626
|
+
),
|
|
627
|
+
Module(
|
|
628
|
+
title="Organization Invitation",
|
|
629
|
+
filename="organization-invitation.md",
|
|
630
|
+
cli_prefix="anyscale organization-invitation",
|
|
631
|
+
cli_commands=[
|
|
632
|
+
organization_invitation_commands.create,
|
|
633
|
+
organization_invitation_commands.list,
|
|
634
|
+
organization_invitation_commands.delete,
|
|
635
|
+
],
|
|
636
|
+
sdk_prefix="anyscale.organization-invitation",
|
|
637
|
+
sdk_commands=[
|
|
638
|
+
anyscale.organization_invitation.create,
|
|
639
|
+
anyscale.organization_invitation.list,
|
|
640
|
+
anyscale.organization_invitation.delete,
|
|
641
|
+
],
|
|
642
|
+
models=[OrganizationInvitation],
|
|
585
643
|
),
|
|
586
644
|
Module(
|
|
587
645
|
title="Other",
|
|
@@ -600,23 +658,14 @@ ALL_MODULES = [
|
|
|
600
658
|
legacy_cli_commands=[
|
|
601
659
|
machine_commands.delete_machine,
|
|
602
660
|
machine_commands.list_machines,
|
|
603
|
-
project_commands.create,
|
|
604
|
-
project_commands.list,
|
|
605
661
|
],
|
|
606
662
|
legacy_sdk_commands={
|
|
607
663
|
"get_organization_temporary_object_storage_credentials": None,
|
|
608
664
|
"partial_update_organization": None,
|
|
609
|
-
"create_project": None,
|
|
610
|
-
"delete_project": None,
|
|
611
|
-
"get_default_project": None,
|
|
612
|
-
"get_project": None,
|
|
613
|
-
"search_projects": None,
|
|
614
|
-
"update_project": None,
|
|
615
665
|
"get_runtime_environment": None,
|
|
616
666
|
"create_session_command": None,
|
|
617
667
|
"get_session_command": None,
|
|
618
668
|
"list_session_commands": None,
|
|
619
|
-
"get_session_event_log": None,
|
|
620
669
|
"upsert_sso_config": None,
|
|
621
670
|
"upsert_test_sso_config": None,
|
|
622
671
|
},
|
|
@@ -630,7 +679,6 @@ ALL_MODULES = [
|
|
|
630
679
|
"BuildResponse",
|
|
631
680
|
"BuildStatus",
|
|
632
681
|
"CreateBuild",
|
|
633
|
-
"CreateProject",
|
|
634
682
|
"CreateSSOConfig",
|
|
635
683
|
"GrpcProtocolConfig",
|
|
636
684
|
"HTTPValidationError",
|
|
@@ -647,10 +695,6 @@ ALL_MODULES = [
|
|
|
647
695
|
"Organization",
|
|
648
696
|
"OrganizationResponse",
|
|
649
697
|
"PageQuery",
|
|
650
|
-
"Project",
|
|
651
|
-
"ProjectListResponse",
|
|
652
|
-
"ProjectResponse",
|
|
653
|
-
"ProjectsQuery",
|
|
654
698
|
"Protocols",
|
|
655
699
|
"PythonModules",
|
|
656
700
|
"PythonVersion",
|
|
@@ -665,7 +709,6 @@ ALL_MODULES = [
|
|
|
665
709
|
"TextQuery",
|
|
666
710
|
"TracingConfig",
|
|
667
711
|
"UpdateOrganization",
|
|
668
|
-
"UpdateProject",
|
|
669
712
|
"UserServiceAccessTypes",
|
|
670
713
|
"WorkerNodeType",
|
|
671
714
|
],
|
anyscale/_private/docgen/api.md
CHANGED
|
@@ -1058,26 +1058,6 @@ Name | Type | Description | Notes
|
|
|
1058
1058
|
|
|
1059
1059
|
Returns [SessioncommandListResponse](./models.md#sessioncommandlistresponse)
|
|
1060
1060
|
|
|
1061
|
-
## Session Events
|
|
1062
|
-
|
|
1063
|
-
### get_session_event_log
|
|
1064
|
-
|
|
1065
|
-
Retrieves a session's event log.
|
|
1066
|
-
|
|
1067
|
-
Parameters
|
|
1068
|
-
|
|
1069
|
-
Name | Type | Description | Notes
|
|
1070
|
-
------------- | ------------- | ------------- | -------------
|
|
1071
|
-
`session_id` | str| ID of the Session to retrieve event logs for. | Defaults to null
|
|
1072
|
-
`before` | optional datetime| Filters events occurring before this datetime. | Defaults to null
|
|
1073
|
-
`after` | optional datetime| Filters events occurring after this datetime. | Defaults to null
|
|
1074
|
-
`event_types` | [List[SessionEventTypes]](./models.md#sessioneventtypes)| Filters events to these types. | Defaults to null
|
|
1075
|
-
`log_level_types` | [List[LogLevelTypes]](./models.md#logleveltypes)| Filters logs to these leves. | Defaults to null
|
|
1076
|
-
`paging_token` | optional str| | Defaults to null
|
|
1077
|
-
`count` | optional int| | Defaults to 20
|
|
1078
|
-
|
|
1079
|
-
Returns [SessioneventListResponse](./models.md#sessioneventlistresponse)
|
|
1080
|
-
|
|
1081
1061
|
## Sso Configs
|
|
1082
1062
|
|
|
1083
1063
|
### upsert_sso_config
|
|
@@ -179,10 +179,11 @@ class MarkdownGenerator:
|
|
|
179
179
|
output = f"## {m.title} CLI\n"
|
|
180
180
|
|
|
181
181
|
for t in commands or []:
|
|
182
|
+
cli_command_prefix = cli_prefix
|
|
182
183
|
if m.cli_command_group_prefix and t in m.cli_command_group_prefix:
|
|
183
|
-
|
|
184
|
+
cli_command_prefix = f"{cli_prefix} {m.cli_command_group_prefix[t]}"
|
|
184
185
|
output += "\n" + self._gen_markdown_for_cli_command(
|
|
185
|
-
t, cli_prefix=
|
|
186
|
+
t, cli_prefix=cli_command_prefix or ""
|
|
186
187
|
)
|
|
187
188
|
|
|
188
189
|
return output
|
|
@@ -548,7 +548,7 @@ Possible Values:
|
|
|
548
548
|
ClusterStatusDetails is a more granular status than ClusterStatus.
|
|
549
549
|
|
|
550
550
|
Possible Values:
|
|
551
|
-
['LAUNCHING_NODES', 'CONFIGURING_HEAD_NODE']
|
|
551
|
+
['LAUNCHING_NODES', 'CONFIGURING_HEAD_NODE', 'UPDATING_CONTAINERS']
|
|
552
552
|
|
|
553
553
|
## ClustercomputeListResponse
|
|
554
554
|
|
|
@@ -1251,13 +1251,6 @@ Name | Type | Description | Notes
|
|
|
1251
1251
|
**ray_worker_id** | **str** | The Ray worker ID that this file originated from, if appropriate. | [optional] [default to null]
|
|
1252
1252
|
**job_id** | **str** | The Ray job ID that this file originated from, if appropriate. | [optional] [default to null]
|
|
1253
1253
|
|
|
1254
|
-
## LogLevelTypes
|
|
1255
|
-
|
|
1256
|
-
The classification of a session event.
|
|
1257
|
-
|
|
1258
|
-
Possible Values:
|
|
1259
|
-
['info', 'error']
|
|
1260
|
-
|
|
1261
1254
|
## LogStream
|
|
1262
1255
|
|
|
1263
1256
|
|
|
@@ -1886,35 +1879,6 @@ An enumeration.
|
|
|
1886
1879
|
Possible Values:
|
|
1887
1880
|
['WEBTERMINAL', 'COMMAND_LINE_RUNNER']
|
|
1888
1881
|
|
|
1889
|
-
## SessionEvent
|
|
1890
|
-
|
|
1891
|
-
Model of a session event item from the session event log.
|
|
1892
|
-
|
|
1893
|
-
Name | Type | Description | Notes
|
|
1894
|
-
------------ | ------------- | ------------- | -------------
|
|
1895
|
-
**event_type** | **str** | The category of session event. | [default to null]
|
|
1896
|
-
**log_level** | [**LogLevelTypes**](#logleveltypes) | The severity of the session event. | [default to null]
|
|
1897
|
-
**timestamp** | **datetime** | The time at which the session event occurred. | [default to null]
|
|
1898
|
-
**description** | **str** | A human readable description of the session event. | [default to null]
|
|
1899
|
-
**cause** | [**SessionEventCause**](#sessioneventcause) | The reason why the session event occurred. None indicates an unknown cause. | [optional] [default to null]
|
|
1900
|
-
**id** | **str** | A unique identifier for the session event. | [default to null]
|
|
1901
|
-
|
|
1902
|
-
## SessionEventCause
|
|
1903
|
-
|
|
1904
|
-
Model of a session event cause. Exactly one of cause_user or cause_system is non-None.
|
|
1905
|
-
|
|
1906
|
-
Name | Type | Description | Notes
|
|
1907
|
-
------------ | ------------- | ------------- | -------------
|
|
1908
|
-
**cause_user** | **str** | The username of the user who caused the session event. | [optional] [default to null]
|
|
1909
|
-
**cause_system** | **str** | The name of the internal anyscale system that caused the session event. | [optional] [default to null]
|
|
1910
|
-
|
|
1911
|
-
## SessionEventTypes
|
|
1912
|
-
|
|
1913
|
-
The type of session event.
|
|
1914
|
-
|
|
1915
|
-
Possible Values:
|
|
1916
|
-
['edited', 'terminate_command', 'start_command', 'running', 'terminated', 'awaiting_file_mounts', 'starting', 'updating', 'terminating', 'created', 'terminating_errored', 'updating_errored', 'startup_errored']
|
|
1917
|
-
|
|
1918
1882
|
## SessionListResponse
|
|
1919
1883
|
|
|
1920
1884
|
A list response form the API. Contains a field \"results\" which has the contents of the response.
|
|
@@ -2001,15 +1965,6 @@ Name | Type | Description | Notes
|
|
|
2001
1965
|
------------ | ------------- | ------------- | -------------
|
|
2002
1966
|
**result** | [**SessionCommand**](#sessioncommand) | | [default to null]
|
|
2003
1967
|
|
|
2004
|
-
## SessioneventListResponse
|
|
2005
|
-
|
|
2006
|
-
A list response form the API. Contains a field \"results\" which has the contents of the response.
|
|
2007
|
-
|
|
2008
|
-
Name | Type | Description | Notes
|
|
2009
|
-
------------ | ------------- | ------------- | -------------
|
|
2010
|
-
**results** | [**List[SessionEvent]**](#sessionevent) | | [default to null]
|
|
2011
|
-
**metadata** | [**ListResponseMetadata**](#listresponsemetadata) | | [optional] [default to null]
|
|
2012
|
-
|
|
2013
1968
|
## SessionoperationResponse
|
|
2014
1969
|
|
|
2015
1970
|
A response from the API. Contains a field \"result\" which has the contents of the response.
|
|
@@ -93,7 +93,7 @@ class WorkloadConfig(ModelBase):
|
|
|
93
93
|
default=None,
|
|
94
94
|
repr=False,
|
|
95
95
|
metadata={
|
|
96
|
-
"docstring": "A list of pip requirements or a path to a `requirements.txt` file for the workload.
|
|
96
|
+
"docstring": "A list of pip requirements or a path to a `requirements.txt` file for the workload. Anyscale installs these dependencies on top of the image. If you run a workload from a workspace, the default is to use the workspace dependencies, but specifying this option overrides them."
|
|
97
97
|
},
|
|
98
98
|
)
|
|
99
99
|
|
|
@@ -31,6 +31,6 @@ class AggregatedInstanceUsageSDK:
|
|
|
31
31
|
doc_py_example=_DOWNLOAD_CSV_EXAMPLE, arg_docstrings=_DOWNLOAD_ARG_DOCSTRINGS,
|
|
32
32
|
)
|
|
33
33
|
def download_csv(self, filters: DownloadCSVFilters,) -> str: # noqa: F811
|
|
34
|
-
"""
|
|
34
|
+
"""Download an aggregated instance usage report as a zipped CSV to the provided directory.
|
|
35
35
|
"""
|
|
36
36
|
return self._private_sdk.download_csv(filters=filters)
|
|
@@ -23,9 +23,7 @@ anyscale.aggregated_instance_usage.download_csv(
|
|
|
23
23
|
)
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
|
-
_DOWNLOAD_ARG_DOCSTRINGS = {
|
|
27
|
-
"filters": "The filter of the instance usage to be downloaded."
|
|
28
|
-
}
|
|
26
|
+
_DOWNLOAD_ARG_DOCSTRINGS = {"filters": "The filter of the instance usage to download."}
|
|
29
27
|
|
|
30
28
|
|
|
31
29
|
@sdk_command(
|
|
@@ -37,6 +35,6 @@ _DOWNLOAD_ARG_DOCSTRINGS = {
|
|
|
37
35
|
def download_csv(
|
|
38
36
|
filters: DownloadCSVFilters, *, _sdk: PrivateAggregatedInstanceUsageSDK
|
|
39
37
|
) -> str:
|
|
40
|
-
"""
|
|
38
|
+
"""Download an aggregated instance usage report as a zipped CSV to the provided directory.
|
|
41
39
|
"""
|
|
42
40
|
return _sdk.download_csv(filters)
|
|
@@ -15,17 +15,17 @@ import anyscale
|
|
|
15
15
|
from anyscale.aggregated_instance_usage.models import DownloadCSVFilters
|
|
16
16
|
|
|
17
17
|
download_csv_filters = DownloadCSVFilters(
|
|
18
|
-
# Start date for the usage CSV
|
|
18
|
+
# Start date (inclusive) for the usage CSV.
|
|
19
19
|
start_date="2024-10-01",
|
|
20
|
-
# End date for the usage CSV
|
|
20
|
+
# End date (inclusive) for the usage CSV.
|
|
21
21
|
end_date="2024-10-31",
|
|
22
|
-
# Optional cloud name to filter by
|
|
22
|
+
# Optional cloud name to filter by.
|
|
23
23
|
cloud="cloud_name",
|
|
24
|
-
# Optional project name to filter by
|
|
24
|
+
# Optional project name to filter by.
|
|
25
25
|
project="project_name",
|
|
26
|
-
# Optional directory to save the CSV to
|
|
26
|
+
# Optional directory to save the CSV to.
|
|
27
27
|
directory="/directory",
|
|
28
|
-
# Optional hide progress bar
|
|
28
|
+
# Optional hide progress bar.
|
|
29
29
|
hide_progress_bar=False,
|
|
30
30
|
)
|
|
31
31
|
"""
|
|
@@ -39,14 +39,14 @@ download_csv_filters = DownloadCSVFilters(
|
|
|
39
39
|
raise ValueError("Incorrect date format, should be YYYY-MM-DD")
|
|
40
40
|
|
|
41
41
|
start_date: str = field(
|
|
42
|
-
metadata={"docstring": "Start date for the usage CSV
|
|
42
|
+
metadata={"docstring": "Start date (inclusive) for the usage CSV."}
|
|
43
43
|
)
|
|
44
44
|
|
|
45
45
|
def _validate_start_date(self, start_date: str):
|
|
46
46
|
self._validate_date(start_date)
|
|
47
47
|
|
|
48
48
|
end_date: str = field(
|
|
49
|
-
metadata={"docstring": "End date for the usage CSV
|
|
49
|
+
metadata={"docstring": "End date (inclusive) for the usage CSV."}
|
|
50
50
|
)
|
|
51
51
|
|
|
52
52
|
def _validate_end_date(self, end_date: str):
|
anyscale/client/README.md
CHANGED
|
@@ -89,7 +89,9 @@ Class | Method | HTTP request | Description
|
|
|
89
89
|
*DefaultApi* | [**attach_machine_pool_to_cloud_api_v2_machine_pools_attach_post**](docs/DefaultApi.md#attach_machine_pool_to_cloud_api_v2_machine_pools_attach_post) | **POST** /api/v2/machine_pools/attach | Attach Machine Pool To Cloud
|
|
90
90
|
*DefaultApi* | [**aws_marketplace_registration_api_v2_organization_billing_aws_marketplace_registration_post**](docs/DefaultApi.md#aws_marketplace_registration_api_v2_organization_billing_aws_marketplace_registration_post) | **POST** /api/v2/organization_billing/aws_marketplace_registration | Aws Marketplace Registration
|
|
91
91
|
*DefaultApi* | [**ban_organization_api_v2_organizations_organization_id_ban_put**](docs/DefaultApi.md#ban_organization_api_v2_organizations_organization_id_ban_put) | **PUT** /api/v2/organizations/{organization_id}/ban | Ban Organization
|
|
92
|
+
*DefaultApi* | [**batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post**](docs/DefaultApi.md#batch_create_cloud_collaborators_api_v2_clouds_cloud_id_collaborators_users_batch_create_post) | **POST** /api/v2/clouds/{cloud_id}/collaborators/users/batch_create | Batch Create Cloud Collaborators
|
|
92
93
|
*DefaultApi* | [**batch_create_invitations_api_v2_organization_invitations_batch_create_post**](docs/DefaultApi.md#batch_create_invitations_api_v2_organization_invitations_batch_create_post) | **POST** /api/v2/organization_invitations/batch_create | Batch Create Invitations
|
|
94
|
+
*DefaultApi* | [**batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post**](docs/DefaultApi.md#batch_create_project_collaborators_api_v2_projects_project_id_collaborators_users_batch_create_post) | **POST** /api/v2/projects/{project_id}/collaborators/users/batch_create | Batch Create Project Collaborators
|
|
93
95
|
*DefaultApi* | [**batch_get_job_api_v2_decorated_ha_jobs_batch_get_post**](docs/DefaultApi.md#batch_get_job_api_v2_decorated_ha_jobs_batch_get_post) | **POST** /api/v2/decorated_ha_jobs/batch_get | Batch Get Job
|
|
94
96
|
*DefaultApi* | [**begin_cluster_startup_api_v2_cluster_startups_post**](docs/DefaultApi.md#begin_cluster_startup_api_v2_cluster_startups_post) | **POST** /api/v2/cluster_startups/ | Begin Cluster Startup
|
|
95
97
|
*DefaultApi* | [**change_password_api_v2_users_change_password_post**](docs/DefaultApi.md#change_password_api_v2_users_change_password_post) | **POST** /api/v2/users/change_password | Change Password
|
|
@@ -117,7 +119,6 @@ Class | Method | HTTP request | Description
|
|
|
117
119
|
*DefaultApi* | [**create_connect_session_api_v2_sessions_create_connect_session_post**](docs/DefaultApi.md#create_connect_session_api_v2_sessions_create_connect_session_post) | **POST** /api/v2/sessions/create_connect_session | Create Connect Session
|
|
118
120
|
*DefaultApi* | [**create_dataset_upload_api_v2_datasets_upload_post**](docs/DefaultApi.md#create_dataset_upload_api_v2_datasets_upload_post) | **POST** /api/v2/datasets/upload | Create Dataset Upload
|
|
119
121
|
*DefaultApi* | [**create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post**](docs/DefaultApi.md#create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post) | **POST** /api/v2/organizations/{organization_id}/create_endpoint_user | Create Endpoint User For Org
|
|
120
|
-
*DefaultApi* | [**create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post**](docs/DefaultApi.md#create_fine_tuning_job_api_v2_fine_tuning_jobs_create_post) | **POST** /api/v2/fine_tuning/jobs/create | Create Fine Tuning Job
|
|
121
122
|
*DefaultApi* | [**create_instance_usage_budget_api_v2_instance_usage_budgets_post**](docs/DefaultApi.md#create_instance_usage_budget_api_v2_instance_usage_budgets_post) | **POST** /api/v2/instance_usage_budgets/ | Create Instance Usage Budget
|
|
122
123
|
*DefaultApi* | [**create_invitation_api_v2_organization_invitations_post**](docs/DefaultApi.md#create_invitation_api_v2_organization_invitations_post) | **POST** /api/v2/organization_invitations/ | Create Invitation
|
|
123
124
|
*DefaultApi* | [**create_job_api_v2_decorated_ha_jobs_create_post**](docs/DefaultApi.md#create_job_api_v2_decorated_ha_jobs_create_post) | **POST** /api/v2/decorated_ha_jobs/create | Create Job
|
|
@@ -153,6 +154,7 @@ Class | Method | HTTP request | Description
|
|
|
153
154
|
*DefaultApi* | [**delete_session_api_v2_sessions_session_id_delete**](docs/DefaultApi.md#delete_session_api_v2_sessions_session_id_delete) | **DELETE** /api/v2/sessions/{session_id} | Delete Session
|
|
154
155
|
*DefaultApi* | [**delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete**](docs/DefaultApi.md#delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete) | **DELETE** /api/v2/sessions/{session_id}/web_terminals/{terminal_id} | Delete Web Terminals
|
|
155
156
|
*DefaultApi* | [**delete_workspace_api_v2_experimental_workspaces_workspace_id_delete**](docs/DefaultApi.md#delete_workspace_api_v2_experimental_workspaces_workspace_id_delete) | **DELETE** /api/v2/experimental_workspaces/{workspace_id} | Delete Workspace
|
|
157
|
+
*DefaultApi* | [**describe_machine_pool_api_v2_machine_pools_describe_post**](docs/DefaultApi.md#describe_machine_pool_api_v2_machine_pools_describe_post) | **POST** /api/v2/machine_pools/describe | Describe Machine Pool
|
|
156
158
|
*DefaultApi* | [**describe_session_api_v2_sessions_session_id_describe_get**](docs/DefaultApi.md#describe_session_api_v2_sessions_session_id_describe_get) | **GET** /api/v2/sessions/{session_id}/describe | Describe Session
|
|
157
159
|
*DefaultApi* | [**detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post**](docs/DefaultApi.md#detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post) | **POST** /api/v2/machine_pools/detach | Detach Machine Pool From Cloud
|
|
158
160
|
*DefaultApi* | [**dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post**](docs/DefaultApi.md#dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post) | **POST** /api/v2/onboarding_cards/{card_id}/dismiss | Dismiss User Card
|
|
@@ -174,7 +176,6 @@ Class | Method | HTTP request | Description
|
|
|
174
176
|
*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
|
|
175
177
|
*DefaultApi* | [**find_with_public_identifier_api_v2_organizations_find_with_public_identifier_get**](docs/DefaultApi.md#find_with_public_identifier_api_v2_organizations_find_with_public_identifier_get) | **GET** /api/v2/organizations/find_with_public_identifier | Find With Public Identifier
|
|
176
178
|
*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
|
|
177
|
-
*DefaultApi* | [**fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post**](docs/DefaultApi.md#fine_tuning_job_callback_api_v2_fine_tuning_jobs_internal_finish_post) | **POST** /api/v2/fine_tuning/jobs/internal/finish | Fine Tuning Job Callback
|
|
178
179
|
*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
|
|
179
180
|
*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
|
|
180
181
|
*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
|
|
@@ -188,6 +189,7 @@ Class | Method | HTTP request | Description
|
|
|
188
189
|
*DefaultApi* | [**get_build_api_v2_builds_build_id_get**](docs/DefaultApi.md#get_build_api_v2_builds_build_id_get) | **GET** /api/v2/builds/{build_id} | Get Build
|
|
189
190
|
*DefaultApi* | [**get_build_logs_api_v2_builds_build_id_logs_get**](docs/DefaultApi.md#get_build_logs_api_v2_builds_build_id_logs_get) | **GET** /api/v2/builds/{build_id}/logs | Get Build Logs
|
|
190
191
|
*DefaultApi* | [**get_cloud_api_v2_clouds_cloud_id_get**](docs/DefaultApi.md#get_cloud_api_v2_clouds_cloud_id_get) | **GET** /api/v2/clouds/{cloud_id} | Get Cloud
|
|
192
|
+
*DefaultApi* | [**get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get**](docs/DefaultApi.md#get_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_get) | **GET** /api/v2/clouds/{cloud_id}/deployment/{cloud_deployment_id}/config | Get Cloud Deployment Config
|
|
191
193
|
*DefaultApi* | [**get_cloud_overview_dashboard_api_v2_clouds_cloud_id_cloud_overview_dashboard_get**](docs/DefaultApi.md#get_cloud_overview_dashboard_api_v2_clouds_cloud_id_cloud_overview_dashboard_get) | **GET** /api/v2/clouds/{cloud_id}/cloud-overview-dashboard | Get Cloud Overview Dashboard
|
|
192
194
|
*DefaultApi* | [**get_cloud_project_collaborator_api_v2_projects_project_id_collaborators_clouds_get**](docs/DefaultApi.md#get_cloud_project_collaborator_api_v2_projects_project_id_collaborators_clouds_get) | **GET** /api/v2/projects/{project_id}/collaborators/clouds | Get Cloud Project Collaborator
|
|
193
195
|
*DefaultApi* | [**get_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_gcp_router_cloud_id_get**](docs/DefaultApi.md#get_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_gcp_router_cloud_id_get) | **GET** /api/v2/clouds_with_cloud_resource_gcp_router/{cloud_id} | Get Cloud With Cloud Resource
|
|
@@ -218,7 +220,6 @@ Class | Method | HTTP request | Description
|
|
|
218
220
|
*DefaultApi* | [**get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get**](docs/DefaultApi.md#get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get) | **GET** /api/v2/session_commands/{session_command_id}/execution_logs | Get Execution Logs
|
|
219
221
|
*DefaultApi* | [**get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get**](docs/DefaultApi.md#get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get) | **GET** /api/v2/session_commands/{session_command_id}/execution_logs_archived | Get Execution Logs Archived
|
|
220
222
|
*DefaultApi* | [**get_feature_compatibility_api_v2_product_features_get**](docs/DefaultApi.md#get_feature_compatibility_api_v2_product_features_get) | **GET** /api/v2/product_features/ | Get Feature Compatibility
|
|
221
|
-
*DefaultApi* | [**get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get**](docs/DefaultApi.md#get_fine_tuning_job_api_v2_fine_tuning_jobs_fine_tuning_job_id_get) | **GET** /api/v2/fine_tuning/jobs/{fine_tuning_job_id} | Get Fine Tuning Job
|
|
222
223
|
*DefaultApi* | [**get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get**](docs/DefaultApi.md#get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get) | **GET** /api/v2/instance_usage_budgets/{instance_usage_budget_id} | Get Instance Usage Budget
|
|
223
224
|
*DefaultApi* | [**get_invitation_api_v2_organization_invitations_invitation_id_get**](docs/DefaultApi.md#get_invitation_api_v2_organization_invitations_invitation_id_get) | **GET** /api/v2/organization_invitations/{invitation_id} | Get Invitation
|
|
224
225
|
*DefaultApi* | [**get_job_api_v2_decorated_ha_jobs_production_job_id_get**](docs/DefaultApi.md#get_job_api_v2_decorated_ha_jobs_production_job_id_get) | **GET** /api/v2/decorated_ha_jobs/{production_job_id} | Get Job
|
|
@@ -272,7 +273,6 @@ Class | Method | HTTP request | Description
|
|
|
272
273
|
*DefaultApi* | [**get_session_command_logs_download_api_v2_logs_session_command_logs_session_id_session_command_id_get**](docs/DefaultApi.md#get_session_command_logs_download_api_v2_logs_session_command_logs_session_id_session_command_id_get) | **GET** /api/v2/logs/session_command_logs/{session_id}/{session_command_id} | Get Session Command Logs Download
|
|
273
274
|
*DefaultApi* | [**get_session_commands_history_api_v2_session_commands_get**](docs/DefaultApi.md#get_session_commands_history_api_v2_session_commands_get) | **GET** /api/v2/session_commands/ | Get Session Commands History
|
|
274
275
|
*DefaultApi* | [**get_session_details_api_v2_sessions_session_id_details_get**](docs/DefaultApi.md#get_session_details_api_v2_sessions_session_id_details_get) | **GET** /api/v2/sessions/{session_id}/details | Get Session Details
|
|
275
|
-
*DefaultApi* | [**get_session_event_log_api_v2_session_events_get**](docs/DefaultApi.md#get_session_event_log_api_v2_session_events_get) | **GET** /api/v2/session_events/ | Get Session Event Log
|
|
276
276
|
*DefaultApi* | [**get_session_head_ip_api_v2_sessions_session_id_head_ip_get**](docs/DefaultApi.md#get_session_head_ip_api_v2_sessions_session_id_head_ip_get) | **GET** /api/v2/sessions/{session_id}/head_ip | Get Session Head Ip
|
|
277
277
|
*DefaultApi* | [**get_session_history_api_v2_sessions_session_id_history_get**](docs/DefaultApi.md#get_session_history_api_v2_sessions_session_id_history_get) | **GET** /api/v2/sessions/{session_id}/history | Get Session History
|
|
278
278
|
*DefaultApi* | [**get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get**](docs/DefaultApi.md#get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get) | **GET** /api/v2/sessions/{session_id}/ssh_key | Get Session Ssh Key
|
|
@@ -316,7 +316,6 @@ Class | Method | HTTP request | Description
|
|
|
316
316
|
*DefaultApi* | [**list_decorated_jobs_api_v2_decorated_jobs_get**](docs/DefaultApi.md#list_decorated_jobs_api_v2_decorated_jobs_get) | **GET** /api/v2/decorated_jobs/ | List Decorated Jobs
|
|
317
317
|
*DefaultApi* | [**list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get**](docs/DefaultApi.md#list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get) | **GET** /api/v2/decorated_runtime_envs/ | List Decorated Runtime Envs
|
|
318
318
|
*DefaultApi* | [**list_decorated_serve_deployments_api_v2_decorated_serve_deployments_get**](docs/DefaultApi.md#list_decorated_serve_deployments_api_v2_decorated_serve_deployments_get) | **GET** /api/v2/decorated_serve_deployments/ | List Decorated Serve Deployments
|
|
319
|
-
*DefaultApi* | [**list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get**](docs/DefaultApi.md#list_fine_tuning_jobs_api_v2_fine_tuning_jobs_get) | **GET** /api/v2/fine_tuning/jobs | List Fine Tuning Jobs
|
|
320
319
|
*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
|
|
321
320
|
*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
|
|
322
321
|
*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
|
|
@@ -369,7 +368,6 @@ Class | Method | HTTP request | Description
|
|
|
369
368
|
*DefaultApi* | [**request_password_reset_api_v2_users_request_password_reset_post**](docs/DefaultApi.md#request_password_reset_api_v2_users_request_password_reset_post) | **POST** /api/v2/users/request_password_reset | Request Password Reset
|
|
370
369
|
*DefaultApi* | [**reset_password_api_v2_users_reset_password_post**](docs/DefaultApi.md#reset_password_api_v2_users_reset_password_post) | **POST** /api/v2/users/reset_password | Reset Password
|
|
371
370
|
*DefaultApi* | [**restart_service_api_v2_services_v2_service_id_restart_post**](docs/DefaultApi.md#restart_service_api_v2_services_v2_service_id_restart_post) | **POST** /api/v2/services-v2/{service_id}/restart | Restart Service
|
|
372
|
-
*DefaultApi* | [**resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post**](docs/DefaultApi.md#resubmit_fine_tuning_job_api_v2_fine_tuning_jobs_internal_resubmit_post) | **POST** /api/v2/fine_tuning/jobs/internal/resubmit | Resubmit Fine Tuning Job
|
|
373
371
|
*DefaultApi* | [**rollback_service_api_v2_services_v2_service_id_rollback_post**](docs/DefaultApi.md#rollback_service_api_v2_services_v2_service_id_rollback_post) | **POST** /api/v2/services-v2/{service_id}/rollback | Rollback Service
|
|
374
372
|
*DefaultApi* | [**rotate_api_key_api_v2_users_rotate_api_key_get**](docs/DefaultApi.md#rotate_api_key_api_v2_users_rotate_api_key_get) | **GET** /api/v2/users/rotate_api_key | Rotate Api Key
|
|
375
373
|
*DefaultApi* | [**rotate_api_key_for_user_api_v2_organization_collaborators_rotate_api_key_for_user_user_id_post**](docs/DefaultApi.md#rotate_api_key_for_user_api_v2_organization_collaborators_rotate_api_key_for_user_user_id_post) | **POST** /api/v2/organization_collaborators/rotate_api_key_for_user/{user_id} | Rotate Api Key For User
|
|
@@ -381,8 +379,6 @@ Class | Method | HTTP request | Description
|
|
|
381
379
|
*DefaultApi* | [**search_resource_quotas_api_v2_resource_quotas_search_post**](docs/DefaultApi.md#search_resource_quotas_api_v2_resource_quotas_search_post) | **POST** /api/v2/resource_quotas/search | Search Resource Quotas
|
|
382
380
|
*DefaultApi* | [**search_support_requests_api_v2_support_requests_search_post**](docs/DefaultApi.md#search_support_requests_api_v2_support_requests_search_post) | **POST** /api/v2/support_requests/search | Search Support Requests
|
|
383
381
|
*DefaultApi* | [**search_user_cards_api_v2_onboarding_cards_search_post**](docs/DefaultApi.md#search_user_cards_api_v2_onboarding_cards_search_post) | **POST** /api/v2/onboarding_cards/search | Search User Cards
|
|
384
|
-
*DefaultApi* | [**set_organization_to_be_blocked_api_v2_organizations_block_post**](docs/DefaultApi.md#set_organization_to_be_blocked_api_v2_organizations_block_post) | **POST** /api/v2/organizations/block | Set Organization To Be Blocked
|
|
385
|
-
*DefaultApi* | [**set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post**](docs/DefaultApi.md#set_organization_to_be_unblocked_api_v2_organizations_organization_id_unblock_post) | **POST** /api/v2/organizations/{organization_id}/unblock | Set Organization To Be Unblocked
|
|
386
382
|
*DefaultApi* | [**set_resource_quota_status_api_v2_resource_quotas_resource_quota_id_status_patch**](docs/DefaultApi.md#set_resource_quota_status_api_v2_resource_quotas_resource_quota_id_status_patch) | **PATCH** /api/v2/resource_quotas/{resource_quota_id}/status | Set Resource Quota Status
|
|
387
383
|
*DefaultApi* | [**setup_and_initialize_session_api_v2_sessions_session_id_setup_and_initialize_session_post**](docs/DefaultApi.md#setup_and_initialize_session_api_v2_sessions_session_id_setup_and_initialize_session_post) | **POST** /api/v2/sessions/{session_id}/setup_and_initialize_session | Setup And Initialize Session
|
|
388
384
|
*DefaultApi* | [**show_one_time_password_source_api_v2_users_show_otp_source_post**](docs/DefaultApi.md#show_one_time_password_source_api_v2_users_show_otp_source_post) | **POST** /api/v2/users/show_otp_source | Show One Time Password Source
|
|
@@ -403,6 +399,7 @@ Class | Method | HTTP request | Description
|
|
|
403
399
|
*DefaultApi* | [**update_aica_endpoint_api_v2_aica_endpoints_put**](docs/DefaultApi.md#update_aica_endpoint_api_v2_aica_endpoints_put) | **PUT** /api/v2/aica_endpoints/ | Update Aica Endpoint
|
|
404
400
|
*DefaultApi* | [**update_cloud_auto_add_user_api_v2_clouds_cloud_id_auto_add_user_put**](docs/DefaultApi.md#update_cloud_auto_add_user_api_v2_clouds_cloud_id_auto_add_user_put) | **PUT** /api/v2/clouds/{cloud_id}/auto_add_user | Update Cloud Auto Add User
|
|
405
401
|
*DefaultApi* | [**update_cloud_config_api_v2_clouds_cloud_id_config_put**](docs/DefaultApi.md#update_cloud_config_api_v2_clouds_cloud_id_config_put) | **PUT** /api/v2/clouds/{cloud_id}/config | Update Cloud Config
|
|
402
|
+
*DefaultApi* | [**update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put**](docs/DefaultApi.md#update_cloud_deployment_config_api_v2_clouds_cloud_id_deployment_cloud_deployment_id_config_put) | **PUT** /api/v2/clouds/{cloud_id}/deployment/{cloud_deployment_id}/config | Update Cloud Deployment Config
|
|
406
403
|
*DefaultApi* | [**update_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_gcp_router_cloud_id_put**](docs/DefaultApi.md#update_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_gcp_router_cloud_id_put) | **PUT** /api/v2/clouds_with_cloud_resource_gcp_router/{cloud_id} | Update Cloud With Cloud Resource
|
|
407
404
|
*DefaultApi* | [**update_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_cloud_id_put**](docs/DefaultApi.md#update_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_cloud_id_put) | **PUT** /api/v2/clouds_with_cloud_resource_router/{cloud_id} | Update Cloud With Cloud Resource
|
|
408
405
|
*DefaultApi* | [**update_compute_template_api_v2_compute_templates_compute_template_id_put**](docs/DefaultApi.md#update_compute_template_api_v2_compute_templates_compute_template_id_put) | **PUT** /api/v2/compute_templates/{compute_template_id} | Update Compute Template
|
|
@@ -523,6 +520,7 @@ Class | Method | HTTP request | Description
|
|
|
523
520
|
- [CloudDataBucketPresignedUrlResponse](docs/CloudDataBucketPresignedUrlResponse.md)
|
|
524
521
|
- [CloudDataBucketPresignedUrlScheme](docs/CloudDataBucketPresignedUrlScheme.md)
|
|
525
522
|
- [CloudDataBucketRequestScope](docs/CloudDataBucketRequestScope.md)
|
|
523
|
+
- [CloudDeploymentConfig](docs/CloudDeploymentConfig.md)
|
|
526
524
|
- [CloudHostingType](docs/CloudHostingType.md)
|
|
527
525
|
- [CloudListResponse](docs/CloudListResponse.md)
|
|
528
526
|
- [CloudNameOptions](docs/CloudNameOptions.md)
|
|
@@ -547,6 +545,7 @@ Class | Method | HTTP request | Description
|
|
|
547
545
|
- [CloudcollaboratorListResponse](docs/CloudcollaboratorListResponse.md)
|
|
548
546
|
- [ClouddatabucketpresigneduploadinfoResponse](docs/ClouddatabucketpresigneduploadinfoResponse.md)
|
|
549
547
|
- [ClouddatabucketpresignedurlresponseResponse](docs/ClouddatabucketpresignedurlresponseResponse.md)
|
|
548
|
+
- [ClouddeploymentconfigResponse](docs/ClouddeploymentconfigResponse.md)
|
|
550
549
|
- [CloudoverviewdashboardResponse](docs/CloudoverviewdashboardResponse.md)
|
|
551
550
|
- [CloudregionandzonesResponse](docs/CloudregionandzonesResponse.md)
|
|
552
551
|
- [CloudresourceResponse](docs/CloudresourceResponse.md)
|
|
@@ -561,6 +560,7 @@ Class | Method | HTTP request | Description
|
|
|
561
560
|
- [ClusterEventsOutput](docs/ClusterEventsOutput.md)
|
|
562
561
|
- [ClusterFeatures](docs/ClusterFeatures.md)
|
|
563
562
|
- [ClusterManagementStackVersions](docs/ClusterManagementStackVersions.md)
|
|
563
|
+
- [ClusterSize](docs/ClusterSize.md)
|
|
564
564
|
- [ClusterStartup](docs/ClusterStartup.md)
|
|
565
565
|
- [ClusterStatus](docs/ClusterStatus.md)
|
|
566
566
|
- [ClusterStatusDetails](docs/ClusterStatusDetails.md)
|
|
@@ -569,7 +569,6 @@ Class | Method | HTTP request | Description
|
|
|
569
569
|
- [ClusterconfigwithsessionidletimeoutResponse](docs/ClusterconfigwithsessionidletimeoutResponse.md)
|
|
570
570
|
- [ClustereventsoutputResponse](docs/ClustereventsoutputResponse.md)
|
|
571
571
|
- [ClusterfeaturesResponse](docs/ClusterfeaturesResponse.md)
|
|
572
|
-
- [CompanySize](docs/CompanySize.md)
|
|
573
572
|
- [ComputeNodeType](docs/ComputeNodeType.md)
|
|
574
573
|
- [ComputeStack](docs/ComputeStack.md)
|
|
575
574
|
- [ComputeTemplate](docs/ComputeTemplate.md)
|
|
@@ -598,8 +597,6 @@ Class | Method | HTTP request | Description
|
|
|
598
597
|
- [CreateDataset](docs/CreateDataset.md)
|
|
599
598
|
- [CreateExperimentalWorkspace](docs/CreateExperimentalWorkspace.md)
|
|
600
599
|
- [CreateExperimentalWorkspaceFromJob](docs/CreateExperimentalWorkspaceFromJob.md)
|
|
601
|
-
- [CreateFineTuningHyperparameters](docs/CreateFineTuningHyperparameters.md)
|
|
602
|
-
- [CreateFineTuningJobProductRequest](docs/CreateFineTuningJobProductRequest.md)
|
|
603
600
|
- [CreateInstanceUsageBudget](docs/CreateInstanceUsageBudget.md)
|
|
604
601
|
- [CreateInternalProductionJob](docs/CreateInternalProductionJob.md)
|
|
605
602
|
- [CreateJobQueueConfig](docs/CreateJobQueueConfig.md)
|
|
@@ -696,6 +693,9 @@ Class | Method | HTTP request | Description
|
|
|
696
693
|
- [DeletedPlatformFineTunedModel](docs/DeletedPlatformFineTunedModel.md)
|
|
697
694
|
- [DeletedplatformfinetunedmodelResponse](docs/DeletedplatformfinetunedmodelResponse.md)
|
|
698
695
|
- [DeletemachinepoolresponseResponse](docs/DeletemachinepoolresponseResponse.md)
|
|
696
|
+
- [DescribeMachinePoolRequest](docs/DescribeMachinePoolRequest.md)
|
|
697
|
+
- [DescribeMachinePoolResponse](docs/DescribeMachinePoolResponse.md)
|
|
698
|
+
- [DescribemachinepoolresponseResponse](docs/DescribemachinepoolresponseResponse.md)
|
|
699
699
|
- [DetachMachinePoolFromCloudRequest](docs/DetachMachinePoolFromCloudRequest.md)
|
|
700
700
|
- [DetachmachinepoolfromcloudresponseResponse](docs/DetachmachinepoolfromcloudresponseResponse.md)
|
|
701
701
|
- [DismissalType](docs/DismissalType.md)
|
|
@@ -720,10 +720,8 @@ Class | Method | HTTP request | Description
|
|
|
720
720
|
- [FeatureflagresponseResponse](docs/FeatureflagresponseResponse.md)
|
|
721
721
|
- [FineTuneType](docs/FineTuneType.md)
|
|
722
722
|
- [FineTunedModel](docs/FineTunedModel.md)
|
|
723
|
-
- [FineTuningJobStatus](docs/FineTuningJobStatus.md)
|
|
724
723
|
- [FinetunedmodelListResponse](docs/FinetunedmodelListResponse.md)
|
|
725
724
|
- [FinetunedmodelResponse](docs/FinetunedmodelResponse.md)
|
|
726
|
-
- [FinishFTJobRequest](docs/FinishFTJobRequest.md)
|
|
727
725
|
- [FinishFTJobRequestV2](docs/FinishFTJobRequestV2.md)
|
|
728
726
|
- [GCPFileStoreConfig](docs/GCPFileStoreConfig.md)
|
|
729
727
|
- [GCPMemorystoreInstanceConfig](docs/GCPMemorystoreInstanceConfig.md)
|
|
@@ -793,7 +791,6 @@ Class | Method | HTTP request | Description
|
|
|
793
791
|
- [LogFilter](docs/LogFilter.md)
|
|
794
792
|
- [LogItem](docs/LogItem.md)
|
|
795
793
|
- [LogItemBatch](docs/LogItemBatch.md)
|
|
796
|
-
- [LogLevelTypes](docs/LogLevelTypes.md)
|
|
797
794
|
- [LogStream](docs/LogStream.md)
|
|
798
795
|
- [LogdetailsResponse](docs/LogdetailsResponse.md)
|
|
799
796
|
- [LogdownloadresultResponse](docs/LogdownloadresultResponse.md)
|
|
@@ -808,6 +805,7 @@ Class | Method | HTTP request | Description
|
|
|
808
805
|
- [MachineConnectionState](docs/MachineConnectionState.md)
|
|
809
806
|
- [MachineInfo](docs/MachineInfo.md)
|
|
810
807
|
- [MachinePool](docs/MachinePool.md)
|
|
808
|
+
- [MachineStateInfo](docs/MachineStateInfo.md)
|
|
811
809
|
- [MetronomeCustomerInfoModel](docs/MetronomeCustomerInfoModel.md)
|
|
812
810
|
- [MetronomeDashboardType](docs/MetronomeDashboardType.md)
|
|
813
811
|
- [MetronomecustomerinfomodelListResponse](docs/MetronomecustomerinfomodelListResponse.md)
|
|
@@ -869,9 +867,6 @@ Class | Method | HTTP request | Description
|
|
|
869
867
|
- [PageQuery](docs/PageQuery.md)
|
|
870
868
|
- [PauseSchedule](docs/PauseSchedule.md)
|
|
871
869
|
- [PermissionLevel](docs/PermissionLevel.md)
|
|
872
|
-
- [PlatformFineTuningJob](docs/PlatformFineTuningJob.md)
|
|
873
|
-
- [PlatformfinetuningjobListResponse](docs/PlatformfinetuningjobListResponse.md)
|
|
874
|
-
- [PlatformfinetuningjobResponse](docs/PlatformfinetuningjobResponse.md)
|
|
875
870
|
- [ProductAutoscalerFlag](docs/ProductAutoscalerFlag.md)
|
|
876
871
|
- [ProductType](docs/ProductType.md)
|
|
877
872
|
- [ProductautoscalerflagResponse](docs/ProductautoscalerflagResponse.md)
|
|
@@ -913,6 +908,7 @@ Class | Method | HTTP request | Description
|
|
|
913
908
|
- [RequestEmailMagicLinkResponse](docs/RequestEmailMagicLinkResponse.md)
|
|
914
909
|
- [RequestOTPReturnApiModel](docs/RequestOTPReturnApiModel.md)
|
|
915
910
|
- [RequestPasswordResetParams](docs/RequestPasswordResetParams.md)
|
|
911
|
+
- [RequestStateInfo](docs/RequestStateInfo.md)
|
|
916
912
|
- [RequestemailmagiclinkresponseResponse](docs/RequestemailmagiclinkresponseResponse.md)
|
|
917
913
|
- [RequestotpreturnapimodelResponse](docs/RequestotpreturnapimodelResponse.md)
|
|
918
914
|
- [ResetPasswordParams](docs/ResetPasswordParams.md)
|
|
@@ -921,13 +917,13 @@ Class | Method | HTTP request | Description
|
|
|
921
917
|
- [ResourcequotaListResponse](docs/ResourcequotaListResponse.md)
|
|
922
918
|
- [ResourcequotaResponse](docs/ResourcequotaResponse.md)
|
|
923
919
|
- [Resources](docs/Resources.md)
|
|
924
|
-
- [ResubmitFTJobRequest](docs/ResubmitFTJobRequest.md)
|
|
925
920
|
- [RollbackServiceModel](docs/RollbackServiceModel.md)
|
|
926
921
|
- [RolloutStrategy](docs/RolloutStrategy.md)
|
|
927
922
|
- [S3DownloadLocation](docs/S3DownloadLocation.md)
|
|
928
923
|
- [SSOLoginInfo](docs/SSOLoginInfo.md)
|
|
929
924
|
- [SUPPORTEDBASEIMAGESENUM](docs/SUPPORTEDBASEIMAGESENUM.md)
|
|
930
925
|
- [ScheduleConfig](docs/ScheduleConfig.md)
|
|
926
|
+
- [SchedulerInfo](docs/SchedulerInfo.md)
|
|
931
927
|
- [ServeDeploymentGrafanaDashboardStatus](docs/ServeDeploymentGrafanaDashboardStatus.md)
|
|
932
928
|
- [ServeDeploymentLogs](docs/ServeDeploymentLogs.md)
|
|
933
929
|
- [ServeDeploymentState](docs/ServeDeploymentState.md)
|
|
@@ -960,9 +956,6 @@ Class | Method | HTTP request | Description
|
|
|
960
956
|
- [SessionDeleteMessage](docs/SessionDeleteMessage.md)
|
|
961
957
|
- [SessionDescribe](docs/SessionDescribe.md)
|
|
962
958
|
- [SessionDetails](docs/SessionDetails.md)
|
|
963
|
-
- [SessionEvent](docs/SessionEvent.md)
|
|
964
|
-
- [SessionEventCause](docs/SessionEventCause.md)
|
|
965
|
-
- [SessionEventTypes](docs/SessionEventTypes.md)
|
|
966
959
|
- [SessionExecuteMessage](docs/SessionExecuteMessage.md)
|
|
967
960
|
- [SessionFinishCommandMessage](docs/SessionFinishCommandMessage.md)
|
|
968
961
|
- [SessionHistoryItem](docs/SessionHistoryItem.md)
|
|
@@ -980,7 +973,6 @@ Class | Method | HTTP request | Description
|
|
|
980
973
|
- [SessioncommandidResponse](docs/SessioncommandidResponse.md)
|
|
981
974
|
- [SessiondescribeResponse](docs/SessiondescribeResponse.md)
|
|
982
975
|
- [SessiondetailsResponse](docs/SessiondetailsResponse.md)
|
|
983
|
-
- [SessioneventListResponse](docs/SessioneventListResponse.md)
|
|
984
976
|
- [SessionhistoryitemListResponse](docs/SessionhistoryitemListResponse.md)
|
|
985
977
|
- [SessionsSortField](docs/SessionsSortField.md)
|
|
986
978
|
- [SessionsshkeyResponse](docs/SessionsshkeyResponse.md)
|
|
@@ -1058,6 +1050,7 @@ Class | Method | HTTP request | Description
|
|
|
1058
1050
|
- [WebterminalListResponse](docs/WebterminalListResponse.md)
|
|
1059
1051
|
- [WebterminalResponse](docs/WebterminalResponse.md)
|
|
1060
1052
|
- [WorkerNodeType](docs/WorkerNodeType.md)
|
|
1053
|
+
- [WorkloadInfo](docs/WorkloadInfo.md)
|
|
1061
1054
|
- [WorkloadType](docs/WorkloadType.md)
|
|
1062
1055
|
- [WorkspaceDataplaneArtifact](docs/WorkspaceDataplaneArtifact.md)
|
|
1063
1056
|
- [WorkspaceDataplaneArtifacts](docs/WorkspaceDataplaneArtifacts.md)
|