anyscale 0.26.17__py3-none-any.whl → 0.26.19__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/_private/docgen/models.md +2 -2
- anyscale/anyscale-cloud-setup.yaml +0 -4
- anyscale/client/README.md +12 -37
- anyscale/client/openapi_client/__init__.py +11 -20
- anyscale/client/openapi_client/api/default_api.py +115 -2004
- anyscale/client/openapi_client/models/__init__.py +11 -20
- anyscale/client/openapi_client/models/aws_config.py +402 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +68 -1
- anyscale/client/openapi_client/models/cloud_deployment.py +397 -0
- anyscale/client/openapi_client/models/{webterminal_list_response.py → clouddeployment_list_response.py} +15 -15
- anyscale/client/openapi_client/models/file_storage.py +206 -0
- anyscale/client/openapi_client/models/gcp_config.py +402 -0
- anyscale/client/openapi_client/models/kubernetes_config.py +150 -0
- anyscale/client/openapi_client/models/{monitor_logs_extension.py → networking_mode.py} +7 -7
- anyscale/client/openapi_client/models/object_storage.py +178 -0
- anyscale/client/openapi_client/models/{sessiondetails_response.py → pcp_config.py} +23 -22
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +68 -1
- anyscale/client/openapi_client/models/workspace_template_readme.py +181 -0
- anyscale/client/openapi_client/models/{archivedlogsinfo_response.py → workspacetemplatereadme_response.py} +11 -11
- anyscale/commands/cloud_commands.py +55 -7
- anyscale/connect_utils/prepare_cluster.py +19 -14
- anyscale/controllers/cloud_controller.py +60 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +68 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +68 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/METADATA +1 -1
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/RECORD +33 -42
- anyscale/client/openapi_client/models/archived_logs_info.py +0 -164
- anyscale/client/openapi_client/models/create_experimental_workspace_from_job.py +0 -123
- anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +0 -538
- anyscale/client/openapi_client/models/create_session_in_db.py +0 -434
- anyscale/client/openapi_client/models/create_session_response.py +0 -174
- anyscale/client/openapi_client/models/createsessionresponse_response.py +0 -121
- anyscale/client/openapi_client/models/external_service_status.py +0 -147
- anyscale/client/openapi_client/models/external_service_status_response.py +0 -250
- anyscale/client/openapi_client/models/externalservicestatusresponse_response.py +0 -121
- anyscale/client/openapi_client/models/session_describe.py +0 -175
- anyscale/client/openapi_client/models/session_details.py +0 -148
- anyscale/client/openapi_client/models/session_history_item.py +0 -146
- anyscale/client/openapi_client/models/sessiondescribe_response.py +0 -121
- anyscale/client/openapi_client/models/sessionhistoryitem_list_response.py +0 -147
- anyscale/client/openapi_client/models/update_compute_template.py +0 -146
- anyscale/client/openapi_client/models/update_compute_template_config.py +0 -464
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/LICENSE +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/NOTICE +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/WHEEL +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.17.dist-info → anyscale-0.26.19.dist-info}/top_level.txt +0 -0
@@ -895,120 +895,6 @@ class DefaultApi(object):
|
|
895
895
|
_request_timeout=local_var_params.get('_request_timeout'),
|
896
896
|
collection_formats=collection_formats)
|
897
897
|
|
898
|
-
def archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post(self, cluster_id, **kwargs): # noqa: E501
|
899
|
-
"""Archive Cluster # noqa: E501
|
900
|
-
|
901
|
-
Archives the cluster. It is a no-op if the cluster is already archived. # noqa: E501
|
902
|
-
This method makes a synchronous HTTP request by default. To make an
|
903
|
-
asynchronous HTTP request, please pass async_req=True
|
904
|
-
>>> thread = api.archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post(cluster_id, async_req=True)
|
905
|
-
>>> result = thread.get()
|
906
|
-
|
907
|
-
:param async_req bool: execute request asynchronously
|
908
|
-
:param str cluster_id: (required)
|
909
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
910
|
-
be returned without reading/decoding response
|
911
|
-
data. Default is True.
|
912
|
-
:param _request_timeout: timeout setting for this request. If one
|
913
|
-
number provided, it will be total request
|
914
|
-
timeout. It can also be a pair (tuple) of
|
915
|
-
(connection, read) timeouts.
|
916
|
-
:return: None
|
917
|
-
If the method is called asynchronously,
|
918
|
-
returns the request thread.
|
919
|
-
"""
|
920
|
-
kwargs['_return_http_data_only'] = True
|
921
|
-
return self.archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post_with_http_info(cluster_id, **kwargs) # noqa: E501
|
922
|
-
|
923
|
-
def archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post_with_http_info(self, cluster_id, **kwargs): # noqa: E501
|
924
|
-
"""Archive Cluster # noqa: E501
|
925
|
-
|
926
|
-
Archives the cluster. It is a no-op if the cluster is already archived. # noqa: E501
|
927
|
-
This method makes a synchronous HTTP request by default. To make an
|
928
|
-
asynchronous HTTP request, please pass async_req=True
|
929
|
-
>>> thread = api.archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post_with_http_info(cluster_id, async_req=True)
|
930
|
-
>>> result = thread.get()
|
931
|
-
|
932
|
-
:param async_req bool: execute request asynchronously
|
933
|
-
:param str cluster_id: (required)
|
934
|
-
:param _return_http_data_only: response data without head status code
|
935
|
-
and headers
|
936
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
937
|
-
be returned without reading/decoding response
|
938
|
-
data. Default is True.
|
939
|
-
:param _request_timeout: timeout setting for this request. If one
|
940
|
-
number provided, it will be total request
|
941
|
-
timeout. It can also be a pair (tuple) of
|
942
|
-
(connection, read) timeouts.
|
943
|
-
:return: None
|
944
|
-
If the method is called asynchronously,
|
945
|
-
returns the request thread.
|
946
|
-
"""
|
947
|
-
|
948
|
-
local_var_params = locals()
|
949
|
-
|
950
|
-
all_params = [
|
951
|
-
'cluster_id'
|
952
|
-
]
|
953
|
-
all_params.extend(
|
954
|
-
[
|
955
|
-
'async_req',
|
956
|
-
'_return_http_data_only',
|
957
|
-
'_preload_content',
|
958
|
-
'_request_timeout'
|
959
|
-
]
|
960
|
-
)
|
961
|
-
|
962
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
963
|
-
if key not in all_params:
|
964
|
-
raise ApiTypeError(
|
965
|
-
"Got an unexpected keyword argument '%s'"
|
966
|
-
" to method archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post" % key
|
967
|
-
)
|
968
|
-
local_var_params[key] = val
|
969
|
-
del local_var_params['kwargs']
|
970
|
-
# verify the required parameter 'cluster_id' is set
|
971
|
-
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
972
|
-
local_var_params['cluster_id'] is None): # noqa: E501
|
973
|
-
raise ApiValueError("Missing the required parameter `cluster_id` when calling `archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post`") # noqa: E501
|
974
|
-
|
975
|
-
collection_formats = {}
|
976
|
-
|
977
|
-
path_params = {}
|
978
|
-
if 'cluster_id' in local_var_params:
|
979
|
-
path_params['cluster_id'] = local_var_params['cluster_id'] # noqa: E501
|
980
|
-
|
981
|
-
query_params = []
|
982
|
-
|
983
|
-
header_params = {}
|
984
|
-
|
985
|
-
form_params = []
|
986
|
-
local_var_files = {}
|
987
|
-
|
988
|
-
body_params = None
|
989
|
-
# HTTP header `Accept`
|
990
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
991
|
-
['application/json']) # noqa: E501
|
992
|
-
|
993
|
-
# Authentication setting
|
994
|
-
auth_settings = [] # noqa: E501
|
995
|
-
|
996
|
-
return self.api_client.call_api(
|
997
|
-
'/api/v2/decorated_sessions/{cluster_id}/archive', 'POST',
|
998
|
-
path_params,
|
999
|
-
query_params,
|
1000
|
-
header_params,
|
1001
|
-
body=body_params,
|
1002
|
-
post_params=form_params,
|
1003
|
-
files=local_var_files,
|
1004
|
-
response_type=None, # noqa: E501
|
1005
|
-
auth_settings=auth_settings,
|
1006
|
-
async_req=local_var_params.get('async_req'),
|
1007
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
1008
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
1009
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
1010
|
-
collection_formats=collection_formats)
|
1011
|
-
|
1012
898
|
def archive_cluster_environment_api_v2_application_templates_application_template_id_archive_post(self, application_template_id, **kwargs): # noqa: E501
|
1013
899
|
"""Archive Cluster Environment # noqa: E501
|
1014
900
|
|
@@ -4524,124 +4410,6 @@ class DefaultApi(object):
|
|
4524
4410
|
_request_timeout=local_var_params.get('_request_timeout'),
|
4525
4411
|
collection_formats=collection_formats)
|
4526
4412
|
|
4527
|
-
def create_connect_session_api_v2_sessions_create_connect_session_post(self, create_session_in_db, **kwargs): # noqa: E501
|
4528
|
-
"""Create Connect Session # noqa: E501
|
4529
|
-
|
4530
|
-
Creates a session for anyscale connect. # noqa: E501
|
4531
|
-
This method makes a synchronous HTTP request by default. To make an
|
4532
|
-
asynchronous HTTP request, please pass async_req=True
|
4533
|
-
>>> thread = api.create_connect_session_api_v2_sessions_create_connect_session_post(create_session_in_db, async_req=True)
|
4534
|
-
>>> result = thread.get()
|
4535
|
-
|
4536
|
-
:param async_req bool: execute request asynchronously
|
4537
|
-
:param CreateSessionInDb create_session_in_db: (required)
|
4538
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4539
|
-
be returned without reading/decoding response
|
4540
|
-
data. Default is True.
|
4541
|
-
:param _request_timeout: timeout setting for this request. If one
|
4542
|
-
number provided, it will be total request
|
4543
|
-
timeout. It can also be a pair (tuple) of
|
4544
|
-
(connection, read) timeouts.
|
4545
|
-
:return: SessionResponse
|
4546
|
-
If the method is called asynchronously,
|
4547
|
-
returns the request thread.
|
4548
|
-
"""
|
4549
|
-
kwargs['_return_http_data_only'] = True
|
4550
|
-
return self.create_connect_session_api_v2_sessions_create_connect_session_post_with_http_info(create_session_in_db, **kwargs) # noqa: E501
|
4551
|
-
|
4552
|
-
def create_connect_session_api_v2_sessions_create_connect_session_post_with_http_info(self, create_session_in_db, **kwargs): # noqa: E501
|
4553
|
-
"""Create Connect Session # noqa: E501
|
4554
|
-
|
4555
|
-
Creates a session for anyscale connect. # noqa: E501
|
4556
|
-
This method makes a synchronous HTTP request by default. To make an
|
4557
|
-
asynchronous HTTP request, please pass async_req=True
|
4558
|
-
>>> thread = api.create_connect_session_api_v2_sessions_create_connect_session_post_with_http_info(create_session_in_db, async_req=True)
|
4559
|
-
>>> result = thread.get()
|
4560
|
-
|
4561
|
-
:param async_req bool: execute request asynchronously
|
4562
|
-
:param CreateSessionInDb create_session_in_db: (required)
|
4563
|
-
:param _return_http_data_only: response data without head status code
|
4564
|
-
and headers
|
4565
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4566
|
-
be returned without reading/decoding response
|
4567
|
-
data. Default is True.
|
4568
|
-
:param _request_timeout: timeout setting for this request. If one
|
4569
|
-
number provided, it will be total request
|
4570
|
-
timeout. It can also be a pair (tuple) of
|
4571
|
-
(connection, read) timeouts.
|
4572
|
-
:return: tuple(SessionResponse, status_code(int), headers(HTTPHeaderDict))
|
4573
|
-
If the method is called asynchronously,
|
4574
|
-
returns the request thread.
|
4575
|
-
"""
|
4576
|
-
|
4577
|
-
local_var_params = locals()
|
4578
|
-
|
4579
|
-
all_params = [
|
4580
|
-
'create_session_in_db'
|
4581
|
-
]
|
4582
|
-
all_params.extend(
|
4583
|
-
[
|
4584
|
-
'async_req',
|
4585
|
-
'_return_http_data_only',
|
4586
|
-
'_preload_content',
|
4587
|
-
'_request_timeout'
|
4588
|
-
]
|
4589
|
-
)
|
4590
|
-
|
4591
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
4592
|
-
if key not in all_params:
|
4593
|
-
raise ApiTypeError(
|
4594
|
-
"Got an unexpected keyword argument '%s'"
|
4595
|
-
" to method create_connect_session_api_v2_sessions_create_connect_session_post" % key
|
4596
|
-
)
|
4597
|
-
local_var_params[key] = val
|
4598
|
-
del local_var_params['kwargs']
|
4599
|
-
# verify the required parameter 'create_session_in_db' is set
|
4600
|
-
if self.api_client.client_side_validation and ('create_session_in_db' not in local_var_params or # noqa: E501
|
4601
|
-
local_var_params['create_session_in_db'] is None): # noqa: E501
|
4602
|
-
raise ApiValueError("Missing the required parameter `create_session_in_db` when calling `create_connect_session_api_v2_sessions_create_connect_session_post`") # noqa: E501
|
4603
|
-
|
4604
|
-
collection_formats = {}
|
4605
|
-
|
4606
|
-
path_params = {}
|
4607
|
-
|
4608
|
-
query_params = []
|
4609
|
-
|
4610
|
-
header_params = {}
|
4611
|
-
|
4612
|
-
form_params = []
|
4613
|
-
local_var_files = {}
|
4614
|
-
|
4615
|
-
body_params = None
|
4616
|
-
if 'create_session_in_db' in local_var_params:
|
4617
|
-
body_params = local_var_params['create_session_in_db']
|
4618
|
-
# HTTP header `Accept`
|
4619
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
4620
|
-
['application/json']) # noqa: E501
|
4621
|
-
|
4622
|
-
# HTTP header `Content-Type`
|
4623
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
4624
|
-
['application/json']) # noqa: E501
|
4625
|
-
|
4626
|
-
# Authentication setting
|
4627
|
-
auth_settings = [] # noqa: E501
|
4628
|
-
|
4629
|
-
return self.api_client.call_api(
|
4630
|
-
'/api/v2/sessions/create_connect_session', 'POST',
|
4631
|
-
path_params,
|
4632
|
-
query_params,
|
4633
|
-
header_params,
|
4634
|
-
body=body_params,
|
4635
|
-
post_params=form_params,
|
4636
|
-
files=local_var_files,
|
4637
|
-
response_type='SessionResponse', # noqa: E501
|
4638
|
-
auth_settings=auth_settings,
|
4639
|
-
async_req=local_var_params.get('async_req'),
|
4640
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
4641
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
4642
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
4643
|
-
collection_formats=collection_formats)
|
4644
|
-
|
4645
4413
|
def create_dataset_upload_api_v2_datasets_upload_post(self, create_dataset, **kwargs): # noqa: E501
|
4646
4414
|
"""Create Dataset Upload # noqa: E501
|
4647
4415
|
|
@@ -5464,122 +5232,6 @@ class DefaultApi(object):
|
|
5464
5232
|
_request_timeout=local_var_params.get('_request_timeout'),
|
5465
5233
|
collection_formats=collection_formats)
|
5466
5234
|
|
5467
|
-
def create_new_session_api_v2_sessions_create_new_session_post(self, create_session_from_snapshot_options, **kwargs): # noqa: E501
|
5468
|
-
"""Create New Session # noqa: E501
|
5469
|
-
|
5470
|
-
This method makes a synchronous HTTP request by default. To make an
|
5471
|
-
asynchronous HTTP request, please pass async_req=True
|
5472
|
-
>>> thread = api.create_new_session_api_v2_sessions_create_new_session_post(create_session_from_snapshot_options, async_req=True)
|
5473
|
-
>>> result = thread.get()
|
5474
|
-
|
5475
|
-
:param async_req bool: execute request asynchronously
|
5476
|
-
:param CreateSessionFromSnapshotOptions create_session_from_snapshot_options: (required)
|
5477
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
5478
|
-
be returned without reading/decoding response
|
5479
|
-
data. Default is True.
|
5480
|
-
:param _request_timeout: timeout setting for this request. If one
|
5481
|
-
number provided, it will be total request
|
5482
|
-
timeout. It can also be a pair (tuple) of
|
5483
|
-
(connection, read) timeouts.
|
5484
|
-
:return: CreatesessionresponseResponse
|
5485
|
-
If the method is called asynchronously,
|
5486
|
-
returns the request thread.
|
5487
|
-
"""
|
5488
|
-
kwargs['_return_http_data_only'] = True
|
5489
|
-
return self.create_new_session_api_v2_sessions_create_new_session_post_with_http_info(create_session_from_snapshot_options, **kwargs) # noqa: E501
|
5490
|
-
|
5491
|
-
def create_new_session_api_v2_sessions_create_new_session_post_with_http_info(self, create_session_from_snapshot_options, **kwargs): # noqa: E501
|
5492
|
-
"""Create New Session # noqa: E501
|
5493
|
-
|
5494
|
-
This method makes a synchronous HTTP request by default. To make an
|
5495
|
-
asynchronous HTTP request, please pass async_req=True
|
5496
|
-
>>> thread = api.create_new_session_api_v2_sessions_create_new_session_post_with_http_info(create_session_from_snapshot_options, async_req=True)
|
5497
|
-
>>> result = thread.get()
|
5498
|
-
|
5499
|
-
:param async_req bool: execute request asynchronously
|
5500
|
-
:param CreateSessionFromSnapshotOptions create_session_from_snapshot_options: (required)
|
5501
|
-
:param _return_http_data_only: response data without head status code
|
5502
|
-
and headers
|
5503
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
5504
|
-
be returned without reading/decoding response
|
5505
|
-
data. Default is True.
|
5506
|
-
:param _request_timeout: timeout setting for this request. If one
|
5507
|
-
number provided, it will be total request
|
5508
|
-
timeout. It can also be a pair (tuple) of
|
5509
|
-
(connection, read) timeouts.
|
5510
|
-
:return: tuple(CreatesessionresponseResponse, status_code(int), headers(HTTPHeaderDict))
|
5511
|
-
If the method is called asynchronously,
|
5512
|
-
returns the request thread.
|
5513
|
-
"""
|
5514
|
-
|
5515
|
-
local_var_params = locals()
|
5516
|
-
|
5517
|
-
all_params = [
|
5518
|
-
'create_session_from_snapshot_options'
|
5519
|
-
]
|
5520
|
-
all_params.extend(
|
5521
|
-
[
|
5522
|
-
'async_req',
|
5523
|
-
'_return_http_data_only',
|
5524
|
-
'_preload_content',
|
5525
|
-
'_request_timeout'
|
5526
|
-
]
|
5527
|
-
)
|
5528
|
-
|
5529
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
5530
|
-
if key not in all_params:
|
5531
|
-
raise ApiTypeError(
|
5532
|
-
"Got an unexpected keyword argument '%s'"
|
5533
|
-
" to method create_new_session_api_v2_sessions_create_new_session_post" % key
|
5534
|
-
)
|
5535
|
-
local_var_params[key] = val
|
5536
|
-
del local_var_params['kwargs']
|
5537
|
-
# verify the required parameter 'create_session_from_snapshot_options' is set
|
5538
|
-
if self.api_client.client_side_validation and ('create_session_from_snapshot_options' not in local_var_params or # noqa: E501
|
5539
|
-
local_var_params['create_session_from_snapshot_options'] is None): # noqa: E501
|
5540
|
-
raise ApiValueError("Missing the required parameter `create_session_from_snapshot_options` when calling `create_new_session_api_v2_sessions_create_new_session_post`") # noqa: E501
|
5541
|
-
|
5542
|
-
collection_formats = {}
|
5543
|
-
|
5544
|
-
path_params = {}
|
5545
|
-
|
5546
|
-
query_params = []
|
5547
|
-
|
5548
|
-
header_params = {}
|
5549
|
-
|
5550
|
-
form_params = []
|
5551
|
-
local_var_files = {}
|
5552
|
-
|
5553
|
-
body_params = None
|
5554
|
-
if 'create_session_from_snapshot_options' in local_var_params:
|
5555
|
-
body_params = local_var_params['create_session_from_snapshot_options']
|
5556
|
-
# HTTP header `Accept`
|
5557
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
5558
|
-
['application/json']) # noqa: E501
|
5559
|
-
|
5560
|
-
# HTTP header `Content-Type`
|
5561
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
5562
|
-
['application/json']) # noqa: E501
|
5563
|
-
|
5564
|
-
# Authentication setting
|
5565
|
-
auth_settings = [] # noqa: E501
|
5566
|
-
|
5567
|
-
return self.api_client.call_api(
|
5568
|
-
'/api/v2/sessions/create_new_session', 'POST',
|
5569
|
-
path_params,
|
5570
|
-
query_params,
|
5571
|
-
header_params,
|
5572
|
-
body=body_params,
|
5573
|
-
post_params=form_params,
|
5574
|
-
files=local_var_files,
|
5575
|
-
response_type='CreatesessionresponseResponse', # noqa: E501
|
5576
|
-
auth_settings=auth_settings,
|
5577
|
-
async_req=local_var_params.get('async_req'),
|
5578
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
5579
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
5580
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
5581
|
-
collection_formats=collection_formats)
|
5582
|
-
|
5583
5235
|
def create_one_time_password_api_v2_users_create_otp_token_get(self, **kwargs): # noqa: E501
|
5584
5236
|
"""Create One Time Password # noqa: E501
|
5585
5237
|
|
@@ -6870,124 +6522,6 @@ class DefaultApi(object):
|
|
6870
6522
|
_request_timeout=local_var_params.get('_request_timeout'),
|
6871
6523
|
collection_formats=collection_formats)
|
6872
6524
|
|
6873
|
-
def create_workspace_from_job_api_v2_experimental_workspaces_from_job_post(self, create_experimental_workspace_from_job, **kwargs): # noqa: E501
|
6874
|
-
"""Create Workspace From Job # noqa: E501
|
6875
|
-
|
6876
|
-
Creates a Workspace from a job. # noqa: E501
|
6877
|
-
This method makes a synchronous HTTP request by default. To make an
|
6878
|
-
asynchronous HTTP request, please pass async_req=True
|
6879
|
-
>>> thread = api.create_workspace_from_job_api_v2_experimental_workspaces_from_job_post(create_experimental_workspace_from_job, async_req=True)
|
6880
|
-
>>> result = thread.get()
|
6881
|
-
|
6882
|
-
:param async_req bool: execute request asynchronously
|
6883
|
-
:param CreateExperimentalWorkspaceFromJob create_experimental_workspace_from_job: (required)
|
6884
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
6885
|
-
be returned without reading/decoding response
|
6886
|
-
data. Default is True.
|
6887
|
-
:param _request_timeout: timeout setting for this request. If one
|
6888
|
-
number provided, it will be total request
|
6889
|
-
timeout. It can also be a pair (tuple) of
|
6890
|
-
(connection, read) timeouts.
|
6891
|
-
:return: ExperimentalworkspaceResponse
|
6892
|
-
If the method is called asynchronously,
|
6893
|
-
returns the request thread.
|
6894
|
-
"""
|
6895
|
-
kwargs['_return_http_data_only'] = True
|
6896
|
-
return self.create_workspace_from_job_api_v2_experimental_workspaces_from_job_post_with_http_info(create_experimental_workspace_from_job, **kwargs) # noqa: E501
|
6897
|
-
|
6898
|
-
def create_workspace_from_job_api_v2_experimental_workspaces_from_job_post_with_http_info(self, create_experimental_workspace_from_job, **kwargs): # noqa: E501
|
6899
|
-
"""Create Workspace From Job # noqa: E501
|
6900
|
-
|
6901
|
-
Creates a Workspace from a job. # noqa: E501
|
6902
|
-
This method makes a synchronous HTTP request by default. To make an
|
6903
|
-
asynchronous HTTP request, please pass async_req=True
|
6904
|
-
>>> thread = api.create_workspace_from_job_api_v2_experimental_workspaces_from_job_post_with_http_info(create_experimental_workspace_from_job, async_req=True)
|
6905
|
-
>>> result = thread.get()
|
6906
|
-
|
6907
|
-
:param async_req bool: execute request asynchronously
|
6908
|
-
:param CreateExperimentalWorkspaceFromJob create_experimental_workspace_from_job: (required)
|
6909
|
-
:param _return_http_data_only: response data without head status code
|
6910
|
-
and headers
|
6911
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
6912
|
-
be returned without reading/decoding response
|
6913
|
-
data. Default is True.
|
6914
|
-
:param _request_timeout: timeout setting for this request. If one
|
6915
|
-
number provided, it will be total request
|
6916
|
-
timeout. It can also be a pair (tuple) of
|
6917
|
-
(connection, read) timeouts.
|
6918
|
-
:return: tuple(ExperimentalworkspaceResponse, status_code(int), headers(HTTPHeaderDict))
|
6919
|
-
If the method is called asynchronously,
|
6920
|
-
returns the request thread.
|
6921
|
-
"""
|
6922
|
-
|
6923
|
-
local_var_params = locals()
|
6924
|
-
|
6925
|
-
all_params = [
|
6926
|
-
'create_experimental_workspace_from_job'
|
6927
|
-
]
|
6928
|
-
all_params.extend(
|
6929
|
-
[
|
6930
|
-
'async_req',
|
6931
|
-
'_return_http_data_only',
|
6932
|
-
'_preload_content',
|
6933
|
-
'_request_timeout'
|
6934
|
-
]
|
6935
|
-
)
|
6936
|
-
|
6937
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
6938
|
-
if key not in all_params:
|
6939
|
-
raise ApiTypeError(
|
6940
|
-
"Got an unexpected keyword argument '%s'"
|
6941
|
-
" to method create_workspace_from_job_api_v2_experimental_workspaces_from_job_post" % key
|
6942
|
-
)
|
6943
|
-
local_var_params[key] = val
|
6944
|
-
del local_var_params['kwargs']
|
6945
|
-
# verify the required parameter 'create_experimental_workspace_from_job' is set
|
6946
|
-
if self.api_client.client_side_validation and ('create_experimental_workspace_from_job' not in local_var_params or # noqa: E501
|
6947
|
-
local_var_params['create_experimental_workspace_from_job'] is None): # noqa: E501
|
6948
|
-
raise ApiValueError("Missing the required parameter `create_experimental_workspace_from_job` when calling `create_workspace_from_job_api_v2_experimental_workspaces_from_job_post`") # noqa: E501
|
6949
|
-
|
6950
|
-
collection_formats = {}
|
6951
|
-
|
6952
|
-
path_params = {}
|
6953
|
-
|
6954
|
-
query_params = []
|
6955
|
-
|
6956
|
-
header_params = {}
|
6957
|
-
|
6958
|
-
form_params = []
|
6959
|
-
local_var_files = {}
|
6960
|
-
|
6961
|
-
body_params = None
|
6962
|
-
if 'create_experimental_workspace_from_job' in local_var_params:
|
6963
|
-
body_params = local_var_params['create_experimental_workspace_from_job']
|
6964
|
-
# HTTP header `Accept`
|
6965
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
6966
|
-
['application/json']) # noqa: E501
|
6967
|
-
|
6968
|
-
# HTTP header `Content-Type`
|
6969
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
6970
|
-
['application/json']) # noqa: E501
|
6971
|
-
|
6972
|
-
# Authentication setting
|
6973
|
-
auth_settings = [] # noqa: E501
|
6974
|
-
|
6975
|
-
return self.api_client.call_api(
|
6976
|
-
'/api/v2/experimental_workspaces/from_job', 'POST',
|
6977
|
-
path_params,
|
6978
|
-
query_params,
|
6979
|
-
header_params,
|
6980
|
-
body=body_params,
|
6981
|
-
post_params=form_params,
|
6982
|
-
files=local_var_files,
|
6983
|
-
response_type='ExperimentalworkspaceResponse', # noqa: E501
|
6984
|
-
auth_settings=auth_settings,
|
6985
|
-
async_req=local_var_params.get('async_req'),
|
6986
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
6987
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
6988
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
6989
|
-
collection_formats=collection_formats)
|
6990
|
-
|
6991
6525
|
def create_workspace_from_template_api_v2_experimental_workspaces_from_template_post(self, create_workspace_from_template, **kwargs): # noqa: E501
|
6992
6526
|
"""Create Workspace From Template # noqa: E501
|
6993
6527
|
|
@@ -8830,129 +8364,6 @@ class DefaultApi(object):
|
|
8830
8364
|
_request_timeout=local_var_params.get('_request_timeout'),
|
8831
8365
|
collection_formats=collection_formats)
|
8832
8366
|
|
8833
|
-
def delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete(self, session_id, terminal_id, **kwargs): # noqa: E501
|
8834
|
-
"""Delete Web Terminals # noqa: E501
|
8835
|
-
|
8836
|
-
DEPRECATED: This API is no deprecated and will not be supported in Anyscale 2.0 # noqa: E501
|
8837
|
-
This method makes a synchronous HTTP request by default. To make an
|
8838
|
-
asynchronous HTTP request, please pass async_req=True
|
8839
|
-
>>> thread = api.delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete(session_id, terminal_id, async_req=True)
|
8840
|
-
>>> result = thread.get()
|
8841
|
-
|
8842
|
-
:param async_req bool: execute request asynchronously
|
8843
|
-
:param str session_id: (required)
|
8844
|
-
:param str terminal_id: (required)
|
8845
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
8846
|
-
be returned without reading/decoding response
|
8847
|
-
data. Default is True.
|
8848
|
-
:param _request_timeout: timeout setting for this request. If one
|
8849
|
-
number provided, it will be total request
|
8850
|
-
timeout. It can also be a pair (tuple) of
|
8851
|
-
(connection, read) timeouts.
|
8852
|
-
:return: None
|
8853
|
-
If the method is called asynchronously,
|
8854
|
-
returns the request thread.
|
8855
|
-
"""
|
8856
|
-
kwargs['_return_http_data_only'] = True
|
8857
|
-
return self.delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete_with_http_info(session_id, terminal_id, **kwargs) # noqa: E501
|
8858
|
-
|
8859
|
-
def delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete_with_http_info(self, session_id, terminal_id, **kwargs): # noqa: E501
|
8860
|
-
"""Delete Web Terminals # noqa: E501
|
8861
|
-
|
8862
|
-
DEPRECATED: This API is no deprecated and will not be supported in Anyscale 2.0 # noqa: E501
|
8863
|
-
This method makes a synchronous HTTP request by default. To make an
|
8864
|
-
asynchronous HTTP request, please pass async_req=True
|
8865
|
-
>>> thread = api.delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete_with_http_info(session_id, terminal_id, async_req=True)
|
8866
|
-
>>> result = thread.get()
|
8867
|
-
|
8868
|
-
:param async_req bool: execute request asynchronously
|
8869
|
-
:param str session_id: (required)
|
8870
|
-
:param str terminal_id: (required)
|
8871
|
-
:param _return_http_data_only: response data without head status code
|
8872
|
-
and headers
|
8873
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
8874
|
-
be returned without reading/decoding response
|
8875
|
-
data. Default is True.
|
8876
|
-
:param _request_timeout: timeout setting for this request. If one
|
8877
|
-
number provided, it will be total request
|
8878
|
-
timeout. It can also be a pair (tuple) of
|
8879
|
-
(connection, read) timeouts.
|
8880
|
-
:return: None
|
8881
|
-
If the method is called asynchronously,
|
8882
|
-
returns the request thread.
|
8883
|
-
"""
|
8884
|
-
|
8885
|
-
local_var_params = locals()
|
8886
|
-
|
8887
|
-
all_params = [
|
8888
|
-
'session_id',
|
8889
|
-
'terminal_id'
|
8890
|
-
]
|
8891
|
-
all_params.extend(
|
8892
|
-
[
|
8893
|
-
'async_req',
|
8894
|
-
'_return_http_data_only',
|
8895
|
-
'_preload_content',
|
8896
|
-
'_request_timeout'
|
8897
|
-
]
|
8898
|
-
)
|
8899
|
-
|
8900
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
8901
|
-
if key not in all_params:
|
8902
|
-
raise ApiTypeError(
|
8903
|
-
"Got an unexpected keyword argument '%s'"
|
8904
|
-
" to method delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete" % key
|
8905
|
-
)
|
8906
|
-
local_var_params[key] = val
|
8907
|
-
del local_var_params['kwargs']
|
8908
|
-
# verify the required parameter 'session_id' is set
|
8909
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
8910
|
-
local_var_params['session_id'] is None): # noqa: E501
|
8911
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete`") # noqa: E501
|
8912
|
-
# verify the required parameter 'terminal_id' is set
|
8913
|
-
if self.api_client.client_side_validation and ('terminal_id' not in local_var_params or # noqa: E501
|
8914
|
-
local_var_params['terminal_id'] is None): # noqa: E501
|
8915
|
-
raise ApiValueError("Missing the required parameter `terminal_id` when calling `delete_web_terminals_api_v2_sessions_session_id_web_terminals_terminal_id_delete`") # noqa: E501
|
8916
|
-
|
8917
|
-
collection_formats = {}
|
8918
|
-
|
8919
|
-
path_params = {}
|
8920
|
-
if 'session_id' in local_var_params:
|
8921
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
8922
|
-
if 'terminal_id' in local_var_params:
|
8923
|
-
path_params['terminal_id'] = local_var_params['terminal_id'] # noqa: E501
|
8924
|
-
|
8925
|
-
query_params = []
|
8926
|
-
|
8927
|
-
header_params = {}
|
8928
|
-
|
8929
|
-
form_params = []
|
8930
|
-
local_var_files = {}
|
8931
|
-
|
8932
|
-
body_params = None
|
8933
|
-
# HTTP header `Accept`
|
8934
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
8935
|
-
['application/json']) # noqa: E501
|
8936
|
-
|
8937
|
-
# Authentication setting
|
8938
|
-
auth_settings = [] # noqa: E501
|
8939
|
-
|
8940
|
-
return self.api_client.call_api(
|
8941
|
-
'/api/v2/sessions/{session_id}/web_terminals/{terminal_id}', 'DELETE',
|
8942
|
-
path_params,
|
8943
|
-
query_params,
|
8944
|
-
header_params,
|
8945
|
-
body=body_params,
|
8946
|
-
post_params=form_params,
|
8947
|
-
files=local_var_files,
|
8948
|
-
response_type=None, # noqa: E501
|
8949
|
-
auth_settings=auth_settings,
|
8950
|
-
async_req=local_var_params.get('async_req'),
|
8951
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
8952
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
8953
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
8954
|
-
collection_formats=collection_formats)
|
8955
|
-
|
8956
8367
|
def delete_workspace_api_v2_experimental_workspaces_workspace_id_delete(self, workspace_id, **kwargs): # noqa: E501
|
8957
8368
|
"""Delete Workspace # noqa: E501
|
8958
8369
|
|
@@ -9185,118 +8596,6 @@ class DefaultApi(object):
|
|
9185
8596
|
_request_timeout=local_var_params.get('_request_timeout'),
|
9186
8597
|
collection_formats=collection_formats)
|
9187
8598
|
|
9188
|
-
def describe_session_api_v2_sessions_session_id_describe_get(self, session_id, **kwargs): # noqa: E501
|
9189
|
-
"""Describe Session # noqa: E501
|
9190
|
-
|
9191
|
-
This method makes a synchronous HTTP request by default. To make an
|
9192
|
-
asynchronous HTTP request, please pass async_req=True
|
9193
|
-
>>> thread = api.describe_session_api_v2_sessions_session_id_describe_get(session_id, async_req=True)
|
9194
|
-
>>> result = thread.get()
|
9195
|
-
|
9196
|
-
:param async_req bool: execute request asynchronously
|
9197
|
-
:param str session_id: (required)
|
9198
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
9199
|
-
be returned without reading/decoding response
|
9200
|
-
data. Default is True.
|
9201
|
-
:param _request_timeout: timeout setting for this request. If one
|
9202
|
-
number provided, it will be total request
|
9203
|
-
timeout. It can also be a pair (tuple) of
|
9204
|
-
(connection, read) timeouts.
|
9205
|
-
:return: SessiondescribeResponse
|
9206
|
-
If the method is called asynchronously,
|
9207
|
-
returns the request thread.
|
9208
|
-
"""
|
9209
|
-
kwargs['_return_http_data_only'] = True
|
9210
|
-
return self.describe_session_api_v2_sessions_session_id_describe_get_with_http_info(session_id, **kwargs) # noqa: E501
|
9211
|
-
|
9212
|
-
def describe_session_api_v2_sessions_session_id_describe_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
9213
|
-
"""Describe Session # noqa: E501
|
9214
|
-
|
9215
|
-
This method makes a synchronous HTTP request by default. To make an
|
9216
|
-
asynchronous HTTP request, please pass async_req=True
|
9217
|
-
>>> thread = api.describe_session_api_v2_sessions_session_id_describe_get_with_http_info(session_id, async_req=True)
|
9218
|
-
>>> result = thread.get()
|
9219
|
-
|
9220
|
-
:param async_req bool: execute request asynchronously
|
9221
|
-
:param str session_id: (required)
|
9222
|
-
:param _return_http_data_only: response data without head status code
|
9223
|
-
and headers
|
9224
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
9225
|
-
be returned without reading/decoding response
|
9226
|
-
data. Default is True.
|
9227
|
-
:param _request_timeout: timeout setting for this request. If one
|
9228
|
-
number provided, it will be total request
|
9229
|
-
timeout. It can also be a pair (tuple) of
|
9230
|
-
(connection, read) timeouts.
|
9231
|
-
:return: tuple(SessiondescribeResponse, status_code(int), headers(HTTPHeaderDict))
|
9232
|
-
If the method is called asynchronously,
|
9233
|
-
returns the request thread.
|
9234
|
-
"""
|
9235
|
-
|
9236
|
-
local_var_params = locals()
|
9237
|
-
|
9238
|
-
all_params = [
|
9239
|
-
'session_id'
|
9240
|
-
]
|
9241
|
-
all_params.extend(
|
9242
|
-
[
|
9243
|
-
'async_req',
|
9244
|
-
'_return_http_data_only',
|
9245
|
-
'_preload_content',
|
9246
|
-
'_request_timeout'
|
9247
|
-
]
|
9248
|
-
)
|
9249
|
-
|
9250
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
9251
|
-
if key not in all_params:
|
9252
|
-
raise ApiTypeError(
|
9253
|
-
"Got an unexpected keyword argument '%s'"
|
9254
|
-
" to method describe_session_api_v2_sessions_session_id_describe_get" % key
|
9255
|
-
)
|
9256
|
-
local_var_params[key] = val
|
9257
|
-
del local_var_params['kwargs']
|
9258
|
-
# verify the required parameter 'session_id' is set
|
9259
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
9260
|
-
local_var_params['session_id'] is None): # noqa: E501
|
9261
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `describe_session_api_v2_sessions_session_id_describe_get`") # noqa: E501
|
9262
|
-
|
9263
|
-
collection_formats = {}
|
9264
|
-
|
9265
|
-
path_params = {}
|
9266
|
-
if 'session_id' in local_var_params:
|
9267
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
9268
|
-
|
9269
|
-
query_params = []
|
9270
|
-
|
9271
|
-
header_params = {}
|
9272
|
-
|
9273
|
-
form_params = []
|
9274
|
-
local_var_files = {}
|
9275
|
-
|
9276
|
-
body_params = None
|
9277
|
-
# HTTP header `Accept`
|
9278
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
9279
|
-
['application/json']) # noqa: E501
|
9280
|
-
|
9281
|
-
# Authentication setting
|
9282
|
-
auth_settings = [] # noqa: E501
|
9283
|
-
|
9284
|
-
return self.api_client.call_api(
|
9285
|
-
'/api/v2/sessions/{session_id}/describe', 'GET',
|
9286
|
-
path_params,
|
9287
|
-
query_params,
|
9288
|
-
header_params,
|
9289
|
-
body=body_params,
|
9290
|
-
post_params=form_params,
|
9291
|
-
files=local_var_files,
|
9292
|
-
response_type='SessiondescribeResponse', # noqa: E501
|
9293
|
-
auth_settings=auth_settings,
|
9294
|
-
async_req=local_var_params.get('async_req'),
|
9295
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
9296
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
9297
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
9298
|
-
collection_formats=collection_formats)
|
9299
|
-
|
9300
8599
|
def describe_system_workload_api_v2_system_workload_cloud_id_describe_post(self, cloud_id, workload_name, **kwargs): # noqa: E501
|
9301
8600
|
"""Describe System Workload # noqa: E501
|
9302
8601
|
|
@@ -12926,6 +12225,118 @@ class DefaultApi(object):
|
|
12926
12225
|
_request_timeout=local_var_params.get('_request_timeout'),
|
12927
12226
|
collection_formats=collection_formats)
|
12928
12227
|
|
12228
|
+
def get_cloud_deployments_api_v2_clouds_cloud_id_deployments_get(self, cloud_id, **kwargs): # noqa: E501
|
12229
|
+
"""Get Cloud Deployments # noqa: E501
|
12230
|
+
|
12231
|
+
This method makes a synchronous HTTP request by default. To make an
|
12232
|
+
asynchronous HTTP request, please pass async_req=True
|
12233
|
+
>>> thread = api.get_cloud_deployments_api_v2_clouds_cloud_id_deployments_get(cloud_id, async_req=True)
|
12234
|
+
>>> result = thread.get()
|
12235
|
+
|
12236
|
+
:param async_req bool: execute request asynchronously
|
12237
|
+
:param str cloud_id: (required)
|
12238
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
12239
|
+
be returned without reading/decoding response
|
12240
|
+
data. Default is True.
|
12241
|
+
:param _request_timeout: timeout setting for this request. If one
|
12242
|
+
number provided, it will be total request
|
12243
|
+
timeout. It can also be a pair (tuple) of
|
12244
|
+
(connection, read) timeouts.
|
12245
|
+
:return: ClouddeploymentListResponse
|
12246
|
+
If the method is called asynchronously,
|
12247
|
+
returns the request thread.
|
12248
|
+
"""
|
12249
|
+
kwargs['_return_http_data_only'] = True
|
12250
|
+
return self.get_cloud_deployments_api_v2_clouds_cloud_id_deployments_get_with_http_info(cloud_id, **kwargs) # noqa: E501
|
12251
|
+
|
12252
|
+
def get_cloud_deployments_api_v2_clouds_cloud_id_deployments_get_with_http_info(self, cloud_id, **kwargs): # noqa: E501
|
12253
|
+
"""Get Cloud Deployments # noqa: E501
|
12254
|
+
|
12255
|
+
This method makes a synchronous HTTP request by default. To make an
|
12256
|
+
asynchronous HTTP request, please pass async_req=True
|
12257
|
+
>>> thread = api.get_cloud_deployments_api_v2_clouds_cloud_id_deployments_get_with_http_info(cloud_id, async_req=True)
|
12258
|
+
>>> result = thread.get()
|
12259
|
+
|
12260
|
+
:param async_req bool: execute request asynchronously
|
12261
|
+
:param str cloud_id: (required)
|
12262
|
+
:param _return_http_data_only: response data without head status code
|
12263
|
+
and headers
|
12264
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
12265
|
+
be returned without reading/decoding response
|
12266
|
+
data. Default is True.
|
12267
|
+
:param _request_timeout: timeout setting for this request. If one
|
12268
|
+
number provided, it will be total request
|
12269
|
+
timeout. It can also be a pair (tuple) of
|
12270
|
+
(connection, read) timeouts.
|
12271
|
+
:return: tuple(ClouddeploymentListResponse, status_code(int), headers(HTTPHeaderDict))
|
12272
|
+
If the method is called asynchronously,
|
12273
|
+
returns the request thread.
|
12274
|
+
"""
|
12275
|
+
|
12276
|
+
local_var_params = locals()
|
12277
|
+
|
12278
|
+
all_params = [
|
12279
|
+
'cloud_id'
|
12280
|
+
]
|
12281
|
+
all_params.extend(
|
12282
|
+
[
|
12283
|
+
'async_req',
|
12284
|
+
'_return_http_data_only',
|
12285
|
+
'_preload_content',
|
12286
|
+
'_request_timeout'
|
12287
|
+
]
|
12288
|
+
)
|
12289
|
+
|
12290
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
12291
|
+
if key not in all_params:
|
12292
|
+
raise ApiTypeError(
|
12293
|
+
"Got an unexpected keyword argument '%s'"
|
12294
|
+
" to method get_cloud_deployments_api_v2_clouds_cloud_id_deployments_get" % key
|
12295
|
+
)
|
12296
|
+
local_var_params[key] = val
|
12297
|
+
del local_var_params['kwargs']
|
12298
|
+
# verify the required parameter 'cloud_id' is set
|
12299
|
+
if self.api_client.client_side_validation and ('cloud_id' not in local_var_params or # noqa: E501
|
12300
|
+
local_var_params['cloud_id'] is None): # noqa: E501
|
12301
|
+
raise ApiValueError("Missing the required parameter `cloud_id` when calling `get_cloud_deployments_api_v2_clouds_cloud_id_deployments_get`") # noqa: E501
|
12302
|
+
|
12303
|
+
collection_formats = {}
|
12304
|
+
|
12305
|
+
path_params = {}
|
12306
|
+
if 'cloud_id' in local_var_params:
|
12307
|
+
path_params['cloud_id'] = local_var_params['cloud_id'] # noqa: E501
|
12308
|
+
|
12309
|
+
query_params = []
|
12310
|
+
|
12311
|
+
header_params = {}
|
12312
|
+
|
12313
|
+
form_params = []
|
12314
|
+
local_var_files = {}
|
12315
|
+
|
12316
|
+
body_params = None
|
12317
|
+
# HTTP header `Accept`
|
12318
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
12319
|
+
['application/json']) # noqa: E501
|
12320
|
+
|
12321
|
+
# Authentication setting
|
12322
|
+
auth_settings = [] # noqa: E501
|
12323
|
+
|
12324
|
+
return self.api_client.call_api(
|
12325
|
+
'/api/v2/clouds/{cloud_id}/deployments', 'GET',
|
12326
|
+
path_params,
|
12327
|
+
query_params,
|
12328
|
+
header_params,
|
12329
|
+
body=body_params,
|
12330
|
+
post_params=form_params,
|
12331
|
+
files=local_var_files,
|
12332
|
+
response_type='ClouddeploymentListResponse', # noqa: E501
|
12333
|
+
auth_settings=auth_settings,
|
12334
|
+
async_req=local_var_params.get('async_req'),
|
12335
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
12336
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
12337
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
12338
|
+
collection_formats=collection_formats)
|
12339
|
+
|
12929
12340
|
def get_cloud_overview_dashboard_api_v2_clouds_cloud_id_cloud_overview_dashboard_get(self, cloud_id, **kwargs): # noqa: E501
|
12930
12341
|
"""Get Cloud Overview Dashboard # noqa: E501
|
12931
12342
|
|
@@ -15877,258 +15288,6 @@ class DefaultApi(object):
|
|
15877
15288
|
_request_timeout=local_var_params.get('_request_timeout'),
|
15878
15289
|
collection_formats=collection_formats)
|
15879
15290
|
|
15880
|
-
def get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get(self, session_command_id, start_line, end_line, **kwargs): # noqa: E501
|
15881
|
-
"""Get Execution Logs # noqa: E501
|
15882
|
-
|
15883
|
-
This method makes a synchronous HTTP request by default. To make an
|
15884
|
-
asynchronous HTTP request, please pass async_req=True
|
15885
|
-
>>> thread = api.get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get(session_command_id, start_line, end_line, async_req=True)
|
15886
|
-
>>> result = thread.get()
|
15887
|
-
|
15888
|
-
:param async_req bool: execute request asynchronously
|
15889
|
-
:param str session_command_id: (required)
|
15890
|
-
:param int start_line: (required)
|
15891
|
-
:param int end_line: (required)
|
15892
|
-
:param str extension:
|
15893
|
-
:param datetime start_time:
|
15894
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15895
|
-
be returned without reading/decoding response
|
15896
|
-
data. Default is True.
|
15897
|
-
:param _request_timeout: timeout setting for this request. If one
|
15898
|
-
number provided, it will be total request
|
15899
|
-
timeout. It can also be a pair (tuple) of
|
15900
|
-
(connection, read) timeouts.
|
15901
|
-
:return: LogsoutputResponse
|
15902
|
-
If the method is called asynchronously,
|
15903
|
-
returns the request thread.
|
15904
|
-
"""
|
15905
|
-
kwargs['_return_http_data_only'] = True
|
15906
|
-
return self.get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get_with_http_info(session_command_id, start_line, end_line, **kwargs) # noqa: E501
|
15907
|
-
|
15908
|
-
def get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get_with_http_info(self, session_command_id, start_line, end_line, **kwargs): # noqa: E501
|
15909
|
-
"""Get Execution Logs # noqa: E501
|
15910
|
-
|
15911
|
-
This method makes a synchronous HTTP request by default. To make an
|
15912
|
-
asynchronous HTTP request, please pass async_req=True
|
15913
|
-
>>> thread = api.get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get_with_http_info(session_command_id, start_line, end_line, async_req=True)
|
15914
|
-
>>> result = thread.get()
|
15915
|
-
|
15916
|
-
:param async_req bool: execute request asynchronously
|
15917
|
-
:param str session_command_id: (required)
|
15918
|
-
:param int start_line: (required)
|
15919
|
-
:param int end_line: (required)
|
15920
|
-
:param str extension:
|
15921
|
-
:param datetime start_time:
|
15922
|
-
:param _return_http_data_only: response data without head status code
|
15923
|
-
and headers
|
15924
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15925
|
-
be returned without reading/decoding response
|
15926
|
-
data. Default is True.
|
15927
|
-
:param _request_timeout: timeout setting for this request. If one
|
15928
|
-
number provided, it will be total request
|
15929
|
-
timeout. It can also be a pair (tuple) of
|
15930
|
-
(connection, read) timeouts.
|
15931
|
-
:return: tuple(LogsoutputResponse, status_code(int), headers(HTTPHeaderDict))
|
15932
|
-
If the method is called asynchronously,
|
15933
|
-
returns the request thread.
|
15934
|
-
"""
|
15935
|
-
|
15936
|
-
local_var_params = locals()
|
15937
|
-
|
15938
|
-
all_params = [
|
15939
|
-
'session_command_id',
|
15940
|
-
'start_line',
|
15941
|
-
'end_line',
|
15942
|
-
'extension',
|
15943
|
-
'start_time'
|
15944
|
-
]
|
15945
|
-
all_params.extend(
|
15946
|
-
[
|
15947
|
-
'async_req',
|
15948
|
-
'_return_http_data_only',
|
15949
|
-
'_preload_content',
|
15950
|
-
'_request_timeout'
|
15951
|
-
]
|
15952
|
-
)
|
15953
|
-
|
15954
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
15955
|
-
if key not in all_params:
|
15956
|
-
raise ApiTypeError(
|
15957
|
-
"Got an unexpected keyword argument '%s'"
|
15958
|
-
" to method get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get" % key
|
15959
|
-
)
|
15960
|
-
local_var_params[key] = val
|
15961
|
-
del local_var_params['kwargs']
|
15962
|
-
# verify the required parameter 'session_command_id' is set
|
15963
|
-
if self.api_client.client_side_validation and ('session_command_id' not in local_var_params or # noqa: E501
|
15964
|
-
local_var_params['session_command_id'] is None): # noqa: E501
|
15965
|
-
raise ApiValueError("Missing the required parameter `session_command_id` when calling `get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get`") # noqa: E501
|
15966
|
-
# verify the required parameter 'start_line' is set
|
15967
|
-
if self.api_client.client_side_validation and ('start_line' not in local_var_params or # noqa: E501
|
15968
|
-
local_var_params['start_line'] is None): # noqa: E501
|
15969
|
-
raise ApiValueError("Missing the required parameter `start_line` when calling `get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get`") # noqa: E501
|
15970
|
-
# verify the required parameter 'end_line' is set
|
15971
|
-
if self.api_client.client_side_validation and ('end_line' not in local_var_params or # noqa: E501
|
15972
|
-
local_var_params['end_line'] is None): # noqa: E501
|
15973
|
-
raise ApiValueError("Missing the required parameter `end_line` when calling `get_execution_logs_api_v2_session_commands_session_command_id_execution_logs_get`") # noqa: E501
|
15974
|
-
|
15975
|
-
collection_formats = {}
|
15976
|
-
|
15977
|
-
path_params = {}
|
15978
|
-
if 'session_command_id' in local_var_params:
|
15979
|
-
path_params['session_command_id'] = local_var_params['session_command_id'] # noqa: E501
|
15980
|
-
|
15981
|
-
query_params = []
|
15982
|
-
if 'start_line' in local_var_params and local_var_params['start_line'] is not None: # noqa: E501
|
15983
|
-
query_params.append(('start_line', local_var_params['start_line'])) # noqa: E501
|
15984
|
-
if 'end_line' in local_var_params and local_var_params['end_line'] is not None: # noqa: E501
|
15985
|
-
query_params.append(('end_line', local_var_params['end_line'])) # noqa: E501
|
15986
|
-
if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
|
15987
|
-
query_params.append(('extension', local_var_params['extension'])) # noqa: E501
|
15988
|
-
if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
|
15989
|
-
query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
|
15990
|
-
|
15991
|
-
header_params = {}
|
15992
|
-
|
15993
|
-
form_params = []
|
15994
|
-
local_var_files = {}
|
15995
|
-
|
15996
|
-
body_params = None
|
15997
|
-
# HTTP header `Accept`
|
15998
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
15999
|
-
['application/json']) # noqa: E501
|
16000
|
-
|
16001
|
-
# Authentication setting
|
16002
|
-
auth_settings = [] # noqa: E501
|
16003
|
-
|
16004
|
-
return self.api_client.call_api(
|
16005
|
-
'/api/v2/session_commands/{session_command_id}/execution_logs', 'GET',
|
16006
|
-
path_params,
|
16007
|
-
query_params,
|
16008
|
-
header_params,
|
16009
|
-
body=body_params,
|
16010
|
-
post_params=form_params,
|
16011
|
-
files=local_var_files,
|
16012
|
-
response_type='LogsoutputResponse', # noqa: E501
|
16013
|
-
auth_settings=auth_settings,
|
16014
|
-
async_req=local_var_params.get('async_req'),
|
16015
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
16016
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
16017
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
16018
|
-
collection_formats=collection_formats)
|
16019
|
-
|
16020
|
-
def get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get(self, session_command_id, **kwargs): # noqa: E501
|
16021
|
-
"""Get Execution Logs Archived # noqa: E501
|
16022
|
-
|
16023
|
-
This method makes a synchronous HTTP request by default. To make an
|
16024
|
-
asynchronous HTTP request, please pass async_req=True
|
16025
|
-
>>> thread = api.get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get(session_command_id, async_req=True)
|
16026
|
-
>>> result = thread.get()
|
16027
|
-
|
16028
|
-
:param async_req bool: execute request asynchronously
|
16029
|
-
:param str session_command_id: (required)
|
16030
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
16031
|
-
be returned without reading/decoding response
|
16032
|
-
data. Default is True.
|
16033
|
-
:param _request_timeout: timeout setting for this request. If one
|
16034
|
-
number provided, it will be total request
|
16035
|
-
timeout. It can also be a pair (tuple) of
|
16036
|
-
(connection, read) timeouts.
|
16037
|
-
:return: ArchivedlogsinfoResponse
|
16038
|
-
If the method is called asynchronously,
|
16039
|
-
returns the request thread.
|
16040
|
-
"""
|
16041
|
-
kwargs['_return_http_data_only'] = True
|
16042
|
-
return self.get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get_with_http_info(session_command_id, **kwargs) # noqa: E501
|
16043
|
-
|
16044
|
-
def get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get_with_http_info(self, session_command_id, **kwargs): # noqa: E501
|
16045
|
-
"""Get Execution Logs Archived # noqa: E501
|
16046
|
-
|
16047
|
-
This method makes a synchronous HTTP request by default. To make an
|
16048
|
-
asynchronous HTTP request, please pass async_req=True
|
16049
|
-
>>> thread = api.get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get_with_http_info(session_command_id, async_req=True)
|
16050
|
-
>>> result = thread.get()
|
16051
|
-
|
16052
|
-
:param async_req bool: execute request asynchronously
|
16053
|
-
:param str session_command_id: (required)
|
16054
|
-
:param _return_http_data_only: response data without head status code
|
16055
|
-
and headers
|
16056
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
16057
|
-
be returned without reading/decoding response
|
16058
|
-
data. Default is True.
|
16059
|
-
:param _request_timeout: timeout setting for this request. If one
|
16060
|
-
number provided, it will be total request
|
16061
|
-
timeout. It can also be a pair (tuple) of
|
16062
|
-
(connection, read) timeouts.
|
16063
|
-
:return: tuple(ArchivedlogsinfoResponse, status_code(int), headers(HTTPHeaderDict))
|
16064
|
-
If the method is called asynchronously,
|
16065
|
-
returns the request thread.
|
16066
|
-
"""
|
16067
|
-
|
16068
|
-
local_var_params = locals()
|
16069
|
-
|
16070
|
-
all_params = [
|
16071
|
-
'session_command_id'
|
16072
|
-
]
|
16073
|
-
all_params.extend(
|
16074
|
-
[
|
16075
|
-
'async_req',
|
16076
|
-
'_return_http_data_only',
|
16077
|
-
'_preload_content',
|
16078
|
-
'_request_timeout'
|
16079
|
-
]
|
16080
|
-
)
|
16081
|
-
|
16082
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
16083
|
-
if key not in all_params:
|
16084
|
-
raise ApiTypeError(
|
16085
|
-
"Got an unexpected keyword argument '%s'"
|
16086
|
-
" to method get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get" % key
|
16087
|
-
)
|
16088
|
-
local_var_params[key] = val
|
16089
|
-
del local_var_params['kwargs']
|
16090
|
-
# verify the required parameter 'session_command_id' is set
|
16091
|
-
if self.api_client.client_side_validation and ('session_command_id' not in local_var_params or # noqa: E501
|
16092
|
-
local_var_params['session_command_id'] is None): # noqa: E501
|
16093
|
-
raise ApiValueError("Missing the required parameter `session_command_id` when calling `get_execution_logs_archived_api_v2_session_commands_session_command_id_execution_logs_archived_get`") # noqa: E501
|
16094
|
-
|
16095
|
-
collection_formats = {}
|
16096
|
-
|
16097
|
-
path_params = {}
|
16098
|
-
if 'session_command_id' in local_var_params:
|
16099
|
-
path_params['session_command_id'] = local_var_params['session_command_id'] # noqa: E501
|
16100
|
-
|
16101
|
-
query_params = []
|
16102
|
-
|
16103
|
-
header_params = {}
|
16104
|
-
|
16105
|
-
form_params = []
|
16106
|
-
local_var_files = {}
|
16107
|
-
|
16108
|
-
body_params = None
|
16109
|
-
# HTTP header `Accept`
|
16110
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
16111
|
-
['application/json']) # noqa: E501
|
16112
|
-
|
16113
|
-
# Authentication setting
|
16114
|
-
auth_settings = [] # noqa: E501
|
16115
|
-
|
16116
|
-
return self.api_client.call_api(
|
16117
|
-
'/api/v2/session_commands/{session_command_id}/execution_logs_archived', 'GET',
|
16118
|
-
path_params,
|
16119
|
-
query_params,
|
16120
|
-
header_params,
|
16121
|
-
body=body_params,
|
16122
|
-
post_params=form_params,
|
16123
|
-
files=local_var_files,
|
16124
|
-
response_type='ArchivedlogsinfoResponse', # noqa: E501
|
16125
|
-
auth_settings=auth_settings,
|
16126
|
-
async_req=local_var_params.get('async_req'),
|
16127
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
16128
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
16129
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
16130
|
-
collection_formats=collection_formats)
|
16131
|
-
|
16132
15291
|
def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
|
16133
15292
|
"""Get Instance Usage Budget # noqa: E501
|
16134
15293
|
|
@@ -18231,235 +17390,6 @@ class DefaultApi(object):
|
|
18231
17390
|
_request_timeout=local_var_params.get('_request_timeout'),
|
18232
17391
|
collection_formats=collection_formats)
|
18233
17392
|
|
18234
|
-
def get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get(self, session_id, **kwargs): # noqa: E501
|
18235
|
-
"""Get Monitor Logs Archived # noqa: E501
|
18236
|
-
|
18237
|
-
This method makes a synchronous HTTP request by default. To make an
|
18238
|
-
asynchronous HTTP request, please pass async_req=True
|
18239
|
-
>>> thread = api.get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get(session_id, async_req=True)
|
18240
|
-
>>> result = thread.get()
|
18241
|
-
|
18242
|
-
:param async_req bool: execute request asynchronously
|
18243
|
-
:param str session_id: (required)
|
18244
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
18245
|
-
be returned without reading/decoding response
|
18246
|
-
data. Default is True.
|
18247
|
-
:param _request_timeout: timeout setting for this request. If one
|
18248
|
-
number provided, it will be total request
|
18249
|
-
timeout. It can also be a pair (tuple) of
|
18250
|
-
(connection, read) timeouts.
|
18251
|
-
:return: ArchivedlogsinfoResponse
|
18252
|
-
If the method is called asynchronously,
|
18253
|
-
returns the request thread.
|
18254
|
-
"""
|
18255
|
-
kwargs['_return_http_data_only'] = True
|
18256
|
-
return self.get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get_with_http_info(session_id, **kwargs) # noqa: E501
|
18257
|
-
|
18258
|
-
def get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
18259
|
-
"""Get Monitor Logs Archived # noqa: E501
|
18260
|
-
|
18261
|
-
This method makes a synchronous HTTP request by default. To make an
|
18262
|
-
asynchronous HTTP request, please pass async_req=True
|
18263
|
-
>>> thread = api.get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get_with_http_info(session_id, async_req=True)
|
18264
|
-
>>> result = thread.get()
|
18265
|
-
|
18266
|
-
:param async_req bool: execute request asynchronously
|
18267
|
-
:param str session_id: (required)
|
18268
|
-
:param _return_http_data_only: response data without head status code
|
18269
|
-
and headers
|
18270
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
18271
|
-
be returned without reading/decoding response
|
18272
|
-
data. Default is True.
|
18273
|
-
:param _request_timeout: timeout setting for this request. If one
|
18274
|
-
number provided, it will be total request
|
18275
|
-
timeout. It can also be a pair (tuple) of
|
18276
|
-
(connection, read) timeouts.
|
18277
|
-
:return: tuple(ArchivedlogsinfoResponse, status_code(int), headers(HTTPHeaderDict))
|
18278
|
-
If the method is called asynchronously,
|
18279
|
-
returns the request thread.
|
18280
|
-
"""
|
18281
|
-
|
18282
|
-
local_var_params = locals()
|
18283
|
-
|
18284
|
-
all_params = [
|
18285
|
-
'session_id'
|
18286
|
-
]
|
18287
|
-
all_params.extend(
|
18288
|
-
[
|
18289
|
-
'async_req',
|
18290
|
-
'_return_http_data_only',
|
18291
|
-
'_preload_content',
|
18292
|
-
'_request_timeout'
|
18293
|
-
]
|
18294
|
-
)
|
18295
|
-
|
18296
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
18297
|
-
if key not in all_params:
|
18298
|
-
raise ApiTypeError(
|
18299
|
-
"Got an unexpected keyword argument '%s'"
|
18300
|
-
" to method get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get" % key
|
18301
|
-
)
|
18302
|
-
local_var_params[key] = val
|
18303
|
-
del local_var_params['kwargs']
|
18304
|
-
# verify the required parameter 'session_id' is set
|
18305
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
18306
|
-
local_var_params['session_id'] is None): # noqa: E501
|
18307
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_monitor_logs_archived_api_v2_sessions_session_id_monitor_logs_archived_get`") # noqa: E501
|
18308
|
-
|
18309
|
-
collection_formats = {}
|
18310
|
-
|
18311
|
-
path_params = {}
|
18312
|
-
if 'session_id' in local_var_params:
|
18313
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
18314
|
-
|
18315
|
-
query_params = []
|
18316
|
-
|
18317
|
-
header_params = {}
|
18318
|
-
|
18319
|
-
form_params = []
|
18320
|
-
local_var_files = {}
|
18321
|
-
|
18322
|
-
body_params = None
|
18323
|
-
# HTTP header `Accept`
|
18324
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
18325
|
-
['application/json']) # noqa: E501
|
18326
|
-
|
18327
|
-
# Authentication setting
|
18328
|
-
auth_settings = [] # noqa: E501
|
18329
|
-
|
18330
|
-
return self.api_client.call_api(
|
18331
|
-
'/api/v2/sessions/{session_id}/monitor_logs_archived', 'GET',
|
18332
|
-
path_params,
|
18333
|
-
query_params,
|
18334
|
-
header_params,
|
18335
|
-
body=body_params,
|
18336
|
-
post_params=form_params,
|
18337
|
-
files=local_var_files,
|
18338
|
-
response_type='ArchivedlogsinfoResponse', # noqa: E501
|
18339
|
-
auth_settings=auth_settings,
|
18340
|
-
async_req=local_var_params.get('async_req'),
|
18341
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
18342
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
18343
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
18344
|
-
collection_formats=collection_formats)
|
18345
|
-
|
18346
|
-
def get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get(self, session_id, **kwargs): # noqa: E501
|
18347
|
-
"""Get Monitor Logs Download # noqa: E501
|
18348
|
-
|
18349
|
-
This method makes a synchronous HTTP request by default. To make an
|
18350
|
-
asynchronous HTTP request, please pass async_req=True
|
18351
|
-
>>> thread = api.get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get(session_id, async_req=True)
|
18352
|
-
>>> result = thread.get()
|
18353
|
-
|
18354
|
-
:param async_req bool: execute request asynchronously
|
18355
|
-
:param str session_id: (required)
|
18356
|
-
:param MonitorLogsExtension extension: Extension of monitor logs to return. Defaults to .log, which is for autoscaler status
|
18357
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
18358
|
-
be returned without reading/decoding response
|
18359
|
-
data. Default is True.
|
18360
|
-
:param _request_timeout: timeout setting for this request. If one
|
18361
|
-
number provided, it will be total request
|
18362
|
-
timeout. It can also be a pair (tuple) of
|
18363
|
-
(connection, read) timeouts.
|
18364
|
-
:return: LogdownloadresultResponse
|
18365
|
-
If the method is called asynchronously,
|
18366
|
-
returns the request thread.
|
18367
|
-
"""
|
18368
|
-
kwargs['_return_http_data_only'] = True
|
18369
|
-
return self.get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get_with_http_info(session_id, **kwargs) # noqa: E501
|
18370
|
-
|
18371
|
-
def get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
18372
|
-
"""Get Monitor Logs Download # noqa: E501
|
18373
|
-
|
18374
|
-
This method makes a synchronous HTTP request by default. To make an
|
18375
|
-
asynchronous HTTP request, please pass async_req=True
|
18376
|
-
>>> thread = api.get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get_with_http_info(session_id, async_req=True)
|
18377
|
-
>>> result = thread.get()
|
18378
|
-
|
18379
|
-
:param async_req bool: execute request asynchronously
|
18380
|
-
:param str session_id: (required)
|
18381
|
-
:param MonitorLogsExtension extension: Extension of monitor logs to return. Defaults to .log, which is for autoscaler status
|
18382
|
-
:param _return_http_data_only: response data without head status code
|
18383
|
-
and headers
|
18384
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
18385
|
-
be returned without reading/decoding response
|
18386
|
-
data. Default is True.
|
18387
|
-
:param _request_timeout: timeout setting for this request. If one
|
18388
|
-
number provided, it will be total request
|
18389
|
-
timeout. It can also be a pair (tuple) of
|
18390
|
-
(connection, read) timeouts.
|
18391
|
-
:return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
|
18392
|
-
If the method is called asynchronously,
|
18393
|
-
returns the request thread.
|
18394
|
-
"""
|
18395
|
-
|
18396
|
-
local_var_params = locals()
|
18397
|
-
|
18398
|
-
all_params = [
|
18399
|
-
'session_id',
|
18400
|
-
'extension'
|
18401
|
-
]
|
18402
|
-
all_params.extend(
|
18403
|
-
[
|
18404
|
-
'async_req',
|
18405
|
-
'_return_http_data_only',
|
18406
|
-
'_preload_content',
|
18407
|
-
'_request_timeout'
|
18408
|
-
]
|
18409
|
-
)
|
18410
|
-
|
18411
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
18412
|
-
if key not in all_params:
|
18413
|
-
raise ApiTypeError(
|
18414
|
-
"Got an unexpected keyword argument '%s'"
|
18415
|
-
" to method get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get" % key
|
18416
|
-
)
|
18417
|
-
local_var_params[key] = val
|
18418
|
-
del local_var_params['kwargs']
|
18419
|
-
# verify the required parameter 'session_id' is set
|
18420
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
18421
|
-
local_var_params['session_id'] is None): # noqa: E501
|
18422
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get`") # noqa: E501
|
18423
|
-
|
18424
|
-
collection_formats = {}
|
18425
|
-
|
18426
|
-
path_params = {}
|
18427
|
-
if 'session_id' in local_var_params:
|
18428
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
18429
|
-
|
18430
|
-
query_params = []
|
18431
|
-
if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
|
18432
|
-
query_params.append(('extension', local_var_params['extension'])) # noqa: E501
|
18433
|
-
|
18434
|
-
header_params = {}
|
18435
|
-
|
18436
|
-
form_params = []
|
18437
|
-
local_var_files = {}
|
18438
|
-
|
18439
|
-
body_params = None
|
18440
|
-
# HTTP header `Accept`
|
18441
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
18442
|
-
['application/json']) # noqa: E501
|
18443
|
-
|
18444
|
-
# Authentication setting
|
18445
|
-
auth_settings = [] # noqa: E501
|
18446
|
-
|
18447
|
-
return self.api_client.call_api(
|
18448
|
-
'/api/v2/logs/monitor_logs_download/{session_id}', 'GET',
|
18449
|
-
path_params,
|
18450
|
-
query_params,
|
18451
|
-
header_params,
|
18452
|
-
body=body_params,
|
18453
|
-
post_params=form_params,
|
18454
|
-
files=local_var_files,
|
18455
|
-
response_type='LogdownloadresultResponse', # noqa: E501
|
18456
|
-
auth_settings=auth_settings,
|
18457
|
-
async_req=local_var_params.get('async_req'),
|
18458
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
18459
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
18460
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
18461
|
-
collection_formats=collection_formats)
|
18462
|
-
|
18463
17393
|
def get_operator_metrics_api_v2_dataset_runs_operator_get(self, cluster_id, session_name, dataset_id, operator_id, dataset_start_time, dataset_end_time, **kwargs): # noqa: E501
|
18464
17394
|
"""Get Operator Metrics # noqa: E501
|
18465
17395
|
|
@@ -18722,120 +17652,6 @@ class DefaultApi(object):
|
|
18722
17652
|
_request_timeout=local_var_params.get('_request_timeout'),
|
18723
17653
|
collection_formats=collection_formats)
|
18724
17654
|
|
18725
|
-
def get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get(self, session_id, **kwargs): # noqa: E501
|
18726
|
-
"""Get Ping External Services # noqa: E501
|
18727
|
-
|
18728
|
-
Ping external session services to see if SSL negotiations have completed. SSL errors will throw URLErrors and will not have a status code. Using this endpoint is preferred over directly pinging these services on the web client because CORS is restricted. # noqa: E501
|
18729
|
-
This method makes a synchronous HTTP request by default. To make an
|
18730
|
-
asynchronous HTTP request, please pass async_req=True
|
18731
|
-
>>> thread = api.get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get(session_id, async_req=True)
|
18732
|
-
>>> result = thread.get()
|
18733
|
-
|
18734
|
-
:param async_req bool: execute request asynchronously
|
18735
|
-
:param str session_id: (required)
|
18736
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
18737
|
-
be returned without reading/decoding response
|
18738
|
-
data. Default is True.
|
18739
|
-
:param _request_timeout: timeout setting for this request. If one
|
18740
|
-
number provided, it will be total request
|
18741
|
-
timeout. It can also be a pair (tuple) of
|
18742
|
-
(connection, read) timeouts.
|
18743
|
-
:return: ExternalservicestatusresponseResponse
|
18744
|
-
If the method is called asynchronously,
|
18745
|
-
returns the request thread.
|
18746
|
-
"""
|
18747
|
-
kwargs['_return_http_data_only'] = True
|
18748
|
-
return self.get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get_with_http_info(session_id, **kwargs) # noqa: E501
|
18749
|
-
|
18750
|
-
def get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
18751
|
-
"""Get Ping External Services # noqa: E501
|
18752
|
-
|
18753
|
-
Ping external session services to see if SSL negotiations have completed. SSL errors will throw URLErrors and will not have a status code. Using this endpoint is preferred over directly pinging these services on the web client because CORS is restricted. # noqa: E501
|
18754
|
-
This method makes a synchronous HTTP request by default. To make an
|
18755
|
-
asynchronous HTTP request, please pass async_req=True
|
18756
|
-
>>> thread = api.get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get_with_http_info(session_id, async_req=True)
|
18757
|
-
>>> result = thread.get()
|
18758
|
-
|
18759
|
-
:param async_req bool: execute request asynchronously
|
18760
|
-
:param str session_id: (required)
|
18761
|
-
:param _return_http_data_only: response data without head status code
|
18762
|
-
and headers
|
18763
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
18764
|
-
be returned without reading/decoding response
|
18765
|
-
data. Default is True.
|
18766
|
-
:param _request_timeout: timeout setting for this request. If one
|
18767
|
-
number provided, it will be total request
|
18768
|
-
timeout. It can also be a pair (tuple) of
|
18769
|
-
(connection, read) timeouts.
|
18770
|
-
:return: tuple(ExternalservicestatusresponseResponse, status_code(int), headers(HTTPHeaderDict))
|
18771
|
-
If the method is called asynchronously,
|
18772
|
-
returns the request thread.
|
18773
|
-
"""
|
18774
|
-
|
18775
|
-
local_var_params = locals()
|
18776
|
-
|
18777
|
-
all_params = [
|
18778
|
-
'session_id'
|
18779
|
-
]
|
18780
|
-
all_params.extend(
|
18781
|
-
[
|
18782
|
-
'async_req',
|
18783
|
-
'_return_http_data_only',
|
18784
|
-
'_preload_content',
|
18785
|
-
'_request_timeout'
|
18786
|
-
]
|
18787
|
-
)
|
18788
|
-
|
18789
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
18790
|
-
if key not in all_params:
|
18791
|
-
raise ApiTypeError(
|
18792
|
-
"Got an unexpected keyword argument '%s'"
|
18793
|
-
" to method get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get" % key
|
18794
|
-
)
|
18795
|
-
local_var_params[key] = val
|
18796
|
-
del local_var_params['kwargs']
|
18797
|
-
# verify the required parameter 'session_id' is set
|
18798
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
18799
|
-
local_var_params['session_id'] is None): # noqa: E501
|
18800
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_ping_external_services_api_v2_sessions_session_id_ping_external_services_get`") # noqa: E501
|
18801
|
-
|
18802
|
-
collection_formats = {}
|
18803
|
-
|
18804
|
-
path_params = {}
|
18805
|
-
if 'session_id' in local_var_params:
|
18806
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
18807
|
-
|
18808
|
-
query_params = []
|
18809
|
-
|
18810
|
-
header_params = {}
|
18811
|
-
|
18812
|
-
form_params = []
|
18813
|
-
local_var_files = {}
|
18814
|
-
|
18815
|
-
body_params = None
|
18816
|
-
# HTTP header `Accept`
|
18817
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
18818
|
-
['application/json']) # noqa: E501
|
18819
|
-
|
18820
|
-
# Authentication setting
|
18821
|
-
auth_settings = [] # noqa: E501
|
18822
|
-
|
18823
|
-
return self.api_client.call_api(
|
18824
|
-
'/api/v2/sessions/{session_id}/ping_external_services', 'GET',
|
18825
|
-
path_params,
|
18826
|
-
query_params,
|
18827
|
-
header_params,
|
18828
|
-
body=body_params,
|
18829
|
-
post_params=form_params,
|
18830
|
-
files=local_var_files,
|
18831
|
-
response_type='ExternalservicestatusresponseResponse', # noqa: E501
|
18832
|
-
auth_settings=auth_settings,
|
18833
|
-
async_req=local_var_params.get('async_req'),
|
18834
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
18835
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
18836
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
18837
|
-
collection_formats=collection_formats)
|
18838
|
-
|
18839
17655
|
def get_project_api_v2_projects_project_id_get(self, project_id, **kwargs): # noqa: E501
|
18840
17656
|
"""Get Project # noqa: E501
|
18841
17657
|
|
@@ -21177,118 +19993,6 @@ class DefaultApi(object):
|
|
21177
19993
|
_request_timeout=local_var_params.get('_request_timeout'),
|
21178
19994
|
collection_formats=collection_formats)
|
21179
19995
|
|
21180
|
-
def get_session_details_api_v2_sessions_session_id_details_get(self, session_id, **kwargs): # noqa: E501
|
21181
|
-
"""Get Session Details # noqa: E501
|
21182
|
-
|
21183
|
-
This method makes a synchronous HTTP request by default. To make an
|
21184
|
-
asynchronous HTTP request, please pass async_req=True
|
21185
|
-
>>> thread = api.get_session_details_api_v2_sessions_session_id_details_get(session_id, async_req=True)
|
21186
|
-
>>> result = thread.get()
|
21187
|
-
|
21188
|
-
:param async_req bool: execute request asynchronously
|
21189
|
-
:param str session_id: (required)
|
21190
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
21191
|
-
be returned without reading/decoding response
|
21192
|
-
data. Default is True.
|
21193
|
-
:param _request_timeout: timeout setting for this request. If one
|
21194
|
-
number provided, it will be total request
|
21195
|
-
timeout. It can also be a pair (tuple) of
|
21196
|
-
(connection, read) timeouts.
|
21197
|
-
:return: SessiondetailsResponse
|
21198
|
-
If the method is called asynchronously,
|
21199
|
-
returns the request thread.
|
21200
|
-
"""
|
21201
|
-
kwargs['_return_http_data_only'] = True
|
21202
|
-
return self.get_session_details_api_v2_sessions_session_id_details_get_with_http_info(session_id, **kwargs) # noqa: E501
|
21203
|
-
|
21204
|
-
def get_session_details_api_v2_sessions_session_id_details_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
21205
|
-
"""Get Session Details # noqa: E501
|
21206
|
-
|
21207
|
-
This method makes a synchronous HTTP request by default. To make an
|
21208
|
-
asynchronous HTTP request, please pass async_req=True
|
21209
|
-
>>> thread = api.get_session_details_api_v2_sessions_session_id_details_get_with_http_info(session_id, async_req=True)
|
21210
|
-
>>> result = thread.get()
|
21211
|
-
|
21212
|
-
:param async_req bool: execute request asynchronously
|
21213
|
-
:param str session_id: (required)
|
21214
|
-
:param _return_http_data_only: response data without head status code
|
21215
|
-
and headers
|
21216
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
21217
|
-
be returned without reading/decoding response
|
21218
|
-
data. Default is True.
|
21219
|
-
:param _request_timeout: timeout setting for this request. If one
|
21220
|
-
number provided, it will be total request
|
21221
|
-
timeout. It can also be a pair (tuple) of
|
21222
|
-
(connection, read) timeouts.
|
21223
|
-
:return: tuple(SessiondetailsResponse, status_code(int), headers(HTTPHeaderDict))
|
21224
|
-
If the method is called asynchronously,
|
21225
|
-
returns the request thread.
|
21226
|
-
"""
|
21227
|
-
|
21228
|
-
local_var_params = locals()
|
21229
|
-
|
21230
|
-
all_params = [
|
21231
|
-
'session_id'
|
21232
|
-
]
|
21233
|
-
all_params.extend(
|
21234
|
-
[
|
21235
|
-
'async_req',
|
21236
|
-
'_return_http_data_only',
|
21237
|
-
'_preload_content',
|
21238
|
-
'_request_timeout'
|
21239
|
-
]
|
21240
|
-
)
|
21241
|
-
|
21242
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
21243
|
-
if key not in all_params:
|
21244
|
-
raise ApiTypeError(
|
21245
|
-
"Got an unexpected keyword argument '%s'"
|
21246
|
-
" to method get_session_details_api_v2_sessions_session_id_details_get" % key
|
21247
|
-
)
|
21248
|
-
local_var_params[key] = val
|
21249
|
-
del local_var_params['kwargs']
|
21250
|
-
# verify the required parameter 'session_id' is set
|
21251
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
21252
|
-
local_var_params['session_id'] is None): # noqa: E501
|
21253
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_details_api_v2_sessions_session_id_details_get`") # noqa: E501
|
21254
|
-
|
21255
|
-
collection_formats = {}
|
21256
|
-
|
21257
|
-
path_params = {}
|
21258
|
-
if 'session_id' in local_var_params:
|
21259
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
21260
|
-
|
21261
|
-
query_params = []
|
21262
|
-
|
21263
|
-
header_params = {}
|
21264
|
-
|
21265
|
-
form_params = []
|
21266
|
-
local_var_files = {}
|
21267
|
-
|
21268
|
-
body_params = None
|
21269
|
-
# HTTP header `Accept`
|
21270
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
21271
|
-
['application/json']) # noqa: E501
|
21272
|
-
|
21273
|
-
# Authentication setting
|
21274
|
-
auth_settings = [] # noqa: E501
|
21275
|
-
|
21276
|
-
return self.api_client.call_api(
|
21277
|
-
'/api/v2/sessions/{session_id}/details', 'GET',
|
21278
|
-
path_params,
|
21279
|
-
query_params,
|
21280
|
-
header_params,
|
21281
|
-
body=body_params,
|
21282
|
-
post_params=form_params,
|
21283
|
-
files=local_var_files,
|
21284
|
-
response_type='SessiondetailsResponse', # noqa: E501
|
21285
|
-
auth_settings=auth_settings,
|
21286
|
-
async_req=local_var_params.get('async_req'),
|
21287
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
21288
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
21289
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
21290
|
-
collection_formats=collection_formats)
|
21291
|
-
|
21292
19996
|
def get_session_head_ip_api_v2_sessions_session_id_head_ip_get(self, session_id, **kwargs): # noqa: E501
|
21293
19997
|
"""Get Session Head Ip # noqa: E501
|
21294
19998
|
|
@@ -21403,134 +20107,6 @@ class DefaultApi(object):
|
|
21403
20107
|
_request_timeout=local_var_params.get('_request_timeout'),
|
21404
20108
|
collection_formats=collection_formats)
|
21405
20109
|
|
21406
|
-
def get_session_history_api_v2_sessions_session_id_history_get(self, session_id, **kwargs): # noqa: E501
|
21407
|
-
"""Get Session History # noqa: E501
|
21408
|
-
|
21409
|
-
Describe all actions applied to a particular session. # noqa: E501
|
21410
|
-
This method makes a synchronous HTTP request by default. To make an
|
21411
|
-
asynchronous HTTP request, please pass async_req=True
|
21412
|
-
>>> thread = api.get_session_history_api_v2_sessions_session_id_history_get(session_id, async_req=True)
|
21413
|
-
>>> result = thread.get()
|
21414
|
-
|
21415
|
-
:param async_req bool: execute request asynchronously
|
21416
|
-
:param str session_id: (required)
|
21417
|
-
:param str paging_token:
|
21418
|
-
:param int count:
|
21419
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
21420
|
-
be returned without reading/decoding response
|
21421
|
-
data. Default is True.
|
21422
|
-
:param _request_timeout: timeout setting for this request. If one
|
21423
|
-
number provided, it will be total request
|
21424
|
-
timeout. It can also be a pair (tuple) of
|
21425
|
-
(connection, read) timeouts.
|
21426
|
-
:return: SessionhistoryitemListResponse
|
21427
|
-
If the method is called asynchronously,
|
21428
|
-
returns the request thread.
|
21429
|
-
"""
|
21430
|
-
kwargs['_return_http_data_only'] = True
|
21431
|
-
return self.get_session_history_api_v2_sessions_session_id_history_get_with_http_info(session_id, **kwargs) # noqa: E501
|
21432
|
-
|
21433
|
-
def get_session_history_api_v2_sessions_session_id_history_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
21434
|
-
"""Get Session History # noqa: E501
|
21435
|
-
|
21436
|
-
Describe all actions applied to a particular session. # noqa: E501
|
21437
|
-
This method makes a synchronous HTTP request by default. To make an
|
21438
|
-
asynchronous HTTP request, please pass async_req=True
|
21439
|
-
>>> thread = api.get_session_history_api_v2_sessions_session_id_history_get_with_http_info(session_id, async_req=True)
|
21440
|
-
>>> result = thread.get()
|
21441
|
-
|
21442
|
-
:param async_req bool: execute request asynchronously
|
21443
|
-
:param str session_id: (required)
|
21444
|
-
:param str paging_token:
|
21445
|
-
:param int count:
|
21446
|
-
:param _return_http_data_only: response data without head status code
|
21447
|
-
and headers
|
21448
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
21449
|
-
be returned without reading/decoding response
|
21450
|
-
data. Default is True.
|
21451
|
-
:param _request_timeout: timeout setting for this request. If one
|
21452
|
-
number provided, it will be total request
|
21453
|
-
timeout. It can also be a pair (tuple) of
|
21454
|
-
(connection, read) timeouts.
|
21455
|
-
:return: tuple(SessionhistoryitemListResponse, status_code(int), headers(HTTPHeaderDict))
|
21456
|
-
If the method is called asynchronously,
|
21457
|
-
returns the request thread.
|
21458
|
-
"""
|
21459
|
-
|
21460
|
-
local_var_params = locals()
|
21461
|
-
|
21462
|
-
all_params = [
|
21463
|
-
'session_id',
|
21464
|
-
'paging_token',
|
21465
|
-
'count'
|
21466
|
-
]
|
21467
|
-
all_params.extend(
|
21468
|
-
[
|
21469
|
-
'async_req',
|
21470
|
-
'_return_http_data_only',
|
21471
|
-
'_preload_content',
|
21472
|
-
'_request_timeout'
|
21473
|
-
]
|
21474
|
-
)
|
21475
|
-
|
21476
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
21477
|
-
if key not in all_params:
|
21478
|
-
raise ApiTypeError(
|
21479
|
-
"Got an unexpected keyword argument '%s'"
|
21480
|
-
" to method get_session_history_api_v2_sessions_session_id_history_get" % key
|
21481
|
-
)
|
21482
|
-
local_var_params[key] = val
|
21483
|
-
del local_var_params['kwargs']
|
21484
|
-
# verify the required parameter 'session_id' is set
|
21485
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
21486
|
-
local_var_params['session_id'] is None): # noqa: E501
|
21487
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_history_api_v2_sessions_session_id_history_get`") # noqa: E501
|
21488
|
-
|
21489
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
21490
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `get_session_history_api_v2_sessions_session_id_history_get`, must be a value less than or equal to `50`") # noqa: E501
|
21491
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
21492
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `get_session_history_api_v2_sessions_session_id_history_get`, must be a value greater than or equal to `0`") # noqa: E501
|
21493
|
-
collection_formats = {}
|
21494
|
-
|
21495
|
-
path_params = {}
|
21496
|
-
if 'session_id' in local_var_params:
|
21497
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
21498
|
-
|
21499
|
-
query_params = []
|
21500
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
21501
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
21502
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
21503
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
21504
|
-
|
21505
|
-
header_params = {}
|
21506
|
-
|
21507
|
-
form_params = []
|
21508
|
-
local_var_files = {}
|
21509
|
-
|
21510
|
-
body_params = None
|
21511
|
-
# HTTP header `Accept`
|
21512
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
21513
|
-
['application/json']) # noqa: E501
|
21514
|
-
|
21515
|
-
# Authentication setting
|
21516
|
-
auth_settings = [] # noqa: E501
|
21517
|
-
|
21518
|
-
return self.api_client.call_api(
|
21519
|
-
'/api/v2/sessions/{session_id}/history', 'GET',
|
21520
|
-
path_params,
|
21521
|
-
query_params,
|
21522
|
-
header_params,
|
21523
|
-
body=body_params,
|
21524
|
-
post_params=form_params,
|
21525
|
-
files=local_var_files,
|
21526
|
-
response_type='SessionhistoryitemListResponse', # noqa: E501
|
21527
|
-
auth_settings=auth_settings,
|
21528
|
-
async_req=local_var_params.get('async_req'),
|
21529
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
21530
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
21531
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
21532
|
-
collection_formats=collection_formats)
|
21533
|
-
|
21534
20110
|
def get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get(self, session_id, **kwargs): # noqa: E501
|
21535
20111
|
"""Get Session Ssh Key # noqa: E501
|
21536
20112
|
|
@@ -21785,118 +20361,6 @@ class DefaultApi(object):
|
|
21785
20361
|
_request_timeout=local_var_params.get('_request_timeout'),
|
21786
20362
|
collection_formats=collection_formats)
|
21787
20363
|
|
21788
|
-
def get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get(self, session_id, **kwargs): # noqa: E501
|
21789
|
-
"""Get Startup Logs Archived # noqa: E501
|
21790
|
-
|
21791
|
-
This method makes a synchronous HTTP request by default. To make an
|
21792
|
-
asynchronous HTTP request, please pass async_req=True
|
21793
|
-
>>> thread = api.get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get(session_id, async_req=True)
|
21794
|
-
>>> result = thread.get()
|
21795
|
-
|
21796
|
-
:param async_req bool: execute request asynchronously
|
21797
|
-
:param str session_id: (required)
|
21798
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
21799
|
-
be returned without reading/decoding response
|
21800
|
-
data. Default is True.
|
21801
|
-
:param _request_timeout: timeout setting for this request. If one
|
21802
|
-
number provided, it will be total request
|
21803
|
-
timeout. It can also be a pair (tuple) of
|
21804
|
-
(connection, read) timeouts.
|
21805
|
-
:return: ArchivedlogsinfoResponse
|
21806
|
-
If the method is called asynchronously,
|
21807
|
-
returns the request thread.
|
21808
|
-
"""
|
21809
|
-
kwargs['_return_http_data_only'] = True
|
21810
|
-
return self.get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get_with_http_info(session_id, **kwargs) # noqa: E501
|
21811
|
-
|
21812
|
-
def get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
21813
|
-
"""Get Startup Logs Archived # noqa: E501
|
21814
|
-
|
21815
|
-
This method makes a synchronous HTTP request by default. To make an
|
21816
|
-
asynchronous HTTP request, please pass async_req=True
|
21817
|
-
>>> thread = api.get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get_with_http_info(session_id, async_req=True)
|
21818
|
-
>>> result = thread.get()
|
21819
|
-
|
21820
|
-
:param async_req bool: execute request asynchronously
|
21821
|
-
:param str session_id: (required)
|
21822
|
-
:param _return_http_data_only: response data without head status code
|
21823
|
-
and headers
|
21824
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
21825
|
-
be returned without reading/decoding response
|
21826
|
-
data. Default is True.
|
21827
|
-
:param _request_timeout: timeout setting for this request. If one
|
21828
|
-
number provided, it will be total request
|
21829
|
-
timeout. It can also be a pair (tuple) of
|
21830
|
-
(connection, read) timeouts.
|
21831
|
-
:return: tuple(ArchivedlogsinfoResponse, status_code(int), headers(HTTPHeaderDict))
|
21832
|
-
If the method is called asynchronously,
|
21833
|
-
returns the request thread.
|
21834
|
-
"""
|
21835
|
-
|
21836
|
-
local_var_params = locals()
|
21837
|
-
|
21838
|
-
all_params = [
|
21839
|
-
'session_id'
|
21840
|
-
]
|
21841
|
-
all_params.extend(
|
21842
|
-
[
|
21843
|
-
'async_req',
|
21844
|
-
'_return_http_data_only',
|
21845
|
-
'_preload_content',
|
21846
|
-
'_request_timeout'
|
21847
|
-
]
|
21848
|
-
)
|
21849
|
-
|
21850
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
21851
|
-
if key not in all_params:
|
21852
|
-
raise ApiTypeError(
|
21853
|
-
"Got an unexpected keyword argument '%s'"
|
21854
|
-
" to method get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get" % key
|
21855
|
-
)
|
21856
|
-
local_var_params[key] = val
|
21857
|
-
del local_var_params['kwargs']
|
21858
|
-
# verify the required parameter 'session_id' is set
|
21859
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
21860
|
-
local_var_params['session_id'] is None): # noqa: E501
|
21861
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get`") # noqa: E501
|
21862
|
-
|
21863
|
-
collection_formats = {}
|
21864
|
-
|
21865
|
-
path_params = {}
|
21866
|
-
if 'session_id' in local_var_params:
|
21867
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
21868
|
-
|
21869
|
-
query_params = []
|
21870
|
-
|
21871
|
-
header_params = {}
|
21872
|
-
|
21873
|
-
form_params = []
|
21874
|
-
local_var_files = {}
|
21875
|
-
|
21876
|
-
body_params = None
|
21877
|
-
# HTTP header `Accept`
|
21878
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
21879
|
-
['application/json']) # noqa: E501
|
21880
|
-
|
21881
|
-
# Authentication setting
|
21882
|
-
auth_settings = [] # noqa: E501
|
21883
|
-
|
21884
|
-
return self.api_client.call_api(
|
21885
|
-
'/api/v2/sessions/{session_id}/startup_logs_archived', 'GET',
|
21886
|
-
path_params,
|
21887
|
-
query_params,
|
21888
|
-
header_params,
|
21889
|
-
body=body_params,
|
21890
|
-
post_params=form_params,
|
21891
|
-
files=local_var_files,
|
21892
|
-
response_type='ArchivedlogsinfoResponse', # noqa: E501
|
21893
|
-
auth_settings=auth_settings,
|
21894
|
-
async_req=local_var_params.get('async_req'),
|
21895
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
21896
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
21897
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
21898
|
-
collection_formats=collection_formats)
|
21899
|
-
|
21900
20364
|
def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(self, cluster_id, **kwargs): # noqa: E501
|
21901
20365
|
"""Get Task Exception Aggregates # noqa: E501
|
21902
20366
|
|
@@ -22490,7 +20954,7 @@ class DefaultApi(object):
|
|
22490
20954
|
number provided, it will be total request
|
22491
20955
|
timeout. It can also be a pair (tuple) of
|
22492
20956
|
(connection, read) timeouts.
|
22493
|
-
:return:
|
20957
|
+
:return: WorkspacetemplatereadmeResponse
|
22494
20958
|
If the method is called asynchronously,
|
22495
20959
|
returns the request thread.
|
22496
20960
|
"""
|
@@ -22517,7 +20981,7 @@ class DefaultApi(object):
|
|
22517
20981
|
number provided, it will be total request
|
22518
20982
|
timeout. It can also be a pair (tuple) of
|
22519
20983
|
(connection, read) timeouts.
|
22520
|
-
:return: tuple(
|
20984
|
+
:return: tuple(WorkspacetemplatereadmeResponse, status_code(int), headers(HTTPHeaderDict))
|
22521
20985
|
If the method is called asynchronously,
|
22522
20986
|
returns the request thread.
|
22523
20987
|
"""
|
@@ -22578,7 +21042,7 @@ class DefaultApi(object):
|
|
22578
21042
|
body=body_params,
|
22579
21043
|
post_params=form_params,
|
22580
21044
|
files=local_var_files,
|
22581
|
-
response_type='
|
21045
|
+
response_type='WorkspacetemplatereadmeResponse', # noqa: E501
|
22582
21046
|
auth_settings=auth_settings,
|
22583
21047
|
async_req=local_var_params.get('async_req'),
|
22584
21048
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -24820,118 +23284,6 @@ class DefaultApi(object):
|
|
24820
23284
|
_request_timeout=local_var_params.get('_request_timeout'),
|
24821
23285
|
collection_formats=collection_formats)
|
24822
23286
|
|
24823
|
-
def kill_session_command_api_v2_session_commands_session_command_id_kill_post(self, session_command_id, **kwargs): # noqa: E501
|
24824
|
-
"""Kill Session Command # noqa: E501
|
24825
|
-
|
24826
|
-
This method makes a synchronous HTTP request by default. To make an
|
24827
|
-
asynchronous HTTP request, please pass async_req=True
|
24828
|
-
>>> thread = api.kill_session_command_api_v2_session_commands_session_command_id_kill_post(session_command_id, async_req=True)
|
24829
|
-
>>> result = thread.get()
|
24830
|
-
|
24831
|
-
:param async_req bool: execute request asynchronously
|
24832
|
-
:param str session_command_id: (required)
|
24833
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
24834
|
-
be returned without reading/decoding response
|
24835
|
-
data. Default is True.
|
24836
|
-
:param _request_timeout: timeout setting for this request. If one
|
24837
|
-
number provided, it will be total request
|
24838
|
-
timeout. It can also be a pair (tuple) of
|
24839
|
-
(connection, read) timeouts.
|
24840
|
-
:return: None
|
24841
|
-
If the method is called asynchronously,
|
24842
|
-
returns the request thread.
|
24843
|
-
"""
|
24844
|
-
kwargs['_return_http_data_only'] = True
|
24845
|
-
return self.kill_session_command_api_v2_session_commands_session_command_id_kill_post_with_http_info(session_command_id, **kwargs) # noqa: E501
|
24846
|
-
|
24847
|
-
def kill_session_command_api_v2_session_commands_session_command_id_kill_post_with_http_info(self, session_command_id, **kwargs): # noqa: E501
|
24848
|
-
"""Kill Session Command # noqa: E501
|
24849
|
-
|
24850
|
-
This method makes a synchronous HTTP request by default. To make an
|
24851
|
-
asynchronous HTTP request, please pass async_req=True
|
24852
|
-
>>> thread = api.kill_session_command_api_v2_session_commands_session_command_id_kill_post_with_http_info(session_command_id, async_req=True)
|
24853
|
-
>>> result = thread.get()
|
24854
|
-
|
24855
|
-
:param async_req bool: execute request asynchronously
|
24856
|
-
:param str session_command_id: (required)
|
24857
|
-
:param _return_http_data_only: response data without head status code
|
24858
|
-
and headers
|
24859
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
24860
|
-
be returned without reading/decoding response
|
24861
|
-
data. Default is True.
|
24862
|
-
:param _request_timeout: timeout setting for this request. If one
|
24863
|
-
number provided, it will be total request
|
24864
|
-
timeout. It can also be a pair (tuple) of
|
24865
|
-
(connection, read) timeouts.
|
24866
|
-
:return: None
|
24867
|
-
If the method is called asynchronously,
|
24868
|
-
returns the request thread.
|
24869
|
-
"""
|
24870
|
-
|
24871
|
-
local_var_params = locals()
|
24872
|
-
|
24873
|
-
all_params = [
|
24874
|
-
'session_command_id'
|
24875
|
-
]
|
24876
|
-
all_params.extend(
|
24877
|
-
[
|
24878
|
-
'async_req',
|
24879
|
-
'_return_http_data_only',
|
24880
|
-
'_preload_content',
|
24881
|
-
'_request_timeout'
|
24882
|
-
]
|
24883
|
-
)
|
24884
|
-
|
24885
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
24886
|
-
if key not in all_params:
|
24887
|
-
raise ApiTypeError(
|
24888
|
-
"Got an unexpected keyword argument '%s'"
|
24889
|
-
" to method kill_session_command_api_v2_session_commands_session_command_id_kill_post" % key
|
24890
|
-
)
|
24891
|
-
local_var_params[key] = val
|
24892
|
-
del local_var_params['kwargs']
|
24893
|
-
# verify the required parameter 'session_command_id' is set
|
24894
|
-
if self.api_client.client_side_validation and ('session_command_id' not in local_var_params or # noqa: E501
|
24895
|
-
local_var_params['session_command_id'] is None): # noqa: E501
|
24896
|
-
raise ApiValueError("Missing the required parameter `session_command_id` when calling `kill_session_command_api_v2_session_commands_session_command_id_kill_post`") # noqa: E501
|
24897
|
-
|
24898
|
-
collection_formats = {}
|
24899
|
-
|
24900
|
-
path_params = {}
|
24901
|
-
if 'session_command_id' in local_var_params:
|
24902
|
-
path_params['session_command_id'] = local_var_params['session_command_id'] # noqa: E501
|
24903
|
-
|
24904
|
-
query_params = []
|
24905
|
-
|
24906
|
-
header_params = {}
|
24907
|
-
|
24908
|
-
form_params = []
|
24909
|
-
local_var_files = {}
|
24910
|
-
|
24911
|
-
body_params = None
|
24912
|
-
# HTTP header `Accept`
|
24913
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
24914
|
-
['application/json']) # noqa: E501
|
24915
|
-
|
24916
|
-
# Authentication setting
|
24917
|
-
auth_settings = [] # noqa: E501
|
24918
|
-
|
24919
|
-
return self.api_client.call_api(
|
24920
|
-
'/api/v2/session_commands/{session_command_id}/kill', 'POST',
|
24921
|
-
path_params,
|
24922
|
-
query_params,
|
24923
|
-
header_params,
|
24924
|
-
body=body_params,
|
24925
|
-
post_params=form_params,
|
24926
|
-
files=local_var_files,
|
24927
|
-
response_type=None, # noqa: E501
|
24928
|
-
auth_settings=auth_settings,
|
24929
|
-
async_req=local_var_params.get('async_req'),
|
24930
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
24931
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
24932
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
24933
|
-
collection_formats=collection_formats)
|
24934
|
-
|
24935
23287
|
def list_application_templates_api_v2_application_templates_get(self, **kwargs): # noqa: E501
|
24936
23288
|
"""List Application Templates # noqa: E501
|
24937
23289
|
|
@@ -28841,120 +27193,6 @@ class DefaultApi(object):
|
|
28841
27193
|
_request_timeout=local_var_params.get('_request_timeout'),
|
28842
27194
|
collection_formats=collection_formats)
|
28843
27195
|
|
28844
|
-
def list_web_terminals_api_v2_sessions_session_id_web_terminals_get(self, session_id, **kwargs): # noqa: E501
|
28845
|
-
"""List Web Terminals # noqa: E501
|
28846
|
-
|
28847
|
-
DEPRECATED: This API is no deprecated and will not be supported in Anyscale 2.0 # noqa: E501
|
28848
|
-
This method makes a synchronous HTTP request by default. To make an
|
28849
|
-
asynchronous HTTP request, please pass async_req=True
|
28850
|
-
>>> thread = api.list_web_terminals_api_v2_sessions_session_id_web_terminals_get(session_id, async_req=True)
|
28851
|
-
>>> result = thread.get()
|
28852
|
-
|
28853
|
-
:param async_req bool: execute request asynchronously
|
28854
|
-
:param str session_id: (required)
|
28855
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
28856
|
-
be returned without reading/decoding response
|
28857
|
-
data. Default is True.
|
28858
|
-
:param _request_timeout: timeout setting for this request. If one
|
28859
|
-
number provided, it will be total request
|
28860
|
-
timeout. It can also be a pair (tuple) of
|
28861
|
-
(connection, read) timeouts.
|
28862
|
-
:return: WebterminalListResponse
|
28863
|
-
If the method is called asynchronously,
|
28864
|
-
returns the request thread.
|
28865
|
-
"""
|
28866
|
-
kwargs['_return_http_data_only'] = True
|
28867
|
-
return self.list_web_terminals_api_v2_sessions_session_id_web_terminals_get_with_http_info(session_id, **kwargs) # noqa: E501
|
28868
|
-
|
28869
|
-
def list_web_terminals_api_v2_sessions_session_id_web_terminals_get_with_http_info(self, session_id, **kwargs): # noqa: E501
|
28870
|
-
"""List Web Terminals # noqa: E501
|
28871
|
-
|
28872
|
-
DEPRECATED: This API is no deprecated and will not be supported in Anyscale 2.0 # noqa: E501
|
28873
|
-
This method makes a synchronous HTTP request by default. To make an
|
28874
|
-
asynchronous HTTP request, please pass async_req=True
|
28875
|
-
>>> thread = api.list_web_terminals_api_v2_sessions_session_id_web_terminals_get_with_http_info(session_id, async_req=True)
|
28876
|
-
>>> result = thread.get()
|
28877
|
-
|
28878
|
-
:param async_req bool: execute request asynchronously
|
28879
|
-
:param str session_id: (required)
|
28880
|
-
:param _return_http_data_only: response data without head status code
|
28881
|
-
and headers
|
28882
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
28883
|
-
be returned without reading/decoding response
|
28884
|
-
data. Default is True.
|
28885
|
-
:param _request_timeout: timeout setting for this request. If one
|
28886
|
-
number provided, it will be total request
|
28887
|
-
timeout. It can also be a pair (tuple) of
|
28888
|
-
(connection, read) timeouts.
|
28889
|
-
:return: tuple(WebterminalListResponse, status_code(int), headers(HTTPHeaderDict))
|
28890
|
-
If the method is called asynchronously,
|
28891
|
-
returns the request thread.
|
28892
|
-
"""
|
28893
|
-
|
28894
|
-
local_var_params = locals()
|
28895
|
-
|
28896
|
-
all_params = [
|
28897
|
-
'session_id'
|
28898
|
-
]
|
28899
|
-
all_params.extend(
|
28900
|
-
[
|
28901
|
-
'async_req',
|
28902
|
-
'_return_http_data_only',
|
28903
|
-
'_preload_content',
|
28904
|
-
'_request_timeout'
|
28905
|
-
]
|
28906
|
-
)
|
28907
|
-
|
28908
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
28909
|
-
if key not in all_params:
|
28910
|
-
raise ApiTypeError(
|
28911
|
-
"Got an unexpected keyword argument '%s'"
|
28912
|
-
" to method list_web_terminals_api_v2_sessions_session_id_web_terminals_get" % key
|
28913
|
-
)
|
28914
|
-
local_var_params[key] = val
|
28915
|
-
del local_var_params['kwargs']
|
28916
|
-
# verify the required parameter 'session_id' is set
|
28917
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
28918
|
-
local_var_params['session_id'] is None): # noqa: E501
|
28919
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `list_web_terminals_api_v2_sessions_session_id_web_terminals_get`") # noqa: E501
|
28920
|
-
|
28921
|
-
collection_formats = {}
|
28922
|
-
|
28923
|
-
path_params = {}
|
28924
|
-
if 'session_id' in local_var_params:
|
28925
|
-
path_params['session_id'] = local_var_params['session_id'] # noqa: E501
|
28926
|
-
|
28927
|
-
query_params = []
|
28928
|
-
|
28929
|
-
header_params = {}
|
28930
|
-
|
28931
|
-
form_params = []
|
28932
|
-
local_var_files = {}
|
28933
|
-
|
28934
|
-
body_params = None
|
28935
|
-
# HTTP header `Accept`
|
28936
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
28937
|
-
['application/json']) # noqa: E501
|
28938
|
-
|
28939
|
-
# Authentication setting
|
28940
|
-
auth_settings = [] # noqa: E501
|
28941
|
-
|
28942
|
-
return self.api_client.call_api(
|
28943
|
-
'/api/v2/sessions/{session_id}/web_terminals', 'GET',
|
28944
|
-
path_params,
|
28945
|
-
query_params,
|
28946
|
-
header_params,
|
28947
|
-
body=body_params,
|
28948
|
-
post_params=form_params,
|
28949
|
-
files=local_var_files,
|
28950
|
-
response_type='WebterminalListResponse', # noqa: E501
|
28951
|
-
auth_settings=auth_settings,
|
28952
|
-
async_req=local_var_params.get('async_req'),
|
28953
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
28954
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
28955
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
28956
|
-
collection_formats=collection_formats)
|
28957
|
-
|
28958
27196
|
def list_workspace_templates_api_v2_experimental_workspaces_templates_get(self, **kwargs): # noqa: E501
|
28959
27197
|
"""List Workspace Templates # noqa: E501
|
28960
27198
|
|
@@ -36159,133 +34397,6 @@ class DefaultApi(object):
|
|
36159
34397
|
_request_timeout=local_var_params.get('_request_timeout'),
|
36160
34398
|
collection_formats=collection_formats)
|
36161
34399
|
|
36162
|
-
def update_compute_template_api_v2_compute_templates_compute_template_id_put(self, compute_template_id, update_compute_template, **kwargs): # noqa: E501
|
36163
|
-
"""Update Compute Template # noqa: E501
|
36164
|
-
|
36165
|
-
Updates a compute template. DEPRECATED: Compute templates will be immutable. Please create a new one instead of updating existing ones. # noqa: E501
|
36166
|
-
This method makes a synchronous HTTP request by default. To make an
|
36167
|
-
asynchronous HTTP request, please pass async_req=True
|
36168
|
-
>>> thread = api.update_compute_template_api_v2_compute_templates_compute_template_id_put(compute_template_id, update_compute_template, async_req=True)
|
36169
|
-
>>> result = thread.get()
|
36170
|
-
|
36171
|
-
:param async_req bool: execute request asynchronously
|
36172
|
-
:param str compute_template_id: (required)
|
36173
|
-
:param UpdateComputeTemplate update_compute_template: (required)
|
36174
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
36175
|
-
be returned without reading/decoding response
|
36176
|
-
data. Default is True.
|
36177
|
-
:param _request_timeout: timeout setting for this request. If one
|
36178
|
-
number provided, it will be total request
|
36179
|
-
timeout. It can also be a pair (tuple) of
|
36180
|
-
(connection, read) timeouts.
|
36181
|
-
:return: ComputetemplateResponse
|
36182
|
-
If the method is called asynchronously,
|
36183
|
-
returns the request thread.
|
36184
|
-
"""
|
36185
|
-
kwargs['_return_http_data_only'] = True
|
36186
|
-
return self.update_compute_template_api_v2_compute_templates_compute_template_id_put_with_http_info(compute_template_id, update_compute_template, **kwargs) # noqa: E501
|
36187
|
-
|
36188
|
-
def update_compute_template_api_v2_compute_templates_compute_template_id_put_with_http_info(self, compute_template_id, update_compute_template, **kwargs): # noqa: E501
|
36189
|
-
"""Update Compute Template # noqa: E501
|
36190
|
-
|
36191
|
-
Updates a compute template. DEPRECATED: Compute templates will be immutable. Please create a new one instead of updating existing ones. # noqa: E501
|
36192
|
-
This method makes a synchronous HTTP request by default. To make an
|
36193
|
-
asynchronous HTTP request, please pass async_req=True
|
36194
|
-
>>> thread = api.update_compute_template_api_v2_compute_templates_compute_template_id_put_with_http_info(compute_template_id, update_compute_template, async_req=True)
|
36195
|
-
>>> result = thread.get()
|
36196
|
-
|
36197
|
-
:param async_req bool: execute request asynchronously
|
36198
|
-
:param str compute_template_id: (required)
|
36199
|
-
:param UpdateComputeTemplate update_compute_template: (required)
|
36200
|
-
:param _return_http_data_only: response data without head status code
|
36201
|
-
and headers
|
36202
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
36203
|
-
be returned without reading/decoding response
|
36204
|
-
data. Default is True.
|
36205
|
-
:param _request_timeout: timeout setting for this request. If one
|
36206
|
-
number provided, it will be total request
|
36207
|
-
timeout. It can also be a pair (tuple) of
|
36208
|
-
(connection, read) timeouts.
|
36209
|
-
:return: tuple(ComputetemplateResponse, status_code(int), headers(HTTPHeaderDict))
|
36210
|
-
If the method is called asynchronously,
|
36211
|
-
returns the request thread.
|
36212
|
-
"""
|
36213
|
-
|
36214
|
-
local_var_params = locals()
|
36215
|
-
|
36216
|
-
all_params = [
|
36217
|
-
'compute_template_id',
|
36218
|
-
'update_compute_template'
|
36219
|
-
]
|
36220
|
-
all_params.extend(
|
36221
|
-
[
|
36222
|
-
'async_req',
|
36223
|
-
'_return_http_data_only',
|
36224
|
-
'_preload_content',
|
36225
|
-
'_request_timeout'
|
36226
|
-
]
|
36227
|
-
)
|
36228
|
-
|
36229
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
36230
|
-
if key not in all_params:
|
36231
|
-
raise ApiTypeError(
|
36232
|
-
"Got an unexpected keyword argument '%s'"
|
36233
|
-
" to method update_compute_template_api_v2_compute_templates_compute_template_id_put" % key
|
36234
|
-
)
|
36235
|
-
local_var_params[key] = val
|
36236
|
-
del local_var_params['kwargs']
|
36237
|
-
# verify the required parameter 'compute_template_id' is set
|
36238
|
-
if self.api_client.client_side_validation and ('compute_template_id' not in local_var_params or # noqa: E501
|
36239
|
-
local_var_params['compute_template_id'] is None): # noqa: E501
|
36240
|
-
raise ApiValueError("Missing the required parameter `compute_template_id` when calling `update_compute_template_api_v2_compute_templates_compute_template_id_put`") # noqa: E501
|
36241
|
-
# verify the required parameter 'update_compute_template' is set
|
36242
|
-
if self.api_client.client_side_validation and ('update_compute_template' not in local_var_params or # noqa: E501
|
36243
|
-
local_var_params['update_compute_template'] is None): # noqa: E501
|
36244
|
-
raise ApiValueError("Missing the required parameter `update_compute_template` when calling `update_compute_template_api_v2_compute_templates_compute_template_id_put`") # noqa: E501
|
36245
|
-
|
36246
|
-
collection_formats = {}
|
36247
|
-
|
36248
|
-
path_params = {}
|
36249
|
-
if 'compute_template_id' in local_var_params:
|
36250
|
-
path_params['compute_template_id'] = local_var_params['compute_template_id'] # noqa: E501
|
36251
|
-
|
36252
|
-
query_params = []
|
36253
|
-
|
36254
|
-
header_params = {}
|
36255
|
-
|
36256
|
-
form_params = []
|
36257
|
-
local_var_files = {}
|
36258
|
-
|
36259
|
-
body_params = None
|
36260
|
-
if 'update_compute_template' in local_var_params:
|
36261
|
-
body_params = local_var_params['update_compute_template']
|
36262
|
-
# HTTP header `Accept`
|
36263
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
36264
|
-
['application/json']) # noqa: E501
|
36265
|
-
|
36266
|
-
# HTTP header `Content-Type`
|
36267
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
36268
|
-
['application/json']) # noqa: E501
|
36269
|
-
|
36270
|
-
# Authentication setting
|
36271
|
-
auth_settings = [] # noqa: E501
|
36272
|
-
|
36273
|
-
return self.api_client.call_api(
|
36274
|
-
'/api/v2/compute_templates/{compute_template_id}', 'PUT',
|
36275
|
-
path_params,
|
36276
|
-
query_params,
|
36277
|
-
header_params,
|
36278
|
-
body=body_params,
|
36279
|
-
post_params=form_params,
|
36280
|
-
files=local_var_files,
|
36281
|
-
response_type='ComputetemplateResponse', # noqa: E501
|
36282
|
-
auth_settings=auth_settings,
|
36283
|
-
async_req=local_var_params.get('async_req'),
|
36284
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
36285
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
36286
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
36287
|
-
collection_formats=collection_formats)
|
36288
|
-
|
36289
34400
|
def update_customer_aggregated_logs_config_api_v2_clouds_cloud_id_update_customer_aggregated_logs_config_put(self, cloud_id, is_enabled, **kwargs): # noqa: E501
|
36290
34401
|
"""Update Customer Aggregated Logs Config # noqa: E501
|
36291
34402
|
|