anyscale 0.24.86__py3-none-any.whl → 0.24.87__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/client/README.md +22 -2
- anyscale/client/openapi_client/__init__.py +16 -2
- anyscale/client/openapi_client/api/default_api.py +704 -3
- anyscale/client/openapi_client/models/__init__.py +16 -2
- anyscale/client/openapi_client/models/{aggregated_instance_usage_with_cost_model.py → aggregated_instance_usage_csv.py} +100 -100
- anyscale/client/openapi_client/models/aggregated_usage.py +147 -0
- anyscale/client/openapi_client/models/aggregated_usage_query.py +264 -0
- anyscale/client/openapi_client/models/{aggregatedinstanceusagewithcostmodel_list_response.py → aggregatedinstanceusagecsv_list_response.py} +15 -15
- anyscale/client/openapi_client/models/aggregatedusage_response.py +121 -0
- anyscale/client/openapi_client/models/cloud_resource.py +29 -1
- anyscale/client/openapi_client/models/cloud_resource_gcp.py +29 -1
- anyscale/client/openapi_client/models/create_cloud_resource.py +29 -1
- anyscale/client/openapi_client/models/create_cloud_resource_gcp.py +29 -1
- anyscale/client/openapi_client/models/paging_context.py +172 -0
- anyscale/client/openapi_client/models/usage_by_cloud.py +201 -0
- anyscale/client/openapi_client/models/usage_by_cluster.py +544 -0
- anyscale/client/openapi_client/models/usage_by_instance_type.py +174 -0
- anyscale/client/openapi_client/models/usage_by_project.py +255 -0
- anyscale/client/openapi_client/models/usage_by_user.py +201 -0
- anyscale/client/openapi_client/models/usagebycloud_list_response.py +147 -0
- anyscale/client/openapi_client/models/usagebycluster_list_response.py +147 -0
- anyscale/client/openapi_client/models/usagebyinstancetype_list_response.py +147 -0
- anyscale/client/openapi_client/models/usagebyproject_list_response.py +147 -0
- anyscale/client/openapi_client/models/usagebyuser_list_response.py +147 -0
- anyscale/commands/cloud_commands.py +8 -0
- anyscale/controllers/cloud_controller.py +3 -0
- anyscale/version.py +1 -1
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/METADATA +1 -1
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/RECORD +34 -20
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/LICENSE +0 -0
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/NOTICE +0 -0
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/WHEEL +0 -0
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/entry_points.txt +0 -0
- {anyscale-0.24.86.dist-info → anyscale-0.24.87.dist-info}/top_level.txt +0 -0
anyscale/client/README.md
CHANGED
|
@@ -162,6 +162,11 @@ Class | Method | HTTP request | Description
|
|
|
162
162
|
*DefaultApi* | [**edit_cloud_resource_api_v2_clouds_with_cloud_resource_router_cloud_id_patch**](docs/DefaultApi.md#edit_cloud_resource_api_v2_clouds_with_cloud_resource_router_cloud_id_patch) | **PATCH** /api/v2/clouds_with_cloud_resource_router/{cloud_id} | Edit Cloud Resource
|
|
163
163
|
*DefaultApi* | [**execute_interactive_command_api_v2_sessions_session_id_execute_interactive_command_post**](docs/DefaultApi.md#execute_interactive_command_api_v2_sessions_session_id_execute_interactive_command_post) | **POST** /api/v2/sessions/{session_id}/execute_interactive_command | Execute Interactive Command
|
|
164
164
|
*DefaultApi* | [**execute_shell_command_api_v2_sessions_session_id_execute_shell_command_post**](docs/DefaultApi.md#execute_shell_command_api_v2_sessions_session_id_execute_shell_command_post) | **POST** /api/v2/sessions/{session_id}/execute_shell_command | Execute Shell Command
|
|
165
|
+
*DefaultApi* | [**fetch_usage_group_by_cloud_api_v2_aggregated_instance_usage_cloud_post**](docs/DefaultApi.md#fetch_usage_group_by_cloud_api_v2_aggregated_instance_usage_cloud_post) | **POST** /api/v2/aggregated_instance_usage/cloud | Fetch Usage Group By Cloud
|
|
166
|
+
*DefaultApi* | [**fetch_usage_group_by_cluster_api_v2_aggregated_instance_usage_cluster_post**](docs/DefaultApi.md#fetch_usage_group_by_cluster_api_v2_aggregated_instance_usage_cluster_post) | **POST** /api/v2/aggregated_instance_usage/cluster | Fetch Usage Group By Cluster
|
|
167
|
+
*DefaultApi* | [**fetch_usage_group_by_instance_type_api_v2_aggregated_instance_usage_instance_type_post**](docs/DefaultApi.md#fetch_usage_group_by_instance_type_api_v2_aggregated_instance_usage_instance_type_post) | **POST** /api/v2/aggregated_instance_usage/instance_type | Fetch Usage Group By Instance Type
|
|
168
|
+
*DefaultApi* | [**fetch_usage_group_by_project_api_v2_aggregated_instance_usage_project_post**](docs/DefaultApi.md#fetch_usage_group_by_project_api_v2_aggregated_instance_usage_project_post) | **POST** /api/v2/aggregated_instance_usage/project | Fetch Usage Group By Project
|
|
169
|
+
*DefaultApi* | [**fetch_usage_group_by_user_api_v2_aggregated_instance_usage_user_post**](docs/DefaultApi.md#fetch_usage_group_by_user_api_v2_aggregated_instance_usage_user_post) | **POST** /api/v2/aggregated_instance_usage/user | Fetch Usage Group By User
|
|
165
170
|
*DefaultApi* | [**find_cloud_by_name_api_v2_clouds_find_by_name_post**](docs/DefaultApi.md#find_cloud_by_name_api_v2_clouds_find_by_name_post) | **POST** /api/v2/clouds/find_by_name | Find Cloud By Name
|
|
166
171
|
*DefaultApi* | [**find_dataset_api_v2_datasets_find_get**](docs/DefaultApi.md#find_dataset_api_v2_datasets_find_get) | **GET** /api/v2/datasets/find | Find Dataset
|
|
167
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
|
|
@@ -277,6 +282,7 @@ Class | Method | HTTP request | Description
|
|
|
277
282
|
*DefaultApi* | [**get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get**](docs/DefaultApi.md#get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get) | **GET** /api/v2/experimental_workspaces/template/readme/{template_id} | Get Template Readme
|
|
278
283
|
*DefaultApi* | [**get_templatized_cluster_environments_api_v2_application_templates_templatized_get**](docs/DefaultApi.md#get_templatized_cluster_environments_api_v2_application_templates_templatized_get) | **GET** /api/v2/application_templates/templatized/ | Get Templatized Cluster Environments
|
|
279
284
|
*DefaultApi* | [**get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get**](docs/DefaultApi.md#get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get) | **GET** /api/v2/compute_templates/templatized/{cloud_id} | Get Templatized Compute Configs
|
|
285
|
+
*DefaultApi* | [**get_total_usage_api_v2_aggregated_instance_usage_get**](docs/DefaultApi.md#get_total_usage_api_v2_aggregated_instance_usage_get) | **GET** /api/v2/aggregated_instance_usage/ | Get Total Usage
|
|
280
286
|
*DefaultApi* | [**get_user_info_api_v2_userinfo_get**](docs/DefaultApi.md#get_user_info_api_v2_userinfo_get) | **GET** /api/v2/userinfo/ | Get User Info
|
|
281
287
|
*DefaultApi* | [**get_workspace_api_v2_experimental_workspaces_workspace_id_get**](docs/DefaultApi.md#get_workspace_api_v2_experimental_workspaces_workspace_id_get) | **GET** /api/v2/experimental_workspaces/{workspace_id} | Get Workspace
|
|
282
288
|
*DefaultApi* | [**get_workspace_dataplane_artifacts_api_v2_experimental_workspaces_workspace_id_dataplane_artifacts_get**](docs/DefaultApi.md#get_workspace_dataplane_artifacts_api_v2_experimental_workspaces_workspace_id_dataplane_artifacts_get) | **GET** /api/v2/experimental_workspaces/{workspace_id}/dataplane_artifacts | Get Workspace Dataplane Artifacts
|
|
@@ -424,8 +430,11 @@ Class | Method | HTTP request | Description
|
|
|
424
430
|
- [AWSCredentials](docs/AWSCredentials.md)
|
|
425
431
|
- [AWSMemoryDBClusterConfig](docs/AWSMemoryDBClusterConfig.md)
|
|
426
432
|
- [AccessConfig](docs/AccessConfig.md)
|
|
427
|
-
- [
|
|
428
|
-
- [
|
|
433
|
+
- [AggregatedInstanceUsageCSV](docs/AggregatedInstanceUsageCSV.md)
|
|
434
|
+
- [AggregatedUsage](docs/AggregatedUsage.md)
|
|
435
|
+
- [AggregatedUsageQuery](docs/AggregatedUsageQuery.md)
|
|
436
|
+
- [AggregatedinstanceusagecsvListResponse](docs/AggregatedinstanceusagecsvListResponse.md)
|
|
437
|
+
- [AggregatedusageResponse](docs/AggregatedusageResponse.md)
|
|
429
438
|
- [AicaEndpoint](docs/AicaEndpoint.md)
|
|
430
439
|
- [AicaEndpointEvent](docs/AicaEndpointEvent.md)
|
|
431
440
|
- [AicaEndpointEventLevel](docs/AicaEndpointEventLevel.md)
|
|
@@ -854,6 +863,7 @@ Class | Method | HTTP request | Description
|
|
|
854
863
|
- [OrganizationpublicidentifierResponse](docs/OrganizationpublicidentifierResponse.md)
|
|
855
864
|
- [OrganizationusagealertListResponse](docs/OrganizationusagealertListResponse.md)
|
|
856
865
|
- [PageQuery](docs/PageQuery.md)
|
|
866
|
+
- [PagingContext](docs/PagingContext.md)
|
|
857
867
|
- [PauseSchedule](docs/PauseSchedule.md)
|
|
858
868
|
- [PermissionLevel](docs/PermissionLevel.md)
|
|
859
869
|
- [PlatformFineTuningJob](docs/PlatformFineTuningJob.md)
|
|
@@ -1017,6 +1027,16 @@ Class | Method | HTTP request | Description
|
|
|
1017
1027
|
- [UpdatemachinepoolresponseResponse](docs/UpdatemachinepoolresponseResponse.md)
|
|
1018
1028
|
- [UploadSessionCommandLogsLocations](docs/UploadSessionCommandLogsLocations.md)
|
|
1019
1029
|
- [UploadsessioncommandlogslocationsResponse](docs/UploadsessioncommandlogslocationsResponse.md)
|
|
1030
|
+
- [UsageByCloud](docs/UsageByCloud.md)
|
|
1031
|
+
- [UsageByCluster](docs/UsageByCluster.md)
|
|
1032
|
+
- [UsageByInstanceType](docs/UsageByInstanceType.md)
|
|
1033
|
+
- [UsageByProject](docs/UsageByProject.md)
|
|
1034
|
+
- [UsageByUser](docs/UsageByUser.md)
|
|
1035
|
+
- [UsagebycloudListResponse](docs/UsagebycloudListResponse.md)
|
|
1036
|
+
- [UsagebyclusterListResponse](docs/UsagebyclusterListResponse.md)
|
|
1037
|
+
- [UsagebyinstancetypeListResponse](docs/UsagebyinstancetypeListResponse.md)
|
|
1038
|
+
- [UsagebyprojectListResponse](docs/UsagebyprojectListResponse.md)
|
|
1039
|
+
- [UsagebyuserListResponse](docs/UsagebyuserListResponse.md)
|
|
1020
1040
|
- [UserInfo](docs/UserInfo.md)
|
|
1021
1041
|
- [UserResendEmailOptions](docs/UserResendEmailOptions.md)
|
|
1022
1042
|
- [UserServiceAccessTypes](docs/UserServiceAccessTypes.md)
|
|
@@ -31,8 +31,11 @@ from openapi_client.exceptions import ApiException
|
|
|
31
31
|
from openapi_client.models.aws_credentials import AWSCredentials
|
|
32
32
|
from openapi_client.models.aws_memory_db_cluster_config import AWSMemoryDBClusterConfig
|
|
33
33
|
from openapi_client.models.access_config import AccessConfig
|
|
34
|
-
from openapi_client.models.
|
|
35
|
-
from openapi_client.models.
|
|
34
|
+
from openapi_client.models.aggregated_instance_usage_csv import AggregatedInstanceUsageCSV
|
|
35
|
+
from openapi_client.models.aggregated_usage import AggregatedUsage
|
|
36
|
+
from openapi_client.models.aggregated_usage_query import AggregatedUsageQuery
|
|
37
|
+
from openapi_client.models.aggregatedinstanceusagecsv_list_response import AggregatedinstanceusagecsvListResponse
|
|
38
|
+
from openapi_client.models.aggregatedusage_response import AggregatedusageResponse
|
|
36
39
|
from openapi_client.models.aica_endpoint import AicaEndpoint
|
|
37
40
|
from openapi_client.models.aica_endpoint_event import AicaEndpointEvent
|
|
38
41
|
from openapi_client.models.aica_endpoint_event_level import AicaEndpointEventLevel
|
|
@@ -461,6 +464,7 @@ from openapi_client.models.organizationprojectcollaborator_list_response import
|
|
|
461
464
|
from openapi_client.models.organizationpublicidentifier_response import OrganizationpublicidentifierResponse
|
|
462
465
|
from openapi_client.models.organizationusagealert_list_response import OrganizationusagealertListResponse
|
|
463
466
|
from openapi_client.models.page_query import PageQuery
|
|
467
|
+
from openapi_client.models.paging_context import PagingContext
|
|
464
468
|
from openapi_client.models.pause_schedule import PauseSchedule
|
|
465
469
|
from openapi_client.models.permission_level import PermissionLevel
|
|
466
470
|
from openapi_client.models.platform_fine_tuning_job import PlatformFineTuningJob
|
|
@@ -624,6 +628,16 @@ from openapi_client.models.update_resource_quota import UpdateResourceQuota
|
|
|
624
628
|
from openapi_client.models.updatemachinepoolresponse_response import UpdatemachinepoolresponseResponse
|
|
625
629
|
from openapi_client.models.upload_session_command_logs_locations import UploadSessionCommandLogsLocations
|
|
626
630
|
from openapi_client.models.uploadsessioncommandlogslocations_response import UploadsessioncommandlogslocationsResponse
|
|
631
|
+
from openapi_client.models.usage_by_cloud import UsageByCloud
|
|
632
|
+
from openapi_client.models.usage_by_cluster import UsageByCluster
|
|
633
|
+
from openapi_client.models.usage_by_instance_type import UsageByInstanceType
|
|
634
|
+
from openapi_client.models.usage_by_project import UsageByProject
|
|
635
|
+
from openapi_client.models.usage_by_user import UsageByUser
|
|
636
|
+
from openapi_client.models.usagebycloud_list_response import UsagebycloudListResponse
|
|
637
|
+
from openapi_client.models.usagebycluster_list_response import UsagebyclusterListResponse
|
|
638
|
+
from openapi_client.models.usagebyinstancetype_list_response import UsagebyinstancetypeListResponse
|
|
639
|
+
from openapi_client.models.usagebyproject_list_response import UsagebyprojectListResponse
|
|
640
|
+
from openapi_client.models.usagebyuser_list_response import UsagebyuserListResponse
|
|
627
641
|
from openapi_client.models.user_info import UserInfo
|
|
628
642
|
from openapi_client.models.user_resend_email_options import UserResendEmailOptions
|
|
629
643
|
from openapi_client.models.user_service_access_types import UserServiceAccessTypes
|