anyscale 0.26.9__py3-none-any.whl → 0.26.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/anyscale_halo/LICENSE +21 -0
- anyscale/anyscale_halo/README.md +1 -0
- anyscale/anyscale_halo/__init__.py +10 -0
- anyscale/anyscale_halo/_utils.py +148 -0
- anyscale/anyscale_halo/cursor.py +48 -0
- anyscale/anyscale_halo/halo.py +609 -0
- anyscale/anyscale_halo/halo_notebook.py +122 -0
- anyscale/cli_logger.py +1 -1
- anyscale/client/README.md +0 -14
- anyscale/client/openapi_client/__init__.py +0 -9
- anyscale/client/openapi_client/api/default_api.py +12 -577
- anyscale/client/openapi_client/models/__init__.py +0 -9
- anyscale/version.py +1 -1
- {anyscale-0.26.9.dist-info → anyscale-0.26.10.dist-info}/METADATA +5 -2
- {anyscale-0.26.9.dist-info → anyscale-0.26.10.dist-info}/RECORD +20 -22
- anyscale/client/openapi_client/models/card.py +0 -181
- anyscale/client/openapi_client/models/card_id.py +0 -108
- anyscale/client/openapi_client/models/card_list_response.py +0 -147
- anyscale/client/openapi_client/models/cluster_features.py +0 -152
- anyscale/client/openapi_client/models/clusterfeatures_response.py +0 -121
- anyscale/client/openapi_client/models/dismissal_type.py +0 -100
- anyscale/client/openapi_client/models/feature_compatibility.py +0 -152
- anyscale/client/openapi_client/models/onboarding_user_cards_query.py +0 -122
- anyscale/client/openapi_client/models/visibility.py +0 -100
- {anyscale-0.26.9.dist-info → anyscale-0.26.10.dist-info}/LICENSE +0 -0
- {anyscale-0.26.9.dist-info → anyscale-0.26.10.dist-info}/NOTICE +0 -0
- {anyscale-0.26.9.dist-info → anyscale-0.26.10.dist-info}/WHEEL +0 -0
- {anyscale-0.26.9.dist-info → anyscale-0.26.10.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.9.dist-info → anyscale-0.26.10.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,121 +16210,6 @@ 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
|
16438
|
-
|
16439
|
-
Retrieve the compatibility of product features with a ray version # noqa: E501
|
16440
|
-
This method makes a synchronous HTTP request by default. To make an
|
16441
|
-
asynchronous HTTP request, please pass async_req=True
|
16442
|
-
>>> thread = api.get_feature_compatibility_api_v2_product_features_get(async_req=True)
|
16443
|
-
>>> result = thread.get()
|
16444
|
-
|
16445
|
-
: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
|
16448
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
16449
|
-
be returned without reading/decoding response
|
16450
|
-
data. Default is True.
|
16451
|
-
:param _request_timeout: timeout setting for this request. If one
|
16452
|
-
number provided, it will be total request
|
16453
|
-
timeout. It can also be a pair (tuple) of
|
16454
|
-
(connection, read) timeouts.
|
16455
|
-
:return: ClusterfeaturesResponse
|
16456
|
-
If the method is called asynchronously,
|
16457
|
-
returns the request thread.
|
16458
|
-
"""
|
16459
|
-
kwargs['_return_http_data_only'] = True
|
16460
|
-
return self.get_feature_compatibility_api_v2_product_features_get_with_http_info(**kwargs) # noqa: E501
|
16461
|
-
|
16462
|
-
def get_feature_compatibility_api_v2_product_features_get_with_http_info(self, **kwargs): # noqa: E501
|
16463
|
-
"""Get Feature Compatibility # noqa: E501
|
16464
|
-
|
16465
|
-
Retrieve the compatibility of product features with a ray version # noqa: E501
|
16466
|
-
This method makes a synchronous HTTP request by default. To make an
|
16467
|
-
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)
|
16469
|
-
>>> result = thread.get()
|
16470
|
-
|
16471
|
-
: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
|
16474
|
-
:param _return_http_data_only: response data without head status code
|
16475
|
-
and headers
|
16476
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
16477
|
-
be returned without reading/decoding response
|
16478
|
-
data. Default is True.
|
16479
|
-
:param _request_timeout: timeout setting for this request. If one
|
16480
|
-
number provided, it will be total request
|
16481
|
-
timeout. It can also be a pair (tuple) of
|
16482
|
-
(connection, read) timeouts.
|
16483
|
-
:return: tuple(ClusterfeaturesResponse, status_code(int), headers(HTTPHeaderDict))
|
16484
|
-
If the method is called asynchronously,
|
16485
|
-
returns the request thread.
|
16486
|
-
"""
|
16487
|
-
|
16488
|
-
local_var_params = locals()
|
16489
|
-
|
16490
|
-
all_params = [
|
16491
|
-
'cluster_id',
|
16492
|
-
'ray_version_str'
|
16493
|
-
]
|
16494
|
-
all_params.extend(
|
16495
|
-
[
|
16496
|
-
'async_req',
|
16497
|
-
'_return_http_data_only',
|
16498
|
-
'_preload_content',
|
16499
|
-
'_request_timeout'
|
16500
|
-
]
|
16501
|
-
)
|
16502
|
-
|
16503
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
16504
|
-
if key not in all_params:
|
16505
|
-
raise ApiTypeError(
|
16506
|
-
"Got an unexpected keyword argument '%s'"
|
16507
|
-
" to method get_feature_compatibility_api_v2_product_features_get" % key
|
16508
|
-
)
|
16509
|
-
local_var_params[key] = val
|
16510
|
-
del local_var_params['kwargs']
|
16511
|
-
|
16512
|
-
collection_formats = {}
|
16513
|
-
|
16514
|
-
path_params = {}
|
16515
|
-
|
16516
|
-
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
|
-
|
16522
|
-
header_params = {}
|
16523
|
-
|
16524
|
-
form_params = []
|
16525
|
-
local_var_files = {}
|
16526
|
-
|
16527
|
-
body_params = None
|
16528
|
-
# HTTP header `Accept`
|
16529
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
16530
|
-
['application/json']) # noqa: E501
|
16531
|
-
|
16532
|
-
# Authentication setting
|
16533
|
-
auth_settings = [] # noqa: E501
|
16534
|
-
|
16535
|
-
return self.api_client.call_api(
|
16536
|
-
'/api/v2/product_features/', 'GET',
|
16537
|
-
path_params,
|
16538
|
-
query_params,
|
16539
|
-
header_params,
|
16540
|
-
body=body_params,
|
16541
|
-
post_params=form_params,
|
16542
|
-
files=local_var_files,
|
16543
|
-
response_type='ClusterfeaturesResponse', # noqa: E501
|
16544
|
-
auth_settings=auth_settings,
|
16545
|
-
async_req=local_var_params.get('async_req'),
|
16546
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
16547
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
16548
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
16549
|
-
collection_formats=collection_formats)
|
16550
|
-
|
16551
16213
|
def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
|
16552
16214
|
"""Get Instance Usage Budget # noqa: E501
|
16553
16215
|
|
@@ -22171,6 +21833,7 @@ class DefaultApi(object):
|
|
22171
21833
|
:param int start_line: (required)
|
22172
21834
|
:param int end_line: (required)
|
22173
21835
|
:param str extension:
|
21836
|
+
:param datetime start_time:
|
22174
21837
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22175
21838
|
be returned without reading/decoding response
|
22176
21839
|
data. Default is True.
|
@@ -22198,6 +21861,7 @@ class DefaultApi(object):
|
|
22198
21861
|
:param int start_line: (required)
|
22199
21862
|
:param int end_line: (required)
|
22200
21863
|
:param str extension:
|
21864
|
+
:param datetime start_time:
|
22201
21865
|
:param _return_http_data_only: response data without head status code
|
22202
21866
|
and headers
|
22203
21867
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -22218,7 +21882,8 @@ class DefaultApi(object):
|
|
22218
21882
|
'session_id',
|
22219
21883
|
'start_line',
|
22220
21884
|
'end_line',
|
22221
|
-
'extension'
|
21885
|
+
'extension',
|
21886
|
+
'start_time'
|
22222
21887
|
]
|
22223
21888
|
all_params.extend(
|
22224
21889
|
[
|
@@ -22263,6 +21928,8 @@ class DefaultApi(object):
|
|
22263
21928
|
query_params.append(('end_line', local_var_params['end_line'])) # noqa: E501
|
22264
21929
|
if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
|
22265
21930
|
query_params.append(('extension', local_var_params['extension'])) # noqa: E501
|
21931
|
+
if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
|
21932
|
+
query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
|
22266
21933
|
|
22267
21934
|
header_params = {}
|
22268
21935
|
|
@@ -33795,124 +33462,6 @@ class DefaultApi(object):
|
|
33795
33462
|
_request_timeout=local_var_params.get('_request_timeout'),
|
33796
33463
|
collection_formats=collection_formats)
|
33797
33464
|
|
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
33465
|
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
33466
|
"""Set Resource Quota Status # noqa: E501
|
33918
33467
|
|
@@ -35555,120 +35104,6 @@ class DefaultApi(object):
|
|
35555
35104
|
_request_timeout=local_var_params.get('_request_timeout'),
|
35556
35105
|
collection_formats=collection_formats)
|
35557
35106
|
|
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
35107
|
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
35108
|
"""Update Cloud Auto Add User # noqa: E501
|
35674
35109
|
|