anyscale 0.26.43__py3-none-any.whl → 0.26.45__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 (41) hide show
  1. anyscale/_private/anyscale_client/common.py +1 -1
  2. anyscale/_private/docgen/__main__.py +2 -0
  3. anyscale/_private/docgen/models.md +2 -2
  4. anyscale/_private/workload/workload_sdk.py +6 -0
  5. anyscale/client/README.md +9 -0
  6. anyscale/client/openapi_client/__init__.py +7 -0
  7. anyscale/client/openapi_client/api/default_api.py +238 -5
  8. anyscale/client/openapi_client/models/__init__.py +7 -0
  9. anyscale/client/openapi_client/models/baseimagesenum.py +68 -1
  10. anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +31 -3
  11. anyscale/client/openapi_client/models/describe_machine_pool_requests_filters.py +150 -0
  12. anyscale/client/openapi_client/models/describe_machine_pool_requests_request.py +19 -19
  13. anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +150 -0
  14. anyscale/client/openapi_client/models/describe_machine_pool_workloads_request.py +151 -0
  15. anyscale/client/openapi_client/models/file_storage.py +33 -5
  16. anyscale/client/openapi_client/models/plan_status.py +123 -0
  17. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +68 -1
  18. anyscale/client/openapi_client/models/workload_machine_info.py +210 -0
  19. anyscale/client/openapi_client/models/workload_state_info.py +295 -0
  20. anyscale/client/openapi_client/models/workloadstateinfo_list_response.py +147 -0
  21. anyscale/commands/cloud_commands.py +1 -0
  22. anyscale/commands/compute_config_commands.py +10 -3
  23. anyscale/compute_config/__init__.py +16 -0
  24. anyscale/compute_config/_private/compute_config_sdk.py +172 -60
  25. anyscale/compute_config/commands.py +66 -1
  26. anyscale/compute_config/models.py +160 -3
  27. anyscale/conf.py +1 -1
  28. anyscale/controllers/cloud_controller.py +141 -3
  29. anyscale/job/_private/job_sdk.py +22 -0
  30. anyscale/sdk/anyscale_client/models/baseimagesenum.py +68 -1
  31. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +68 -1
  32. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  33. anyscale/telemetry.py +36 -44
  34. anyscale/version.py +1 -1
  35. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/METADATA +4 -3
  36. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/RECORD +41 -34
  37. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/LICENSE +0 -0
  38. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/NOTICE +0 -0
  39. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/WHEEL +0 -0
  40. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/entry_points.txt +0 -0
  41. {anyscale-0.26.43.dist-info → anyscale-0.26.45.dist-info}/top_level.txt +0 -0
@@ -118,6 +118,7 @@ class WorkloadSDK(BaseSDK):
118
118
  autopopulate_in_workspace: bool = True,
119
119
  additional_py_modules: Optional[List[str]] = None,
120
120
  py_executable_override: Optional[str] = None,
121
+ has_multiple_cloud_deployments: bool = False,
121
122
  ) -> List[Dict[str, Any]]:
122
123
  """Returns modified runtime_envs with all local dirs converted to remote URIs.
123
124
 
@@ -137,6 +138,11 @@ class WorkloadSDK(BaseSDK):
137
138
  if target in local_path_to_uri:
138
139
  return local_path_to_uri[target]
139
140
 
141
+ if has_multiple_cloud_deployments:
142
+ raise ValueError(
143
+ "Local directory uploads are not supported for compute configurations with multiple cloud deployments."
144
+ )
145
+
140
146
  self.logger.info(f"Uploading local dir '{target}' to cloud storage.")
141
147
  assert cloud_id is not None
142
148
  uri = self._client.upload_local_dir_to_cloud_storage(
anyscale/client/README.md CHANGED
@@ -147,6 +147,7 @@ Class | Method | HTTP request | Description
147
147
  *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
148
148
  *DefaultApi* | [**describe_machine_pool_machines_api_v2_machine_pools_describe_machines_post**](docs/DefaultApi.md#describe_machine_pool_machines_api_v2_machine_pools_describe_machines_post) | **POST** /api/v2/machine_pools/describe_machines | Describe Machine Pool Machines
149
149
  *DefaultApi* | [**describe_machine_pool_requests_api_v2_machine_pools_describe_requests_post**](docs/DefaultApi.md#describe_machine_pool_requests_api_v2_machine_pools_describe_requests_post) | **POST** /api/v2/machine_pools/describe_requests | Describe Machine Pool Requests
150
+ *DefaultApi* | [**describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post**](docs/DefaultApi.md#describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post) | **POST** /api/v2/machine_pools/describe_workloads | Describe Machine Pool Workloads
150
151
  *DefaultApi* | [**describe_system_workload_api_v2_system_workload_cloud_id_describe_post**](docs/DefaultApi.md#describe_system_workload_api_v2_system_workload_cloud_id_describe_post) | **POST** /api/v2/system_workload/{cloud_id}/describe | Describe System Workload
151
152
  *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
152
153
  *DefaultApi* | [**download_aggregated_instance_usage_csv_api_v2_aggregated_instance_usage_download_csv_get**](docs/DefaultApi.md#download_aggregated_instance_usage_csv_api_v2_aggregated_instance_usage_download_csv_get) | **GET** /api/v2/aggregated_instance_usage/download_csv | Download Aggregated Instance Usage Csv
@@ -336,6 +337,7 @@ Class | Method | HTTP request | Description
336
337
  *DefaultApi* | [**sso_login_test_api_v2_users_sso_login_test_get**](docs/DefaultApi.md#sso_login_test_api_v2_users_sso_login_test_get) | **GET** /api/v2/users/sso_login_test | Sso Login Test
337
338
  *DefaultApi* | [**start_session_api_v2_sessions_session_id_start_post**](docs/DefaultApi.md#start_session_api_v2_sessions_session_id_start_post) | **POST** /api/v2/sessions/{session_id}/start | Start Session
338
339
  *DefaultApi* | [**stop_session_api_v2_sessions_session_id_stop_post**](docs/DefaultApi.md#stop_session_api_v2_sessions_session_id_stop_post) | **POST** /api/v2/sessions/{session_id}/stop | Stop Session
340
+ *DefaultApi* | [**stripe_success_webhook_api_v2_organization_billing_stripe_success_webhook_post**](docs/DefaultApi.md#stripe_success_webhook_api_v2_organization_billing_stripe_success_webhook_post) | **POST** /api/v2/organization_billing/stripe_success_webhook | Stripe Success Webhook
339
341
  *DefaultApi* | [**summarize_machine_pool_api_v2_machine_pools_summary_post**](docs/DefaultApi.md#summarize_machine_pool_api_v2_machine_pools_summary_post) | **POST** /api/v2/machine_pools/summary | Summarize Machine Pool
340
342
  *DefaultApi* | [**sync_organization_with_metronome_api_v2_organization_billing_organization_id_sync_with_metronome_post**](docs/DefaultApi.md#sync_organization_with_metronome_api_v2_organization_billing_organization_id_sync_with_metronome_post) | **POST** /api/v2/organization_billing/{organization_id}/sync_with_metronome | Sync Organization With Metronome
341
343
  *DefaultApi* | [**terminate_job_api_v2_decorated_ha_jobs_production_job_id_terminate_post**](docs/DefaultApi.md#terminate_job_api_v2_decorated_ha_jobs_production_job_id_terminate_post) | **POST** /api/v2/decorated_ha_jobs/{production_job_id}/terminate | Terminate Job
@@ -626,8 +628,11 @@ Class | Method | HTTP request | Description
626
628
  - [DescribeMachinePoolMachinesFilters](docs/DescribeMachinePoolMachinesFilters.md)
627
629
  - [DescribeMachinePoolMachinesRequest](docs/DescribeMachinePoolMachinesRequest.md)
628
630
  - [DescribeMachinePoolRequest](docs/DescribeMachinePoolRequest.md)
631
+ - [DescribeMachinePoolRequestsFilters](docs/DescribeMachinePoolRequestsFilters.md)
629
632
  - [DescribeMachinePoolRequestsRequest](docs/DescribeMachinePoolRequestsRequest.md)
630
633
  - [DescribeMachinePoolResponse](docs/DescribeMachinePoolResponse.md)
634
+ - [DescribeMachinePoolWorkloadsFilters](docs/DescribeMachinePoolWorkloadsFilters.md)
635
+ - [DescribeMachinePoolWorkloadsRequest](docs/DescribeMachinePoolWorkloadsRequest.md)
631
636
  - [DescribeSystemWorkloadResponse](docs/DescribeSystemWorkloadResponse.md)
632
637
  - [DescribemachinepoolresponseResponse](docs/DescribemachinepoolresponseResponse.md)
633
638
  - [DescribesystemworkloadresponseResponse](docs/DescribesystemworkloadresponseResponse.md)
@@ -796,6 +801,7 @@ Class | Method | HTTP request | Description
796
801
  - [PartitionInfo](docs/PartitionInfo.md)
797
802
  - [PauseSchedule](docs/PauseSchedule.md)
798
803
  - [PermissionLevel](docs/PermissionLevel.md)
804
+ - [PlanStatus](docs/PlanStatus.md)
799
805
  - [ProductionJob](docs/ProductionJob.md)
800
806
  - [ProductionJobConfig](docs/ProductionJobConfig.md)
801
807
  - [ProductionJobEvent](docs/ProductionJobEvent.md)
@@ -963,7 +969,10 @@ Class | Method | HTTP request | Description
963
969
  - [WandBRunDetails](docs/WandBRunDetails.md)
964
970
  - [WorkerNodeType](docs/WorkerNodeType.md)
965
971
  - [WorkloadInfo](docs/WorkloadInfo.md)
972
+ - [WorkloadMachineInfo](docs/WorkloadMachineInfo.md)
973
+ - [WorkloadStateInfo](docs/WorkloadStateInfo.md)
966
974
  - [WorkloadType](docs/WorkloadType.md)
975
+ - [WorkloadstateinfoListResponse](docs/WorkloadstateinfoListResponse.md)
967
976
  - [WorkspaceDataplaneArtifact](docs/WorkspaceDataplaneArtifact.md)
968
977
  - [WorkspaceDataplaneArtifacts](docs/WorkspaceDataplaneArtifacts.md)
969
978
  - [WorkspaceDataplaneProxiedArtifacts](docs/WorkspaceDataplaneProxiedArtifacts.md)
@@ -278,8 +278,11 @@ from openapi_client.models.deletemachinepoolresponse_response import Deletemachi
278
278
  from openapi_client.models.describe_machine_pool_machines_filters import DescribeMachinePoolMachinesFilters
279
279
  from openapi_client.models.describe_machine_pool_machines_request import DescribeMachinePoolMachinesRequest
280
280
  from openapi_client.models.describe_machine_pool_request import DescribeMachinePoolRequest
281
+ from openapi_client.models.describe_machine_pool_requests_filters import DescribeMachinePoolRequestsFilters
281
282
  from openapi_client.models.describe_machine_pool_requests_request import DescribeMachinePoolRequestsRequest
282
283
  from openapi_client.models.describe_machine_pool_response import DescribeMachinePoolResponse
284
+ from openapi_client.models.describe_machine_pool_workloads_filters import DescribeMachinePoolWorkloadsFilters
285
+ from openapi_client.models.describe_machine_pool_workloads_request import DescribeMachinePoolWorkloadsRequest
283
286
  from openapi_client.models.describe_system_workload_response import DescribeSystemWorkloadResponse
284
287
  from openapi_client.models.describemachinepoolresponse_response import DescribemachinepoolresponseResponse
285
288
  from openapi_client.models.describesystemworkloadresponse_response import DescribesystemworkloadresponseResponse
@@ -448,6 +451,7 @@ from openapi_client.models.page_query import PageQuery
448
451
  from openapi_client.models.partition_info import PartitionInfo
449
452
  from openapi_client.models.pause_schedule import PauseSchedule
450
453
  from openapi_client.models.permission_level import PermissionLevel
454
+ from openapi_client.models.plan_status import PlanStatus
451
455
  from openapi_client.models.production_job import ProductionJob
452
456
  from openapi_client.models.production_job_config import ProductionJobConfig
453
457
  from openapi_client.models.production_job_event import ProductionJobEvent
@@ -615,7 +619,10 @@ from openapi_client.models.waitliststatusresponse_response import Waitliststatus
615
619
  from openapi_client.models.wand_b_run_details import WandBRunDetails
616
620
  from openapi_client.models.worker_node_type import WorkerNodeType
617
621
  from openapi_client.models.workload_info import WorkloadInfo
622
+ from openapi_client.models.workload_machine_info import WorkloadMachineInfo
623
+ from openapi_client.models.workload_state_info import WorkloadStateInfo
618
624
  from openapi_client.models.workload_type import WorkloadType
625
+ from openapi_client.models.workloadstateinfo_list_response import WorkloadstateinfoListResponse
619
626
  from openapi_client.models.workspace_dataplane_artifact import WorkspaceDataplaneArtifact
620
627
  from openapi_client.models.workspace_dataplane_artifacts import WorkspaceDataplaneArtifacts
621
628
  from openapi_client.models.workspace_dataplane_proxied_artifacts import WorkspaceDataplaneProxiedArtifacts
@@ -8419,6 +8419,138 @@ class DefaultApi(object):
8419
8419
  _request_timeout=local_var_params.get('_request_timeout'),
8420
8420
  collection_formats=collection_formats)
8421
8421
 
8422
+ def describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post(self, describe_machine_pool_workloads_request, **kwargs): # noqa: E501
8423
+ """Describe Machine Pool Workloads # noqa: E501
8424
+
8425
+ Describe the currently allocated workloads in a machine pool. # noqa: E501
8426
+ This method makes a synchronous HTTP request by default. To make an
8427
+ asynchronous HTTP request, please pass async_req=True
8428
+ >>> thread = api.describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post(describe_machine_pool_workloads_request, async_req=True)
8429
+ >>> result = thread.get()
8430
+
8431
+ :param async_req bool: execute request asynchronously
8432
+ :param DescribeMachinePoolWorkloadsRequest describe_machine_pool_workloads_request: (required)
8433
+ :param str paging_token:
8434
+ :param int count:
8435
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
8436
+ be returned without reading/decoding response
8437
+ data. Default is True.
8438
+ :param _request_timeout: timeout setting for this request. If one
8439
+ number provided, it will be total request
8440
+ timeout. It can also be a pair (tuple) of
8441
+ (connection, read) timeouts.
8442
+ :return: WorkloadstateinfoListResponse
8443
+ If the method is called asynchronously,
8444
+ returns the request thread.
8445
+ """
8446
+ kwargs['_return_http_data_only'] = True
8447
+ return self.describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post_with_http_info(describe_machine_pool_workloads_request, **kwargs) # noqa: E501
8448
+
8449
+ def describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post_with_http_info(self, describe_machine_pool_workloads_request, **kwargs): # noqa: E501
8450
+ """Describe Machine Pool Workloads # noqa: E501
8451
+
8452
+ Describe the currently allocated workloads in a machine pool. # noqa: E501
8453
+ This method makes a synchronous HTTP request by default. To make an
8454
+ asynchronous HTTP request, please pass async_req=True
8455
+ >>> thread = api.describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post_with_http_info(describe_machine_pool_workloads_request, async_req=True)
8456
+ >>> result = thread.get()
8457
+
8458
+ :param async_req bool: execute request asynchronously
8459
+ :param DescribeMachinePoolWorkloadsRequest describe_machine_pool_workloads_request: (required)
8460
+ :param str paging_token:
8461
+ :param int count:
8462
+ :param _return_http_data_only: response data without head status code
8463
+ and headers
8464
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
8465
+ be returned without reading/decoding response
8466
+ data. Default is True.
8467
+ :param _request_timeout: timeout setting for this request. If one
8468
+ number provided, it will be total request
8469
+ timeout. It can also be a pair (tuple) of
8470
+ (connection, read) timeouts.
8471
+ :return: tuple(WorkloadstateinfoListResponse, status_code(int), headers(HTTPHeaderDict))
8472
+ If the method is called asynchronously,
8473
+ returns the request thread.
8474
+ """
8475
+
8476
+ local_var_params = locals()
8477
+
8478
+ all_params = [
8479
+ 'describe_machine_pool_workloads_request',
8480
+ 'paging_token',
8481
+ 'count'
8482
+ ]
8483
+ all_params.extend(
8484
+ [
8485
+ 'async_req',
8486
+ '_return_http_data_only',
8487
+ '_preload_content',
8488
+ '_request_timeout'
8489
+ ]
8490
+ )
8491
+
8492
+ for key, val in six.iteritems(local_var_params['kwargs']):
8493
+ if key not in all_params:
8494
+ raise ApiTypeError(
8495
+ "Got an unexpected keyword argument '%s'"
8496
+ " to method describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post" % key
8497
+ )
8498
+ local_var_params[key] = val
8499
+ del local_var_params['kwargs']
8500
+ # verify the required parameter 'describe_machine_pool_workloads_request' is set
8501
+ if self.api_client.client_side_validation and ('describe_machine_pool_workloads_request' not in local_var_params or # noqa: E501
8502
+ local_var_params['describe_machine_pool_workloads_request'] is None): # noqa: E501
8503
+ raise ApiValueError("Missing the required parameter `describe_machine_pool_workloads_request` when calling `describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post`") # noqa: E501
8504
+
8505
+ if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
8506
+ raise ApiValueError("Invalid value for parameter `count` when calling `describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post`, must be a value less than or equal to `1000`") # noqa: E501
8507
+ if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
8508
+ raise ApiValueError("Invalid value for parameter `count` when calling `describe_machine_pool_workloads_api_v2_machine_pools_describe_workloads_post`, must be a value greater than or equal to `0`") # noqa: E501
8509
+ collection_formats = {}
8510
+
8511
+ path_params = {}
8512
+
8513
+ query_params = []
8514
+ if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
8515
+ query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
8516
+ if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
8517
+ query_params.append(('count', local_var_params['count'])) # noqa: E501
8518
+
8519
+ header_params = {}
8520
+
8521
+ form_params = []
8522
+ local_var_files = {}
8523
+
8524
+ body_params = None
8525
+ if 'describe_machine_pool_workloads_request' in local_var_params:
8526
+ body_params = local_var_params['describe_machine_pool_workloads_request']
8527
+ # HTTP header `Accept`
8528
+ header_params['Accept'] = self.api_client.select_header_accept(
8529
+ ['application/json']) # noqa: E501
8530
+
8531
+ # HTTP header `Content-Type`
8532
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
8533
+ ['application/json']) # noqa: E501
8534
+
8535
+ # Authentication setting
8536
+ auth_settings = [] # noqa: E501
8537
+
8538
+ return self.api_client.call_api(
8539
+ '/api/v2/machine_pools/describe_workloads', 'POST',
8540
+ path_params,
8541
+ query_params,
8542
+ header_params,
8543
+ body=body_params,
8544
+ post_params=form_params,
8545
+ files=local_var_files,
8546
+ response_type='WorkloadstateinfoListResponse', # noqa: E501
8547
+ auth_settings=auth_settings,
8548
+ async_req=local_var_params.get('async_req'),
8549
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
8550
+ _preload_content=local_var_params.get('_preload_content', True),
8551
+ _request_timeout=local_var_params.get('_request_timeout'),
8552
+ collection_formats=collection_formats)
8553
+
8422
8554
  def describe_system_workload_api_v2_system_workload_cloud_id_describe_post(self, cloud_id, workload_name, **kwargs): # noqa: E501
8423
8555
  """Describe System Workload # noqa: E501
8424
8556
 
@@ -16939,7 +17071,7 @@ class DefaultApi(object):
16939
17071
  def get_plan_status_api_v2_organization_billing_plan_status_get(self, **kwargs): # noqa: E501
16940
17072
  """Get Plan Status # noqa: E501
16941
17073
 
16942
- Returns the plan status for this user: True if the organization has ever been on a plan, False otherwise. # noqa: E501
17074
+ Returns the plan status for this user. # noqa: E501
16943
17075
  This method makes a synchronous HTTP request by default. To make an
16944
17076
  asynchronous HTTP request, please pass async_req=True
16945
17077
  >>> thread = api.get_plan_status_api_v2_organization_billing_plan_status_get(async_req=True)
@@ -16953,7 +17085,7 @@ class DefaultApi(object):
16953
17085
  number provided, it will be total request
16954
17086
  timeout. It can also be a pair (tuple) of
16955
17087
  (connection, read) timeouts.
16956
- :return: bool
17088
+ :return: PlanStatus
16957
17089
  If the method is called asynchronously,
16958
17090
  returns the request thread.
16959
17091
  """
@@ -16963,7 +17095,7 @@ class DefaultApi(object):
16963
17095
  def get_plan_status_api_v2_organization_billing_plan_status_get_with_http_info(self, **kwargs): # noqa: E501
16964
17096
  """Get Plan Status # noqa: E501
16965
17097
 
16966
- Returns the plan status for this user: True if the organization has ever been on a plan, False otherwise. # noqa: E501
17098
+ Returns the plan status for this user. # noqa: E501
16967
17099
  This method makes a synchronous HTTP request by default. To make an
16968
17100
  asynchronous HTTP request, please pass async_req=True
16969
17101
  >>> thread = api.get_plan_status_api_v2_organization_billing_plan_status_get_with_http_info(async_req=True)
@@ -16979,7 +17111,7 @@ class DefaultApi(object):
16979
17111
  number provided, it will be total request
16980
17112
  timeout. It can also be a pair (tuple) of
16981
17113
  (connection, read) timeouts.
16982
- :return: tuple(bool, status_code(int), headers(HTTPHeaderDict))
17114
+ :return: tuple(PlanStatus, status_code(int), headers(HTTPHeaderDict))
16983
17115
  If the method is called asynchronously,
16984
17116
  returns the request thread.
16985
17117
  """
@@ -17033,7 +17165,7 @@ class DefaultApi(object):
17033
17165
  body=body_params,
17034
17166
  post_params=form_params,
17035
17167
  files=local_var_files,
17036
- response_type='bool', # noqa: E501
17168
+ response_type='PlanStatus', # noqa: E501
17037
17169
  auth_settings=auth_settings,
17038
17170
  async_req=local_var_params.get('async_req'),
17039
17171
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -31572,6 +31704,107 @@ class DefaultApi(object):
31572
31704
  _request_timeout=local_var_params.get('_request_timeout'),
31573
31705
  collection_formats=collection_formats)
31574
31706
 
31707
+ def stripe_success_webhook_api_v2_organization_billing_stripe_success_webhook_post(self, **kwargs): # noqa: E501
31708
+ """Stripe Success Webhook # noqa: E501
31709
+
31710
+ Adds payment info for the first time or updates existing payment info. # noqa: E501
31711
+ This method makes a synchronous HTTP request by default. To make an
31712
+ asynchronous HTTP request, please pass async_req=True
31713
+ >>> thread = api.stripe_success_webhook_api_v2_organization_billing_stripe_success_webhook_post(async_req=True)
31714
+ >>> result = thread.get()
31715
+
31716
+ :param async_req bool: execute request asynchronously
31717
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
31718
+ be returned without reading/decoding response
31719
+ data. Default is True.
31720
+ :param _request_timeout: timeout setting for this request. If one
31721
+ number provided, it will be total request
31722
+ timeout. It can also be a pair (tuple) of
31723
+ (connection, read) timeouts.
31724
+ :return: None
31725
+ If the method is called asynchronously,
31726
+ returns the request thread.
31727
+ """
31728
+ kwargs['_return_http_data_only'] = True
31729
+ return self.stripe_success_webhook_api_v2_organization_billing_stripe_success_webhook_post_with_http_info(**kwargs) # noqa: E501
31730
+
31731
+ def stripe_success_webhook_api_v2_organization_billing_stripe_success_webhook_post_with_http_info(self, **kwargs): # noqa: E501
31732
+ """Stripe Success Webhook # noqa: E501
31733
+
31734
+ Adds payment info for the first time or updates existing payment info. # noqa: E501
31735
+ This method makes a synchronous HTTP request by default. To make an
31736
+ asynchronous HTTP request, please pass async_req=True
31737
+ >>> thread = api.stripe_success_webhook_api_v2_organization_billing_stripe_success_webhook_post_with_http_info(async_req=True)
31738
+ >>> result = thread.get()
31739
+
31740
+ :param async_req bool: execute request asynchronously
31741
+ :param _return_http_data_only: response data without head status code
31742
+ and headers
31743
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
31744
+ be returned without reading/decoding response
31745
+ data. Default is True.
31746
+ :param _request_timeout: timeout setting for this request. If one
31747
+ number provided, it will be total request
31748
+ timeout. It can also be a pair (tuple) of
31749
+ (connection, read) timeouts.
31750
+ :return: None
31751
+ If the method is called asynchronously,
31752
+ returns the request thread.
31753
+ """
31754
+
31755
+ local_var_params = locals()
31756
+
31757
+ all_params = [
31758
+ ]
31759
+ all_params.extend(
31760
+ [
31761
+ 'async_req',
31762
+ '_return_http_data_only',
31763
+ '_preload_content',
31764
+ '_request_timeout'
31765
+ ]
31766
+ )
31767
+
31768
+ for key, val in six.iteritems(local_var_params['kwargs']):
31769
+ if key not in all_params:
31770
+ raise ApiTypeError(
31771
+ "Got an unexpected keyword argument '%s'"
31772
+ " to method stripe_success_webhook_api_v2_organization_billing_stripe_success_webhook_post" % key
31773
+ )
31774
+ local_var_params[key] = val
31775
+ del local_var_params['kwargs']
31776
+
31777
+ collection_formats = {}
31778
+
31779
+ path_params = {}
31780
+
31781
+ query_params = []
31782
+
31783
+ header_params = {}
31784
+
31785
+ form_params = []
31786
+ local_var_files = {}
31787
+
31788
+ body_params = None
31789
+ # Authentication setting
31790
+ auth_settings = [] # noqa: E501
31791
+
31792
+ return self.api_client.call_api(
31793
+ '/api/v2/organization_billing/stripe_success_webhook', 'POST',
31794
+ path_params,
31795
+ query_params,
31796
+ header_params,
31797
+ body=body_params,
31798
+ post_params=form_params,
31799
+ files=local_var_files,
31800
+ response_type=None, # noqa: E501
31801
+ auth_settings=auth_settings,
31802
+ async_req=local_var_params.get('async_req'),
31803
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
31804
+ _preload_content=local_var_params.get('_preload_content', True),
31805
+ _request_timeout=local_var_params.get('_request_timeout'),
31806
+ collection_formats=collection_formats)
31807
+
31575
31808
  def summarize_machine_pool_api_v2_machine_pools_summary_post(self, summarize_machine_pool_request, **kwargs): # noqa: E501
31576
31809
  """Summarize Machine Pool # noqa: E501
31577
31810
 
@@ -264,8 +264,11 @@ from openapi_client.models.deletemachinepoolresponse_response import Deletemachi
264
264
  from openapi_client.models.describe_machine_pool_machines_filters import DescribeMachinePoolMachinesFilters
265
265
  from openapi_client.models.describe_machine_pool_machines_request import DescribeMachinePoolMachinesRequest
266
266
  from openapi_client.models.describe_machine_pool_request import DescribeMachinePoolRequest
267
+ from openapi_client.models.describe_machine_pool_requests_filters import DescribeMachinePoolRequestsFilters
267
268
  from openapi_client.models.describe_machine_pool_requests_request import DescribeMachinePoolRequestsRequest
268
269
  from openapi_client.models.describe_machine_pool_response import DescribeMachinePoolResponse
270
+ from openapi_client.models.describe_machine_pool_workloads_filters import DescribeMachinePoolWorkloadsFilters
271
+ from openapi_client.models.describe_machine_pool_workloads_request import DescribeMachinePoolWorkloadsRequest
269
272
  from openapi_client.models.describe_system_workload_response import DescribeSystemWorkloadResponse
270
273
  from openapi_client.models.describemachinepoolresponse_response import DescribemachinepoolresponseResponse
271
274
  from openapi_client.models.describesystemworkloadresponse_response import DescribesystemworkloadresponseResponse
@@ -434,6 +437,7 @@ from openapi_client.models.page_query import PageQuery
434
437
  from openapi_client.models.partition_info import PartitionInfo
435
438
  from openapi_client.models.pause_schedule import PauseSchedule
436
439
  from openapi_client.models.permission_level import PermissionLevel
440
+ from openapi_client.models.plan_status import PlanStatus
437
441
  from openapi_client.models.production_job import ProductionJob
438
442
  from openapi_client.models.production_job_config import ProductionJobConfig
439
443
  from openapi_client.models.production_job_event import ProductionJobEvent
@@ -601,7 +605,10 @@ from openapi_client.models.waitliststatusresponse_response import Waitliststatus
601
605
  from openapi_client.models.wand_b_run_details import WandBRunDetails
602
606
  from openapi_client.models.worker_node_type import WorkerNodeType
603
607
  from openapi_client.models.workload_info import WorkloadInfo
608
+ from openapi_client.models.workload_machine_info import WorkloadMachineInfo
609
+ from openapi_client.models.workload_state_info import WorkloadStateInfo
604
610
  from openapi_client.models.workload_type import WorkloadType
611
+ from openapi_client.models.workloadstateinfo_list_response import WorkloadstateinfoListResponse
605
612
  from openapi_client.models.workspace_dataplane_artifact import WorkspaceDataplaneArtifact
606
613
  from openapi_client.models.workspace_dataplane_artifacts import WorkspaceDataplaneArtifacts
607
614
  from openapi_client.models.workspace_dataplane_proxied_artifacts import WorkspaceDataplaneProxiedArtifacts