anyscale 0.26.12__py3-none-any.whl → 0.26.14__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/__main__.py +0 -3
- anyscale/_private/docgen/api.md +0 -14
- anyscale/_private/docgen/models.md +2 -47
- anyscale/client/README.md +24 -7
- anyscale/client/openapi_client/__init__.py +18 -5
- anyscale/client/openapi_client/api/default_api.py +746 -282
- anyscale/client/openapi_client/models/__init__.py +18 -5
- anyscale/client/openapi_client/models/baseimagesenum.py +23 -4
- anyscale/client/openapi_client/models/dataset_dag.py +229 -0
- anyscale/client/openapi_client/models/dataset_dag_response.py +121 -0
- anyscale/client/openapi_client/models/{operator_metric_id.py → operator_branch.py} +26 -26
- anyscale/{sdk/anyscale_client/models/runtimeenvironment_response.py → client/openapi_client/models/operator_id.py} +24 -24
- anyscale/client/openapi_client/models/operator_metrics.py +3 -30
- anyscale/client/openapi_client/models/organization_marketing_questions.py +15 -41
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +14 -14
- anyscale/client/openapi_client/models/task_exception_group_aggregate.py +148 -0
- anyscale/client/openapi_client/models/task_function_name_group_aggregate.py +175 -0
- anyscale/client/openapi_client/models/task_grouped_aggregate_metrics.py +337 -0
- anyscale/client/openapi_client/models/task_job_group_aggregate.py +148 -0
- anyscale/client/openapi_client/models/task_state.py +103 -0
- anyscale/client/openapi_client/models/task_summary.py +256 -0
- anyscale/client/openapi_client/models/task_table_config.py +250 -0
- anyscale/client/openapi_client/models/task_table_response.py +174 -0
- anyscale/client/openapi_client/models/task_table_row.py +491 -0
- anyscale/client/openapi_client/models/{cluster_size.py → task_type.py} +7 -10
- anyscale/client/openapi_client/models/taskexceptiongroupaggregate_list_response.py +147 -0
- anyscale/client/openapi_client/models/taskfunctionnamegroupaggregate_list_response.py +147 -0
- anyscale/client/openapi_client/models/{decoratedruntimeenv_list_response.py → taskjobgroupaggregate_list_response.py} +15 -15
- anyscale/client/openapi_client/models/{decoratedruntimeenv_response.py → tasksummary_response.py} +11 -11
- anyscale/commands/command_examples.py +22 -0
- anyscale/sdk/anyscale_client/__init__.py +0 -3
- anyscale/sdk/anyscale_client/api/default_api.py +0 -232
- anyscale/sdk/anyscale_client/models/__init__.py +0 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +23 -4
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +14 -14
- anyscale/version.py +1 -1
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/METADATA +1 -1
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/RECORD +43 -33
- anyscale/client/openapi_client/models/decorated_runtime_env.py +0 -488
- anyscale/sdk/anyscale_client/models/create_session.py +0 -432
- anyscale/sdk/anyscale_client/models/runtime_environment.py +0 -406
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/LICENSE +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/NOTICE +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/WHEEL +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/top_level.txt +0 -0
@@ -14108,6 +14108,118 @@ class DefaultApi(object):
|
|
14108
14108
|
_request_timeout=local_var_params.get('_request_timeout'),
|
14109
14109
|
collection_formats=collection_formats)
|
14110
14110
|
|
14111
|
+
def get_dags_api_v2_dataset_runs_dags_get(self, cluster_id, **kwargs): # noqa: E501
|
14112
|
+
"""Get Dags # noqa: E501
|
14113
|
+
|
14114
|
+
This method makes a synchronous HTTP request by default. To make an
|
14115
|
+
asynchronous HTTP request, please pass async_req=True
|
14116
|
+
>>> thread = api.get_dags_api_v2_dataset_runs_dags_get(cluster_id, async_req=True)
|
14117
|
+
>>> result = thread.get()
|
14118
|
+
|
14119
|
+
:param async_req bool: execute request asynchronously
|
14120
|
+
:param str cluster_id: (required)
|
14121
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14122
|
+
be returned without reading/decoding response
|
14123
|
+
data. Default is True.
|
14124
|
+
:param _request_timeout: timeout setting for this request. If one
|
14125
|
+
number provided, it will be total request
|
14126
|
+
timeout. It can also be a pair (tuple) of
|
14127
|
+
(connection, read) timeouts.
|
14128
|
+
:return: DatasetDagResponse
|
14129
|
+
If the method is called asynchronously,
|
14130
|
+
returns the request thread.
|
14131
|
+
"""
|
14132
|
+
kwargs['_return_http_data_only'] = True
|
14133
|
+
return self.get_dags_api_v2_dataset_runs_dags_get_with_http_info(cluster_id, **kwargs) # noqa: E501
|
14134
|
+
|
14135
|
+
def get_dags_api_v2_dataset_runs_dags_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
|
14136
|
+
"""Get Dags # noqa: E501
|
14137
|
+
|
14138
|
+
This method makes a synchronous HTTP request by default. To make an
|
14139
|
+
asynchronous HTTP request, please pass async_req=True
|
14140
|
+
>>> thread = api.get_dags_api_v2_dataset_runs_dags_get_with_http_info(cluster_id, async_req=True)
|
14141
|
+
>>> result = thread.get()
|
14142
|
+
|
14143
|
+
:param async_req bool: execute request asynchronously
|
14144
|
+
:param str cluster_id: (required)
|
14145
|
+
:param _return_http_data_only: response data without head status code
|
14146
|
+
and headers
|
14147
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14148
|
+
be returned without reading/decoding response
|
14149
|
+
data. Default is True.
|
14150
|
+
:param _request_timeout: timeout setting for this request. If one
|
14151
|
+
number provided, it will be total request
|
14152
|
+
timeout. It can also be a pair (tuple) of
|
14153
|
+
(connection, read) timeouts.
|
14154
|
+
:return: tuple(DatasetDagResponse, status_code(int), headers(HTTPHeaderDict))
|
14155
|
+
If the method is called asynchronously,
|
14156
|
+
returns the request thread.
|
14157
|
+
"""
|
14158
|
+
|
14159
|
+
local_var_params = locals()
|
14160
|
+
|
14161
|
+
all_params = [
|
14162
|
+
'cluster_id'
|
14163
|
+
]
|
14164
|
+
all_params.extend(
|
14165
|
+
[
|
14166
|
+
'async_req',
|
14167
|
+
'_return_http_data_only',
|
14168
|
+
'_preload_content',
|
14169
|
+
'_request_timeout'
|
14170
|
+
]
|
14171
|
+
)
|
14172
|
+
|
14173
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
14174
|
+
if key not in all_params:
|
14175
|
+
raise ApiTypeError(
|
14176
|
+
"Got an unexpected keyword argument '%s'"
|
14177
|
+
" to method get_dags_api_v2_dataset_runs_dags_get" % key
|
14178
|
+
)
|
14179
|
+
local_var_params[key] = val
|
14180
|
+
del local_var_params['kwargs']
|
14181
|
+
# verify the required parameter 'cluster_id' is set
|
14182
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
14183
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
14184
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_dags_api_v2_dataset_runs_dags_get`") # noqa: E501
|
14185
|
+
|
14186
|
+
collection_formats = {}
|
14187
|
+
|
14188
|
+
path_params = {}
|
14189
|
+
|
14190
|
+
query_params = []
|
14191
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
14192
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
14193
|
+
|
14194
|
+
header_params = {}
|
14195
|
+
|
14196
|
+
form_params = []
|
14197
|
+
local_var_files = {}
|
14198
|
+
|
14199
|
+
body_params = None
|
14200
|
+
# HTTP header `Accept`
|
14201
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
14202
|
+
['application/json']) # noqa: E501
|
14203
|
+
|
14204
|
+
# Authentication setting
|
14205
|
+
auth_settings = [] # noqa: E501
|
14206
|
+
|
14207
|
+
return self.api_client.call_api(
|
14208
|
+
'/api/v2/dataset_runs/dags', 'GET',
|
14209
|
+
path_params,
|
14210
|
+
query_params,
|
14211
|
+
header_params,
|
14212
|
+
body=body_params,
|
14213
|
+
post_params=form_params,
|
14214
|
+
files=local_var_files,
|
14215
|
+
response_type='DatasetDagResponse', # noqa: E501
|
14216
|
+
auth_settings=auth_settings,
|
14217
|
+
async_req=local_var_params.get('async_req'),
|
14218
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
14219
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
14220
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
14221
|
+
collection_formats=collection_formats)
|
14222
|
+
|
14111
14223
|
def get_dashboard_api_v2_dataset_runs_get(self, cluster_id, **kwargs): # noqa: E501
|
14112
14224
|
"""Get Dashboard # noqa: E501
|
14113
14225
|
|
@@ -14924,120 +15036,6 @@ class DefaultApi(object):
|
|
14924
15036
|
_request_timeout=local_var_params.get('_request_timeout'),
|
14925
15037
|
collection_formats=collection_formats)
|
14926
15038
|
|
14927
|
-
def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(self, runtime_env_id, **kwargs): # noqa: E501
|
14928
|
-
"""Get Decorated Runtime Env # noqa: E501
|
14929
|
-
|
14930
|
-
Get a single Runtime Environment by id # noqa: E501
|
14931
|
-
This method makes a synchronous HTTP request by default. To make an
|
14932
|
-
asynchronous HTTP request, please pass async_req=True
|
14933
|
-
>>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(runtime_env_id, async_req=True)
|
14934
|
-
>>> result = thread.get()
|
14935
|
-
|
14936
|
-
:param async_req bool: execute request asynchronously
|
14937
|
-
:param str runtime_env_id: (required)
|
14938
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14939
|
-
be returned without reading/decoding response
|
14940
|
-
data. Default is True.
|
14941
|
-
:param _request_timeout: timeout setting for this request. If one
|
14942
|
-
number provided, it will be total request
|
14943
|
-
timeout. It can also be a pair (tuple) of
|
14944
|
-
(connection, read) timeouts.
|
14945
|
-
:return: DecoratedruntimeenvResponse
|
14946
|
-
If the method is called asynchronously,
|
14947
|
-
returns the request thread.
|
14948
|
-
"""
|
14949
|
-
kwargs['_return_http_data_only'] = True
|
14950
|
-
return self.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(runtime_env_id, **kwargs) # noqa: E501
|
14951
|
-
|
14952
|
-
def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(self, runtime_env_id, **kwargs): # noqa: E501
|
14953
|
-
"""Get Decorated Runtime Env # noqa: E501
|
14954
|
-
|
14955
|
-
Get a single Runtime Environment by id # noqa: E501
|
14956
|
-
This method makes a synchronous HTTP request by default. To make an
|
14957
|
-
asynchronous HTTP request, please pass async_req=True
|
14958
|
-
>>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(runtime_env_id, async_req=True)
|
14959
|
-
>>> result = thread.get()
|
14960
|
-
|
14961
|
-
:param async_req bool: execute request asynchronously
|
14962
|
-
:param str runtime_env_id: (required)
|
14963
|
-
:param _return_http_data_only: response data without head status code
|
14964
|
-
and headers
|
14965
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14966
|
-
be returned without reading/decoding response
|
14967
|
-
data. Default is True.
|
14968
|
-
:param _request_timeout: timeout setting for this request. If one
|
14969
|
-
number provided, it will be total request
|
14970
|
-
timeout. It can also be a pair (tuple) of
|
14971
|
-
(connection, read) timeouts.
|
14972
|
-
:return: tuple(DecoratedruntimeenvResponse, status_code(int), headers(HTTPHeaderDict))
|
14973
|
-
If the method is called asynchronously,
|
14974
|
-
returns the request thread.
|
14975
|
-
"""
|
14976
|
-
|
14977
|
-
local_var_params = locals()
|
14978
|
-
|
14979
|
-
all_params = [
|
14980
|
-
'runtime_env_id'
|
14981
|
-
]
|
14982
|
-
all_params.extend(
|
14983
|
-
[
|
14984
|
-
'async_req',
|
14985
|
-
'_return_http_data_only',
|
14986
|
-
'_preload_content',
|
14987
|
-
'_request_timeout'
|
14988
|
-
]
|
14989
|
-
)
|
14990
|
-
|
14991
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
14992
|
-
if key not in all_params:
|
14993
|
-
raise ApiTypeError(
|
14994
|
-
"Got an unexpected keyword argument '%s'"
|
14995
|
-
" to method get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get" % key
|
14996
|
-
)
|
14997
|
-
local_var_params[key] = val
|
14998
|
-
del local_var_params['kwargs']
|
14999
|
-
# verify the required parameter 'runtime_env_id' is set
|
15000
|
-
if self.api_client.client_side_validation and ('runtime_env_id' not in local_var_params or # noqa: E501
|
15001
|
-
local_var_params['runtime_env_id'] is None): # noqa: E501
|
15002
|
-
raise ApiValueError("Missing the required parameter `runtime_env_id` when calling `get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get`") # noqa: E501
|
15003
|
-
|
15004
|
-
collection_formats = {}
|
15005
|
-
|
15006
|
-
path_params = {}
|
15007
|
-
if 'runtime_env_id' in local_var_params:
|
15008
|
-
path_params['runtime_env_id'] = local_var_params['runtime_env_id'] # noqa: E501
|
15009
|
-
|
15010
|
-
query_params = []
|
15011
|
-
|
15012
|
-
header_params = {}
|
15013
|
-
|
15014
|
-
form_params = []
|
15015
|
-
local_var_files = {}
|
15016
|
-
|
15017
|
-
body_params = None
|
15018
|
-
# HTTP header `Accept`
|
15019
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
15020
|
-
['application/json']) # noqa: E501
|
15021
|
-
|
15022
|
-
# Authentication setting
|
15023
|
-
auth_settings = [] # noqa: E501
|
15024
|
-
|
15025
|
-
return self.api_client.call_api(
|
15026
|
-
'/api/v2/decorated_runtime_envs/{runtime_env_id}', 'GET',
|
15027
|
-
path_params,
|
15028
|
-
query_params,
|
15029
|
-
header_params,
|
15030
|
-
body=body_params,
|
15031
|
-
post_params=form_params,
|
15032
|
-
files=local_var_files,
|
15033
|
-
response_type='DecoratedruntimeenvResponse', # noqa: E501
|
15034
|
-
auth_settings=auth_settings,
|
15035
|
-
async_req=local_var_params.get('async_req'),
|
15036
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
15037
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
15038
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
15039
|
-
collection_formats=collection_formats)
|
15040
|
-
|
15041
15039
|
def get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get(self, serve_deloyment_id, **kwargs): # noqa: E501
|
15042
15040
|
"""Get Decorated Serve Deployment # noqa: E501
|
15043
15041
|
|
@@ -21866,17 +21864,16 @@ class DefaultApi(object):
|
|
21866
21864
|
_request_timeout=local_var_params.get('_request_timeout'),
|
21867
21865
|
collection_formats=collection_formats)
|
21868
21866
|
|
21869
|
-
def
|
21870
|
-
"""Get
|
21867
|
+
def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(self, cluster_id, **kwargs): # noqa: E501
|
21868
|
+
"""Get Task Exception Aggregates # noqa: E501
|
21871
21869
|
|
21872
|
-
Retrieves a template's README.md file. # noqa: E501
|
21873
21870
|
This method makes a synchronous HTTP request by default. To make an
|
21874
21871
|
asynchronous HTTP request, please pass async_req=True
|
21875
|
-
>>> thread = api.
|
21872
|
+
>>> thread = api.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(cluster_id, async_req=True)
|
21876
21873
|
>>> result = thread.get()
|
21877
21874
|
|
21878
21875
|
:param async_req bool: execute request asynchronously
|
21879
|
-
:param str
|
21876
|
+
:param str cluster_id: (required)
|
21880
21877
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
21881
21878
|
be returned without reading/decoding response
|
21882
21879
|
data. Default is True.
|
@@ -21884,24 +21881,23 @@ class DefaultApi(object):
|
|
21884
21881
|
number provided, it will be total request
|
21885
21882
|
timeout. It can also be a pair (tuple) of
|
21886
21883
|
(connection, read) timeouts.
|
21887
|
-
:return:
|
21884
|
+
:return: TaskexceptiongroupaggregateListResponse
|
21888
21885
|
If the method is called asynchronously,
|
21889
21886
|
returns the request thread.
|
21890
21887
|
"""
|
21891
21888
|
kwargs['_return_http_data_only'] = True
|
21892
|
-
return self.
|
21889
|
+
return self.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(cluster_id, **kwargs) # noqa: E501
|
21893
21890
|
|
21894
|
-
def
|
21895
|
-
"""Get
|
21891
|
+
def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
|
21892
|
+
"""Get Task Exception Aggregates # noqa: E501
|
21896
21893
|
|
21897
|
-
Retrieves a template's README.md file. # noqa: E501
|
21898
21894
|
This method makes a synchronous HTTP request by default. To make an
|
21899
21895
|
asynchronous HTTP request, please pass async_req=True
|
21900
|
-
>>> thread = api.
|
21896
|
+
>>> thread = api.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(cluster_id, async_req=True)
|
21901
21897
|
>>> result = thread.get()
|
21902
21898
|
|
21903
21899
|
:param async_req bool: execute request asynchronously
|
21904
|
-
:param str
|
21900
|
+
:param str cluster_id: (required)
|
21905
21901
|
:param _return_http_data_only: response data without head status code
|
21906
21902
|
and headers
|
21907
21903
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -21911,7 +21907,7 @@ class DefaultApi(object):
|
|
21911
21907
|
number provided, it will be total request
|
21912
21908
|
timeout. It can also be a pair (tuple) of
|
21913
21909
|
(connection, read) timeouts.
|
21914
|
-
:return: tuple(
|
21910
|
+
:return: tuple(TaskexceptiongroupaggregateListResponse, status_code(int), headers(HTTPHeaderDict))
|
21915
21911
|
If the method is called asynchronously,
|
21916
21912
|
returns the request thread.
|
21917
21913
|
"""
|
@@ -21919,7 +21915,7 @@ class DefaultApi(object):
|
|
21919
21915
|
local_var_params = locals()
|
21920
21916
|
|
21921
21917
|
all_params = [
|
21922
|
-
'
|
21918
|
+
'cluster_id'
|
21923
21919
|
]
|
21924
21920
|
all_params.extend(
|
21925
21921
|
[
|
@@ -21934,22 +21930,22 @@ class DefaultApi(object):
|
|
21934
21930
|
if key not in all_params:
|
21935
21931
|
raise ApiTypeError(
|
21936
21932
|
"Got an unexpected keyword argument '%s'"
|
21937
|
-
" to method
|
21933
|
+
" to method get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get" % key
|
21938
21934
|
)
|
21939
21935
|
local_var_params[key] = val
|
21940
21936
|
del local_var_params['kwargs']
|
21941
|
-
# verify the required parameter '
|
21942
|
-
if self.api_client.client_side_validation and ('
|
21943
|
-
local_var_params['
|
21944
|
-
raise ApiValueError("Missing the required parameter `
|
21937
|
+
# verify the required parameter 'cluster_id' is set
|
21938
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
21939
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
21940
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get`") # noqa: E501
|
21945
21941
|
|
21946
21942
|
collection_formats = {}
|
21947
21943
|
|
21948
21944
|
path_params = {}
|
21949
|
-
if 'template_id' in local_var_params:
|
21950
|
-
path_params['template_id'] = local_var_params['template_id'] # noqa: E501
|
21951
21945
|
|
21952
21946
|
query_params = []
|
21947
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
21948
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
21953
21949
|
|
21954
21950
|
header_params = {}
|
21955
21951
|
|
@@ -21965,14 +21961,14 @@ class DefaultApi(object):
|
|
21965
21961
|
auth_settings = [] # noqa: E501
|
21966
21962
|
|
21967
21963
|
return self.api_client.call_api(
|
21968
|
-
'/api/v2/
|
21964
|
+
'/api/v2/tasks_dashboard/aggregate_by_exception', 'GET',
|
21969
21965
|
path_params,
|
21970
21966
|
query_params,
|
21971
21967
|
header_params,
|
21972
21968
|
body=body_params,
|
21973
21969
|
post_params=form_params,
|
21974
21970
|
files=local_var_files,
|
21975
|
-
response_type='
|
21971
|
+
response_type='TaskexceptiongroupaggregateListResponse', # noqa: E501
|
21976
21972
|
auth_settings=auth_settings,
|
21977
21973
|
async_req=local_var_params.get('async_req'),
|
21978
21974
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -21980,16 +21976,16 @@ class DefaultApi(object):
|
|
21980
21976
|
_request_timeout=local_var_params.get('_request_timeout'),
|
21981
21977
|
collection_formats=collection_formats)
|
21982
21978
|
|
21983
|
-
def
|
21984
|
-
"""Get
|
21979
|
+
def get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get(self, cluster_id, **kwargs): # noqa: E501
|
21980
|
+
"""Get Task Function Aggregates # noqa: E501
|
21985
21981
|
|
21986
|
-
Returns all templatized cluster environments. # noqa: E501
|
21987
21982
|
This method makes a synchronous HTTP request by default. To make an
|
21988
21983
|
asynchronous HTTP request, please pass async_req=True
|
21989
|
-
>>> thread = api.
|
21984
|
+
>>> thread = api.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get(cluster_id, async_req=True)
|
21990
21985
|
>>> result = thread.get()
|
21991
21986
|
|
21992
21987
|
:param async_req bool: execute request asynchronously
|
21988
|
+
:param str cluster_id: (required)
|
21993
21989
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
21994
21990
|
be returned without reading/decoding response
|
21995
21991
|
data. Default is True.
|
@@ -21997,23 +21993,23 @@ class DefaultApi(object):
|
|
21997
21993
|
number provided, it will be total request
|
21998
21994
|
timeout. It can also be a pair (tuple) of
|
21999
21995
|
(connection, read) timeouts.
|
22000
|
-
:return:
|
21996
|
+
:return: TaskfunctionnamegroupaggregateListResponse
|
22001
21997
|
If the method is called asynchronously,
|
22002
21998
|
returns the request thread.
|
22003
21999
|
"""
|
22004
22000
|
kwargs['_return_http_data_only'] = True
|
22005
|
-
return self.
|
22001
|
+
return self.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(cluster_id, **kwargs) # noqa: E501
|
22006
22002
|
|
22007
|
-
def
|
22008
|
-
"""Get
|
22003
|
+
def get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
|
22004
|
+
"""Get Task Function Aggregates # noqa: E501
|
22009
22005
|
|
22010
|
-
Returns all templatized cluster environments. # noqa: E501
|
22011
22006
|
This method makes a synchronous HTTP request by default. To make an
|
22012
22007
|
asynchronous HTTP request, please pass async_req=True
|
22013
|
-
>>> thread = api.
|
22008
|
+
>>> thread = api.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(cluster_id, async_req=True)
|
22014
22009
|
>>> result = thread.get()
|
22015
22010
|
|
22016
22011
|
:param async_req bool: execute request asynchronously
|
22012
|
+
:param str cluster_id: (required)
|
22017
22013
|
:param _return_http_data_only: response data without head status code
|
22018
22014
|
and headers
|
22019
22015
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -22023,7 +22019,7 @@ class DefaultApi(object):
|
|
22023
22019
|
number provided, it will be total request
|
22024
22020
|
timeout. It can also be a pair (tuple) of
|
22025
22021
|
(connection, read) timeouts.
|
22026
|
-
:return: tuple(
|
22022
|
+
:return: tuple(TaskfunctionnamegroupaggregateListResponse, status_code(int), headers(HTTPHeaderDict))
|
22027
22023
|
If the method is called asynchronously,
|
22028
22024
|
returns the request thread.
|
22029
22025
|
"""
|
@@ -22031,6 +22027,7 @@ class DefaultApi(object):
|
|
22031
22027
|
local_var_params = locals()
|
22032
22028
|
|
22033
22029
|
all_params = [
|
22030
|
+
'cluster_id'
|
22034
22031
|
]
|
22035
22032
|
all_params.extend(
|
22036
22033
|
[
|
@@ -22045,16 +22042,22 @@ class DefaultApi(object):
|
|
22045
22042
|
if key not in all_params:
|
22046
22043
|
raise ApiTypeError(
|
22047
22044
|
"Got an unexpected keyword argument '%s'"
|
22048
|
-
" to method
|
22045
|
+
" to method get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get" % key
|
22049
22046
|
)
|
22050
22047
|
local_var_params[key] = val
|
22051
22048
|
del local_var_params['kwargs']
|
22049
|
+
# verify the required parameter 'cluster_id' is set
|
22050
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
22051
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
22052
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get`") # noqa: E501
|
22052
22053
|
|
22053
22054
|
collection_formats = {}
|
22054
22055
|
|
22055
22056
|
path_params = {}
|
22056
22057
|
|
22057
22058
|
query_params = []
|
22059
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
22060
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
22058
22061
|
|
22059
22062
|
header_params = {}
|
22060
22063
|
|
@@ -22070,14 +22073,14 @@ class DefaultApi(object):
|
|
22070
22073
|
auth_settings = [] # noqa: E501
|
22071
22074
|
|
22072
22075
|
return self.api_client.call_api(
|
22073
|
-
'/api/v2/
|
22076
|
+
'/api/v2/tasks_dashboard/aggregate_by_function', 'GET',
|
22074
22077
|
path_params,
|
22075
22078
|
query_params,
|
22076
22079
|
header_params,
|
22077
22080
|
body=body_params,
|
22078
22081
|
post_params=form_params,
|
22079
22082
|
files=local_var_files,
|
22080
|
-
response_type='
|
22083
|
+
response_type='TaskfunctionnamegroupaggregateListResponse', # noqa: E501
|
22081
22084
|
auth_settings=auth_settings,
|
22082
22085
|
async_req=local_var_params.get('async_req'),
|
22083
22086
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -22085,17 +22088,16 @@ class DefaultApi(object):
|
|
22085
22088
|
_request_timeout=local_var_params.get('_request_timeout'),
|
22086
22089
|
collection_formats=collection_formats)
|
22087
22090
|
|
22088
|
-
def
|
22089
|
-
"""Get
|
22091
|
+
def get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get(self, cluster_id, **kwargs): # noqa: E501
|
22092
|
+
"""Get Task Job Aggregates # noqa: E501
|
22090
22093
|
|
22091
|
-
Returns all templatized compute configurations for this cloud. # noqa: E501
|
22092
22094
|
This method makes a synchronous HTTP request by default. To make an
|
22093
22095
|
asynchronous HTTP request, please pass async_req=True
|
22094
|
-
>>> thread = api.
|
22096
|
+
>>> thread = api.get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get(cluster_id, async_req=True)
|
22095
22097
|
>>> result = thread.get()
|
22096
22098
|
|
22097
22099
|
:param async_req bool: execute request asynchronously
|
22098
|
-
:param str
|
22100
|
+
:param str cluster_id: (required)
|
22099
22101
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22100
22102
|
be returned without reading/decoding response
|
22101
22103
|
data. Default is True.
|
@@ -22103,24 +22105,595 @@ class DefaultApi(object):
|
|
22103
22105
|
number provided, it will be total request
|
22104
22106
|
timeout. It can also be a pair (tuple) of
|
22105
22107
|
(connection, read) timeouts.
|
22106
|
-
:return:
|
22108
|
+
:return: TaskjobgroupaggregateListResponse
|
22107
22109
|
If the method is called asynchronously,
|
22108
22110
|
returns the request thread.
|
22109
22111
|
"""
|
22110
22112
|
kwargs['_return_http_data_only'] = True
|
22111
|
-
return self.
|
22113
|
+
return self.get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get_with_http_info(cluster_id, **kwargs) # noqa: E501
|
22112
22114
|
|
22113
|
-
def
|
22114
|
-
"""Get
|
22115
|
+
def get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
|
22116
|
+
"""Get Task Job Aggregates # noqa: E501
|
22115
22117
|
|
22116
|
-
Returns all templatized compute configurations for this cloud. # noqa: E501
|
22117
22118
|
This method makes a synchronous HTTP request by default. To make an
|
22118
22119
|
asynchronous HTTP request, please pass async_req=True
|
22119
|
-
>>> thread = api.
|
22120
|
+
>>> thread = api.get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get_with_http_info(cluster_id, async_req=True)
|
22120
22121
|
>>> result = thread.get()
|
22121
22122
|
|
22122
22123
|
:param async_req bool: execute request asynchronously
|
22123
|
-
:param str
|
22124
|
+
:param str cluster_id: (required)
|
22125
|
+
:param _return_http_data_only: response data without head status code
|
22126
|
+
and headers
|
22127
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22128
|
+
be returned without reading/decoding response
|
22129
|
+
data. Default is True.
|
22130
|
+
:param _request_timeout: timeout setting for this request. If one
|
22131
|
+
number provided, it will be total request
|
22132
|
+
timeout. It can also be a pair (tuple) of
|
22133
|
+
(connection, read) timeouts.
|
22134
|
+
:return: tuple(TaskjobgroupaggregateListResponse, status_code(int), headers(HTTPHeaderDict))
|
22135
|
+
If the method is called asynchronously,
|
22136
|
+
returns the request thread.
|
22137
|
+
"""
|
22138
|
+
|
22139
|
+
local_var_params = locals()
|
22140
|
+
|
22141
|
+
all_params = [
|
22142
|
+
'cluster_id'
|
22143
|
+
]
|
22144
|
+
all_params.extend(
|
22145
|
+
[
|
22146
|
+
'async_req',
|
22147
|
+
'_return_http_data_only',
|
22148
|
+
'_preload_content',
|
22149
|
+
'_request_timeout'
|
22150
|
+
]
|
22151
|
+
)
|
22152
|
+
|
22153
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
22154
|
+
if key not in all_params:
|
22155
|
+
raise ApiTypeError(
|
22156
|
+
"Got an unexpected keyword argument '%s'"
|
22157
|
+
" to method get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get" % key
|
22158
|
+
)
|
22159
|
+
local_var_params[key] = val
|
22160
|
+
del local_var_params['kwargs']
|
22161
|
+
# verify the required parameter 'cluster_id' is set
|
22162
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
22163
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
22164
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get`") # noqa: E501
|
22165
|
+
|
22166
|
+
collection_formats = {}
|
22167
|
+
|
22168
|
+
path_params = {}
|
22169
|
+
|
22170
|
+
query_params = []
|
22171
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
22172
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
22173
|
+
|
22174
|
+
header_params = {}
|
22175
|
+
|
22176
|
+
form_params = []
|
22177
|
+
local_var_files = {}
|
22178
|
+
|
22179
|
+
body_params = None
|
22180
|
+
# HTTP header `Accept`
|
22181
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
22182
|
+
['application/json']) # noqa: E501
|
22183
|
+
|
22184
|
+
# Authentication setting
|
22185
|
+
auth_settings = [] # noqa: E501
|
22186
|
+
|
22187
|
+
return self.api_client.call_api(
|
22188
|
+
'/api/v2/tasks_dashboard/aggregate_by_job', 'GET',
|
22189
|
+
path_params,
|
22190
|
+
query_params,
|
22191
|
+
header_params,
|
22192
|
+
body=body_params,
|
22193
|
+
post_params=form_params,
|
22194
|
+
files=local_var_files,
|
22195
|
+
response_type='TaskjobgroupaggregateListResponse', # noqa: E501
|
22196
|
+
auth_settings=auth_settings,
|
22197
|
+
async_req=local_var_params.get('async_req'),
|
22198
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
22199
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
22200
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
22201
|
+
collection_formats=collection_formats)
|
22202
|
+
|
22203
|
+
def get_task_summary_api_v2_tasks_dashboard_summary_get(self, cluster_id, **kwargs): # noqa: E501
|
22204
|
+
"""Get Task Summary # noqa: E501
|
22205
|
+
|
22206
|
+
This method makes a synchronous HTTP request by default. To make an
|
22207
|
+
asynchronous HTTP request, please pass async_req=True
|
22208
|
+
>>> thread = api.get_task_summary_api_v2_tasks_dashboard_summary_get(cluster_id, async_req=True)
|
22209
|
+
>>> result = thread.get()
|
22210
|
+
|
22211
|
+
:param async_req bool: execute request asynchronously
|
22212
|
+
:param str cluster_id: (required)
|
22213
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22214
|
+
be returned without reading/decoding response
|
22215
|
+
data. Default is True.
|
22216
|
+
:param _request_timeout: timeout setting for this request. If one
|
22217
|
+
number provided, it will be total request
|
22218
|
+
timeout. It can also be a pair (tuple) of
|
22219
|
+
(connection, read) timeouts.
|
22220
|
+
:return: TasksummaryResponse
|
22221
|
+
If the method is called asynchronously,
|
22222
|
+
returns the request thread.
|
22223
|
+
"""
|
22224
|
+
kwargs['_return_http_data_only'] = True
|
22225
|
+
return self.get_task_summary_api_v2_tasks_dashboard_summary_get_with_http_info(cluster_id, **kwargs) # noqa: E501
|
22226
|
+
|
22227
|
+
def get_task_summary_api_v2_tasks_dashboard_summary_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
|
22228
|
+
"""Get Task Summary # noqa: E501
|
22229
|
+
|
22230
|
+
This method makes a synchronous HTTP request by default. To make an
|
22231
|
+
asynchronous HTTP request, please pass async_req=True
|
22232
|
+
>>> thread = api.get_task_summary_api_v2_tasks_dashboard_summary_get_with_http_info(cluster_id, async_req=True)
|
22233
|
+
>>> result = thread.get()
|
22234
|
+
|
22235
|
+
:param async_req bool: execute request asynchronously
|
22236
|
+
:param str cluster_id: (required)
|
22237
|
+
:param _return_http_data_only: response data without head status code
|
22238
|
+
and headers
|
22239
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22240
|
+
be returned without reading/decoding response
|
22241
|
+
data. Default is True.
|
22242
|
+
:param _request_timeout: timeout setting for this request. If one
|
22243
|
+
number provided, it will be total request
|
22244
|
+
timeout. It can also be a pair (tuple) of
|
22245
|
+
(connection, read) timeouts.
|
22246
|
+
:return: tuple(TasksummaryResponse, status_code(int), headers(HTTPHeaderDict))
|
22247
|
+
If the method is called asynchronously,
|
22248
|
+
returns the request thread.
|
22249
|
+
"""
|
22250
|
+
|
22251
|
+
local_var_params = locals()
|
22252
|
+
|
22253
|
+
all_params = [
|
22254
|
+
'cluster_id'
|
22255
|
+
]
|
22256
|
+
all_params.extend(
|
22257
|
+
[
|
22258
|
+
'async_req',
|
22259
|
+
'_return_http_data_only',
|
22260
|
+
'_preload_content',
|
22261
|
+
'_request_timeout'
|
22262
|
+
]
|
22263
|
+
)
|
22264
|
+
|
22265
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
22266
|
+
if key not in all_params:
|
22267
|
+
raise ApiTypeError(
|
22268
|
+
"Got an unexpected keyword argument '%s'"
|
22269
|
+
" to method get_task_summary_api_v2_tasks_dashboard_summary_get" % key
|
22270
|
+
)
|
22271
|
+
local_var_params[key] = val
|
22272
|
+
del local_var_params['kwargs']
|
22273
|
+
# verify the required parameter 'cluster_id' is set
|
22274
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
22275
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
22276
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_summary_api_v2_tasks_dashboard_summary_get`") # noqa: E501
|
22277
|
+
|
22278
|
+
collection_formats = {}
|
22279
|
+
|
22280
|
+
path_params = {}
|
22281
|
+
|
22282
|
+
query_params = []
|
22283
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
22284
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
22285
|
+
|
22286
|
+
header_params = {}
|
22287
|
+
|
22288
|
+
form_params = []
|
22289
|
+
local_var_files = {}
|
22290
|
+
|
22291
|
+
body_params = None
|
22292
|
+
# HTTP header `Accept`
|
22293
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
22294
|
+
['application/json']) # noqa: E501
|
22295
|
+
|
22296
|
+
# Authentication setting
|
22297
|
+
auth_settings = [] # noqa: E501
|
22298
|
+
|
22299
|
+
return self.api_client.call_api(
|
22300
|
+
'/api/v2/tasks_dashboard/summary', 'GET',
|
22301
|
+
path_params,
|
22302
|
+
query_params,
|
22303
|
+
header_params,
|
22304
|
+
body=body_params,
|
22305
|
+
post_params=form_params,
|
22306
|
+
files=local_var_files,
|
22307
|
+
response_type='TasksummaryResponse', # noqa: E501
|
22308
|
+
auth_settings=auth_settings,
|
22309
|
+
async_req=local_var_params.get('async_req'),
|
22310
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
22311
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
22312
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
22313
|
+
collection_formats=collection_formats)
|
22314
|
+
|
22315
|
+
def get_task_table_api_v2_tasks_dashboard_table_get(self, cluster_id, task_table_config, **kwargs): # noqa: E501
|
22316
|
+
"""Get Task Table # noqa: E501
|
22317
|
+
|
22318
|
+
Paging tokens are integers that represent the page number. # noqa: E501
|
22319
|
+
This method makes a synchronous HTTP request by default. To make an
|
22320
|
+
asynchronous HTTP request, please pass async_req=True
|
22321
|
+
>>> thread = api.get_task_table_api_v2_tasks_dashboard_table_get(cluster_id, task_table_config, async_req=True)
|
22322
|
+
>>> result = thread.get()
|
22323
|
+
|
22324
|
+
:param async_req bool: execute request asynchronously
|
22325
|
+
:param str cluster_id: (required)
|
22326
|
+
:param TaskTableConfig task_table_config: (required)
|
22327
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22328
|
+
be returned without reading/decoding response
|
22329
|
+
data. Default is True.
|
22330
|
+
:param _request_timeout: timeout setting for this request. If one
|
22331
|
+
number provided, it will be total request
|
22332
|
+
timeout. It can also be a pair (tuple) of
|
22333
|
+
(connection, read) timeouts.
|
22334
|
+
:return: TaskTableResponse
|
22335
|
+
If the method is called asynchronously,
|
22336
|
+
returns the request thread.
|
22337
|
+
"""
|
22338
|
+
kwargs['_return_http_data_only'] = True
|
22339
|
+
return self.get_task_table_api_v2_tasks_dashboard_table_get_with_http_info(cluster_id, task_table_config, **kwargs) # noqa: E501
|
22340
|
+
|
22341
|
+
def get_task_table_api_v2_tasks_dashboard_table_get_with_http_info(self, cluster_id, task_table_config, **kwargs): # noqa: E501
|
22342
|
+
"""Get Task Table # noqa: E501
|
22343
|
+
|
22344
|
+
Paging tokens are integers that represent the page number. # noqa: E501
|
22345
|
+
This method makes a synchronous HTTP request by default. To make an
|
22346
|
+
asynchronous HTTP request, please pass async_req=True
|
22347
|
+
>>> thread = api.get_task_table_api_v2_tasks_dashboard_table_get_with_http_info(cluster_id, task_table_config, async_req=True)
|
22348
|
+
>>> result = thread.get()
|
22349
|
+
|
22350
|
+
:param async_req bool: execute request asynchronously
|
22351
|
+
:param str cluster_id: (required)
|
22352
|
+
:param TaskTableConfig task_table_config: (required)
|
22353
|
+
:param _return_http_data_only: response data without head status code
|
22354
|
+
and headers
|
22355
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22356
|
+
be returned without reading/decoding response
|
22357
|
+
data. Default is True.
|
22358
|
+
:param _request_timeout: timeout setting for this request. If one
|
22359
|
+
number provided, it will be total request
|
22360
|
+
timeout. It can also be a pair (tuple) of
|
22361
|
+
(connection, read) timeouts.
|
22362
|
+
:return: tuple(TaskTableResponse, status_code(int), headers(HTTPHeaderDict))
|
22363
|
+
If the method is called asynchronously,
|
22364
|
+
returns the request thread.
|
22365
|
+
"""
|
22366
|
+
|
22367
|
+
local_var_params = locals()
|
22368
|
+
|
22369
|
+
all_params = [
|
22370
|
+
'cluster_id',
|
22371
|
+
'task_table_config'
|
22372
|
+
]
|
22373
|
+
all_params.extend(
|
22374
|
+
[
|
22375
|
+
'async_req',
|
22376
|
+
'_return_http_data_only',
|
22377
|
+
'_preload_content',
|
22378
|
+
'_request_timeout'
|
22379
|
+
]
|
22380
|
+
)
|
22381
|
+
|
22382
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
22383
|
+
if key not in all_params:
|
22384
|
+
raise ApiTypeError(
|
22385
|
+
"Got an unexpected keyword argument '%s'"
|
22386
|
+
" to method get_task_table_api_v2_tasks_dashboard_table_get" % key
|
22387
|
+
)
|
22388
|
+
local_var_params[key] = val
|
22389
|
+
del local_var_params['kwargs']
|
22390
|
+
# verify the required parameter 'cluster_id' is set
|
22391
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
22392
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
22393
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_table_api_v2_tasks_dashboard_table_get`") # noqa: E501
|
22394
|
+
# verify the required parameter 'task_table_config' is set
|
22395
|
+
if self.api_client.client_side_validation and ('task_table_config' not in local_var_params or # noqa: E501
|
22396
|
+
local_var_params['task_table_config'] is None): # noqa: E501
|
22397
|
+
raise ApiValueError("Missing the required parameter `task_table_config` when calling `get_task_table_api_v2_tasks_dashboard_table_get`") # noqa: E501
|
22398
|
+
|
22399
|
+
collection_formats = {}
|
22400
|
+
|
22401
|
+
path_params = {}
|
22402
|
+
|
22403
|
+
query_params = []
|
22404
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
22405
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
22406
|
+
|
22407
|
+
header_params = {}
|
22408
|
+
|
22409
|
+
form_params = []
|
22410
|
+
local_var_files = {}
|
22411
|
+
|
22412
|
+
body_params = None
|
22413
|
+
if 'task_table_config' in local_var_params:
|
22414
|
+
body_params = local_var_params['task_table_config']
|
22415
|
+
# HTTP header `Accept`
|
22416
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
22417
|
+
['application/json']) # noqa: E501
|
22418
|
+
|
22419
|
+
# HTTP header `Content-Type`
|
22420
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
22421
|
+
['application/json']) # noqa: E501
|
22422
|
+
|
22423
|
+
# Authentication setting
|
22424
|
+
auth_settings = [] # noqa: E501
|
22425
|
+
|
22426
|
+
return self.api_client.call_api(
|
22427
|
+
'/api/v2/tasks_dashboard/table', 'GET',
|
22428
|
+
path_params,
|
22429
|
+
query_params,
|
22430
|
+
header_params,
|
22431
|
+
body=body_params,
|
22432
|
+
post_params=form_params,
|
22433
|
+
files=local_var_files,
|
22434
|
+
response_type='TaskTableResponse', # noqa: E501
|
22435
|
+
auth_settings=auth_settings,
|
22436
|
+
async_req=local_var_params.get('async_req'),
|
22437
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
22438
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
22439
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
22440
|
+
collection_formats=collection_formats)
|
22441
|
+
|
22442
|
+
def get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get(self, template_id, **kwargs): # noqa: E501
|
22443
|
+
"""Get Template Readme # noqa: E501
|
22444
|
+
|
22445
|
+
Retrieves a template's README.md file. # noqa: E501
|
22446
|
+
This method makes a synchronous HTTP request by default. To make an
|
22447
|
+
asynchronous HTTP request, please pass async_req=True
|
22448
|
+
>>> thread = api.get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get(template_id, async_req=True)
|
22449
|
+
>>> result = thread.get()
|
22450
|
+
|
22451
|
+
:param async_req bool: execute request asynchronously
|
22452
|
+
:param str template_id: ID of the template. (required)
|
22453
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22454
|
+
be returned without reading/decoding response
|
22455
|
+
data. Default is True.
|
22456
|
+
:param _request_timeout: timeout setting for this request. If one
|
22457
|
+
number provided, it will be total request
|
22458
|
+
timeout. It can also be a pair (tuple) of
|
22459
|
+
(connection, read) timeouts.
|
22460
|
+
:return: WorkspacereadmeResponse
|
22461
|
+
If the method is called asynchronously,
|
22462
|
+
returns the request thread.
|
22463
|
+
"""
|
22464
|
+
kwargs['_return_http_data_only'] = True
|
22465
|
+
return self.get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get_with_http_info(template_id, **kwargs) # noqa: E501
|
22466
|
+
|
22467
|
+
def get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get_with_http_info(self, template_id, **kwargs): # noqa: E501
|
22468
|
+
"""Get Template Readme # noqa: E501
|
22469
|
+
|
22470
|
+
Retrieves a template's README.md file. # noqa: E501
|
22471
|
+
This method makes a synchronous HTTP request by default. To make an
|
22472
|
+
asynchronous HTTP request, please pass async_req=True
|
22473
|
+
>>> thread = api.get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get_with_http_info(template_id, async_req=True)
|
22474
|
+
>>> result = thread.get()
|
22475
|
+
|
22476
|
+
:param async_req bool: execute request asynchronously
|
22477
|
+
:param str template_id: ID of the template. (required)
|
22478
|
+
:param _return_http_data_only: response data without head status code
|
22479
|
+
and headers
|
22480
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22481
|
+
be returned without reading/decoding response
|
22482
|
+
data. Default is True.
|
22483
|
+
:param _request_timeout: timeout setting for this request. If one
|
22484
|
+
number provided, it will be total request
|
22485
|
+
timeout. It can also be a pair (tuple) of
|
22486
|
+
(connection, read) timeouts.
|
22487
|
+
:return: tuple(WorkspacereadmeResponse, status_code(int), headers(HTTPHeaderDict))
|
22488
|
+
If the method is called asynchronously,
|
22489
|
+
returns the request thread.
|
22490
|
+
"""
|
22491
|
+
|
22492
|
+
local_var_params = locals()
|
22493
|
+
|
22494
|
+
all_params = [
|
22495
|
+
'template_id'
|
22496
|
+
]
|
22497
|
+
all_params.extend(
|
22498
|
+
[
|
22499
|
+
'async_req',
|
22500
|
+
'_return_http_data_only',
|
22501
|
+
'_preload_content',
|
22502
|
+
'_request_timeout'
|
22503
|
+
]
|
22504
|
+
)
|
22505
|
+
|
22506
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
22507
|
+
if key not in all_params:
|
22508
|
+
raise ApiTypeError(
|
22509
|
+
"Got an unexpected keyword argument '%s'"
|
22510
|
+
" to method get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get" % key
|
22511
|
+
)
|
22512
|
+
local_var_params[key] = val
|
22513
|
+
del local_var_params['kwargs']
|
22514
|
+
# verify the required parameter 'template_id' is set
|
22515
|
+
if self.api_client.client_side_validation and ('template_id' not in local_var_params or # noqa: E501
|
22516
|
+
local_var_params['template_id'] is None): # noqa: E501
|
22517
|
+
raise ApiValueError("Missing the required parameter `template_id` when calling `get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get`") # noqa: E501
|
22518
|
+
|
22519
|
+
collection_formats = {}
|
22520
|
+
|
22521
|
+
path_params = {}
|
22522
|
+
if 'template_id' in local_var_params:
|
22523
|
+
path_params['template_id'] = local_var_params['template_id'] # noqa: E501
|
22524
|
+
|
22525
|
+
query_params = []
|
22526
|
+
|
22527
|
+
header_params = {}
|
22528
|
+
|
22529
|
+
form_params = []
|
22530
|
+
local_var_files = {}
|
22531
|
+
|
22532
|
+
body_params = None
|
22533
|
+
# HTTP header `Accept`
|
22534
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
22535
|
+
['application/json']) # noqa: E501
|
22536
|
+
|
22537
|
+
# Authentication setting
|
22538
|
+
auth_settings = [] # noqa: E501
|
22539
|
+
|
22540
|
+
return self.api_client.call_api(
|
22541
|
+
'/api/v2/experimental_workspaces/template/readme/{template_id}', 'GET',
|
22542
|
+
path_params,
|
22543
|
+
query_params,
|
22544
|
+
header_params,
|
22545
|
+
body=body_params,
|
22546
|
+
post_params=form_params,
|
22547
|
+
files=local_var_files,
|
22548
|
+
response_type='WorkspacereadmeResponse', # noqa: E501
|
22549
|
+
auth_settings=auth_settings,
|
22550
|
+
async_req=local_var_params.get('async_req'),
|
22551
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
22552
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
22553
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
22554
|
+
collection_formats=collection_formats)
|
22555
|
+
|
22556
|
+
def get_templatized_cluster_environments_api_v2_application_templates_templatized_get(self, **kwargs): # noqa: E501
|
22557
|
+
"""Get Templatized Cluster Environments # noqa: E501
|
22558
|
+
|
22559
|
+
Returns all templatized cluster environments. # noqa: E501
|
22560
|
+
This method makes a synchronous HTTP request by default. To make an
|
22561
|
+
asynchronous HTTP request, please pass async_req=True
|
22562
|
+
>>> thread = api.get_templatized_cluster_environments_api_v2_application_templates_templatized_get(async_req=True)
|
22563
|
+
>>> result = thread.get()
|
22564
|
+
|
22565
|
+
:param async_req bool: execute request asynchronously
|
22566
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22567
|
+
be returned without reading/decoding response
|
22568
|
+
data. Default is True.
|
22569
|
+
:param _request_timeout: timeout setting for this request. If one
|
22570
|
+
number provided, it will be total request
|
22571
|
+
timeout. It can also be a pair (tuple) of
|
22572
|
+
(connection, read) timeouts.
|
22573
|
+
:return: TemplatizeddecoratedapplicationtemplatesResponse
|
22574
|
+
If the method is called asynchronously,
|
22575
|
+
returns the request thread.
|
22576
|
+
"""
|
22577
|
+
kwargs['_return_http_data_only'] = True
|
22578
|
+
return self.get_templatized_cluster_environments_api_v2_application_templates_templatized_get_with_http_info(**kwargs) # noqa: E501
|
22579
|
+
|
22580
|
+
def get_templatized_cluster_environments_api_v2_application_templates_templatized_get_with_http_info(self, **kwargs): # noqa: E501
|
22581
|
+
"""Get Templatized Cluster Environments # noqa: E501
|
22582
|
+
|
22583
|
+
Returns all templatized cluster environments. # noqa: E501
|
22584
|
+
This method makes a synchronous HTTP request by default. To make an
|
22585
|
+
asynchronous HTTP request, please pass async_req=True
|
22586
|
+
>>> thread = api.get_templatized_cluster_environments_api_v2_application_templates_templatized_get_with_http_info(async_req=True)
|
22587
|
+
>>> result = thread.get()
|
22588
|
+
|
22589
|
+
:param async_req bool: execute request asynchronously
|
22590
|
+
:param _return_http_data_only: response data without head status code
|
22591
|
+
and headers
|
22592
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22593
|
+
be returned without reading/decoding response
|
22594
|
+
data. Default is True.
|
22595
|
+
:param _request_timeout: timeout setting for this request. If one
|
22596
|
+
number provided, it will be total request
|
22597
|
+
timeout. It can also be a pair (tuple) of
|
22598
|
+
(connection, read) timeouts.
|
22599
|
+
:return: tuple(TemplatizeddecoratedapplicationtemplatesResponse, status_code(int), headers(HTTPHeaderDict))
|
22600
|
+
If the method is called asynchronously,
|
22601
|
+
returns the request thread.
|
22602
|
+
"""
|
22603
|
+
|
22604
|
+
local_var_params = locals()
|
22605
|
+
|
22606
|
+
all_params = [
|
22607
|
+
]
|
22608
|
+
all_params.extend(
|
22609
|
+
[
|
22610
|
+
'async_req',
|
22611
|
+
'_return_http_data_only',
|
22612
|
+
'_preload_content',
|
22613
|
+
'_request_timeout'
|
22614
|
+
]
|
22615
|
+
)
|
22616
|
+
|
22617
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
22618
|
+
if key not in all_params:
|
22619
|
+
raise ApiTypeError(
|
22620
|
+
"Got an unexpected keyword argument '%s'"
|
22621
|
+
" to method get_templatized_cluster_environments_api_v2_application_templates_templatized_get" % key
|
22622
|
+
)
|
22623
|
+
local_var_params[key] = val
|
22624
|
+
del local_var_params['kwargs']
|
22625
|
+
|
22626
|
+
collection_formats = {}
|
22627
|
+
|
22628
|
+
path_params = {}
|
22629
|
+
|
22630
|
+
query_params = []
|
22631
|
+
|
22632
|
+
header_params = {}
|
22633
|
+
|
22634
|
+
form_params = []
|
22635
|
+
local_var_files = {}
|
22636
|
+
|
22637
|
+
body_params = None
|
22638
|
+
# HTTP header `Accept`
|
22639
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
22640
|
+
['application/json']) # noqa: E501
|
22641
|
+
|
22642
|
+
# Authentication setting
|
22643
|
+
auth_settings = [] # noqa: E501
|
22644
|
+
|
22645
|
+
return self.api_client.call_api(
|
22646
|
+
'/api/v2/application_templates/templatized/', 'GET',
|
22647
|
+
path_params,
|
22648
|
+
query_params,
|
22649
|
+
header_params,
|
22650
|
+
body=body_params,
|
22651
|
+
post_params=form_params,
|
22652
|
+
files=local_var_files,
|
22653
|
+
response_type='TemplatizeddecoratedapplicationtemplatesResponse', # noqa: E501
|
22654
|
+
auth_settings=auth_settings,
|
22655
|
+
async_req=local_var_params.get('async_req'),
|
22656
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
22657
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
22658
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
22659
|
+
collection_formats=collection_formats)
|
22660
|
+
|
22661
|
+
def get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get(self, cloud_id, **kwargs): # noqa: E501
|
22662
|
+
"""Get Templatized Compute Configs # noqa: E501
|
22663
|
+
|
22664
|
+
Returns all templatized compute configurations for this cloud. # noqa: E501
|
22665
|
+
This method makes a synchronous HTTP request by default. To make an
|
22666
|
+
asynchronous HTTP request, please pass async_req=True
|
22667
|
+
>>> thread = api.get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get(cloud_id, async_req=True)
|
22668
|
+
>>> result = thread.get()
|
22669
|
+
|
22670
|
+
:param async_req bool: execute request asynchronously
|
22671
|
+
:param str cloud_id: (required)
|
22672
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22673
|
+
be returned without reading/decoding response
|
22674
|
+
data. Default is True.
|
22675
|
+
:param _request_timeout: timeout setting for this request. If one
|
22676
|
+
number provided, it will be total request
|
22677
|
+
timeout. It can also be a pair (tuple) of
|
22678
|
+
(connection, read) timeouts.
|
22679
|
+
:return: TemplatizedcomputeconfigsResponse
|
22680
|
+
If the method is called asynchronously,
|
22681
|
+
returns the request thread.
|
22682
|
+
"""
|
22683
|
+
kwargs['_return_http_data_only'] = True
|
22684
|
+
return self.get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get_with_http_info(cloud_id, **kwargs) # noqa: E501
|
22685
|
+
|
22686
|
+
def get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get_with_http_info(self, cloud_id, **kwargs): # noqa: E501
|
22687
|
+
"""Get Templatized Compute Configs # noqa: E501
|
22688
|
+
|
22689
|
+
Returns all templatized compute configurations for this cloud. # noqa: E501
|
22690
|
+
This method makes a synchronous HTTP request by default. To make an
|
22691
|
+
asynchronous HTTP request, please pass async_req=True
|
22692
|
+
>>> thread = api.get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get_with_http_info(cloud_id, async_req=True)
|
22693
|
+
>>> result = thread.get()
|
22694
|
+
|
22695
|
+
:param async_req bool: execute request asynchronously
|
22696
|
+
:param str cloud_id: (required)
|
22124
22697
|
:param _return_http_data_only: response data without head status code
|
22125
22698
|
and headers
|
22126
22699
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -25745,125 +26318,6 @@ class DefaultApi(object):
|
|
25745
26318
|
_request_timeout=local_var_params.get('_request_timeout'),
|
25746
26319
|
collection_formats=collection_formats)
|
25747
26320
|
|
25748
|
-
def list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get(self, **kwargs): # noqa: E501
|
25749
|
-
"""List Decorated Runtime Envs # noqa: E501
|
25750
|
-
|
25751
|
-
List all decorated runtime envs # noqa: E501
|
25752
|
-
This method makes a synchronous HTTP request by default. To make an
|
25753
|
-
asynchronous HTTP request, please pass async_req=True
|
25754
|
-
>>> thread = api.list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get(async_req=True)
|
25755
|
-
>>> result = thread.get()
|
25756
|
-
|
25757
|
-
:param async_req bool: execute request asynchronously
|
25758
|
-
:param str paging_token:
|
25759
|
-
:param int count:
|
25760
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
25761
|
-
be returned without reading/decoding response
|
25762
|
-
data. Default is True.
|
25763
|
-
:param _request_timeout: timeout setting for this request. If one
|
25764
|
-
number provided, it will be total request
|
25765
|
-
timeout. It can also be a pair (tuple) of
|
25766
|
-
(connection, read) timeouts.
|
25767
|
-
:return: DecoratedruntimeenvListResponse
|
25768
|
-
If the method is called asynchronously,
|
25769
|
-
returns the request thread.
|
25770
|
-
"""
|
25771
|
-
kwargs['_return_http_data_only'] = True
|
25772
|
-
return self.list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get_with_http_info(**kwargs) # noqa: E501
|
25773
|
-
|
25774
|
-
def list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get_with_http_info(self, **kwargs): # noqa: E501
|
25775
|
-
"""List Decorated Runtime Envs # noqa: E501
|
25776
|
-
|
25777
|
-
List all decorated runtime envs # noqa: E501
|
25778
|
-
This method makes a synchronous HTTP request by default. To make an
|
25779
|
-
asynchronous HTTP request, please pass async_req=True
|
25780
|
-
>>> thread = api.list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get_with_http_info(async_req=True)
|
25781
|
-
>>> result = thread.get()
|
25782
|
-
|
25783
|
-
:param async_req bool: execute request asynchronously
|
25784
|
-
:param str paging_token:
|
25785
|
-
:param int count:
|
25786
|
-
:param _return_http_data_only: response data without head status code
|
25787
|
-
and headers
|
25788
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
25789
|
-
be returned without reading/decoding response
|
25790
|
-
data. Default is True.
|
25791
|
-
:param _request_timeout: timeout setting for this request. If one
|
25792
|
-
number provided, it will be total request
|
25793
|
-
timeout. It can also be a pair (tuple) of
|
25794
|
-
(connection, read) timeouts.
|
25795
|
-
:return: tuple(DecoratedruntimeenvListResponse, status_code(int), headers(HTTPHeaderDict))
|
25796
|
-
If the method is called asynchronously,
|
25797
|
-
returns the request thread.
|
25798
|
-
"""
|
25799
|
-
|
25800
|
-
local_var_params = locals()
|
25801
|
-
|
25802
|
-
all_params = [
|
25803
|
-
'paging_token',
|
25804
|
-
'count'
|
25805
|
-
]
|
25806
|
-
all_params.extend(
|
25807
|
-
[
|
25808
|
-
'async_req',
|
25809
|
-
'_return_http_data_only',
|
25810
|
-
'_preload_content',
|
25811
|
-
'_request_timeout'
|
25812
|
-
]
|
25813
|
-
)
|
25814
|
-
|
25815
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
25816
|
-
if key not in all_params:
|
25817
|
-
raise ApiTypeError(
|
25818
|
-
"Got an unexpected keyword argument '%s'"
|
25819
|
-
" to method list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get" % key
|
25820
|
-
)
|
25821
|
-
local_var_params[key] = val
|
25822
|
-
del local_var_params['kwargs']
|
25823
|
-
|
25824
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
25825
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get`, must be a value less than or equal to `50`") # noqa: E501
|
25826
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
25827
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get`, must be a value greater than or equal to `0`") # noqa: E501
|
25828
|
-
collection_formats = {}
|
25829
|
-
|
25830
|
-
path_params = {}
|
25831
|
-
|
25832
|
-
query_params = []
|
25833
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
25834
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
25835
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
25836
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
25837
|
-
|
25838
|
-
header_params = {}
|
25839
|
-
|
25840
|
-
form_params = []
|
25841
|
-
local_var_files = {}
|
25842
|
-
|
25843
|
-
body_params = None
|
25844
|
-
# HTTP header `Accept`
|
25845
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
25846
|
-
['application/json']) # noqa: E501
|
25847
|
-
|
25848
|
-
# Authentication setting
|
25849
|
-
auth_settings = [] # noqa: E501
|
25850
|
-
|
25851
|
-
return self.api_client.call_api(
|
25852
|
-
'/api/v2/decorated_runtime_envs/', 'GET',
|
25853
|
-
path_params,
|
25854
|
-
query_params,
|
25855
|
-
header_params,
|
25856
|
-
body=body_params,
|
25857
|
-
post_params=form_params,
|
25858
|
-
files=local_var_files,
|
25859
|
-
response_type='DecoratedruntimeenvListResponse', # noqa: E501
|
25860
|
-
auth_settings=auth_settings,
|
25861
|
-
async_req=local_var_params.get('async_req'),
|
25862
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
25863
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
25864
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
25865
|
-
collection_formats=collection_formats)
|
25866
|
-
|
25867
26321
|
def list_decorated_serve_deployments_api_v2_decorated_serve_deployments_get(self, **kwargs): # noqa: E501
|
25868
26322
|
"""List Decorated Serve Deployments # noqa: E501
|
25869
26323
|
|
@@ -26671,6 +27125,8 @@ class DefaultApi(object):
|
|
26671
27125
|
:param async_req bool: execute request asynchronously
|
26672
27126
|
:param str cloud_id: The cloud ID to filter by.
|
26673
27127
|
:param str project_id: The project ID to filter by.
|
27128
|
+
:param bool jobs_only: Whether to only include jobs.
|
27129
|
+
:param bool workspaces_only: Whether to only include workspaces.
|
26674
27130
|
:param int duration_s: The duration in seconds to filter by. Defaults to 24 hours.
|
26675
27131
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
26676
27132
|
be returned without reading/decoding response
|
@@ -26698,6 +27154,8 @@ class DefaultApi(object):
|
|
26698
27154
|
:param async_req bool: execute request asynchronously
|
26699
27155
|
:param str cloud_id: The cloud ID to filter by.
|
26700
27156
|
:param str project_id: The project ID to filter by.
|
27157
|
+
:param bool jobs_only: Whether to only include jobs.
|
27158
|
+
:param bool workspaces_only: Whether to only include workspaces.
|
26701
27159
|
:param int duration_s: The duration in seconds to filter by. Defaults to 24 hours.
|
26702
27160
|
:param _return_http_data_only: response data without head status code
|
26703
27161
|
and headers
|
@@ -26718,6 +27176,8 @@ class DefaultApi(object):
|
|
26718
27176
|
all_params = [
|
26719
27177
|
'cloud_id',
|
26720
27178
|
'project_id',
|
27179
|
+
'jobs_only',
|
27180
|
+
'workspaces_only',
|
26721
27181
|
'duration_s'
|
26722
27182
|
]
|
26723
27183
|
all_params.extend(
|
@@ -26747,6 +27207,10 @@ class DefaultApi(object):
|
|
26747
27207
|
query_params.append(('cloud_id', local_var_params['cloud_id'])) # noqa: E501
|
26748
27208
|
if 'project_id' in local_var_params and local_var_params['project_id'] is not None: # noqa: E501
|
26749
27209
|
query_params.append(('project_id', local_var_params['project_id'])) # noqa: E501
|
27210
|
+
if 'jobs_only' in local_var_params and local_var_params['jobs_only'] is not None: # noqa: E501
|
27211
|
+
query_params.append(('jobs_only', local_var_params['jobs_only'])) # noqa: E501
|
27212
|
+
if 'workspaces_only' in local_var_params and local_var_params['workspaces_only'] is not None: # noqa: E501
|
27213
|
+
query_params.append(('workspaces_only', local_var_params['workspaces_only'])) # noqa: E501
|
26750
27214
|
if 'duration_s' in local_var_params and local_var_params['duration_s'] is not None: # noqa: E501
|
26751
27215
|
query_params.append(('duration_s', local_var_params['duration_s'])) # noqa: E501
|
26752
27216
|
|