anyscale 0.26.61__py3-none-any.whl → 0.26.62__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. anyscale/_private/docgen/models.md +2 -0
  2. anyscale/client/README.md +16 -3
  3. anyscale/client/openapi_client/__init__.py +9 -3
  4. anyscale/client/openapi_client/api/default_api.py +3215 -2399
  5. anyscale/client/openapi_client/models/__init__.py +9 -3
  6. anyscale/client/openapi_client/models/api_key_info.py +280 -0
  7. anyscale/client/openapi_client/models/api_key_parameters.py +29 -3
  8. anyscale/client/openapi_client/models/{aggregatedinstanceusagecsv_list_response.py → apikeyinfo_list_response.py} +15 -15
  9. anyscale/client/openapi_client/models/compute_node_type.py +29 -1
  10. anyscale/client/openapi_client/models/gpu_usage.py +236 -0
  11. anyscale/client/openapi_client/models/node_metrics.py +404 -0
  12. anyscale/client/openapi_client/models/node_metrics_response.py +123 -0
  13. anyscale/client/openapi_client/models/{cloud_hosting_type.py → nodemetricsresponse_response.py} +34 -13
  14. anyscale/client/openapi_client/models/revoke_api_keys_request.py +123 -0
  15. anyscale/client/openapi_client/models/revoke_api_keys_response.py +202 -0
  16. anyscale/client/openapi_client/models/revokeapikeysresponse_response.py +121 -0
  17. anyscale/client/openapi_client/models/worker_node_type.py +29 -1
  18. anyscale/compute_config/_private/compute_config_sdk.py +4 -0
  19. anyscale/compute_config/models.py +24 -0
  20. anyscale/sdk/anyscale_client/models/compute_node_type.py +29 -1
  21. anyscale/sdk/anyscale_client/models/worker_node_type.py +29 -1
  22. anyscale/version.py +1 -1
  23. anyscale/workspace/commands.py +23 -114
  24. {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/METADATA +1 -1
  25. {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/RECORD +30 -24
  26. anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py +0 -889
  27. {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/WHEEL +0 -0
  28. {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/entry_points.txt +0 -0
  29. {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/licenses/LICENSE +0 -0
  30. {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/licenses/NOTICE +0 -0
  31. {anyscale-0.26.61.dist-info → anyscale-0.26.62.dist-info}/top_level.txt +0 -0
@@ -608,6 +608,7 @@ Name | Type | Description | Notes
608
608
  **name** | **str** | An arbitrary name for this node type, which will be registered with OSS available_node_types. | [default to null]
609
609
  **instance_type** | **str** | The cloud provider instance type to use for this node. | [default to null]
610
610
  **resources** | [**Resources**](#resources) | Declaration of node resources for Autoscaler. | [optional] [default to null]
611
+ **labels** | **Dict(str, str)** | Labels to associate the node with for scheduling purposes. Defaults to the list of Ray & Anyscale default labels. | [optional] [default to null]
611
612
  **aws_advanced_configurations_json** | [**object**](#) | The advanced configuration json that we pass directly AWS APIs when launching an instance. We may do some validation on this json and reject the json if it is using a configuration that Anyscale does not support. | [optional] [default to null]
612
613
  **gcp_advanced_configurations_json** | [**object**](#) | The advanced configuration json that we pass directly GCP APIs when launching an instance. We may do some validation on this json and reject the json if it is using a configuration that Anyscale does not support. | [optional] [default to null]
613
614
  **advanced_configurations_json** | [**object**](#) | Advanced configurations for this compute node type to pass to the cloud provider when launching this instance. | [optional] [default to null]
@@ -1828,6 +1829,7 @@ Name | Type | Description | Notes
1828
1829
  **name** | **str** | An arbitrary name for this node type, which will be registered with OSS available_node_types. | [default to null]
1829
1830
  **instance_type** | **str** | The cloud provider instance type to use for this node. | [default to null]
1830
1831
  **resources** | [**Resources**](#resources) | Declaration of node resources for Autoscaler. | [optional] [default to null]
1832
+ **labels** | **Dict(str, str)** | Labels to associate the node with for scheduling purposes. Defaults to the list of Ray & Anyscale default labels. | [optional] [default to null]
1831
1833
  **aws_advanced_configurations_json** | [**object**](#) | The advanced configuration json that we pass directly AWS APIs when launching an instance. We may do some validation on this json and reject the json if it is using a configuration that Anyscale does not support. | [optional] [default to null]
1832
1834
  **gcp_advanced_configurations_json** | [**object**](#) | The advanced configuration json that we pass directly GCP APIs when launching an instance. We may do some validation on this json and reject the json if it is using a configuration that Anyscale does not support. | [optional] [default to null]
1833
1835
  **advanced_configurations_json** | [**object**](#) | Advanced configurations for this compute node type to pass to the cloud provider when launching this instance. | [optional] [default to null]
anyscale/client/README.md CHANGED
@@ -219,6 +219,7 @@ Class | Method | HTTP request | Description
219
219
  *DefaultApi* | [**get_log_files_api_v2_logs_get_log_files_post**](docs/DefaultApi.md#get_log_files_api_v2_logs_get_log_files_post) | **POST** /api/v2/logs/get_log_files | Get Log Files
220
220
  *DefaultApi* | [**get_manage_billing_url_api_v2_organization_billing_manage_billing_url_get**](docs/DefaultApi.md#get_manage_billing_url_api_v2_organization_billing_manage_billing_url_get) | **GET** /api/v2/organization_billing/manage_billing_url | Get Manage Billing Url
221
221
  *DefaultApi* | [**get_metric_names_api_v2_metrics_names_get**](docs/DefaultApi.md#get_metric_names_api_v2_metrics_names_get) | **GET** /api/v2/metrics/names | Get Metric Names
222
+ *DefaultApi* | [**get_metrics_for_nodes_api_v2_cluster_dashboard_metrics_get**](docs/DefaultApi.md#get_metrics_for_nodes_api_v2_cluster_dashboard_metrics_get) | **GET** /api/v2/cluster_dashboard/metrics | Get Metrics For Nodes
222
223
  *DefaultApi* | [**get_metronome_customer_info_api_v2_metronome_customer_info_organization_id_get**](docs/DefaultApi.md#get_metronome_customer_info_api_v2_metronome_customer_info_organization_id_get) | **GET** /api/v2/metronome_customer_info/{organization_id} | Get Metronome Customer Info
223
224
  *DefaultApi* | [**get_metronome_embedded_usage_dashboard_api_v2_organization_billing_metronome_embedded_dashboard_url_dashboard_type_get**](docs/DefaultApi.md#get_metronome_embedded_usage_dashboard_api_v2_organization_billing_metronome_embedded_dashboard_url_dashboard_type_get) | **GET** /api/v2/organization_billing/metronome_embedded_dashboard_url/{dashboard_type} | Get Metronome Embedded Usage Dashboard
224
225
  *DefaultApi* | [**get_metronome_embedded_usage_dashboard_by_organization_api_v2_organization_billing_organization_id_metronome_embedded_dashboard_url_dashboard_type_get**](docs/DefaultApi.md#get_metronome_embedded_usage_dashboard_by_organization_api_v2_organization_billing_organization_id_metronome_embedded_dashboard_url_dashboard_type_get) | **GET** /api/v2/organization_billing/{organization_id}/metronome_embedded_dashboard_url/{dashboard_type} | Get Metronome Embedded Usage Dashboard By Organization
@@ -278,6 +279,8 @@ Class | Method | HTTP request | Description
278
279
  *DefaultApi* | [**health_check_api_v2_health_get**](docs/DefaultApi.md#health_check_api_v2_health_get) | **GET** /api/v2/health/ | Health Check
279
280
  *DefaultApi* | [**invalidate_invitation_api_v2_organization_invitations_invitation_id_invalidate_post**](docs/DefaultApi.md#invalidate_invitation_api_v2_organization_invitations_invitation_id_invalidate_post) | **POST** /api/v2/organization_invitations/{invitation_id}/invalidate | Invalidate Invitation
280
281
  *DefaultApi* | [**is_valid_api_v2_authentication_hex_token_id_is_valid_post**](docs/DefaultApi.md#is_valid_api_v2_authentication_hex_token_id_is_valid_post) | **POST** /api/v2/authentication/{hex_token_id}/is_valid | Is Valid
282
+ *DefaultApi* | [**list_api_keys_api_v2_users_api_keys_get**](docs/DefaultApi.md#list_api_keys_api_v2_users_api_keys_get) | **GET** /api/v2/users/api_keys | List Api Keys
283
+ *DefaultApi* | [**list_api_keys_for_admin_api_v2_users_admin_api_keys_get**](docs/DefaultApi.md#list_api_keys_for_admin_api_v2_users_admin_api_keys_get) | **GET** /api/v2/users/admin/api_keys | List Api Keys For Admin
281
284
  *DefaultApi* | [**list_application_templates_api_v2_application_templates_get**](docs/DefaultApi.md#list_application_templates_api_v2_application_templates_get) | **GET** /api/v2/application_templates/ | List Application Templates
282
285
  *DefaultApi* | [**list_builds_api_v2_builds_get**](docs/DefaultApi.md#list_builds_api_v2_builds_get) | **GET** /api/v2/builds/ | List Builds
283
286
  *DefaultApi* | [**list_clouds_api_v2_clouds_get**](docs/DefaultApi.md#list_clouds_api_v2_clouds_get) | **GET** /api/v2/clouds/ | List Clouds
@@ -343,6 +346,10 @@ Class | Method | HTTP request | Description
343
346
  *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
344
347
  *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
345
348
  *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
349
+ *DefaultApi* | [**revoke_api_key_api_v2_users_api_keys_api_key_id_delete**](docs/DefaultApi.md#revoke_api_key_api_v2_users_api_keys_api_key_id_delete) | **DELETE** /api/v2/users/api_keys/{api_key_id} | Revoke Api Key
350
+ *DefaultApi* | [**revoke_api_key_for_admin_api_v2_users_admin_api_keys_api_key_id_delete**](docs/DefaultApi.md#revoke_api_key_for_admin_api_v2_users_admin_api_keys_api_key_id_delete) | **DELETE** /api/v2/users/admin/api_keys/{api_key_id} | Revoke Api Key For Admin
351
+ *DefaultApi* | [**revoke_api_keys_api_v2_users_api_keys_revoke_post**](docs/DefaultApi.md#revoke_api_keys_api_v2_users_api_keys_revoke_post) | **POST** /api/v2/users/api_keys/revoke | Revoke Api Keys
352
+ *DefaultApi* | [**revoke_api_keys_for_admin_api_v2_users_admin_api_keys_revoke_post**](docs/DefaultApi.md#revoke_api_keys_for_admin_api_v2_users_admin_api_keys_revoke_post) | **POST** /api/v2/users/admin/api_keys/revoke | Revoke Api Keys For Admin
346
353
  *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
347
354
  *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
348
355
  *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
@@ -415,10 +422,8 @@ Class | Method | HTTP request | Description
415
422
  - [AdminCreateUser](docs/AdminCreateUser.md)
416
423
  - [AdminCreatedUser](docs/AdminCreatedUser.md)
417
424
  - [AdmincreateduserListResponse](docs/AdmincreateduserListResponse.md)
418
- - [AggregatedInstanceUsageCSV](docs/AggregatedInstanceUsageCSV.md)
419
425
  - [AggregatedUsage](docs/AggregatedUsage.md)
420
426
  - [AggregatedUsageQuery](docs/AggregatedUsageQuery.md)
421
- - [AggregatedinstanceusagecsvListResponse](docs/AggregatedinstanceusagecsvListResponse.md)
422
427
  - [AggregatedusageResponse](docs/AggregatedusageResponse.md)
423
428
  - [AioaCloudWaitlistRecord](docs/AioaCloudWaitlistRecord.md)
424
429
  - [AioacloudwaitlistrecordResponse](docs/AioacloudwaitlistrecordResponse.md)
@@ -429,7 +434,9 @@ Class | Method | HTTP request | Description
429
434
  - [AnyscaledCredentialResponse](docs/AnyscaledCredentialResponse.md)
430
435
  - [AnyscaledcredentialresponseResponse](docs/AnyscaledcredentialresponseResponse.md)
431
436
  - [AnyscaleserviceaccountResponse](docs/AnyscaleserviceaccountResponse.md)
437
+ - [ApiKeyInfo](docs/ApiKeyInfo.md)
432
438
  - [ApiKeyParameters](docs/ApiKeyParameters.md)
439
+ - [ApikeyinfoListResponse](docs/ApikeyinfoListResponse.md)
433
440
  - [AppConfig](docs/AppConfig.md)
434
441
  - [AppConfigConfigSchema](docs/AppConfigConfigSchema.md)
435
442
  - [AppconfigListResponse](docs/AppconfigListResponse.md)
@@ -485,7 +492,6 @@ Class | Method | HTTP request | Description
485
492
  - [CloudDeployment](docs/CloudDeployment.md)
486
493
  - [CloudDeploymentComputeConfig](docs/CloudDeploymentComputeConfig.md)
487
494
  - [CloudDeploymentConfig](docs/CloudDeploymentConfig.md)
488
- - [CloudHostingType](docs/CloudHostingType.md)
489
495
  - [CloudListResponse](docs/CloudListResponse.md)
490
496
  - [CloudNameOptions](docs/CloudNameOptions.md)
491
497
  - [CloudOverviewDashboard](docs/CloudOverviewDashboard.md)
@@ -703,6 +709,7 @@ Class | Method | HTTP request | Description
703
709
  - [GCPConfig](docs/GCPConfig.md)
704
710
  - [GCPFileStoreConfig](docs/GCPFileStoreConfig.md)
705
711
  - [GCPMemorystoreInstanceConfig](docs/GCPMemorystoreInstanceConfig.md)
712
+ - [GPUUsage](docs/GPUUsage.md)
706
713
  - [GetOrCreateBuildFromImageUriRequest](docs/GetOrCreateBuildFromImageUriRequest.md)
707
714
  - [GlobalWorkspaceTemplate](docs/GlobalWorkspaceTemplate.md)
708
715
  - [GlobalworkspacetemplateListResponse](docs/GlobalworkspacetemplateListResponse.md)
@@ -810,6 +817,8 @@ Class | Method | HTTP request | Description
810
817
  - [MinicomputetemplateListResponse](docs/MinicomputetemplateListResponse.md)
811
818
  - [NFSMountTarget](docs/NFSMountTarget.md)
812
819
  - [NetworkingMode](docs/NetworkingMode.md)
820
+ - [NodeMetrics](docs/NodeMetrics.md)
821
+ - [NodeMetricsResponse](docs/NodeMetricsResponse.md)
813
822
  - [NodeRegistrationAWS](docs/NodeRegistrationAWS.md)
814
823
  - [NodeRegistrationGCP](docs/NodeRegistrationGCP.md)
815
824
  - [NodeRegistrationK8S](docs/NodeRegistrationK8S.md)
@@ -817,6 +826,7 @@ Class | Method | HTTP request | Description
817
826
  - [NodeRegistrationV2](docs/NodeRegistrationV2.md)
818
827
  - [NodeStatus](docs/NodeStatus.md)
819
828
  - [NodeType](docs/NodeType.md)
829
+ - [NodemetricsresponseResponse](docs/NodemetricsresponseResponse.md)
820
830
  - [NotificationChannelEmailConfig](docs/NotificationChannelEmailConfig.md)
821
831
  - [NotificationChannelSlackConfig](docs/NotificationChannelSlackConfig.md)
822
832
  - [NotificationChannelWebhookConfig](docs/NotificationChannelWebhookConfig.md)
@@ -908,6 +918,9 @@ Class | Method | HTTP request | Description
908
918
  - [ResourcequotaResponse](docs/ResourcequotaResponse.md)
909
919
  - [Resources](docs/Resources.md)
910
920
  - [ResourcetagslistResponse](docs/ResourcetagslistResponse.md)
921
+ - [RevokeApiKeysRequest](docs/RevokeApiKeysRequest.md)
922
+ - [RevokeApiKeysResponse](docs/RevokeApiKeysResponse.md)
923
+ - [RevokeapikeysresponseResponse](docs/RevokeapikeysresponseResponse.md)
911
924
  - [RollbackServiceModel](docs/RollbackServiceModel.md)
912
925
  - [RolloutStrategy](docs/RolloutStrategy.md)
913
926
  - [RunAttemptStatus](docs/RunAttemptStatus.md)
@@ -35,10 +35,8 @@ from openapi_client.models.actor_status import ActorStatus
35
35
  from openapi_client.models.admin_create_user import AdminCreateUser
36
36
  from openapi_client.models.admin_created_user import AdminCreatedUser
37
37
  from openapi_client.models.admincreateduser_list_response import AdmincreateduserListResponse
38
- from openapi_client.models.aggregated_instance_usage_csv import AggregatedInstanceUsageCSV
39
38
  from openapi_client.models.aggregated_usage import AggregatedUsage
40
39
  from openapi_client.models.aggregated_usage_query import AggregatedUsageQuery
41
- from openapi_client.models.aggregatedinstanceusagecsv_list_response import AggregatedinstanceusagecsvListResponse
42
40
  from openapi_client.models.aggregatedusage_response import AggregatedusageResponse
43
41
  from openapi_client.models.aioa_cloud_waitlist_record import AioaCloudWaitlistRecord
44
42
  from openapi_client.models.aioacloudwaitlistrecord_response import AioacloudwaitlistrecordResponse
@@ -49,7 +47,9 @@ from openapi_client.models.anyscaleawsaccount_response import Anyscaleawsaccount
49
47
  from openapi_client.models.anyscaled_credential_response import AnyscaledCredentialResponse
50
48
  from openapi_client.models.anyscaledcredentialresponse_response import AnyscaledcredentialresponseResponse
51
49
  from openapi_client.models.anyscaleserviceaccount_response import AnyscaleserviceaccountResponse
50
+ from openapi_client.models.api_key_info import ApiKeyInfo
52
51
  from openapi_client.models.api_key_parameters import ApiKeyParameters
52
+ from openapi_client.models.apikeyinfo_list_response import ApikeyinfoListResponse
53
53
  from openapi_client.models.app_config import AppConfig
54
54
  from openapi_client.models.app_config_config_schema import AppConfigConfigSchema
55
55
  from openapi_client.models.appconfig_list_response import AppconfigListResponse
@@ -105,7 +105,6 @@ from openapi_client.models.cloud_data_bucket_request_scope import CloudDataBucke
105
105
  from openapi_client.models.cloud_deployment import CloudDeployment
106
106
  from openapi_client.models.cloud_deployment_compute_config import CloudDeploymentComputeConfig
107
107
  from openapi_client.models.cloud_deployment_config import CloudDeploymentConfig
108
- from openapi_client.models.cloud_hosting_type import CloudHostingType
109
108
  from openapi_client.models.cloud_list_response import CloudListResponse
110
109
  from openapi_client.models.cloud_name_options import CloudNameOptions
111
110
  from openapi_client.models.cloud_overview_dashboard import CloudOverviewDashboard
@@ -323,6 +322,7 @@ from openapi_client.models.finetunedmodel_response import FinetunedmodelResponse
323
322
  from openapi_client.models.gcp_config import GCPConfig
324
323
  from openapi_client.models.gcp_file_store_config import GCPFileStoreConfig
325
324
  from openapi_client.models.gcp_memorystore_instance_config import GCPMemorystoreInstanceConfig
325
+ from openapi_client.models.gpu_usage import GPUUsage
326
326
  from openapi_client.models.get_or_create_build_from_image_uri_request import GetOrCreateBuildFromImageUriRequest
327
327
  from openapi_client.models.global_workspace_template import GlobalWorkspaceTemplate
328
328
  from openapi_client.models.globalworkspacetemplate_list_response import GlobalworkspacetemplateListResponse
@@ -430,6 +430,8 @@ from openapi_client.models.minibuild_list_response import MinibuildListResponse
430
430
  from openapi_client.models.minicomputetemplate_list_response import MinicomputetemplateListResponse
431
431
  from openapi_client.models.nfs_mount_target import NFSMountTarget
432
432
  from openapi_client.models.networking_mode import NetworkingMode
433
+ from openapi_client.models.node_metrics import NodeMetrics
434
+ from openapi_client.models.node_metrics_response import NodeMetricsResponse
433
435
  from openapi_client.models.node_registration_aws import NodeRegistrationAWS
434
436
  from openapi_client.models.node_registration_gcp import NodeRegistrationGCP
435
437
  from openapi_client.models.node_registration_k8_s import NodeRegistrationK8S
@@ -437,6 +439,7 @@ from openapi_client.models.node_registration_provisioned import NodeRegistration
437
439
  from openapi_client.models.node_registration_v2 import NodeRegistrationV2
438
440
  from openapi_client.models.node_status import NodeStatus
439
441
  from openapi_client.models.node_type import NodeType
442
+ from openapi_client.models.nodemetricsresponse_response import NodemetricsresponseResponse
440
443
  from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
441
444
  from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
442
445
  from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
@@ -528,6 +531,9 @@ from openapi_client.models.resourcequota_list_response import ResourcequotaListR
528
531
  from openapi_client.models.resourcequota_response import ResourcequotaResponse
529
532
  from openapi_client.models.resources import Resources
530
533
  from openapi_client.models.resourcetagslist_response import ResourcetagslistResponse
534
+ from openapi_client.models.revoke_api_keys_request import RevokeApiKeysRequest
535
+ from openapi_client.models.revoke_api_keys_response import RevokeApiKeysResponse
536
+ from openapi_client.models.revokeapikeysresponse_response import RevokeapikeysresponseResponse
531
537
  from openapi_client.models.rollback_service_model import RollbackServiceModel
532
538
  from openapi_client.models.rollout_strategy import RolloutStrategy
533
539
  from openapi_client.models.run_attempt_status import RunAttemptStatus