anyscale 0.26.17__py3-none-any.whl → 0.26.18__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 (36) hide show
  1. anyscale/anyscale-cloud-setup.yaml +0 -4
  2. anyscale/client/README.md +0 -37
  3. anyscale/client/openapi_client/__init__.py +0 -20
  4. anyscale/client/openapi_client/api/default_api.py +192 -2193
  5. anyscale/client/openapi_client/models/__init__.py +0 -20
  6. anyscale/commands/cloud_commands.py +32 -4
  7. anyscale/connect_utils/prepare_cluster.py +19 -14
  8. anyscale/controllers/cloud_controller.py +23 -3
  9. anyscale/version.py +1 -1
  10. {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/METADATA +1 -1
  11. {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/RECORD +16 -36
  12. anyscale/client/openapi_client/models/archived_logs_info.py +0 -164
  13. anyscale/client/openapi_client/models/archivedlogsinfo_response.py +0 -121
  14. anyscale/client/openapi_client/models/create_experimental_workspace_from_job.py +0 -123
  15. anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +0 -538
  16. anyscale/client/openapi_client/models/create_session_in_db.py +0 -434
  17. anyscale/client/openapi_client/models/create_session_response.py +0 -174
  18. anyscale/client/openapi_client/models/createsessionresponse_response.py +0 -121
  19. anyscale/client/openapi_client/models/external_service_status.py +0 -147
  20. anyscale/client/openapi_client/models/external_service_status_response.py +0 -250
  21. anyscale/client/openapi_client/models/externalservicestatusresponse_response.py +0 -121
  22. anyscale/client/openapi_client/models/monitor_logs_extension.py +0 -100
  23. anyscale/client/openapi_client/models/session_describe.py +0 -175
  24. anyscale/client/openapi_client/models/session_details.py +0 -148
  25. anyscale/client/openapi_client/models/session_history_item.py +0 -146
  26. anyscale/client/openapi_client/models/sessiondescribe_response.py +0 -121
  27. anyscale/client/openapi_client/models/sessiondetails_response.py +0 -121
  28. anyscale/client/openapi_client/models/sessionhistoryitem_list_response.py +0 -147
  29. anyscale/client/openapi_client/models/update_compute_template.py +0 -146
  30. anyscale/client/openapi_client/models/update_compute_template_config.py +0 -464
  31. anyscale/client/openapi_client/models/webterminal_list_response.py +0 -147
  32. {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/LICENSE +0 -0
  33. {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/NOTICE +0 -0
  34. {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/WHEEL +0 -0
  35. {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/entry_points.txt +0 -0
  36. {anyscale-0.26.17.dist-info → anyscale-0.26.18.dist-info}/top_level.txt +0 -0
@@ -895,120 +895,6 @@ class DefaultApi(object):
895
895
  _request_timeout=local_var_params.get('_request_timeout'),
896
896
  collection_formats=collection_formats)
897
897
 
898
- def archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post(self, cluster_id, **kwargs): # noqa: E501
899
- """Archive Cluster # noqa: E501
900
-
901
- Archives the cluster. It is a no-op if the cluster is already archived. # noqa: E501
902
- This method makes a synchronous HTTP request by default. To make an
903
- asynchronous HTTP request, please pass async_req=True
904
- >>> thread = api.archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post(cluster_id, async_req=True)
905
- >>> result = thread.get()
906
-
907
- :param async_req bool: execute request asynchronously
908
- :param str cluster_id: (required)
909
- :param _preload_content: if False, the urllib3.HTTPResponse object will
910
- be returned without reading/decoding response
911
- data. Default is True.
912
- :param _request_timeout: timeout setting for this request. If one
913
- number provided, it will be total request
914
- timeout. It can also be a pair (tuple) of
915
- (connection, read) timeouts.
916
- :return: None
917
- If the method is called asynchronously,
918
- returns the request thread.
919
- """
920
- kwargs['_return_http_data_only'] = True
921
- return self.archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post_with_http_info(cluster_id, **kwargs) # noqa: E501
922
-
923
- def archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post_with_http_info(self, cluster_id, **kwargs): # noqa: E501
924
- """Archive Cluster # noqa: E501
925
-
926
- Archives the cluster. It is a no-op if the cluster is already archived. # noqa: E501
927
- This method makes a synchronous HTTP request by default. To make an
928
- asynchronous HTTP request, please pass async_req=True
929
- >>> thread = api.archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post_with_http_info(cluster_id, async_req=True)
930
- >>> result = thread.get()
931
-
932
- :param async_req bool: execute request asynchronously
933
- :param str cluster_id: (required)
934
- :param _return_http_data_only: response data without head status code
935
- and headers
936
- :param _preload_content: if False, the urllib3.HTTPResponse object will
937
- be returned without reading/decoding response
938
- data. Default is True.
939
- :param _request_timeout: timeout setting for this request. If one
940
- number provided, it will be total request
941
- timeout. It can also be a pair (tuple) of
942
- (connection, read) timeouts.
943
- :return: None
944
- If the method is called asynchronously,
945
- returns the request thread.
946
- """
947
-
948
- local_var_params = locals()
949
-
950
- all_params = [
951
- 'cluster_id'
952
- ]
953
- all_params.extend(
954
- [
955
- 'async_req',
956
- '_return_http_data_only',
957
- '_preload_content',
958
- '_request_timeout'
959
- ]
960
- )
961
-
962
- for key, val in six.iteritems(local_var_params['kwargs']):
963
- if key not in all_params:
964
- raise ApiTypeError(
965
- "Got an unexpected keyword argument '%s'"
966
- " to method archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post" % key
967
- )
968
- local_var_params[key] = val
969
- del local_var_params['kwargs']
970
- # verify the required parameter 'cluster_id' is set
971
- if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
972
- local_var_params['cluster_id'] is None): # noqa: E501
973
- raise ApiValueError("Missing the required parameter `cluster_id` when calling `archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post`") # noqa: E501
974
-
975
- collection_formats = {}
976
-
977
- path_params = {}
978
- if 'cluster_id' in local_var_params:
979
- path_params['cluster_id'] = local_var_params['cluster_id'] # noqa: E501
980
-
981
- query_params = []
982
-
983
- header_params = {}
984
-
985
- form_params = []
986
- local_var_files = {}
987
-
988
- body_params = None
989
- # HTTP header `Accept`
990
- header_params['Accept'] = self.api_client.select_header_accept(
991
- ['application/json']) # noqa: E501
992
-
993
- # Authentication setting
994
- auth_settings = [] # noqa: E501
995
-
996
- return self.api_client.call_api(
997
- '/api/v2/decorated_sessions/{cluster_id}/archive', 'POST',
998
- path_params,
999
- query_params,
1000
- header_params,
1001
- body=body_params,
1002
- post_params=form_params,
1003
- files=local_var_files,
1004
- response_type=None, # noqa: E501
1005
- auth_settings=auth_settings,
1006
- async_req=local_var_params.get('async_req'),
1007
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
1008
- _preload_content=local_var_params.get('_preload_content', True),
1009
- _request_timeout=local_var_params.get('_request_timeout'),
1010
- collection_formats=collection_formats)
1011
-
1012
898
  def archive_cluster_environment_api_v2_application_templates_application_template_id_archive_post(self, application_template_id, **kwargs): # noqa: E501
1013
899
  """Archive Cluster Environment # noqa: E501
1014
900
 
@@ -4524,124 +4410,6 @@ class DefaultApi(object):
4524
4410
  _request_timeout=local_var_params.get('_request_timeout'),
4525
4411
  collection_formats=collection_formats)
4526
4412
 
4527
- def create_connect_session_api_v2_sessions_create_connect_session_post(self, create_session_in_db, **kwargs): # noqa: E501
4528
- """Create Connect Session # noqa: E501
4529
-
4530
- Creates a session for anyscale connect. # noqa: E501
4531
- This method makes a synchronous HTTP request by default. To make an
4532
- asynchronous HTTP request, please pass async_req=True
4533
- >>> thread = api.create_connect_session_api_v2_sessions_create_connect_session_post(create_session_in_db, async_req=True)
4534
- >>> result = thread.get()
4535
-
4536
- :param async_req bool: execute request asynchronously
4537
- :param CreateSessionInDb create_session_in_db: (required)
4538
- :param _preload_content: if False, the urllib3.HTTPResponse object will
4539
- be returned without reading/decoding response
4540
- data. Default is True.
4541
- :param _request_timeout: timeout setting for this request. If one
4542
- number provided, it will be total request
4543
- timeout. It can also be a pair (tuple) of
4544
- (connection, read) timeouts.
4545
- :return: SessionResponse
4546
- If the method is called asynchronously,
4547
- returns the request thread.
4548
- """
4549
- kwargs['_return_http_data_only'] = True
4550
- return self.create_connect_session_api_v2_sessions_create_connect_session_post_with_http_info(create_session_in_db, **kwargs) # noqa: E501
4551
-
4552
- def create_connect_session_api_v2_sessions_create_connect_session_post_with_http_info(self, create_session_in_db, **kwargs): # noqa: E501
4553
- """Create Connect Session # noqa: E501
4554
-
4555
- Creates a session for anyscale connect. # noqa: E501
4556
- This method makes a synchronous HTTP request by default. To make an
4557
- asynchronous HTTP request, please pass async_req=True
4558
- >>> thread = api.create_connect_session_api_v2_sessions_create_connect_session_post_with_http_info(create_session_in_db, async_req=True)
4559
- >>> result = thread.get()
4560
-
4561
- :param async_req bool: execute request asynchronously
4562
- :param CreateSessionInDb create_session_in_db: (required)
4563
- :param _return_http_data_only: response data without head status code
4564
- and headers
4565
- :param _preload_content: if False, the urllib3.HTTPResponse object will
4566
- be returned without reading/decoding response
4567
- data. Default is True.
4568
- :param _request_timeout: timeout setting for this request. If one
4569
- number provided, it will be total request
4570
- timeout. It can also be a pair (tuple) of
4571
- (connection, read) timeouts.
4572
- :return: tuple(SessionResponse, status_code(int), headers(HTTPHeaderDict))
4573
- If the method is called asynchronously,
4574
- returns the request thread.
4575
- """
4576
-
4577
- local_var_params = locals()
4578
-
4579
- all_params = [
4580
- 'create_session_in_db'
4581
- ]
4582
- all_params.extend(
4583
- [
4584
- 'async_req',
4585
- '_return_http_data_only',
4586
- '_preload_content',
4587
- '_request_timeout'
4588
- ]
4589
- )
4590
-
4591
- for key, val in six.iteritems(local_var_params['kwargs']):
4592
- if key not in all_params:
4593
- raise ApiTypeError(
4594
- "Got an unexpected keyword argument '%s'"
4595
- " to method create_connect_session_api_v2_sessions_create_connect_session_post" % key
4596
- )
4597
- local_var_params[key] = val
4598
- del local_var_params['kwargs']
4599
- # verify the required parameter 'create_session_in_db' is set
4600
- if self.api_client.client_side_validation and ('create_session_in_db' not in local_var_params or # noqa: E501
4601
- local_var_params['create_session_in_db'] is None): # noqa: E501
4602
- raise ApiValueError("Missing the required parameter `create_session_in_db` when calling `create_connect_session_api_v2_sessions_create_connect_session_post`") # noqa: E501
4603
-
4604
- collection_formats = {}
4605
-
4606
- path_params = {}
4607
-
4608
- query_params = []
4609
-
4610
- header_params = {}
4611
-
4612
- form_params = []
4613
- local_var_files = {}
4614
-
4615
- body_params = None
4616
- if 'create_session_in_db' in local_var_params:
4617
- body_params = local_var_params['create_session_in_db']
4618
- # HTTP header `Accept`
4619
- header_params['Accept'] = self.api_client.select_header_accept(
4620
- ['application/json']) # noqa: E501
4621
-
4622
- # HTTP header `Content-Type`
4623
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4624
- ['application/json']) # noqa: E501
4625
-
4626
- # Authentication setting
4627
- auth_settings = [] # noqa: E501
4628
-
4629
- return self.api_client.call_api(
4630
- '/api/v2/sessions/create_connect_session', 'POST',
4631
- path_params,
4632
- query_params,
4633
- header_params,
4634
- body=body_params,
4635
- post_params=form_params,
4636
- files=local_var_files,
4637
- response_type='SessionResponse', # noqa: E501
4638
- auth_settings=auth_settings,
4639
- async_req=local_var_params.get('async_req'),
4640
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
4641
- _preload_content=local_var_params.get('_preload_content', True),
4642
- _request_timeout=local_var_params.get('_request_timeout'),
4643
- collection_formats=collection_formats)
4644
-
4645
4413
  def create_dataset_upload_api_v2_datasets_upload_post(self, create_dataset, **kwargs): # noqa: E501
4646
4414
  """Create Dataset Upload # noqa: E501
4647
4415
 
@@ -5464,122 +5232,6 @@ class DefaultApi(object):
5464
5232
  _request_timeout=local_var_params.get('_request_timeout'),
5465
5233
  collection_formats=collection_formats)
5466
5234
 
5467
- def create_new_session_api_v2_sessions_create_new_session_post(self, create_session_from_snapshot_options, **kwargs): # noqa: E501
5468
- """Create New Session # noqa: E501
5469
-
5470
- This method makes a synchronous HTTP request by default. To make an
5471
- asynchronous HTTP request, please pass async_req=True
5472
- >>> thread = api.create_new_session_api_v2_sessions_create_new_session_post(create_session_from_snapshot_options, async_req=True)
5473
- >>> result = thread.get()
5474
-
5475
- :param async_req bool: execute request asynchronously
5476
- :param CreateSessionFromSnapshotOptions create_session_from_snapshot_options: (required)
5477
- :param _preload_content: if False, the urllib3.HTTPResponse object will
5478
- be returned without reading/decoding response
5479
- data. Default is True.
5480
- :param _request_timeout: timeout setting for this request. If one
5481
- number provided, it will be total request
5482
- timeout. It can also be a pair (tuple) of
5483
- (connection, read) timeouts.
5484
- :return: CreatesessionresponseResponse
5485
- If the method is called asynchronously,
5486
- returns the request thread.
5487
- """
5488
- kwargs['_return_http_data_only'] = True
5489
- return self.create_new_session_api_v2_sessions_create_new_session_post_with_http_info(create_session_from_snapshot_options, **kwargs) # noqa: E501
5490
-
5491
- def create_new_session_api_v2_sessions_create_new_session_post_with_http_info(self, create_session_from_snapshot_options, **kwargs): # noqa: E501
5492
- """Create New Session # noqa: E501
5493
-
5494
- This method makes a synchronous HTTP request by default. To make an
5495
- asynchronous HTTP request, please pass async_req=True
5496
- >>> thread = api.create_new_session_api_v2_sessions_create_new_session_post_with_http_info(create_session_from_snapshot_options, async_req=True)
5497
- >>> result = thread.get()
5498
-
5499
- :param async_req bool: execute request asynchronously
5500
- :param CreateSessionFromSnapshotOptions create_session_from_snapshot_options: (required)
5501
- :param _return_http_data_only: response data without head status code
5502
- and headers
5503
- :param _preload_content: if False, the urllib3.HTTPResponse object will
5504
- be returned without reading/decoding response
5505
- data. Default is True.
5506
- :param _request_timeout: timeout setting for this request. If one
5507
- number provided, it will be total request
5508
- timeout. It can also be a pair (tuple) of
5509
- (connection, read) timeouts.
5510
- :return: tuple(CreatesessionresponseResponse, status_code(int), headers(HTTPHeaderDict))
5511
- If the method is called asynchronously,
5512
- returns the request thread.
5513
- """
5514
-
5515
- local_var_params = locals()
5516
-
5517
- all_params = [
5518
- 'create_session_from_snapshot_options'
5519
- ]
5520
- all_params.extend(
5521
- [
5522
- 'async_req',
5523
- '_return_http_data_only',
5524
- '_preload_content',
5525
- '_request_timeout'
5526
- ]
5527
- )
5528
-
5529
- for key, val in six.iteritems(local_var_params['kwargs']):
5530
- if key not in all_params:
5531
- raise ApiTypeError(
5532
- "Got an unexpected keyword argument '%s'"
5533
- " to method create_new_session_api_v2_sessions_create_new_session_post" % key
5534
- )
5535
- local_var_params[key] = val
5536
- del local_var_params['kwargs']
5537
- # verify the required parameter 'create_session_from_snapshot_options' is set
5538
- if self.api_client.client_side_validation and ('create_session_from_snapshot_options' not in local_var_params or # noqa: E501
5539
- local_var_params['create_session_from_snapshot_options'] is None): # noqa: E501
5540
- raise ApiValueError("Missing the required parameter `create_session_from_snapshot_options` when calling `create_new_session_api_v2_sessions_create_new_session_post`") # noqa: E501
5541
-
5542
- collection_formats = {}
5543
-
5544
- path_params = {}
5545
-
5546
- query_params = []
5547
-
5548
- header_params = {}
5549
-
5550
- form_params = []
5551
- local_var_files = {}
5552
-
5553
- body_params = None
5554
- if 'create_session_from_snapshot_options' in local_var_params:
5555
- body_params = local_var_params['create_session_from_snapshot_options']
5556
- # HTTP header `Accept`
5557
- header_params['Accept'] = self.api_client.select_header_accept(
5558
- ['application/json']) # noqa: E501
5559
-
5560
- # HTTP header `Content-Type`
5561
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
5562
- ['application/json']) # noqa: E501
5563
-
5564
- # Authentication setting
5565
- auth_settings = [] # noqa: E501
5566
-
5567
- return self.api_client.call_api(
5568
- '/api/v2/sessions/create_new_session', 'POST',
5569
- path_params,
5570
- query_params,
5571
- header_params,
5572
- body=body_params,
5573
- post_params=form_params,
5574
- files=local_var_files,
5575
- response_type='CreatesessionresponseResponse', # noqa: E501
5576
- auth_settings=auth_settings,
5577
- async_req=local_var_params.get('async_req'),
5578
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
5579
- _preload_content=local_var_params.get('_preload_content', True),
5580
- _request_timeout=local_var_params.get('_request_timeout'),
5581
- collection_formats=collection_formats)
5582
-
5583
5235
  def create_one_time_password_api_v2_users_create_otp_token_get(self, **kwargs): # noqa: E501
5584
5236
  """Create One Time Password # noqa: E501
5585
5237
 
@@ -6870,124 +6522,6 @@ class DefaultApi(object):
6870
6522
  _request_timeout=local_var_params.get('_request_timeout'),
6871
6523
  collection_formats=collection_formats)
6872
6524
 
6873
- def create_workspace_from_job_api_v2_experimental_workspaces_from_job_post(self, create_experimental_workspace_from_job, **kwargs): # noqa: E501
6874
- """Create Workspace From Job # noqa: E501
6875
-
6876
- Creates a Workspace from a job. # noqa: E501
6877
- This method makes a synchronous HTTP request by default. To make an
6878
- asynchronous HTTP request, please pass async_req=True
6879
- >>> thread = api.create_workspace_from_job_api_v2_experimental_workspaces_from_job_post(create_experimental_workspace_from_job, async_req=True)
6880
- >>> result = thread.get()
6881
-
6882
- :param async_req bool: execute request asynchronously
6883
- :param CreateExperimentalWorkspaceFromJob create_experimental_workspace_from_job: (required)
6884
- :param _preload_content: if False, the urllib3.HTTPResponse object will
6885
- be returned without reading/decoding response
6886
- data. Default is True.
6887
- :param _request_timeout: timeout setting for this request. If one
6888
- number provided, it will be total request
6889
- timeout. It can also be a pair (tuple) of
6890
- (connection, read) timeouts.
6891
- :return: ExperimentalworkspaceResponse
6892
- If the method is called asynchronously,
6893
- returns the request thread.
6894
- """
6895
- kwargs['_return_http_data_only'] = True
6896
- return self.create_workspace_from_job_api_v2_experimental_workspaces_from_job_post_with_http_info(create_experimental_workspace_from_job, **kwargs) # noqa: E501
6897
-
6898
- def create_workspace_from_job_api_v2_experimental_workspaces_from_job_post_with_http_info(self, create_experimental_workspace_from_job, **kwargs): # noqa: E501
6899
- """Create Workspace From Job # noqa: E501
6900
-
6901
- Creates a Workspace from a job. # noqa: E501
6902
- This method makes a synchronous HTTP request by default. To make an
6903
- asynchronous HTTP request, please pass async_req=True
6904
- >>> thread = api.create_workspace_from_job_api_v2_experimental_workspaces_from_job_post_with_http_info(create_experimental_workspace_from_job, async_req=True)
6905
- >>> result = thread.get()
6906
-
6907
- :param async_req bool: execute request asynchronously
6908
- :param CreateExperimentalWorkspaceFromJob create_experimental_workspace_from_job: (required)
6909
- :param _return_http_data_only: response data without head status code
6910
- and headers
6911
- :param _preload_content: if False, the urllib3.HTTPResponse object will
6912
- be returned without reading/decoding response
6913
- data. Default is True.
6914
- :param _request_timeout: timeout setting for this request. If one
6915
- number provided, it will be total request
6916
- timeout. It can also be a pair (tuple) of
6917
- (connection, read) timeouts.
6918
- :return: tuple(ExperimentalworkspaceResponse, status_code(int), headers(HTTPHeaderDict))
6919
- If the method is called asynchronously,
6920
- returns the request thread.
6921
- """
6922
-
6923
- local_var_params = locals()
6924
-
6925
- all_params = [
6926
- 'create_experimental_workspace_from_job'
6927
- ]
6928
- all_params.extend(
6929
- [
6930
- 'async_req',
6931
- '_return_http_data_only',
6932
- '_preload_content',
6933
- '_request_timeout'
6934
- ]
6935
- )
6936
-
6937
- for key, val in six.iteritems(local_var_params['kwargs']):
6938
- if key not in all_params:
6939
- raise ApiTypeError(
6940
- "Got an unexpected keyword argument '%s'"
6941
- " to method create_workspace_from_job_api_v2_experimental_workspaces_from_job_post" % key
6942
- )
6943
- local_var_params[key] = val
6944
- del local_var_params['kwargs']
6945
- # verify the required parameter 'create_experimental_workspace_from_job' is set
6946
- if self.api_client.client_side_validation and ('create_experimental_workspace_from_job' not in local_var_params or # noqa: E501
6947
- local_var_params['create_experimental_workspace_from_job'] is None): # noqa: E501
6948
- raise ApiValueError("Missing the required parameter `create_experimental_workspace_from_job` when calling `create_workspace_from_job_api_v2_experimental_workspaces_from_job_post`") # noqa: E501
6949
-
6950
- collection_formats = {}
6951
-
6952
- path_params = {}
6953
-
6954
- query_params = []
6955
-
6956
- header_params = {}
6957
-
6958
- form_params = []
6959
- local_var_files = {}
6960
-
6961
- body_params = None
6962
- if 'create_experimental_workspace_from_job' in local_var_params:
6963
- body_params = local_var_params['create_experimental_workspace_from_job']
6964
- # HTTP header `Accept`
6965
- header_params['Accept'] = self.api_client.select_header_accept(
6966
- ['application/json']) # noqa: E501
6967
-
6968
- # HTTP header `Content-Type`
6969
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
6970
- ['application/json']) # noqa: E501
6971
-
6972
- # Authentication setting
6973
- auth_settings = [] # noqa: E501
6974
-
6975
- return self.api_client.call_api(
6976
- '/api/v2/experimental_workspaces/from_job', 'POST',
6977
- path_params,
6978
- query_params,
6979
- header_params,
6980
- body=body_params,
6981
- post_params=form_params,
6982
- files=local_var_files,
6983
- response_type='ExperimentalworkspaceResponse', # noqa: E501
6984
- auth_settings=auth_settings,
6985
- async_req=local_var_params.get('async_req'),
6986
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
6987
- _preload_content=local_var_params.get('_preload_content', True),
6988
- _request_timeout=local_var_params.get('_request_timeout'),
6989
- collection_formats=collection_formats)
6990
-
6991
6525
  def create_workspace_from_template_api_v2_experimental_workspaces_from_template_post(self, create_workspace_from_template, **kwargs): # noqa: E501
6992
6526
  """Create Workspace From Template # noqa: E501
6993
6527
 
@@ -8830,129 +8364,6 @@ class DefaultApi(object):
8830
8364
  _request_timeout=local_var_params.get('_request_timeout'),
8831
8365
  collection_formats=collection_formats)
8832
8366
 
8833
- def delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete(self, session_id, terminal_id, **kwargs): # noqa: E501
8834
- """Delete Web Terminals # noqa: E501
8835
-
8836
- DEPRECATED: This API is no deprecated and will not be supported in Anyscale 2.0 # noqa: E501
8837
- This method makes a synchronous HTTP request by default. To make an
8838
- asynchronous HTTP request, please pass async_req=True
8839
- >>> thread = api.delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete(session_id, terminal_id, async_req=True)
8840
- >>> result = thread.get()
8841
-
8842
- :param async_req bool: execute request asynchronously
8843
- :param str session_id: (required)
8844
- :param str terminal_id: (required)
8845
- :param _preload_content: if False, the urllib3.HTTPResponse object will
8846
- be returned without reading/decoding response
8847
- data. Default is True.
8848
- :param _request_timeout: timeout setting for this request. If one
8849
- number provided, it will be total request
8850
- timeout. It can also be a pair (tuple) of
8851
- (connection, read) timeouts.
8852
- :return: None
8853
- If the method is called asynchronously,
8854
- returns the request thread.
8855
- """
8856
- kwargs['_return_http_data_only'] = True
8857
- return self.delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete_with_http_info(session_id, terminal_id, **kwargs) # noqa: E501
8858
-
8859
- def delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete_with_http_info(self, session_id, terminal_id, **kwargs): # noqa: E501
8860
- """Delete Web Terminals # noqa: E501
8861
-
8862
- DEPRECATED: This API is no deprecated and will not be supported in Anyscale 2.0 # noqa: E501
8863
- This method makes a synchronous HTTP request by default. To make an
8864
- asynchronous HTTP request, please pass async_req=True
8865
- >>> thread = api.delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete_with_http_info(session_id, terminal_id, async_req=True)
8866
- >>> result = thread.get()
8867
-
8868
- :param async_req bool: execute request asynchronously
8869
- :param str session_id: (required)
8870
- :param str terminal_id: (required)
8871
- :param _return_http_data_only: response data without head status code
8872
- and headers
8873
- :param _preload_content: if False, the urllib3.HTTPResponse object will
8874
- be returned without reading/decoding response
8875
- data. Default is True.
8876
- :param _request_timeout: timeout setting for this request. If one
8877
- number provided, it will be total request
8878
- timeout. It can also be a pair (tuple) of
8879
- (connection, read) timeouts.
8880
- :return: None
8881
- If the method is called asynchronously,
8882
- returns the request thread.
8883
- """
8884
-
8885
- local_var_params = locals()
8886
-
8887
- all_params = [
8888
- 'session_id',
8889
- 'terminal_id'
8890
- ]
8891
- all_params.extend(
8892
- [
8893
- 'async_req',
8894
- '_return_http_data_only',
8895
- '_preload_content',
8896
- '_request_timeout'
8897
- ]
8898
- )
8899
-
8900
- for key, val in six.iteritems(local_var_params['kwargs']):
8901
- if key not in all_params:
8902
- raise ApiTypeError(
8903
- "Got an unexpected keyword argument '%s'"
8904
- " to method delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete" % key
8905
- )
8906
- local_var_params[key] = val
8907
- del local_var_params['kwargs']
8908
- # verify the required parameter 'session_id' is set
8909
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
8910
- local_var_params['session_id'] is None): # noqa: E501
8911
- raise ApiValueError("Missing the required parameter `session_id` when calling `delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete`") # noqa: E501
8912
- # verify the required parameter 'terminal_id' is set
8913
- if self.api_client.client_side_validation and ('terminal_id' not in local_var_params or # noqa: E501
8914
- local_var_params['terminal_id'] is None): # noqa: E501
8915
- raise ApiValueError("Missing the required parameter `terminal_id` when calling `delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete`") # noqa: E501
8916
-
8917
- collection_formats = {}
8918
-
8919
- path_params = {}
8920
- if 'session_id' in local_var_params:
8921
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
8922
- if 'terminal_id' in local_var_params:
8923
- path_params['terminal_id'] = local_var_params['terminal_id'] # noqa: E501
8924
-
8925
- query_params = []
8926
-
8927
- header_params = {}
8928
-
8929
- form_params = []
8930
- local_var_files = {}
8931
-
8932
- body_params = None
8933
- # HTTP header `Accept`
8934
- header_params['Accept'] = self.api_client.select_header_accept(
8935
- ['application/json']) # noqa: E501
8936
-
8937
- # Authentication setting
8938
- auth_settings = [] # noqa: E501
8939
-
8940
- return self.api_client.call_api(
8941
- '/api/v2/sessions/{session_id}/web_terminals/{terminal_id}', 'DELETE',
8942
- path_params,
8943
- query_params,
8944
- header_params,
8945
- body=body_params,
8946
- post_params=form_params,
8947
- files=local_var_files,
8948
- response_type=None, # noqa: E501
8949
- auth_settings=auth_settings,
8950
- async_req=local_var_params.get('async_req'),
8951
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
8952
- _preload_content=local_var_params.get('_preload_content', True),
8953
- _request_timeout=local_var_params.get('_request_timeout'),
8954
- collection_formats=collection_formats)
8955
-
8956
8367
  def delete_workspace_api_v2_experimental_workspaces_workspace_id_delete(self, workspace_id, **kwargs): # noqa: E501
8957
8368
  """Delete Workspace # noqa: E501
8958
8369
 
@@ -9185,118 +8596,6 @@ class DefaultApi(object):
9185
8596
  _request_timeout=local_var_params.get('_request_timeout'),
9186
8597
  collection_formats=collection_formats)
9187
8598
 
9188
- def describe_session_api_v2_sessions_session_id_describe_get(self, session_id, **kwargs): # noqa: E501
9189
- """Describe Session # noqa: E501
9190
-
9191
- This method makes a synchronous HTTP request by default. To make an
9192
- asynchronous HTTP request, please pass async_req=True
9193
- >>> thread = api.describe_session_api_v2_sessions_session_id_describe_get(session_id, async_req=True)
9194
- >>> result = thread.get()
9195
-
9196
- :param async_req bool: execute request asynchronously
9197
- :param str session_id: (required)
9198
- :param _preload_content: if False, the urllib3.HTTPResponse object will
9199
- be returned without reading/decoding response
9200
- data. Default is True.
9201
- :param _request_timeout: timeout setting for this request. If one
9202
- number provided, it will be total request
9203
- timeout. It can also be a pair (tuple) of
9204
- (connection, read) timeouts.
9205
- :return: SessiondescribeResponse
9206
- If the method is called asynchronously,
9207
- returns the request thread.
9208
- """
9209
- kwargs['_return_http_data_only'] = True
9210
- return self.describe_session_api_v2_sessions_session_id_describe_get_with_http_info(session_id, **kwargs) # noqa: E501
9211
-
9212
- def describe_session_api_v2_sessions_session_id_describe_get_with_http_info(self, session_id, **kwargs): # noqa: E501
9213
- """Describe Session # noqa: E501
9214
-
9215
- This method makes a synchronous HTTP request by default. To make an
9216
- asynchronous HTTP request, please pass async_req=True
9217
- >>> thread = api.describe_session_api_v2_sessions_session_id_describe_get_with_http_info(session_id, async_req=True)
9218
- >>> result = thread.get()
9219
-
9220
- :param async_req bool: execute request asynchronously
9221
- :param str session_id: (required)
9222
- :param _return_http_data_only: response data without head status code
9223
- and headers
9224
- :param _preload_content: if False, the urllib3.HTTPResponse object will
9225
- be returned without reading/decoding response
9226
- data. Default is True.
9227
- :param _request_timeout: timeout setting for this request. If one
9228
- number provided, it will be total request
9229
- timeout. It can also be a pair (tuple) of
9230
- (connection, read) timeouts.
9231
- :return: tuple(SessiondescribeResponse, status_code(int), headers(HTTPHeaderDict))
9232
- If the method is called asynchronously,
9233
- returns the request thread.
9234
- """
9235
-
9236
- local_var_params = locals()
9237
-
9238
- all_params = [
9239
- 'session_id'
9240
- ]
9241
- all_params.extend(
9242
- [
9243
- 'async_req',
9244
- '_return_http_data_only',
9245
- '_preload_content',
9246
- '_request_timeout'
9247
- ]
9248
- )
9249
-
9250
- for key, val in six.iteritems(local_var_params['kwargs']):
9251
- if key not in all_params:
9252
- raise ApiTypeError(
9253
- "Got an unexpected keyword argument '%s'"
9254
- " to method describe_session_api_v2_sessions_session_id_describe_get" % key
9255
- )
9256
- local_var_params[key] = val
9257
- del local_var_params['kwargs']
9258
- # verify the required parameter 'session_id' is set
9259
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
9260
- local_var_params['session_id'] is None): # noqa: E501
9261
- raise ApiValueError("Missing the required parameter `session_id` when calling `describe_session_api_v2_sessions_session_id_describe_get`") # noqa: E501
9262
-
9263
- collection_formats = {}
9264
-
9265
- path_params = {}
9266
- if 'session_id' in local_var_params:
9267
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
9268
-
9269
- query_params = []
9270
-
9271
- header_params = {}
9272
-
9273
- form_params = []
9274
- local_var_files = {}
9275
-
9276
- body_params = None
9277
- # HTTP header `Accept`
9278
- header_params['Accept'] = self.api_client.select_header_accept(
9279
- ['application/json']) # noqa: E501
9280
-
9281
- # Authentication setting
9282
- auth_settings = [] # noqa: E501
9283
-
9284
- return self.api_client.call_api(
9285
- '/api/v2/sessions/{session_id}/describe', 'GET',
9286
- path_params,
9287
- query_params,
9288
- header_params,
9289
- body=body_params,
9290
- post_params=form_params,
9291
- files=local_var_files,
9292
- response_type='SessiondescribeResponse', # noqa: E501
9293
- auth_settings=auth_settings,
9294
- async_req=local_var_params.get('async_req'),
9295
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
9296
- _preload_content=local_var_params.get('_preload_content', True),
9297
- _request_timeout=local_var_params.get('_request_timeout'),
9298
- collection_formats=collection_formats)
9299
-
9300
8599
  def describe_system_workload_api_v2_system_workload_cloud_id_describe_post(self, cloud_id, workload_name, **kwargs): # noqa: E501
9301
8600
  """Describe System Workload # noqa: E501
9302
8601
 
@@ -15877,20 +15176,16 @@ class DefaultApi(object):
15877
15176
  _request_timeout=local_var_params.get('_request_timeout'),
15878
15177
  collection_formats=collection_formats)
15879
15178
 
15880
- def get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get(self, session_command_id, start_line, end_line, **kwargs): # noqa: E501
15881
- """Get Execution Logs # noqa: E501
15179
+ def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
15180
+ """Get Instance Usage Budget # noqa: E501
15882
15181
 
15883
15182
  This method makes a synchronous HTTP request by default. To make an
15884
15183
  asynchronous HTTP request, please pass async_req=True
15885
- >>> thread = api.get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get(session_command_id, start_line, end_line, async_req=True)
15184
+ >>> thread = api.get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(instance_usage_budget_id, async_req=True)
15886
15185
  >>> result = thread.get()
15887
15186
 
15888
15187
  :param async_req bool: execute request asynchronously
15889
- :param str session_command_id: (required)
15890
- :param int start_line: (required)
15891
- :param int end_line: (required)
15892
- :param str extension:
15893
- :param datetime start_time:
15188
+ :param str instance_usage_budget_id: (required)
15894
15189
  :param _preload_content: if False, the urllib3.HTTPResponse object will
15895
15190
  be returned without reading/decoding response
15896
15191
  data. Default is True.
@@ -15898,27 +15193,23 @@ class DefaultApi(object):
15898
15193
  number provided, it will be total request
15899
15194
  timeout. It can also be a pair (tuple) of
15900
15195
  (connection, read) timeouts.
15901
- :return: LogsoutputResponse
15196
+ :return: InstanceusagebudgetResponse
15902
15197
  If the method is called asynchronously,
15903
15198
  returns the request thread.
15904
15199
  """
15905
15200
  kwargs['_return_http_data_only'] = True
15906
- return self.get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get_with_http_info(session_command_id, start_line, end_line, **kwargs) # noqa: E501
15201
+ return self.get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get_with_http_info(instance_usage_budget_id, **kwargs) # noqa: E501
15907
15202
 
15908
- def get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get_with_http_info(self, session_command_id, start_line, end_line, **kwargs): # noqa: E501
15909
- """Get Execution Logs # noqa: E501
15203
+ def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get_with_http_info(self, instance_usage_budget_id, **kwargs): # noqa: E501
15204
+ """Get Instance Usage Budget # noqa: E501
15910
15205
 
15911
15206
  This method makes a synchronous HTTP request by default. To make an
15912
15207
  asynchronous HTTP request, please pass async_req=True
15913
- >>> thread = api.get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get_with_http_info(session_command_id, start_line, end_line, async_req=True)
15208
+ >>> thread = api.get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get_with_http_info(instance_usage_budget_id, async_req=True)
15914
15209
  >>> result = thread.get()
15915
15210
 
15916
15211
  :param async_req bool: execute request asynchronously
15917
- :param str session_command_id: (required)
15918
- :param int start_line: (required)
15919
- :param int end_line: (required)
15920
- :param str extension:
15921
- :param datetime start_time:
15212
+ :param str instance_usage_budget_id: (required)
15922
15213
  :param _return_http_data_only: response data without head status code
15923
15214
  and headers
15924
15215
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -15928,7 +15219,7 @@ class DefaultApi(object):
15928
15219
  number provided, it will be total request
15929
15220
  timeout. It can also be a pair (tuple) of
15930
15221
  (connection, read) timeouts.
15931
- :return: tuple(LogsoutputResponse, status_code(int), headers(HTTPHeaderDict))
15222
+ :return: tuple(InstanceusagebudgetResponse, status_code(int), headers(HTTPHeaderDict))
15932
15223
  If the method is called asynchronously,
15933
15224
  returns the request thread.
15934
15225
  """
@@ -15936,11 +15227,7 @@ class DefaultApi(object):
15936
15227
  local_var_params = locals()
15937
15228
 
15938
15229
  all_params = [
15939
- 'session_command_id',
15940
- 'start_line',
15941
- 'end_line',
15942
- 'extension',
15943
- 'start_time'
15230
+ 'instance_usage_budget_id'
15944
15231
  ]
15945
15232
  all_params.extend(
15946
15233
  [
@@ -15955,38 +15242,22 @@ class DefaultApi(object):
15955
15242
  if key not in all_params:
15956
15243
  raise ApiTypeError(
15957
15244
  "Got an unexpected keyword argument '%s'"
15958
- " to method get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get" % key
15245
+ " to method get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get" % key
15959
15246
  )
15960
15247
  local_var_params[key] = val
15961
15248
  del local_var_params['kwargs']
15962
- # verify the required parameter 'session_command_id' is set
15963
- if self.api_client.client_side_validation and ('session_command_id' not in local_var_params or # noqa: E501
15964
- local_var_params['session_command_id'] is None): # noqa: E501
15965
- raise ApiValueError("Missing the required parameter `session_command_id` when calling `get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get`") # noqa: E501
15966
- # verify the required parameter 'start_line' is set
15967
- if self.api_client.client_side_validation and ('start_line' not in local_var_params or # noqa: E501
15968
- local_var_params['start_line'] is None): # noqa: E501
15969
- raise ApiValueError("Missing the required parameter `start_line` when calling `get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get`") # noqa: E501
15970
- # verify the required parameter 'end_line' is set
15971
- if self.api_client.client_side_validation and ('end_line' not in local_var_params or # noqa: E501
15972
- local_var_params['end_line'] is None): # noqa: E501
15973
- raise ApiValueError("Missing the required parameter `end_line` when calling `get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get`") # noqa: E501
15249
+ # verify the required parameter 'instance_usage_budget_id' is set
15250
+ if self.api_client.client_side_validation and ('instance_usage_budget_id' not in local_var_params or # noqa: E501
15251
+ local_var_params['instance_usage_budget_id'] is None): # noqa: E501
15252
+ raise ApiValueError("Missing the required parameter `instance_usage_budget_id` when calling `get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get`") # noqa: E501
15974
15253
 
15975
15254
  collection_formats = {}
15976
15255
 
15977
15256
  path_params = {}
15978
- if 'session_command_id' in local_var_params:
15979
- path_params['session_command_id'] = local_var_params['session_command_id'] # noqa: E501
15257
+ if 'instance_usage_budget_id' in local_var_params:
15258
+ path_params['instance_usage_budget_id'] = local_var_params['instance_usage_budget_id'] # noqa: E501
15980
15259
 
15981
15260
  query_params = []
15982
- if 'start_line' in local_var_params and local_var_params['start_line'] is not None: # noqa: E501
15983
- query_params.append(('start_line', local_var_params['start_line'])) # noqa: E501
15984
- if 'end_line' in local_var_params and local_var_params['end_line'] is not None: # noqa: E501
15985
- query_params.append(('end_line', local_var_params['end_line'])) # noqa: E501
15986
- if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
15987
- query_params.append(('extension', local_var_params['extension'])) # noqa: E501
15988
- if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
15989
- query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
15990
15261
 
15991
15262
  header_params = {}
15992
15263
 
@@ -16002,14 +15273,14 @@ class DefaultApi(object):
16002
15273
  auth_settings = [] # noqa: E501
16003
15274
 
16004
15275
  return self.api_client.call_api(
16005
- '/api/v2/session_commands/{session_command_id}/execution_logs', 'GET',
15276
+ '/api/v2/instance_usage_budgets/{instance_usage_budget_id}', 'GET',
16006
15277
  path_params,
16007
15278
  query_params,
16008
15279
  header_params,
16009
15280
  body=body_params,
16010
15281
  post_params=form_params,
16011
15282
  files=local_var_files,
16012
- response_type='LogsoutputResponse', # noqa: E501
15283
+ response_type='InstanceusagebudgetResponse', # noqa: E501
16013
15284
  auth_settings=auth_settings,
16014
15285
  async_req=local_var_params.get('async_req'),
16015
15286
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -16017,16 +15288,16 @@ class DefaultApi(object):
16017
15288
  _request_timeout=local_var_params.get('_request_timeout'),
16018
15289
  collection_formats=collection_formats)
16019
15290
 
16020
- def get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get(self, session_command_id, **kwargs): # noqa: E501
16021
- """Get Execution Logs Archived # noqa: E501
15291
+ def get_invitation_api_v2_organization_invitations_invitation_id_get(self, invitation_id, **kwargs): # noqa: E501
15292
+ """Get Invitation # noqa: E501
16022
15293
 
16023
15294
  This method makes a synchronous HTTP request by default. To make an
16024
15295
  asynchronous HTTP request, please pass async_req=True
16025
- >>> thread = api.get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get(session_command_id, async_req=True)
15296
+ >>> thread = api.get_invitation_api_v2_organization_invitations_invitation_id_get(invitation_id, async_req=True)
16026
15297
  >>> result = thread.get()
16027
15298
 
16028
15299
  :param async_req bool: execute request asynchronously
16029
- :param str session_command_id: (required)
15300
+ :param str invitation_id: (required)
16030
15301
  :param _preload_content: if False, the urllib3.HTTPResponse object will
16031
15302
  be returned without reading/decoding response
16032
15303
  data. Default is True.
@@ -16034,23 +15305,23 @@ class DefaultApi(object):
16034
15305
  number provided, it will be total request
16035
15306
  timeout. It can also be a pair (tuple) of
16036
15307
  (connection, read) timeouts.
16037
- :return: ArchivedlogsinfoResponse
15308
+ :return: OrganizationinvitationResponse
16038
15309
  If the method is called asynchronously,
16039
15310
  returns the request thread.
16040
15311
  """
16041
15312
  kwargs['_return_http_data_only'] = True
16042
- return self.get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get_with_http_info(session_command_id, **kwargs) # noqa: E501
15313
+ return self.get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(invitation_id, **kwargs) # noqa: E501
16043
15314
 
16044
- def get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get_with_http_info(self, session_command_id, **kwargs): # noqa: E501
16045
- """Get Execution Logs Archived # noqa: E501
15315
+ def get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(self, invitation_id, **kwargs): # noqa: E501
15316
+ """Get Invitation # noqa: E501
16046
15317
 
16047
15318
  This method makes a synchronous HTTP request by default. To make an
16048
15319
  asynchronous HTTP request, please pass async_req=True
16049
- >>> thread = api.get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get_with_http_info(session_command_id, async_req=True)
15320
+ >>> thread = api.get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(invitation_id, async_req=True)
16050
15321
  >>> result = thread.get()
16051
15322
 
16052
15323
  :param async_req bool: execute request asynchronously
16053
- :param str session_command_id: (required)
15324
+ :param str invitation_id: (required)
16054
15325
  :param _return_http_data_only: response data without head status code
16055
15326
  and headers
16056
15327
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -16060,7 +15331,7 @@ class DefaultApi(object):
16060
15331
  number provided, it will be total request
16061
15332
  timeout. It can also be a pair (tuple) of
16062
15333
  (connection, read) timeouts.
16063
- :return: tuple(ArchivedlogsinfoResponse, status_code(int), headers(HTTPHeaderDict))
15334
+ :return: tuple(OrganizationinvitationResponse, status_code(int), headers(HTTPHeaderDict))
16064
15335
  If the method is called asynchronously,
16065
15336
  returns the request thread.
16066
15337
  """
@@ -16068,7 +15339,7 @@ class DefaultApi(object):
16068
15339
  local_var_params = locals()
16069
15340
 
16070
15341
  all_params = [
16071
- 'session_command_id'
15342
+ 'invitation_id'
16072
15343
  ]
16073
15344
  all_params.extend(
16074
15345
  [
@@ -16083,20 +15354,20 @@ class DefaultApi(object):
16083
15354
  if key not in all_params:
16084
15355
  raise ApiTypeError(
16085
15356
  "Got an unexpected keyword argument '%s'"
16086
- " to method get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get" % key
15357
+ " to method get_invitation_api_v2_organization_invitations_invitation_id_get" % key
16087
15358
  )
16088
15359
  local_var_params[key] = val
16089
15360
  del local_var_params['kwargs']
16090
- # verify the required parameter 'session_command_id' is set
16091
- if self.api_client.client_side_validation and ('session_command_id' not in local_var_params or # noqa: E501
16092
- local_var_params['session_command_id'] is None): # noqa: E501
16093
- raise ApiValueError("Missing the required parameter `session_command_id` when calling `get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get`") # noqa: E501
15361
+ # verify the required parameter 'invitation_id' is set
15362
+ if self.api_client.client_side_validation and ('invitation_id' not in local_var_params or # noqa: E501
15363
+ local_var_params['invitation_id'] is None): # noqa: E501
15364
+ raise ApiValueError("Missing the required parameter `invitation_id` when calling `get_invitation_api_v2_organization_invitations_invitation_id_get`") # noqa: E501
16094
15365
 
16095
15366
  collection_formats = {}
16096
15367
 
16097
15368
  path_params = {}
16098
- if 'session_command_id' in local_var_params:
16099
- path_params['session_command_id'] = local_var_params['session_command_id'] # noqa: E501
15369
+ if 'invitation_id' in local_var_params:
15370
+ path_params['invitation_id'] = local_var_params['invitation_id'] # noqa: E501
16100
15371
 
16101
15372
  query_params = []
16102
15373
 
@@ -16114,14 +15385,14 @@ class DefaultApi(object):
16114
15385
  auth_settings = [] # noqa: E501
16115
15386
 
16116
15387
  return self.api_client.call_api(
16117
- '/api/v2/session_commands/{session_command_id}/execution_logs_archived', 'GET',
15388
+ '/api/v2/organization_invitations/{invitation_id}', 'GET',
16118
15389
  path_params,
16119
15390
  query_params,
16120
15391
  header_params,
16121
15392
  body=body_params,
16122
15393
  post_params=form_params,
16123
15394
  files=local_var_files,
16124
- response_type='ArchivedlogsinfoResponse', # noqa: E501
15395
+ response_type='OrganizationinvitationResponse', # noqa: E501
16125
15396
  auth_settings=auth_settings,
16126
15397
  async_req=local_var_params.get('async_req'),
16127
15398
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -16129,16 +15400,17 @@ class DefaultApi(object):
16129
15400
  _request_timeout=local_var_params.get('_request_timeout'),
16130
15401
  collection_formats=collection_formats)
16131
15402
 
16132
- def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
16133
- """Get Instance Usage Budget # noqa: E501
15403
+ def get_job_api_v2_decorated_ha_jobs_production_job_id_get(self, production_job_id, **kwargs): # noqa: E501
15404
+ """Get Job # noqa: E501
16134
15405
 
15406
+ Get an HA Job # noqa: E501
16135
15407
  This method makes a synchronous HTTP request by default. To make an
16136
15408
  asynchronous HTTP request, please pass async_req=True
16137
- >>> thread = api.get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(instance_usage_budget_id, async_req=True)
15409
+ >>> thread = api.get_job_api_v2_decorated_ha_jobs_production_job_id_get(production_job_id, async_req=True)
16138
15410
  >>> result = thread.get()
16139
15411
 
16140
15412
  :param async_req bool: execute request asynchronously
16141
- :param str instance_usage_budget_id: (required)
15413
+ :param str production_job_id: (required)
16142
15414
  :param _preload_content: if False, the urllib3.HTTPResponse object will
16143
15415
  be returned without reading/decoding response
16144
15416
  data. Default is True.
@@ -16146,23 +15418,24 @@ class DefaultApi(object):
16146
15418
  number provided, it will be total request
16147
15419
  timeout. It can also be a pair (tuple) of
16148
15420
  (connection, read) timeouts.
16149
- :return: InstanceusagebudgetResponse
15421
+ :return: DecoratedproductionjobResponse
16150
15422
  If the method is called asynchronously,
16151
15423
  returns the request thread.
16152
15424
  """
16153
15425
  kwargs['_return_http_data_only'] = True
16154
- return self.get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get_with_http_info(instance_usage_budget_id, **kwargs) # noqa: E501
15426
+ return self.get_job_api_v2_decorated_ha_jobs_production_job_id_get_with_http_info(production_job_id, **kwargs) # noqa: E501
16155
15427
 
16156
- def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get_with_http_info(self, instance_usage_budget_id, **kwargs): # noqa: E501
16157
- """Get Instance Usage Budget # noqa: E501
15428
+ def get_job_api_v2_decorated_ha_jobs_production_job_id_get_with_http_info(self, production_job_id, **kwargs): # noqa: E501
15429
+ """Get Job # noqa: E501
16158
15430
 
15431
+ Get an HA Job # noqa: E501
16159
15432
  This method makes a synchronous HTTP request by default. To make an
16160
15433
  asynchronous HTTP request, please pass async_req=True
16161
- >>> thread = api.get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get_with_http_info(instance_usage_budget_id, async_req=True)
15434
+ >>> thread = api.get_job_api_v2_decorated_ha_jobs_production_job_id_get_with_http_info(production_job_id, async_req=True)
16162
15435
  >>> result = thread.get()
16163
15436
 
16164
15437
  :param async_req bool: execute request asynchronously
16165
- :param str instance_usage_budget_id: (required)
15438
+ :param str production_job_id: (required)
16166
15439
  :param _return_http_data_only: response data without head status code
16167
15440
  and headers
16168
15441
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -16172,7 +15445,7 @@ class DefaultApi(object):
16172
15445
  number provided, it will be total request
16173
15446
  timeout. It can also be a pair (tuple) of
16174
15447
  (connection, read) timeouts.
16175
- :return: tuple(InstanceusagebudgetResponse, status_code(int), headers(HTTPHeaderDict))
15448
+ :return: tuple(DecoratedproductionjobResponse, status_code(int), headers(HTTPHeaderDict))
16176
15449
  If the method is called asynchronously,
16177
15450
  returns the request thread.
16178
15451
  """
@@ -16180,7 +15453,7 @@ class DefaultApi(object):
16180
15453
  local_var_params = locals()
16181
15454
 
16182
15455
  all_params = [
16183
- 'instance_usage_budget_id'
15456
+ 'production_job_id'
16184
15457
  ]
16185
15458
  all_params.extend(
16186
15459
  [
@@ -16195,20 +15468,20 @@ class DefaultApi(object):
16195
15468
  if key not in all_params:
16196
15469
  raise ApiTypeError(
16197
15470
  "Got an unexpected keyword argument '%s'"
16198
- " to method get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get" % key
15471
+ " to method get_job_api_v2_decorated_ha_jobs_production_job_id_get" % key
16199
15472
  )
16200
15473
  local_var_params[key] = val
16201
15474
  del local_var_params['kwargs']
16202
- # verify the required parameter 'instance_usage_budget_id' is set
16203
- if self.api_client.client_side_validation and ('instance_usage_budget_id' not in local_var_params or # noqa: E501
16204
- local_var_params['instance_usage_budget_id'] is None): # noqa: E501
16205
- raise ApiValueError("Missing the required parameter `instance_usage_budget_id` when calling `get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get`") # noqa: E501
15475
+ # verify the required parameter 'production_job_id' is set
15476
+ if self.api_client.client_side_validation and ('production_job_id' not in local_var_params or # noqa: E501
15477
+ local_var_params['production_job_id'] is None): # noqa: E501
15478
+ raise ApiValueError("Missing the required parameter `production_job_id` when calling `get_job_api_v2_decorated_ha_jobs_production_job_id_get`") # noqa: E501
16206
15479
 
16207
15480
  collection_formats = {}
16208
15481
 
16209
15482
  path_params = {}
16210
- if 'instance_usage_budget_id' in local_var_params:
16211
- path_params['instance_usage_budget_id'] = local_var_params['instance_usage_budget_id'] # noqa: E501
15483
+ if 'production_job_id' in local_var_params:
15484
+ path_params['production_job_id'] = local_var_params['production_job_id'] # noqa: E501
16212
15485
 
16213
15486
  query_params = []
16214
15487
 
@@ -16226,14 +15499,14 @@ class DefaultApi(object):
16226
15499
  auth_settings = [] # noqa: E501
16227
15500
 
16228
15501
  return self.api_client.call_api(
16229
- '/api/v2/instance_usage_budgets/{instance_usage_budget_id}', 'GET',
15502
+ '/api/v2/decorated_ha_jobs/{production_job_id}', 'GET',
16230
15503
  path_params,
16231
15504
  query_params,
16232
15505
  header_params,
16233
15506
  body=body_params,
16234
15507
  post_params=form_params,
16235
15508
  files=local_var_files,
16236
- response_type='InstanceusagebudgetResponse', # noqa: E501
15509
+ response_type='DecoratedproductionjobResponse', # noqa: E501
16237
15510
  auth_settings=auth_settings,
16238
15511
  async_req=local_var_params.get('async_req'),
16239
15512
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -16241,16 +15514,17 @@ class DefaultApi(object):
16241
15514
  _request_timeout=local_var_params.get('_request_timeout'),
16242
15515
  collection_formats=collection_formats)
16243
15516
 
16244
- def get_invitation_api_v2_organization_invitations_invitation_id_get(self, invitation_id, **kwargs): # noqa: E501
16245
- """Get Invitation # noqa: E501
15517
+ def get_job_api_v2_decorated_unified_jobs_job_id_get(self, job_id, **kwargs): # noqa: E501
15518
+ """Get Job # noqa: E501
16246
15519
 
15520
+ Retrieve a job. # noqa: E501
16247
15521
  This method makes a synchronous HTTP request by default. To make an
16248
15522
  asynchronous HTTP request, please pass async_req=True
16249
- >>> thread = api.get_invitation_api_v2_organization_invitations_invitation_id_get(invitation_id, async_req=True)
15523
+ >>> thread = api.get_job_api_v2_decorated_unified_jobs_job_id_get(job_id, async_req=True)
16250
15524
  >>> result = thread.get()
16251
15525
 
16252
15526
  :param async_req bool: execute request asynchronously
16253
- :param str invitation_id: (required)
15527
+ :param str job_id: The ID of the job. (required)
16254
15528
  :param _preload_content: if False, the urllib3.HTTPResponse object will
16255
15529
  be returned without reading/decoding response
16256
15530
  data. Default is True.
@@ -16258,23 +15532,24 @@ class DefaultApi(object):
16258
15532
  number provided, it will be total request
16259
15533
  timeout. It can also be a pair (tuple) of
16260
15534
  (connection, read) timeouts.
16261
- :return: OrganizationinvitationResponse
15535
+ :return: DecoratedunifiedjobResponse
16262
15536
  If the method is called asynchronously,
16263
15537
  returns the request thread.
16264
15538
  """
16265
15539
  kwargs['_return_http_data_only'] = True
16266
- return self.get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(invitation_id, **kwargs) # noqa: E501
15540
+ return self.get_job_api_v2_decorated_unified_jobs_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
16267
15541
 
16268
- def get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(self, invitation_id, **kwargs): # noqa: E501
16269
- """Get Invitation # noqa: E501
15542
+ def get_job_api_v2_decorated_unified_jobs_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
15543
+ """Get Job # noqa: E501
16270
15544
 
15545
+ Retrieve a job. # noqa: E501
16271
15546
  This method makes a synchronous HTTP request by default. To make an
16272
15547
  asynchronous HTTP request, please pass async_req=True
16273
- >>> thread = api.get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(invitation_id, async_req=True)
15548
+ >>> thread = api.get_job_api_v2_decorated_unified_jobs_job_id_get_with_http_info(job_id, async_req=True)
16274
15549
  >>> result = thread.get()
16275
15550
 
16276
15551
  :param async_req bool: execute request asynchronously
16277
- :param str invitation_id: (required)
15552
+ :param str job_id: The ID of the job. (required)
16278
15553
  :param _return_http_data_only: response data without head status code
16279
15554
  and headers
16280
15555
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -16284,7 +15559,7 @@ class DefaultApi(object):
16284
15559
  number provided, it will be total request
16285
15560
  timeout. It can also be a pair (tuple) of
16286
15561
  (connection, read) timeouts.
16287
- :return: tuple(OrganizationinvitationResponse, status_code(int), headers(HTTPHeaderDict))
15562
+ :return: tuple(DecoratedunifiedjobResponse, status_code(int), headers(HTTPHeaderDict))
16288
15563
  If the method is called asynchronously,
16289
15564
  returns the request thread.
16290
15565
  """
@@ -16292,7 +15567,7 @@ class DefaultApi(object):
16292
15567
  local_var_params = locals()
16293
15568
 
16294
15569
  all_params = [
16295
- 'invitation_id'
15570
+ 'job_id'
16296
15571
  ]
16297
15572
  all_params.extend(
16298
15573
  [
@@ -16307,20 +15582,20 @@ class DefaultApi(object):
16307
15582
  if key not in all_params:
16308
15583
  raise ApiTypeError(
16309
15584
  "Got an unexpected keyword argument '%s'"
16310
- " to method get_invitation_api_v2_organization_invitations_invitation_id_get" % key
15585
+ " to method get_job_api_v2_decorated_unified_jobs_job_id_get" % key
16311
15586
  )
16312
15587
  local_var_params[key] = val
16313
15588
  del local_var_params['kwargs']
16314
- # verify the required parameter 'invitation_id' is set
16315
- if self.api_client.client_side_validation and ('invitation_id' not in local_var_params or # noqa: E501
16316
- local_var_params['invitation_id'] is None): # noqa: E501
16317
- raise ApiValueError("Missing the required parameter `invitation_id` when calling `get_invitation_api_v2_organization_invitations_invitation_id_get`") # noqa: E501
15589
+ # verify the required parameter 'job_id' is set
15590
+ if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
15591
+ local_var_params['job_id'] is None): # noqa: E501
15592
+ raise ApiValueError("Missing the required parameter `job_id` when calling `get_job_api_v2_decorated_unified_jobs_job_id_get`") # noqa: E501
16318
15593
 
16319
15594
  collection_formats = {}
16320
15595
 
16321
15596
  path_params = {}
16322
- if 'invitation_id' in local_var_params:
16323
- path_params['invitation_id'] = local_var_params['invitation_id'] # noqa: E501
15597
+ if 'job_id' in local_var_params:
15598
+ path_params['job_id'] = local_var_params['job_id'] # noqa: E501
16324
15599
 
16325
15600
  query_params = []
16326
15601
 
@@ -16338,14 +15613,14 @@ class DefaultApi(object):
16338
15613
  auth_settings = [] # noqa: E501
16339
15614
 
16340
15615
  return self.api_client.call_api(
16341
- '/api/v2/organization_invitations/{invitation_id}', 'GET',
15616
+ '/api/v2/decorated_unified_jobs/{job_id}', 'GET',
16342
15617
  path_params,
16343
15618
  query_params,
16344
15619
  header_params,
16345
15620
  body=body_params,
16346
15621
  post_params=form_params,
16347
15622
  files=local_var_files,
16348
- response_type='OrganizationinvitationResponse', # noqa: E501
15623
+ response_type='DecoratedunifiedjobResponse', # noqa: E501
16349
15624
  auth_settings=auth_settings,
16350
15625
  async_req=local_var_params.get('async_req'),
16351
15626
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -16353,17 +15628,25 @@ class DefaultApi(object):
16353
15628
  _request_timeout=local_var_params.get('_request_timeout'),
16354
15629
  collection_formats=collection_formats)
16355
15630
 
16356
- def get_job_api_v2_decorated_ha_jobs_production_job_id_get(self, production_job_id, **kwargs): # noqa: E501
16357
- """Get Job # noqa: E501
15631
+ def get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get(self, production_job_id, **kwargs): # noqa: E501
15632
+ """Get Job Events # noqa: E501
16358
15633
 
16359
- Get an HA Job # noqa: E501
15634
+ Get Production Job events # noqa: E501
16360
15635
  This method makes a synchronous HTTP request by default. To make an
16361
15636
  asynchronous HTTP request, please pass async_req=True
16362
- >>> thread = api.get_job_api_v2_decorated_ha_jobs_production_job_id_get(production_job_id, async_req=True)
15637
+ >>> thread = api.get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get(production_job_id, async_req=True)
16363
15638
  >>> result = thread.get()
16364
15639
 
16365
15640
  :param async_req bool: execute request asynchronously
16366
- :param str production_job_id: (required)
15641
+ :param str production_job_id: ID of the production job to fetch logs for. Note: This API doesn't support offset based pagination and the time filter should instead be used. (required)
15642
+ :param list[ProductionJobEventScopeFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
15643
+ :param HaJobEventLevel level: Filter by level of event
15644
+ :param str message: Filter by message of event
15645
+ :param datetime start_time: The start time for the query. If start_time is not set, the query will use beginning of time. Non-inclusive.
15646
+ :param datetime end_time: The end time for the query. If end_time is not set, the query will use the time now. Non-inclusive.
15647
+ :param bool ascending_order: Fetch events in ascending order of time. Default is descending order.
15648
+ :param str paging_token:
15649
+ :param int count:
16367
15650
  :param _preload_content: if False, the urllib3.HTTPResponse object will
16368
15651
  be returned without reading/decoding response
16369
15652
  data. Default is True.
@@ -16371,24 +15654,32 @@ class DefaultApi(object):
16371
15654
  number provided, it will be total request
16372
15655
  timeout. It can also be a pair (tuple) of
16373
15656
  (connection, read) timeouts.
16374
- :return: DecoratedproductionjobResponse
15657
+ :return: ProductionjobeventListResponse
16375
15658
  If the method is called asynchronously,
16376
15659
  returns the request thread.
16377
15660
  """
16378
15661
  kwargs['_return_http_data_only'] = True
16379
- return self.get_job_api_v2_decorated_ha_jobs_production_job_id_get_with_http_info(production_job_id, **kwargs) # noqa: E501
15662
+ return self.get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get_with_http_info(production_job_id, **kwargs) # noqa: E501
16380
15663
 
16381
- def get_job_api_v2_decorated_ha_jobs_production_job_id_get_with_http_info(self, production_job_id, **kwargs): # noqa: E501
16382
- """Get Job # noqa: E501
15664
+ def get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get_with_http_info(self, production_job_id, **kwargs): # noqa: E501
15665
+ """Get Job Events # noqa: E501
16383
15666
 
16384
- Get an HA Job # noqa: E501
15667
+ Get Production Job events # noqa: E501
16385
15668
  This method makes a synchronous HTTP request by default. To make an
16386
15669
  asynchronous HTTP request, please pass async_req=True
16387
- >>> thread = api.get_job_api_v2_decorated_ha_jobs_production_job_id_get_with_http_info(production_job_id, async_req=True)
15670
+ >>> thread = api.get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get_with_http_info(production_job_id, async_req=True)
16388
15671
  >>> result = thread.get()
16389
15672
 
16390
15673
  :param async_req bool: execute request asynchronously
16391
- :param str production_job_id: (required)
15674
+ :param str production_job_id: ID of the production job to fetch logs for. Note: This API doesn't support offset based pagination and the time filter should instead be used. (required)
15675
+ :param list[ProductionJobEventScopeFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
15676
+ :param HaJobEventLevel level: Filter by level of event
15677
+ :param str message: Filter by message of event
15678
+ :param datetime start_time: The start time for the query. If start_time is not set, the query will use beginning of time. Non-inclusive.
15679
+ :param datetime end_time: The end time for the query. If end_time is not set, the query will use the time now. Non-inclusive.
15680
+ :param bool ascending_order: Fetch events in ascending order of time. Default is descending order.
15681
+ :param str paging_token:
15682
+ :param int count:
16392
15683
  :param _return_http_data_only: response data without head status code
16393
15684
  and headers
16394
15685
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -16398,7 +15689,7 @@ class DefaultApi(object):
16398
15689
  number provided, it will be total request
16399
15690
  timeout. It can also be a pair (tuple) of
16400
15691
  (connection, read) timeouts.
16401
- :return: tuple(DecoratedproductionjobResponse, status_code(int), headers(HTTPHeaderDict))
15692
+ :return: tuple(ProductionjobeventListResponse, status_code(int), headers(HTTPHeaderDict))
16402
15693
  If the method is called asynchronously,
16403
15694
  returns the request thread.
16404
15695
  """
@@ -16406,7 +15697,15 @@ class DefaultApi(object):
16406
15697
  local_var_params = locals()
16407
15698
 
16408
15699
  all_params = [
16409
- 'production_job_id'
15700
+ 'production_job_id',
15701
+ 'origin',
15702
+ 'level',
15703
+ 'message',
15704
+ 'start_time',
15705
+ 'end_time',
15706
+ 'ascending_order',
15707
+ 'paging_token',
15708
+ 'count'
16410
15709
  ]
16411
15710
  all_params.extend(
16412
15711
  [
@@ -16421,15 +15720,19 @@ class DefaultApi(object):
16421
15720
  if key not in all_params:
16422
15721
  raise ApiTypeError(
16423
15722
  "Got an unexpected keyword argument '%s'"
16424
- " to method get_job_api_v2_decorated_ha_jobs_production_job_id_get" % key
15723
+ " to method get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get" % key
16425
15724
  )
16426
15725
  local_var_params[key] = val
16427
15726
  del local_var_params['kwargs']
16428
15727
  # verify the required parameter 'production_job_id' is set
16429
15728
  if self.api_client.client_side_validation and ('production_job_id' not in local_var_params or # noqa: E501
16430
15729
  local_var_params['production_job_id'] is None): # noqa: E501
16431
- raise ApiValueError("Missing the required parameter `production_job_id` when calling `get_job_api_v2_decorated_ha_jobs_production_job_id_get`") # noqa: E501
15730
+ raise ApiValueError("Missing the required parameter `production_job_id` when calling `get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get`") # noqa: E501
16432
15731
 
15732
+ if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
15733
+ raise ApiValueError("Invalid value for parameter `count` when calling `get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get`, must be a value less than or equal to `1000`") # noqa: E501
15734
+ if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
15735
+ raise ApiValueError("Invalid value for parameter `count` when calling `get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get`, must be a value greater than or equal to `0`") # noqa: E501
16433
15736
  collection_formats = {}
16434
15737
 
16435
15738
  path_params = {}
@@ -16437,6 +15740,23 @@ class DefaultApi(object):
16437
15740
  path_params['production_job_id'] = local_var_params['production_job_id'] # noqa: E501
16438
15741
 
16439
15742
  query_params = []
15743
+ if 'origin' in local_var_params and local_var_params['origin'] is not None: # noqa: E501
15744
+ query_params.append(('origin', local_var_params['origin'])) # noqa: E501
15745
+ collection_formats['origin'] = 'multi' # noqa: E501
15746
+ if 'level' in local_var_params and local_var_params['level'] is not None: # noqa: E501
15747
+ query_params.append(('level', local_var_params['level'])) # noqa: E501
15748
+ if 'message' in local_var_params and local_var_params['message'] is not None: # noqa: E501
15749
+ query_params.append(('message', local_var_params['message'])) # noqa: E501
15750
+ if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
15751
+ query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
15752
+ if 'end_time' in local_var_params and local_var_params['end_time'] is not None: # noqa: E501
15753
+ query_params.append(('end_time', local_var_params['end_time'])) # noqa: E501
15754
+ if 'ascending_order' in local_var_params and local_var_params['ascending_order'] is not None: # noqa: E501
15755
+ query_params.append(('ascending_order', local_var_params['ascending_order'])) # noqa: E501
15756
+ if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
15757
+ query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
15758
+ if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
15759
+ query_params.append(('count', local_var_params['count'])) # noqa: E501
16440
15760
 
16441
15761
  header_params = {}
16442
15762
 
@@ -16452,14 +15772,14 @@ class DefaultApi(object):
16452
15772
  auth_settings = [] # noqa: E501
16453
15773
 
16454
15774
  return self.api_client.call_api(
16455
- '/api/v2/decorated_ha_jobs/{production_job_id}', 'GET',
15775
+ '/api/v2/decorated_ha_jobs/{production_job_id}/events', 'GET',
16456
15776
  path_params,
16457
15777
  query_params,
16458
15778
  header_params,
16459
15779
  body=body_params,
16460
15780
  post_params=form_params,
16461
15781
  files=local_var_files,
16462
- response_type='DecoratedproductionjobResponse', # noqa: E501
15782
+ response_type='ProductionjobeventListResponse', # noqa: E501
16463
15783
  auth_settings=auth_settings,
16464
15784
  async_req=local_var_params.get('async_req'),
16465
15785
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -16467,17 +15787,16 @@ class DefaultApi(object):
16467
15787
  _request_timeout=local_var_params.get('_request_timeout'),
16468
15788
  collection_formats=collection_formats)
16469
15789
 
16470
- def get_job_api_v2_decorated_unified_jobs_job_id_get(self, job_id, **kwargs): # noqa: E501
16471
- """Get Job # noqa: E501
15790
+ def get_job_logs_download_api_v2_logs_job_logs_download_job_id_get(self, job_id, **kwargs): # noqa: E501
15791
+ """Get Job Logs Download # noqa: E501
16472
15792
 
16473
- Retrieve a job. # noqa: E501
16474
15793
  This method makes a synchronous HTTP request by default. To make an
16475
15794
  asynchronous HTTP request, please pass async_req=True
16476
- >>> thread = api.get_job_api_v2_decorated_unified_jobs_job_id_get(job_id, async_req=True)
15795
+ >>> thread = api.get_job_logs_download_api_v2_logs_job_logs_download_job_id_get(job_id, async_req=True)
16477
15796
  >>> result = thread.get()
16478
15797
 
16479
15798
  :param async_req bool: execute request asynchronously
16480
- :param str job_id: The ID of the job. (required)
15799
+ :param str job_id: (required)
16481
15800
  :param _preload_content: if False, the urllib3.HTTPResponse object will
16482
15801
  be returned without reading/decoding response
16483
15802
  data. Default is True.
@@ -16485,24 +15804,23 @@ class DefaultApi(object):
16485
15804
  number provided, it will be total request
16486
15805
  timeout. It can also be a pair (tuple) of
16487
15806
  (connection, read) timeouts.
16488
- :return: DecoratedunifiedjobResponse
15807
+ :return: LogdownloadresultResponse
16489
15808
  If the method is called asynchronously,
16490
15809
  returns the request thread.
16491
15810
  """
16492
15811
  kwargs['_return_http_data_only'] = True
16493
- return self.get_job_api_v2_decorated_unified_jobs_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
15812
+ return self.get_job_logs_download_api_v2_logs_job_logs_download_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
16494
15813
 
16495
- def get_job_api_v2_decorated_unified_jobs_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
16496
- """Get Job # noqa: E501
15814
+ def get_job_logs_download_api_v2_logs_job_logs_download_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
15815
+ """Get Job Logs Download # noqa: E501
16497
15816
 
16498
- Retrieve a job. # noqa: E501
16499
15817
  This method makes a synchronous HTTP request by default. To make an
16500
15818
  asynchronous HTTP request, please pass async_req=True
16501
- >>> thread = api.get_job_api_v2_decorated_unified_jobs_job_id_get_with_http_info(job_id, async_req=True)
15819
+ >>> thread = api.get_job_logs_download_api_v2_logs_job_logs_download_job_id_get_with_http_info(job_id, async_req=True)
16502
15820
  >>> result = thread.get()
16503
15821
 
16504
15822
  :param async_req bool: execute request asynchronously
16505
- :param str job_id: The ID of the job. (required)
15823
+ :param str job_id: (required)
16506
15824
  :param _return_http_data_only: response data without head status code
16507
15825
  and headers
16508
15826
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -16512,278 +15830,7 @@ class DefaultApi(object):
16512
15830
  number provided, it will be total request
16513
15831
  timeout. It can also be a pair (tuple) of
16514
15832
  (connection, read) timeouts.
16515
- :return: tuple(DecoratedunifiedjobResponse, status_code(int), headers(HTTPHeaderDict))
16516
- If the method is called asynchronously,
16517
- returns the request thread.
16518
- """
16519
-
16520
- local_var_params = locals()
16521
-
16522
- all_params = [
16523
- 'job_id'
16524
- ]
16525
- all_params.extend(
16526
- [
16527
- 'async_req',
16528
- '_return_http_data_only',
16529
- '_preload_content',
16530
- '_request_timeout'
16531
- ]
16532
- )
16533
-
16534
- for key, val in six.iteritems(local_var_params['kwargs']):
16535
- if key not in all_params:
16536
- raise ApiTypeError(
16537
- "Got an unexpected keyword argument '%s'"
16538
- " to method get_job_api_v2_decorated_unified_jobs_job_id_get" % key
16539
- )
16540
- local_var_params[key] = val
16541
- del local_var_params['kwargs']
16542
- # verify the required parameter 'job_id' is set
16543
- if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
16544
- local_var_params['job_id'] is None): # noqa: E501
16545
- raise ApiValueError("Missing the required parameter `job_id` when calling `get_job_api_v2_decorated_unified_jobs_job_id_get`") # noqa: E501
16546
-
16547
- collection_formats = {}
16548
-
16549
- path_params = {}
16550
- if 'job_id' in local_var_params:
16551
- path_params['job_id'] = local_var_params['job_id'] # noqa: E501
16552
-
16553
- query_params = []
16554
-
16555
- header_params = {}
16556
-
16557
- form_params = []
16558
- local_var_files = {}
16559
-
16560
- body_params = None
16561
- # HTTP header `Accept`
16562
- header_params['Accept'] = self.api_client.select_header_accept(
16563
- ['application/json']) # noqa: E501
16564
-
16565
- # Authentication setting
16566
- auth_settings = [] # noqa: E501
16567
-
16568
- return self.api_client.call_api(
16569
- '/api/v2/decorated_unified_jobs/{job_id}', 'GET',
16570
- path_params,
16571
- query_params,
16572
- header_params,
16573
- body=body_params,
16574
- post_params=form_params,
16575
- files=local_var_files,
16576
- response_type='DecoratedunifiedjobResponse', # noqa: E501
16577
- auth_settings=auth_settings,
16578
- async_req=local_var_params.get('async_req'),
16579
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
16580
- _preload_content=local_var_params.get('_preload_content', True),
16581
- _request_timeout=local_var_params.get('_request_timeout'),
16582
- collection_formats=collection_formats)
16583
-
16584
- def get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get(self, production_job_id, **kwargs): # noqa: E501
16585
- """Get Job Events # noqa: E501
16586
-
16587
- Get Production Job events # noqa: E501
16588
- This method makes a synchronous HTTP request by default. To make an
16589
- asynchronous HTTP request, please pass async_req=True
16590
- >>> thread = api.get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get(production_job_id, async_req=True)
16591
- >>> result = thread.get()
16592
-
16593
- :param async_req bool: execute request asynchronously
16594
- :param str production_job_id: ID of the production job to fetch logs for. Note: This API doesn't support offset based pagination and the time filter should instead be used. (required)
16595
- :param list[ProductionJobEventScopeFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
16596
- :param HaJobEventLevel level: Filter by level of event
16597
- :param str message: Filter by message of event
16598
- :param datetime start_time: The start time for the query. If start_time is not set, the query will use beginning of time. Non-inclusive.
16599
- :param datetime end_time: The end time for the query. If end_time is not set, the query will use the time now. Non-inclusive.
16600
- :param bool ascending_order: Fetch events in ascending order of time. Default is descending order.
16601
- :param str paging_token:
16602
- :param int count:
16603
- :param _preload_content: if False, the urllib3.HTTPResponse object will
16604
- be returned without reading/decoding response
16605
- data. Default is True.
16606
- :param _request_timeout: timeout setting for this request. If one
16607
- number provided, it will be total request
16608
- timeout. It can also be a pair (tuple) of
16609
- (connection, read) timeouts.
16610
- :return: ProductionjobeventListResponse
16611
- If the method is called asynchronously,
16612
- returns the request thread.
16613
- """
16614
- kwargs['_return_http_data_only'] = True
16615
- return self.get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get_with_http_info(production_job_id, **kwargs) # noqa: E501
16616
-
16617
- def get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get_with_http_info(self, production_job_id, **kwargs): # noqa: E501
16618
- """Get Job Events # noqa: E501
16619
-
16620
- Get Production Job events # noqa: E501
16621
- This method makes a synchronous HTTP request by default. To make an
16622
- asynchronous HTTP request, please pass async_req=True
16623
- >>> thread = api.get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get_with_http_info(production_job_id, async_req=True)
16624
- >>> result = thread.get()
16625
-
16626
- :param async_req bool: execute request asynchronously
16627
- :param str production_job_id: ID of the production job to fetch logs for. Note: This API doesn't support offset based pagination and the time filter should instead be used. (required)
16628
- :param list[ProductionJobEventScopeFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
16629
- :param HaJobEventLevel level: Filter by level of event
16630
- :param str message: Filter by message of event
16631
- :param datetime start_time: The start time for the query. If start_time is not set, the query will use beginning of time. Non-inclusive.
16632
- :param datetime end_time: The end time for the query. If end_time is not set, the query will use the time now. Non-inclusive.
16633
- :param bool ascending_order: Fetch events in ascending order of time. Default is descending order.
16634
- :param str paging_token:
16635
- :param int count:
16636
- :param _return_http_data_only: response data without head status code
16637
- and headers
16638
- :param _preload_content: if False, the urllib3.HTTPResponse object will
16639
- be returned without reading/decoding response
16640
- data. Default is True.
16641
- :param _request_timeout: timeout setting for this request. If one
16642
- number provided, it will be total request
16643
- timeout. It can also be a pair (tuple) of
16644
- (connection, read) timeouts.
16645
- :return: tuple(ProductionjobeventListResponse, status_code(int), headers(HTTPHeaderDict))
16646
- If the method is called asynchronously,
16647
- returns the request thread.
16648
- """
16649
-
16650
- local_var_params = locals()
16651
-
16652
- all_params = [
16653
- 'production_job_id',
16654
- 'origin',
16655
- 'level',
16656
- 'message',
16657
- 'start_time',
16658
- 'end_time',
16659
- 'ascending_order',
16660
- 'paging_token',
16661
- 'count'
16662
- ]
16663
- all_params.extend(
16664
- [
16665
- 'async_req',
16666
- '_return_http_data_only',
16667
- '_preload_content',
16668
- '_request_timeout'
16669
- ]
16670
- )
16671
-
16672
- for key, val in six.iteritems(local_var_params['kwargs']):
16673
- if key not in all_params:
16674
- raise ApiTypeError(
16675
- "Got an unexpected keyword argument '%s'"
16676
- " to method get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get" % key
16677
- )
16678
- local_var_params[key] = val
16679
- del local_var_params['kwargs']
16680
- # verify the required parameter 'production_job_id' is set
16681
- if self.api_client.client_side_validation and ('production_job_id' not in local_var_params or # noqa: E501
16682
- local_var_params['production_job_id'] is None): # noqa: E501
16683
- raise ApiValueError("Missing the required parameter `production_job_id` when calling `get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get`") # noqa: E501
16684
-
16685
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
16686
- raise ApiValueError("Invalid value for parameter `count` when calling `get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get`, must be a value less than or equal to `1000`") # noqa: E501
16687
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
16688
- raise ApiValueError("Invalid value for parameter `count` when calling `get_job_events_api_v2_decorated_ha_jobs_production_job_id_events_get`, must be a value greater than or equal to `0`") # noqa: E501
16689
- collection_formats = {}
16690
-
16691
- path_params = {}
16692
- if 'production_job_id' in local_var_params:
16693
- path_params['production_job_id'] = local_var_params['production_job_id'] # noqa: E501
16694
-
16695
- query_params = []
16696
- if 'origin' in local_var_params and local_var_params['origin'] is not None: # noqa: E501
16697
- query_params.append(('origin', local_var_params['origin'])) # noqa: E501
16698
- collection_formats['origin'] = 'multi' # noqa: E501
16699
- if 'level' in local_var_params and local_var_params['level'] is not None: # noqa: E501
16700
- query_params.append(('level', local_var_params['level'])) # noqa: E501
16701
- if 'message' in local_var_params and local_var_params['message'] is not None: # noqa: E501
16702
- query_params.append(('message', local_var_params['message'])) # noqa: E501
16703
- if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
16704
- query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
16705
- if 'end_time' in local_var_params and local_var_params['end_time'] is not None: # noqa: E501
16706
- query_params.append(('end_time', local_var_params['end_time'])) # noqa: E501
16707
- if 'ascending_order' in local_var_params and local_var_params['ascending_order'] is not None: # noqa: E501
16708
- query_params.append(('ascending_order', local_var_params['ascending_order'])) # noqa: E501
16709
- if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
16710
- query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
16711
- if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
16712
- query_params.append(('count', local_var_params['count'])) # noqa: E501
16713
-
16714
- header_params = {}
16715
-
16716
- form_params = []
16717
- local_var_files = {}
16718
-
16719
- body_params = None
16720
- # HTTP header `Accept`
16721
- header_params['Accept'] = self.api_client.select_header_accept(
16722
- ['application/json']) # noqa: E501
16723
-
16724
- # Authentication setting
16725
- auth_settings = [] # noqa: E501
16726
-
16727
- return self.api_client.call_api(
16728
- '/api/v2/decorated_ha_jobs/{production_job_id}/events', 'GET',
16729
- path_params,
16730
- query_params,
16731
- header_params,
16732
- body=body_params,
16733
- post_params=form_params,
16734
- files=local_var_files,
16735
- response_type='ProductionjobeventListResponse', # noqa: E501
16736
- auth_settings=auth_settings,
16737
- async_req=local_var_params.get('async_req'),
16738
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
16739
- _preload_content=local_var_params.get('_preload_content', True),
16740
- _request_timeout=local_var_params.get('_request_timeout'),
16741
- collection_formats=collection_formats)
16742
-
16743
- def get_job_logs_download_api_v2_logs_job_logs_download_job_id_get(self, job_id, **kwargs): # noqa: E501
16744
- """Get Job Logs Download # noqa: E501
16745
-
16746
- This method makes a synchronous HTTP request by default. To make an
16747
- asynchronous HTTP request, please pass async_req=True
16748
- >>> thread = api.get_job_logs_download_api_v2_logs_job_logs_download_job_id_get(job_id, async_req=True)
16749
- >>> result = thread.get()
16750
-
16751
- :param async_req bool: execute request asynchronously
16752
- :param str job_id: (required)
16753
- :param _preload_content: if False, the urllib3.HTTPResponse object will
16754
- be returned without reading/decoding response
16755
- data. Default is True.
16756
- :param _request_timeout: timeout setting for this request. If one
16757
- number provided, it will be total request
16758
- timeout. It can also be a pair (tuple) of
16759
- (connection, read) timeouts.
16760
- :return: LogdownloadresultResponse
16761
- If the method is called asynchronously,
16762
- returns the request thread.
16763
- """
16764
- kwargs['_return_http_data_only'] = True
16765
- return self.get_job_logs_download_api_v2_logs_job_logs_download_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
16766
-
16767
- def get_job_logs_download_api_v2_logs_job_logs_download_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
16768
- """Get Job Logs Download # noqa: E501
16769
-
16770
- This method makes a synchronous HTTP request by default. To make an
16771
- asynchronous HTTP request, please pass async_req=True
16772
- >>> thread = api.get_job_logs_download_api_v2_logs_job_logs_download_job_id_get_with_http_info(job_id, async_req=True)
16773
- >>> result = thread.get()
16774
-
16775
- :param async_req bool: execute request asynchronously
16776
- :param str job_id: (required)
16777
- :param _return_http_data_only: response data without head status code
16778
- and headers
16779
- :param _preload_content: if False, the urllib3.HTTPResponse object will
16780
- be returned without reading/decoding response
16781
- data. Default is True.
16782
- :param _request_timeout: timeout setting for this request. If one
16783
- number provided, it will be total request
16784
- timeout. It can also be a pair (tuple) of
16785
- (connection, read) timeouts.
16786
- :return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
15833
+ :return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
16787
15834
  If the method is called asynchronously,
16788
15835
  returns the request thread.
16789
15836
  """
@@ -18231,235 +17278,6 @@ class DefaultApi(object):
18231
17278
  _request_timeout=local_var_params.get('_request_timeout'),
18232
17279
  collection_formats=collection_formats)
18233
17280
 
18234
- def get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get(self, session_id, **kwargs): # noqa: E501
18235
- """Get Monitor Logs Archived # noqa: E501
18236
-
18237
- This method makes a synchronous HTTP request by default. To make an
18238
- asynchronous HTTP request, please pass async_req=True
18239
- >>> thread = api.get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get(session_id, async_req=True)
18240
- >>> result = thread.get()
18241
-
18242
- :param async_req bool: execute request asynchronously
18243
- :param str session_id: (required)
18244
- :param _preload_content: if False, the urllib3.HTTPResponse object will
18245
- be returned without reading/decoding response
18246
- data. Default is True.
18247
- :param _request_timeout: timeout setting for this request. If one
18248
- number provided, it will be total request
18249
- timeout. It can also be a pair (tuple) of
18250
- (connection, read) timeouts.
18251
- :return: ArchivedlogsinfoResponse
18252
- If the method is called asynchronously,
18253
- returns the request thread.
18254
- """
18255
- kwargs['_return_http_data_only'] = True
18256
- return self.get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get_with_http_info(session_id, **kwargs) # noqa: E501
18257
-
18258
- def get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get_with_http_info(self, session_id, **kwargs): # noqa: E501
18259
- """Get Monitor Logs Archived # noqa: E501
18260
-
18261
- This method makes a synchronous HTTP request by default. To make an
18262
- asynchronous HTTP request, please pass async_req=True
18263
- >>> thread = api.get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get_with_http_info(session_id, async_req=True)
18264
- >>> result = thread.get()
18265
-
18266
- :param async_req bool: execute request asynchronously
18267
- :param str session_id: (required)
18268
- :param _return_http_data_only: response data without head status code
18269
- and headers
18270
- :param _preload_content: if False, the urllib3.HTTPResponse object will
18271
- be returned without reading/decoding response
18272
- data. Default is True.
18273
- :param _request_timeout: timeout setting for this request. If one
18274
- number provided, it will be total request
18275
- timeout. It can also be a pair (tuple) of
18276
- (connection, read) timeouts.
18277
- :return: tuple(ArchivedlogsinfoResponse, status_code(int), headers(HTTPHeaderDict))
18278
- If the method is called asynchronously,
18279
- returns the request thread.
18280
- """
18281
-
18282
- local_var_params = locals()
18283
-
18284
- all_params = [
18285
- 'session_id'
18286
- ]
18287
- all_params.extend(
18288
- [
18289
- 'async_req',
18290
- '_return_http_data_only',
18291
- '_preload_content',
18292
- '_request_timeout'
18293
- ]
18294
- )
18295
-
18296
- for key, val in six.iteritems(local_var_params['kwargs']):
18297
- if key not in all_params:
18298
- raise ApiTypeError(
18299
- "Got an unexpected keyword argument '%s'"
18300
- " to method get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get" % key
18301
- )
18302
- local_var_params[key] = val
18303
- del local_var_params['kwargs']
18304
- # verify the required parameter 'session_id' is set
18305
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
18306
- local_var_params['session_id'] is None): # noqa: E501
18307
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get`") # noqa: E501
18308
-
18309
- collection_formats = {}
18310
-
18311
- path_params = {}
18312
- if 'session_id' in local_var_params:
18313
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
18314
-
18315
- query_params = []
18316
-
18317
- header_params = {}
18318
-
18319
- form_params = []
18320
- local_var_files = {}
18321
-
18322
- body_params = None
18323
- # HTTP header `Accept`
18324
- header_params['Accept'] = self.api_client.select_header_accept(
18325
- ['application/json']) # noqa: E501
18326
-
18327
- # Authentication setting
18328
- auth_settings = [] # noqa: E501
18329
-
18330
- return self.api_client.call_api(
18331
- '/api/v2/sessions/{session_id}/monitor_logs_archived', 'GET',
18332
- path_params,
18333
- query_params,
18334
- header_params,
18335
- body=body_params,
18336
- post_params=form_params,
18337
- files=local_var_files,
18338
- response_type='ArchivedlogsinfoResponse', # noqa: E501
18339
- auth_settings=auth_settings,
18340
- async_req=local_var_params.get('async_req'),
18341
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
18342
- _preload_content=local_var_params.get('_preload_content', True),
18343
- _request_timeout=local_var_params.get('_request_timeout'),
18344
- collection_formats=collection_formats)
18345
-
18346
- def get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get(self, session_id, **kwargs): # noqa: E501
18347
- """Get Monitor Logs Download # noqa: E501
18348
-
18349
- This method makes a synchronous HTTP request by default. To make an
18350
- asynchronous HTTP request, please pass async_req=True
18351
- >>> thread = api.get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get(session_id, async_req=True)
18352
- >>> result = thread.get()
18353
-
18354
- :param async_req bool: execute request asynchronously
18355
- :param str session_id: (required)
18356
- :param MonitorLogsExtension extension: Extension of monitor logs to return. Defaults to .log, which is for autoscaler status
18357
- :param _preload_content: if False, the urllib3.HTTPResponse object will
18358
- be returned without reading/decoding response
18359
- data. Default is True.
18360
- :param _request_timeout: timeout setting for this request. If one
18361
- number provided, it will be total request
18362
- timeout. It can also be a pair (tuple) of
18363
- (connection, read) timeouts.
18364
- :return: LogdownloadresultResponse
18365
- If the method is called asynchronously,
18366
- returns the request thread.
18367
- """
18368
- kwargs['_return_http_data_only'] = True
18369
- return self.get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get_with_http_info(session_id, **kwargs) # noqa: E501
18370
-
18371
- def get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get_with_http_info(self, session_id, **kwargs): # noqa: E501
18372
- """Get Monitor Logs Download # noqa: E501
18373
-
18374
- This method makes a synchronous HTTP request by default. To make an
18375
- asynchronous HTTP request, please pass async_req=True
18376
- >>> thread = api.get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get_with_http_info(session_id, async_req=True)
18377
- >>> result = thread.get()
18378
-
18379
- :param async_req bool: execute request asynchronously
18380
- :param str session_id: (required)
18381
- :param MonitorLogsExtension extension: Extension of monitor logs to return. Defaults to .log, which is for autoscaler status
18382
- :param _return_http_data_only: response data without head status code
18383
- and headers
18384
- :param _preload_content: if False, the urllib3.HTTPResponse object will
18385
- be returned without reading/decoding response
18386
- data. Default is True.
18387
- :param _request_timeout: timeout setting for this request. If one
18388
- number provided, it will be total request
18389
- timeout. It can also be a pair (tuple) of
18390
- (connection, read) timeouts.
18391
- :return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
18392
- If the method is called asynchronously,
18393
- returns the request thread.
18394
- """
18395
-
18396
- local_var_params = locals()
18397
-
18398
- all_params = [
18399
- 'session_id',
18400
- 'extension'
18401
- ]
18402
- all_params.extend(
18403
- [
18404
- 'async_req',
18405
- '_return_http_data_only',
18406
- '_preload_content',
18407
- '_request_timeout'
18408
- ]
18409
- )
18410
-
18411
- for key, val in six.iteritems(local_var_params['kwargs']):
18412
- if key not in all_params:
18413
- raise ApiTypeError(
18414
- "Got an unexpected keyword argument '%s'"
18415
- " to method get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get" % key
18416
- )
18417
- local_var_params[key] = val
18418
- del local_var_params['kwargs']
18419
- # verify the required parameter 'session_id' is set
18420
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
18421
- local_var_params['session_id'] is None): # noqa: E501
18422
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get`") # noqa: E501
18423
-
18424
- collection_formats = {}
18425
-
18426
- path_params = {}
18427
- if 'session_id' in local_var_params:
18428
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
18429
-
18430
- query_params = []
18431
- if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
18432
- query_params.append(('extension', local_var_params['extension'])) # noqa: E501
18433
-
18434
- header_params = {}
18435
-
18436
- form_params = []
18437
- local_var_files = {}
18438
-
18439
- body_params = None
18440
- # HTTP header `Accept`
18441
- header_params['Accept'] = self.api_client.select_header_accept(
18442
- ['application/json']) # noqa: E501
18443
-
18444
- # Authentication setting
18445
- auth_settings = [] # noqa: E501
18446
-
18447
- return self.api_client.call_api(
18448
- '/api/v2/logs/monitor_logs_download/{session_id}', 'GET',
18449
- path_params,
18450
- query_params,
18451
- header_params,
18452
- body=body_params,
18453
- post_params=form_params,
18454
- files=local_var_files,
18455
- response_type='LogdownloadresultResponse', # noqa: E501
18456
- auth_settings=auth_settings,
18457
- async_req=local_var_params.get('async_req'),
18458
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
18459
- _preload_content=local_var_params.get('_preload_content', True),
18460
- _request_timeout=local_var_params.get('_request_timeout'),
18461
- collection_formats=collection_formats)
18462
-
18463
17281
  def get_operator_metrics_api_v2_dataset_runs_operator_get(self, cluster_id, session_name, dataset_id, operator_id, dataset_start_time, dataset_end_time, **kwargs): # noqa: E501
18464
17282
  """Get Operator Metrics # noqa: E501
18465
17283
 
@@ -18722,120 +17540,6 @@ class DefaultApi(object):
18722
17540
  _request_timeout=local_var_params.get('_request_timeout'),
18723
17541
  collection_formats=collection_formats)
18724
17542
 
18725
- def get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get(self, session_id, **kwargs): # noqa: E501
18726
- """Get Ping External Services # noqa: E501
18727
-
18728
- Ping external session services to see if SSL negotiations have completed. SSL errors will throw URLErrors and will not have a status code. Using this endpoint is preferred over directly pinging these services on the web client because CORS is restricted. # noqa: E501
18729
- This method makes a synchronous HTTP request by default. To make an
18730
- asynchronous HTTP request, please pass async_req=True
18731
- >>> thread = api.get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get(session_id, async_req=True)
18732
- >>> result = thread.get()
18733
-
18734
- :param async_req bool: execute request asynchronously
18735
- :param str session_id: (required)
18736
- :param _preload_content: if False, the urllib3.HTTPResponse object will
18737
- be returned without reading/decoding response
18738
- data. Default is True.
18739
- :param _request_timeout: timeout setting for this request. If one
18740
- number provided, it will be total request
18741
- timeout. It can also be a pair (tuple) of
18742
- (connection, read) timeouts.
18743
- :return: ExternalservicestatusresponseResponse
18744
- If the method is called asynchronously,
18745
- returns the request thread.
18746
- """
18747
- kwargs['_return_http_data_only'] = True
18748
- return self.get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get_with_http_info(session_id, **kwargs) # noqa: E501
18749
-
18750
- def get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get_with_http_info(self, session_id, **kwargs): # noqa: E501
18751
- """Get Ping External Services # noqa: E501
18752
-
18753
- Ping external session services to see if SSL negotiations have completed. SSL errors will throw URLErrors and will not have a status code. Using this endpoint is preferred over directly pinging these services on the web client because CORS is restricted. # noqa: E501
18754
- This method makes a synchronous HTTP request by default. To make an
18755
- asynchronous HTTP request, please pass async_req=True
18756
- >>> thread = api.get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get_with_http_info(session_id, async_req=True)
18757
- >>> result = thread.get()
18758
-
18759
- :param async_req bool: execute request asynchronously
18760
- :param str session_id: (required)
18761
- :param _return_http_data_only: response data without head status code
18762
- and headers
18763
- :param _preload_content: if False, the urllib3.HTTPResponse object will
18764
- be returned without reading/decoding response
18765
- data. Default is True.
18766
- :param _request_timeout: timeout setting for this request. If one
18767
- number provided, it will be total request
18768
- timeout. It can also be a pair (tuple) of
18769
- (connection, read) timeouts.
18770
- :return: tuple(ExternalservicestatusresponseResponse, status_code(int), headers(HTTPHeaderDict))
18771
- If the method is called asynchronously,
18772
- returns the request thread.
18773
- """
18774
-
18775
- local_var_params = locals()
18776
-
18777
- all_params = [
18778
- 'session_id'
18779
- ]
18780
- all_params.extend(
18781
- [
18782
- 'async_req',
18783
- '_return_http_data_only',
18784
- '_preload_content',
18785
- '_request_timeout'
18786
- ]
18787
- )
18788
-
18789
- for key, val in six.iteritems(local_var_params['kwargs']):
18790
- if key not in all_params:
18791
- raise ApiTypeError(
18792
- "Got an unexpected keyword argument '%s'"
18793
- " to method get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get" % key
18794
- )
18795
- local_var_params[key] = val
18796
- del local_var_params['kwargs']
18797
- # verify the required parameter 'session_id' is set
18798
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
18799
- local_var_params['session_id'] is None): # noqa: E501
18800
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get`") # noqa: E501
18801
-
18802
- collection_formats = {}
18803
-
18804
- path_params = {}
18805
- if 'session_id' in local_var_params:
18806
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
18807
-
18808
- query_params = []
18809
-
18810
- header_params = {}
18811
-
18812
- form_params = []
18813
- local_var_files = {}
18814
-
18815
- body_params = None
18816
- # HTTP header `Accept`
18817
- header_params['Accept'] = self.api_client.select_header_accept(
18818
- ['application/json']) # noqa: E501
18819
-
18820
- # Authentication setting
18821
- auth_settings = [] # noqa: E501
18822
-
18823
- return self.api_client.call_api(
18824
- '/api/v2/sessions/{session_id}/ping_external_services', 'GET',
18825
- path_params,
18826
- query_params,
18827
- header_params,
18828
- body=body_params,
18829
- post_params=form_params,
18830
- files=local_var_files,
18831
- response_type='ExternalservicestatusresponseResponse', # noqa: E501
18832
- auth_settings=auth_settings,
18833
- async_req=local_var_params.get('async_req'),
18834
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
18835
- _preload_content=local_var_params.get('_preload_content', True),
18836
- _request_timeout=local_var_params.get('_request_timeout'),
18837
- collection_formats=collection_formats)
18838
-
18839
17543
  def get_project_api_v2_projects_project_id_get(self, project_id, **kwargs): # noqa: E501
18840
17544
  """Get Project # noqa: E501
18841
17545
 
@@ -21177,118 +19881,6 @@ class DefaultApi(object):
21177
19881
  _request_timeout=local_var_params.get('_request_timeout'),
21178
19882
  collection_formats=collection_formats)
21179
19883
 
21180
- def get_session_details_api_v2_sessions_session_id_details_get(self, session_id, **kwargs): # noqa: E501
21181
- """Get Session Details # noqa: E501
21182
-
21183
- This method makes a synchronous HTTP request by default. To make an
21184
- asynchronous HTTP request, please pass async_req=True
21185
- >>> thread = api.get_session_details_api_v2_sessions_session_id_details_get(session_id, async_req=True)
21186
- >>> result = thread.get()
21187
-
21188
- :param async_req bool: execute request asynchronously
21189
- :param str session_id: (required)
21190
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21191
- be returned without reading/decoding response
21192
- data. Default is True.
21193
- :param _request_timeout: timeout setting for this request. If one
21194
- number provided, it will be total request
21195
- timeout. It can also be a pair (tuple) of
21196
- (connection, read) timeouts.
21197
- :return: SessiondetailsResponse
21198
- If the method is called asynchronously,
21199
- returns the request thread.
21200
- """
21201
- kwargs['_return_http_data_only'] = True
21202
- return self.get_session_details_api_v2_sessions_session_id_details_get_with_http_info(session_id, **kwargs) # noqa: E501
21203
-
21204
- def get_session_details_api_v2_sessions_session_id_details_get_with_http_info(self, session_id, **kwargs): # noqa: E501
21205
- """Get Session Details # noqa: E501
21206
-
21207
- This method makes a synchronous HTTP request by default. To make an
21208
- asynchronous HTTP request, please pass async_req=True
21209
- >>> thread = api.get_session_details_api_v2_sessions_session_id_details_get_with_http_info(session_id, async_req=True)
21210
- >>> result = thread.get()
21211
-
21212
- :param async_req bool: execute request asynchronously
21213
- :param str session_id: (required)
21214
- :param _return_http_data_only: response data without head status code
21215
- and headers
21216
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21217
- be returned without reading/decoding response
21218
- data. Default is True.
21219
- :param _request_timeout: timeout setting for this request. If one
21220
- number provided, it will be total request
21221
- timeout. It can also be a pair (tuple) of
21222
- (connection, read) timeouts.
21223
- :return: tuple(SessiondetailsResponse, status_code(int), headers(HTTPHeaderDict))
21224
- If the method is called asynchronously,
21225
- returns the request thread.
21226
- """
21227
-
21228
- local_var_params = locals()
21229
-
21230
- all_params = [
21231
- 'session_id'
21232
- ]
21233
- all_params.extend(
21234
- [
21235
- 'async_req',
21236
- '_return_http_data_only',
21237
- '_preload_content',
21238
- '_request_timeout'
21239
- ]
21240
- )
21241
-
21242
- for key, val in six.iteritems(local_var_params['kwargs']):
21243
- if key not in all_params:
21244
- raise ApiTypeError(
21245
- "Got an unexpected keyword argument '%s'"
21246
- " to method get_session_details_api_v2_sessions_session_id_details_get" % key
21247
- )
21248
- local_var_params[key] = val
21249
- del local_var_params['kwargs']
21250
- # verify the required parameter 'session_id' is set
21251
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
21252
- local_var_params['session_id'] is None): # noqa: E501
21253
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_details_api_v2_sessions_session_id_details_get`") # noqa: E501
21254
-
21255
- collection_formats = {}
21256
-
21257
- path_params = {}
21258
- if 'session_id' in local_var_params:
21259
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
21260
-
21261
- query_params = []
21262
-
21263
- header_params = {}
21264
-
21265
- form_params = []
21266
- local_var_files = {}
21267
-
21268
- body_params = None
21269
- # HTTP header `Accept`
21270
- header_params['Accept'] = self.api_client.select_header_accept(
21271
- ['application/json']) # noqa: E501
21272
-
21273
- # Authentication setting
21274
- auth_settings = [] # noqa: E501
21275
-
21276
- return self.api_client.call_api(
21277
- '/api/v2/sessions/{session_id}/details', 'GET',
21278
- path_params,
21279
- query_params,
21280
- header_params,
21281
- body=body_params,
21282
- post_params=form_params,
21283
- files=local_var_files,
21284
- response_type='SessiondetailsResponse', # noqa: E501
21285
- auth_settings=auth_settings,
21286
- async_req=local_var_params.get('async_req'),
21287
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
21288
- _preload_content=local_var_params.get('_preload_content', True),
21289
- _request_timeout=local_var_params.get('_request_timeout'),
21290
- collection_formats=collection_formats)
21291
-
21292
19884
  def get_session_head_ip_api_v2_sessions_session_id_head_ip_get(self, session_id, **kwargs): # noqa: E501
21293
19885
  """Get Session Head Ip # noqa: E501
21294
19886
 
@@ -21403,134 +19995,6 @@ class DefaultApi(object):
21403
19995
  _request_timeout=local_var_params.get('_request_timeout'),
21404
19996
  collection_formats=collection_formats)
21405
19997
 
21406
- def get_session_history_api_v2_sessions_session_id_history_get(self, session_id, **kwargs): # noqa: E501
21407
- """Get Session History # noqa: E501
21408
-
21409
- Describe all actions applied to a particular session. # noqa: E501
21410
- This method makes a synchronous HTTP request by default. To make an
21411
- asynchronous HTTP request, please pass async_req=True
21412
- >>> thread = api.get_session_history_api_v2_sessions_session_id_history_get(session_id, async_req=True)
21413
- >>> result = thread.get()
21414
-
21415
- :param async_req bool: execute request asynchronously
21416
- :param str session_id: (required)
21417
- :param str paging_token:
21418
- :param int count:
21419
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21420
- be returned without reading/decoding response
21421
- data. Default is True.
21422
- :param _request_timeout: timeout setting for this request. If one
21423
- number provided, it will be total request
21424
- timeout. It can also be a pair (tuple) of
21425
- (connection, read) timeouts.
21426
- :return: SessionhistoryitemListResponse
21427
- If the method is called asynchronously,
21428
- returns the request thread.
21429
- """
21430
- kwargs['_return_http_data_only'] = True
21431
- return self.get_session_history_api_v2_sessions_session_id_history_get_with_http_info(session_id, **kwargs) # noqa: E501
21432
-
21433
- def get_session_history_api_v2_sessions_session_id_history_get_with_http_info(self, session_id, **kwargs): # noqa: E501
21434
- """Get Session History # noqa: E501
21435
-
21436
- Describe all actions applied to a particular session. # noqa: E501
21437
- This method makes a synchronous HTTP request by default. To make an
21438
- asynchronous HTTP request, please pass async_req=True
21439
- >>> thread = api.get_session_history_api_v2_sessions_session_id_history_get_with_http_info(session_id, async_req=True)
21440
- >>> result = thread.get()
21441
-
21442
- :param async_req bool: execute request asynchronously
21443
- :param str session_id: (required)
21444
- :param str paging_token:
21445
- :param int count:
21446
- :param _return_http_data_only: response data without head status code
21447
- and headers
21448
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21449
- be returned without reading/decoding response
21450
- data. Default is True.
21451
- :param _request_timeout: timeout setting for this request. If one
21452
- number provided, it will be total request
21453
- timeout. It can also be a pair (tuple) of
21454
- (connection, read) timeouts.
21455
- :return: tuple(SessionhistoryitemListResponse, status_code(int), headers(HTTPHeaderDict))
21456
- If the method is called asynchronously,
21457
- returns the request thread.
21458
- """
21459
-
21460
- local_var_params = locals()
21461
-
21462
- all_params = [
21463
- 'session_id',
21464
- 'paging_token',
21465
- 'count'
21466
- ]
21467
- all_params.extend(
21468
- [
21469
- 'async_req',
21470
- '_return_http_data_only',
21471
- '_preload_content',
21472
- '_request_timeout'
21473
- ]
21474
- )
21475
-
21476
- for key, val in six.iteritems(local_var_params['kwargs']):
21477
- if key not in all_params:
21478
- raise ApiTypeError(
21479
- "Got an unexpected keyword argument '%s'"
21480
- " to method get_session_history_api_v2_sessions_session_id_history_get" % key
21481
- )
21482
- local_var_params[key] = val
21483
- del local_var_params['kwargs']
21484
- # verify the required parameter 'session_id' is set
21485
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
21486
- local_var_params['session_id'] is None): # noqa: E501
21487
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_history_api_v2_sessions_session_id_history_get`") # noqa: E501
21488
-
21489
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
21490
- raise ApiValueError("Invalid value for parameter `count` when calling `get_session_history_api_v2_sessions_session_id_history_get`, must be a value less than or equal to `50`") # noqa: E501
21491
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
21492
- raise ApiValueError("Invalid value for parameter `count` when calling `get_session_history_api_v2_sessions_session_id_history_get`, must be a value greater than or equal to `0`") # noqa: E501
21493
- collection_formats = {}
21494
-
21495
- path_params = {}
21496
- if 'session_id' in local_var_params:
21497
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
21498
-
21499
- query_params = []
21500
- if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
21501
- query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
21502
- if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
21503
- query_params.append(('count', local_var_params['count'])) # noqa: E501
21504
-
21505
- header_params = {}
21506
-
21507
- form_params = []
21508
- local_var_files = {}
21509
-
21510
- body_params = None
21511
- # HTTP header `Accept`
21512
- header_params['Accept'] = self.api_client.select_header_accept(
21513
- ['application/json']) # noqa: E501
21514
-
21515
- # Authentication setting
21516
- auth_settings = [] # noqa: E501
21517
-
21518
- return self.api_client.call_api(
21519
- '/api/v2/sessions/{session_id}/history', 'GET',
21520
- path_params,
21521
- query_params,
21522
- header_params,
21523
- body=body_params,
21524
- post_params=form_params,
21525
- files=local_var_files,
21526
- response_type='SessionhistoryitemListResponse', # noqa: E501
21527
- auth_settings=auth_settings,
21528
- async_req=local_var_params.get('async_req'),
21529
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
21530
- _preload_content=local_var_params.get('_preload_content', True),
21531
- _request_timeout=local_var_params.get('_request_timeout'),
21532
- collection_formats=collection_formats)
21533
-
21534
19998
  def get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get(self, session_id, **kwargs): # noqa: E501
21535
19999
  """Get Session Ssh Key # noqa: E501
21536
20000
 
@@ -21785,16 +20249,16 @@ class DefaultApi(object):
21785
20249
  _request_timeout=local_var_params.get('_request_timeout'),
21786
20250
  collection_formats=collection_formats)
21787
20251
 
21788
- def get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get(self, session_id, **kwargs): # noqa: E501
21789
- """Get Startup Logs Archived # noqa: E501
20252
+ def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(self, cluster_id, **kwargs): # noqa: E501
20253
+ """Get Task Exception Aggregates # noqa: E501
21790
20254
 
21791
20255
  This method makes a synchronous HTTP request by default. To make an
21792
20256
  asynchronous HTTP request, please pass async_req=True
21793
- >>> thread = api.get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get(session_id, async_req=True)
20257
+ >>> thread = api.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(cluster_id, async_req=True)
21794
20258
  >>> result = thread.get()
21795
20259
 
21796
20260
  :param async_req bool: execute request asynchronously
21797
- :param str session_id: (required)
20261
+ :param str cluster_id: (required)
21798
20262
  :param _preload_content: if False, the urllib3.HTTPResponse object will
21799
20263
  be returned without reading/decoding response
21800
20264
  data. Default is True.
@@ -21802,23 +20266,23 @@ class DefaultApi(object):
21802
20266
  number provided, it will be total request
21803
20267
  timeout. It can also be a pair (tuple) of
21804
20268
  (connection, read) timeouts.
21805
- :return: ArchivedlogsinfoResponse
20269
+ :return: TaskExceptionGroupAggregateResponse
21806
20270
  If the method is called asynchronously,
21807
20271
  returns the request thread.
21808
20272
  """
21809
20273
  kwargs['_return_http_data_only'] = True
21810
- return self.get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get_with_http_info(session_id, **kwargs) # noqa: E501
20274
+ return self.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(cluster_id, **kwargs) # noqa: E501
21811
20275
 
21812
- def get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get_with_http_info(self, session_id, **kwargs): # noqa: E501
21813
- """Get Startup Logs Archived # noqa: E501
20276
+ def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
20277
+ """Get Task Exception Aggregates # noqa: E501
21814
20278
 
21815
20279
  This method makes a synchronous HTTP request by default. To make an
21816
20280
  asynchronous HTTP request, please pass async_req=True
21817
- >>> thread = api.get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get_with_http_info(session_id, async_req=True)
20281
+ >>> thread = api.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(cluster_id, async_req=True)
21818
20282
  >>> result = thread.get()
21819
20283
 
21820
20284
  :param async_req bool: execute request asynchronously
21821
- :param str session_id: (required)
20285
+ :param str cluster_id: (required)
21822
20286
  :param _return_http_data_only: response data without head status code
21823
20287
  and headers
21824
20288
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -21828,7 +20292,7 @@ class DefaultApi(object):
21828
20292
  number provided, it will be total request
21829
20293
  timeout. It can also be a pair (tuple) of
21830
20294
  (connection, read) timeouts.
21831
- :return: tuple(ArchivedlogsinfoResponse, status_code(int), headers(HTTPHeaderDict))
20295
+ :return: tuple(TaskExceptionGroupAggregateResponse, status_code(int), headers(HTTPHeaderDict))
21832
20296
  If the method is called asynchronously,
21833
20297
  returns the request thread.
21834
20298
  """
@@ -21836,7 +20300,7 @@ class DefaultApi(object):
21836
20300
  local_var_params = locals()
21837
20301
 
21838
20302
  all_params = [
21839
- 'session_id'
20303
+ 'cluster_id'
21840
20304
  ]
21841
20305
  all_params.extend(
21842
20306
  [
@@ -21851,22 +20315,22 @@ class DefaultApi(object):
21851
20315
  if key not in all_params:
21852
20316
  raise ApiTypeError(
21853
20317
  "Got an unexpected keyword argument '%s'"
21854
- " to method get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get" % key
20318
+ " to method get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get" % key
21855
20319
  )
21856
20320
  local_var_params[key] = val
21857
20321
  del local_var_params['kwargs']
21858
- # verify the required parameter 'session_id' is set
21859
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
21860
- local_var_params['session_id'] is None): # noqa: E501
21861
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get`") # noqa: E501
20322
+ # verify the required parameter 'cluster_id' is set
20323
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
20324
+ local_var_params['cluster_id'] is None): # noqa: E501
20325
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get`") # noqa: E501
21862
20326
 
21863
20327
  collection_formats = {}
21864
20328
 
21865
20329
  path_params = {}
21866
- if 'session_id' in local_var_params:
21867
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
21868
20330
 
21869
20331
  query_params = []
20332
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
20333
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
21870
20334
 
21871
20335
  header_params = {}
21872
20336
 
@@ -21882,14 +20346,14 @@ class DefaultApi(object):
21882
20346
  auth_settings = [] # noqa: E501
21883
20347
 
21884
20348
  return self.api_client.call_api(
21885
- '/api/v2/sessions/{session_id}/startup_logs_archived', 'GET',
20349
+ '/api/v2/tasks_dashboard/aggregate_by_exception', 'GET',
21886
20350
  path_params,
21887
20351
  query_params,
21888
20352
  header_params,
21889
20353
  body=body_params,
21890
20354
  post_params=form_params,
21891
20355
  files=local_var_files,
21892
- response_type='ArchivedlogsinfoResponse', # noqa: E501
20356
+ response_type='TaskExceptionGroupAggregateResponse', # noqa: E501
21893
20357
  auth_settings=auth_settings,
21894
20358
  async_req=local_var_params.get('async_req'),
21895
20359
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -21897,12 +20361,12 @@ class DefaultApi(object):
21897
20361
  _request_timeout=local_var_params.get('_request_timeout'),
21898
20362
  collection_formats=collection_formats)
21899
20363
 
21900
- def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(self, cluster_id, **kwargs): # noqa: E501
21901
- """Get Task Exception Aggregates # noqa: E501
20364
+ def get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get(self, cluster_id, **kwargs): # noqa: E501
20365
+ """Get Task Function Aggregates # noqa: E501
21902
20366
 
21903
20367
  This method makes a synchronous HTTP request by default. To make an
21904
20368
  asynchronous HTTP request, please pass async_req=True
21905
- >>> thread = api.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(cluster_id, async_req=True)
20369
+ >>> thread = api.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get(cluster_id, async_req=True)
21906
20370
  >>> result = thread.get()
21907
20371
 
21908
20372
  :param async_req bool: execute request asynchronously
@@ -21914,19 +20378,19 @@ class DefaultApi(object):
21914
20378
  number provided, it will be total request
21915
20379
  timeout. It can also be a pair (tuple) of
21916
20380
  (connection, read) timeouts.
21917
- :return: TaskExceptionGroupAggregateResponse
20381
+ :return: TaskFunctionNameGroupAggregateResponse
21918
20382
  If the method is called asynchronously,
21919
20383
  returns the request thread.
21920
20384
  """
21921
20385
  kwargs['_return_http_data_only'] = True
21922
- return self.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(cluster_id, **kwargs) # noqa: E501
20386
+ return self.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(cluster_id, **kwargs) # noqa: E501
21923
20387
 
21924
- def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
21925
- """Get Task Exception Aggregates # noqa: E501
20388
+ def get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
20389
+ """Get Task Function Aggregates # noqa: E501
21926
20390
 
21927
20391
  This method makes a synchronous HTTP request by default. To make an
21928
20392
  asynchronous HTTP request, please pass async_req=True
21929
- >>> thread = api.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(cluster_id, async_req=True)
20393
+ >>> thread = api.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(cluster_id, async_req=True)
21930
20394
  >>> result = thread.get()
21931
20395
 
21932
20396
  :param async_req bool: execute request asynchronously
@@ -21940,119 +20404,7 @@ class DefaultApi(object):
21940
20404
  number provided, it will be total request
21941
20405
  timeout. It can also be a pair (tuple) of
21942
20406
  (connection, read) timeouts.
21943
- :return: tuple(TaskExceptionGroupAggregateResponse, status_code(int), headers(HTTPHeaderDict))
21944
- If the method is called asynchronously,
21945
- returns the request thread.
21946
- """
21947
-
21948
- local_var_params = locals()
21949
-
21950
- all_params = [
21951
- 'cluster_id'
21952
- ]
21953
- all_params.extend(
21954
- [
21955
- 'async_req',
21956
- '_return_http_data_only',
21957
- '_preload_content',
21958
- '_request_timeout'
21959
- ]
21960
- )
21961
-
21962
- for key, val in six.iteritems(local_var_params['kwargs']):
21963
- if key not in all_params:
21964
- raise ApiTypeError(
21965
- "Got an unexpected keyword argument '%s'"
21966
- " to method get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get" % key
21967
- )
21968
- local_var_params[key] = val
21969
- del local_var_params['kwargs']
21970
- # verify the required parameter 'cluster_id' is set
21971
- if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
21972
- local_var_params['cluster_id'] is None): # noqa: E501
21973
- raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get`") # noqa: E501
21974
-
21975
- collection_formats = {}
21976
-
21977
- path_params = {}
21978
-
21979
- query_params = []
21980
- if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
21981
- query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
21982
-
21983
- header_params = {}
21984
-
21985
- form_params = []
21986
- local_var_files = {}
21987
-
21988
- body_params = None
21989
- # HTTP header `Accept`
21990
- header_params['Accept'] = self.api_client.select_header_accept(
21991
- ['application/json']) # noqa: E501
21992
-
21993
- # Authentication setting
21994
- auth_settings = [] # noqa: E501
21995
-
21996
- return self.api_client.call_api(
21997
- '/api/v2/tasks_dashboard/aggregate_by_exception', 'GET',
21998
- path_params,
21999
- query_params,
22000
- header_params,
22001
- body=body_params,
22002
- post_params=form_params,
22003
- files=local_var_files,
22004
- response_type='TaskExceptionGroupAggregateResponse', # noqa: E501
22005
- auth_settings=auth_settings,
22006
- async_req=local_var_params.get('async_req'),
22007
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
22008
- _preload_content=local_var_params.get('_preload_content', True),
22009
- _request_timeout=local_var_params.get('_request_timeout'),
22010
- collection_formats=collection_formats)
22011
-
22012
- def get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get(self, cluster_id, **kwargs): # noqa: E501
22013
- """Get Task Function Aggregates # noqa: E501
22014
-
22015
- This method makes a synchronous HTTP request by default. To make an
22016
- asynchronous HTTP request, please pass async_req=True
22017
- >>> thread = api.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get(cluster_id, async_req=True)
22018
- >>> result = thread.get()
22019
-
22020
- :param async_req bool: execute request asynchronously
22021
- :param str cluster_id: (required)
22022
- :param _preload_content: if False, the urllib3.HTTPResponse object will
22023
- be returned without reading/decoding response
22024
- data. Default is True.
22025
- :param _request_timeout: timeout setting for this request. If one
22026
- number provided, it will be total request
22027
- timeout. It can also be a pair (tuple) of
22028
- (connection, read) timeouts.
22029
- :return: TaskFunctionNameGroupAggregateResponse
22030
- If the method is called asynchronously,
22031
- returns the request thread.
22032
- """
22033
- kwargs['_return_http_data_only'] = True
22034
- return self.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(cluster_id, **kwargs) # noqa: E501
22035
-
22036
- def get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
22037
- """Get Task Function Aggregates # noqa: E501
22038
-
22039
- This method makes a synchronous HTTP request by default. To make an
22040
- asynchronous HTTP request, please pass async_req=True
22041
- >>> thread = api.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(cluster_id, async_req=True)
22042
- >>> result = thread.get()
22043
-
22044
- :param async_req bool: execute request asynchronously
22045
- :param str cluster_id: (required)
22046
- :param _return_http_data_only: response data without head status code
22047
- and headers
22048
- :param _preload_content: if False, the urllib3.HTTPResponse object will
22049
- be returned without reading/decoding response
22050
- data. Default is True.
22051
- :param _request_timeout: timeout setting for this request. If one
22052
- number provided, it will be total request
22053
- timeout. It can also be a pair (tuple) of
22054
- (connection, read) timeouts.
22055
- :return: tuple(TaskFunctionNameGroupAggregateResponse, status_code(int), headers(HTTPHeaderDict))
20407
+ :return: tuple(TaskFunctionNameGroupAggregateResponse, status_code(int), headers(HTTPHeaderDict))
22056
20408
  If the method is called asynchronously,
22057
20409
  returns the request thread.
22058
20410
  """
@@ -24820,118 +23172,6 @@ class DefaultApi(object):
24820
23172
  _request_timeout=local_var_params.get('_request_timeout'),
24821
23173
  collection_formats=collection_formats)
24822
23174
 
24823
- def kill_session_command_api_v2_session_commands_session_command_id_kill_post(self, session_command_id, **kwargs): # noqa: E501
24824
- """Kill Session Command # noqa: E501
24825
-
24826
- This method makes a synchronous HTTP request by default. To make an
24827
- asynchronous HTTP request, please pass async_req=True
24828
- >>> thread = api.kill_session_command_api_v2_session_commands_session_command_id_kill_post(session_command_id, async_req=True)
24829
- >>> result = thread.get()
24830
-
24831
- :param async_req bool: execute request asynchronously
24832
- :param str session_command_id: (required)
24833
- :param _preload_content: if False, the urllib3.HTTPResponse object will
24834
- be returned without reading/decoding response
24835
- data. Default is True.
24836
- :param _request_timeout: timeout setting for this request. If one
24837
- number provided, it will be total request
24838
- timeout. It can also be a pair (tuple) of
24839
- (connection, read) timeouts.
24840
- :return: None
24841
- If the method is called asynchronously,
24842
- returns the request thread.
24843
- """
24844
- kwargs['_return_http_data_only'] = True
24845
- return self.kill_session_command_api_v2_session_commands_session_command_id_kill_post_with_http_info(session_command_id, **kwargs) # noqa: E501
24846
-
24847
- def kill_session_command_api_v2_session_commands_session_command_id_kill_post_with_http_info(self, session_command_id, **kwargs): # noqa: E501
24848
- """Kill Session Command # noqa: E501
24849
-
24850
- This method makes a synchronous HTTP request by default. To make an
24851
- asynchronous HTTP request, please pass async_req=True
24852
- >>> thread = api.kill_session_command_api_v2_session_commands_session_command_id_kill_post_with_http_info(session_command_id, async_req=True)
24853
- >>> result = thread.get()
24854
-
24855
- :param async_req bool: execute request asynchronously
24856
- :param str session_command_id: (required)
24857
- :param _return_http_data_only: response data without head status code
24858
- and headers
24859
- :param _preload_content: if False, the urllib3.HTTPResponse object will
24860
- be returned without reading/decoding response
24861
- data. Default is True.
24862
- :param _request_timeout: timeout setting for this request. If one
24863
- number provided, it will be total request
24864
- timeout. It can also be a pair (tuple) of
24865
- (connection, read) timeouts.
24866
- :return: None
24867
- If the method is called asynchronously,
24868
- returns the request thread.
24869
- """
24870
-
24871
- local_var_params = locals()
24872
-
24873
- all_params = [
24874
- 'session_command_id'
24875
- ]
24876
- all_params.extend(
24877
- [
24878
- 'async_req',
24879
- '_return_http_data_only',
24880
- '_preload_content',
24881
- '_request_timeout'
24882
- ]
24883
- )
24884
-
24885
- for key, val in six.iteritems(local_var_params['kwargs']):
24886
- if key not in all_params:
24887
- raise ApiTypeError(
24888
- "Got an unexpected keyword argument '%s'"
24889
- " to method kill_session_command_api_v2_session_commands_session_command_id_kill_post" % key
24890
- )
24891
- local_var_params[key] = val
24892
- del local_var_params['kwargs']
24893
- # verify the required parameter 'session_command_id' is set
24894
- if self.api_client.client_side_validation and ('session_command_id' not in local_var_params or # noqa: E501
24895
- local_var_params['session_command_id'] is None): # noqa: E501
24896
- raise ApiValueError("Missing the required parameter `session_command_id` when calling `kill_session_command_api_v2_session_commands_session_command_id_kill_post`") # noqa: E501
24897
-
24898
- collection_formats = {}
24899
-
24900
- path_params = {}
24901
- if 'session_command_id' in local_var_params:
24902
- path_params['session_command_id'] = local_var_params['session_command_id'] # noqa: E501
24903
-
24904
- query_params = []
24905
-
24906
- header_params = {}
24907
-
24908
- form_params = []
24909
- local_var_files = {}
24910
-
24911
- body_params = None
24912
- # HTTP header `Accept`
24913
- header_params['Accept'] = self.api_client.select_header_accept(
24914
- ['application/json']) # noqa: E501
24915
-
24916
- # Authentication setting
24917
- auth_settings = [] # noqa: E501
24918
-
24919
- return self.api_client.call_api(
24920
- '/api/v2/session_commands/{session_command_id}/kill', 'POST',
24921
- path_params,
24922
- query_params,
24923
- header_params,
24924
- body=body_params,
24925
- post_params=form_params,
24926
- files=local_var_files,
24927
- response_type=None, # noqa: E501
24928
- auth_settings=auth_settings,
24929
- async_req=local_var_params.get('async_req'),
24930
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
24931
- _preload_content=local_var_params.get('_preload_content', True),
24932
- _request_timeout=local_var_params.get('_request_timeout'),
24933
- collection_formats=collection_formats)
24934
-
24935
23175
  def list_application_templates_api_v2_application_templates_get(self, **kwargs): # noqa: E501
24936
23176
  """List Application Templates # noqa: E501
24937
23177
 
@@ -28841,120 +27081,6 @@ class DefaultApi(object):
28841
27081
  _request_timeout=local_var_params.get('_request_timeout'),
28842
27082
  collection_formats=collection_formats)
28843
27083
 
28844
- def list_web_terminals_api_v2_sessions_session_id_web_terminals_get(self, session_id, **kwargs): # noqa: E501
28845
- """List Web Terminals # noqa: E501
28846
-
28847
- DEPRECATED: This API is no deprecated and will not be supported in Anyscale 2.0 # noqa: E501
28848
- This method makes a synchronous HTTP request by default. To make an
28849
- asynchronous HTTP request, please pass async_req=True
28850
- >>> thread = api.list_web_terminals_api_v2_sessions_session_id_web_terminals_get(session_id, async_req=True)
28851
- >>> result = thread.get()
28852
-
28853
- :param async_req bool: execute request asynchronously
28854
- :param str session_id: (required)
28855
- :param _preload_content: if False, the urllib3.HTTPResponse object will
28856
- be returned without reading/decoding response
28857
- data. Default is True.
28858
- :param _request_timeout: timeout setting for this request. If one
28859
- number provided, it will be total request
28860
- timeout. It can also be a pair (tuple) of
28861
- (connection, read) timeouts.
28862
- :return: WebterminalListResponse
28863
- If the method is called asynchronously,
28864
- returns the request thread.
28865
- """
28866
- kwargs['_return_http_data_only'] = True
28867
- return self.list_web_terminals_api_v2_sessions_session_id_web_terminals_get_with_http_info(session_id, **kwargs) # noqa: E501
28868
-
28869
- def list_web_terminals_api_v2_sessions_session_id_web_terminals_get_with_http_info(self, session_id, **kwargs): # noqa: E501
28870
- """List Web Terminals # noqa: E501
28871
-
28872
- DEPRECATED: This API is no deprecated and will not be supported in Anyscale 2.0 # noqa: E501
28873
- This method makes a synchronous HTTP request by default. To make an
28874
- asynchronous HTTP request, please pass async_req=True
28875
- >>> thread = api.list_web_terminals_api_v2_sessions_session_id_web_terminals_get_with_http_info(session_id, async_req=True)
28876
- >>> result = thread.get()
28877
-
28878
- :param async_req bool: execute request asynchronously
28879
- :param str session_id: (required)
28880
- :param _return_http_data_only: response data without head status code
28881
- and headers
28882
- :param _preload_content: if False, the urllib3.HTTPResponse object will
28883
- be returned without reading/decoding response
28884
- data. Default is True.
28885
- :param _request_timeout: timeout setting for this request. If one
28886
- number provided, it will be total request
28887
- timeout. It can also be a pair (tuple) of
28888
- (connection, read) timeouts.
28889
- :return: tuple(WebterminalListResponse, status_code(int), headers(HTTPHeaderDict))
28890
- If the method is called asynchronously,
28891
- returns the request thread.
28892
- """
28893
-
28894
- local_var_params = locals()
28895
-
28896
- all_params = [
28897
- 'session_id'
28898
- ]
28899
- all_params.extend(
28900
- [
28901
- 'async_req',
28902
- '_return_http_data_only',
28903
- '_preload_content',
28904
- '_request_timeout'
28905
- ]
28906
- )
28907
-
28908
- for key, val in six.iteritems(local_var_params['kwargs']):
28909
- if key not in all_params:
28910
- raise ApiTypeError(
28911
- "Got an unexpected keyword argument '%s'"
28912
- " to method list_web_terminals_api_v2_sessions_session_id_web_terminals_get" % key
28913
- )
28914
- local_var_params[key] = val
28915
- del local_var_params['kwargs']
28916
- # verify the required parameter 'session_id' is set
28917
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
28918
- local_var_params['session_id'] is None): # noqa: E501
28919
- raise ApiValueError("Missing the required parameter `session_id` when calling `list_web_terminals_api_v2_sessions_session_id_web_terminals_get`") # noqa: E501
28920
-
28921
- collection_formats = {}
28922
-
28923
- path_params = {}
28924
- if 'session_id' in local_var_params:
28925
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
28926
-
28927
- query_params = []
28928
-
28929
- header_params = {}
28930
-
28931
- form_params = []
28932
- local_var_files = {}
28933
-
28934
- body_params = None
28935
- # HTTP header `Accept`
28936
- header_params['Accept'] = self.api_client.select_header_accept(
28937
- ['application/json']) # noqa: E501
28938
-
28939
- # Authentication setting
28940
- auth_settings = [] # noqa: E501
28941
-
28942
- return self.api_client.call_api(
28943
- '/api/v2/sessions/{session_id}/web_terminals', 'GET',
28944
- path_params,
28945
- query_params,
28946
- header_params,
28947
- body=body_params,
28948
- post_params=form_params,
28949
- files=local_var_files,
28950
- response_type='WebterminalListResponse', # noqa: E501
28951
- auth_settings=auth_settings,
28952
- async_req=local_var_params.get('async_req'),
28953
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
28954
- _preload_content=local_var_params.get('_preload_content', True),
28955
- _request_timeout=local_var_params.get('_request_timeout'),
28956
- collection_formats=collection_formats)
28957
-
28958
27084
  def list_workspace_templates_api_v2_experimental_workspaces_templates_get(self, **kwargs): # noqa: E501
28959
27085
  """List Workspace Templates # noqa: E501
28960
27086
 
@@ -36159,133 +34285,6 @@ class DefaultApi(object):
36159
34285
  _request_timeout=local_var_params.get('_request_timeout'),
36160
34286
  collection_formats=collection_formats)
36161
34287
 
36162
- def update_compute_template_api_v2_compute_templates_compute_template_id_put(self, compute_template_id, update_compute_template, **kwargs): # noqa: E501
36163
- """Update Compute Template # noqa: E501
36164
-
36165
- Updates a compute template. DEPRECATED: Compute templates will be immutable. Please create a new one instead of updating existing ones. # noqa: E501
36166
- This method makes a synchronous HTTP request by default. To make an
36167
- asynchronous HTTP request, please pass async_req=True
36168
- >>> thread = api.update_compute_template_api_v2_compute_templates_compute_template_id_put(compute_template_id, update_compute_template, async_req=True)
36169
- >>> result = thread.get()
36170
-
36171
- :param async_req bool: execute request asynchronously
36172
- :param str compute_template_id: (required)
36173
- :param UpdateComputeTemplate update_compute_template: (required)
36174
- :param _preload_content: if False, the urllib3.HTTPResponse object will
36175
- be returned without reading/decoding response
36176
- data. Default is True.
36177
- :param _request_timeout: timeout setting for this request. If one
36178
- number provided, it will be total request
36179
- timeout. It can also be a pair (tuple) of
36180
- (connection, read) timeouts.
36181
- :return: ComputetemplateResponse
36182
- If the method is called asynchronously,
36183
- returns the request thread.
36184
- """
36185
- kwargs['_return_http_data_only'] = True
36186
- return self.update_compute_template_api_v2_compute_templates_compute_template_id_put_with_http_info(compute_template_id, update_compute_template, **kwargs) # noqa: E501
36187
-
36188
- def update_compute_template_api_v2_compute_templates_compute_template_id_put_with_http_info(self, compute_template_id, update_compute_template, **kwargs): # noqa: E501
36189
- """Update Compute Template # noqa: E501
36190
-
36191
- Updates a compute template. DEPRECATED: Compute templates will be immutable. Please create a new one instead of updating existing ones. # noqa: E501
36192
- This method makes a synchronous HTTP request by default. To make an
36193
- asynchronous HTTP request, please pass async_req=True
36194
- >>> thread = api.update_compute_template_api_v2_compute_templates_compute_template_id_put_with_http_info(compute_template_id, update_compute_template, async_req=True)
36195
- >>> result = thread.get()
36196
-
36197
- :param async_req bool: execute request asynchronously
36198
- :param str compute_template_id: (required)
36199
- :param UpdateComputeTemplate update_compute_template: (required)
36200
- :param _return_http_data_only: response data without head status code
36201
- and headers
36202
- :param _preload_content: if False, the urllib3.HTTPResponse object will
36203
- be returned without reading/decoding response
36204
- data. Default is True.
36205
- :param _request_timeout: timeout setting for this request. If one
36206
- number provided, it will be total request
36207
- timeout. It can also be a pair (tuple) of
36208
- (connection, read) timeouts.
36209
- :return: tuple(ComputetemplateResponse, status_code(int), headers(HTTPHeaderDict))
36210
- If the method is called asynchronously,
36211
- returns the request thread.
36212
- """
36213
-
36214
- local_var_params = locals()
36215
-
36216
- all_params = [
36217
- 'compute_template_id',
36218
- 'update_compute_template'
36219
- ]
36220
- all_params.extend(
36221
- [
36222
- 'async_req',
36223
- '_return_http_data_only',
36224
- '_preload_content',
36225
- '_request_timeout'
36226
- ]
36227
- )
36228
-
36229
- for key, val in six.iteritems(local_var_params['kwargs']):
36230
- if key not in all_params:
36231
- raise ApiTypeError(
36232
- "Got an unexpected keyword argument '%s'"
36233
- " to method update_compute_template_api_v2_compute_templates_compute_template_id_put" % key
36234
- )
36235
- local_var_params[key] = val
36236
- del local_var_params['kwargs']
36237
- # verify the required parameter 'compute_template_id' is set
36238
- if self.api_client.client_side_validation and ('compute_template_id' not in local_var_params or # noqa: E501
36239
- local_var_params['compute_template_id'] is None): # noqa: E501
36240
- raise ApiValueError("Missing the required parameter `compute_template_id` when calling `update_compute_template_api_v2_compute_templates_compute_template_id_put`") # noqa: E501
36241
- # verify the required parameter 'update_compute_template' is set
36242
- if self.api_client.client_side_validation and ('update_compute_template' not in local_var_params or # noqa: E501
36243
- local_var_params['update_compute_template'] is None): # noqa: E501
36244
- raise ApiValueError("Missing the required parameter `update_compute_template` when calling `update_compute_template_api_v2_compute_templates_compute_template_id_put`") # noqa: E501
36245
-
36246
- collection_formats = {}
36247
-
36248
- path_params = {}
36249
- if 'compute_template_id' in local_var_params:
36250
- path_params['compute_template_id'] = local_var_params['compute_template_id'] # noqa: E501
36251
-
36252
- query_params = []
36253
-
36254
- header_params = {}
36255
-
36256
- form_params = []
36257
- local_var_files = {}
36258
-
36259
- body_params = None
36260
- if 'update_compute_template' in local_var_params:
36261
- body_params = local_var_params['update_compute_template']
36262
- # HTTP header `Accept`
36263
- header_params['Accept'] = self.api_client.select_header_accept(
36264
- ['application/json']) # noqa: E501
36265
-
36266
- # HTTP header `Content-Type`
36267
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
36268
- ['application/json']) # noqa: E501
36269
-
36270
- # Authentication setting
36271
- auth_settings = [] # noqa: E501
36272
-
36273
- return self.api_client.call_api(
36274
- '/api/v2/compute_templates/{compute_template_id}', 'PUT',
36275
- path_params,
36276
- query_params,
36277
- header_params,
36278
- body=body_params,
36279
- post_params=form_params,
36280
- files=local_var_files,
36281
- response_type='ComputetemplateResponse', # noqa: E501
36282
- auth_settings=auth_settings,
36283
- async_req=local_var_params.get('async_req'),
36284
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
36285
- _preload_content=local_var_params.get('_preload_content', True),
36286
- _request_timeout=local_var_params.get('_request_timeout'),
36287
- collection_formats=collection_formats)
36288
-
36289
34288
  def update_customer_aggregated_logs_config_api_v2_clouds_cloud_id_update_customer_aggregated_logs_config_put(self, cloud_id, is_enabled, **kwargs): # noqa: E501
36290
34289
  """Update Customer Aggregated Logs Config # noqa: E501
36291
34290