anyscale 0.26.9__py3-none-any.whl → 0.26.11__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 (48) hide show
  1. anyscale/anyscale_halo/LICENSE +21 -0
  2. anyscale/anyscale_halo/README.md +1 -0
  3. anyscale/anyscale_halo/__init__.py +10 -0
  4. anyscale/anyscale_halo/_utils.py +148 -0
  5. anyscale/anyscale_halo/cursor.py +48 -0
  6. anyscale/anyscale_halo/halo.py +609 -0
  7. anyscale/anyscale_halo/halo_notebook.py +122 -0
  8. anyscale/cli_logger.py +1 -1
  9. anyscale/client/README.md +0 -35
  10. anyscale/client/openapi_client/__init__.py +0 -28
  11. anyscale/client/openapi_client/api/default_api.py +107 -878
  12. anyscale/client/openapi_client/models/__init__.py +0 -28
  13. anyscale/version.py +1 -1
  14. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/METADATA +5 -2
  15. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/RECORD +20 -41
  16. anyscale/client/openapi_client/models/card.py +0 -181
  17. anyscale/client/openapi_client/models/card_id.py +0 -108
  18. anyscale/client/openapi_client/models/card_list_response.py +0 -147
  19. anyscale/client/openapi_client/models/cluster_features.py +0 -152
  20. anyscale/client/openapi_client/models/clusterfeatures_response.py +0 -121
  21. anyscale/client/openapi_client/models/dismissal_type.py +0 -100
  22. anyscale/client/openapi_client/models/feature_compatibility.py +0 -152
  23. anyscale/client/openapi_client/models/onboarding_user_cards_query.py +0 -122
  24. anyscale/client/openapi_client/models/project_collaborators_put_message.py +0 -121
  25. anyscale/client/openapi_client/models/project_create_message.py +0 -148
  26. anyscale/client/openapi_client/models/project_delete_message.py +0 -121
  27. anyscale/client/openapi_client/models/project_patch_message.py +0 -121
  28. anyscale/client/openapi_client/models/session_autosync_sessions_update_message.py +0 -121
  29. anyscale/client/openapi_client/models/session_create_message.py +0 -148
  30. anyscale/client/openapi_client/models/session_delete_message.py +0 -121
  31. anyscale/client/openapi_client/models/session_execute_message.py +0 -121
  32. anyscale/client/openapi_client/models/session_finish_command_message.py +0 -175
  33. anyscale/client/openapi_client/models/session_kill_command_message.py +0 -121
  34. anyscale/client/openapi_client/models/session_patch_message.py +0 -121
  35. anyscale/client/openapi_client/models/session_state_change_message.py +0 -121
  36. anyscale/client/openapi_client/models/snapshot_create_message.py +0 -148
  37. anyscale/client/openapi_client/models/snapshot_delete_message.py +0 -148
  38. anyscale/client/openapi_client/models/snapshot_patch_message.py +0 -148
  39. anyscale/client/openapi_client/models/socket_message_schemas.py +0 -499
  40. anyscale/client/openapi_client/models/socket_message_types.py +0 -113
  41. anyscale/client/openapi_client/models/socketmessageschemas_response.py +0 -121
  42. anyscale/client/openapi_client/models/socketmessagetypes_response.py +0 -121
  43. anyscale/client/openapi_client/models/visibility.py +0 -100
  44. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/LICENSE +0 -0
  45. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/NOTICE +0 -0
  46. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/WHEEL +0 -0
  47. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/entry_points.txt +0 -0
  48. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/top_level.txt +0 -0
@@ -4760,120 +4760,6 @@ class DefaultApi(object):
4760
4760
  _request_timeout=local_var_params.get('_request_timeout'),
4761
4761
  collection_formats=collection_formats)
4762
4762
 
4763
- def create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post(self, organization_id, **kwargs): # noqa: E501
4764
- """Create Endpoint User For Org # noqa: E501
4765
-
4766
- Converts an existing console org to an OA org with access to endpoints features by creating an endpoints user account for the organization. # noqa: E501
4767
- This method makes a synchronous HTTP request by default. To make an
4768
- asynchronous HTTP request, please pass async_req=True
4769
- >>> thread = api.create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post(organization_id, async_req=True)
4770
- >>> result = thread.get()
4771
-
4772
- :param async_req bool: execute request asynchronously
4773
- :param str organization_id: (required)
4774
- :param _preload_content: if False, the urllib3.HTTPResponse object will
4775
- be returned without reading/decoding response
4776
- data. Default is True.
4777
- :param _request_timeout: timeout setting for this request. If one
4778
- number provided, it will be total request
4779
- timeout. It can also be a pair (tuple) of
4780
- (connection, read) timeouts.
4781
- :return: object
4782
- If the method is called asynchronously,
4783
- returns the request thread.
4784
- """
4785
- kwargs['_return_http_data_only'] = True
4786
- return self.create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post_with_http_info(organization_id, **kwargs) # noqa: E501
4787
-
4788
- def create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post_with_http_info(self, organization_id, **kwargs): # noqa: E501
4789
- """Create Endpoint User For Org # noqa: E501
4790
-
4791
- Converts an existing console org to an OA org with access to endpoints features by creating an endpoints user account for the organization. # noqa: E501
4792
- This method makes a synchronous HTTP request by default. To make an
4793
- asynchronous HTTP request, please pass async_req=True
4794
- >>> thread = api.create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post_with_http_info(organization_id, async_req=True)
4795
- >>> result = thread.get()
4796
-
4797
- :param async_req bool: execute request asynchronously
4798
- :param str organization_id: (required)
4799
- :param _return_http_data_only: response data without head status code
4800
- and headers
4801
- :param _preload_content: if False, the urllib3.HTTPResponse object will
4802
- be returned without reading/decoding response
4803
- data. Default is True.
4804
- :param _request_timeout: timeout setting for this request. If one
4805
- number provided, it will be total request
4806
- timeout. It can also be a pair (tuple) of
4807
- (connection, read) timeouts.
4808
- :return: tuple(object, status_code(int), headers(HTTPHeaderDict))
4809
- If the method is called asynchronously,
4810
- returns the request thread.
4811
- """
4812
-
4813
- local_var_params = locals()
4814
-
4815
- all_params = [
4816
- 'organization_id'
4817
- ]
4818
- all_params.extend(
4819
- [
4820
- 'async_req',
4821
- '_return_http_data_only',
4822
- '_preload_content',
4823
- '_request_timeout'
4824
- ]
4825
- )
4826
-
4827
- for key, val in six.iteritems(local_var_params['kwargs']):
4828
- if key not in all_params:
4829
- raise ApiTypeError(
4830
- "Got an unexpected keyword argument '%s'"
4831
- " to method create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post" % key
4832
- )
4833
- local_var_params[key] = val
4834
- del local_var_params['kwargs']
4835
- # verify the required parameter 'organization_id' is set
4836
- if self.api_client.client_side_validation and ('organization_id' not in local_var_params or # noqa: E501
4837
- local_var_params['organization_id'] is None): # noqa: E501
4838
- raise ApiValueError("Missing the required parameter `organization_id` when calling `create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post`") # noqa: E501
4839
-
4840
- collection_formats = {}
4841
-
4842
- path_params = {}
4843
- if 'organization_id' in local_var_params:
4844
- path_params['organization_id'] = local_var_params['organization_id'] # noqa: E501
4845
-
4846
- query_params = []
4847
-
4848
- header_params = {}
4849
-
4850
- form_params = []
4851
- local_var_files = {}
4852
-
4853
- body_params = None
4854
- # HTTP header `Accept`
4855
- header_params['Accept'] = self.api_client.select_header_accept(
4856
- ['application/json']) # noqa: E501
4857
-
4858
- # Authentication setting
4859
- auth_settings = [] # noqa: E501
4860
-
4861
- return self.api_client.call_api(
4862
- '/api/v2/organizations/{organization_id}/create_endpoint_user', 'POST',
4863
- path_params,
4864
- query_params,
4865
- header_params,
4866
- body=body_params,
4867
- post_params=form_params,
4868
- files=local_var_files,
4869
- response_type='object', # noqa: E501
4870
- auth_settings=auth_settings,
4871
- async_req=local_var_params.get('async_req'),
4872
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
4873
- _preload_content=local_var_params.get('_preload_content', True),
4874
- _request_timeout=local_var_params.get('_request_timeout'),
4875
- collection_formats=collection_formats)
4876
-
4877
4763
  def create_instance_usage_budget_api_v2_instance_usage_budgets_post(self, create_instance_usage_budget, **kwargs): # noqa: E501
4878
4764
  """Create Instance Usage Budget # noqa: E501
4879
4765
 
@@ -9657,120 +9543,6 @@ class DefaultApi(object):
9657
9543
  _request_timeout=local_var_params.get('_request_timeout'),
9658
9544
  collection_formats=collection_formats)
9659
9545
 
9660
- def dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post(self, card_id, **kwargs): # noqa: E501
9661
- """Dismiss User Card # noqa: E501
9662
-
9663
- Dismiss given card_id for logged in user. # noqa: E501
9664
- This method makes a synchronous HTTP request by default. To make an
9665
- asynchronous HTTP request, please pass async_req=True
9666
- >>> thread = api.dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post(card_id, async_req=True)
9667
- >>> result = thread.get()
9668
-
9669
- :param async_req bool: execute request asynchronously
9670
- :param CardId card_id: (required)
9671
- :param _preload_content: if False, the urllib3.HTTPResponse object will
9672
- be returned without reading/decoding response
9673
- data. Default is True.
9674
- :param _request_timeout: timeout setting for this request. If one
9675
- number provided, it will be total request
9676
- timeout. It can also be a pair (tuple) of
9677
- (connection, read) timeouts.
9678
- :return: object
9679
- If the method is called asynchronously,
9680
- returns the request thread.
9681
- """
9682
- kwargs['_return_http_data_only'] = True
9683
- return self.dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post_with_http_info(card_id, **kwargs) # noqa: E501
9684
-
9685
- def dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post_with_http_info(self, card_id, **kwargs): # noqa: E501
9686
- """Dismiss User Card # noqa: E501
9687
-
9688
- Dismiss given card_id for logged in user. # noqa: E501
9689
- This method makes a synchronous HTTP request by default. To make an
9690
- asynchronous HTTP request, please pass async_req=True
9691
- >>> thread = api.dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post_with_http_info(card_id, async_req=True)
9692
- >>> result = thread.get()
9693
-
9694
- :param async_req bool: execute request asynchronously
9695
- :param CardId card_id: (required)
9696
- :param _return_http_data_only: response data without head status code
9697
- and headers
9698
- :param _preload_content: if False, the urllib3.HTTPResponse object will
9699
- be returned without reading/decoding response
9700
- data. Default is True.
9701
- :param _request_timeout: timeout setting for this request. If one
9702
- number provided, it will be total request
9703
- timeout. It can also be a pair (tuple) of
9704
- (connection, read) timeouts.
9705
- :return: tuple(object, status_code(int), headers(HTTPHeaderDict))
9706
- If the method is called asynchronously,
9707
- returns the request thread.
9708
- """
9709
-
9710
- local_var_params = locals()
9711
-
9712
- all_params = [
9713
- 'card_id'
9714
- ]
9715
- all_params.extend(
9716
- [
9717
- 'async_req',
9718
- '_return_http_data_only',
9719
- '_preload_content',
9720
- '_request_timeout'
9721
- ]
9722
- )
9723
-
9724
- for key, val in six.iteritems(local_var_params['kwargs']):
9725
- if key not in all_params:
9726
- raise ApiTypeError(
9727
- "Got an unexpected keyword argument '%s'"
9728
- " to method dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post" % key
9729
- )
9730
- local_var_params[key] = val
9731
- del local_var_params['kwargs']
9732
- # verify the required parameter 'card_id' is set
9733
- if self.api_client.client_side_validation and ('card_id' not in local_var_params or # noqa: E501
9734
- local_var_params['card_id'] is None): # noqa: E501
9735
- raise ApiValueError("Missing the required parameter `card_id` when calling `dismiss_user_card_api_v2_onboarding_cards_card_id_dismiss_post`") # noqa: E501
9736
-
9737
- collection_formats = {}
9738
-
9739
- path_params = {}
9740
- if 'card_id' in local_var_params:
9741
- path_params['card_id'] = local_var_params['card_id'] # noqa: E501
9742
-
9743
- query_params = []
9744
-
9745
- header_params = {}
9746
-
9747
- form_params = []
9748
- local_var_files = {}
9749
-
9750
- body_params = None
9751
- # HTTP header `Accept`
9752
- header_params['Accept'] = self.api_client.select_header_accept(
9753
- ['application/json']) # noqa: E501
9754
-
9755
- # Authentication setting
9756
- auth_settings = [] # noqa: E501
9757
-
9758
- return self.api_client.call_api(
9759
- '/api/v2/onboarding_cards/{card_id}/dismiss', 'POST',
9760
- path_params,
9761
- query_params,
9762
- header_params,
9763
- body=body_params,
9764
- post_params=form_params,
9765
- files=local_var_files,
9766
- response_type='object', # noqa: E501
9767
- auth_settings=auth_settings,
9768
- async_req=local_var_params.get('async_req'),
9769
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
9770
- _preload_content=local_var_params.get('_preload_content', True),
9771
- _request_timeout=local_var_params.get('_request_timeout'),
9772
- collection_formats=collection_formats)
9773
-
9774
9546
  def download_aggregated_instance_usage_csv_api_v2_aggregated_instance_usage_download_csv_get(self, start_date, end_date, **kwargs): # noqa: E501
9775
9547
  """Download Aggregated Instance Usage Csv # noqa: E501
9776
9548
 
@@ -16199,6 +15971,7 @@ class DefaultApi(object):
16199
15971
  :param int start_line: (required)
16200
15972
  :param int end_line: (required)
16201
15973
  :param str extension:
15974
+ :param datetime start_time:
16202
15975
  :param _preload_content: if False, the urllib3.HTTPResponse object will
16203
15976
  be returned without reading/decoding response
16204
15977
  data. Default is True.
@@ -16226,6 +15999,7 @@ class DefaultApi(object):
16226
15999
  :param int start_line: (required)
16227
16000
  :param int end_line: (required)
16228
16001
  :param str extension:
16002
+ :param datetime start_time:
16229
16003
  :param _return_http_data_only: response data without head status code
16230
16004
  and headers
16231
16005
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -16246,7 +16020,8 @@ class DefaultApi(object):
16246
16020
  'session_command_id',
16247
16021
  'start_line',
16248
16022
  'end_line',
16249
- 'extension'
16023
+ 'extension',
16024
+ 'start_time'
16250
16025
  ]
16251
16026
  all_params.extend(
16252
16027
  [
@@ -16291,6 +16066,8 @@ class DefaultApi(object):
16291
16066
  query_params.append(('end_line', local_var_params['end_line'])) # noqa: E501
16292
16067
  if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
16293
16068
  query_params.append(('extension', local_var_params['extension'])) # noqa: E501
16069
+ if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
16070
+ query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
16294
16071
 
16295
16072
  header_params = {}
16296
16073
 
@@ -16433,18 +16210,16 @@ class DefaultApi(object):
16433
16210
  _request_timeout=local_var_params.get('_request_timeout'),
16434
16211
  collection_formats=collection_formats)
16435
16212
 
16436
- def get_feature_compatibility_api_v2_product_features_get(self, **kwargs): # noqa: E501
16437
- """Get Feature Compatibility # noqa: E501
16213
+ def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
16214
+ """Get Instance Usage Budget # noqa: E501
16438
16215
 
16439
- Retrieve the compatibility of product features with a ray version # noqa: E501
16440
16216
  This method makes a synchronous HTTP request by default. To make an
16441
16217
  asynchronous HTTP request, please pass async_req=True
16442
- >>> thread = api.get_feature_compatibility_api_v2_product_features_get(async_req=True)
16218
+ >>> thread = api.get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(instance_usage_budget_id, async_req=True)
16443
16219
  >>> result = thread.get()
16444
16220
 
16445
16221
  :param async_req bool: execute request asynchronously
16446
- :param str cluster_id: A cluster to query the ray version of.
16447
- :param str ray_version_str: A ray version to test feature compatibility with.Useful for preemptively testing ray version of clusters that haven't started yet
16222
+ :param str instance_usage_budget_id: (required)
16448
16223
  :param _preload_content: if False, the urllib3.HTTPResponse object will
16449
16224
  be returned without reading/decoding response
16450
16225
  data. Default is True.
@@ -16452,25 +16227,23 @@ class DefaultApi(object):
16452
16227
  number provided, it will be total request
16453
16228
  timeout. It can also be a pair (tuple) of
16454
16229
  (connection, read) timeouts.
16455
- :return: ClusterfeaturesResponse
16230
+ :return: InstanceusagebudgetResponse
16456
16231
  If the method is called asynchronously,
16457
16232
  returns the request thread.
16458
16233
  """
16459
16234
  kwargs['_return_http_data_only'] = True
16460
- return self.get_feature_compatibility_api_v2_product_features_get_with_http_info(**kwargs) # noqa: E501
16235
+ 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
16461
16236
 
16462
- def get_feature_compatibility_api_v2_product_features_get_with_http_info(self, **kwargs): # noqa: E501
16463
- """Get Feature Compatibility # noqa: E501
16237
+ 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
16238
+ """Get Instance Usage Budget # noqa: E501
16464
16239
 
16465
- Retrieve the compatibility of product features with a ray version # noqa: E501
16466
16240
  This method makes a synchronous HTTP request by default. To make an
16467
16241
  asynchronous HTTP request, please pass async_req=True
16468
- >>> thread = api.get_feature_compatibility_api_v2_product_features_get_with_http_info(async_req=True)
16242
+ >>> 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)
16469
16243
  >>> result = thread.get()
16470
16244
 
16471
16245
  :param async_req bool: execute request asynchronously
16472
- :param str cluster_id: A cluster to query the ray version of.
16473
- :param str ray_version_str: A ray version to test feature compatibility with.Useful for preemptively testing ray version of clusters that haven't started yet
16246
+ :param str instance_usage_budget_id: (required)
16474
16247
  :param _return_http_data_only: response data without head status code
16475
16248
  and headers
16476
16249
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -16480,7 +16253,7 @@ class DefaultApi(object):
16480
16253
  number provided, it will be total request
16481
16254
  timeout. It can also be a pair (tuple) of
16482
16255
  (connection, read) timeouts.
16483
- :return: tuple(ClusterfeaturesResponse, status_code(int), headers(HTTPHeaderDict))
16256
+ :return: tuple(InstanceusagebudgetResponse, status_code(int), headers(HTTPHeaderDict))
16484
16257
  If the method is called asynchronously,
16485
16258
  returns the request thread.
16486
16259
  """
@@ -16488,8 +16261,7 @@ class DefaultApi(object):
16488
16261
  local_var_params = locals()
16489
16262
 
16490
16263
  all_params = [
16491
- 'cluster_id',
16492
- 'ray_version_str'
16264
+ 'instance_usage_budget_id'
16493
16265
  ]
16494
16266
  all_params.extend(
16495
16267
  [
@@ -16504,20 +16276,22 @@ class DefaultApi(object):
16504
16276
  if key not in all_params:
16505
16277
  raise ApiTypeError(
16506
16278
  "Got an unexpected keyword argument '%s'"
16507
- " to method get_feature_compatibility_api_v2_product_features_get" % key
16279
+ " to method get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get" % key
16508
16280
  )
16509
16281
  local_var_params[key] = val
16510
16282
  del local_var_params['kwargs']
16283
+ # verify the required parameter 'instance_usage_budget_id' is set
16284
+ if self.api_client.client_side_validation and ('instance_usage_budget_id' not in local_var_params or # noqa: E501
16285
+ local_var_params['instance_usage_budget_id'] is None): # noqa: E501
16286
+ 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
16511
16287
 
16512
16288
  collection_formats = {}
16513
16289
 
16514
16290
  path_params = {}
16291
+ if 'instance_usage_budget_id' in local_var_params:
16292
+ path_params['instance_usage_budget_id'] = local_var_params['instance_usage_budget_id'] # noqa: E501
16515
16293
 
16516
16294
  query_params = []
16517
- if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
16518
- query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
16519
- if 'ray_version_str' in local_var_params and local_var_params['ray_version_str'] is not None: # noqa: E501
16520
- query_params.append(('ray_version_str', local_var_params['ray_version_str'])) # noqa: E501
16521
16295
 
16522
16296
  header_params = {}
16523
16297
 
@@ -16533,14 +16307,14 @@ class DefaultApi(object):
16533
16307
  auth_settings = [] # noqa: E501
16534
16308
 
16535
16309
  return self.api_client.call_api(
16536
- '/api/v2/product_features/', 'GET',
16310
+ '/api/v2/instance_usage_budgets/{instance_usage_budget_id}', 'GET',
16537
16311
  path_params,
16538
16312
  query_params,
16539
16313
  header_params,
16540
16314
  body=body_params,
16541
16315
  post_params=form_params,
16542
16316
  files=local_var_files,
16543
- response_type='ClusterfeaturesResponse', # noqa: E501
16317
+ response_type='InstanceusagebudgetResponse', # noqa: E501
16544
16318
  auth_settings=auth_settings,
16545
16319
  async_req=local_var_params.get('async_req'),
16546
16320
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -16548,16 +16322,16 @@ class DefaultApi(object):
16548
16322
  _request_timeout=local_var_params.get('_request_timeout'),
16549
16323
  collection_formats=collection_formats)
16550
16324
 
16551
- def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
16552
- """Get Instance Usage Budget # noqa: E501
16325
+ def get_invitation_api_v2_organization_invitations_invitation_id_get(self, invitation_id, **kwargs): # noqa: E501
16326
+ """Get Invitation # noqa: E501
16553
16327
 
16554
16328
  This method makes a synchronous HTTP request by default. To make an
16555
16329
  asynchronous HTTP request, please pass async_req=True
16556
- >>> thread = api.get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(instance_usage_budget_id, async_req=True)
16330
+ >>> thread = api.get_invitation_api_v2_organization_invitations_invitation_id_get(invitation_id, async_req=True)
16557
16331
  >>> result = thread.get()
16558
16332
 
16559
16333
  :param async_req bool: execute request asynchronously
16560
- :param str instance_usage_budget_id: (required)
16334
+ :param str invitation_id: (required)
16561
16335
  :param _preload_content: if False, the urllib3.HTTPResponse object will
16562
16336
  be returned without reading/decoding response
16563
16337
  data. Default is True.
@@ -16565,23 +16339,23 @@ class DefaultApi(object):
16565
16339
  number provided, it will be total request
16566
16340
  timeout. It can also be a pair (tuple) of
16567
16341
  (connection, read) timeouts.
16568
- :return: InstanceusagebudgetResponse
16342
+ :return: OrganizationinvitationResponse
16569
16343
  If the method is called asynchronously,
16570
16344
  returns the request thread.
16571
16345
  """
16572
16346
  kwargs['_return_http_data_only'] = True
16573
- 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
16347
+ return self.get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(invitation_id, **kwargs) # noqa: E501
16574
16348
 
16575
- 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
16576
- """Get Instance Usage Budget # noqa: E501
16349
+ def get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(self, invitation_id, **kwargs): # noqa: E501
16350
+ """Get Invitation # noqa: E501
16577
16351
 
16578
16352
  This method makes a synchronous HTTP request by default. To make an
16579
16353
  asynchronous HTTP request, please pass async_req=True
16580
- >>> 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)
16354
+ >>> thread = api.get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(invitation_id, async_req=True)
16581
16355
  >>> result = thread.get()
16582
16356
 
16583
16357
  :param async_req bool: execute request asynchronously
16584
- :param str instance_usage_budget_id: (required)
16358
+ :param str invitation_id: (required)
16585
16359
  :param _return_http_data_only: response data without head status code
16586
16360
  and headers
16587
16361
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -16591,7 +16365,7 @@ class DefaultApi(object):
16591
16365
  number provided, it will be total request
16592
16366
  timeout. It can also be a pair (tuple) of
16593
16367
  (connection, read) timeouts.
16594
- :return: tuple(InstanceusagebudgetResponse, status_code(int), headers(HTTPHeaderDict))
16368
+ :return: tuple(OrganizationinvitationResponse, status_code(int), headers(HTTPHeaderDict))
16595
16369
  If the method is called asynchronously,
16596
16370
  returns the request thread.
16597
16371
  """
@@ -16599,7 +16373,7 @@ class DefaultApi(object):
16599
16373
  local_var_params = locals()
16600
16374
 
16601
16375
  all_params = [
16602
- 'instance_usage_budget_id'
16376
+ 'invitation_id'
16603
16377
  ]
16604
16378
  all_params.extend(
16605
16379
  [
@@ -16614,119 +16388,7 @@ class DefaultApi(object):
16614
16388
  if key not in all_params:
16615
16389
  raise ApiTypeError(
16616
16390
  "Got an unexpected keyword argument '%s'"
16617
- " to method get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get" % key
16618
- )
16619
- local_var_params[key] = val
16620
- del local_var_params['kwargs']
16621
- # verify the required parameter 'instance_usage_budget_id' is set
16622
- if self.api_client.client_side_validation and ('instance_usage_budget_id' not in local_var_params or # noqa: E501
16623
- local_var_params['instance_usage_budget_id'] is None): # noqa: E501
16624
- 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
16625
-
16626
- collection_formats = {}
16627
-
16628
- path_params = {}
16629
- if 'instance_usage_budget_id' in local_var_params:
16630
- path_params['instance_usage_budget_id'] = local_var_params['instance_usage_budget_id'] # noqa: E501
16631
-
16632
- query_params = []
16633
-
16634
- header_params = {}
16635
-
16636
- form_params = []
16637
- local_var_files = {}
16638
-
16639
- body_params = None
16640
- # HTTP header `Accept`
16641
- header_params['Accept'] = self.api_client.select_header_accept(
16642
- ['application/json']) # noqa: E501
16643
-
16644
- # Authentication setting
16645
- auth_settings = [] # noqa: E501
16646
-
16647
- return self.api_client.call_api(
16648
- '/api/v2/instance_usage_budgets/{instance_usage_budget_id}', 'GET',
16649
- path_params,
16650
- query_params,
16651
- header_params,
16652
- body=body_params,
16653
- post_params=form_params,
16654
- files=local_var_files,
16655
- response_type='InstanceusagebudgetResponse', # noqa: E501
16656
- auth_settings=auth_settings,
16657
- async_req=local_var_params.get('async_req'),
16658
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
16659
- _preload_content=local_var_params.get('_preload_content', True),
16660
- _request_timeout=local_var_params.get('_request_timeout'),
16661
- collection_formats=collection_formats)
16662
-
16663
- def get_invitation_api_v2_organization_invitations_invitation_id_get(self, invitation_id, **kwargs): # noqa: E501
16664
- """Get Invitation # noqa: E501
16665
-
16666
- This method makes a synchronous HTTP request by default. To make an
16667
- asynchronous HTTP request, please pass async_req=True
16668
- >>> thread = api.get_invitation_api_v2_organization_invitations_invitation_id_get(invitation_id, async_req=True)
16669
- >>> result = thread.get()
16670
-
16671
- :param async_req bool: execute request asynchronously
16672
- :param str invitation_id: (required)
16673
- :param _preload_content: if False, the urllib3.HTTPResponse object will
16674
- be returned without reading/decoding response
16675
- data. Default is True.
16676
- :param _request_timeout: timeout setting for this request. If one
16677
- number provided, it will be total request
16678
- timeout. It can also be a pair (tuple) of
16679
- (connection, read) timeouts.
16680
- :return: OrganizationinvitationResponse
16681
- If the method is called asynchronously,
16682
- returns the request thread.
16683
- """
16684
- kwargs['_return_http_data_only'] = True
16685
- return self.get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(invitation_id, **kwargs) # noqa: E501
16686
-
16687
- def get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(self, invitation_id, **kwargs): # noqa: E501
16688
- """Get Invitation # noqa: E501
16689
-
16690
- This method makes a synchronous HTTP request by default. To make an
16691
- asynchronous HTTP request, please pass async_req=True
16692
- >>> thread = api.get_invitation_api_v2_organization_invitations_invitation_id_get_with_http_info(invitation_id, async_req=True)
16693
- >>> result = thread.get()
16694
-
16695
- :param async_req bool: execute request asynchronously
16696
- :param str invitation_id: (required)
16697
- :param _return_http_data_only: response data without head status code
16698
- and headers
16699
- :param _preload_content: if False, the urllib3.HTTPResponse object will
16700
- be returned without reading/decoding response
16701
- data. Default is True.
16702
- :param _request_timeout: timeout setting for this request. If one
16703
- number provided, it will be total request
16704
- timeout. It can also be a pair (tuple) of
16705
- (connection, read) timeouts.
16706
- :return: tuple(OrganizationinvitationResponse, status_code(int), headers(HTTPHeaderDict))
16707
- If the method is called asynchronously,
16708
- returns the request thread.
16709
- """
16710
-
16711
- local_var_params = locals()
16712
-
16713
- all_params = [
16714
- 'invitation_id'
16715
- ]
16716
- all_params.extend(
16717
- [
16718
- 'async_req',
16719
- '_return_http_data_only',
16720
- '_preload_content',
16721
- '_request_timeout'
16722
- ]
16723
- )
16724
-
16725
- for key, val in six.iteritems(local_var_params['kwargs']):
16726
- if key not in all_params:
16727
- raise ApiTypeError(
16728
- "Got an unexpected keyword argument '%s'"
16729
- " to method get_invitation_api_v2_organization_invitations_invitation_id_get" % key
16391
+ " to method get_invitation_api_v2_organization_invitations_invitation_id_get" % key
16730
16392
  )
16731
16393
  local_var_params[key] = val
16732
16394
  del local_var_params['kwargs']
@@ -21702,249 +21364,7 @@ class DefaultApi(object):
21702
21364
  body=body_params,
21703
21365
  post_params=form_params,
21704
21366
  files=local_var_files,
21705
- response_type='HeadipResponse', # noqa: E501
21706
- auth_settings=auth_settings,
21707
- async_req=local_var_params.get('async_req'),
21708
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
21709
- _preload_content=local_var_params.get('_preload_content', True),
21710
- _request_timeout=local_var_params.get('_request_timeout'),
21711
- collection_formats=collection_formats)
21712
-
21713
- def get_session_history_api_v2_sessions_session_id_history_get(self, session_id, **kwargs): # noqa: E501
21714
- """Get Session History # noqa: E501
21715
-
21716
- Describe all actions applied to a particular session. # noqa: E501
21717
- This method makes a synchronous HTTP request by default. To make an
21718
- asynchronous HTTP request, please pass async_req=True
21719
- >>> thread = api.get_session_history_api_v2_sessions_session_id_history_get(session_id, async_req=True)
21720
- >>> result = thread.get()
21721
-
21722
- :param async_req bool: execute request asynchronously
21723
- :param str session_id: (required)
21724
- :param str paging_token:
21725
- :param int count:
21726
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21727
- be returned without reading/decoding response
21728
- data. Default is True.
21729
- :param _request_timeout: timeout setting for this request. If one
21730
- number provided, it will be total request
21731
- timeout. It can also be a pair (tuple) of
21732
- (connection, read) timeouts.
21733
- :return: SessionhistoryitemListResponse
21734
- If the method is called asynchronously,
21735
- returns the request thread.
21736
- """
21737
- kwargs['_return_http_data_only'] = True
21738
- return self.get_session_history_api_v2_sessions_session_id_history_get_with_http_info(session_id, **kwargs) # noqa: E501
21739
-
21740
- def get_session_history_api_v2_sessions_session_id_history_get_with_http_info(self, session_id, **kwargs): # noqa: E501
21741
- """Get Session History # noqa: E501
21742
-
21743
- Describe all actions applied to a particular session. # noqa: E501
21744
- This method makes a synchronous HTTP request by default. To make an
21745
- asynchronous HTTP request, please pass async_req=True
21746
- >>> thread = api.get_session_history_api_v2_sessions_session_id_history_get_with_http_info(session_id, async_req=True)
21747
- >>> result = thread.get()
21748
-
21749
- :param async_req bool: execute request asynchronously
21750
- :param str session_id: (required)
21751
- :param str paging_token:
21752
- :param int count:
21753
- :param _return_http_data_only: response data without head status code
21754
- and headers
21755
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21756
- be returned without reading/decoding response
21757
- data. Default is True.
21758
- :param _request_timeout: timeout setting for this request. If one
21759
- number provided, it will be total request
21760
- timeout. It can also be a pair (tuple) of
21761
- (connection, read) timeouts.
21762
- :return: tuple(SessionhistoryitemListResponse, status_code(int), headers(HTTPHeaderDict))
21763
- If the method is called asynchronously,
21764
- returns the request thread.
21765
- """
21766
-
21767
- local_var_params = locals()
21768
-
21769
- all_params = [
21770
- 'session_id',
21771
- 'paging_token',
21772
- 'count'
21773
- ]
21774
- all_params.extend(
21775
- [
21776
- 'async_req',
21777
- '_return_http_data_only',
21778
- '_preload_content',
21779
- '_request_timeout'
21780
- ]
21781
- )
21782
-
21783
- for key, val in six.iteritems(local_var_params['kwargs']):
21784
- if key not in all_params:
21785
- raise ApiTypeError(
21786
- "Got an unexpected keyword argument '%s'"
21787
- " to method get_session_history_api_v2_sessions_session_id_history_get" % key
21788
- )
21789
- local_var_params[key] = val
21790
- del local_var_params['kwargs']
21791
- # verify the required parameter 'session_id' is set
21792
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
21793
- local_var_params['session_id'] is None): # noqa: E501
21794
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_history_api_v2_sessions_session_id_history_get`") # noqa: E501
21795
-
21796
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
21797
- 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
21798
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
21799
- 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
21800
- collection_formats = {}
21801
-
21802
- path_params = {}
21803
- if 'session_id' in local_var_params:
21804
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
21805
-
21806
- query_params = []
21807
- if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
21808
- query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
21809
- if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
21810
- query_params.append(('count', local_var_params['count'])) # noqa: E501
21811
-
21812
- header_params = {}
21813
-
21814
- form_params = []
21815
- local_var_files = {}
21816
-
21817
- body_params = None
21818
- # HTTP header `Accept`
21819
- header_params['Accept'] = self.api_client.select_header_accept(
21820
- ['application/json']) # noqa: E501
21821
-
21822
- # Authentication setting
21823
- auth_settings = [] # noqa: E501
21824
-
21825
- return self.api_client.call_api(
21826
- '/api/v2/sessions/{session_id}/history', 'GET',
21827
- path_params,
21828
- query_params,
21829
- header_params,
21830
- body=body_params,
21831
- post_params=form_params,
21832
- files=local_var_files,
21833
- response_type='SessionhistoryitemListResponse', # noqa: E501
21834
- auth_settings=auth_settings,
21835
- async_req=local_var_params.get('async_req'),
21836
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
21837
- _preload_content=local_var_params.get('_preload_content', True),
21838
- _request_timeout=local_var_params.get('_request_timeout'),
21839
- collection_formats=collection_formats)
21840
-
21841
- def get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get(self, session_id, **kwargs): # noqa: E501
21842
- """Get Session Ssh Key # noqa: E501
21843
-
21844
- Download SSH needed to log into a given session. # noqa: E501
21845
- This method makes a synchronous HTTP request by default. To make an
21846
- asynchronous HTTP request, please pass async_req=True
21847
- >>> thread = api.get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get(session_id, async_req=True)
21848
- >>> result = thread.get()
21849
-
21850
- :param async_req bool: execute request asynchronously
21851
- :param str session_id: (required)
21852
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21853
- be returned without reading/decoding response
21854
- data. Default is True.
21855
- :param _request_timeout: timeout setting for this request. If one
21856
- number provided, it will be total request
21857
- timeout. It can also be a pair (tuple) of
21858
- (connection, read) timeouts.
21859
- :return: SessionsshkeyResponse
21860
- If the method is called asynchronously,
21861
- returns the request thread.
21862
- """
21863
- kwargs['_return_http_data_only'] = True
21864
- return self.get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get_with_http_info(session_id, **kwargs) # noqa: E501
21865
-
21866
- def get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get_with_http_info(self, session_id, **kwargs): # noqa: E501
21867
- """Get Session Ssh Key # noqa: E501
21868
-
21869
- Download SSH needed to log into a given session. # noqa: E501
21870
- This method makes a synchronous HTTP request by default. To make an
21871
- asynchronous HTTP request, please pass async_req=True
21872
- >>> thread = api.get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get_with_http_info(session_id, async_req=True)
21873
- >>> result = thread.get()
21874
-
21875
- :param async_req bool: execute request asynchronously
21876
- :param str session_id: (required)
21877
- :param _return_http_data_only: response data without head status code
21878
- and headers
21879
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21880
- be returned without reading/decoding response
21881
- data. Default is True.
21882
- :param _request_timeout: timeout setting for this request. If one
21883
- number provided, it will be total request
21884
- timeout. It can also be a pair (tuple) of
21885
- (connection, read) timeouts.
21886
- :return: tuple(SessionsshkeyResponse, status_code(int), headers(HTTPHeaderDict))
21887
- If the method is called asynchronously,
21888
- returns the request thread.
21889
- """
21890
-
21891
- local_var_params = locals()
21892
-
21893
- all_params = [
21894
- 'session_id'
21895
- ]
21896
- all_params.extend(
21897
- [
21898
- 'async_req',
21899
- '_return_http_data_only',
21900
- '_preload_content',
21901
- '_request_timeout'
21902
- ]
21903
- )
21904
-
21905
- for key, val in six.iteritems(local_var_params['kwargs']):
21906
- if key not in all_params:
21907
- raise ApiTypeError(
21908
- "Got an unexpected keyword argument '%s'"
21909
- " to method get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get" % key
21910
- )
21911
- local_var_params[key] = val
21912
- del local_var_params['kwargs']
21913
- # verify the required parameter 'session_id' is set
21914
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
21915
- local_var_params['session_id'] is None): # noqa: E501
21916
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get`") # noqa: E501
21917
-
21918
- collection_formats = {}
21919
-
21920
- path_params = {}
21921
- if 'session_id' in local_var_params:
21922
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
21923
-
21924
- query_params = []
21925
-
21926
- header_params = {}
21927
-
21928
- form_params = []
21929
- local_var_files = {}
21930
-
21931
- body_params = None
21932
- # HTTP header `Accept`
21933
- header_params['Accept'] = self.api_client.select_header_accept(
21934
- ['application/json']) # noqa: E501
21935
-
21936
- # Authentication setting
21937
- auth_settings = [] # noqa: E501
21938
-
21939
- return self.api_client.call_api(
21940
- '/api/v2/sessions/{session_id}/ssh_key', 'GET',
21941
- path_params,
21942
- query_params,
21943
- header_params,
21944
- body=body_params,
21945
- post_params=form_params,
21946
- files=local_var_files,
21947
- response_type='SessionsshkeyResponse', # noqa: E501
21367
+ response_type='HeadipResponse', # noqa: E501
21948
21368
  auth_settings=auth_settings,
21949
21369
  async_req=local_var_params.get('async_req'),
21950
21370
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -21952,15 +21372,19 @@ class DefaultApi(object):
21952
21372
  _request_timeout=local_var_params.get('_request_timeout'),
21953
21373
  collection_formats=collection_formats)
21954
21374
 
21955
- def get_socket_message_types_api_v2_userinfo_socket_messages_type_get(self, **kwargs): # noqa: E501
21956
- """Get Socket Message Types # noqa: E501
21375
+ def get_session_history_api_v2_sessions_session_id_history_get(self, session_id, **kwargs): # noqa: E501
21376
+ """Get Session History # noqa: E501
21957
21377
 
21378
+ Describe all actions applied to a particular session. # noqa: E501
21958
21379
  This method makes a synchronous HTTP request by default. To make an
21959
21380
  asynchronous HTTP request, please pass async_req=True
21960
- >>> thread = api.get_socket_message_types_api_v2_userinfo_socket_messages_type_get(async_req=True)
21381
+ >>> thread = api.get_session_history_api_v2_sessions_session_id_history_get(session_id, async_req=True)
21961
21382
  >>> result = thread.get()
21962
21383
 
21963
21384
  :param async_req bool: execute request asynchronously
21385
+ :param str session_id: (required)
21386
+ :param str paging_token:
21387
+ :param int count:
21964
21388
  :param _preload_content: if False, the urllib3.HTTPResponse object will
21965
21389
  be returned without reading/decoding response
21966
21390
  data. Default is True.
@@ -21968,22 +21392,26 @@ class DefaultApi(object):
21968
21392
  number provided, it will be total request
21969
21393
  timeout. It can also be a pair (tuple) of
21970
21394
  (connection, read) timeouts.
21971
- :return: SocketmessageschemasResponse
21395
+ :return: SessionhistoryitemListResponse
21972
21396
  If the method is called asynchronously,
21973
21397
  returns the request thread.
21974
21398
  """
21975
21399
  kwargs['_return_http_data_only'] = True
21976
- return self.get_socket_message_types_api_v2_userinfo_socket_messages_type_get_with_http_info(**kwargs) # noqa: E501
21400
+ return self.get_session_history_api_v2_sessions_session_id_history_get_with_http_info(session_id, **kwargs) # noqa: E501
21977
21401
 
21978
- def get_socket_message_types_api_v2_userinfo_socket_messages_type_get_with_http_info(self, **kwargs): # noqa: E501
21979
- """Get Socket Message Types # noqa: E501
21402
+ def get_session_history_api_v2_sessions_session_id_history_get_with_http_info(self, session_id, **kwargs): # noqa: E501
21403
+ """Get Session History # noqa: E501
21980
21404
 
21405
+ Describe all actions applied to a particular session. # noqa: E501
21981
21406
  This method makes a synchronous HTTP request by default. To make an
21982
21407
  asynchronous HTTP request, please pass async_req=True
21983
- >>> thread = api.get_socket_message_types_api_v2_userinfo_socket_messages_type_get_with_http_info(async_req=True)
21408
+ >>> thread = api.get_session_history_api_v2_sessions_session_id_history_get_with_http_info(session_id, async_req=True)
21984
21409
  >>> result = thread.get()
21985
21410
 
21986
21411
  :param async_req bool: execute request asynchronously
21412
+ :param str session_id: (required)
21413
+ :param str paging_token:
21414
+ :param int count:
21987
21415
  :param _return_http_data_only: response data without head status code
21988
21416
  and headers
21989
21417
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -21993,7 +21421,7 @@ class DefaultApi(object):
21993
21421
  number provided, it will be total request
21994
21422
  timeout. It can also be a pair (tuple) of
21995
21423
  (connection, read) timeouts.
21996
- :return: tuple(SocketmessageschemasResponse, status_code(int), headers(HTTPHeaderDict))
21424
+ :return: tuple(SessionhistoryitemListResponse, status_code(int), headers(HTTPHeaderDict))
21997
21425
  If the method is called asynchronously,
21998
21426
  returns the request thread.
21999
21427
  """
@@ -22001,6 +21429,9 @@ class DefaultApi(object):
22001
21429
  local_var_params = locals()
22002
21430
 
22003
21431
  all_params = [
21432
+ 'session_id',
21433
+ 'paging_token',
21434
+ 'count'
22004
21435
  ]
22005
21436
  all_params.extend(
22006
21437
  [
@@ -22015,16 +21446,30 @@ class DefaultApi(object):
22015
21446
  if key not in all_params:
22016
21447
  raise ApiTypeError(
22017
21448
  "Got an unexpected keyword argument '%s'"
22018
- " to method get_socket_message_types_api_v2_userinfo_socket_messages_type_get" % key
21449
+ " to method get_session_history_api_v2_sessions_session_id_history_get" % key
22019
21450
  )
22020
21451
  local_var_params[key] = val
22021
21452
  del local_var_params['kwargs']
21453
+ # verify the required parameter 'session_id' is set
21454
+ if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
21455
+ local_var_params['session_id'] is None): # noqa: E501
21456
+ raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_history_api_v2_sessions_session_id_history_get`") # noqa: E501
22022
21457
 
21458
+ if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
21459
+ 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
21460
+ if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
21461
+ 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
22023
21462
  collection_formats = {}
22024
21463
 
22025
21464
  path_params = {}
21465
+ if 'session_id' in local_var_params:
21466
+ path_params['session_id'] = local_var_params['session_id'] # noqa: E501
22026
21467
 
22027
21468
  query_params = []
21469
+ if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
21470
+ query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
21471
+ if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
21472
+ query_params.append(('count', local_var_params['count'])) # noqa: E501
22028
21473
 
22029
21474
  header_params = {}
22030
21475
 
@@ -22040,14 +21485,14 @@ class DefaultApi(object):
22040
21485
  auth_settings = [] # noqa: E501
22041
21486
 
22042
21487
  return self.api_client.call_api(
22043
- '/api/v2/userinfo/socket_messages_type', 'GET',
21488
+ '/api/v2/sessions/{session_id}/history', 'GET',
22044
21489
  path_params,
22045
21490
  query_params,
22046
21491
  header_params,
22047
21492
  body=body_params,
22048
21493
  post_params=form_params,
22049
21494
  files=local_var_files,
22050
- response_type='SocketmessageschemasResponse', # noqa: E501
21495
+ response_type='SessionhistoryitemListResponse', # noqa: E501
22051
21496
  auth_settings=auth_settings,
22052
21497
  async_req=local_var_params.get('async_req'),
22053
21498
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -22055,15 +21500,17 @@ class DefaultApi(object):
22055
21500
  _request_timeout=local_var_params.get('_request_timeout'),
22056
21501
  collection_formats=collection_formats)
22057
21502
 
22058
- def get_socket_types_type_api_v2_userinfo_socket_types_type_get(self, **kwargs): # noqa: E501
22059
- """Get Socket Types Type # noqa: E501
21503
+ def get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get(self, session_id, **kwargs): # noqa: E501
21504
+ """Get Session Ssh Key # noqa: E501
22060
21505
 
21506
+ Download SSH needed to log into a given session. # noqa: E501
22061
21507
  This method makes a synchronous HTTP request by default. To make an
22062
21508
  asynchronous HTTP request, please pass async_req=True
22063
- >>> thread = api.get_socket_types_type_api_v2_userinfo_socket_types_type_get(async_req=True)
21509
+ >>> thread = api.get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get(session_id, async_req=True)
22064
21510
  >>> result = thread.get()
22065
21511
 
22066
21512
  :param async_req bool: execute request asynchronously
21513
+ :param str session_id: (required)
22067
21514
  :param _preload_content: if False, the urllib3.HTTPResponse object will
22068
21515
  be returned without reading/decoding response
22069
21516
  data. Default is True.
@@ -22071,22 +21518,24 @@ class DefaultApi(object):
22071
21518
  number provided, it will be total request
22072
21519
  timeout. It can also be a pair (tuple) of
22073
21520
  (connection, read) timeouts.
22074
- :return: SocketmessagetypesResponse
21521
+ :return: SessionsshkeyResponse
22075
21522
  If the method is called asynchronously,
22076
21523
  returns the request thread.
22077
21524
  """
22078
21525
  kwargs['_return_http_data_only'] = True
22079
- return self.get_socket_types_type_api_v2_userinfo_socket_types_type_get_with_http_info(**kwargs) # noqa: E501
21526
+ return self.get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get_with_http_info(session_id, **kwargs) # noqa: E501
22080
21527
 
22081
- def get_socket_types_type_api_v2_userinfo_socket_types_type_get_with_http_info(self, **kwargs): # noqa: E501
22082
- """Get Socket Types Type # noqa: E501
21528
+ def get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get_with_http_info(self, session_id, **kwargs): # noqa: E501
21529
+ """Get Session Ssh Key # noqa: E501
22083
21530
 
21531
+ Download SSH needed to log into a given session. # noqa: E501
22084
21532
  This method makes a synchronous HTTP request by default. To make an
22085
21533
  asynchronous HTTP request, please pass async_req=True
22086
- >>> thread = api.get_socket_types_type_api_v2_userinfo_socket_types_type_get_with_http_info(async_req=True)
21534
+ >>> thread = api.get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get_with_http_info(session_id, async_req=True)
22087
21535
  >>> result = thread.get()
22088
21536
 
22089
21537
  :param async_req bool: execute request asynchronously
21538
+ :param str session_id: (required)
22090
21539
  :param _return_http_data_only: response data without head status code
22091
21540
  and headers
22092
21541
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -22096,7 +21545,7 @@ class DefaultApi(object):
22096
21545
  number provided, it will be total request
22097
21546
  timeout. It can also be a pair (tuple) of
22098
21547
  (connection, read) timeouts.
22099
- :return: tuple(SocketmessagetypesResponse, status_code(int), headers(HTTPHeaderDict))
21548
+ :return: tuple(SessionsshkeyResponse, status_code(int), headers(HTTPHeaderDict))
22100
21549
  If the method is called asynchronously,
22101
21550
  returns the request thread.
22102
21551
  """
@@ -22104,6 +21553,7 @@ class DefaultApi(object):
22104
21553
  local_var_params = locals()
22105
21554
 
22106
21555
  all_params = [
21556
+ 'session_id'
22107
21557
  ]
22108
21558
  all_params.extend(
22109
21559
  [
@@ -22118,14 +21568,20 @@ class DefaultApi(object):
22118
21568
  if key not in all_params:
22119
21569
  raise ApiTypeError(
22120
21570
  "Got an unexpected keyword argument '%s'"
22121
- " to method get_socket_types_type_api_v2_userinfo_socket_types_type_get" % key
21571
+ " to method get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get" % key
22122
21572
  )
22123
21573
  local_var_params[key] = val
22124
21574
  del local_var_params['kwargs']
21575
+ # verify the required parameter 'session_id' is set
21576
+ if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
21577
+ local_var_params['session_id'] is None): # noqa: E501
21578
+ raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get`") # noqa: E501
22125
21579
 
22126
21580
  collection_formats = {}
22127
21581
 
22128
21582
  path_params = {}
21583
+ if 'session_id' in local_var_params:
21584
+ path_params['session_id'] = local_var_params['session_id'] # noqa: E501
22129
21585
 
22130
21586
  query_params = []
22131
21587
 
@@ -22143,14 +21599,14 @@ class DefaultApi(object):
22143
21599
  auth_settings = [] # noqa: E501
22144
21600
 
22145
21601
  return self.api_client.call_api(
22146
- '/api/v2/userinfo/socket_types_type', 'GET',
21602
+ '/api/v2/sessions/{session_id}/ssh_key', 'GET',
22147
21603
  path_params,
22148
21604
  query_params,
22149
21605
  header_params,
22150
21606
  body=body_params,
22151
21607
  post_params=form_params,
22152
21608
  files=local_var_files,
22153
- response_type='SocketmessagetypesResponse', # noqa: E501
21609
+ response_type='SessionsshkeyResponse', # noqa: E501
22154
21610
  auth_settings=auth_settings,
22155
21611
  async_req=local_var_params.get('async_req'),
22156
21612
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -22171,6 +21627,7 @@ class DefaultApi(object):
22171
21627
  :param int start_line: (required)
22172
21628
  :param int end_line: (required)
22173
21629
  :param str extension:
21630
+ :param datetime start_time:
22174
21631
  :param _preload_content: if False, the urllib3.HTTPResponse object will
22175
21632
  be returned without reading/decoding response
22176
21633
  data. Default is True.
@@ -22198,6 +21655,7 @@ class DefaultApi(object):
22198
21655
  :param int start_line: (required)
22199
21656
  :param int end_line: (required)
22200
21657
  :param str extension:
21658
+ :param datetime start_time:
22201
21659
  :param _return_http_data_only: response data without head status code
22202
21660
  and headers
22203
21661
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -22218,7 +21676,8 @@ class DefaultApi(object):
22218
21676
  'session_id',
22219
21677
  'start_line',
22220
21678
  'end_line',
22221
- 'extension'
21679
+ 'extension',
21680
+ 'start_time'
22222
21681
  ]
22223
21682
  all_params.extend(
22224
21683
  [
@@ -22263,6 +21722,8 @@ class DefaultApi(object):
22263
21722
  query_params.append(('end_line', local_var_params['end_line'])) # noqa: E501
22264
21723
  if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
22265
21724
  query_params.append(('extension', local_var_params['extension'])) # noqa: E501
21725
+ if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
21726
+ query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
22266
21727
 
22267
21728
  header_params = {}
22268
21729
 
@@ -33795,124 +33256,6 @@ class DefaultApi(object):
33795
33256
  _request_timeout=local_var_params.get('_request_timeout'),
33796
33257
  collection_formats=collection_formats)
33797
33258
 
33798
- def search_user_cards_api_v2_onboarding_cards_search_post(self, onboarding_user_cards_query, **kwargs): # noqa: E501
33799
- """Search User Cards # noqa: E501
33800
-
33801
- Lists all onboarding user cards that the logged in user has access to, matching the input query. # noqa: E501
33802
- This method makes a synchronous HTTP request by default. To make an
33803
- asynchronous HTTP request, please pass async_req=True
33804
- >>> thread = api.search_user_cards_api_v2_onboarding_cards_search_post(onboarding_user_cards_query, async_req=True)
33805
- >>> result = thread.get()
33806
-
33807
- :param async_req bool: execute request asynchronously
33808
- :param OnboardingUserCardsQuery onboarding_user_cards_query: (required)
33809
- :param _preload_content: if False, the urllib3.HTTPResponse object will
33810
- be returned without reading/decoding response
33811
- data. Default is True.
33812
- :param _request_timeout: timeout setting for this request. If one
33813
- number provided, it will be total request
33814
- timeout. It can also be a pair (tuple) of
33815
- (connection, read) timeouts.
33816
- :return: CardListResponse
33817
- If the method is called asynchronously,
33818
- returns the request thread.
33819
- """
33820
- kwargs['_return_http_data_only'] = True
33821
- return self.search_user_cards_api_v2_onboarding_cards_search_post_with_http_info(onboarding_user_cards_query, **kwargs) # noqa: E501
33822
-
33823
- def search_user_cards_api_v2_onboarding_cards_search_post_with_http_info(self, onboarding_user_cards_query, **kwargs): # noqa: E501
33824
- """Search User Cards # noqa: E501
33825
-
33826
- Lists all onboarding user cards that the logged in user has access to, matching the input query. # noqa: E501
33827
- This method makes a synchronous HTTP request by default. To make an
33828
- asynchronous HTTP request, please pass async_req=True
33829
- >>> thread = api.search_user_cards_api_v2_onboarding_cards_search_post_with_http_info(onboarding_user_cards_query, async_req=True)
33830
- >>> result = thread.get()
33831
-
33832
- :param async_req bool: execute request asynchronously
33833
- :param OnboardingUserCardsQuery onboarding_user_cards_query: (required)
33834
- :param _return_http_data_only: response data without head status code
33835
- and headers
33836
- :param _preload_content: if False, the urllib3.HTTPResponse object will
33837
- be returned without reading/decoding response
33838
- data. Default is True.
33839
- :param _request_timeout: timeout setting for this request. If one
33840
- number provided, it will be total request
33841
- timeout. It can also be a pair (tuple) of
33842
- (connection, read) timeouts.
33843
- :return: tuple(CardListResponse, status_code(int), headers(HTTPHeaderDict))
33844
- If the method is called asynchronously,
33845
- returns the request thread.
33846
- """
33847
-
33848
- local_var_params = locals()
33849
-
33850
- all_params = [
33851
- 'onboarding_user_cards_query'
33852
- ]
33853
- all_params.extend(
33854
- [
33855
- 'async_req',
33856
- '_return_http_data_only',
33857
- '_preload_content',
33858
- '_request_timeout'
33859
- ]
33860
- )
33861
-
33862
- for key, val in six.iteritems(local_var_params['kwargs']):
33863
- if key not in all_params:
33864
- raise ApiTypeError(
33865
- "Got an unexpected keyword argument '%s'"
33866
- " to method search_user_cards_api_v2_onboarding_cards_search_post" % key
33867
- )
33868
- local_var_params[key] = val
33869
- del local_var_params['kwargs']
33870
- # verify the required parameter 'onboarding_user_cards_query' is set
33871
- if self.api_client.client_side_validation and ('onboarding_user_cards_query' not in local_var_params or # noqa: E501
33872
- local_var_params['onboarding_user_cards_query'] is None): # noqa: E501
33873
- raise ApiValueError("Missing the required parameter `onboarding_user_cards_query` when calling `search_user_cards_api_v2_onboarding_cards_search_post`") # noqa: E501
33874
-
33875
- collection_formats = {}
33876
-
33877
- path_params = {}
33878
-
33879
- query_params = []
33880
-
33881
- header_params = {}
33882
-
33883
- form_params = []
33884
- local_var_files = {}
33885
-
33886
- body_params = None
33887
- if 'onboarding_user_cards_query' in local_var_params:
33888
- body_params = local_var_params['onboarding_user_cards_query']
33889
- # HTTP header `Accept`
33890
- header_params['Accept'] = self.api_client.select_header_accept(
33891
- ['application/json']) # noqa: E501
33892
-
33893
- # HTTP header `Content-Type`
33894
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
33895
- ['application/json']) # noqa: E501
33896
-
33897
- # Authentication setting
33898
- auth_settings = [] # noqa: E501
33899
-
33900
- return self.api_client.call_api(
33901
- '/api/v2/onboarding_cards/search', 'POST',
33902
- path_params,
33903
- query_params,
33904
- header_params,
33905
- body=body_params,
33906
- post_params=form_params,
33907
- files=local_var_files,
33908
- response_type='CardListResponse', # noqa: E501
33909
- auth_settings=auth_settings,
33910
- async_req=local_var_params.get('async_req'),
33911
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
33912
- _preload_content=local_var_params.get('_preload_content', True),
33913
- _request_timeout=local_var_params.get('_request_timeout'),
33914
- collection_formats=collection_formats)
33915
-
33916
33259
  def set_resource_quota_status_api_v2_resource_quotas_resource_quota_id_status_patch(self, resource_quota_id, resource_quota_status, **kwargs): # noqa: E501
33917
33260
  """Set Resource Quota Status # noqa: E501
33918
33261
 
@@ -35555,120 +34898,6 @@ class DefaultApi(object):
35555
34898
  _request_timeout=local_var_params.get('_request_timeout'),
35556
34899
  collection_formats=collection_formats)
35557
34900
 
35558
- def undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post(self, card_id, **kwargs): # noqa: E501
35559
- """Undismiss User Card # noqa: E501
35560
-
35561
- For Internal Debugging: undismiss given card_id for logged in user. # noqa: E501
35562
- This method makes a synchronous HTTP request by default. To make an
35563
- asynchronous HTTP request, please pass async_req=True
35564
- >>> thread = api.undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post(card_id, async_req=True)
35565
- >>> result = thread.get()
35566
-
35567
- :param async_req bool: execute request asynchronously
35568
- :param CardId card_id: (required)
35569
- :param _preload_content: if False, the urllib3.HTTPResponse object will
35570
- be returned without reading/decoding response
35571
- data. Default is True.
35572
- :param _request_timeout: timeout setting for this request. If one
35573
- number provided, it will be total request
35574
- timeout. It can also be a pair (tuple) of
35575
- (connection, read) timeouts.
35576
- :return: object
35577
- If the method is called asynchronously,
35578
- returns the request thread.
35579
- """
35580
- kwargs['_return_http_data_only'] = True
35581
- return self.undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post_with_http_info(card_id, **kwargs) # noqa: E501
35582
-
35583
- def undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post_with_http_info(self, card_id, **kwargs): # noqa: E501
35584
- """Undismiss User Card # noqa: E501
35585
-
35586
- For Internal Debugging: undismiss given card_id for logged in user. # noqa: E501
35587
- This method makes a synchronous HTTP request by default. To make an
35588
- asynchronous HTTP request, please pass async_req=True
35589
- >>> thread = api.undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post_with_http_info(card_id, async_req=True)
35590
- >>> result = thread.get()
35591
-
35592
- :param async_req bool: execute request asynchronously
35593
- :param CardId card_id: (required)
35594
- :param _return_http_data_only: response data without head status code
35595
- and headers
35596
- :param _preload_content: if False, the urllib3.HTTPResponse object will
35597
- be returned without reading/decoding response
35598
- data. Default is True.
35599
- :param _request_timeout: timeout setting for this request. If one
35600
- number provided, it will be total request
35601
- timeout. It can also be a pair (tuple) of
35602
- (connection, read) timeouts.
35603
- :return: tuple(object, status_code(int), headers(HTTPHeaderDict))
35604
- If the method is called asynchronously,
35605
- returns the request thread.
35606
- """
35607
-
35608
- local_var_params = locals()
35609
-
35610
- all_params = [
35611
- 'card_id'
35612
- ]
35613
- all_params.extend(
35614
- [
35615
- 'async_req',
35616
- '_return_http_data_only',
35617
- '_preload_content',
35618
- '_request_timeout'
35619
- ]
35620
- )
35621
-
35622
- for key, val in six.iteritems(local_var_params['kwargs']):
35623
- if key not in all_params:
35624
- raise ApiTypeError(
35625
- "Got an unexpected keyword argument '%s'"
35626
- " to method undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post" % key
35627
- )
35628
- local_var_params[key] = val
35629
- del local_var_params['kwargs']
35630
- # verify the required parameter 'card_id' is set
35631
- if self.api_client.client_side_validation and ('card_id' not in local_var_params or # noqa: E501
35632
- local_var_params['card_id'] is None): # noqa: E501
35633
- raise ApiValueError("Missing the required parameter `card_id` when calling `undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post`") # noqa: E501
35634
-
35635
- collection_formats = {}
35636
-
35637
- path_params = {}
35638
- if 'card_id' in local_var_params:
35639
- path_params['card_id'] = local_var_params['card_id'] # noqa: E501
35640
-
35641
- query_params = []
35642
-
35643
- header_params = {}
35644
-
35645
- form_params = []
35646
- local_var_files = {}
35647
-
35648
- body_params = None
35649
- # HTTP header `Accept`
35650
- header_params['Accept'] = self.api_client.select_header_accept(
35651
- ['application/json']) # noqa: E501
35652
-
35653
- # Authentication setting
35654
- auth_settings = [] # noqa: E501
35655
-
35656
- return self.api_client.call_api(
35657
- '/api/v2/onboarding_cards/{card_id}/undismiss', 'POST',
35658
- path_params,
35659
- query_params,
35660
- header_params,
35661
- body=body_params,
35662
- post_params=form_params,
35663
- files=local_var_files,
35664
- response_type='object', # noqa: E501
35665
- auth_settings=auth_settings,
35666
- async_req=local_var_params.get('async_req'),
35667
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
35668
- _preload_content=local_var_params.get('_preload_content', True),
35669
- _request_timeout=local_var_params.get('_request_timeout'),
35670
- collection_formats=collection_formats)
35671
-
35672
34901
  def update_cloud_auto_add_user_api_v2_clouds_cloud_id_auto_add_user_put(self, cloud_id, auto_add_user, **kwargs): # noqa: E501
35673
34902
  """Update Cloud Auto Add User # noqa: E501
35674
34903